-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.edd89fed.js
2 lines (2 loc) · 312 KB
/
common.edd89fed.js
1
2
/*! For license information please see common.edd89fed.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],Array(90).concat([function(t,e,r){"use strict";function n(t){var e,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=n(t[e]))&&(i&&(i+=" "),i+=r);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.a=function(){for(var t,e,r=0,i="";r<arguments.length;)(t=arguments[r++])&&(e=n(t))&&(i&&(i+=" "),i+=e);return i}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(116);Object.defineProperty(e,"useThemeConfig",{enumerable:!0,get:function(){return n.useThemeConfig}});var i=r(135);Object.defineProperty(e,"docVersionSearchTag",{enumerable:!0,get:function(){return i.docVersionSearchTag}}),Object.defineProperty(e,"DEFAULT_SEARCH_TAG",{enumerable:!0,get:function(){return i.DEFAULT_SEARCH_TAG}});var s=r(117);Object.defineProperty(e,"isDocsPluginEnabled",{enumerable:!0,get:function(){return s.isDocsPluginEnabled}});var a=r(139);Object.defineProperty(e,"isSamePath",{enumerable:!0,get:function(){return a.isSamePath}});var o=r(140);Object.defineProperty(e,"useDocsPreferredVersion",{enumerable:!0,get:function(){return o.useDocsPreferredVersion}}),Object.defineProperty(e,"useDocsPreferredVersionByPluginId",{enumerable:!0,get:function(){return o.useDocsPreferredVersionByPluginId}});var c=r(118);Object.defineProperty(e,"DocsPreferredVersionContextProvider",{enumerable:!0,get:function(){return c.DocsPreferredVersionContextProvider}})},function(t,e,r){"use strict";var n=r(0),i=r.n(n),s=r(11),a=r(104),o=r(7);const c=Object(n.createContext)({collectLink:()=>{}});var h=r(93),p=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r};e.a=function(t){var e,{isNavLink:r,to:l,href:u,activeClassName:d,isActive:f,"data-noBrokenLinkCheck":m}=t,g=p(t,["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck"]);const{withBaseUrl:y}=Object(h.b)(),v=Object(n.useContext)(c),b=l||u,x=Object(a.a)(b),w=null==b?void 0:b.replace("pathname://",""),_=void 0!==w?(t=>t.startsWith("/"))(k=w)?y(k):k:void 0;var k;const E=Object(n.useRef)(!1),S=r?s.e:s.c,C=o.a.canUseIntersectionObserver;let A;Object(n.useEffect)(()=>(!C&&x&&window.docusaurus.prefetch(_),()=>{C&&A&&A.disconnect()}),[_,C,x]);const O=null!==(e=null==_?void 0:_.startsWith("#"))&&void 0!==e&&e,P=!_||!x||O;return _&&x&&!O&&!m&&v.collectLink(_),P?i.a.createElement("a",Object.assign({href:_},b&&!x&&{target:"_blank",rel:"noopener noreferrer"},g)):i.a.createElement(S,Object.assign({},g,{onMouseEnter:()=>{E.current||(window.docusaurus.preload(_),E.current=!0)},innerRef:t=>{var e,r;C&&t&&x&&(e=t,r=()=>{window.docusaurus.prefetch(_)},A=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(A.unobserve(e),A.disconnect(),r())})}),A.observe(e))},to:_||""},r&&{isActive:f,activeClassName:d}))}},function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return a}));var n=r(22),i=r(104);function s(){const{siteConfig:{baseUrl:t="/",url:e}={}}=Object(n.default)();return{withBaseUrl:(r,n)=>function(t,e,r,{forcePrependBaseUrl:n=!1,absolute:s=!1}={}){if(!r)return r;if(r.startsWith("#"))return r;if(Object(i.b)(r))return r;if(n)return e+r;const a=r.startsWith(e)?r:e+r.replace(/^\//,"");return s?t+a:a}(e,t,r,n)}}function a(t,e={}){const{withBaseUrl:r}=s();return r(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f}));var n=r(0),i=r.n(n);function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},s=Object.keys(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var h=i.a.createContext({}),p=function(t){var e=i.a.useContext(h),r=e;return t&&(r="function"==typeof t?t(e):o(o({},e),t)),r},l=function(t){var e=p(t.components);return i.a.createElement(h.Provider,{value:e},t.children)},u={inlineCode:"code",wrapper:function(t){var e=t.children;return i.a.createElement(i.a.Fragment,{},e)}},d=i.a.forwardRef((function(t,e){var r=t.components,n=t.mdxType,s=t.originalType,a=t.parentName,h=c(t,["components","mdxType","originalType","parentName"]),l=p(r),d=n,f=l["".concat(a,".").concat(d)]||l[d]||u[d]||s;return r?i.a.createElement(f,o(o({ref:e},h),{},{components:r})):i.a.createElement(f,o({ref:e},h))}));function f(t,e){var r=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var s=r.length,a=new Array(s);a[0]=d;var o={};for(var c in e)hasOwnProperty.call(e,c)&&(o[c]=e[c]);o.originalType=t,o.mdxType="string"==typeof t?t:n,a[1]=o;for(var h=2;h<s;h++)a[h]=r[h];return i.a.createElement.apply(null,a)}return i.a.createElement.apply(null,r)}d.displayName="MDXCreateElement"},function(t,e,r){try{t.exports=r(136)}catch(n){t.exports={}}},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return ht}));var n=r(26),i=r(0),s=r.n(i),a=(r(183),r(184)),o=r(185),c=r(197),h=r(28),p=r.n(h);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var u=function(t,e){for(var r=[t[0]],n=0,i=e.length;n<i;n+=1)r.push(e[n],t[n+1]);return r},d=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!Object(n.typeOf)(t)},f=Object.freeze([]),m=Object.freeze({});function g(t){return"function"==typeof t}function y(t){return t.displayName||t.name||"Component"}function v(t){return t&&"string"==typeof t.styledComponentId}var b=void 0!==t&&(t.env.REACT_APP_SC_ATTR||t.env.SC_ATTR)||"data-styled",x="active",w="data-styled-version",_="5.1.1",k="/*!sc*/\n",E="undefined"!=typeof window&&"HTMLElement"in window,S="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==t&&(t.env.REACT_APP_SC_DISABLE_SPEEDY||t.env.SC_DISABLE_SPEEDY)||!1,C=function(){return r.nc};function A(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+t+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):""))}var O=function(t){var e=document.head,r=t||e,n=document.createElement("style"),i=function(t){for(var e=t.childNodes,r=e.length;r>=0;r--){var n=e[r];if(n&&1===n.nodeType&&n.hasAttribute(b))return n}}(r),s=void 0!==i?i.nextSibling:null;n.setAttribute(b,x),n.setAttribute(w,_);var a=C();return a&&n.setAttribute("nonce",a),r.insertBefore(n,s),n},P=function(){function t(t){var e=this.element=O(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,r=0,n=e.length;r<n;r++){var i=e[r];if(i.ownerNode===t)return i}A(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(r){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),j=function(){function t(t){var e=this.element=O(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var r=document.createTextNode(e),n=this.nodes[t];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),I=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),T=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,r=0;r<t;r++)e+=this.groupSizes[r];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;t>=i;)(i<<=1)<0&&A(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=n;s<i;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(t+1),o=0,c=e.length;o<c;o++)this.tag.insertRule(a,e[o])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],r=this.indexOfGroup(t),n=r+e;this.groupSizes[t]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r,s=n;s<i;s++)e+=""+this.tag.getRule(s)+k;return e},t}(),N=new Map,L=new Map,R=1,D=function(t){if(N.has(t))return N.get(t);var e=R++;return N.set(t,e),L.set(e,t),e},V=function(t){return L.get(t)},B=function(t,e){e>=R&&(R=e+1),N.set(t,e),L.set(e,t)},M="style["+b+"]["+w+'="'+'5.1.1"]',F=new RegExp("^"+b+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),U=function(t,e,r){for(var n,i=r.split(","),s=0,a=i.length;s<a;s++)(n=i[s])&&t.registerName(e,n)},z=function(t,e){for(var r=e.innerHTML.split(k),n=[],i=0,s=r.length;i<s;i++){var a=r[i].trim();if(a){var o=a.match(F);if(o){var c=0|parseInt(o[1],10),h=o[2];0!==c&&(B(h,c),U(t,h,o[3]),t.getTag().insertRules(c,n)),n.length=0}else n.push(a)}}},q=E,H={isServer:!E,useCSSOMInjection:!S},W=function(){function t(t,e,r){void 0===t&&(t=H),void 0===e&&(e={}),this.options=l({},H,{},t),this.gs=e,this.names=new Map(r),!this.options.isServer&&E&&q&&(q=!1,function(t){for(var e=document.querySelectorAll(M),r=0,n=e.length;r<n;r++){var i=e[r];i&&i.getAttribute(b)!==x&&(z(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return D(t)};var e=t.prototype;return e.reconstructWithOptions=function(e){return new t(l({},this.options,{},e),this.gs,this.names)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(e=this.options,r=e.isServer,n=e.useCSSOMInjection,i=e.target,t=r?new I(i):n?new P(i):new j(i),new T(t)));var t,e,r,n,i},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(D(t),this.names.has(t))this.names.get(t).add(e);else{var r=new Set;r.add(e),this.names.set(t,r)}},e.insertRules=function(t,e,r){this.registerName(t,e),this.getTag().insertRules(D(t),r)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(D(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),r=e.length,n="",i=0;i<r;i++){var s=V(i);if(void 0!==s){var a=t.names.get(s),o=e.getGroup(i);if(void 0!==a&&0!==o.length){var c=b+".g"+i+'[id="'+s+'"]',h="";void 0!==a&&a.forEach((function(t){t.length>0&&(h+=t+",")})),n+=""+o+c+'{content:"'+h+'"}'+k}}}return n}(this)},t}(),X=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},G=function(t){return X(5381,t)};var Y=/^\s*\/\/.*$/gm;function $(t){var e,r,n,i=void 0===t?m:t,s=i.options,o=void 0===s?m:s,c=i.plugins,h=void 0===c?f:c,p=new a.a(o),l=[],u=function(t){var e="/*|*/";function r(e){if(e)try{t(e+"}")}catch(r){}}return function(n,i,s,a,o,c,h,p,l,u){switch(n){case 1:if(0===l&&64===i.charCodeAt(0))return t(i+";"),"";break;case 2:if(0===p)return i+e;break;case 3:switch(p){case 102:case 112:return t(s[0]+i),"";default:return i+(0===u?e:"")}case-2:i.split("/*|*/}").forEach(r)}}}((function(t){l.push(t)})),d=function(t,n,i){return n>0&&-1!==i.slice(0,n).indexOf(r)&&i.slice(n-r.length,n)!==r?"."+e:t};function g(t,i,s,a){void 0===a&&(a="&");var o=t.replace(Y,""),c=i&&s?s+" "+i+" { "+o+" }":o;return e=a,r=i,n=new RegExp("\\"+r+"\\b","g"),p(s||!i?"":i,c)}return p.use([].concat(h,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,d))},u,function(t){if(-2===t){var e=l;return l=[],e}}])),g.hash=h.length?h.reduce((function(t,e){return e.name||A(15),X(t,e.name)}),5381).toString():"",g}var J=s.a.createContext(),K=(J.Consumer,s.a.createContext()),Q=(K.Consumer,new W),Z=$();function tt(){return Object(i.useContext)(J)||Q}function et(){return Object(i.useContext)(K)||Z}var rt=function(){function t(t,e){var r=this;this.inject=function(t){t.hasNameForId(r.id,r.name)||t.insertRules(r.id,r.name,Z.apply(void 0,r.stringifyArgs))},this.toString=function(){return A(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.stringifyArgs=e}return t.prototype.getName=function(){return this.name},t}(),nt=/([A-Z])/g,it=/^ms-/;function st(t){return t.replace(nt,"-$1").toLowerCase().replace(it,"-ms-")}var at=function(t){return null==t||!1===t||""===t},ot=function t(e,r){var n=[];return Object.keys(e).forEach((function(r){if(!at(e[r])){if(d(e[r]))return n.push.apply(n,t(e[r],r)),n;if(g(e[r]))return n.push(st(r)+":",e[r],";"),n;n.push(st(r)+": "+(i=r,(null==(s=e[r])||"boolean"==typeof s||""===s?"":"number"!=typeof s||0===s||i in o.a?String(s).trim():s+"px")+";"))}var i,s;return n})),r?[r+" {"].concat(n,["}"]):n};function ct(t,e,r){if(Array.isArray(t)){for(var n,i=[],s=0,a=t.length;s<a;s+=1)""!==(n=ct(t[s],e,r))&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}return at(t)?"":v(t)?"."+t.styledComponentId:g(t)?"function"!=typeof(o=t)||o.prototype&&o.prototype.isReactComponent||!e?t:ct(t(e),e,r):t instanceof rt?r?(t.inject(r),t.getName()):t:d(t)?ot(t):t.toString();var o}function ht(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return g(t)||d(t)?ct(u(f,[t].concat(r))):0===r.length&&1===t.length&&"string"==typeof t[0]?t:ct(u(t,r))}function pt(t,e,r){if(void 0===r&&(r=m),!Object(n.isValidElementType)(e))return A(1,String(e));var i=function(){return t(e,r,ht.apply(void 0,arguments))};return i.withConfig=function(n){return pt(t,e,l({},r,{},n))},i.attrs=function(n){return pt(t,e,l({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},i}var lt=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},ut=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function dt(t,e,r){var n=t[r];lt(e)&<(n)?ft(n,e):t[r]=e}function ft(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=0,s=r;i<s.length;i++){var a=s[i];if(lt(a))for(var o in a)ut(o)&&dt(t,a[o],o)}return t}var mt=/(a)(d)/gi,gt=function(t){return String.fromCharCode(t+(t>25?39:97))};function yt(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=gt(e%52)+r;return(gt(e%52)+r).replace(mt,"$1-$2")}function vt(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(g(r)&&!v(r))return!1}return!0}var bt=function(){function t(t,e){this.rules=t,this.staticRulesId="",this.isStatic=vt(t),this.componentId=e,this.baseHash=G(e),W.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&e.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var i=ct(this.rules,t,e).join(""),s=yt(X(this.baseHash,i.length)>>>0);if(!e.hasNameForId(n,s)){var a=r(i,"."+s,void 0,n);e.insertRules(n,s,a)}return this.staticRulesId=s,s}for(var o=this.rules.length,c=X(this.baseHash,r.hash),h="",p=0;p<o;p++){var l=this.rules[p];if("string"==typeof l)h+=l;else{var u=ct(l,t,e),d=Array.isArray(u)?u.join(""):u;c=X(c,d+p),h+=d}}var f=yt(c>>>0);if(!e.hasNameForId(n,f)){var m=r(h,"."+f,void 0,n);e.insertRules(n,f,m)}return f},t}(),xt=(new Set,function(t,e,r){return void 0===r&&(r=m),t.theme!==r.theme&&t.theme||e||r.theme}),wt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_t=/(^-|-$)/g;function kt(t){return t.replace(wt,"-").replace(_t,"")}function Et(t){return"string"==typeof t&&!0}var St=function(t){return yt(G(t)>>>0)};var Ct=s.a.createContext();Ct.Consumer;var At={};function Ot(t,e,r){var n=t.attrs,s=t.componentStyle,a=t.defaultProps,o=t.foldedComponentIds,h=t.shouldForwardProp,p=t.styledComponentId,u=t.target;Object(i.useDebugValue)(p);var d=function(t,e,r){void 0===t&&(t=m);var n=l({},e,{theme:t}),i={};return r.forEach((function(t){var e,r,s,a=t;for(e in g(a)&&(a=a(n)),a)n[e]=i[e]="className"===e?(r=i[e],s=a[e],r&&s?r+" "+s:r||s):a[e]})),[n,i]}(xt(e,Object(i.useContext)(Ct),a)||m,e,n),f=d[0],y=d[1],v=function(t,e,r,n){var s=tt(),a=et(),o=t.isStatic&&!e?t.generateAndInjectStyles(m,s,a):t.generateAndInjectStyles(r,s,a);return Object(i.useDebugValue)(o),o}(s,n.length>0,f),b=r,x=y.$as||e.$as||y.as||e.as||u,w=Et(x),_=y!==e?l({},e,{},y):e,k=h||w&&c.a,E={};for(var S in _)"$"!==S[0]&&"as"!==S&&("forwardedAs"===S?E.as=_[S]:k&&!k(S,c.a)||(E[S]=_[S]));return e.style&&y.style!==e.style&&(E.style=l({},e.style,{},y.style)),E.className=Array.prototype.concat(o,p,v!==p?v:null,e.className,y.className).filter(Boolean).join(" "),E.ref=b,Object(i.createElement)(x,E)}function Pt(t,e,r){var n=v(t),i=!Et(t),a=e.displayName,o=void 0===a?function(t){return Et(t)?"styled."+t:"Styled("+y(t)+")"}(t):a,c=e.componentId,h=void 0===c?function(t,e){var r="string"!=typeof t?"sc":kt(t);At[r]=(At[r]||0)+1;var n=r+"-"+St(r+At[r]);return e?e+"-"+n:n}(e.displayName,e.parentComponentId):c,u=e.attrs,d=void 0===u?f:u,m=e.displayName&&e.componentId?kt(e.displayName)+"-"+e.componentId:e.componentId||h,g=n&&t.attrs?Array.prototype.concat(t.attrs,d).filter(Boolean):d,b=e.shouldForwardProp;n&&t.shouldForwardProp&&(b=b?function(r,n){return t.shouldForwardProp(r,n)&&e.shouldForwardProp(r,n)}:t.shouldForwardProp);var x,w=new bt(n?t.componentStyle.rules.concat(r):r,m),_=function(t,e){return Ot(x,t,e)};return _.displayName=o,(x=s.a.forwardRef(_)).attrs=g,x.componentStyle=w,x.displayName=o,x.shouldForwardProp=b,x.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):f,x.styledComponentId=m,x.target=n?t.target:t,x.withComponent=function(t){var n=e.componentId,i=function(t,e){if(null==t)return{};var r,n,i={},s=Object.keys(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["componentId"]),s=n&&n+"-"+(Et(t)?t:kt(y(t)));return Pt(t,l({},i,{attrs:g,componentId:s}),r)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?ft({},t.defaultProps,e):e}}),x.toString=function(){return"."+x.styledComponentId},i&&p()(x,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),x}var jt=function(t){return pt(Pt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){jt[t]=jt(t)}));e.b=jt}).call(this,r(132))},function(t,e,r){"use strict";var n=r(0),i=r.n(n),s=r(90),a=r(58),o=r.n(a);var c=function(){return i.a.createElement("nav",{"aria-label":"Skip navigation links"},i.a.createElement("button",{type:"button",tabIndex:0,className:o.a.skipToContent,onKeyDown:t=>{if(13!==t.keyCode)return;document.activeElement.blur();const e=document.querySelector("main:first-of-type");e&&e.scrollIntoView()}},"Skip to main content"))},h=r(91),p=r(119),l=r(59),u=r.n(l);var d=function(){const{isAnnouncementBarClosed:t,closeAnnouncementBar:e}=Object(p.a)(),{announcementBar:r}=Object(h.useThemeConfig)();if(!r)return null;const{content:n,backgroundColor:a,textColor:o,isCloseable:c}=r;return!n||c&&t?null:i.a.createElement("div",{className:u.a.announcementBar,style:{backgroundColor:a,color:o},role:"banner"},i.a.createElement("div",{className:Object(s.a)(u.a.announcementBarContent,{[u.a.announcementBarCloseable]:c}),dangerouslySetInnerHTML:{__html:n}}),c?i.a.createElement("button",{type:"button",className:u.a.announcementBarClose,onClick:e,"aria-label":"Close"},i.a.createElement("span",{"aria-hidden":"true"},"\xd7")):null)},f=r(3),m=()=>null,g=r(143),y=r.n(g),v=r(22),b=r(60),x=r.n(b);const w=({icon:t,style:e})=>i.a.createElement("span",{className:Object(s.a)(x.a.toggle,x.a.dark),style:e},t),_=({icon:t,style:e})=>i.a.createElement("span",{className:Object(s.a)(x.a.toggle,x.a.light),style:e},t);var k=function(t){const{colorMode:{switchConfig:{darkIcon:e,darkIconStyle:r,lightIcon:n,lightIconStyle:s}}}=Object(h.useThemeConfig)(),{isClient:a}=Object(v.default)();return i.a.createElement(y.a,Object(f.a)({disabled:!a,icons:{checked:i.a.createElement(w,{icon:e,style:r}),unchecked:i.a.createElement(_,{icon:n,style:s})}},t))},E=r(102),S=r(98),C=r(121);var A=t=>{const e=Object(S.useLocation)(),[r,i]=Object(n.useState)(!t),s=Object(n.useRef)(!1),[a,o]=Object(n.useState)(0),[c,h]=Object(n.useState)(0),p=Object(n.useCallback)(t=>{null!==t&&h(t.getBoundingClientRect().height)},[]);return Object(C.a)(({scrollY:e})=>{if(!t)return;if(e<c)return;if(s.current)return s.current=!1,i(!1),void o(e);a&&0===e&&i(!0);const r=document.documentElement.scrollHeight-c,n=window.innerHeight;a&&e>=a?i(!1):e+n<r&&i(!0),o(e)},[a,c,s]),Object(n.useEffect)(()=>{t&&a&&i(!0)},[e.pathname]),Object(n.useEffect)(()=>{t&&(s.current=!0)},[e.hash]),{navbarRef:p,isNavbarVisible:r}},O=r(122),P=r(123),j=r(103);const I={default:()=>j.a,docsVersion:()=>r(148).default,docsVersionDropdown:()=>r(149).default,doc:()=>r(150).default};function T({type:t,...e}){const r=((t="default")=>{const e=I[t];if(!e)throw new Error(`No NavbarItem component found for type=${t}.`);return e()})(t);return i.a.createElement(r,e)}var N=r(134),L=r(62),R=r.n(L);const D="right";var V=function(){const{navbar:{items:t,hideOnScroll:e,style:r},colorMode:{disableSwitch:a}}=Object(h.useThemeConfig)(),[o,c]=Object(n.useState)(!1),[p,l]=Object(n.useState)(!1),{isDarkTheme:u,setLightTheme:d,setDarkTheme:g}=Object(E.a)(),{navbarRef:y,isNavbarVisible:v}=A(e);Object(O.a)(o);const b=Object(n.useCallback)(()=>{c(!0)},[c]),x=Object(n.useCallback)(()=>{c(!1)},[c]),w=Object(n.useCallback)(t=>t.target.checked?g():d(),[d,g]),_=Object(P.a)();Object(n.useEffect)(()=>{_===P.b.desktop&&c(!1)},[_]);const{leftItems:S,rightItems:C}=function(t){return{leftItems:t.filter(t=>{var e;return"left"===(null!==(e=t.position)&&void 0!==e?e:D)}),rightItems:t.filter(t=>{var e;return"right"===(null!==(e=t.position)&&void 0!==e?e:D)})}}(t);return i.a.createElement("nav",{ref:y,className:Object(s.a)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":o,[R.a.navbarHideable]:e,[R.a.navbarHidden]:!v})},i.a.createElement("div",{className:"navbar__inner"},i.a.createElement("div",{className:"navbar__items"},null!=t&&0!==t.length&&i.a.createElement("div",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",role:"button",tabIndex:0,onClick:b,onKeyDown:b},i.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",role:"img",focusable:"false"},i.a.createElement("title",null,"Menu"),i.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),i.a.createElement(N.a,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:Object(s.a)("navbar__title",{[R.a.hideLogoText]:p})}),S.map((t,e)=>i.a.createElement(T,Object(f.a)({},t,{key:e})))),i.a.createElement("div",{className:"navbar__items navbar__items--right"},C.map((t,e)=>i.a.createElement(T,Object(f.a)({},t,{key:e}))),!a&&i.a.createElement(k,{className:R.a.displayOnlyInLargeViewport,"aria-label":"Dark mode toggle",checked:u,onChange:w}),i.a.createElement(m,{handleSearchBarToggle:l,isSearchBarExpanded:p}))),i.a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:x}),i.a.createElement("div",{className:"navbar-sidebar"},i.a.createElement("div",{className:"navbar-sidebar__brand"},i.a.createElement(N.a,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:x}),!a&&o&&i.a.createElement(k,{"aria-label":"Dark mode toggle in sidebar",checked:u,onChange:w})),i.a.createElement("div",{className:"navbar-sidebar__items"},i.a.createElement("div",{className:"menu"},i.a.createElement("ul",{className:"menu__list"},t.map((t,e)=>i.a.createElement(T,Object(f.a)({mobile:!0},t,{onClick:x,key:e}))))))))},B=r(92),M=r(93),F=r(63),U=r.n(F);function z({to:t,href:e,label:r,prependBaseUrlToHref:n,...s}){const a=Object(M.a)(t),o=Object(M.a)(e,{forcePrependBaseUrl:!0});return i.a.createElement(B.a,Object(f.a)({className:"footer__link-item"},e?{target:"_blank",rel:"noopener noreferrer",href:n?o:e}:{to:a},s),r)}const q=({url:t,alt:e})=>i.a.createElement("img",{className:"footer__logo",alt:e,src:t});var H=function(){const{footer:t}=Object(h.useThemeConfig)(),{copyright:e,links:r=[],logo:n={}}=t||{},a=Object(M.a)(n.src);return t?i.a.createElement("footer",{className:Object(s.a)("footer",{"footer--dark":"dark"===t.style})},i.a.createElement("div",{className:"container"},r&&r.length>0&&i.a.createElement("div",{className:"row footer__links"},r.map((t,e)=>i.a.createElement("div",{key:e,className:"col footer__col"},null!=t.title?i.a.createElement("h4",{className:"footer__title"},t.title):null,null!=t.items&&Array.isArray(t.items)&&t.items.length>0?i.a.createElement("ul",{className:"footer__items"},t.items.map((t,e)=>t.html?i.a.createElement("li",{key:e,className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):i.a.createElement("li",{key:t.href||t.to,className:"footer__item"},i.a.createElement(z,t)))):null))),(n||e)&&i.a.createElement("div",{className:"text--center"},n&&n.src&&i.a.createElement("div",{className:"margin-bottom--sm"},n.href?i.a.createElement("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",className:U.a.footerLogoLink},i.a.createElement(q,{alt:n.alt,url:a})):i.a.createElement(q,{alt:n.alt,url:a})),i.a.createElement("div",{dangerouslySetInnerHTML:{__html:e}})))):null},W=r(7);const X="light",G="dark",Y=t=>t===G?G:X,$=()=>W.a.canUseDOM?Y(document.documentElement.getAttribute("data-theme")):X,J=t=>{try{localStorage.setItem("theme",Y(t))}catch(e){console.error(e)}};var K=()=>{const{colorMode:{disableSwitch:t=!1}}=Object(h.useThemeConfig)(),[e,r]=Object(n.useState)($),i=Object(n.useCallback)(()=>{r(X),J(X)},[]),s=Object(n.useCallback)(()=>{r(G),J(G)},[]);return Object(n.useEffect)(()=>{document.documentElement.setAttribute("data-theme",Y(e))},[e]),Object(n.useEffect)(()=>{if(!t)try{const t=localStorage.getItem("theme");null!==t&&r(Y(t))}catch(e){console.error(e)}},[r]),Object(n.useEffect)(()=>{t||window.matchMedia("(prefers-color-scheme: dark)").addListener(({matches:t})=>{r(t?G:X)})},[]),{isDarkTheme:e===G,setLightTheme:i,setDarkTheme:s}},Q=r(99);var Z=function(t){const{isDarkTheme:e,setLightTheme:r,setDarkTheme:n}=K();return i.a.createElement(Q.a.Provider,{value:{isDarkTheme:e,setLightTheme:r,setDarkTheme:n}},t.children)};const tt="docusaurus.tab.";var et=()=>{const[t,e]=Object(n.useState)({}),r=Object(n.useCallback)((t,e)=>{try{localStorage.setItem("docusaurus.tab."+t,e)}catch(r){console.error(r)}},[]);return Object(n.useEffect)(()=>{try{const t={};for(let e=0;e<localStorage.length;e+=1){const r=localStorage.key(e);if(r.startsWith(tt)){t[r.substring(tt.length)]=localStorage.getItem(r)}}e(t)}catch(t){console.error(t)}},[]),{tabGroupChoices:t,setTabGroupChoices:(t,n)=>{e(e=>({...e,[t]:n})),r(t,n)}}};const rt="docusaurus.announcement.dismiss",nt="docusaurus.announcement.id";var it=()=>{const{announcementBar:t}=Object(h.useThemeConfig)(),[e,r]=Object(n.useState)(!0),i=Object(n.useCallback)(()=>{localStorage.setItem(rt,"true"),r(!0)},[]);return Object(n.useEffect)(()=>{if(!t)return;const{id:e}=t;let n=localStorage.getItem(nt);"annoucement-bar"===n&&(n="announcement-bar");const i=e!==n;localStorage.setItem(nt,e),i&&localStorage.setItem(rt,"false"),(i||"false"===localStorage.getItem(rt))&&r(!1)},[]),{isAnnouncementBarClosed:e,closeAnnouncementBar:i}},st=r(120);var at=function(t){const{tabGroupChoices:e,setTabGroupChoices:r}=et(),{isAnnouncementBarClosed:n,closeAnnouncementBar:s}=it();return i.a.createElement(st.a.Provider,{value:{tabGroupChoices:e,setTabGroupChoices:r,isAnnouncementBarClosed:n,closeAnnouncementBar:s}},t.children)};function ot({children:t}){return i.a.createElement(Z,null,i.a.createElement(at,null,i.a.createElement(h.DocsPreferredVersionContextProvider,null,t)))}var ct=r(24);function ht({language:t,version:e,tag:r}){return i.a.createElement(ct.a,null,t&&i.a.createElement("meta",{name:"docusaurus_language",content:""+t}),e&&i.a.createElement("meta",{name:"docusaurus_version",content:e}),r&&i.a.createElement("meta",{name:"docusaurus_tag",content:r}))}function pt(t){const{siteConfig:e}=Object(v.default)(),{favicon:r,title:n,themeConfig:{image:s,metadatas:a},url:o,titleDelimiter:c}=e,{title:p,description:l,image:u,keywords:d,permalink:m,searchMetadatas:g}=t,y=p?`${p} ${c} ${n}`:n,b=u||s,x=Object(M.a)(b,{absolute:!0}),w=Object(M.a)(r);return i.a.createElement(i.a.Fragment,null,i.a.createElement(ct.a,null,i.a.createElement("html",{lang:"en"}),y&&i.a.createElement("title",null,y),y&&i.a.createElement("meta",{property:"og:title",content:y}),r&&i.a.createElement("link",{rel:"shortcut icon",href:w}),l&&i.a.createElement("meta",{name:"description",content:l}),l&&i.a.createElement("meta",{property:"og:description",content:l}),d&&d.length&&i.a.createElement("meta",{name:"keywords",content:d.join(",")}),b&&i.a.createElement("meta",{property:"og:image",content:x}),b&&i.a.createElement("meta",{property:"twitter:image",content:x}),b&&i.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+y}),m&&i.a.createElement("meta",{property:"og:url",content:o+m}),m&&i.a.createElement("link",{rel:"canonical",href:o+m}),i.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),i.a.createElement(ht,Object(f.a)({tag:h.DEFAULT_SEARCH_TAG,language:"en"},g)),i.a.createElement(ct.a,null,a.map((t,e)=>i.a.createElement("meta",Object(f.a)({key:"metadata_"+e},t)))))}r(64);var lt=function(){Object(n.useEffect)(()=>{const t="navigation-with-keyboard";function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(t),"mousedown"===e.type&&document.body.classList.remove(t)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(t),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}},[])};r(65);e.a=function(t){const{children:e,noFooter:r,wrapperClassName:n}=t;return lt(),i.a.createElement(ot,null,i.a.createElement(pt,t),i.a.createElement(c,null),i.a.createElement(d,null),i.a.createElement(V,null),i.a.createElement("div",{className:Object(s.a)("main-wrapper",n)},e),!r&&i.a.createElement(H,null))}},function(t,e,r){"use strict";r.r(e);var n=r(11);r.d(e,"MemoryRouter",(function(){return n.d})),r.d(e,"Prompt",(function(){return n.f})),r.d(e,"Redirect",(function(){return n.g})),r.d(e,"Route",(function(){return n.h})),r.d(e,"Router",(function(){return n.i})),r.d(e,"StaticRouter",(function(){return n.j})),r.d(e,"Switch",(function(){return n.k})),r.d(e,"generatePath",(function(){return n.l})),r.d(e,"matchPath",(function(){return n.m})),r.d(e,"useHistory",(function(){return n.n})),r.d(e,"useLocation",(function(){return n.o})),r.d(e,"useParams",(function(){return n.p})),r.d(e,"useRouteMatch",(function(){return n.q})),r.d(e,"withRouter",(function(){return n.r})),r.d(e,"BrowserRouter",(function(){return n.a})),r.d(e,"HashRouter",(function(){return n.b})),r.d(e,"Link",(function(){return n.c})),r.d(e,"NavLink",(function(){return n.e}))},function(t,e,r){"use strict";var n=r(0);const i=r.n(n).a.createContext(void 0);e.a=i},,,function(t,e,r){"use strict";var n=r(0),i=r(99);e.a=function(){const t=Object(n.useContext)(i.a);if(null==t)throw new Error("`useThemeContext` is used outside of `Layout` Component. See https://v2.docusaurus.io/docs/theme-classic#usethemecontext.");return t}},function(t,e,r){"use strict";var n=r(3),i=r(0),s=r.n(i),a=r(90),o=r(92),c=r(93),h=r(98),p=r(91);function l({activeBasePath:t,activeBaseRegex:e,to:r,href:i,label:a,activeClassName:h="navbar__link--active",prependBaseUrlToHref:p,...l}){const u=Object(c.a)(r),d=Object(c.a)(t),f=Object(c.a)(i,{forcePrependBaseUrl:!0});return s.a.createElement(o.a,Object(n.a)({},i?{target:"_blank",rel:"noopener noreferrer",href:p?f:i}:{isNavLink:!0,activeClassName:h,to:u,...t||e?{isActive:(t,r)=>e?new RegExp(e).test(r.pathname):r.pathname.startsWith(d)}:null},l),a)}function u({items:t,position:e,className:r,...o}){const c=Object(i.useRef)(null),h=Object(i.useRef)(null),[p,u]=Object(i.useState)(!1);Object(i.useEffect)(()=>{const t=t=>{c.current&&!c.current.contains(t.target)&&u(!1)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[c]);const d=(t,e=!1)=>Object(a.a)({"navbar__item navbar__link":!e,dropdown__link:e},t);return t?s.a.createElement("div",{ref:c,className:Object(a.a)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===e,"dropdown--right":"right"===e,"dropdown--show":p})},s.a.createElement(l,Object(n.a)({className:d(r)},o,{onClick:o.to?void 0:t=>t.preventDefault(),onKeyDown:t=>{"Enter"===t.key&&(t.preventDefault(),u(!p))}}),o.label),s.a.createElement("ul",{ref:h,className:"dropdown__menu"},t.map(({className:e,...r},i)=>s.a.createElement("li",{key:i},s.a.createElement(l,Object(n.a)({onKeyDown:e=>{if(i===t.length-1&&"Tab"===e.key){e.preventDefault(),u(!1);const t=c.current.nextElementSibling;t&&t.focus()}},activeClassName:"dropdown__link--active",className:d(e,!0)},r)))))):s.a.createElement(l,Object(n.a)({className:d(r)},o))}function d({items:t,className:e,position:r,...o}){var c,u;const d=Object(i.useRef)(null),{pathname:f}=Object(h.useLocation)(),[m,g]=Object(i.useState)(()=>{var e;return null===(e=!(null==t?void 0:t.some(t=>Object(p.isSamePath)(t.to,f))))||void 0===e||e}),y=(t,e=!1)=>Object(a.a)("menu__link",{"menu__link--sublist":e},t);if(!t)return s.a.createElement("li",{className:"menu__list-item"},s.a.createElement(l,Object(n.a)({className:y(e)},o)));const v=(null===(c=d.current)||void 0===c?void 0:c.scrollHeight)?(null===(u=d.current)||void 0===u?void 0:u.scrollHeight)+"px":void 0;return s.a.createElement("li",{className:Object(a.a)("menu__list-item",{"menu__list-item--collapsed":m})},s.a.createElement(l,Object(n.a)({role:"button",className:y(e,!0)},o,{onClick:()=>{g(t=>!t)}}),o.label),s.a.createElement("ul",{className:"menu__list",ref:d,style:{height:m?void 0:v}},t.map(({className:t,...e},r)=>s.a.createElement("li",{className:"menu__list-item",key:r},s.a.createElement(l,Object(n.a)({activeClassName:"menu__link--active",className:y(t)},e,{onClick:o.onClick}))))))}e.a=function({mobile:t=!1,...e}){const r=t?d:u;return s.a.createElement(r,e)}},function(t,e,r){"use strict";function n(t){return!0===/^(\w*:|\/\/)/.test(t)}function i(t){return void 0!==t&&!n(t)}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}))},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(t,e,r){t.exports=!r(111)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},,function(t,e,r){"use strict";var n=r(3),i=r(0),s=r.n(i),a=r(92),o=r(22),c={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},h=r(102),p=r(91);var l=()=>{const{prism:t}=Object(p.useThemeConfig)(),{isDarkTheme:e}=Object(h.a)(),r=t.theme||c,n=t.darkTheme||r;return e?n:r},u=(r(1),r(151)),d=r.n(u),f=r(25),m={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},g={Prism:f.a,theme:m};function y(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var b=/\r\n|\r|\n/,x=function(t){0===t.length?t.push({types:["plain"],content:"",empty:!0}):1===t.length&&""===t[0].content&&(t[0].empty=!0)},w=function(t,e){var r=t.length;return r>0&&t[r-1]===e?t:t.concat(e)},_=function(t,e){var r=t.plain,n=Object.create(null),i=t.styles.reduce((function(t,r){var n=r.languages,i=r.style;return n&&!n.includes(e)||r.types.forEach((function(e){var r=v({},t[e],i);t[e]=r})),t}),n);return i.root=r,i.plain=v({},r,{backgroundColor:null}),i};function k(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}var E=function(t){function e(){for(var e=this,r=[],n=arguments.length;n--;)r[n]=arguments[n];t.apply(this,r),y(this,"getThemeDict",(function(t){if(void 0!==e.themeDict&&t.theme===e.prevTheme&&t.language===e.prevLanguage)return e.themeDict;e.prevTheme=t.theme,e.prevLanguage=t.language;var r=t.theme?_(t.theme,t.language):void 0;return e.themeDict=r})),y(this,"getLineProps",(function(t){var r=t.key,n=t.className,i=t.style,s=v({},k(t,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),a=e.getThemeDict(e.props);return void 0!==a&&(s.style=a.plain),void 0!==i&&(s.style=void 0!==s.style?v({},s.style,i):i),void 0!==r&&(s.key=r),n&&(s.className+=" "+n),s})),y(this,"getStyleForToken",(function(t){var r=t.types,n=t.empty,i=r.length,s=e.getThemeDict(e.props);if(void 0!==s){if(1===i&&"plain"===r[0])return n?{display:"inline-block"}:void 0;if(1===i&&!n)return s[r[0]];var a=n?{display:"inline-block"}:{},o=r.map((function(t){return s[t]}));return Object.assign.apply(Object,[a].concat(o))}})),y(this,"getTokenProps",(function(t){var r=t.key,n=t.className,i=t.style,s=t.token,a=v({},k(t,["key","className","style","token"]),{className:"token "+s.types.join(" "),children:s.content,style:e.getStyleForToken(s),key:void 0});return void 0!==i&&(a.style=void 0!==a.style?v({},a.style,i):i),void 0!==r&&(a.key=r),n&&(a.className+=" "+n),a}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.props,e=t.Prism,r=t.language,n=t.code,i=t.children,s=this.getThemeDict(this.props),a=e.languages[r];return i({tokens:function(t){for(var e=[[]],r=[t],n=[0],i=[t.length],s=0,a=0,o=[],c=[o];a>-1;){for(;(s=n[a]++)<i[a];){var h=void 0,p=e[a],l=r[a][s];if("string"==typeof l?(p=a>0?p:["plain"],h=l):(p=w(p,l.type),l.alias&&(p=w(p,l.alias)),h=l.content),"string"==typeof h){var u=h.split(b),d=u.length;o.push({types:p,content:u[0]});for(var f=1;f<d;f++)x(o),c.push(o=[]),o.push({types:p,content:u[f]})}else a++,e.push(p),r.push(h),n.push(0),i.push(h.length)}a--,e.pop(),r.pop(),n.pop(),i.pop()}return x(o),c}(void 0!==a?e.tokenize(n,a,r):[n]),className:"prism-code language-"+r,style:void 0!==s?s.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},e}(i.Component),S=r(152),C=r(157),A=r.n(C),O={plain:{color:"#C5C8C6",backgroundColor:"#1D1F21"},styles:[{types:["prolog","comment","doctype","cdata"],style:{color:"hsl(30, 20%, 50%)"}},{types:["property","tag","boolean","number","constant","symbol"],style:{color:"hsl(350, 40%, 70%)"}},{types:["attr-name","string","char","builtin","insterted"],style:{color:"hsl(75, 70%, 60%)"}},{types:["operator","entity","url","string","variable","language-css"],style:{color:"hsl(40, 90%, 60%)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["regex","important"],style:{color:"#e90"}},{types:["atrule","attr-value","keyword"],style:{color:"hsl(350, 40%, 70%)"}},{types:["punctuation","symbol"],style:{opacity:"0.7"}}]},P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},T=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},N=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},L=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},R=function(t){function e(){var r,n;j(this,e);for(var a=arguments.length,o=Array(a),c=0;c<a;c++)o[c]=arguments[c];return r=n=L(this,t.call.apply(t,[this].concat(o))),n.state={code:""},n.updateContent=function(t){n.setState({code:t},(function(){n.props.onChange&&n.props.onChange(n.state.code)}))},n.highlightCode=function(t){return s.a.createElement(E,{Prism:f.a,code:t,theme:n.props.theme||O,language:n.props.language},(function(t){var e=t.tokens,r=t.getLineProps,n=t.getTokenProps;return s.a.createElement(i.Fragment,null,e.map((function(t,e){return s.a.createElement("div",r({line:t,key:e}),t.map((function(t,e){return s.a.createElement("span",n({token:t,key:e}))})))})))}))},L(n,r)}return T(e,t),e.getDerivedStateFromProps=function(t,e){return t.code!==e.prevCodeProp?{code:t.code,prevCodeProp:t.code}:null},e.prototype.render=function(){var t=this.props,e=t.style,r=(t.code,t.onChange,t.language,t.theme),n=N(t,["style","code","onChange","language","theme"]),i=this.state.code,a=r&&"object"===P(r.plain)?r.plain:{};return s.a.createElement(d.a,I({value:i,padding:10,highlight:this.highlightCode,onValueChange:this.updateContent,style:I({whiteSpace:"pre",fontFamily:"monospace"},a,e)},n))},e}(i.Component),D=Object(i.createContext)({}),V={assign:A.a},B={objectAssign:"_poly.assign",transforms:{dangerousForOf:!0,dangerousTaggedTemplateString:!0}},M=function(t){return Object(S.a)(t,B).code},F=function(t,e){return function(r){function n(){return j(this,n),L(this,r.apply(this,arguments))}return T(n,r),n.prototype.componentDidCatch=function(t){e(t)},n.prototype.render=function(){return"function"==typeof t?s.a.createElement(t,null):t},n}(i.Component)},U=function(t,e){var r=Object.keys(e),n=r.map((function(t){return e[t]}));return(new(Function.prototype.bind.apply(Function,[null].concat(["_poly","React"],r,[t])))).apply(void 0,[V,s.a].concat(n))},z=function(t,e){var r=t.code,n=void 0===r?"":r,i=t.scope,s=void 0===i?{}:i,a=n.trim().replace(/;$/,""),o=M("return ("+a+")").trim();return F(U(o,s),e)},q=function(t,e,r){var n=t.code,i=void 0===n?"":n,s=t.scope,a=void 0===s?{}:s;if(!/render\s*\(/.test(i))return r(new SyntaxError("No-Inline evaluations must call `render`."));U(M(i),I({},a,{render:function(t){void 0===t?r(new SyntaxError("`render` must be called with valid JSX.")):e(F(t,r))}}))},H=function(t){function e(){var r,n;j(this,e);for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return r=n=L(this,t.call.apply(t,[this].concat(s))),n.onChange=function(t){var e=n.props,r=e.scope,i=e.transformCode,s=e.noInline;n.transpile({code:t,scope:r,transformCode:i,noInline:s})},n.onError=function(t){n.setState({error:t.toString()})},n.transpile=function(t){var e=t.code,r=t.scope,i=t.transformCode,s=t.noInline,a=void 0!==s&&s,o={code:i?i(e):e,scope:r},c=function(t){return n.setState({element:void 0,error:t.toString()})},h=function(t){return n.setState(I({},p,{element:t}))},p={unsafeWrapperError:void 0,error:void 0};try{a?(n.setState(I({},p,{element:null})),q(o,h,c)):h(z(o,c))}catch(l){n.setState(I({},p,{error:l.toString()}))}},L(n,r)}return T(e,t),e.prototype.UNSAFE_componentWillMount=function(){var t=this.props,e=t.code,r=t.scope,n=t.transformCode,i=t.noInline;this.transpile({code:e,scope:r,transformCode:n,noInline:i})},e.prototype.componentDidUpdate=function(t){var e=t.code,r=t.scope,n=t.noInline,i=t.transformCode,s=this.props,a=s.code,o=s.scope,c=s.noInline,h=s.transformCode;a===e&&o===r&&c===n&&h===i||this.transpile({code:a,scope:o,transformCode:h,noInline:c})},e.prototype.render=function(){var t=this.props,e=t.children,r=t.code,n=t.language,i=t.theme,a=t.disabled;return s.a.createElement(D.Provider,{value:I({},this.state,{code:r,language:n,theme:i,disabled:a,onError:this.onError,onChange:this.onChange})},e)},e}(i.Component);function W(t){return s.a.createElement(D.Consumer,null,(function(e){var r=e.code,n=e.language,i=e.theme,a=e.disabled,o=e.onChange;return s.a.createElement(R,I({theme:i,code:r,language:n,disabled:a,onChange:o},t))}))}function X(t){return s.a.createElement(D.Consumer,null,(function(e){var r=e.error;return r?s.a.createElement("pre",t,r):null}))}function G(t){var e=t.Component,r=N(t,["Component"]);return s.a.createElement(e,r,s.a.createElement(D.Consumer,null,(function(t){var e=t.element;return e&&s.a.createElement(e,null)})))}H.defaultProps={code:"",noInline:!1,language:"jsx",disabled:!1},G.defaultProps={Component:"div"};var Y=r(90),$=r(70),J=r.n($);var K=function({children:t,theme:e,transformCode:r,...s}){return i.createElement(H,Object(n.a)({code:t.replace(/\n$/,""),transformCode:r||(t=>t+";"),theme:e},s),i.createElement("div",{className:Object(Y.a)(J.a.playgroundHeader,J.a.playgroundEditorHeader)},"Live Editor"),i.createElement(W,{className:J.a.playgroundEditor}),i.createElement("div",{className:Object(Y.a)(J.a.playgroundHeader,J.a.playgroundPreviewHeader)},"Result"),i.createElement("div",{className:J.a.playgroundPreview},i.createElement(G,null),i.createElement(X,null)))},Q=r(96);var Z={React:s.a,styled:Q.b,...s.a},tt=r(186),et=r.n(tt),rt=r(187),nt=r.n(rt),it=r(71),st=r.n(it);const at=/{([\d,-]+)}/,ot=(t=["js","jsBlock","jsx","python","html"])=>{const e={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},r=["highlight-next-line","highlight-start","highlight-end"].join("|"),n=t.map(t=>`(?:${e[t].start}\\s*(${r})\\s*${e[t].end})`).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)},ct=/(?:title=")(.*)(?:")/;var ht,pt=(ht=({children:t,className:e,metastring:r})=>{const{prism:a}=Object(p.useThemeConfig)(),[o,c]=Object(i.useState)(!1),[h,u]=Object(i.useState)(!1);Object(i.useEffect)(()=>{u(!0)},[]);const d=Object(i.useRef)(null);let f=[],m="";const y=l();if(Array.isArray(t)&&(t=t.join("")),r&&at.test(r)){const t=r.match(at)[1];f=nt()(t).filter(t=>t>0)}r&&ct.test(r)&&(m=r.match(ct)[1]);let v=e&&e.replace(/language-/,"");!v&&a.defaultLanguage&&(v=a.defaultLanguage);let b=t.replace(/\n$/,"");if(0===f.length&&void 0!==v){let e="";const r=(t=>{switch(t){case"js":case"javascript":case"ts":case"typescript":return ot(["js","jsBlock"]);case"jsx":case"tsx":return ot(["js","jsBlock","jsx"]);case"html":return ot(["js","jsBlock","html"]);case"python":case"py":return ot(["python"]);default:return ot()}})(v),n=t.replace(/\n$/,"").split("\n");let i;for(let t=0;t<n.length;){const s=t+1,a=n[t].match(r);if(null!==a){switch(a.slice(1).reduce((t,e)=>t||e,void 0)){case"highlight-next-line":e+=s+",";break;case"highlight-start":i=s;break;case"highlight-end":e+=`${i}-${s-1},`}n.splice(t,1)}else t+=1}f=nt()(e),b=n.join("\n")}const x=()=>{et()(b),c(!0),setTimeout(()=>c(!1),2e3)};return s.a.createElement(E,Object(n.a)({},g,{key:String(h),theme:y,code:b,language:v}),({className:t,style:e,tokens:r,getLineProps:i,getTokenProps:a})=>s.a.createElement(s.a.Fragment,null,m&&s.a.createElement("div",{style:e,className:st.a.codeBlockTitle},m),s.a.createElement("div",{className:st.a.codeBlockContent},s.a.createElement("div",{tabIndex:0,className:Object(Y.a)(t,st.a.codeBlock,"thin-scrollbar",{[st.a.codeBlockWithTitle]:m})},s.a.createElement("div",{className:st.a.codeBlockLines,style:e},r.map((t,e)=>{1===t.length&&""===t[0].content&&(t[0].content="\n");const r=i({line:t,key:e});return f.includes(e+1)&&(r.className=r.className+" docusaurus-highlight-code-line"),s.a.createElement("div",Object(n.a)({key:e},r),t.map((t,e)=>s.a.createElement("span",Object(n.a)({key:e},a({token:t,key:e})))))}))),s.a.createElement("button",{ref:d,type:"button","aria-label":"Copy code to clipboard",className:Object(Y.a)(st.a.copyButton),onClick:x},o?"Copied":"Copy"))))},t=>{const{isClient:e}=Object(o.default)(),r=l();return t.live?s.a.createElement(K,Object(n.a)({key:e,scope:Z,theme:r},t)):s.a.createElement(ht,t)}),lt=(r(72),r(73)),ut=r.n(lt);var dt=t=>function({id:e,...r}){const{navbar:{hideOnScroll:n}}=Object(p.useThemeConfig)();return e?s.a.createElement(t,r,s.a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:Object(Y.a)("anchor",{[ut.a.enhancedAnchor]:!n}),id:e}),r.children,s.a.createElement("a",{className:"hash-link",href:"#"+e,title:"Direct link to heading"},"#")):s.a.createElement(t,r)},ft=r(74),mt=r.n(ft);const gt={code:t=>{const{children:e}=t;return"string"==typeof e?e.includes("\n")?s.a.createElement(pt,t):s.a.createElement("code",t):e},a:t=>s.a.createElement(a.a,t),pre:t=>s.a.createElement("div",Object(n.a)({className:mt.a.mdxCodeBlock},t)),h1:dt("h1"),h2:dt("h2"),h3:dt("h3"),h4:dt("h4"),h5:dt("h5"),h6:dt("h6")};e.a=gt},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},,,,,function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.useThemeConfig=void 0;const i=n(r(22));e.useThemeConfig=function(){return i.default().siteConfig.themeConfig}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDocsPluginEnabled=void 0;const n=r(95);e.isDocsPluginEnabled=!!n.useAllDocsData},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.useDocsPreferredVersionContext=e.DocsPreferredVersionContextProvider=void 0;const o=s(r(0)),c=r(116),h=r(117),p=r(95),l=a(r(141));function u({pluginIds:t,versionPersistence:e,allDocsData:r}){const n={};return t.forEach(t=>{n[t]=function(t){const n=l.default.read(t,e);return r[t].versions.some(t=>t.name===n)?{preferredVersionName:n}:(l.default.clear(t,e),{preferredVersionName:null})}(t)}),n}function d(){const t=p.useAllDocsData(),e=c.useThemeConfig().docs.versionPersistence,r=o.useMemo(()=>Object.keys(t),[t]),[n,i]=o.useState(()=>function(t){const e={};return t.forEach(t=>{e[t]={preferredVersionName:null}}),e}(r));o.useEffect(()=>{i(u({allDocsData:t,versionPersistence:e,pluginIds:r}))},[t,e,r]);return[n,o.useMemo(()=>({savePreferredVersion:function(t,r){l.default.save(t,e,r),i(e=>Object.assign(Object.assign({},e),{[t]:{preferredVersionName:r}}))}}),[i])]}const f=o.createContext(null);function m({children:t}){const e=d();return o.default.createElement(f.Provider,{value:e},t)}e.DocsPreferredVersionContextProvider=function({children:t}){return h.isDocsPluginEnabled?o.default.createElement(m,null,t):o.default.createElement(o.default.Fragment,null,t)},e.useDocsPreferredVersionContext=function(){const t=o.useContext(f);if(!t)throw new Error("Can't find docs preferred context, maybe you forgot to use the DocsPreferredVersionContextProvider ?");return t}},function(t,e,r){"use strict";var n=r(0),i=r(120);e.a=function(){const t=Object(n.useContext)(i.a);if(null==t)throw new Error("`useUserPreferencesContext` is used outside of `Layout` Component.");return t}},function(t,e,r){"use strict";var n=r(0);const i=Object(n.createContext)(void 0);e.a=i},function(t,e,r){"use strict";var n=r(0),i=r(7);const s=()=>({scrollX:i.a.canUseDOM?window.pageXOffset:0,scrollY:i.a.canUseDOM?window.pageYOffset:0});e.a=(t,e=[])=>{const[r,i]=Object(n.useState)(s()),a=()=>{const e=s();i(e),t&&t(e)};return Object(n.useEffect)(()=>{const t={passive:!0};return window.addEventListener("scroll",a,t),()=>window.removeEventListener("scroll",a,t)},e),r}},function(t,e,r){"use strict";var n=r(0);e.a=function(t=!0){Object(n.useEffect)(()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[t])}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i}));var n=r(0);const i={desktop:"desktop",mobile:"mobile"};e.a=function(){const t="undefined"!=typeof window;function e(){if(t)return window.innerWidth>996?i.desktop:i.mobile}const[r,s]=Object(n.useState)(e);return Object(n.useEffect)(()=>{if(t)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){s(e())}},[]),r}},function(t,e,r){var n=r(160),i=r(165);t.exports=r(107)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(106),i=r(105),s="__core-js_shared__",a=i[s]||(i[s]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(168)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(129),i=r(130);t.exports=function(t){return n(i(t))}},function(t,e,r){var n=r(174);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e){var r,n,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,h=[],p=!1,l=-1;function u(){p&&c&&(p=!1,c.length?h=c.concat(h):l=-1,h.length&&d())}function d(){if(!p){var t=o(u);p=!0;for(var e=h.length;e;){for(c=h,h=[];++l<e;)c&&c[l].run();l=-1,e=h.length}c=null,p=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];h.push(new f(t,e)),1!==h.length||p||o(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,function(t,e,r){"use strict";var n=r(3),i=r(0),s=r.n(i),a=r(92),o=r(90),c=r(22),h=r(102),p=r(61),l=r.n(p);var u=t=>{const{isClient:e}=Object(c.default)(),{isDarkTheme:r}=Object(h.a)(),{sources:i,className:a,alt:p="",...u}=t,d=e?r?["dark"]:["light"]:["light","dark"];return s.a.createElement(s.a.Fragment,null,d.map(t=>s.a.createElement("img",Object(n.a)({key:t,src:i[t],alt:p,className:Object(o.a)(l.a.themedImage,l.a["themedImage--"+t],a)},u))))},d=r(93),f=r(91),m=r(104);e.a=t=>{const{isClient:e}=Object(c.default)(),{navbar:{title:r,logo:i={}}}=Object(f.useThemeConfig)(),{imageClassName:o,titleClassName:h,...p}=t,l=Object(d.a)(i.href||"/"),g=i.target?{target:i.target}:Object(m.a)(l)?{}:{rel:"noopener noreferrer",target:"_blank"},y={light:Object(d.a)(i.src),dark:Object(d.a)(i.srcDark||i.src)};return s.a.createElement(a.a,Object(n.a)({to:l},p,g),i.src&&s.a.createElement(u,{key:e,className:o,sources:y,alt:i.alt||r||"Logo"}),null!=r&&s.a.createElement("strong",{className:h},r))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.docVersionSearchTag=e.DEFAULT_SEARCH_TAG=void 0,e.DEFAULT_SEARCH_TAG="default",e.docVersionSearchTag=function(t,e){return`docs-${t}-${e}`}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDocVersionSuggestions=e.useActiveDocContext=e.useActiveVersion=e.useLatestVersion=e.useVersions=e.useActivePluginAndVersion=e.useActivePlugin=e.useDocsData=e.useAllDocsData=void 0;const n=r(98),i=r(137),s=r(138);e.useAllDocsData=()=>i.useAllPluginInstancesData("docusaurus-plugin-content-docs"),e.useDocsData=t=>i.usePluginData("docusaurus-plugin-content-docs",t),e.useActivePlugin=(t={})=>{const r=e.useAllDocsData(),{pathname:i}=n.useLocation();return s.getActivePlugin(r,i,t)},e.useActivePluginAndVersion=(t={})=>{const r=e.useActivePlugin(t),{pathname:i}=n.useLocation();if(r){return{activePlugin:r,activeVersion:s.getActiveVersion(r.pluginData,i)}}},e.useVersions=t=>e.useDocsData(t).versions,e.useLatestVersion=t=>{const r=e.useDocsData(t);return s.getLatestVersion(r)},e.useActiveVersion=t=>{const r=e.useDocsData(t),{pathname:i}=n.useLocation();return s.getActiveVersion(r,i)},e.useActiveDocContext=t=>{const r=e.useDocsData(t),{pathname:i}=n.useLocation();return s.getActiveDocContext(r,i)},e.useDocVersionSuggestions=t=>{const r=e.useDocsData(t),{pathname:i}=n.useLocation();return s.getDocVersionSuggestions(r,i)}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return i})),r.d(e,"useAllPluginInstancesData",(function(){return s})),r.d(e,"usePluginData",(function(){return a}));var n=r(22);function i(){const{globalData:t}=Object(n.default)();if(!t)throw new Error("Docusaurus global data not found");return t}function s(t){const e=i()[t];if(!e)throw new Error("Docusaurus plugin global data not found for pluginName="+t);return e}function a(t,e="default"){const r=s(t)[e];if(!r)throw new Error(`Docusaurus plugin global data not found for pluginName=${t} and pluginId=${e}`);return r}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDocVersionSuggestions=e.getActiveDocContext=e.getActiveVersion=e.getLatestVersion=e.getActivePlugin=void 0;const n=r(98);e.getActivePlugin=function(t,e,r={}){const i=Object.entries(t).find(([t,r])=>!!n.matchPath(e,{path:r.path,exact:!1,strict:!1})),s=i?{pluginId:i[0],pluginData:i[1]}:void 0;if(!s&&r.failfast)throw new Error(`Can't find active docs plugin for pathname=${e}, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(t).map(t=>t.path).join(", ")}`);return s},e.getLatestVersion=t=>t.versions.find(t=>t.isLast),e.getActiveVersion=(t,r)=>{const i=e.getLatestVersion(t);return[...t.versions.filter(t=>t!==i),i].find(t=>!!n.matchPath(r,{path:t.path,exact:!1,strict:!1}))},e.getActiveDocContext=(t,r)=>{const i=e.getActiveVersion(t,r),s=null==i?void 0:i.docs.find(t=>!!n.matchPath(r,{path:t.path,exact:!0,strict:!1}));return{activeVersion:i,activeDoc:s,alternateDocVersions:s?function(e){const r={};return t.versions.forEach(t=>{t.docs.forEach(n=>{n.id===e&&(r[t.name]=n)})}),r}(s.id):{}}},e.getDocVersionSuggestions=(t,r)=>{const n=e.getLatestVersion(t),i=e.getActiveDocContext(t,r),s=i.activeVersion!==n;return{latestDocSuggestion:s?null==i?void 0:i.alternateDocVersions[n.name]:void 0,latestVersionSuggestion:s?n:void 0}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSamePath=void 0,e.isSamePath=(t,e)=>{const r=t=>!t||(null==t?void 0:t.endsWith("/"))?t:t+"/";return r(t)===r(e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDocsPreferredVersionByPluginId=e.useDocsPreferredVersion=void 0;const n=r(0),i=r(118),s=r(95),a=r(142);e.useDocsPreferredVersion=function(t=a.DEFAULT_PLUGIN_ID){const e=s.useDocsData(t),[r,o]=i.useDocsPreferredVersionContext(),{preferredVersionName:c}=r[t];return{preferredVersion:c?e.versions.find(t=>t.name===c):null,savePreferredVersionName:n.useCallback(e=>{o.savePreferredVersion(t,e)},[o])}},e.useDocsPreferredVersionByPluginId=function(){const t=s.useAllDocsData(),[e]=i.useDocsPreferredVersionContext(),r=Object.keys(t),n={};return r.forEach(r=>{n[r]=function(r){const n=t[r],{preferredVersionName:i}=e[r];return i?n.versions.find(t=>t.name===i):null}(r)}),n}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=t=>"docs-preferred-version-"+t,i={save:(t,e,r)=>{"none"===e||window.localStorage.setItem(n(t),r)},read:(t,e)=>"none"===e?null:window.localStorage.getItem(n(t)),clear:(t,e)=>{"none"===e||window.localStorage.removeItem(n(t))}};e.default=i},function(t,e,r){"use strict";r.r(e),r.d(e,"DEFAULT_PLUGIN_ID",(function(){return n}));const n="default"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),s=r(0),a=u(s),o=u(r(144)),c=u(r(1)),h=u(r(145)),p=u(r(146)),l=r(147);function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.handleClick=r.handleClick.bind(r),r.handleTouchStart=r.handleTouchStart.bind(r),r.handleTouchMove=r.handleTouchMove.bind(r),r.handleTouchEnd=r.handleTouchEnd.bind(r),r.handleFocus=r.handleFocus.bind(r),r.handleBlur=r.handleBlur.bind(r),r.previouslyChecked=!(!t.checked&&!t.defaultChecked),r.state={checked:!(!t.checked&&!t.defaultChecked),hasFocus:!1},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidUpdate",value:function(t){t.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(t){var e=this.input;if(t.target!==e&&!this.moved)return this.previouslyChecked=e.checked,t.preventDefault(),e.focus(),void e.click();var r=this.props.hasOwnProperty("checked")?this.props.checked:e.checked;this.setState({checked:r})}},{key:"handleTouchStart",value:function(t){this.startX=(0,l.pointerCoord)(t).x,this.activated=!0}},{key:"handleTouchMove",value:function(t){if(this.activated&&(this.moved=!0,this.startX)){var e=(0,l.pointerCoord)(t).x;this.state.checked&&e+15<this.startX?(this.setState({checked:!1}),this.startX=e,this.activated=!0):e-15>this.startX&&(this.setState({checked:!0}),this.startX=e,this.activated=e<this.startX+5)}}},{key:"handleTouchEnd",value:function(t){if(this.moved){var e=this.input;if(t.preventDefault(),this.startX){var r=(0,l.pointerCoord)(t).x;!0===this.previouslyChecked&&this.startX+4>r?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,e.click()):this.startX-4<r&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,e.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(t){var e=this.props.onFocus;e&&e(t),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(t){var e=this.props.onBlur;e&&e(t),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(t){var r=this.props.icons;return r?void 0===r[t]?e.defaultProps.icons[t]:r[t]:null}},{key:"render",value:function(){var t=this,e=this.props,r=e.className,i=(e.icons,function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["className","icons"])),s=(0,o.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},r);return a.default.createElement("div",{className:s,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a.default.createElement("div",{className:"react-toggle-track"},a.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),a.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),a.default.createElement("div",{className:"react-toggle-thumb"}),a.default.createElement("input",n({},i,{ref:function(e){t.input=e},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),e}(s.PureComponent);e.default=d,d.displayName="Toggle",d.defaultProps={icons:{checked:a.default.createElement(h.default,null),unchecked:a.default.createElement(p.default,null)}},d.propTypes={checked:c.default.bool,disabled:c.default.bool,defaultChecked:c.default.bool,onChange:c.default.func,onFocus:c.default.func,onBlur:c.default.func,className:c.default.string,name:c.default.string,value:c.default.string,id:c.default.string,"aria-labelledby":c.default.string,"aria-label":c.default.string,icons:c.default.oneOfType([c.default.bool,c.default.shape({checked:c.default.node,unchecked:c.default.node})])}},function(t,e,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var s=typeof n;if("string"===s||"number"===s)t.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&t.push(a)}else if("object"===s)for(var o in n)r.call(n,o)&&n[o]&&t.push(o)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(0),s=(n=i)&&n.__esModule?n:{default:n};e.default=function(){return s.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},s.default.createElement("title",null,"switch-check"),s.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(0),s=(n=i)&&n.__esModule?n:{default:n};e.default=function(){return s.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},s.default.createElement("title",null,"switch-x"),s.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointerCoord=function(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var r=e[0];return{x:r.clientX,y:r.clientY}}var n=t.pageX;if(void 0!==n)return{x:n,y:t.pageY}}return{x:0,y:0}}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return h}));var n=r(3),i=r(0),s=r.n(i),a=r(103),o=r(95),c=r(91);function h({label:t,to:e,docsPluginId:r,...i}){var h;const p=Object(o.useActiveVersion)(r),{preferredVersion:l}=Object(c.useDocsPreferredVersion)(r),u=Object(o.useLatestVersion)(r),d=null!==(h=null!=p?p:l)&&void 0!==h?h:u,f=null!=t?t:d.label,m=null!=e?e:(t=>t.docs.find(e=>e.id===t.mainDocId))(d).path;return s.a.createElement(a.a,Object(n.a)({},i,{label:f,to:m}))}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return p}));var n=r(3),i=r(0),s=r.n(i),a=r(103),o=r(95),c=r(91);const h=t=>t.docs.find(e=>e.id===t.mainDocId);function p({mobile:t,docsPluginId:e,dropdownActiveClassDisabled:r,dropdownItemsBefore:i,dropdownItemsAfter:p,...l}){var u,d;const f=Object(o.useActiveDocContext)(e),m=Object(o.useVersions)(e),g=Object(o.useLatestVersion)(e),{preferredVersion:y,savePreferredVersionName:v}=Object(c.useDocsPreferredVersion)(e);const b=null!==(u=null!==(d=f.activeVersion)&&void 0!==d?d:y)&&void 0!==u?u:g,x=t?"Versions":b.label,w=t?void 0:h(b).path;return s.a.createElement(a.a,Object(n.a)({},l,{mobile:t,label:x,to:w,items:function(){const t=m.map(t=>{const e=(null==f?void 0:f.alternateDocVersions[t.name])||h(t);return{isNavLink:!0,label:t.label,to:e.path,isActive:()=>t===(null==f?void 0:f.activeVersion),onClick:()=>{v(t.name)}}}),e=[...i,...t,...p];if(!(e.length<=1))return e}(),isActive:r?()=>!1:void 0}))}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return p}));var n=r(3),i=r(0),s=r.n(i),a=r(103),o=r(95),c=r(90),h=r(91);function p({docId:t,activeSidebarClassName:e,label:r,docsPluginId:i,...p}){var l;const{activeVersion:u,activeDoc:d}=Object(o.useActiveDocContext)(i),{preferredVersion:f}=Object(h.useDocsPreferredVersion)(i),m=Object(o.useLatestVersion)(i),g=null!==(l=null!=u?u:f)&&void 0!==l?l:m,y=g.docs.find(e=>e.id===t);if(!y)throw new Error(`DocNavbarItem: couldn't find any doc with id=${t} in version ${g.name}.\nAvailable docIds=\n- ${g.docs.join("\n- ")}`);return s.a.createElement(a.a,Object(n.a)({exact:!0},p,{className:Object(c.a)(p.className,{[e]:d&&d.sidebar===y.sidebar}),label:null!=r?r:y.id,to:y.path}))}},function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(0));function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=90,h=219,p=222,l=192,u=100,d=3e3,f="navigator"in t&&/Win/i.test(navigator.platform),m="navigator"in t&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),g="npm__react-simple-code-editor__textarea",y=function(t){function e(){var t,r,i;a(this,e);for(var s=arguments.length,g=Array(s),y=0;y<s;y++)g[y]=arguments[y];return r=i=o(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(g))),i.state={capture:!0},i._recordCurrentState=function(){var t=i._input;if(t){var e=t.value,r=t.selectionStart,n=t.selectionEnd;i._recordChange({value:e,selectionStart:r,selectionEnd:n})}},i._getLines=function(t,e){return t.substring(0,e).split("\n")},i._recordChange=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i._history,s=r.stack,a=r.offset;if(s.length&&a>-1){i._history.stack=s.slice(0,a+1);var o=i._history.stack.length;if(o>u){var c=o-u;i._history.stack=s.slice(c,o),i._history.offset=Math.max(i._history.offset-c,0)}}var h=Date.now();if(e){var p=i._history.stack[i._history.offset];if(p&&h-p.timestamp<d){var l=/[^a-z0-9]([a-z0-9]+)$/i,f=i._getLines(p.value,p.selectionStart).pop().match(l),m=i._getLines(t.value,t.selectionStart).pop().match(l);if(f&&m&&m[1].startsWith(f[1]))return void(i._history.stack[i._history.offset]=n({},t,{timestamp:h}))}}i._history.stack.push(n({},t,{timestamp:h})),i._history.offset++},i._updateInput=function(t){var e=i._input;e&&(e.value=t.value,e.selectionStart=t.selectionStart,e.selectionEnd=t.selectionEnd,i.props.onValueChange(t.value))},i._applyEdits=function(t){var e=i._input,r=i._history.stack[i._history.offset];r&&e&&(i._history.stack[i._history.offset]=n({},r,{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd})),i._recordChange(t),i._updateInput(t)},i._undoEdit=function(){var t=i._history,e=t.stack,r=t.offset,n=e[r-1];n&&(i._updateInput(n),i._history.offset=Math.max(r-1,0))},i._redoEdit=function(){var t=i._history,e=t.stack,r=t.offset,n=e[r+1];n&&(i._updateInput(n),i._history.offset=Math.min(r+1,e.length-1))},i._handleKeyDown=function(t){var e=i.props,r=e.tabSize,n=e.insertSpaces,s=e.ignoreTabKey,a=e.onKeyDown;if(!a||(a(t),!t.defaultPrevented)){27===t.keyCode&&t.target.blur();var o=t.target,u=o.value,d=o.selectionStart,g=o.selectionEnd,y=(n?" ":"\t").repeat(r);if(9===t.keyCode&&!s&&i.state.capture)if(t.preventDefault(),t.shiftKey){var v=i._getLines(u,d),b=v.length-1,x=i._getLines(u,g).length-1,w=u.split("\n").map((function(t,e){return e>=b&&e<=x&&t.startsWith(y)?t.substring(y.length):t})).join("\n");if(u!==w){var _=v[b];i._applyEdits({value:w,selectionStart:_.startsWith(y)?d-y.length:d,selectionEnd:g-(u.length-w.length)})}}else if(d!==g){var k=i._getLines(u,d),E=k.length-1,S=i._getLines(u,g).length-1,C=k[E];i._applyEdits({value:u.split("\n").map((function(t,e){return e>=E&&e<=S?y+t:t})).join("\n"),selectionStart:/\S/.test(C)?d+y.length:d,selectionEnd:g+y.length*(S-E+1)})}else{var A=d+y.length;i._applyEdits({value:u.substring(0,d)+y+u.substring(g),selectionStart:A,selectionEnd:A})}else if(8===t.keyCode){var O=d!==g;if(u.substring(0,d).endsWith(y)&&!O){t.preventDefault();var P=d-y.length;i._applyEdits({value:u.substring(0,d-y.length)+u.substring(g),selectionStart:P,selectionEnd:P})}}else if(13===t.keyCode){if(d===g){var j=i._getLines(u,d).pop().match(/^\s+/);if(j&&j[0]){t.preventDefault();var I="\n"+j[0],T=d+I.length;i._applyEdits({value:u.substring(0,d)+I+u.substring(g),selectionStart:T,selectionEnd:T})}}}else if(57===t.keyCode||t.keyCode===h||t.keyCode===p||t.keyCode===l){var N=void 0;57===t.keyCode&&t.shiftKey?N=["(",")"]:t.keyCode===h?N=t.shiftKey?["{","}"]:["[","]"]:t.keyCode===p?N=t.shiftKey?['"','"']:["'","'"]:t.keyCode!==l||t.shiftKey||(N=["`","`"]),d!==g&&N&&(t.preventDefault(),i._applyEdits({value:u.substring(0,d)+N[0]+u.substring(d,g)+N[1]+u.substring(g),selectionStart:d,selectionEnd:g+2}))}else!(m?t.metaKey&&t.keyCode===c:t.ctrlKey&&t.keyCode===c)||t.shiftKey||t.altKey?(m?t.metaKey&&t.keyCode===c&&t.shiftKey:f?t.ctrlKey&&89===t.keyCode:t.ctrlKey&&t.keyCode===c&&t.shiftKey)&&!t.altKey?(t.preventDefault(),i._redoEdit()):77!==t.keyCode||!t.ctrlKey||m&&!t.shiftKey||(t.preventDefault(),i.setState((function(t){return{capture:!t.capture}}))):(t.preventDefault(),i._undoEdit())}},i._handleChange=function(t){var e=t.target,r=e.value,n=e.selectionStart,s=e.selectionEnd;i._recordChange({value:r,selectionStart:n,selectionEnd:s},!0),i.props.onValueChange(r)},i._history={stack:[],offset:-1},o(i,r)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidMount",value:function(){this._recordCurrentState()}},{key:"render",value:function(){var t=this,e=this.props,r=e.value,i=e.style,a=e.padding,o=e.highlight,c=e.textareaId,h=e.autoFocus,p=e.disabled,l=e.form,u=e.maxLength,d=e.minLength,f=e.name,m=e.placeholder,y=e.readOnly,b=e.required,x=e.onClick,w=e.onFocus,_=e.onBlur,k=e.onKeyUp,E=(e.onKeyDown,e.onValueChange,e.tabSize,e.insertSpaces,e.ignoreTabKey,function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["value","style","padding","highlight","textareaId","autoFocus","disabled","form","maxLength","minLength","name","placeholder","readOnly","required","onClick","onFocus","onBlur","onKeyUp","onKeyDown","onValueChange","tabSize","insertSpaces","ignoreTabKey"])),S={paddingTop:a,paddingRight:a,paddingBottom:a,paddingLeft:a},C=o(r);return s.createElement("div",n({},E,{style:n({},v.container,i)}),s.createElement("textarea",{ref:function(e){return t._input=e},style:n({},v.editor,v.textarea,S),className:g,id:c,value:r,onChange:this._handleChange,onKeyDown:this._handleKeyDown,onClick:x,onKeyUp:k,onFocus:w,onBlur:_,disabled:p,form:l,maxLength:u,minLength:d,name:f,placeholder:m,readOnly:y,required:b,autoFocus:h,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"data-gramm":!1}),s.createElement("pre",n({"aria-hidden":"true",style:n({},v.editor,v.highlight,S)},"string"==typeof C?{dangerouslySetInnerHTML:{__html:C+"<br />"}}:{children:C})),s.createElement("style",{type:"text/css",dangerouslySetInnerHTML:{__html:"\n/**\n * Reset the text fill color so that placeholder is visible\n */\n.npm__react-simple-code-editor__textarea:empty {\n -webkit-text-fill-color: inherit !important;\n}\n\n/**\n * Hack to apply on some CSS on IE10 and IE11\n */\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n /**\n * IE doesn't support '-webkit-text-fill-color'\n * So we use 'color: transparent' to make the text transparent on IE\n * Unlike other browsers, it doesn't affect caret color in IE\n */\n .npm__react-simple-code-editor__textarea {\n color: transparent !important;\n }\n\n .npm__react-simple-code-editor__textarea::selection {\n background-color: #accef7 !important;\n color: transparent !important;\n }\n}\n"}}))}},{key:"session",get:function(){return{history:this._history}},set:function(t){this._history=t.history}}]),e}(s.Component);y.defaultProps={tabSize:2,insertSpaces:!0,ignoreTabKey:!1,padding:0},e.default=y;var v={container:{position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},textarea:{position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},highlight:{position:"relative",pointerEvents:"none"},editor:{margin:0,border:0,background:"none",boxSizing:"inherit",display:"inherit",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontVariantLigatures:"inherit",fontWeight:"inherit",letterSpacing:"inherit",lineHeight:"inherit",tabSize:"inherit",textIndent:"inherit",textRendering:"inherit",textTransform:"inherit",whiteSpace:"pre-wrap",wordBreak:"keep-all",overflowWrap:"break-word"}}}).call(this,r(23))},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return xr}));var n={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",s={5:i,6:i+" const class extends export import super"},a=/^in(stanceof)?$/,o="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7b9\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",c="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",h=new RegExp("["+o+"]"),p=new RegExp("["+o+c+"]");o=c=null;var l=[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,157,310,10,21,11,7,153,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,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,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,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,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,4149,196,60,67,1213,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,42710,42,4148,12,221,3,5761,15,7472,3104,541],u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,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,2214,6,110,6,6,9,792487,239];function d(t,e){for(var r=65536,n=0;n<e.length;n+=2){if((r+=e[n])>t)return!1;if((r+=e[n+1])>=t)return!0}}function f(t,e){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&h.test(String.fromCharCode(t)):!1!==e&&d(t,l)))}function m(t,e){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&p.test(String.fromCharCode(t)):!1!==e&&(d(t,l)||d(t,u)))))}var g=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function y(t,e){return new g(t,{beforeExpr:!0,binop:e})}var v={beforeExpr:!0},b={startsExpr:!0},x={};function w(t,e){return void 0===e&&(e={}),e.keyword=t,x[t]=new g(t,e)}var _={num:new g("num",b),regexp:new g("regexp",b),string:new g("string",b),name:new g("name",b),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",v),semi:new g(";",v),colon:new g(":",v),dot:new g("."),question:new g("?",v),arrow:new g("=>",v),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",v),backQuote:new g("`",b),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("</>/<=/>=",7),bitShift:y("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new g("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",v),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",v),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",v),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",v),_switch:w("switch"),_throw:w("throw",v),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",v),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},k=/\r\n?|\n|\u2028|\u2029/,E=new RegExp(k.source,"g");function S(t,e){return 10===t||13===t||!e&&(8232===t||8233===t)}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,P=O.hasOwnProperty,j=O.toString;function I(t,e){return P.call(t,e)}var T=Array.isArray||function(t){return"[object Array]"===j.call(t)};function N(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var L=function(t,e){this.line=t,this.column=e};L.prototype.offset=function(t){return new L(this.line,this.column+t)};var R=function(t,e,r){this.start=e,this.end=r,null!==t.sourceFile&&(this.source=t.sourceFile)};function D(t,e){for(var r=1,n=0;;){E.lastIndex=n;var i=E.exec(t);if(!(i&&i.index<e))return new L(r,e-n);++r,n=i.index+i[0].length}}var V={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function B(t,e){return 2|(t?4:0)|(e?8:0)}var M=function(t,e,r){this.options=t=function(t){var e={};for(var r in V)e[r]=t&&I(t,r)?t[r]:V[r];if(e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),T(e.onToken)){var n=e.onToken;e.onToken=function(t){return n.push(t)}}return T(e.onComment)&&(e.onComment=function(t,e){return function(r,n,i,s,a,o){var c={type:r?"Block":"Line",value:n,start:i,end:s};t.locations&&(c.loc=new R(this,a,o)),t.ranges&&(c.range=[i,s]),e.push(c)}}(e,e.onComment)),e}(t),this.sourceFile=t.sourceFile,this.keywords=N(s[t.ecmaVersion>=6?6:5]);var i="";if(!t.allowReserved){for(var a=t.ecmaVersion;!(i=n[a]);a--);"module"===t.sourceType&&(i+=" await")}this.reservedWords=N(i);var o=(i?i+" ":"")+n.strict;this.reservedWordsStrict=N(o),this.reservedWordsStrictBind=N(o+" "+n.strictBind),this.input=String(e),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(k).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};M.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},M.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},M.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var r=this,n=0;n<t.length;n++)r=t[n](r);return r},M.parse=function(t,e){return new this(e,t).parse()},M.parseExpressionAt=function(t,e,r){var n=new this(r,t,e);return n.nextToken(),n.parseExpression()},M.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(M.prototype,F);var U=M.prototype,z=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function q(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}U.strictDirective=function(t){for(;;){A.lastIndex=t,t+=A.exec(this.input)[0].length;var e=z.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2]))return!0;A.lastIndex=t+=e[0].length,t+=A.exec(this.input)[0].length,";"===this.input[t]&&t++}},U.eat=function(t){return this.type===t&&(this.next(),!0)},U.isContextual=function(t){return this.type===_.name&&this.value===t&&!this.containsEsc},U.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},U.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},U.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||k.test(this.input.slice(this.lastTokEnd,this.start))},U.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},U.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},U.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0},U.expect=function(t){this.eat(t)||this.unexpected()},U.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")},U.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var r=e?t.parenthesizedAssign:t.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},U.checkExpressionErrors=function(t,e){if(!t)return!1;var r=t.shorthandAssign,n=t.doubleProto;if(!e)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},U.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},U.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var H=M.prototype;H.parseTopLevel=function(t){var e={};for(t.body||(t.body=[]);this.type!==_.eof;){var r=this.parseStatement(null,!0,e);t.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var s=i[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),this.options.ecmaVersion>=6&&(t.sourceType=this.options.sourceType),this.finishNode(t,"Program")};var W={kind:"loop"},X={kind:"switch"};H.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),r=this.pos+e[0].length,n=this.input.charCodeAt(r);if(91===n)return!0;if(t)return!1;if(123===n)return!0;if(f(n,!0)){for(var i=r+1;m(this.input.charCodeAt(i),!0);)++i;var s=this.input.slice(r,i);if(!a.test(s))return!0}return!1},H.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var t=A.exec(this.input),e=this.pos+t[0].length;return!(k.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&m(this.input.charAt(e+8)))},H.parseStatement=function(t,e,r){var n,i=this.type,s=this.startNode();switch(this.isLet(t)&&(i=_._var,n="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(s,i.keyword);case _._debugger:return this.parseDebuggerStatement(s);case _._do:return this.parseDoStatement(s);case _._for:return this.parseForStatement(s);case _._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!t);case _._class:return t&&this.unexpected(),this.parseClass(s,!0);case _._if:return this.parseIfStatement(s);case _._return:return this.parseReturnStatement(s);case _._switch:return this.parseSwitchStatement(s);case _._throw:return this.parseThrowStatement(s);case _._try:return this.parseTryStatement(s);case _._const:case _._var:return n=n||this.value,t&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case _._while:return this.parseWhileStatement(s);case _._with:return this.parseWithStatement(s);case _.braceL:return this.parseBlock(!0,s);case _.semi:return this.parseEmptyStatement(s);case _._export:case _._import:return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!t);var a=this.value,o=this.parseExpression();return i===_.name&&"Identifier"===o.type&&this.eat(_.colon)?this.parseLabeledStatement(s,a,o,t):this.parseExpressionStatement(s,o)}},H.parseBreakContinueStatement=function(t,e){var r="break"===e;this.next(),this.eat(_.semi)||this.insertSemicolon()?t.label=null:this.type!==_.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if(null==t.label||i.name===t.label.name){if(null!=i.kind&&(r||"loop"===i.kind))break;if(t.label&&r)break}}return n===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,r?"BreakStatement":"ContinueStatement")},H.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},H.parseDoStatement=function(t){return this.next(),this.labels.push(W),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(_._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(_.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},H.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterScope(0),this.expect(_.parenL),this.type===_.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var r=this.isLet();if(this.type===_._var||this.type===_._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==i&&n.declarations[0].init?(e>-1&&this.unexpected(e),this.parseFor(t,n)):(this.options.ecmaVersion>=9&&(this.type===_._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,n))}var s=new q,a=this.parseExpression(!0,s);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?e>-1&&this.unexpected(e):t.await=e>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(t,a)):(this.checkExpressionErrors(s,!0),e>-1&&this.unexpected(e),this.parseFor(t,a))},H.parseFunctionStatement=function(t,e,r){return this.next(),this.parseFunction(t,Y|(r?0:$),!1,e)},H.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(_._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},H.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},H.parseSwitchStatement=function(t){var e;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(_.braceL),this.labels.push(X),this.enterScope(0);for(var r=!1;this.type!==_.braceR;)if(this.type===_._case||this.type===_._default){var n=this.type===_._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),n?e.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,e.test=null),this.expect(_.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},H.parseThrowStatement=function(t){return this.next(),k.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var G=[];H.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===_._catch){var e=this.startNode();if(this.next(),this.eat(_.parenL)){e.param=this.parseBindingAtom();var r="Identifier"===e.param.type;this.enterScope(r?32:0),this.checkLVal(e.param,r?4:2),this.expect(_.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0);e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(_._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},H.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},H.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(W),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},H.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},H.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},H.parseLabeledStatement=function(t,e,r,n){for(var i=0,s=this.labels;i<s.length;i+=1)s[i].name===e&&this.raise(r.start,"Label '"+e+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===_._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var c=this.labels[o];if(c.statementStart!==t.start)break;c.statementStart=this.start,c.kind=a}return this.labels.push({name:e,kind:a,statementStart:this.start}),t.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),t.label=r,this.finishNode(t,"LabeledStatement")},H.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},H.parseBlock=function(t,e){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(_.braceL),t&&this.enterScope(0);!this.eat(_.braceR);){var r=this.parseStatement(null);e.body.push(r)}return t&&this.exitScope(),this.finishNode(e,"BlockStatement")},H.parseFor=function(t,e){return t.init=e,this.expect(_.semi),t.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),t.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},H.parseForIn=function(t,e){var r=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===r&&("AssignmentPattern"===e.type||"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(this.strict||"Identifier"!==e.declarations[0].id.type))&&this.raise(e.start,"Invalid assignment in for-in loop head"),t.left=e,t.right="ForInStatement"===r?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,r)},H.parseVar=function(t,e,r){for(t.declarations=[],t.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(_.eq)?n.init=this.parseMaybeAssign(e):"const"!==r||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||e&&(this.type===_._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(_.comma))break}return t},H.parseVarId=function(t,e){"const"!==e&&"let"!==e||!this.isContextual("let")||this.raiseRecoverable(this.start,"let is disallowed as a lexically bound name"),t.id=this.parseBindingAtom(),this.checkLVal(t.id,"var"===e?1:2,!1)};var Y=1,$=2;H.parseFunction=function(t,e,r,n){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===_.star&&e&$&&this.unexpected(),t.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(t.async=!!n),e&Y&&(t.id=4&e&&this.type!==_.name?null:this.parseIdent(),!t.id||e&$||this.checkLVal(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(B(t.async,t.generator)),e&Y||(t.id=this.type===_.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,r,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(t,e&Y?"FunctionDeclaration":"FunctionExpression")},H.parseFunctionParams=function(t){this.expect(_.parenL),t.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},H.parseClass=function(t,e){this.next();var r=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var n=this.startNode(),i=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var s=this.parseClassElement(null!==t.superClass);s&&(n.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(i&&this.raise(s.start,"Duplicate constructor in the same class"),i=!0))}return t.body=this.finishNode(n,"ClassBody"),this.strict=r,this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},H.parseClassElement=function(t){var e=this;if(this.eat(_.semi))return null;var r=this.startNode(),n=function(t,n){void 0===n&&(n=!1);var i=e.start,s=e.startLoc;return!(!e.eatContextual(t)||(e.type===_.parenL||n&&e.canInsertSemicolon())&&(r.key&&e.unexpected(),r.computed=!1,r.key=e.startNodeAt(i,s),r.key.name=t,e.finishNode(r.key,"Identifier"),1))};r.kind="method",r.static=n("static");var i=this.eat(_.star),s=!1;i||(this.options.ecmaVersion>=8&&n("async",!0)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,o=!1;return r.computed||r.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?r.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),i&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",o=t),this.parseClassMethod(r,i,s,o),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},H.parseClassMethod=function(t,e,r,n){return t.value=this.parseMethod(e,r,n),this.finishNode(t,"MethodDefinition")},H.parseClassId=function(t,e){this.type===_.name?(t.id=this.parseIdent(),e&&this.checkLVal(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},H.parseClassSuper=function(t){t.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},H.parseExport=function(t,e){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(_._default)){var r;if(this.checkExport(e,"default",this.lastTokStart),this.type===_._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),t.declaration=this.parseFunction(n,4|Y,!1,r)}else if(this.type===_._class){var i=this.startNode();t.declaration=this.parseClass(i,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var s=0,a=t.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local),this.checkLocalExport(o.local)}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},H.checkExport=function(t,e,r){t&&(I(t,e)&&this.raiseRecoverable(r,"Duplicate export '"+e+"'"),t[e]=!0)},H.checkPatternExport=function(t,e){var r=e.type;if("Identifier"===r)this.checkExport(t,e.name,e.start);else if("ObjectPattern"===r)for(var n=0,i=e.properties;n<i.length;n+=1)this.checkPatternExport(t,i[n]);else if("ArrayPattern"===r)for(var s=0,a=e.elements;s<a.length;s+=1){var o=a[s];o&&this.checkPatternExport(t,o)}else"Property"===r?this.checkPatternExport(t,e.value):"AssignmentPattern"===r?this.checkPatternExport(t,e.left):"RestElement"===r?this.checkPatternExport(t,e.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(t,e.expression)},H.checkVariableExport=function(t,e){if(t)for(var r=0,n=e;r<n.length;r+=1)this.checkPatternExport(t,n[r].id)},H.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},H.parseExportSpecifiers=function(t){var e=[],r=!0;for(this.expect(_.braceL);!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var n=this.startNode();n.local=this.parseIdent(!0),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,this.checkExport(t,n.exported.name,n.exported.start),e.push(this.finishNode(n,"ExportSpecifier"))}return e},H.parseImport=function(t){return this.next(),this.type===_.string?(t.specifiers=G,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===_.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},H.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===_.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,2),t.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(_.comma))return t}if(this.type===_.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLVal(n.local,2),t.push(this.finishNode(n,"ImportNamespaceSpecifier")),t}for(this.expect(_.braceL);!this.eat(_.braceR);){if(e)e=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLVal(i.local,2),t.push(this.finishNode(i,"ImportSpecifier"))}return t},H.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},H.isDirectiveCandidate=function(t){return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var J=M.prototype;J.toAssignable=function(t,e,r){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=t.properties;n<i.length;n+=1){var s=i[n];this.toAssignable(s,e),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,r);break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return t},J.toAssignableList=function(t,e){for(var r=t.length,n=0;n<r;n++){var i=t[n];i&&this.toAssignable(i,e)}if(r){var s=t[r-1];6===this.options.ecmaVersion&&e&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return t},J.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},J.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==_.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},J.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case _.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(_.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case _.braceL:return this.parseObj(!0)}return this.parseIdent()},J.parseBindingList=function(t,e,r){for(var n=[],i=!0;!this.eat(t);)if(i?i=!1:this.expect(_.comma),e&&this.type===_.comma)n.push(null);else{if(r&&this.afterTrailingComma(t))break;if(this.type===_.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),n.push(s),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a),n.push(a)}return n},J.parseBindingListItem=function(t){return t},J.parseMaybeDefault=function(t,e,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(_.eq))return r;var n=this.startNodeAt(t,e);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},J.checkLVal=function(t,e,r){switch(void 0===e&&(e=0),t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(e?"Binding ":"Assigning to ")+t.name+" in strict mode"),r&&(I(r,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),r[t.name]=!0),0!==e&&5!==e&&this.declareName(t.name,e,t.start);break;case"MemberExpression":e&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ObjectPattern":for(var n=0,i=t.properties;n<i.length;n+=1)this.checkLVal(i[n],e,r);break;case"Property":this.checkLVal(t.value,e,r);break;case"ArrayPattern":for(var s=0,a=t.elements;s<a.length;s+=1){var o=a[s];o&&this.checkLVal(o,e,r)}break;case"AssignmentPattern":this.checkLVal(t.left,e,r);break;case"RestElement":this.checkLVal(t.argument,e,r);break;case"ParenthesizedExpression":this.checkLVal(t.expression,e,r);break;default:this.raise(t.start,(e?"Binding":"Assigning to")+" rvalue")}};var K=M.prototype;K.checkPropClash=function(t,e,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===t.type||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var n,i=t.key;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var s=t.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===s&&(e.proto&&(r&&r.doubleProto<0?r.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),e.proto=!0);else{var a=e[n="$"+n];a?("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(i.start,"Redefinition of property"):a=e[n]={init:!1,get:!1,set:!1},a[s]=!0}}},K.parseExpression=function(t,e){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(t,e);if(this.type===_.comma){var s=this.startNodeAt(r,n);for(s.expressions=[i];this.eat(_.comma);)s.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(s,"SequenceExpression")}return i},K.parseMaybeAssign=function(t,e,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var n=!1,i=-1,s=-1,a=-1;e?(i=e.parenthesizedAssign,s=e.trailingComma,a=e.shorthandAssign,e.parenthesizedAssign=e.trailingComma=e.shorthandAssign=-1):(e=new q,n=!0);var o=this.start,c=this.startLoc;this.type!==_.parenL&&this.type!==_.name||(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(t,e);if(r&&(h=r.call(this,h,o,c)),this.type.isAssign){var p=this.startNodeAt(o,c);return p.operator=this.value,p.left=this.type===_.eq?this.toAssignable(h,!1,e):h,n||q.call(e),e.shorthandAssign=-1,this.checkLVal(h),this.next(),p.right=this.parseMaybeAssign(t),this.finishNode(p,"AssignmentExpression")}return n&&this.checkExpressionErrors(e,!0),i>-1&&(e.parenthesizedAssign=i),s>-1&&(e.trailingComma=s),a>-1&&(e.shorthandAssign=a),h},K.parseMaybeConditional=function(t,e){var r=this.start,n=this.startLoc,i=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return i;if(this.eat(_.question)){var s=this.startNodeAt(r,n);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(_.colon),s.alternate=this.parseMaybeAssign(t),this.finishNode(s,"ConditionalExpression")}return i},K.parseExprOps=function(t,e){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(e,!1);return this.checkExpressionErrors(e)||i.start===r&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,r,n,-1,t)},K.parseExprOp=function(t,e,r,n,i){var s=this.type.binop;if(null!=s&&(!i||this.type!==_._in)&&s>n){var a=this.type===_.logicalOR||this.type===_.logicalAND,o=this.value;this.next();var c=this.start,h=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1),c,h,s,i),l=this.buildBinary(e,r,t,p,o,a);return this.parseExprOp(l,e,r,n,i)}return t},K.buildBinary=function(t,e,r,n,i,s){var a=this.startNodeAt(t,e);return a.left=r,a.operator=i,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(t,e){var r,n=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))r=this.parseAwait(),e=!0;else if(this.type.prefix){var s=this.startNode(),a=this.type===_.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),a?this.checkLVal(s.argument):this.strict&&"delete"===s.operator&&"Identifier"===s.argument.type?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):e=!0,r=this.finishNode(s,a?"UpdateExpression":"UnaryExpression")}else{if(r=this.parseExprSubscripts(t),this.checkExpressionErrors(t))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(n,i);o.operator=this.value,o.prefix=!1,o.argument=r,this.checkLVal(r),this.next(),r=this.finishNode(o,"UpdateExpression")}}return!e&&this.eat(_.starstar)?this.buildBinary(n,i,r,this.parseMaybeUnary(null,!1),"**",!1):r},K.parseExprSubscripts=function(t){var e=this.start,r=this.startLoc,n=this.parseExprAtom(t),i="ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(t)||i)return n;var s=this.parseSubscripts(n,e,r);return t&&"MemberExpression"===s.type&&(t.parenthesizedAssign>=s.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=s.start&&(t.parenthesizedBind=-1)),s},K.parseSubscripts=function(t,e,r,n){for(var i=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(t.start,t.end);;){var s=this.parseSubscript(t,e,r,n,i);if(s===t||"ArrowFunctionExpression"===s.type)return s;t=s}},K.parseSubscript=function(t,e,r,n,i){var s=this.eat(_.bracketL);if(s||this.eat(_.dot)){var a=this.startNodeAt(e,r);a.object=t,a.property=s?this.parseExpression():this.parseIdent(!0),a.computed=!!s,s&&this.expect(_.bracketR),t=this.finishNode(a,"MemberExpression")}else if(!n&&this.eat(_.parenL)){var o=new q,c=this.yieldPos,h=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var l=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,o);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(o,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=c,this.awaitPos=h,this.awaitIdentPos=p,this.parseArrowExpression(this.startNodeAt(e,r),l,!0);this.checkExpressionErrors(o,!0),this.yieldPos=c||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=p||this.awaitIdentPos;var u=this.startNodeAt(e,r);u.callee=t,u.arguments=l,t=this.finishNode(u,"CallExpression")}else if(this.type===_.backQuote){var d=this.startNodeAt(e,r);d.tag=t,d.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(d,"TaggedTemplateExpression")}return t},K.parseExprAtom=function(t){this.type===_.slash&&this.readRegexp();var e,r=this.potentialArrowAt===this.start;switch(this.type){case _._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),e=this.startNode(),this.next(),this.type!==_.parenL||this.allowDirectSuper||this.raise(e.start,"super() call outside constructor of a subclass"),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(e,"Super");case _._this:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case _.name:var n=this.start,i=this.startLoc,s=this.containsEsc,a=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(n,i),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(n,i),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===_.name&&!s)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,i),[a],!0)}return a;case _.regexp:var o=this.value;return(e=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},e;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(e=this.startNode()).value=this.type===_._null?null:this.type===_._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case _.parenL:var c=this.start,h=this.parseParenAndDistinguishExpression(r);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(t.parenthesizedAssign=c),t.parenthesizedBind<0&&(t.parenthesizedBind=c)),h;case _.bracketL:return e=this.startNode(),this.next(),e.elements=this.parseExprList(_.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression");case _.braceL:return this.parseObj(!1,t);case _._function:return e=this.startNode(),this.next(),this.parseFunction(e,0);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(e,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var t=this.parseExpression();return this.expect(_.parenR),t},K.parseParenAndDistinguishExpression=function(t){var e,r=this.start,n=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,c=[],h=!0,p=!1,l=new q,u=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(h?h=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){p=!0;break}if(this.type===_.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(_.parenR),t&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=d,this.parseParenArrowList(r,n,c);c.length&&!p||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((e=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(e,"SequenceExpression",f,m)):e=c[0]}else e=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,n);return g.expression=e,this.finishNode(g,"ParenthesizedExpression")}return e},K.parseParenItem=function(t){return t},K.parseParenArrowList=function(t,e,r){return this.parseArrowExpression(this.startNodeAt(t,e),r)};var Q=[];K.parseNew=function(){var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){t.meta=e;var r=this.containsEsc;return t.property=this.parseIdent(!0),("target"!==t.property.name||r)&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(t.start,"new.target can only be used in functions"),this.finishNode(t,"MetaProperty")}var n=this.start,i=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(),n,i,!0),t.arguments=this.eat(_.parenL)?this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):Q,this.finishNode(t,"NewExpression")},K.parseTemplateElement=function(t){var e=t.isTagged,r=this.startNode();return this.type===_.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===_.backQuote,this.finishNode(r,"TemplateElement")},K.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:e});for(r.quasis=[n];!n.tail;)this.type===_.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(_.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(_.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(r,"TemplateLiteral")},K.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!k.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(t,e){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(_.braceR);){if(n)n=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var s=this.parseProperty(t,e);t||this.checkPropClash(s,i,e),r.properties.push(s)}return this.finishNode(r,t?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(t,e){var r,n,i,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return t?(a.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===_.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,e),this.type===_.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(t||e)&&(i=this.start,s=this.startLoc),t||(r=this.eat(_.star)));var o=this.containsEsc;return this.parsePropertyName(a),!t&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(a)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(a,e)):n=!1,this.parsePropertyValue(a,t,r,n,i,s,e,o),this.finishNode(a,"Property")},K.parsePropertyValue=function(t,e,r,n,i,s,a,o){(r||n)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===_.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(r,n)):e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===_.comma||this.type===_.braceR?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),t.kind="init",e?t.value=this.parseMaybeDefault(i,s,t.key):this.type===_.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(i,s,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1),t.value.params.length!==("get"===t.kind?0:1)?this.raiseRecoverable(t.value.start,"get"===t.kind?"getter should have no params":"setter should have exactly one param"):"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params"))},K.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(_.bracketR),t.key;t.computed=!1}return t.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},K.parseMethod=function(t,e,r){var n=this.startNode(),i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=t),this.options.ecmaVersion>=8&&(n.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|B(e,n.generator)|(r?128:0)),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(t,e,r){var n=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|B(r,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1),this.yieldPos=n,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(t,"ArrowFunctionExpression")},K.parseFunctionBody=function(t,e,r){var n=this.strict,i=!1;if(e&&this.type!==_.braceL)t.body=this.parseMaybeAssign(),t.expression=!0,this.checkParams(t,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);n&&!s||(i=this.strictDirective(this.end))&&s&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(t,!n&&!i&&!e&&!r&&this.isSimpleParamList(t.params)),t.body=this.parseBlock(!1),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=a}this.exitScope(),this.strict&&t.id&&this.checkLVal(t.id,5),this.strict=n},K.isSimpleParamList=function(t){for(var e=0,r=t;e<r.length;e+=1)if("Identifier"!==r[e].type)return!1;return!0},K.checkParams=function(t,e){for(var r={},n=0,i=t.params;n<i.length;n+=1)this.checkLVal(i[n],1,e?null:r)},K.parseExprList=function(t,e,r,n){for(var i=[],s=!0;!this.eat(t);){if(s)s=!1;else if(this.expect(_.comma),e&&this.afterTrailingComma(t))break;var a=void 0;r&&this.type===_.comma?a=null:this.type===_.ellipsis?(a=this.parseSpread(n),n&&this.type===_.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),i.push(a)}return i},K.checkUnreserved=function(t){var e=t.start,r=t.end,n=t.name;this.inGenerator&&"yield"===n&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(n)&&this.raise(e,"Unexpected keyword '"+n+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(e,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+n+"' is reserved"))},K.parseIdent=function(t,e){var r=this.startNode();return t&&"never"===this.options.allowReserved&&(t=!1),this.type===_.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,"class"!==r.name&&"function"!==r.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(),this.finishNode(r,"Identifier"),t||(this.checkUnreserved(r),"await"!==r.name||this.awaitIdentPos||(this.awaitIdentPos=r.start)),r},K.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===_.semi||this.canInsertSemicolon()||this.type!==_.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(_.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},K.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0),this.finishNode(t,"AwaitExpression")};var Z=M.prototype;Z.raise=function(t,e){var r=D(this.input,t),n=new SyntaxError(e+=" ("+r.line+":"+r.column+")");throw n.pos=t,n.loc=r,n.raisedAt=this.pos,n},Z.raiseRecoverable=Z.raise,Z.curPosition=function(){if(this.options.locations)return new L(this.curLine,this.pos-this.lineStart)};var tt=M.prototype,et=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};tt.enterScope=function(t){this.scopeStack.push(new et(t))},tt.exitScope=function(){this.scopeStack.pop()},tt.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},tt.declareName=function(t,e,r){var n=!1;if(2===e){var i=this.currentScope();n=i.lexical.indexOf(t)>-1||i.functions.indexOf(t)>-1||i.var.indexOf(t)>-1,i.lexical.push(t),this.inModule&&1&i.flags&&delete this.undefinedExports[t]}else if(4===e)this.currentScope().lexical.push(t);else if(3===e){var s=this.currentScope();n=this.treatFunctionsAsVar?s.lexical.indexOf(t)>-1:s.lexical.indexOf(t)>-1||s.var.indexOf(t)>-1,s.functions.push(t)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(t)>-1&&!(32&o.flags&&o.lexical[0]===t)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(t)>-1){n=!0;break}if(o.var.push(t),this.inModule&&1&o.flags&&delete this.undefinedExports[t],3&o.flags)break}n&&this.raiseRecoverable(r,"Identifier '"+t+"' has already been declared")},tt.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},tt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},tt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(3&e.flags)return e}},tt.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(3&e.flags&&!(16&e.flags))return e}};var rt=function(t,e,r){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new R(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},nt=M.prototype;function it(t,e,r,n){return t.type=e,t.end=r,this.options.locations&&(t.loc.end=n),this.options.ranges&&(t.range[1]=r),t}nt.startNode=function(){return new rt(this,this.start,this.startLoc)},nt.startNodeAt=function(t,e){return new rt(this,t,e)},nt.finishNode=function(t,e){return it.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},nt.finishNodeAt=function(t,e,r,n){return it.call(this,t,e,r,n)};var st=function(t,e,r,n,i){this.token=t,this.isExpr=!!e,this.preserveSpace=!!r,this.override=n,this.generator=!!i},at={b_stat:new st("{",!1),b_expr:new st("{",!0),b_tmpl:new st("${",!1),p_stat:new st("(",!1),p_expr:new st("(",!0),q_tmpl:new st("`",!0,!0,(function(t){return t.tryReadTemplateToken()})),f_stat:new st("function",!1),f_expr:new st("function",!0),f_expr_gen:new st("function",!0,!1,null,!0),f_gen:new st("function",!1,!1,null,!0)},ot=M.prototype;ot.initialContext=function(){return[at.b_stat]},ot.braceIsBlock=function(t){var e=this.curContext();return e===at.f_expr||e===at.f_stat||(t!==_.colon||e!==at.b_stat&&e!==at.b_expr?t===_._return||t===_.name&&this.exprAllowed?k.test(this.input.slice(this.lastTokEnd,this.start)):t===_._else||t===_.semi||t===_.eof||t===_.parenR||t===_.arrow||(t===_.braceL?e===at.b_stat:t!==_._var&&t!==_._const&&t!==_.name&&!this.exprAllowed):!e.isExpr)},ot.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},ot.updateContext=function(t){var e,r=this.type;r.keyword&&t===_.dot?this.exprAllowed=!1:(e=r.updateContext)?e.call(this,t):this.exprAllowed=r.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===at.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?at.b_stat:at.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(at.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(t){this.context.push(t===_._if||t===_._for||t===_._with||t===_._while?at.p_stat:at.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(t){!t.beforeExpr||t===_.semi||t===_._else||t===_._return&&k.test(this.input.slice(this.lastTokEnd,this.start))||(t===_.colon||t===_.braceL)&&this.curContext()===at.b_stat?this.context.push(at.f_stat):this.context.push(at.f_expr),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===at.q_tmpl?this.context.pop():this.context.push(at.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(t){if(t===_._function){var e=this.context.length-1;this.context[e]=this.context[e]===at.f_expr?at.f_expr_gen:at.f_gen}this.exprAllowed=!0},_.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==_.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ht={9:ct,10:ct+" Extended_Pictographic"},pt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",lt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ut={9:lt,10:lt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd"},dt={};function ft(t){var e=dt[t]={binary:N(ht[t]+" "+pt),nonBinary:{General_Category:N(pt),Script:N(ut[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}ft(9),ft(10);var mt=M.prototype,gt=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=dt[t.options.ecmaVersion>=10?10:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function yt(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function vt(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}function bt(t){return t>=65&&t<=90||t>=97&&t<=122}function xt(t){return bt(t)||95===t}function wt(t){return xt(t)||_t(t)}function _t(t){return t>=48&&t<=57}function kt(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Et(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function St(t){return t>=48&&t<=55}gt.prototype.reset=function(t,e,r){var n=-1!==r.indexOf("u");this.start=0|t,this.source=e+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},gt.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},gt.prototype.at=function(t){var e=this.source,r=e.length;if(t>=r)return-1;var n=e.charCodeAt(t);return!this.switchU||n<=55295||n>=57344||t+1>=r?n:(n<<10)+e.charCodeAt(t+1)-56613888},gt.prototype.nextIndex=function(t){var e=this.source,r=e.length;if(t>=r)return r;var n=e.charCodeAt(t);return!this.switchU||n<=55295||n>=57344||t+1>=r?t+1:t+2},gt.prototype.current=function(){return this.at(this.pos)},gt.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},gt.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},gt.prototype.eat=function(t){return this.current()===t&&(this.advance(),!0)},mt.validateRegExpFlags=function(t){for(var e=t.validFlags,r=t.flags,n=0;n<r.length;n++){var i=r.charAt(n);-1===e.indexOf(i)&&this.raise(t.start,"Invalid regular expression flag"),r.indexOf(i,n+1)>-1&&this.raise(t.start,"Duplicate regular expression flag")}},mt.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))},mt.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames.length=0,t.backReferenceNames.length=0,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,r=t.backReferenceNames;e<r.length;e+=1)-1===t.groupNames.indexOf(r[e])&&t.raise("Invalid named capture referenced")},mt.regexp_disjunction=function(t){for(this.regexp_alternative(t);t.eat(124);)this.regexp_alternative(t);this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},mt.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},mt.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):!(t.switchU?!this.regexp_eatAtom(t):!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},mt.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!r,!0}return t.pos=e,!1},mt.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},mt.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},mt.regexp_eatBracedQuantifier=function(t,e){var r=t.pos;if(t.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(t)&&(n=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(i=t.lastIntValue),t.eat(125)))return-1!==i&&i<n&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=r}return!1},mt.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},mt.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},mt.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)&&t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}t.pos=e}return!1},mt.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},mt.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},mt.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},mt.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!vt(e)&&(t.lastIntValue=e,t.advance(),!0)},mt.regexp_eatPatternCharacters=function(t){for(var e=t.pos,r=0;-1!==(r=t.current())&&!vt(r);)t.advance();return t.pos!==e},mt.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return!(-1===e||36===e||e>=40&&e<=43||46===e||63===e||91===e||94===e||124===e||(t.advance(),0))},mt.regexp_groupSpecifier=function(t){if(t.eat(63)){if(this.regexp_eatGroupName(t))return-1!==t.groupNames.indexOf(t.lastStringValue)&&t.raise("Duplicate capture group name"),void t.groupNames.push(t.lastStringValue);t.raise("Invalid group")}},mt.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},mt.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=yt(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=yt(t.lastIntValue);return!0}return!1},mt.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,r=t.current();return t.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(r=t.lastIntValue),function(t){return f(t,!0)||36===t||95===t}(r)?(t.lastIntValue=r,!0):(t.pos=e,!1)},mt.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,r=t.current();return t.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(r=t.lastIntValue),function(t){return m(t,!0)||36===t||95===t||8204===t||8205===t}(r)?(t.lastIntValue=r,!0):(t.pos=e,!1)},mt.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},mt.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var r=t.lastIntValue;if(t.switchU)return r>t.maxBackReference&&(t.maxBackReference=r),!0;if(r<=t.numCapturingParens)return!0;t.pos=e}return!1},mt.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},mt.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},mt.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},mt.regexp_eatZero=function(t){return 48===t.current()&&!_t(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},mt.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},mt.regexp_eatControlLetter=function(t){var e=t.current();return!!bt(e)&&(t.lastIntValue=e%32,t.advance(),!0)},mt.regexp_eatRegExpUnicodeEscapeSequence=function(t){var e,r=t.pos;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(t.switchU&&n>=55296&&n<=56319){var i=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var s=t.lastIntValue;if(s>=56320&&s<=57343)return t.lastIntValue=1024*(n-55296)+(s-56320)+65536,!0}t.pos=i,t.lastIntValue=n}return!0}if(t.switchU&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&(e=t.lastIntValue)>=0&&e<=1114111)return!0;t.switchU&&t.raise("Invalid unicode escape"),t.pos=r}return!1},mt.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return!(99===e||t.switchN&&107===e||(t.lastIntValue=e,t.advance(),0))},mt.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do{t.lastIntValue=10*t.lastIntValue+(e-48),t.advance()}while((e=t.current())>=48&&e<=57);return!0}return!1},mt.regexp_eatCharacterClassEscape=function(t){var e=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(e))return t.lastIntValue=-1,t.advance(),!0;if(t.switchU&&this.options.ecmaVersion>=9&&(80===e||112===e)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(t)&&t.eat(125))return!0;t.raise("Invalid property name")}return!1},mt.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var r=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t))return this.regexp_validateUnicodePropertyNameAndValue(t,r,t.lastStringValue),!0}return t.pos=e,!!this.regexp_eatLoneUnicodePropertyNameOrValue(t)&&(this.regexp_validateUnicodePropertyNameOrValue(t,t.lastStringValue),!0)},mt.regexp_validateUnicodePropertyNameAndValue=function(t,e,r){I(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(r)||t.raise("Invalid property value")},mt.regexp_validateUnicodePropertyNameOrValue=function(t,e){t.unicodeProperties.binary.test(e)||t.raise("Invalid property name")},mt.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";xt(e=t.current());)t.lastStringValue+=yt(e),t.advance();return""!==t.lastStringValue},mt.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";wt(e=t.current());)t.lastStringValue+=yt(e),t.advance();return""!==t.lastStringValue},mt.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},mt.regexp_eatCharacterClass=function(t){if(t.eat(91)){if(t.eat(94),this.regexp_classRanges(t),t.eat(93))return!0;t.raise("Unterminated character class")}return!1},mt.regexp_classRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var r=t.lastIntValue;!t.switchU||-1!==e&&-1!==r||t.raise("Invalid character class"),-1!==e&&-1!==r&&e>r&&t.raise("Range out of order in character class")}}},mt.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var r=t.current();(99===r||St(r))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var n=t.current();return 93!==n&&(t.lastIntValue=n,t.advance(),!0)},mt.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},mt.regexp_eatClassControlLetter=function(t){var e=t.current();return!(!_t(e)&&95!==e||(t.lastIntValue=e%32,t.advance(),0))},mt.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},mt.regexp_eatDecimalDigits=function(t){var e=t.pos,r=0;for(t.lastIntValue=0;_t(r=t.current());)t.lastIntValue=10*t.lastIntValue+(r-48),t.advance();return t.pos!==e},mt.regexp_eatHexDigits=function(t){var e=t.pos,r=0;for(t.lastIntValue=0;kt(r=t.current());)t.lastIntValue=16*t.lastIntValue+Et(r),t.advance();return t.pos!==e},mt.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var r=t.lastIntValue;t.lastIntValue=e<=3&&this.regexp_eatOctalDigit(t)?64*e+8*r+t.lastIntValue:8*e+r}else t.lastIntValue=e;return!0}return!1},mt.regexp_eatOctalDigit=function(t){var e=t.current();return St(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},mt.regexp_eatFixedHexDigits=function(t,e){var r=t.pos;t.lastIntValue=0;for(var n=0;n<e;++n){var i=t.current();if(!kt(i))return t.pos=r,!1;t.lastIntValue=16*t.lastIntValue+Et(i),t.advance()}return!0};var Ct=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new R(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},At=M.prototype;function Ot(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}At.next=function(){this.options.onToken&&this.options.onToken(new Ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},At.getToken=function(){return this.next(),new Ct(this)},"undefined"!=typeof Symbol&&(At[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===_.eof,value:e}}}}),At.curContext=function(){return this.context[this.context.length-1]},At.nextToken=function(){var t=this.curContext();return t&&t.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},At.readToken=function(t){return f(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},At.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);return t<=55295||t>=57344?t:(t<<10)+this.input.charCodeAt(this.pos+1)-56613888},At.skipBlockComment=function(){var t,e=this.options.onComment&&this.curPosition(),r=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(E.lastIndex=r;(t=E.exec(this.input))&&t.index<this.pos;)++this.curLine,this.lineStart=t.index+t[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(r+2,n),r,this.pos,e,this.curPosition())},At.skipLineComment=function(t){for(var e=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!S(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,r,this.curPosition())},At.skipSpace=function(){t:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(!(t>8&&t<14||t>=5760&&C.test(String.fromCharCode(t))))break t;++this.pos}}},At.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=t,this.value=e,this.updateContext(r)},At.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},At.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},At.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),r=1,n=42===t?_.star:_.modulo;return this.options.ecmaVersion>=7&&42===t&&42===e&&(++r,n=_.starstar,e=this.input.charCodeAt(this.pos+2)),61===e?this.finishOp(_.assign,r+1):this.finishOp(n,r)},At.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.finishOp(124===t?_.logicalOR:_.logicalAND,2):61===e?this.finishOp(_.assign,2):this.finishOp(124===t?_.bitwiseOR:_.bitwiseAND,1)},At.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},At.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45!==e||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!k.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===e?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},At.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),r=1;return e===t?(r=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(_.assign,r+1):this.finishOp(_.bitShift,r)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(r=2),this.finishOp(_.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},At.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===t?_.eq:_.prefix,1)},At.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ot(t)+"'")},At.finishOp=function(t,e){var r=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,r)},At.readRegexp=function(){for(var t,e,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(k.test(n)&&this.raise(r,"Unterminated regular expression"),t)t=!1;else{if("["===n)e=!0;else if("]"===n&&e)e=!1;else if("/"===n&&!e)break;t="\\"===n}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new gt(this));o.reset(r,i,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(i,a)}catch(t){}return this.finishToken(_.regexp,{pattern:i,flags:a,value:c})},At.readInt=function(t,e){for(var r=this.pos,n=0,i=0,s=null==e?1/0:e;i<s;++i){var a,o=this.input.charCodeAt(this.pos);if((a=o>=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=t)break;++this.pos,n=n*t+a}return this.pos===r||null!=e&&this.pos-r!==e?null:n},At.readRadixNumber=function(t){this.pos+=2;var e=this.readInt(t);return null==e&&this.raise(this.start+2,"Expected number in radix "+t),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,e)},At.readNumber=function(t){var e=this.pos;t||null!==this.readInt(10)||this.raise(e,"Invalid number");var r=this.pos-e>=2&&48===this.input.charCodeAt(e);r&&this.strict&&this.raise(e,"Invalid number"),r&&/[89]/.test(this.input.slice(e,this.pos))&&(r=!1);var n=this.input.charCodeAt(this.pos);46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(e,this.pos),s=r?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,s)},At.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},At.readString=function(t){for(var e="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===t)break;92===n?(e+=this.input.slice(r,this.pos),e+=this.readEscapedChar(!1),r=this.pos):(S(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(r,this.pos++),this.finishToken(_.string,e)};var Pt={};At.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n!==Pt)throw n;this.readInvalidTemplateToken()}this.inTemplateElement=!1},At.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Pt;this.raise(t,e)},At.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(t+=this.input.slice(e,this.pos),this.finishToken(_.template,t)):36===r?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===r)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(S(r)){switch(t+=this.input.slice(e,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},At.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(_.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},At.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ot(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(e>=48&&e<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);return n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.pos+=r.length-1,e=this.input.charCodeAt(this.pos),"0"===r&&56!==e&&57!==e||!this.strict&&!t||this.invalidStringToken(this.pos-1-r.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return S(e)?"":String.fromCharCode(e)}},At.readHexChar=function(t){var e=this.pos,r=this.readInt(16,t);return null===r&&this.invalidStringToken(e,"Bad character escape sequence"),r},At.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(m(i,n))this.pos+=i<=65535?1:2;else{if(92!==i)break;this.containsEsc=!0,t+=this.input.slice(r,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(e?f:m)(a,n)||this.invalidStringToken(s,"Invalid Unicode escape"),t+=Ot(a),r=this.pos}e=!1}return t+this.input.slice(r,this.pos)},At.readWord=function(){var t=this.readWord1(),e=_.name;return this.keywords.test(t)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+t),e=x[t]),this.finishToken(e,t)};var jt={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},It={version:"6.1.1",parse:function(t,e){return M.parse(t,e)},parseExpressionAt:function(t,e,r){return M.parseExpressionAt(t,e,r)},tokenizer:function(t,e){return M.tokenizer(t,e)},Parser:M,defaultOptions:V,Position:L,SourceLocation:R,getLineInfo:D,Node:rt,TokenType:g,tokTypes:_,keywordTypes:x,TokContext:st,tokContexts:at,isIdentifierChar:m,isIdentifierStart:f,Token:Ct,isNewLine:S,lineBreak:k,lineBreakG:E,nonASCIIwhitespace:C};const Tt=/^[\da-fA-F]+$/,Nt=/^\d+$/,Lt=It.tokTypes,Rt=It.TokContext,Dt=It.tokContexts,Vt=It.TokenType,Bt=It.isNewLine,Mt=It.isIdentifierStart,Ft=It.isIdentifierChar,Ut=new Rt("<tag",!1),zt=new Rt("</tag",!1),qt=new Rt("<tag>...</tag>",!0,!0),Ht={jsxName:new Vt("jsxName"),jsxText:new Vt("jsxText",{beforeExpr:!0}),jsxTagStart:new Vt("jsxTagStart"),jsxTagEnd:new Vt("jsxTagEnd")};function Wt(t){return t?"JSXIdentifier"===t.type?t.name:"JSXNamespacedName"===t.type?t.namespace.name+":"+t.name.name:"JSXMemberExpression"===t.type?Wt(t.object)+"."+Wt(t.property):void 0:t}Ht.jsxTagStart.updateContext=function(){this.context.push(qt),this.context.push(Ut),this.exprAllowed=!1},Ht.jsxTagEnd.updateContext=function(t){let e=this.context.pop();e===Ut&&t===Lt.slash||e===zt?(this.context.pop(),this.exprAllowed=this.curContext()===qt):this.exprAllowed=!0};var Xt=function(t){return t=t||{},function(e){return function(t,e){return class extends e{jsx_readToken(){let t="",e=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let r=this.input.charCodeAt(this.pos);switch(r){case 60:case 123:return this.pos===this.start?60===r&&this.exprAllowed?(++this.pos,this.finishToken(Ht.jsxTagStart)):this.getTokenFromCode(r):(t+=this.input.slice(e,this.pos),this.finishToken(Ht.jsxText,t));case 38:t+=this.input.slice(e,this.pos),t+=this.jsx_readEntity(),e=this.pos;break;default:Bt(r)?(t+=this.input.slice(e,this.pos),t+=this.jsx_readNewLine(!0),e=this.pos):++this.pos}}}jsx_readNewLine(t){let e,r=this.input.charCodeAt(this.pos);return++this.pos,13===r&&10===this.input.charCodeAt(this.pos)?(++this.pos,e=t?"\n":"\r\n"):e=String.fromCharCode(r),this.options.locations&&(++this.curLine,this.lineStart=this.pos),e}jsx_readString(t){let e="",r=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let n=this.input.charCodeAt(this.pos);if(n===t)break;38===n?(e+=this.input.slice(r,this.pos),e+=this.jsx_readEntity(),r=this.pos):Bt(n)?(e+=this.input.slice(r,this.pos),e+=this.jsx_readNewLine(!1),r=this.pos):++this.pos}return e+=this.input.slice(r,this.pos++),this.finishToken(Lt.string,e)}jsx_readEntity(){let t,e="",r=0,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");let i=++this.pos;for(;this.pos<this.input.length&&r++<10;){if(";"===(n=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),Tt.test(e)&&(t=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),Nt.test(e)&&(t=String.fromCharCode(parseInt(e,10)))):t=jt[e];break}e+=n}return t||(this.pos=i,"&")}jsx_readWord(){let t,e=this.pos;do{t=this.input.charCodeAt(++this.pos)}while(Ft(t)||45===t);return this.finishToken(Ht.jsxName,this.input.slice(e,this.pos))}jsx_parseIdentifier(){let t=this.startNode();return this.type===Ht.jsxName?t.name=this.value:this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsx_parseNamespacedName(){let e=this.start,r=this.startLoc,n=this.jsx_parseIdentifier();if(!t.allowNamespaces||!this.eat(Lt.colon))return n;var i=this.startNodeAt(e,r);return i.namespace=n,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===Ht.jsxTagEnd)return"";let e=this.start,r=this.startLoc,n=this.jsx_parseNamespacedName();for(this.type!==Lt.dot||"JSXNamespacedName"!==n.type||t.allowNamespacedObjects||this.unexpected();this.eat(Lt.dot);){let t=this.startNodeAt(e,r);t.object=n,t.property=this.jsx_parseIdentifier(),n=this.finishNode(t,"JSXMemberExpression")}return n}jsx_parseAttributeValue(){switch(this.type){case Lt.braceL:let t=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===t.expression.type&&this.raise(t.start,"JSX attributes must only be assigned a non-empty expression"),t;case Ht.jsxTagStart:case Lt.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let t=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let t=this.startNode();return this.next(),t.expression=this.type===Lt.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(Lt.braceR),this.finishNode(t,"JSXExpressionContainer")}jsx_parseAttribute(){let t=this.startNode();return this.eat(Lt.braceL)?(this.expect(Lt.ellipsis),t.argument=this.parseMaybeAssign(),this.expect(Lt.braceR),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsx_parseNamespacedName(),t.value=this.eat(Lt.eq)?this.jsx_parseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsx_parseOpeningElementAt(t,e){let r=this.startNodeAt(t,e);r.attributes=[];let n=this.jsx_parseElementName();for(n&&(r.name=n);this.type!==Lt.slash&&this.type!==Ht.jsxTagEnd;)r.attributes.push(this.jsx_parseAttribute());return r.selfClosing=this.eat(Lt.slash),this.expect(Ht.jsxTagEnd),this.finishNode(r,n?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(t,e){let r=this.startNodeAt(t,e),n=this.jsx_parseElementName();return n&&(r.name=n),this.expect(Ht.jsxTagEnd),this.finishNode(r,n?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(t,e){let r=this.startNodeAt(t,e),n=[],i=this.jsx_parseOpeningElementAt(t,e),s=null;if(!i.selfClosing){t:for(;;)switch(this.type){case Ht.jsxTagStart:if(t=this.start,e=this.startLoc,this.next(),this.eat(Lt.slash)){s=this.jsx_parseClosingElementAt(t,e);break t}n.push(this.jsx_parseElementAt(t,e));break;case Ht.jsxText:n.push(this.parseExprAtom());break;case Lt.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Wt(s.name)!==Wt(i.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+Wt(i.name)+">")}let a=i.name?"Element":"Fragment";return r["opening"+a]=i,r["closing"+a]=s,r.children=n,this.type===Lt.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSX"+a)}jsx_parseText(t){let e=this.parseLiteral(t);return e.type="JSXText",e}jsx_parseElement(){let t=this.start,e=this.startLoc;return this.next(),this.jsx_parseElementAt(t,e)}parseExprAtom(t){return this.type===Ht.jsxText?this.jsx_parseText(this.value):this.type===Ht.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(t)}readToken(t){let e=this.curContext();if(e===qt)return this.jsx_readToken();if(e===Ut||e===zt){if(Mt(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(Ht.jsxTagEnd);if((34===t||39===t)&&e==Ut)return this.jsx_readString(t)}return 60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(Ht.jsxTagStart)):super.readToken(t)}updateContext(t){if(this.type==Lt.braceL){var e=this.curContext();e==Ut?this.context.push(Dt.b_expr):e==qt?this.context.push(Dt.b_tmpl):super.updateContext(t),this.exprAllowed=!0}else{if(this.type!==Lt.slash||t!==Ht.jsxTagStart)return super.updateContext(t);this.context.length-=2,this.context.push(zt),this.exprAllowed=!1}}}}({allowNamespaces:!1!==t.allowNamespaces,allowNamespacedObjects:!!t.allowNamespacedObjects},e)}};Xt.tokTypes=Ht;var Gt,Yt,$t=(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicImportKey=void 0;var r=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),n=function t(e,r,n){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,r);if(void 0===i){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,r,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0};e.default=function(t){return function(e){function s(){return function(t,e){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}(this),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,t),r(s,[{key:"parseStatement",value:function(t,e,r){return this.type===It.tokTypes._import&&function(){return/^(\s|\/\/.*|\/\*[^]*?\*\/)*\(/.test(this.input.slice(this.pos))}.call(this)?this.parseExpressionStatement(this.startNode(),this.parseExpression()):n(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"parseStatement",this).call(this,t,e,r)}},{key:"parseExprAtom",value:function(t){return this.type===It.tokTypes._import?function(){var t=this.startNode();return this.next(),this.type!==It.tokTypes.parenL&&this.unexpected(),this.finishNode(t,i)}.call(this):n(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"parseExprAtom",this).call(this,t)}}]),s}()};var i=e.DynamicImportKey="Import";It.tokTypes._import.startsExpr=!0}(Gt={exports:{}},Gt.exports),(Yt=Gt.exports)&&Yt.__esModule&&Object.prototype.hasOwnProperty.call(Yt,"default")?Yt.default:Yt);const Jt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Kt=It.tokTypes;function Qt(t){if(this.eat(Kt.eq)){const e=this._inFieldValue;this._inFieldValue=!0,t.value=this.parseExpression(),this._inFieldValue=e}else t.value=null}function Zt(){const t=this.startNode();return t.name=this.value,this.next(),this.finishNode(t,"PrivateName"),"never"==this.options.allowReserved&&this.checkUnreserved(t),t}const te=new(0,It.TokenType)("privateName");function ee(t){var e="";t=t<0?-t<<1|1:t<<1;do{var r=31&t;(t>>=5)>0&&(r|=32),e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[r]}while(t>0);return e}var re=function(t,e,r){this.start=t,this.end=e,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};re.prototype.appendLeft=function(t){this.outro+=t},re.prototype.appendRight=function(t){this.intro=this.intro+t},re.prototype.clone=function(){var t=new re(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t},re.prototype.contains=function(t){return this.start<t&&t<this.end},re.prototype.eachNext=function(t){for(var e=this;e;)t(e),e=e.next},re.prototype.eachPrevious=function(t){for(var e=this;e;)t(e),e=e.previous},re.prototype.edit=function(t,e,r){return this.content=t,r||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this},re.prototype.prependLeft=function(t){this.outro=t+this.outro},re.prototype.prependRight=function(t){this.intro=t+this.intro},re.prototype.split=function(t){var e=t-this.start,r=this.original.slice(0,e),n=this.original.slice(e);this.original=r;var i=new re(t,this.end,n);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i},re.prototype.toString=function(){return this.intro+this.content+this.outro},re.prototype.trimEnd=function(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var e=this.content.replace(t,"");return e.length?(e!==this.content&&this.split(this.start+e.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),!!this.intro.length||void 0)},re.prototype.trimStart=function(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var e=this.content.replace(t,"");return e.length?(e!==this.content&&(this.split(this.end-e.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),!!this.outro.length||void 0)};var ne=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};"undefined"!=typeof window&&"function"==typeof window.btoa?ne=function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"function"==typeof t&&(ne=function(e){return t.from(e,"utf-8").toString("base64")});var ie=function(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=function(t){for(var e=0,r=0,n=0,i=0,s="",a=0;a<t.length;a++){var o=t[a];if(a>0&&(s+=";"),0!==o.length){for(var c=0,h=[],p=0,l=o;p<l.length;p++){var u=l[p],d=ee(u[0]-c);c=u[0],u.length>1&&(d+=ee(u[1]-e)+ee(u[2]-r)+ee(u[3]-n),e=u[1],r=u[2],n=u[3]),5===u.length&&(d+=ee(u[4]-i),i=u[4]),h.push(d)}s+=h.join(",")}}return s}(t.mappings)};function se(t){var e=t.split("\n"),r=e.filter((function(t){return/^\t+/.test(t)})),n=e.filter((function(t){return/^ {2,}/.test(t)}));if(0===r.length&&0===n.length)return null;if(r.length>=n.length)return"\t";var i=n.reduce((function(t,e){var r=/^ +/.exec(e)[0].length;return Math.min(r,t)}),1/0);return new Array(i+1).join(" ")}function ae(t,e){var r=t.split(/[\/\\]/),n=e.split(/[\/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length)for(var i=r.length;i--;)r[i]="..";return r.concat(n).join("/")}ie.prototype.toString=function(){return JSON.stringify(this)},ie.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+ne(this.toString())};var oe=Object.prototype.toString;function ce(t){for(var e=t.split("\n"),r=[],n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(t){for(var e=0,n=r.length;e<n;){var i=e+n>>1;t<r[i]?n=i:e=i+1}var s=e-1;return{line:s,column:t-r[s]}}}var he=function(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};he.prototype.addEdit=function(t,e,r,n){if(e.length){var i=[this.generatedCodeColumn,t,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i)}else this.pending&&this.rawSegments.push(this.pending);this.advance(e),this.pending=null},he.prototype.addUneditedChunk=function(t,e,r,n,i){for(var s=e.start,a=!0;s<e.end;)(this.hires||a||i[s])&&this.rawSegments.push([this.generatedCodeColumn,t,n.line,n.column]),"\n"===r[s]?(n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0):(n.column+=1,this.generatedCodeColumn+=1),s+=1,a=!1;this.pending=[this.generatedCodeColumn,t,n.line,n.column]},he.prototype.advance=function(t){if(t){var e=t.split("\n");if(e.length>1){for(var r=0;r<e.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}};var pe="\n",le={insertLeft:!1,insertRight:!1,storeName:!1},ue=function(t,e){void 0===e&&(e={});var r=new re(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},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:e.filename},indentExclusionRanges:{writable:!0,value:e.indentExclusionRanges},sourcemapLocations:{writable:!0,value:{}},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:se(t)}}),this.byStart[0]=r,this.byEnd[t.length]=r};function de(t){var e={};return Object.keys(t).forEach((function(r){"parent"!==r&&"program"!==r&&"keys"!==r&&"__wrapped"!==r&&(e[r]=Array.isArray(t[r])?t[r].map(de):t[r]&&t[r].toJSON?t[r].toJSON():t[r])})),e}ue.prototype.addSourcemapLocation=function(t){this.sourcemapLocations[t]=!0},ue.prototype.append=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.outro+=t,this},ue.prototype.appendLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var r=this.byEnd[t];return r?r.appendLeft(e):this.intro+=e,this},ue.prototype.appendRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var r=this.byStart[t];return r?r.appendRight(e):this.outro+=e,this},ue.prototype.clone=function(){for(var t=new ue(this.original,{filename:this.filename}),e=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=e.clone();e;){t.byStart[r.start]=r,t.byEnd[r.end]=r;var n=e.next,i=n&&n.clone();i&&(r.next=i,i.previous=r,r=i),e=n}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach((function(e){t.sourcemapLocations[e]=!0})),t},ue.prototype.generateDecodedMap=function(t){var e=this;t=t||{};var r=Object.keys(this.storedNames),n=new he(t.hires),i=ce(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext((function(t){var s=i(t.start);t.intro.length&&n.advance(t.intro),t.edited?n.addEdit(0,t.content,s,t.storeName?r.indexOf(t.original):-1):n.addUneditedChunk(0,t,e.original,s,e.sourcemapLocations),t.outro.length&&n.advance(t.outro)})),{file:t.file?t.file.split(/[\/\\]/).pop():null,sources:[t.source?ae(t.file||"",t.source):null],sourcesContent:t.includeContent?[this.original]:[null],names:r,mappings:n.raw}},ue.prototype.generateMap=function(t){return new ie(this.generateDecodedMap(t))},ue.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},ue.prototype.indent=function(t,e){var r=/^[^\r\n]/gm;if("[object Object]"===oe.call(t)&&(e=t,t=void 0),""===(t=void 0!==t?t:this.indentStr||"\t"))return this;var n={};(e=e||{}).exclude&&("number"==typeof e.exclude[0]?[e.exclude]:e.exclude).forEach((function(t){for(var e=t[0];e<t[1];e+=1)n[e]=!0}));var i=!1!==e.indentStart,s=function(e){return i?""+t+e:(i=!0,e)};this.intro=this.intro.replace(r,s);for(var a=0,o=this.firstChunk;o;){var c=o.end;if(o.edited)n[a]||(o.content=o.content.replace(r,s),o.content.length&&(i="\n"===o.content[o.content.length-1]));else for(a=o.start;a<c;){if(!n[a]){var h=this.original[a];"\n"===h?i=!0:"\r"!==h&&i&&(i=!1,a===o.start?o.prependRight(t):(this._splitChunk(o,a),(o=o.next).prependRight(t)))}a+=1}a=o.end,o=o.next}return this.outro=this.outro.replace(r,s),this},ue.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},ue.prototype.insertLeft=function(t,e){return le.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),le.insertLeft=!0),this.appendLeft(t,e)},ue.prototype.insertRight=function(t,e){return le.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),le.insertRight=!0),this.prependRight(t,e)},ue.prototype.move=function(t,e,r){if(r>=t&&r<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(r);var n=this.byStart[t],i=this.byEnd[e],s=n.previous,a=i.next,o=this.byStart[r];if(!o&&i===this.lastChunk)return this;var c=o?o.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=n),o&&(o.previous=i),n.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=c,i.next=o||null,c||(this.firstChunk=n),o||(this.lastChunk=i),this},ue.prototype.overwrite=function(t,e,r,n){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(e),!0===n&&(le.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),le.storeName=!0),n={storeName:!0});var i=void 0!==n&&n.storeName,s=void 0!==n&&n.contentOnly;if(i){var a=this.original.slice(t,e);this.storedNames[a]=!0}var o=this.byStart[t],c=this.byEnd[e];if(o){if(e>o.end&&o.next!==this.byStart[o.end])throw new Error("Cannot overwrite across a split point");if(o.edit(r,i,s),o!==c){for(var h=o.next;h!==c;)h.edit("",!1),h=h.next;h.edit("",!1)}}else{var p=new re(t,e,"").edit(r,i);c.next=p,p.previous=c}return this},ue.prototype.prepend=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this},ue.prototype.prependLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var r=this.byEnd[t];return r?r.prependLeft(e):this.intro=e+this.intro,this},ue.prototype.prependRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var r=this.byStart[t];return r?r.prependRight(e):this.outro=e+this.outro,this},ue.prototype.remove=function(t,e){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);for(var r=this.byStart[t];r;)r.intro="",r.outro="",r.edit(""),r=e>r.end?this.byStart[r.end]:null;return this},ue.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""},ue.prototype.lastLine=function(){var t=this.outro.lastIndexOf(pe);if(-1!==t)return this.outro.substr(t+1);var e=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(-1!==(t=r.outro.lastIndexOf(pe)))return r.outro.substr(t+1)+e;e=r.outro+e}if(r.content.length>0){if(-1!==(t=r.content.lastIndexOf(pe)))return r.content.substr(t+1)+e;e=r.content+e}if(r.intro.length>0){if(-1!==(t=r.intro.lastIndexOf(pe)))return r.intro.substr(t+1)+e;e=r.intro+e}}while(r=r.previous);return-1!==(t=this.intro.lastIndexOf(pe))?this.intro.substr(t+1)+e:this.intro+e},ue.prototype.slice=function(t,e){for(void 0===t&&(t=0),void 0===e&&(e=this.original.length);t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;for(var r="",n=this.firstChunk;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return r;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error("Cannot use replaced character "+t+" as slice start anchor.");for(var i=n;n;){!n.intro||i===n&&n.start!==t||(r+=n.intro);var s=n.start<e&&n.end>=e;if(s&&n.edited&&n.end!==e)throw new Error("Cannot use replaced character "+e+" as slice end anchor.");if(r+=n.content.slice(i===n?t-n.start:0,s?n.content.length+e-n.end:n.content.length),!n.outro||s&&n.end!==e||(r+=n.outro),s)break;n=n.next}return r},ue.prototype.snip=function(t,e){var r=this.clone();return r.remove(0,t),r.remove(e,r.original.length),r},ue.prototype._split=function(t){if(!this.byStart[t]&&!this.byEnd[t])for(var e=this.lastSearchedChunk,r=t>e.end;e;){if(e.contains(t))return this._splitChunk(e,t);e=r?this.byStart[e.end]:this.byEnd[e.start]}},ue.prototype._splitChunk=function(t,e){if(t.edited&&t.content.length){var r=ce(this.original)(e);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' \u2013 "'+t.original+'")')}var n=t.split(e);return this.byEnd[e]=t,this.byStart[e]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0},ue.prototype.toString=function(){for(var t=this.intro,e=this.firstChunk;e;)t+=e.toString(),e=e.next;return t+this.outro},ue.prototype.isEmpty=function(){var t=this.firstChunk;do{if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1}while(t=t.next);return!0},ue.prototype.length=function(){var t=this.firstChunk,e=0;do{e+=t.intro.length+t.content.length+t.outro.length}while(t=t.next);return e},ue.prototype.trimLines=function(){return this.trim("[\\r\\n]")},ue.prototype.trim=function(t){return this.trimStart(t).trimEnd(t)},ue.prototype.trimEndAborted=function(t){var e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var r=this.lastChunk;do{var n=r.end,i=r.trimEnd(e);if(r.end!==n&&(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),i)return!0;r=r.previous}while(r);return!1},ue.prototype.trimEnd=function(t){return this.trimEndAborted(t),this},ue.prototype.trimStartAborted=function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var r=this.firstChunk;do{var n=r.end,i=r.trimStart(e);if(r.end!==n&&(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),i)return!0;r=r.next}while(r);return!1},ue.prototype.trimStart=function(t){return this.trimStartAborted(t),this};var fe=function(){};function me(t){var e=[];return ge[t.type](e,t),e}fe.prototype.ancestor=function(t){for(var e=this;t--;)if(!(e=e.parent))return null;return e},fe.prototype.contains=function(t){for(;t;){if(t===this)return!0;t=t.parent}return!1},fe.prototype.findLexicalBoundary=function(){return this.parent.findLexicalBoundary()},fe.prototype.findNearest=function(t){return"string"==typeof t&&(t=new RegExp("^"+t+"$")),t.test(this.type)?this:this.parent.findNearest(t)},fe.prototype.unparenthesizedParent=function(){for(var t=this.parent;t&&"ParenthesizedExpression"===t.type;)t=t.parent;return t},fe.prototype.unparenthesize=function(){for(var t=this;"ParenthesizedExpression"===t.type;)t=t.expression;return t},fe.prototype.findScope=function(t){return this.parent.findScope(t)},fe.prototype.getIndentation=function(){return this.parent.getIndentation()},fe.prototype.initialise=function(t){for(var e=0,r=this.keys;e<r.length;e+=1){var n=this[r[e]];Array.isArray(n)?n.forEach((function(e){return e&&e.initialise(t)})):n&&"object"==typeof n&&n.initialise(t)}},fe.prototype.toJSON=function(){return de(this)},fe.prototype.toString=function(){return this.program.magicString.original.slice(this.start,this.end)},fe.prototype.transpile=function(t,e){for(var r=0,n=this.keys;r<n.length;r+=1){var i=this[n[r]];Array.isArray(i)?i.forEach((function(r){return r&&r.transpile(t,e)})):i&&"object"==typeof i&&i.transpile(t,e)}};var ge={Identifier:function(t,e){t.push(e)},ObjectPattern:function(t,e){for(var r=0,n=e.properties;r<n.length;r+=1){var i=n[r];ge[i.type](t,i)}},Property:function(t,e){ge[e.value.type](t,e.value)},ArrayPattern:function(t,e){for(var r=0,n=e.elements;r<n.length;r+=1){var i=n[r];i&&ge[i.type](t,i)}},RestElement:function(t,e){ge[e.argument.type](t,e.argument)},AssignmentPattern:function(t,e){ge[e.left.type](t,e.left)}},ye=Object.create(null);function ve(t){this.parent=(t=t||{}).parent,this.isBlockScope=!!t.block,this.createDeclarationCallback=t.declare;for(var e=this;e.isBlockScope;)e=e.parent;this.functionScope=e,this.identifiers=[],this.declarations=Object.create(null),this.references=Object.create(null),this.blockScopedDeclarations=this.isBlockScope?null:Object.create(null),this.aliases=Object.create(null)}function be(t,e){for(var r="";e--;)r+=t;return r}function xe(t,e,r){void 0===r&&(r=1);var n=Math.max(e.line-5,0),i=e.line,s=String(i).length,a=t.split("\n").slice(n,i),o=a[a.length-1].slice(0,e.column).replace(/\t/g," ").length;return a.map((function(t,e){return r=s,(i=String(e+n+1))+be(" ",r-i.length)+" : "+t.replace(/\t/g," ");var r,i})).join("\n")+"\n"+be(" ",s+3+o)+be("^",r)}"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach((function(t){return ye[t]=!0})),ve.prototype={addDeclaration:function(t,e){for(var r=0,n=me(t);r<n.length;r+=1){var i=n[r],s=i.name,a={name:s,node:i,kind:e,instances:[]};this.declarations[s]=a,this.isBlockScope&&(this.functionScope.blockScopedDeclarations[s]||(this.functionScope.blockScopedDeclarations[s]=[]),this.functionScope.blockScopedDeclarations[s].push(a))}},addReference:function(t){this.consolidated?this.consolidateReference(t):this.identifiers.push(t)},consolidate:function(){for(var t=0;t<this.identifiers.length;t+=1)this.consolidateReference(this.identifiers[t]);this.consolidated=!0},consolidateReference:function(t){var e=this.declarations[t.name];e?e.instances.push(t):(this.references[t.name]=!0,this.parent&&this.parent.addReference(t))},contains:function(t){return this.declarations[t]||!!this.parent&&this.parent.contains(t)},createIdentifier:function(t){"number"==typeof t&&(t=t.toString());for(var e=t=t.replace(/\s/g,"").replace(/\[([^\]]+)\]/g,"_$1").replace(/[^a-zA-Z0-9_$]/g,"_").replace(/_{2,}/,"_"),r=1;this.declarations[e]||this.references[e]||this.aliases[e]||e in ye;)e=t+"$"+r++;return this.aliases[e]=!0,e},createDeclaration:function(t){var e=this.createIdentifier(t);return this.createDeclarationCallback(e),e},findDeclaration:function(t){return this.declarations[t]||this.parent&&this.parent.findDeclaration(t)},resolveName:function(t){var e=this.findDeclaration(t);return e?e.name:t}};var we=function(t){function e(e,r){if(t.call(this,e),this.name="CompileError",r){var n=r.program.magicString.original,i=function(t,e){var r,n=t.split("\n"),i=n.length,s=0;for(r=0;r<i;r+=1){var a=s+n[r].length+1;if(a>e)return{line:r+1,column:e-s,char:r};s=a}throw new Error("Could not determine location of character")}(n,r.start);this.message=e+" ("+i.line+":"+i.column+")",this.stack=(new t).stack.replace(new RegExp(".+new "+this.name+".+\\n","m"),""),this.loc=i,this.snippet=xe(n,i,r.end-r.start)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+"\n"+this.snippet},e.missingTransform=function(t,r,n,i){throw void 0===i&&(i=null),new e("Transforming "+t+" is not "+(i?"fully supported":"implemented")+". Use `transforms: { "+r+": false }` to skip transformation and disable this error"+(i?", or `transforms: { "+i+": true }` if you know what you're doing":"")+".",n)},e}(Error);function _e(t,e){for(var r=0;r<t.length;r+=1)if(e(t[r],r))return r;return-1}var ke={Identifier:Se,AssignmentPattern:function(t,e,r,n,i,s,a){var o="Identifier"===n.left.type,c=o?n.left.name:i;s||a.push((function(e,r,i){t.prependRight(n.left.end,r+"if ( "+c+" === void 0 ) "+c),t.move(n.left.end,n.right.end,e),t.appendLeft(n.right.end,i)})),o||Ee(t,e,r,n.left,i,s,a)},ArrayPattern:function(t,e,r,n,i,s,a){var o=n.start;n.elements.forEach((function(n,c){n&&("RestElement"===n.type?Ae(t,e,r,o,n.argument,i+".slice("+c+")",s,a):Ae(t,e,r,o,n,i+"["+c+"]",s,a),o=n.end)})),t.remove(o,n.end)},ObjectPattern:Ce};function Ee(t,e,r,n,i,s,a){ke[n.type](t,e,r,n,i,s,a)}function Se(t,e,r,n,i,s,a){a.push((function(e,a,o){t.overwrite(n.start,n.end,(s?a:a+"var ")+r(n)+" = "+i+o),t.move(n.start,n.end,e)}))}function Ce(t,e,r,n,i,s,a){var o=this,c=n.start,h=[];n.properties.forEach((function(n){var p,l;if("Property"===n.type)if(l=n.value,n.computed||"Identifier"!==n.key.type)if(n.computed||"Literal"!==n.key.type){var u=t.slice(n.key.start,n.key.end);p=i+"["+u+"]",h.push("String("+u+")")}else p=i+"["+n.key.raw+"]",h.push(JSON.stringify(String(n.key.value)));else p=i+"."+n.key.name,h.push('"'+n.key.name+'"');else{if("RestElement"!==n.type)throw new we(o,"Unexpected node of type "+n.type+" in object pattern");l=n.argument,p=e("rest"),a.push((function(e,r,a){var o=n.program.getObjectWithoutPropertiesHelper(t);t.overwrite(n.start,c=n.argument.start,(s?r:r+"var ")+p+" = "+o+"( "+i+", ["+h.join(", ")+"] )"+a),t.move(n.start,c,e)}))}Ae(t,e,r,c,l,p,s,a),c=n.end})),t.remove(c,n.end)}function Ae(t,e,r,n,i,s,a,o){switch(i.type){case"Identifier":t.remove(n,i.start),Se(t,0,r,i,s,a,o);break;case"MemberExpression":t.remove(n,i.start),function(t,e,r,n,i,s,a){a.push((function(e,r,s){t.prependRight(n.start,r),t.appendLeft(n.end," = "+i+s),t.move(n.start,n.end,e)}))}(t,0,0,i,s,0,o);break;case"AssignmentPattern":var c,h="Identifier"===i.left.type;c=h?r(i.left):e(s),o.push((function(e,r,n){a?(t.prependRight(i.right.start,c+" = "+s+", "+c+" = "+c+" === void 0 ? "),t.appendLeft(i.right.end," : "+c+n)):(t.prependRight(i.right.start,r+"var "+c+" = "+s+"; if ( "+c+" === void 0 ) "+c+" = "),t.appendLeft(i.right.end,n)),t.move(i.right.start,i.right.end,e)})),h?t.remove(n,i.right.start):(t.remove(n,i.left.start),t.remove(i.left.end,i.right.start),Ae(t,e,r,n,i.left,c,a,o));break;case"ObjectPattern":t.remove(n,n=i.start);var p=s;i.properties.length>1&&(p=e(s),o.push((function(e,r,o){t.prependRight(i.start,(a?"":r+"var ")+p+" = "),t.overwrite(i.start,n=i.start+1,s),t.appendLeft(n,o),t.overwrite(i.start,n=i.start+1,(a?"":r+"var ")+p+" = "+s+o),t.move(i.start,n,e)}))),Ce(t,e,r,i,p,a,o);break;case"ArrayPattern":if(t.remove(n,n=i.start),i.elements.filter(Boolean).length>1){var l=e(s);o.push((function(e,r,o){t.prependRight(i.start,(a?"":r+"var ")+l+" = "),t.overwrite(i.start,n=i.start+1,s,{contentOnly:!0}),t.appendLeft(n,o),t.move(i.start,n,e)})),i.elements.forEach((function(i,s){i&&("RestElement"===i.type?Ae(t,e,r,n,i.argument,l+".slice("+s+")",a,o):Ae(t,e,r,n,i,l+"["+s+"]",a,o),n=i.end)}))}else{var u=_e(i.elements,Boolean),d=i.elements[u];"RestElement"===d.type?Ae(t,e,r,n,d.argument,s+".slice("+u+")",a,o):Ae(t,e,r,n,d,s+"["+u+"]",a,o),n=d.end}t.remove(n,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var Oe=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createScope=function(){var t=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new ve({block:!this.isFunctionBlock,parent:this.parent.findScope(!1),declare:function(e){return t.createdDeclarations.push(e)}}),this.parentIsFunction&&this.parent.params.forEach((function(e){t.scope.addDeclaration(e,"param")}))},e.prototype.initialise=function(t){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.createdDeclarations=[],this.scope||this.createScope(),this.body.forEach((function(e){return e.initialise(t)})),this.scope.consolidate()},e.prototype.findLexicalBoundary=function(){return"Program"===this.type||/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},e.prototype.findScope=function(t){return t&&!this.isFunctionBlock?this.parent.findScope(t):this.scope},e.prototype.getArgumentsAlias=function(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},e.prototype.getArgumentsArrayAlias=function(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},e.prototype.getThisAlias=function(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},e.prototype.getIndentation=function(){if(void 0===this.indentation){for(var t=this.program.magicString.original,e=this.synthetic||!this.body.length,r=e?this.start:this.body[0].start;r&&"\n"!==t[r];)r-=1;for(this.indentation="";;){var n=t[r+=1];if(" "!==n&&"\t"!==n)break;this.indentation+=n}for(var i=this.program.magicString.getIndentString(),s=this.parent;s;)"constructor"!==s.kind||s.parent.parent.superClass||(this.indentation=this.indentation.replace(i,"")),s=s.parent;e&&(this.indentation+=i)}return this.indentation},e.prototype.transpile=function(e,r){var n,i,s=this,a=this.getIndentation(),o=[];if(this.argumentsAlias&&o.push((function(t,r,n){e.appendLeft(t,r+"var "+s.argumentsAlias+" = arguments"+n)})),this.thisAlias&&o.push((function(t,r,n){e.appendLeft(t,r+"var "+s.thisAlias+" = this"+n)})),this.argumentsArrayAlias&&o.push((function(t,r,n){var i=s.scope.createIdentifier("i");e.appendLeft(t,r+"var "+i+" = arguments.length, "+s.argumentsArrayAlias+" = Array("+i+");\n"+a+"while ( "+i+"-- ) "+s.argumentsArrayAlias+"["+i+"] = arguments["+i+"]"+n)})),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,e,r,a,o):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],e,r,a,o),r.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(e),t.prototype.transpile.call(this,e,r),this.createdDeclarations.length&&o.push((function(t,r,n){var i=r+"var "+s.createdDeclarations.join(", ")+n;e.appendLeft(t,i)})),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var c=this.body[0];o.length?(e.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),e.prependRight(c.start,"\n"+a+"return "),e.appendLeft(c.end,";\n")):r.arrow&&(e.prependRight(c.start,"{ return "),e.appendLeft(c.end,"; }"))}else o.length&&e.prependRight(this.start,"{").appendLeft(this.end,"}");n=(i=this.body[0])&&"ExpressionStatement"===i.type&&"Literal"===i.expression.type&&"use strict"===i.expression.value?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var h="\n"+a,p=";";o.forEach((function(t,e){e===o.length-1&&(p=";\n"),t(n,h,p)}))},e.prototype.transpileParameters=function(t,e,r,n,i){var s=this;t.forEach((function(a){if("AssignmentPattern"===a.type&&"Identifier"===a.left.type)r.defaultParameter&&i.push((function(t,r,n){e.prependRight(a.left.end,r+"if ( "+a.left.name+" === void 0 ) "+a.left.name).move(a.left.end,a.right.end,t).appendLeft(a.right.end,n)}));else if("RestElement"===a.type)r.spreadRest&&i.push((function(r,i,o){var c=t[t.length-2];if(c)e.remove(c?c.end:a.start,a.end);else{for(var h=a.start,p=a.end;/\s/.test(e.original[h-1]);)h-=1;for(;/\s/.test(e.original[p]);)p+=1;e.remove(h,p)}var l=a.argument.name,u=s.scope.createIdentifier("len"),d=t.length-1;e.prependRight(r,d?i+"var "+l+" = [], "+u+" = arguments.length - "+d+";\n"+n+"while ( "+u+"-- > 0 ) "+l+"[ "+u+" ] = arguments[ "+u+" + "+d+" ]"+o:i+"var "+l+" = [], "+u+" = arguments.length;\n"+n+"while ( "+u+"-- ) "+l+"[ "+u+" ] = arguments[ "+u+" ]"+o)}));else if("Identifier"!==a.type&&r.parameterDestructuring){var o=s.scope.createIdentifier("ref");Ee(e,(function(t){return s.scope.createIdentifier(t)}),(function(t){return s.scope.resolveName(t.name)}),a,o,!1,i),e.prependRight(a.start,o)}}))},e.prototype.transpileBlockScopedIdentifiers=function(t){var e=this;Object.keys(this.scope.blockScopedDeclarations).forEach((function(r){for(var n=0,i=e.scope.blockScopedDeclarations[r];n<i.length;n+=1){var s=i[n],a=!1;if("for.let"===s.kind){var o=s.node.findNearest("ForStatement");if(o.shouldRewriteAsFunction){var c=e.scope.createIdentifier(r),h=o.reassigned[r]?e.scope.createIdentifier(r):r;s.name=c,t.overwrite(s.node.start,s.node.end,c,{storeName:!0}),o.aliases[r]={outer:c,inner:h};for(var p=0,l=s.instances;p<l.length;p+=1){var u=l[p],d=o.body.contains(u)?h:c;r!==d&&t.overwrite(u.start,u.end,d,{storeName:!0})}a=!0}}if(!a){var f=e.scope.createIdentifier(r);if(r!==f){s.name=f,t.overwrite(s.node.start,s.node.end,f,{storeName:!0});for(var m=0,g=s.instances;m<g.length;m+=1){var y=g[m];y.rewritten=!0,t.overwrite(y.start,y.end,f,{storeName:!0})}}}}}))},e}(fe);function Pe(t){return"Identifier"===t.type&&"arguments"===t.name}function je(t,e,r){for(var n=r.length;n--;){var i=r[n];if(i&&"SpreadElement"===i.type){var s=i.argument;if("ArrayExpression"===s.type){var a=s.elements;if(!a.some((function(t){return null===t}))){var o=n===r.length-1;0===a.length?t.remove(o&&0!==n?r[n-1].end:i.start,o?e.end-1:r[n+1].start):(t.remove(i.start,a[0].start),t.remove(a[a.length-1].end,o?e.end-1:i.end)),r.splice.apply(r,[n,1].concat(a)),n+=a.length}}}}}function Ie(t){switch(t.type){case"ArrayExpression":case"CallExpression":case"Identifier":case"ParenthesizedExpression":case"ThisExpression":return!1;default:return!0}}function Te(t,e,r,n,i){for(var s=e.length,a=-1;s--;){var o=e[s];o&&"SpreadElement"===o.type&&(Pe(o.argument)&&t.overwrite(o.argument.start,o.argument.end,n),a=s)}if(-1===a)return!1;if(i){for(s=0;s<e.length;s+=1){var c=e[s];"SpreadElement"===c.type?t.remove(c.start,c.argument.start):(t.prependRight(c.start,"["),t.prependRight(c.end,"]"))}return!0}var h=e[a],p=e[a-1];if(p)t.overwrite(p.end,h.start," ].concat( ");else{var l;if(r!==h.start)(l=Ie(h.argument))?t.overwrite(r,h.start,"( "):t.remove(r,h.start);else{if("CallExpression"!==h.parent.type)throw new we("Unsupported spread construct, please raise an issue at https://github.com/bublejs/buble/issues",h);l=Ie(h.argument)}t.overwrite(h.end,e[1].start,l?" ).concat( ":".concat( ")}for(s=a;s<e.length;s+=1)(h=e[s])&&("SpreadElement"===h.type?t.remove(h.start,h.argument.start):(t.appendLeft(h.start,"["),t.appendLeft(h.end,"]")));return!0}var Ne=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){if(e.spreadRest&&this.elements.length)for(var r=this.findLexicalBoundary(),n=this.elements.length;n--;){var i=this.elements[n];i&&"SpreadElement"===i.type&&Pe(i.argument)&&(this.argumentsArrayAlias=r.getArgumentsArrayAlias())}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(t.prototype.transpile.call(this,e,r),r.spreadRest){if(je(e,this,this.elements),this.elements.length){var n=this.elements[this.elements.length-1];n&&/\s*,/.test(e.original.slice(n.end,this.end))&&e.overwrite(n.end,this.end-1," ")}if(1===this.elements.length){var i=this.elements[0];i&&"SpreadElement"===i.type&&(Pe(i.argument)?e.overwrite(this.start,this.end,"[].concat( "+this.argumentsArrayAlias+" )"):(e.overwrite(this.start,i.argument.start,"[].concat( "),e.overwrite(i.end,this.end," )")))}else Te(e,this.elements,this.start,this.argumentsArrayAlias)&&e.overwrite(this.end-1,this.end,")")}},e}(fe);function Le(t,e){for(;")"!==t.original[e];){if(","===t.original[e])return void t.remove(e,e+1);"/"===t.original[e]&&(e="/"===t.original[e+1]?t.original.indexOf("\n",e):t.original.indexOf("*/",e)+1),e+=1}}var Re=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.async&&e.asyncAwait&&we.missingTransform("async arrow functions","asyncAwait",this),this.body.createScope(),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){for(var n=this.start,i=(this.body||this.params[0]).start-1;"("!==e.original[n]&&n<i;)++n;"("!==e.original[n]&&(n=-1);var s=-1===n;if(r.arrow||this.needsArguments(r)){for(var a=this.body.start;"="!==e.original[a];)a-=1;e.remove(a,this.body.start),t.prototype.transpile.call(this,e,r),s&&(e.prependRight(this.params[0].start,"("),e.appendLeft(this.params[0].end,")"));var o,c=this.parent&&"ExpressionStatement"===this.parent.type,h=c?"!":"";this.async&&(h+="async "),h+="function",c||(h+=" "),(o=s?this.params[0].start:n)>this.start?e.overwrite(this.start,o,h):e.prependRight(this.start,h)}else t.prototype.transpile.call(this,e,r);r.trailingFunctionCommas&&this.params.length&&!s&&Le(e,this.params[this.params.length-1].end)},e.prototype.needsArguments=function(t){return t.spreadRest&&this.params.filter((function(t){return"RestElement"===t.type})).length>0},e}(fe);function De(t,e){var r=e.findDeclaration(t.name);if(r&&"const"===r.kind)throw new we(t.name+" is read-only",t)}var Ve=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){if("Identifier"===this.left.type){var r=this.findScope(!1).findDeclaration(this.left.name),n=r&&r.node.ancestor(3);n&&"ForStatement"===n.type&&n.body.contains(this)&&(n.reassigned[this.left.name]=!0)}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){"Identifier"===this.left.type&&De(this.left,this.findScope(!1)),"**="===this.operator&&r.exponentiation?this.transpileExponentiation(e,r):/Pattern/.test(this.left.type)&&r.destructuring&&this.transpileDestructuring(e),t.prototype.transpile.call(this,e,r)},e.prototype.transpileDestructuring=function(t){var e=this,r=this.findScope(!0),n=this.findScope(!1),i=r.createDeclaration("assign");t.appendRight(this.left.end,"("+i),t.appendLeft(this.right.end,", ");var s=[];Ee(t,(function(t){return r.createDeclaration(t)}),(function(t){var e=n.resolveName(t.name);return De(t,n),e}),this.left,i,!0,s);var a=", ";s.forEach((function(t,r){r===s.length-1&&(a=""),t(e.end,"",a)})),"ExpressionStatement"===this.unparenthesizedParent().type?t.prependRight(this.end,")"):t.appendRight(this.end,", "+i+")")},e.prototype.transpileExponentiation=function(t){for(var e,r=this.findScope(!1),n=this.left.end;"*"!==t.original[n];)n+=1;t.remove(n,n+2);var i=this.left.unparenthesize();if("Identifier"===i.type)e=r.resolveName(i.name);else if("MemberExpression"===i.type){var s,a,o=!1,c=!1,h=this.findNearest(/(?:Statement|Declaration)$/),p=h.getIndentation();"Identifier"===i.property.type?a=i.computed?r.resolveName(i.property.name):i.property.name:(a=r.createDeclaration("property"),c=!0),"Identifier"===i.object.type?s=r.resolveName(i.object.name):(s=r.createDeclaration("object"),o=!0),i.start===h.start?o&&c?(t.prependRight(h.start,s+" = "),t.overwrite(i.object.end,i.property.start,";\n"+p+a+" = "),t.overwrite(i.property.end,i.end,";\n"+p+s+"["+a+"]")):o?(t.prependRight(h.start,s+" = "),t.appendLeft(i.object.end,";\n"+p),t.appendLeft(i.object.end,s)):c&&(t.prependRight(i.property.start,a+" = "),t.appendLeft(i.property.end,";\n"+p),t.move(i.property.start,i.property.end,this.start),t.appendLeft(i.object.end,"["+a+"]"),t.remove(i.object.end,i.property.start),t.remove(i.property.end,i.end)):(o&&c?(t.prependRight(i.start,"( "+s+" = "),t.overwrite(i.object.end,i.property.start,", "+a+" = "),t.overwrite(i.property.end,i.end,", "+s+"["+a+"]")):o?(t.prependRight(i.start,"( "+s+" = "),t.appendLeft(i.object.end,", "+s)):c&&(t.prependRight(i.property.start,"( "+a+" = "),t.appendLeft(i.property.end,", "),t.move(i.property.start,i.property.end,i.start),t.overwrite(i.object.end,i.property.start,"["+a+"]"),t.remove(i.property.end,i.end)),c&&t.appendLeft(this.end," )")),e=s+(i.computed||c?"["+a+"]":"."+a)}t.prependRight(this.right.start,"Math.pow( "+e+", "),t.appendLeft(this.right.end," )")},e}(fe),Be=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.asyncAwait&&we.missingTransform("await","asyncAwait",this),t.prototype.initialise.call(this,e)},e}(fe),Me=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){"**"===this.operator&&r.exponentiation&&(e.prependRight(this.start,"Math.pow( "),e.overwrite(this.left.end,this.right.start,", "),e.appendLeft(this.end," )")),t.prototype.transpile.call(this,e,r)},e}(fe),Fe=/(?:For(?:In|Of)?|While)Statement/,Ue=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(){var t=this.findNearest(Fe),e=this.findNearest("SwitchCase");t&&(!e||t.depth>e.depth)&&(t.canBreak=!0,this.loop=t)},e.prototype.transpile=function(t){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new we("Labels are not currently supported in a loop with locally-scoped variables",this);t.overwrite(this.start,this.start+5,"return 'break'")}},e}(fe),ze=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){if(e.spreadRest&&this.arguments.length>1)for(var r=this.findLexicalBoundary(),n=this.arguments.length;n--;){var i=this.arguments[n];"SpreadElement"===i.type&&Pe(i.argument)&&(this.argumentsArrayAlias=r.getArgumentsArrayAlias())}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(r.spreadRest&&this.arguments.length&&je(e,this,this.arguments),r.spreadRest&&this.arguments.length){var n,i=!1,s=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===s.type&&(e.remove(s.start,s.argument.start),i=!0):i=Te(e,this.arguments,s.start,this.argumentsArrayAlias),i){var a=null;if("Super"===this.callee.type?a=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(a=this.callee.object),a||"MemberExpression"!==this.callee.type)n="void 0";else if("Identifier"===this.callee.object.type)n=this.callee.object.name;else{n=this.findScope(!0).createDeclaration("ref");var o=this.callee.object;e.prependRight(o.start,"("+n+" = "),e.appendLeft(o.end,")")}e.appendLeft(this.callee.end,".apply"),a?(a.noCall=!0,this.arguments.length>1&&("SpreadElement"===s.type?Ie(s.argument)&&e.prependRight(s.start,"( "):e.prependRight(s.start,"[ "),e.appendLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?e.prependRight(s.start,n+", "):("SpreadElement"===s.type?Ie(s.argument)?e.appendLeft(s.start,n+", ( "):e.appendLeft(s.start,n+", "):e.appendLeft(s.start,n+", [ "),e.appendLeft(this.arguments[this.arguments.length-1].end," )"))}}r.trailingFunctionCommas&&this.arguments.length&&Le(e,this.arguments[this.arguments.length-1].end),t.prototype.transpile.call(this,e,r)},e}(fe),qe=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r,n,i){var s=this;if(r.classes){var a=this.parent.name,o=e.getIndentString(),c=this.getIndentation()+(n?o:""),h=c+o,p=_e(this.body,(function(t){return"constructor"===t.kind})),l=this.body[p],u="",d="";if(this.body.length?(e.remove(this.start,this.body[0].start),e.remove(this.body[this.body.length-1].end,this.end)):e.remove(this.start,this.end),l){l.value.body.isConstructorBody=!0;var f=this.body[p+1];p>0&&(e.remove(this.body[p-1].end,l.start),e.move(l.start,f?f.start:this.end-1,this.body[0].start)),n||e.appendLeft(l.end,";")}var m=[];this.body.forEach((function(t){if("FieldDefinition"===t.type&&(m.push(t.computed?"this"+e.slice(t.start,t.end)+";":"this."+e.slice(t.start,t.end)+";"),e.remove(t.start,t.end),""!==e.byStart[t.end].content)){for(var r=0;r<e.byStart[t.end].content.length&&-1===e.byStart[t.end].content.slice(0,r).indexOf(";");r++);r>0&&e.remove(t.end,t.end+r)}}));var g=!1!==this.program.options.namedFunctionExpressions,y=g||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var v="if ( "+i+" ) "+a+".__proto__ = "+i+";\n"+c+a+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+c+a+".prototype.constructor = "+a+";";u+=l?"\n\n"+c+v:(v="function "+a+" () {"+(m.length?"\n"+h+m.join("\n"+h)+"\n"+h:"")+(i?"\n"+h+i+".apply(this, arguments);\n"+c+"}":"}")+(n?"":";")+(this.body.length?"\n\n"+c:"")+v)+"\n\n"+c}else if(!l){var b="function "+(y?a+" ":"")+"() {"+(m.length?"\n"+h+m.join("\n"+h)+"\n"+c:"")+"}";"ClassDeclaration"===this.parent.type&&(b+=";"),this.body.length&&(b+="\n\n"+c),u+=b}l&&m.length&&e.appendLeft(l.value.body.start+1,"\n"+h+m.join("\n"+h));var x,w,_=this.findScope(!1),k=[],E=[];if(this.body.forEach((function(t,n){if("get"!==t.kind&&"set"!==t.kind||!r.getterSetter||we.missingTransform("getters and setters","getterSetter",t),"FieldDefinition"!==t.type)if("constructor"!==t.kind){t.static&&e.remove(t.start,t.start+(" "==e.original[t.start+6]?7:6));var i,o="method"!==t.kind,h=t.key.name;(ye[h]||t.value.body.scope.references[h])&&(h=_.createIdentifier(h));var l=!1;if(t.computed||"Literal"!==t.key.type||(l=!0,t.computed=!0),o){if(t.computed)throw new Error("Computed accessor properties are not currently supported");e.remove(t.start,t.key.start),t.static?(~E.indexOf(t.key.name)||E.push(t.key.name),w||(w=_.createIdentifier("staticAccessors")),i=""+w):(~k.indexOf(t.key.name)||k.push(t.key.name),x||(x=_.createIdentifier("prototypeAccessors")),i=""+x)}else i=t.static?""+a:a+".prototype";t.computed||(i+="."),(p>0&&n===p+1||0===n&&p===s.body.length-1)&&(i="\n\n"+c+i);var u=t.key.end;if(t.computed)if(l)e.prependRight(t.key.start,"["),e.appendLeft(t.key.end,"]");else{for(;"]"!==e.original[u];)u+=1;u+=1}var d=(o?"."+t.kind:"")+" = "+(t.value.async?"async ":"")+"function"+(t.value.generator?"* ":" ")+(t.computed||o||!g?"":h+" ");e.remove(u,t.value.start),e.prependRight(t.value.start,d),e.appendLeft(t.end,";"),t.value.generator&&e.remove(t.start,t.key.start);var f=t.key.start;if(t.computed&&!l)for(;"["!=e.original[f];)--f;t.start<f?e.overwrite(t.start,f,i):e.prependRight(t.start,i)}else e.overwrite(t.key.start,t.key.end,"function"+(y?" "+a:""))})),k.length||E.length){var S=[],C=[];k.length&&(S.push("var "+x+" = { "+k.map((function(t){return t+": { configurable: true }"})).join(",")+" };"),C.push("Object.defineProperties( "+a+".prototype, "+x+" );")),E.length&&(S.push("var "+w+" = { "+E.map((function(t){return t+": { configurable: true }"})).join(",")+" };"),C.push("Object.defineProperties( "+a+", "+w+" );")),l&&(u+="\n\n"+c),u+=S.join("\n"+c),l||(u+="\n\n"+c),d+="\n\n"+c+C.join("\n"+c)}l?e.appendLeft(l.end,u):e.prependRight(this.start,u),e.appendLeft(this.end,d)}t.prototype.transpile.call(this,e,r)},e}(fe),He=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.id?(this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class")):this.name=this.findScope(!0).createIdentifier("defaultExport"),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(t,e){if(e.classes){this.superClass||function(t,e){var r=t.start,n=t.end,i=e.getIndentString(),s=i.length,a=r-s;t.program.indentExclusions[a]||e.original.slice(a,r)!==i||e.remove(a,r);for(var o,c=new RegExp(i+"\\S","g"),h=e.original.slice(r,n);o=c.exec(h);){var p=r+o.index;t.program.indentExclusions[p]||e.remove(p,p+s)}}(this.body,t);var r=this.superClass&&(this.superClass.name||"superclass"),n=this.getIndentation(),i=n+t.getIndentString(),s="ExportDefaultDeclaration"===this.parent.type;s&&t.remove(this.parent.start,this.start);var a=this.start;this.id?(t.overwrite(a,this.id.start,"var "),a=this.id.end):t.prependLeft(a,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(t.remove(a,this.superClass.start),t.appendLeft(a," = /*@__PURE__*/(function ("+r+") {\n"+i)):(t.overwrite(a,this.superClass.start," = "),t.overwrite(this.superClass.end,this.body.start,"/*@__PURE__*/(function ("+r+") {\n"+i)):a===this.body.start?t.appendLeft(a," = "):t.overwrite(a,this.body.start," = "),this.body.transpile(t,e,!!this.superClass,r);var o=s?"\n\n"+n+"export default "+this.name+";":"";this.superClass?(t.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+n+"}("),t.move(this.superClass.start,this.superClass.end,this.end),t.prependRight(this.end,"));"+o)):o&&t.prependRight(this.end,o)}else this.body.transpile(t,e,!1,null)},e}(fe),We=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.name=(this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"!==this.parent.type?null:"Identifier"===this.parent.left.type?this.parent.left.name:"MemberExpression"===this.parent.left.type?this.parent.left.property.name:null)||this.findScope(!0).createIdentifier("anonymous"),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(t,e){if(e.classes){var r=this.superClass&&(this.superClass.name||"superclass"),n=this.getIndentation(),i=n+t.getIndentString();this.superClass?(t.remove(this.start,this.superClass.start),t.remove(this.superClass.end,this.body.start),t.appendRight(this.start,"/*@__PURE__*/(function ("+r+") {\n"+i)):t.overwrite(this.start,this.body.start,"/*@__PURE__*/(function () {\n"+i),this.body.transpile(t,e,!0,r);var s="";this.superClass&&(s=t.slice(this.superClass.start,this.superClass.end),t.remove(this.superClass.start,this.superClass.end)),t.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+n+"}("+s+"))")}else this.body.transpile(t,e,!1)},e}(fe),Xe=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(t){if(this.findNearest(Fe).shouldRewriteAsFunction){if(this.label)throw new we("Labels are not currently supported in a loop with locally-scoped variables",this);t.overwrite(this.start,this.start+8,"return")}},e}(fe),Ge=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.moduleExport&&we.missingTransform("export","moduleExport",this),t.prototype.initialise.call(this,e)},e}(fe),Ye=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.moduleExport&&we.missingTransform("export","moduleExport",this),t.prototype.initialise.call(this,e)},e}(fe),$e=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.findScope=function(t){return t||!this.createdScope?this.parent.findScope(t):this.body.scope},e.prototype.initialise=function(e){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),this.thisRefs=[],t.prototype.initialise.call(this,e),e.letConst)for(var r=Object.keys(this.body.scope.declarations),n=r.length;n--;){for(var i=this.body.scope.declarations[r[n]],s=i.instances.length;s--;){var a=i.instances[s].findNearest(/Function/);if(a&&a.depth>this.depth){this.shouldRewriteAsFunction=!0;for(var o=0,c=this.thisRefs;o<c.length;o+=1){var h=c[o];h.alias=h.alias||h.findLexicalBoundary().getThisAlias()}break}}if(this.shouldRewriteAsFunction)break}},e.prototype.transpile=function(e,r){var n="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var i=this.getIndentation(),s=i+e.getIndentString(),a=this.args?" "+this.args.join(", ")+" ":"",o=this.params?" "+this.params.join(", ")+" ":"",c=this.findScope(!0),h=c.createIdentifier("loop"),p="var "+h+" = function ("+o+") "+(this.body.synthetic?"{\n"+i+e.getIndentString():""),l=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(e.prependRight(this.body.start,p),e.appendLeft(this.body.end,l),e.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var u=c.createIdentifier("returned"),d="{\n"+s+"var "+u+" = "+h+"("+a+");\n";this.canBreak&&(d+="\n"+s+"if ( "+u+" === 'break' ) break;"),this.canReturn&&(d+="\n"+s+"if ( "+u+" ) return "+u+".v;"),e.prependRight(this.body.end,d+="\n"+i+"}")}else{var f=h+"("+a+");";"DoWhileStatement"===this.type?e.overwrite(this.start,this.body.start,"do {\n"+s+f+"\n"+i+"}"):e.prependRight(this.body.end,f)}}else n&&(e.appendLeft(this.body.start,"{ "),e.prependRight(this.body.end," }"));t.prototype.transpile.call(this,e,r)},e}(fe),Je=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.findScope=function(t){return t||!this.createdScope?this.parent.findScope(t):this.body.scope},e.prototype.transpile=function(e,r){var n=this,i=this.getIndentation()+e.getIndentString();if(this.shouldRewriteAsFunction){var s="VariableDeclaration"===this.init.type?this.init.declarations.map((function(t){return me(t.id)})):[],a=this.aliases;this.args=s.map((function(t){return t in n.aliases?n.aliases[t].outer:t})),this.params=s.map((function(t){return t in n.aliases?n.aliases[t].inner:t}));var o=Object.keys(this.reassigned).map((function(t){return a[t].outer+" = "+a[t].inner+";"}));o.length&&(this.body.synthetic?e.appendLeft(this.body.body[0].end,"; "+o.join(" ")):e.appendLeft(this.body.body[this.body.body.length-1].end,"\n\n"+i+o.join("\n"+i)))}t.prototype.transpile.call(this,e,r)},e}($e),Ke=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.findScope=function(t){return t||!this.createdScope?this.parent.findScope(t):this.body.scope},e.prototype.transpile=function(e,r){var n=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var s=i?this.left.declarations.map((function(t){return me(t.id)})):[];this.args=s.map((function(t){return t in n.aliases?n.aliases[t].outer:t})),this.params=s.map((function(t){return t in n.aliases?n.aliases[t].inner:t}))}t.prototype.transpile.call(this,e,r);var a=i?this.left.declarations[0].id:this.left;"Identifier"!==a.type&&this.destructurePattern(e,a,i)},e.prototype.destructurePattern=function(t,e,r){var n=this.findScope(!0),i=this.getIndentation()+t.getIndentString(),s=n.createIdentifier("ref"),a=this.body.body.length?this.body.body[0].start:this.body.start+1;t.move(e.start,e.end,a),t.prependRight(e.end,r?s:"var "+s);var o=[];Ee(t,(function(t){return n.createIdentifier(t)}),(function(t){return n.resolveName(t.name)}),e,s,!1,o);var c=";\n"+i;o.forEach((function(t,e){e===o.length-1&&(c=";\n\n"+i),t(a,"",c)}))},e}($e),Qe=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.forOf&&!e.dangerousForOf&&we.missingTransform("for-of statements","forOf",this,"dangerousForOf"),this.await&&e.asyncAwait&&we.missingTransform("for-await-of statements","asyncAwait",this),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(t.prototype.transpile.call(this,e,r),r.dangerousForOf)if(this.body.body[0]){var n=this.findScope(!0),i=this.getIndentation(),s=i+e.getIndentString(),a=n.createIdentifier("i"),o=n.createIdentifier("list");this.body.synthetic&&(e.prependRight(this.left.start,"{\n"+s),e.appendLeft(this.body.body[0].end,"\n"+i+"}"));var c=this.body.body[0].start;e.remove(this.left.end,this.right.start),e.move(this.left.start,this.left.end,c),e.prependRight(this.right.start,"var "+a+" = 0, "+o+" = "),e.appendLeft(this.right.end,"; "+a+" < "+o+".length; "+a+" += 1");var h="VariableDeclaration"===this.left.type,p=h?this.left.declarations[0].id:this.left;if("Identifier"!==p.type){var l=[],u=n.createIdentifier("ref");Ee(e,(function(t){return n.createIdentifier(t)}),(function(t){return n.resolveName(t.name)}),p,u,!h,l);var d=";\n"+s;l.forEach((function(t,e){e===l.length-1&&(d=";\n\n"+s),t(c,"",d)})),h?(e.appendLeft(this.left.start+this.left.kind.length+1,u),e.appendLeft(this.left.end," = "+o+"["+a+"];\n"+s)):e.appendLeft(this.left.end,"var "+u+" = "+o+"["+a+"];\n"+s)}else e.appendLeft(this.left.end," = "+o+"["+a+"];\n\n"+s)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(e.remove(this.start,this.left.start),e.appendLeft(this.left.end,";"),e.remove(this.left.end,this.end)):e.remove(this.start,this.end)},e}($e),Ze=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.generator&&e.generator&&we.missingTransform("generators","generator",this),this.async&&e.asyncAwait&&we.missingTransform("async functions","asyncAwait",this),this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){t.prototype.transpile.call(this,e,r),r.trailingFunctionCommas&&this.params.length&&Le(e,this.params[this.params.length-1].end)},e}(fe),tr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.generator&&e.generator&&we.missingTransform("generators","generator",this),this.async&&e.asyncAwait&&we.missingTransform("async functions","asyncAwait",this),this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),t.prototype.initialise.call(this,e);var r,n=this.parent;if(e.conciseMethodProperty&&"Property"===n.type&&"init"===n.kind&&n.method&&"Identifier"===n.key.type||e.classes&&"MethodDefinition"===n.type&&"method"===n.kind&&"Identifier"===n.key.type?r=n.key.name:this.id&&"Identifier"===this.id.type&&(r=this.id.alias||this.id.name),r)for(var i=0,s=this.params;i<s.length;i+=1){var a=s[i];if("Identifier"===a.type&&r===a.name){var o=this.body.scope,c=o.declarations[r],h=o.createIdentifier(r);a.alias=h;for(var p=0,l=c.instances;p<l.length;p+=1)l[p].alias=h;break}}},e.prototype.transpile=function(e,r){t.prototype.transpile.call(this,e,r),r.trailingFunctionCommas&&this.params.length&&Le(e,this.params[this.params.length-1].end)},e}(fe),er=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.findScope=function(t){return this.parent.params&&~this.parent.params.indexOf(this)||"FunctionExpression"===this.parent.type&&this===this.parent.id?this.parent.body.scope:this.parent.findScope(t)},e.prototype.initialise=function(t){if(function t(e,r){return"MemberExpression"===e.type?!e.computed&&t(e.object,e):"Identifier"===e.type?!r||!/(Function|Class)Expression/.test(r.type)&&("VariableDeclarator"===r.type?e===r.init:"MemberExpression"===r.type||"MethodDefinition"===r.type?r.computed||e===r.object:"ArrayPattern"!==r.type&&("Property"===r.type?"ObjectPattern"!==r.parent.type&&(r.computed||e===r.value):"MethodDefinition"!==r.type&&("ExportSpecifier"!==r.type||e===r.local))):void 0}(this,this.parent)){if(t.arrow&&"arguments"===this.name&&!this.findScope(!1).contains(this.name)){var e=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),n=this.findNearest(Fe);r&&r.depth>e.depth&&(this.alias=e.getArgumentsAlias()),n&&n.body.contains(this)&&n.depth>e.depth&&(this.alias=e.getArgumentsAlias())}this.findScope(!1).addReference(this)}},e.prototype.transpile=function(t){this.alias&&t.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},e}(fe),rr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(e.appendLeft(this.consequent.start,"{ "),e.prependRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(e.appendLeft(this.alternate.start,"{ "),e.prependRight(this.alternate.end," }")),t.prototype.transpile.call(this,e,r)},e}(fe),nr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.moduleImport&&we.missingTransform("dynamic import expressions","moduleImport",this),t.prototype.initialise.call(this,e)},e}(fe),ir=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.moduleImport&&we.missingTransform("import","moduleImport",this),t.prototype.initialise.call(this,e)},e}(fe),sr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.findScope(!0).addDeclaration(this.local,"import"),t.prototype.initialise.call(this,e)},e}(fe),ar=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){this.findScope(!0).addDeclaration(this.local,"import"),t.prototype.initialise.call(this,e)},e}(fe),or=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){var n,i=this.name;e.overwrite(i.start,this.value?this.value.start:this.name.end,(/-/.test(n=i.name)?"'"+n+"'":n)+": "+(this.value?"":"true")),t.prototype.transpile.call(this,e,r)},e}(fe),cr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(t){var e,r=!0,n=this.parent.children[this.parent.children.length-1];(n&&"JSXText"===(e=n).type&&!/\S/.test(e.value)&&/\n/.test(e.value)||this.parent.openingElement.attributes.length)&&(r=!1),t.overwrite(this.start,this.end,r?" )":")")},e}(fe),hr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(t){var e,r=!0,n=this.parent.children[this.parent.children.length-1];n&&"JSXText"===(e=n).type&&!/\S/.test(e.value)&&/\n/.test(e.value)&&(r=!1),t.overwrite(this.start,this.end,r?" )":")")},e}(fe);function pr(t,e){return t=t.replace(/\u00a0/g," "),e&&/\n/.test(t)&&(t=t.replace(/\s+$/,"")),t=t.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(t)}var lr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){t.prototype.transpile.call(this,e,r);var n=this.children.filter((function(t){return"JSXText"!==t.type||/\S/.test(t.raw)||!/\n/.test(t.raw)}));if(n.length){var i,s=(this.openingElement||this.openingFragment).end;for(i=0;i<n.length;i+=1){var a=n[i];if("JSXExpressionContainer"===a.type&&"JSXEmptyExpression"===a.expression.type||e.appendLeft(s,","+("\n"===e.original[s]&&"JSXText"!==a.type?"":" ")),"JSXText"===a.type){var o=pr(a.value,i===n.length-1);e.overwrite(a.start,a.end,o)}s=a.end}}},e}(fe),ur=/[\u2028-\u2029]/g,dr={ArrayExpression:Ne,ArrowFunctionExpression:Re,AssignmentExpression:Ve,AwaitExpression:Be,BinaryExpression:Me,BreakStatement:Ue,CallExpression:ze,ClassBody:qe,ClassDeclaration:He,ClassExpression:We,ContinueStatement:Xe,DoWhileStatement:$e,ExportNamedDeclaration:Ye,ExportDefaultDeclaration:Ge,ForStatement:Je,ForInStatement:Ke,ForOfStatement:Qe,FunctionDeclaration:Ze,FunctionExpression:tr,Identifier:er,IfStatement:rr,Import:nr,ImportDeclaration:ir,ImportDefaultSpecifier:sr,ImportSpecifier:ar,JSXAttribute:or,JSXClosingElement:cr,JSXClosingFragment:hr,JSXElement:lr,JSXExpressionContainer:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){e.remove(this.start,this.expression.start),e.remove(this.expression.end,this.end),t.prototype.transpile.call(this,e,r)},e}(fe),JSXFragment:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(lr),JSXOpeningElement:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){t.prototype.transpile.call(this,e,r),e.overwrite(this.start,this.name.start,this.program.jsx+"( ");var n="JSXIdentifier"===this.name.type&&this.name.name[0]===this.name.name[0].toLowerCase();n&&e.prependRight(this.name.start,"'");var i=this.attributes.length,s=this.name.end;if(i){var a,o,c,h=!1;for(a=0;a<i;a+=1)if("JSXSpreadAttribute"===this.attributes[a].type){h=!0;break}for(s=this.attributes[0].end,a=0;a<i;a+=1){var p=this.attributes[a];if(a>0&&(p.start===s?e.prependRight(s,", "):e.overwrite(s,p.start,", ")),h&&"JSXSpreadAttribute"!==p.type){var l=this.attributes[a-1],u=this.attributes[a+1];l&&"JSXSpreadAttribute"!==l.type||e.prependRight(p.start,"{ "),u&&"JSXSpreadAttribute"!==u.type||e.appendLeft(p.end," }")}s=p.end}if(h)if(1===i)c=n?"',":",";else{if(!this.program.options.objectAssign)throw new we("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);c=n?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",o=")"}else c=n?"', {":", {",o=" }";e.prependRight(this.name.end,c),o&&e.appendLeft(this.attributes[i-1].end,o)}else e.appendLeft(this.name.end,n?"', null":", null"),s=this.name.end;this.selfClosing?e.overwrite(s,this.end,this.attributes.length?")":" )"):e.remove(s,this.end)},e}(fe),JSXOpeningFragment:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(t){t.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},e}(fe),JSXSpreadAttribute:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){e.remove(this.start,this.argument.start),e.remove(this.argument.end,this.end),t.prototype.transpile.call(this,e,r)},e}(fe),Literal:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(){"string"==typeof this.value&&this.program.indentExclusionElements.push(this)},e.prototype.transpile=function(t,e){e.numericLiteral&&this.raw.match(/^0[bo]/i)&&t.overwrite(this.start,this.end,String(this.value),{storeName:!0,contentOnly:!0}),"string"==typeof this.value&&this.value.match(ur)&&t.overwrite(this.start,this.end,this.raw.replace(ur,(function(t){return"\u2028"==t?"\\u2028":"\\u2029"})),{contentOnly:!0})},e}(fe),MemberExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){r.reservedProperties&&ye[this.property.name]&&(e.overwrite(this.object.end,this.property.start,"['"),e.appendLeft(this.property.end,"']")),t.prototype.transpile.call(this,e,r)},e}(fe),NewExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){if(e.spreadRest&&this.arguments.length)for(var r=this.findLexicalBoundary(),n=this.arguments.length;n--;){var i=this.arguments[n];if("SpreadElement"===i.type&&Pe(i.argument)){this.argumentsArrayAlias=r.getArgumentsArrayAlias();break}}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(t.prototype.transpile.call(this,e,r),r.spreadRest&&this.arguments.length&&je(e,this,this.arguments),r.spreadRest&&this.arguments.length){var n=this.arguments[0];Te(e,this.arguments,n.start,this.argumentsArrayAlias,!0)&&(e.prependRight(this.start+"new".length," (Function.prototype.bind.apply("),e.overwrite(this.callee.end,n.start,", [ null ].concat( "),e.appendLeft(this.end," ))"))}this.arguments.length&&Le(e,this.arguments[this.arguments.length-1].end)},e}(fe),ObjectExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){var n;t.prototype.transpile.call(this,e,r);for(var i=this.start+1,s=0,a=0,o=null,c=null,h=0;h<this.properties.length;++h){var p=this.properties[h];if("SpreadElement"===p.type){var l=p.argument;"ObjectExpression"===l.type||"Literal"===l.type&&"string"!=typeof l.value?"ObjectExpression"===l.type&&l.properties.length>0?(e.remove(p.start,l.properties[0].start),e.remove(l.properties[l.properties.length-1].end,p.end),(n=this.properties).splice.apply(n,[h,1].concat(l.properties)),h--):(e.remove(p.start,h===this.properties.length-1?p.end:this.properties[h+1].start),this.properties.splice(h,1),h--):(s+=1,null===o&&(o=h))}else p.computed&&r.computedProperty&&(a+=1,null===c&&(c=h))}if(!s||r.objectRestSpread||a&&r.computedProperty){if(s){if(!this.program.options.objectAssign)throw new we("Object spread operator requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);for(var u=this.properties.length;u--;){var d=this.properties[u];if("Property"===d.type&&!a){var f=this.properties[u-1],m=this.properties[u+1];f&&"Property"===f.type||e.prependRight(d.start,"{"),m&&"Property"===m.type||e.appendLeft(d.end,"}")}"SpreadElement"===d.type&&(e.remove(d.start,d.argument.start),e.remove(d.argument.end,d.end))}i=this.properties[0].start,a?"SpreadElement"===this.properties[0].type?(e.overwrite(this.start,i,this.program.options.objectAssign+"({}, "),e.remove(this.end-1,this.end),e.appendRight(this.end,")")):(e.prependLeft(this.start,this.program.options.objectAssign+"("),e.appendRight(this.end,")")):(e.overwrite(this.start,i,this.program.options.objectAssign+"({}, "),e.overwrite(this.properties[this.properties.length-1].end,this.end,")"))}}else s=0,o=null;if(a&&r.computedProperty){var g,y,v=this.getIndentation();"VariableDeclarator"===this.parent.type&&1===this.parent.parent.declarations.length&&"Identifier"===this.parent.id.type?(g=!0,y=this.parent.id.alias||this.parent.id.name):("AssignmentExpression"===this.parent.type&&"ExpressionStatement"===this.parent.parent.type&&"Identifier"===this.parent.left.type||"AssignmentPattern"===this.parent.type&&"Identifier"===this.parent.left.type)&&(g=!0,y=this.parent.left.alias||this.parent.left.name),s&&(g=!1),y=this.findScope(!1).resolveName(y);var b=i,x=this.end;g||(null===o||c<o?(y=this.findScope(!0).createDeclaration("obj"),e.prependRight(this.start,"( "+y+" = ")):y=null);for(var w,_=this.properties.length,k=!1,E=!0,S=0;S<_;S+=1){var C=this.properties[S],A=S>0?this.properties[S-1].end:b;if("Property"===C.type&&(C.computed||w&&!s)){if(0===S&&(A=this.start+1),w=C,y){var O=(g?";\n"+v+y:", "+y)+("Literal"===C.key.type||C.computed?"":".");A<C.start?e.overwrite(A,C.start,O):e.prependRight(C.start,O)}else y=this.findScope(!0).createDeclaration("obj"),e.appendRight(C.start,"( "+y+" = {}, "+y+(C.computed?"":"."));var P=C.key.end;if(C.computed){for(;"]"!==e.original[P];)P+=1;P+=1}"Literal"!==C.key.type||C.computed?C.shorthand||C.method&&!C.computed&&r.conciseMethodProperty?e.overwrite(C.key.start,C.key.end,e.slice(C.key.start,C.key.end).replace(/:/," =")):(C.value.start>P&&e.remove(P,C.value.start),e.prependLeft(P," = ")):e.overwrite(C.start,C.key.end+1,"["+e.slice(C.start,C.key.end)+"] = "),!C.method||!C.computed&&r.conciseMethodProperty||(C.value.generator&&e.remove(C.start,C.key.start),e.prependRight(C.value.start,"function"+(C.value.generator?"*":"")+" "))}else"SpreadElement"===C.type?y&&S>0&&(w||(w=this.properties[S-1]),e.appendLeft(w.end,", "+y+" )"),w=null,y=null):(!E&&s&&(e.prependRight(C.start,"{"),e.appendLeft(C.end,"}")),k=!0);if(E&&("SpreadElement"===C.type||C.computed)){var j=k?this.properties[this.properties.length-1].end:this.end-1;","==e.original[j]&&++j;var I=e.slice(j,x);e.prependLeft(A,I),e.remove(j,x),E=!1}var T=C.end;if(S<_-1&&!k)for(;","!==e.original[T];)T+=1;else S==_-1&&(T=this.end);C.end!=T&&e.overwrite(C.end,T,"",{contentOnly:!0})}!g&&y&&e.appendLeft(w.end,", "+y+" )")}},e}(fe),Property:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){"get"!==this.kind&&"set"!==this.kind||!e.getterSetter||we.missingTransform("getters and setters","getterSetter",this),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(t.prototype.transpile.call(this,e,r),r.conciseMethodProperty&&!this.computed&&"ObjectPattern"!==this.parent.type)if(this.shorthand)e.prependRight(this.start,this.key.name+": ");else if(this.method){var n="";!1!==this.program.options.namedFunctionExpressions&&(n=" "+(n="Literal"===this.key.type&&"number"==typeof this.key.value?"":"Identifier"===this.key.type?ye[this.key.name]||!/^[a-z_$][a-z0-9_$]*$/i.test(this.key.name)||this.value.body.scope.references[this.key.name]?this.findScope(!0).createIdentifier(this.key.name):this.key.name:this.findScope(!0).createIdentifier(this.key.value))),this.start<this.key.start&&e.remove(this.start,this.key.start),e.appendLeft(this.key.end,": "+(this.value.async?"async ":"")+"function"+(this.value.generator?"*":"")+n)}r.reservedProperties&&ye[this.key.name]&&(e.prependRight(this.key.start,"'"),e.appendLeft(this.key.end,"'"))},e}(fe),ReturnStatement:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(t){this.loop=this.findNearest(Fe),this.nearestFunction=this.findNearest(/Function/),this.loop&&(!this.nearestFunction||this.loop.depth>this.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(t)},e.prototype.transpile=function(t,e){var r=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(r&&t.prependRight(this.argument.start,"{ v: "),this.argument.transpile(t,e),r&&t.appendLeft(this.argument.end," }")):r&&t.appendLeft(this.start+6," {}")},e}(fe),Super:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(t){if(t.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new we("use of super outside class method",this);var e=this.findNearest("ClassBody").parent;if(this.superClassName=e.superClass&&(e.superClass.name||"superclass"),!this.superClassName)throw new we("super used in base class",this);if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new we("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new we("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(t.arrow){var r=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(Fe);n&&n.depth>r.depth&&(this.thisAlias=r.getThisAlias()),i&&i.body.contains(this)&&i.depth>r.depth&&(this.thisAlias=r.getThisAlias())}},e.prototype.transpile=function(t,e){if(e.classes){t.overwrite(this.start,this.end,this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype",{storeName:!0,contentOnly:!0});var r=this.isCalled?this.parent:this.parent.parent;if(r&&"CallExpression"===r.type){this.noCall||t.appendLeft(r.callee.end,".call");var n=this.thisAlias||"this";r.arguments.length?t.appendLeft(r.arguments[0].start,n+", "):t.appendLeft(r.end-1,""+n)}}},e}(fe),TaggedTemplateExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){e.templateString&&!e.dangerousTaggedTemplateString&&we.missingTransform("tagged template strings","templateString",this,"dangerousTaggedTemplateString"),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){if(r.templateString&&r.dangerousTaggedTemplateString){var n=this.quasi.expressions.concat(this.quasi.quasis).sort((function(t,e){return t.start-e.start})),i=this.program.body.scope,s=this.quasi.quasis.map((function(t){return JSON.stringify(t.value.cooked)})).join(", "),a=this.program.templateLiteralQuasis[s];a||(a=i.createIdentifier("templateObject"),e.prependLeft(this.program.prependAt,"var "+a+" = Object.freeze(["+s+"]);\n"),this.program.templateLiteralQuasis[s]=a),e.overwrite(this.tag.end,n[0].start,"("+a);var o=n[0].start;n.forEach((function(t){"TemplateElement"===t.type?e.remove(o,t.end):e.overwrite(o,t.start,", "),o=t.end})),e.overwrite(o,this.end,")")}t.prototype.transpile.call(this,e,r)},e}(fe),TemplateElement:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(){this.program.indentExclusionElements.push(this)},e}(fe),TemplateLiteral:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.transpile=function(e,r){if(t.prototype.transpile.call(this,e,r),r.templateString&&"TaggedTemplateExpression"!==this.parent.type){var n=this.expressions.concat(this.quasis).sort((function(t,e){return t.start-e.start||t.end-e.end})).filter((function(t,e){return"TemplateElement"!==t.type||!!t.value.raw||!e}));if(n.length>=3){var i=n[0];"TemplateElement"===i.type&&""===i.value.raw&&"TemplateElement"===n[2].type&&n.shift()}var s=!(1===this.quasis.length&&0===this.expressions.length||"TemplateLiteral"===this.parent.type||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);s&&e.appendRight(this.start,"(");var a=this.start;n.forEach((function(t,r){var n=0===r?s?"(":"":" + ";if("TemplateElement"===t.type)e.overwrite(a,t.end,n+JSON.stringify(t.value.cooked));else{var i="Identifier"!==t.type;i&&(n+="("),e.remove(a,t.start),n&&e.prependRight(t.start,n),i&&e.appendLeft(t.end,")")}a=t.end})),s&&e.appendLeft(a,")"),e.overwrite(a,this.end,"",{contentOnly:!0})}},e}(fe),ThisExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(t){var e=this.findLexicalBoundary();if(t.letConst)for(var r=this.findNearest(Fe);r&&r.depth>e.depth;)r.thisRefs.push(this),r=r.parent.findNearest(Fe);if(t.arrow){var n=this.findNearest("ArrowFunctionExpression");n&&n.depth>e.depth&&(this.alias=e.getThisAlias())}},e.prototype.transpile=function(t){this.alias&&t.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},e}(fe),UpdateExpression:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){if("Identifier"===this.argument.type){var r=this.findScope(!1).findDeclaration(this.argument.name),n=r&&r.node.ancestor(3);n&&"ForStatement"===n.type&&n.body.contains(this)&&(n.reassigned[this.argument.name]=!0)}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,r){"Identifier"===this.argument.type&&De(this.argument,this.findScope(!1)),t.prototype.transpile.call(this,e,r)},e}(fe),VariableDeclaration:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(t){this.scope=this.findScope("var"===this.kind),this.declarations.forEach((function(e){return e.initialise(t)}))},e.prototype.transpile=function(t,e){var r=this,n=this.getIndentation(),i=this.kind;if(e.letConst&&"var"!==i&&t.overwrite(this.start,this.start+this.kind.length,i="var",{contentOnly:!0,storeName:!0}),e.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var s,a=this.start;this.declarations.forEach((function(i,o){if(i.transpile(t,e),"Identifier"===i.id.type)o>0&&"Identifier"!==r.declarations[o-1].id.type&&t.overwrite(a,i.id.start,"var ");else{var c=Fe.test(r.parent.type);0===o?t.remove(a,i.id.start):t.overwrite(a,i.id.start,";\n"+n);var h="Identifier"===i.init.type&&!i.init.rewritten,p=h?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");a=i.start;var l=[];h?t.remove(i.id.end,i.end):l.push((function(e,r,n){t.prependRight(i.id.end,"var "+p),t.appendLeft(i.init.end,""+n),t.move(i.id.end,i.end,e)}));var u=i.findScope(!1);Ee(t,(function(t){return u.createIdentifier(t)}),(function(t){return u.resolveName(t.name)}),i.id,p,c,l);var d=c?"var ":"",f=c?", ":";\n"+n;l.forEach((function(t,e){o===r.declarations.length-1&&e===l.length-1&&(f=c?"":";"),t(i.start,0===e?d:"",f)}))}a=i.end,s="Identifier"!==i.id.type})),s&&this.end>a&&t.overwrite(a,this.end,"",{contentOnly:!0})}else this.declarations.forEach((function(r){r.transpile(t,e)}))},e}(fe),VariableDeclarator:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.initialise=function(e){var r=this.parent.kind;"let"===r&&"ForStatement"===this.parent.parent.type&&(r="for.let"),this.parent.scope.addDeclaration(this.id,r),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(t,e){if(!this.init&&e.letConst&&"var"!==this.parent.kind){var r=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!r||/Function/.test(r.type)||this.isLeftDeclaratorOfLoop()||t.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(t,e),this.init&&this.init.transpile(t,e)},e.prototype.isLeftDeclaratorOfLoop=function(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},e}(fe),WhileStatement:$e},fr={Program:["body"],Literal:[]},mr={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function gr(t,e,r,n){this.type="Root",this.jsx=n.jsx||"React.createElement",this.options=n,this.source=t,this.magicString=new ue(t),this.ast=e,this.depth=0,function t(e,r){if(e)if("length"in e)for(var n=e.length;n--;)t(e[n],r);else if(!e.__wrapped){e.__wrapped=!0,fr[e.type]||(fr[e.type]=Object.keys(e).filter((function(t){return"object"==typeof e[t]})));var i=mr[e.type];if(i&&"BlockStatement"!==e[i].type){var s=e[i];e[i]={start:s.start,end:s.end,type:"BlockStatement",body:[s],synthetic:!0}}e.parent=r,e.program=r.program||r,e.depth=r.depth+1,e.keys=fr[e.type],e.indentation=void 0;for(var a=0,o=fr[e.type];a<o.length;a+=1)t(e[o[a]],e);e.program.magicString.addSourcemapLocation(e.start),e.program.magicString.addSourcemapLocation(e.end),e.__proto__=(("BlockStatement"===e.type?Oe:dr[e.type])||fe).prototype}}(this.body=e,this),this.body.__proto__=Oe.prototype,this.templateLiteralQuasis=Object.create(null);for(var i=0;i<this.body.body.length;++i)if(!this.body.body[i].directive){this.prependAt=this.body.body[i].start;break}this.objectWithoutPropertiesHelper=null,this.indentExclusionElements=[],this.body.initialise(r),this.indentExclusions=Object.create(null);for(var s=0,a=this.indentExclusionElements;s<a.length;s+=1)for(var o=a[s],c=o.start;c<o.end;c+=1)this.indentExclusions[c]=!0;this.body.transpile(this.magicString,r)}gr.prototype={export:function(t){return void 0===t&&(t={}),{code:this.magicString.toString(),map:this.magicString.generateMap({file:t.file,source:t.source,includeContent:!1!==t.includeContent})}},findNearest:function(){return null},findScope:function(){return null},getObjectWithoutPropertiesHelper:function(t){return this.objectWithoutPropertiesHelper||(this.objectWithoutPropertiesHelper=this.body.scope.createIdentifier("objectWithoutProperties"),t.prependLeft(this.prependAt,"function "+this.objectWithoutPropertiesHelper+" (obj, exclude) { var target = {}; for (var k in obj) if (Object.prototype.hasOwnProperty.call(obj, k) && exclude.indexOf(k) === -1) target[k] = obj[k]; return target; }\n")),this.objectWithoutPropertiesHelper}};var yr=M.extend($t,Xt(),(function(t){return class extends t{getTokenFromCode(t){if(35===t){++this.pos;const t=this.readWord1();return this.finishToken(te,t)}return super.getTokenFromCode(t)}parseClass(t,e){this._privateBoundNamesStack=this._privateBoundNamesStack||[];const r=Object.create(this._privateBoundNamesStack[this._privateBoundNamesStack.length-1]||null);this._privateBoundNamesStack.push(r),this._unresolvedPrivateNamesStack=this._unresolvedPrivateNamesStack||[];const n=Object.create(null);this._unresolvedPrivateNamesStack.push(n);const i=super.parseClass(t,e);if(this._privateBoundNamesStack.pop(),this._unresolvedPrivateNamesStack.pop(),this._unresolvedPrivateNamesStack.length)Object.assign(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1],n);else{const t=Object.keys(n);t.length&&(t.sort((t,e)=>n[t]-n[e]),this.raise(n[t[0]],"Usage of undeclared private name"))}return i}parseClassElement(t){if(this.eat(Kt.semi))return null;const e=this.startNode();if(!(this.options.ecmaVersion>=8)||this.type!=te){if(this.isContextual("async")){Jt.lastIndex=this.pos;let t=Jt.exec(this.input),r=this.input.charAt(this.pos+t[0].length);if(";"===r||"="===r)return e.key=this.parseIdent(!0),e.computed=!1,Qt.call(this,e),this.finishNode(e,"FieldDefinition"),this.semicolon(),e}return super.parseClassElement.apply(this,arguments)}return e.key=Zt.call(this),e.computed=!1,"constructor"==e.key.name&&this.raise(e.start,"Classes may not have a field named constructor"),Object.prototype.hasOwnProperty.call(this._privateBoundNamesStack[this._privateBoundNamesStack.length-1],e.key.name)&&this.raise(e.start,"Duplicate private element"),this._privateBoundNamesStack[this._privateBoundNamesStack.length-1][e.key.name]=!0,delete this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][e.key.name],Qt.call(this,e),this.finishNode(e,"FieldDefinition"),this.semicolon(),e}parseClassMethod(t,e,r,n){return e||r||"method"!=t.kind||t.static||this.options.ecmaVersion<8||this.type==Kt.parenL?super.parseClassMethod.apply(this,arguments):(Qt.call(this,t),delete t.kind,delete t.static,t=this.finishNode(t,"FieldDefinition"),this.semicolon(),t)}parseSubscripts(t,e,r,n){for(let i;;){if(!(i=this.eat(Kt.bracketL))&&!this.eat(Kt.dot))return super.parseSubscripts(t,e,r,n);{let n=this.startNodeAt(e,r);n.object=t,i?n.property=this.parseExpression():this.type==te?(n.property=Zt.call(this),this._privateBoundNamesStack.length&&this._privateBoundNamesStack[this._privateBoundNamesStack.length-1][n.property.name]||(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][n.property.name]=n.property.start)):n.property=this.parseIdent(!0),n.computed=Boolean(i),i&&this.expect(Kt.bracketR),t=this.finishNode(n,"MemberExpression")}}}parseMaybeUnary(t,e){const r=super.parseMaybeUnary(t,e);return"delete"==r.operator&&"MemberExpression"==r.argument.type&&"PrivateName"==r.argument.property.type&&this.raise(r.start,"Private elements may not be deleted"),r}parseIdent(t,e){const r=super.parseIdent(t,e);return this._inFieldValue&&"arguments"==r.name&&this.raise(r.start,"A class field initializer may not contain arguments"),r}parseExprAtom(t){const e=super.parseExprAtom(t);return this._inFieldValue&&"Super"==e.type&&this.raise(e.start,"A class field initializer may not contain super"),e}}})),vr=["getterSetter","arrow","classes","computedProperty","conciseMethodProperty","defaultParameter","destructuring","forOf","generator","letConst","moduleExport","moduleImport","numericLiteral","parameterDestructuring","spreadRest","stickyRegExp","templateString","exponentiation","reservedProperties","trailingFunctionCommas","asyncAwait","objectRestSpread"],br=["dangerousTaggedTemplateString","dangerousForOf"];function xr(t,e){var r;void 0===e&&(e={});var n=null;try{r=yr.parse(t,{ecmaVersion:10,preserveParens:!0,sourceType:"module",allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowHashBang:!0,onComment:function(t,e){if(!n){var r=/@jsx\s+([^\s]+)/.exec(e);r&&(n=r[1])}}}),e.jsx=n||e.jsx}catch(e){throw e.snippet=xe(t,e.loc),e.toString=function(){return e.name+": "+e.message+"\n"+e.snippet},e}var i=Object.create(null);return vr.forEach((function(t){i[t]=!0})),br.forEach((function(t){i[t]=!0})),Object.keys(e.transforms||{}).forEach((function(t){if("modules"===t)return"moduleImport"in e.transforms||(i.moduleImport=e.transforms.modules),void("moduleExport"in e.transforms||(i.moduleExport=e.transforms.modules));if(!(t in i))throw new Error("Unknown transform '"+t+"'");i[t]=e.transforms[t]})),!0===e.objectAssign&&(e.objectAssign="Object.assign"),new gr(t,r,i,e).export(e)}}).call(this,r(153).Buffer)},function(t,e,r){"use strict";(function(t){var n=r(154),i=r(155),s=r(156);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return h(this,t,e,r)}function h(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=u(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(e,r),i=(t=o(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(e.length);return 0===(t=o(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?o(t,0):u(t,e);if("Buffer"===e.type&&s(e.data))return u(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function p(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(p(e),t=o(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function u(t,e){var r=e.length<0?0:0|d(e.length);t=o(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(t).length;default:if(n)return U(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return O(this,e,r);case"latin1":case"binary":return P(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var s,a=1,o=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function h(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var p=-1;for(s=r;s<o;s++)if(h(t,s)===h(e,-1===p?0:s-p)){if(-1===p&&(p=s),s-p+1===c)return p*a}else-1!==p&&(s-=s-p),p=-1}else for(r+c>o&&(r=o-c),s=r;s>=0;s--){for(var l=!0,u=0;u<c;u++)if(h(t,s+u)!==h(e,u)){l=!1;break}if(l)return s}return-1}function b(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o=parseInt(e.substr(2*a,2),16);if(isNaN(o))return a;t[r+a]=o}return a}function x(t,e,r,n){return q(U(e,t.length-r),t,r,n)}function w(t,e,r,n){return q(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function _(t,e,r,n){return w(t,e,r,n)}function k(t,e,r,n){return q(z(e),t,r,n)}function E(t,e,r,n){return q(function(t,e){for(var r,n,i,s=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i=r%256,s.push(i),s.push(n);return s}(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var s,a,o,c,h=t[i],p=null,l=h>239?4:h>223?3:h>191?2:1;if(i+l<=r)switch(l){case 1:h<128&&(p=h);break;case 2:128==(192&(s=t[i+1]))&&(c=(31&h)<<6|63&s)>127&&(p=c);break;case 3:s=t[i+1],a=t[i+2],128==(192&s)&&128==(192&a)&&(c=(15&h)<<12|(63&s)<<6|63&a)>2047&&(c<55296||c>57343)&&(p=c);break;case 4:s=t[i+1],a=t[i+2],o=t[i+3],128==(192&s)&&128==(192&a)&&128==(192&o)&&(c=(15&h)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&c<1114112&&(p=c)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),i+=l}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=A));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return h(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return function(t,e,r,n){return p(e),e<=0?o(t,e):void 0!==r?"string"==typeof n?o(t,e).fill(r,n):o(t,e).fill(r):o(t,e)}(null,t,e,r)},c.allocUnsafe=function(t){return l(null,t)},c.allocUnsafeSlow=function(t){return l(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,s=Math.min(r,n);i<s;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var s=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),o=Math.min(s,a),h=this.slice(n,i),p=t.slice(e,r),l=0;l<o;++l)if(h[l]!==p[l]){s=h[l],a=p[l];break}return s<a?-1:a<s?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return x(this,t,e,r);case"ascii":return w(this,t,e,r);case"latin1":case"binary":return _(this,t,e,r);case"base64":return k(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,e,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function O(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function P(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=e;s<r;++s)i+=F(t[s]);return i}function I(t,e,r){for(var n=t.slice(e,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function T(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,r,n,i,s){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<s)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function L(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-r,2);i<s;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function R(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-r,4);i<s;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function D(t,e,r,n,i,s){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function V(t,e,r,n,s){return s||D(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,s){return s||D(t,0,r,8),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;r=new c(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,s=0;++s<e&&(i*=256);)n+=this[t+s]*i;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,s=0;++s<e&&(i*=256);)n+=this[t+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,i=1,s=this[t+--n];n>0&&(i*=256);)s+=this[t+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*e)),s},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);N(this,t,e,r,i-1,-i)}var s=0,a=1,o=0;for(this[e]=255&t;++s<r&&(a*=256);)t<0&&0===o&&0!==this[e+s-1]&&(o=1),this[e+s]=(t/a>>0)-o&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);N(this,t,e,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[e+s]=255&t;--s>=0&&(a*=256);)t<0&&0===o&&0!==this[e+s+1]&&(o=1),this[e+s]=(t/a>>0)-o&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return V(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return V(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,s=n-r;if(this===t&&r<e&&e<n)for(i=s-1;i>=0;--i)t[i+e]=this[i+r];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+s),e);return s},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var s;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(s=e;s<r;++s)this[s]=t;else{var a=c.isBuffer(t)?t:U(new c(t,n).toString()),o=a.length;for(s=0;s<r-e;++s)this[s+e]=a[s%o]}return this};var M=/[^+\/0-9A-Za-z-_]/g;function F(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t,e){var r;e=e||1/0;for(var n=t.length,i=null,s=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function z(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(23))},function(t,e,r){"use strict";e.byteLength=function(t){var e=h(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=h(t),a=n[0],o=n[1],c=new s(function(t,e,r){return 3*(e+r)/4-r}(0,a,o)),p=0,l=o>0?a-4:a;for(r=0;r<l;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],c[p++]=e>>16&255,c[p++]=e>>8&255,c[p++]=255&e;2===o&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,c[p++]=255&e);1===o&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,c[p++]=e>>8&255,c[p++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,s=[],a=16383,o=0,c=r-i;o<c;o+=a)s.push(p(t,o,o+a>c?c:o+a));1===i?(e=t[r-1],s.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],s.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return s.join("")};for(var n=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=a.length;o<c;++o)n[o]=a[o],i[a.charCodeAt(o)]=o;function h(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function p(t,e,r){for(var i,s,a=[],o=e;o<r;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),a.push(n[(s=i)>>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var s,a,o=8*i-n-1,c=(1<<o)-1,h=c>>1,p=-7,l=r?i-1:0,u=r?-1:1,d=t[e+l];for(l+=u,s=d&(1<<-p)-1,d>>=-p,p+=o;p>0;s=256*s+t[e+l],l+=u,p-=8);for(a=s&(1<<-p)-1,s>>=-p,p+=n;p>0;a=256*a+t[e+l],l+=u,p-=8);if(0===s)s=1-h;else{if(s===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),s-=h}return(d?-1:1)*a*Math.pow(2,s-n)},e.write=function(t,e,r,n,i,s){var a,o,c,h=8*s-i-1,p=(1<<h)-1,l=p>>1,u=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,f=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+l>=1?u/c:u*Math.pow(2,1-l))*c>=2&&(a++,c/=2),a+l>=p?(o=0,a=p):a+l>=1?(o=(e*c-1)*Math.pow(2,i),a+=l):(o=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&o,d+=f,o/=256,i-=8);for(a=a<<i|o,h+=i;h>0;t[r+d]=255&a,d+=f,a/=256,h-=8);t[r+d-f]|=128*m}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){r(158),t.exports=r(106).Object.assign},function(t,e,r){var n=r(159);n(n.S+n.F,"Object",{assign:r(171)})},function(t,e,r){var n=r(105),i=r(106),s=r(124),a=r(166),o=r(169),c=function(t,e,r){var h,p,l,u,d=t&c.F,f=t&c.G,m=t&c.S,g=t&c.P,y=t&c.B,v=f?n:m?n[e]||(n[e]={}):(n[e]||{}).prototype,b=f?i:i[e]||(i[e]={}),x=b.prototype||(b.prototype={});for(h in f&&(r=e),r)l=((p=!d&&v&&void 0!==v[h])?v:r)[h],u=y&&p?o(l,n):g&&"function"==typeof l?o(Function.call,l):l,v&&a(v,h,l,t&c.U),b[h]!=l&&s(b,h,u),g&&x[h]!=l&&(x[h]=l)};n.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,r){var n=r(161),i=r(162),s=r(164),a=Object.defineProperty;e.f=r(107)?Object.defineProperty:function(t,e,r){if(n(t),e=s(e,!0),n(r),i)try{return a(t,e,r)}catch(o){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(110);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){t.exports=!r(107)&&!r(111)((function(){return 7!=Object.defineProperty(r(163)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(110),i=r(105).document,s=n(i)&&n(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},function(t,e,r){var n=r(110);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(105),i=r(124),s=r(125),a=r(126)("src"),o=r(167),c="toString",h=(""+o).split(c);r(106).inspectSource=function(t){return o.call(t)},(t.exports=function(t,e,r,o){var c="function"==typeof r;c&&(s(r,"name")||i(r,"name",e)),t[e]!==r&&(c&&(s(r,a)||i(r,a,t[e]?""+t[e]:h.join(String(e)))),t===n?t[e]=r:o?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||o.call(this)}))},function(t,e,r){t.exports=r(127)("native-function-to-string",Function.toString)},function(t,e){t.exports=!1},function(t,e,r){var n=r(170);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var n=r(107),i=r(172),s=r(180),a=r(181),o=r(182),c=r(129),h=Object.assign;t.exports=!h||r(111)((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=h({},t)[r]||Object.keys(h({},e)).join("")!=n}))?function(t,e){for(var r=o(t),h=arguments.length,p=1,l=s.f,u=a.f;h>p;)for(var d,f=c(arguments[p++]),m=l?i(f).concat(l(f)):i(f),g=m.length,y=0;g>y;)d=m[y++],n&&!u.call(f,d)||(r[d]=f[d]);return r}:h},function(t,e,r){var n=r(173),i=r(179);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e,r){var n=r(125),i=r(128),s=r(175)(!1),a=r(178)("IE_PROTO");t.exports=function(t,e){var r,o=i(t),c=0,h=[];for(r in o)r!=a&&n(o,r)&&h.push(r);for(;e.length>c;)n(o,r=e[c++])&&(~s(h,r)||h.push(r));return h}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(128),i=r(176),s=r(177);t.exports=function(t){return function(e,r,a){var o,c=n(e),h=i(c.length),p=s(a,h);if(t&&r!=r){for(;h>p;)if((o=c[p++])!=o)return!0}else for(;h>p;p++)if((t||p in c)&&c[p]===r)return t||p||0;return!t&&-1}}},function(t,e,r){var n=r(131),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e,r){var n=r(131),i=Math.max,s=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):s(t,e)}},function(t,e,r){var n=r(127)("keys"),i=r(126);t.exports=function(t){return n[t]||(n[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(130);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports=function(t,e,r,n){var i=r?r.call(n,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var s=Object.keys(t),a=Object.keys(e);if(s.length!==a.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),c=0;c<s.length;c++){var h=s[c];if(!o(h))return!1;var p=t[h],l=e[h];if(!1===(i=r?r.call(n,p,l,h):void 0)||void 0===i&&p!==l)return!1}return!0}},function(t,e,r){"use strict";e.a=function(t){function e(t,n,c,h,u){for(var d,f,m,g,x,_=0,k=0,E=0,S=0,C=0,T=0,L=m=d=0,D=0,V=0,B=0,M=0,F=c.length,U=F-1,z="",q="",H="",W="";D<F;){if(f=c.charCodeAt(D),D===U&&0!==k+S+E+_&&(0!==k&&(f=47===k?10:47),S=E=_=0,F++,U++),0===k+S+E+_){if(D===U&&(0<V&&(z=z.replace(l,"")),0<z.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:z+=c.charAt(D)}f=59}switch(f){case 123:for(d=(z=z.trim()).charCodeAt(0),m=1,M=++D;D<F;){switch(f=c.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(f=c.charCodeAt(D+1)){case 42:case 47:t:{for(L=D+1;L<U;++L)switch(c.charCodeAt(L)){case 47:if(42===f&&42===c.charCodeAt(L-1)&&D+2!==L){D=L+1;break t}break;case 10:if(47===f){D=L+1;break t}}D=L}}break;case 91:f++;case 40:f++;case 34:case 39:for(;D++<U&&c.charCodeAt(D)!==f;);}if(0===m)break;D++}switch(m=c.substring(M,D),0===d&&(d=(z=z.replace(p,"").trim()).charCodeAt(0)),d){case 64:switch(0<V&&(z=z.replace(l,"")),f=z.charCodeAt(1)){case 100:case 109:case 115:case 45:V=n;break;default:V=I}if(M=(m=e(n,V,m,f,u+1)).length,0<N&&(x=o(3,m,V=r(I,z,B),n,O,A,M,f,u,h),z=V.join(""),void 0!==x&&0===(M=(m=x.trim()).length)&&(f=0,m="")),0<M)switch(f){case 115:z=z.replace(w,a);case 100:case 109:case 45:m=z+"{"+m+"}";break;case 107:m=(z=z.replace(y,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&s("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=z+m,112===h&&(q+=m,m="")}else m="";break;default:m=e(n,r(n,z,B),m,h,u+1)}H+=m,m=B=V=L=d=0,z="",f=c.charCodeAt(++D);break;case 125:case 59:if(1<(M=(z=(0<V?z.replace(l,""):z).trim()).length))switch(0===L&&(d=z.charCodeAt(0),45===d||96<d&&123>d)&&(M=(z=z.replace(" ",":")).length),0<N&&void 0!==(x=o(1,z,n,t,O,A,q.length,h,u,h))&&0===(M=(z=x.trim()).length)&&(z="\0\0"),d=z.charCodeAt(0),f=z.charCodeAt(1),d){case 0:break;case 64:if(105===f||99===f){W+=z+c.charAt(D);break}default:58!==z.charCodeAt(M-1)&&(q+=i(z,d,f,z.charCodeAt(2)))}B=V=L=d=0,z="",f=c.charCodeAt(++D)}}switch(f){case 13:case 10:47===k?k=0:0===1+d&&107!==h&&0<z.length&&(V=1,z+="\0"),0<N*R&&o(0,z,n,t,O,A,q.length,h,u,h),A=1,O++;break;case 59:case 125:if(0===k+S+E+_){A++;break}default:switch(A++,g=c.charAt(D),f){case 9:case 32:if(0===S+_+k)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==f&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+k+_&&(V=B=1,g="\f"+g);break;case 108:if(0===S+k+_+P&&0<L)switch(D-L){case 2:112===C&&58===c.charCodeAt(D-3)&&(P=C);case 8:111===T&&(P=T)}break;case 58:0===S+k+_&&(L=D);break;case 44:0===k+E+S+_&&(V=1,g+="\r");break;case 34:case 39:0===k&&(S=S===f?0:0===S?f:S);break;case 91:0===S+k+E&&_++;break;case 93:0===S+k+E&&_--;break;case 41:0===S+k+_&&E--;break;case 40:if(0===S+k+_){if(0===d)switch(2*C+3*T){case 533:break;default:d=1}E++}break;case 64:0===k+E+S+_+L+m&&(m=1);break;case 42:case 47:if(!(0<S+_+E))switch(k){case 0:switch(2*f+3*c.charCodeAt(D+1)){case 235:k=47;break;case 220:M=D,k=42}break;case 42:47===f&&42===C&&M+2!==D&&(33===c.charCodeAt(M+2)&&(q+=c.substring(M,D+1)),g="",k=0)}}0===k&&(z+=g)}T=C,C=f,D++}if(0<(M=q.length)){if(V=n,0<N&&(void 0!==(x=o(2,q,V,t,O,A,M,h,u,h))&&0===(q=x).length))return W+q+H;if(q=V.join(",")+"{"+q+"}",0!=j*P){switch(2!==j||s(q,2)||(P=0),P){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(v,"::-webkit-input-$1")+q.replace(v,"::-moz-$1")+q.replace(v,":-ms-input-$1")+q}P=0}}return W+q+H}function r(t,e,r){var i=e.trim().split(m);e=i;var s=i.length,a=t.length;switch(a){case 0:case 1:var o=0;for(t=0===a?"":t[0]+" ";o<s;++o)e[o]=n(t,e[o],r).trim();break;default:var c=o=0;for(e=[];o<s;++o)for(var h=0;h<a;++h)e[c++]=n(t[h]+" ",i[o],r).trim()}return e}function n(t,e,r){var n=e.charCodeAt(0);switch(33>n&&(n=(e=e.trim()).charCodeAt(0)),n){case 38:return e.replace(g,"$1"+t.trim());case 58:return t.trim()+e.replace(g,"$1"+t.trim());default:if(0<1*r&&0<e.indexOf("\f"))return e.replace(g,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function i(t,e,r,n){var a=t+";",o=2*e+3*r+4*n;if(944===o){t=a.indexOf(":",9)+1;var c=a.substring(t,a.length-1).trim();return c=a.substring(0,t).trim()+c+";",1===j||2===j&&s(c,1)?"-webkit-"+c+c:c}if(0===j||2===j&&!s(a,1))return a;switch(o){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return d.test(a)?a.replace(u,":-webkit-")+a.replace(u,":-moz-")+a:a;case 1e3:switch(e=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(e)){case 226:c=a.replace(x,"tb");break;case 232:c=a.replace(x,"tb-rl");break;case 220:c=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,o=(c=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<o?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(t))return 115===(c=t.substring(t.indexOf(":")+1)).charCodeAt(0)?i(t.replace("stretch","fill-available"),e,r,n).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function s(t,e){var r=t.indexOf(1===e?":":"{"),n=t.substring(0,3!==e?r:10);return r=t.substring(r+1,t.length-1),L(2!==e?n:n.replace(E,"$1"),r,e)}function a(t,e){var r=i(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return r!==e+";"?r.replace(_," or ($1)").substring(4):"("+e+")"}function o(t,e,r,n,i,s,a,o,c,p){for(var l,u=0,d=e;u<N;++u)switch(l=T[u].call(h,t,d,r,n,i,s,a,o,c,p)){case void 0:case!1:case!0:case null:break;default:d=l}if(d!==e)return d}function c(t){return void 0!==(t=t.prefix)&&(L=null,t?"function"!=typeof t?j=1:(j=2,L=t):j=0),c}function h(t,r){var n=t;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<N){var i=o(-1,r,n,n,O,A,0,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var s=e(I,n,r,0,0);return 0<N&&(void 0!==(i=o(-2,s,n,n,O,A,s.length,0,0,0))&&(s=i)),"",P=0,A=O=1,s}var p=/^\0+/g,l=/[\0\r\f]/g,u=/: */g,d=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,A=1,O=1,P=0,j=1,I=[],T=[],N=0,L=null,R=0;return h.use=function t(e){switch(e){case void 0:case null:N=T.length=0;break;default:if("function"==typeof e)T[N++]=e;else if("object"==typeof e)for(var r=0,n=e.length;r<n;++r)t(e[r]);else R=0|!!e}return t},h.set=c,void 0!==t&&c(t),h}},function(t,e,r){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e,r){"use strict";const n=(t,{target:e=document.body}={})=>{const r=document.createElement("textarea"),n=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection();let s=!1;i.rangeCount>0&&(s=i.getRangeAt(0)),e.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;let a=!1;try{a=document.execCommand("copy")}catch(o){}return r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),n&&n.focus(),a};t.exports=n,t.exports.default=n},function(t,e){function r(t){let e,r=[];for(let n of t.split(",").map(t=>t.trim()))if(/^-?\d+$/.test(n))r.push(parseInt(n,10));else if(e=n.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,n,i,s]=e;if(n&&s){n=parseInt(n),s=parseInt(s);const t=n<s?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(s+=t);for(let e=n;e!==s;e+=t)r.push(e)}}return r}e.default=r,t.exports=r},,,,,,,,,,function(t,e,r){"use strict";var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));e.a=i}])]);