PageSourceSearch

https://ffmpegwasm.netlify.app/assets/js/2517.31a2e9c8.js

js ffmpegwasm.netlify.app collected 2026-10-03 10:45:37 UTC 249,587 bytes, 2 lines download raw bytes

1/*! For license information please see 2517.31a2e9c8.js.LICENSE.txt */
2(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2517],{876:(t,e,i)=>{"use strict";i.d(e,{Zo:()=>c,kt:()=>f});var n=i(2784);function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){r(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function o(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i,n,r={},s=Object.keys(t);for(n=0;n<s.length;n++)i=s[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}var p=n.createContext({}),h=function(t){var e=n.useContext(p),i=e;return t&&(i="function"==typeof t?t(e):a(a({},e),t)),i},c=function(t){var e=h(t.components);return n.createElement(p.Provider,{value:e},t.children)},l="mdxType",u={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},d=n.forwardRef((function(t,e){var i=t.components,r=t.mdxType,s=t.originalType,p=t.parentName,c=o(t,["components","mdxType","originalType","parentName"]),l=h(i),d=r,f=l["".concat(p,".").concat(d)]||l[d]||u[d]||s;return i?n.createElement(f,a(a({ref:e},c),{},{components:i})):n.createElement(f,a({ref:e},c))}));function f(t,e){var i=arguments,r=e&&e.mdxType;if("string"==typeof t||r){var s=i.length,a=new Array(s);a[0]=d;var o={};for(var p in e)hasOwnProperty.call(e,p)&&(o[p]=e[p]);o.originalType=t,o[l]="string"==typeof t?t:r,a[1]=o;for(var h=2;h<s;h++)a[h]=i[h];return n.createElement.apply(null,a)}return n.createElement.apply(null,i)}d.displayName="MDXCreateElement"},9979:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(2784),r=i(9741);function s({children:t,fallback:e}){return(0,r.Z)()?n.createElement(n.Fragment,null,t?.()):e??null}},3851:(t,e,i)=>{"use strict";i.d(e,{Z:()=>c});var n=i(7896),r=i(2784),s=i(6277),a=i(1077),o=i(7683),p=i(9817);const h={anchorWithStickyNavbar:"anchorWithStickyNavbar_fF9Z",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_Yh18"};function c({as:t,id:e,...i}){const{navbar:{hideOnScroll:c}}=(0,o.L)();if("h1"===t||!e)return r.createElement(t,(0,n.Z)({},i,{id:void 0}));const l=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof i.children?i.children:e});return r.createElement(t,(0,n.Z)({},i,{className:(0,s.Z)("anchor",c?h.anchorWithHideOnScrollNavbar:h.anchorWithStickyNavbar,i.className),id:e}),i.children,r.createElement(p.Z,{className:"hash-link",to:`#${e}`,"aria-label":l,title:l},"\u200b"))}},2517:(t,e,i)=>{"use strict";i.d(e,{Z:()=>fr});var n=i(2784),r=i(876),s=i(7896),a=i(9854);var o=i(6277),p=i(9741),h=i(5982),c=i(869),l=i(7175);const u={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","atrule","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"}}]};var d={Prism:l.Z,theme:u};function f(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function m(){return m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},m.apply(this,arguments)}var y=/\r\n|\r|\n/,g=function(t){0===t.length?t.push({types:["plain"],content:"\n",empty:!0}):1===t.length&&""===t[0].content&&(t[0].content="\n",t[0].empty=!0)},v=function(t,e){var i=t.length;return i>0&&t[i-1]===e?t:t.concat(e)};function b(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(i[n]=t[n]);return i}var x=function(t){function e(){for(var e=this,i=[],n=arguments.length;n--;)i[n]=arguments[n];t.apply(this,i),f(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 i=t.theme?function(t,e){var i=t.plain,n=Object.create(null),r=t.styles.reduce((function(t,i){var n=i.languages,r=i.style;
2return n&&!n.includes(e)||i.types.forEach((function(e){var i=m({},t[e],r);t[e]=i})),t}),n);return r.root=i,r.plain=m({},i,{backgroundColor:null}),r}(t.theme,t.language):void 0;return e.themeDict=i})),f(this,"getLineProps",(function(t){var i=t.key,n=t.className,r=t.style,s=m({},b(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!==r&&(s.style=void 0!==s.style?m({},s.style,r):r),void 0!==i&&(s.key=i),n&&(s.className+=" "+n),s})),f(this,"getStyleForToken",(function(t){var i=t.types,n=t.empty,r=i.length,s=e.getThemeDict(e.props);if(void 0!==s){if(1===r&&"plain"===i[0])return n?{display:"inline-block"}:void 0;if(1===r&&!n)return s[i[0]];var a=n?{display:"inline-block"}:{},o=i.map((function(t){return s[t]}));return Object.assign.apply(Object,[a].concat(o))}})),f(this,"getTokenProps",(function(t){var i=t.key,n=t.className,r=t.style,s=t.token,a=m({},b(t,["key","className","style","token"]),{className:"token "+s.types.join(" "),children:s.content,style:e.getStyleForToken(s),key:void 0});return void 0!==r&&(a.style=void 0!==a.style?m({},a.style,r):r),void 0!==i&&(a.key=i),n&&(a.className+=" "+n),a})),f(this,"tokenize",(function(t,e,i,n){var r={code:e,grammar:i,language:n,tokens:[]};t.hooks.run("before-tokenize",r);var s=r.tokens=t.tokenize(r.code,r.grammar,r.language);return t.hooks.run("after-tokenize",r),s}))}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,i=t.language,n=t.code,r=t.children,s=this.getThemeDict(this.props),a=e.languages[i],o=function(t){for(var e=[[]],i=[t],n=[0],r=[t.length],s=0,a=0,o=[],p=[o];a>-1;){for(;(s=n[a]++)<r[a];){var h=void 0,c=e[a],l=i[a][s];if("string"==typeof l?(c=a>0?c:["plain"],h=l):(c=v(c,l.type),l.alias&&(c=v(c,l.alias)),h=l.content),"string"==typeof h){var u=h.split(y),d=u.length;o.push({types:c,content:u[0]});for(var f=1;f<d;f++)g(o),p.push(o=[]),o.push({types:c,content:u[f]})}else a++,e.push(c),i.push(h),n.push(0),r.push(h.length)}a--,e.pop(),i.pop(),n.pop(),r.pop()}return g(o),p}(void 0!==a?this.tokenize(e,n,a,i):[n]);return r({tokens:o,className:"prism-code language-"+i,style:void 0!==s?s.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},e}(n.Component);const _=x;var k={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"},E="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:E,6:E+" const class extends export import super"},w=/^in(stanceof)?$/,C="\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\u
219b0-\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",A="\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",I=new RegExp("["+C+"]"),N=new RegExp("["+C+A+"]");C=A=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,
215,7472,3104,541],P=[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 O(t,e){for(var i=65536,n=0;n<e.length;n+=2){if((i+=e[n])>t)return!1;if((i+=e[n+1])>=t)return!0}}function T(t,e){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&I.test(String.fromCharCode(t)):!1!==e&&O(t,L)))}function j(t,e){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&N.test(String.fromCharCode(t)):!1!==e&&(O(t,L)||O(t,P)))))}var R=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 B(t,e){return new R(t,{beforeExpr:!0,binop:e})}var V={beforeExpr:!0},D={startsExpr:!0},F={};function M(t,e){return void 0===e&&(e={}),e.keyword=t,F[t]=new R(t,e)}var U={num:new R("num",D),regexp:new R("regexp",D),string:new R("string",D),name:new R("name",D),eof:new R("eof"),bracketL:new R("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new R("]"),braceL:new R("{",{beforeExpr:!0,startsExpr:!0}),braceR:new R("}"),parenL:new R("(",{beforeExpr:!0,startsExpr:!0}),parenR:new R(")"),comma:new R(",",V),semi:new R(";",V),colon:new R(":",V),dot:new R("."),question:new R("?",V),arrow:new R("=>",V),template:new R("template"),invalidTemplate:new R("invalidTemplate"),ellipsis:new R("...",V),backQuote:new R("`",D),dollarBraceL:new R("${",{beforeExpr:!0,startsExpr:!0}),eq:new R("=",{beforeExpr:!0,isAssign:!0}),assign:new R("_=",{beforeExpr:!0,isAssign:!0}),incDec:new R("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new R("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:B("||",1),logicalAND:B("&&",2),bitwiseOR:B("|",3),bitwiseXOR:B("^",4),bitwiseAND:B("&",5),equality:B("==/!=/===/!==",6),relational:B("</>/<=/>=",7),bitShift:B("<</>>/>>>",8),plusMin:new R("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:B("%",10),star:B("*",10),slash:B("/",10),starstar:new R("**",{beforeExpr:!0}),_break:M("break"),_case:M("case",V),_catch:M("catch"),_continue:M("continue"),_debugger:M("debugger"),_default:M("default",V),_do:M("do",{isLoop:!0,beforeExpr:!0}),_else:M("else",V),_finally:M("finally"),_for:M("for",{isLoop:!0}),_function:M("function",D),_if:M("if"),_return:M("return",V),_switch:M("switch"),_throw:M("throw",V),_try:M("try"),_var:M("var"),_const:M("const"),_while:M("while",{isLoop:!0}),_with:M("with"),_new:M("new",{beforeExpr:!0,startsExpr:!0}),_this:M("this",D),_super:M("super",D),_class:M("class",D),_extends:M("extends",V),_export:M("export"),_import:M("import"),_null:M("null",D),_true:M("true",D),_false:M("false",D),_in:M("in",{beforeExpr:!0,binop:7}),_instanceof:M("instanceof",{beforeExpr:!0,binop:7}),_typeof:M("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:M("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:M("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},z=/\r\n?|\n|\u2028|\u2029/,W=new RegExp(z.source,"g");function q(t,e){return 10===t||13===t||!e&&(8232===t||8233===t)}var H=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Z=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,J=Object.prototype,X=J.hasOwnProperty,$=J.toString;function K(t,e){return X.call(t,e)}var G=Array.isArray||function(t){return"[object Array]"===$.call(t)};function Q(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var Y=function(t,e){this.line=t,this.column=e};Y.prototype.offset=function(t){return new Y(this.line,this.column+t)};var tt=function(t,e,i){this.start=e,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function et(t,e){for(var i=1,n=0;;){W.lastIndex=n;var r=W.exec(t);if(!(r&&r.index<e))return new Y(i,e-n);++i,n=r.index+r[0].length}}var it={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowA
2waitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function nt(t,e){return 2|(t?4:0)|(e?8:0)}var rt=function(t,e,i){this.options=t=function(t){var e={};for(var i in it)e[i]=t&&K(t,i)?t[i]:it[i];if(e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),G(e.onToken)){var n=e.onToken;e.onToken=function(t){return n.push(t)}}return G(e.onComment)&&(e.onComment=function(t,e){return function(i,n,r,s,a,o){var p={type:i?"Block":"Line",value:n,start:r,end:s};t.locations&&(p.loc=new tt(this,a,o)),t.ranges&&(p.range=[r,s]),e.push(p)}}(e,e.onComment)),e}(t),this.sourceFile=t.sourceFile,this.keywords=Q(S[t.ecmaVersion>=6?6:5]);var n="";if(!t.allowReserved){for(var r=t.ecmaVersion;!(n=k[r]);r--);"module"===t.sourceType&&(n+=" await")}this.reservedWords=Q(n);var s=(n?n+" ":"")+k.strict;this.reservedWordsStrict=Q(s),this.reservedWordsStrictBind=Q(s+" "+k.strictBind),this.input=String(e),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(z).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=U.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},st={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};rt.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},st.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},st.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},st.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},st.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},st.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},st.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},rt.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},rt.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=this,n=0;n<t.length;n++)i=t[n](i);return i},rt.parse=function(t,e){return new this(e,t).parse()},rt.parseExpressionAt=function(t,e,i){var n=new this(i,t,e);return n.nextToken(),n.parseExpression()},rt.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(rt.prototype,st);var at=rt.prototype,ot=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function pt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}at.strictDirective=function(t){for(;;){Z.lastIndex=t,t+=Z.exec(this.input)[0].length;var e=ot.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2]))return!0;Z.lastIndex=t+=e[0].length,t+=Z.exec(this.input)[0].length,";"===this.input[t]&&t++}},at.eat=function(t){return this.type===t&&(this.next(),!0)},at.isContextual=function(t){return this.type===U.name&&this.value===t&&!this.containsEsc},at.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},at.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},at.canInsertSemicolon=function(){return this.type===U.eof||this.type===U.braceR||z.test(this.input.slice(this.lastTokEnd,this.start))},at.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},at.semicolon=function(){this.eat(U.semi)||this.insertSemicolon()||this.unexpected()}
2,at.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0},at.expect=function(t){this.eat(t)||this.unexpected()},at.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")},at.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}},at.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,n=t.doubleProto;if(!e)return i>=0||n>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},at.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")},at.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var ht=rt.prototype;ht.parseTopLevel=function(t){var e={};for(t.body||(t.body=[]);this.type!==U.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[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 ct={kind:"loop"},lt={kind:"switch"};
2ht.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Z.lastIndex=this.pos;var e=Z.exec(this.input),i=this.pos+e[0].length,n=this.input.charCodeAt(i);if(91===n)return!0;if(t)return!1;if(123===n)return!0;if(T(n,!0)){for(var r=i+1;j(this.input.charCodeAt(r),!0);)++r;var s=this.input.slice(i,r);if(!w.test(s))return!0}return!1},ht.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Z.lastIndex=this.pos;var t=Z.exec(this.input),e=this.pos+t[0].length;return!(z.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&j(this.input.charAt(e+8)))},ht.parseStatement=function(t,e,i){var n,r=this.type,s=this.startNode();switch(this.isLet(t)&&(r=U._var,n="let"),r){case U._break:case U._continue:return this.parseBreakContinueStatement(s,r.keyword);case U._debugger:return this.parseDebuggerStatement(s);case U._do:return this.parseDoStatement(s);case U._for:return this.parseForStatement(s);case U._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!t);case U._class:return t&&this.unexpected(),this.parseClass(s,!0);case U._if:return this.parseIfStatement(s);
2case U._return:return this.parseReturnStatement(s);case U._switch:return this.parseSwitchStatement(s);case U._throw:return this.parseThrowStatement(s);case U._try:return this.parseTryStatement(s);case U._const:case U._var:return n=n||this.value,t&&"var"!==n&&this.unexpected(),this.parseVarStatement(s,n);case U._while:return this.parseWhileStatement(s);case U._with:return this.parseWithStatement(s);case U.braceL:return this.parseBlock(!0,s);case U.semi:return this.parseEmptyStatement(s);case U._export:case U._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'")),r===U._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!t);var a=this.value,o=this.parseExpression();return r===U.name&&"Identifier"===o.type&&this.eat(U.colon)?this.parseLabeledStatement(s,a,o,t):this.parseExpressionStatement(s,o)}},ht.parseBreakContinueStatement=function(t,e){var i="break"===e;this.next(),this.eat(U.semi)||this.insertSemicolon()?t.label=null:this.type!==U.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var r=this.labels[n];if(null==t.label||r.name===t.label.name){if(null!=r.kind&&(i||"loop"===r.kind))break;if(t.label&&i)break}}return n===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},ht.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},ht.parseDoStatement=function(t){return this.next(),this.labels.push(ct),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(U._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(U.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},ht.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(ct),this.enterScope(0),this.expect(U.parenL),this.type===U.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===U._var||this.type===U._const||i){var n=this.startNode(),r=i?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),!(this.type===U._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==r&&n.declarations[0].init?(e>-1&&this.unexpected(e),this.parseFor(t,n)):(this.options.ecmaVersion>=9&&(this.type===U._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,n))}var s=new pt,a=this.parseExpression(!0,s);return this.type===U._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===U._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))},ht.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,dt|(i?0:ft),!1,e)},ht.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(U._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},ht.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(U.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},ht.parseSwitchStatement=function(t){var e;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(U.braceL),this.labels.push(lt),this.enterScope(0);for(var i=!1;this.type!==U.braceR;)if(this.type===U._case||this.type===U._default){var n=this.type===U._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),n?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(U.colon)}
2else 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")},ht.parseThrowStatement=function(t){return this.next(),z.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 ut=[];ht.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===U._catch){var e=this.startNode();if(this.next(),this.eat(U.parenL)){e.param=this.parseBindingAtom();var i="Identifier"===e.param.type;this.enterScope(i?32:0),this.checkLVal(e.param,i?4:2),this.expect(U.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(U._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},ht.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},ht.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(ct),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},ht.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")},ht.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},ht.parseLabeledStatement=function(t,e,i,n){for(var r=0,s=this.labels;r<s.length;r+=1)s[r].name===e&&this.raise(i.start,"Label '"+e+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===U._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var p=this.labels[o];if(p.statementStart!==t.start)break;p.statementStart=this.start,p.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=i,this.finishNode(t,"LabeledStatement")},ht.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},ht.parseBlock=function(t,e){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(U.braceL),t&&this.enterScope(0);!this.eat(U.braceR);){var i=this.parseStatement(null);e.body.push(i)}return t&&this.exitScope(),this.finishNode(e,"BlockStatement")},ht.parseFor=function(t,e){return t.init=e,this.expect(U.semi),t.test=this.type===U.semi?null:this.parseExpression(),this.expect(U.semi),t.update=this.type===U.parenR?null:this.parseExpression(),this.expect(U.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},ht.parseForIn=function(t,e){var i=this.type===U._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===i&&("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"===i?this.parseExpression():this.parseMaybeAssign(),this.expect(U.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i)},ht.parseVar=function(t,e,i){for(t.declarations=[],t.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(U.eq)?n.init=this.parseMaybeAssign(e):"const"!==i||this.type===U._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||e&&(this.type===U._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(U.comma))break}return t},ht.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 dt=1,ft=2;
2ht.parseFunction=function(t,e,i,n){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===U.star&&e&ft&&this.unexpected(),t.generator=this.eat(U.star)),this.options.ecmaVersion>=8&&(t.async=!!n),e&dt&&(t.id=4&e&&this.type!==U.name?null:this.parseIdent(),!t.id||e&ft||this.checkLVal(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nt(t.async,t.generator)),e&dt||(t.id=this.type===U.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(t,e&dt?"FunctionDeclaration":"FunctionExpression")},ht.parseFunctionParams=function(t){this.expect(U.parenL),t.params=this.parseBindingList(U.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ht.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var n=this.startNode(),r=!1;for(n.body=[],this.expect(U.braceL);!this.eat(U.braceR);){var s=this.parseClassElement(null!==t.superClass);s&&(n.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(r&&this.raise(s.start,"Duplicate constructor in the same class"),r=!0))}return t.body=this.finishNode(n,"ClassBody"),this.strict=i,this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},ht.parseClassElement=function(t){var e=this;if(this.eat(U.semi))return null;var i=this.startNode(),n=function(t,n){void 0===n&&(n=!1);var r=e.start,s=e.startLoc;return!(!e.eatContextual(t)||(e.type===U.parenL||n&&e.canInsertSemicolon())&&(i.key&&e.unexpected(),i.computed=!1,i.key=e.startNodeAt(r,s),i.key.name=t,e.finishNode(i.key,"Identifier"),1))};i.kind="method",i.static=n("static");var r=this.eat(U.star),s=!1;r||(this.options.ecmaVersion>=8&&n("async",!0)?(s=!0,r=this.options.ecmaVersion>=9&&this.eat(U.star)):n("get")?i.kind="get":n("set")&&(i.kind="set")),i.key||this.parsePropertyName(i);var a=i.key,o=!1;return i.computed||i.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?i.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==i.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),r&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),i.kind="constructor",o=t),this.parseClassMethod(i,r,s,o),"get"===i.kind&&0!==i.value.params.length&&this.raiseRecoverable(i.value.start,"getter should have no params"),"set"===i.kind&&1!==i.value.params.length&&this.raiseRecoverable(i.value.start,"setter should have exactly one param"),"set"===i.kind&&"RestElement"===i.value.params[0].type&&this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params"),i},ht.parseClassMethod=function(t,e,i,n){return t.value=this.parseMethod(e,i,n),this.finishNode(t,"MethodDefinition")},ht.parseClassId=function(t,e){this.type===U.name?(t.id=this.parseIdent(),e&&this.checkLVal(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},ht.parseClassSuper=function(t){t.superClass=this.eat(U._extends)?this.parseExprSubscripts():null},ht.parseExport=function(t,e){if(this.next(),this.eat(U.star))return this.expectContextual("from"),this.type!==U.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(U._default)){var i;if(this.checkExport(e,"default",this.lastTokStart),this.type===U._function||(i=this.isAsyncFunction())){var n=this.startNode();this.next(),i&&this.next(),t.declaration=this.parseFunction(n,4|dt,!1,i)}else if(this.type===U._class){var r=this.startNode();t.declaration=this.parseClass(r,"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!==U.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")}
2,ht.checkExport=function(t,e,i){t&&(K(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0)},ht.checkPatternExport=function(t,e){var i=e.type;if("Identifier"===i)this.checkExport(t,e.name,e.start);else if("ObjectPattern"===i)for(var n=0,r=e.properties;n<r.length;n+=1)this.checkPatternExport(t,r[n]);else if("ArrayPattern"===i)for(var s=0,a=e.elements;s<a.length;s+=1){var o=a[s];o&&this.checkPatternExport(t,o)}else"Property"===i?this.checkPatternExport(t,e.value):"AssignmentPattern"===i?this.checkPatternExport(t,e.left):"RestElement"===i?this.checkPatternExport(t,e.argument):"ParenthesizedExpression"===i&&this.checkPatternExport(t,e.expression)},ht.checkVariableExport=function(t,e){if(t)for(var i=0,n=e;i<n.length;i+=1)this.checkPatternExport(t,n[i].id)},ht.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},ht.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(U.braceL);!this.eat(U.braceR);){if(i)i=!1;else if(this.expect(U.comma),this.afterTrailingComma(U.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},ht.parseImport=function(t){return this.next(),this.type===U.string?(t.specifiers=ut,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.t
vendor: 4,088 bytes, line 2
2ype===U.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},ht.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===U.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLVal(i.local,2),t.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(U.comma))return t}if(this.type===U.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(U.braceL);!this.eat(U.braceR);){if(e)e=!1;else if(this.expect(U.comma),this.afterTrailingComma(U.braceR))break;var r=this.startNode();r.imported=this.parseIdent(!0),this.eatContextual("as")?r.local=this.parseIdent():(this.checkUnreserved(r.imported),r.local=r.imported),this.checkLVal(r.local,2),t.push(this.finishNode(r,"ImportSpecifier"))}return t},ht.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)},ht.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 mt=rt.prototype;mt.toAssignable=function(t,e,i){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",i&&this.checkPatternErrors(i,!0);for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[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",i&&this.checkPatternErrors(i,!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,i);break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},mt.toAssignableList=function(t,e){for(var i=t.length,n=0;n<i;n++){var r=t[n];r&&this.toAssignable(r,e)}if(i){var s=t[i-1];6===this.options.ecmaVersion&&e&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return t},mt.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},mt.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==U.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},mt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case U.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(U.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case U.braceL:return this.parseObj(!0)}return this.parseIdent()},mt.parseBindingList=function(t,e,i){for(var n=[],r=!0;!this.eat(t);)if(r?r=!1:this.expect(U.comma),e&&this.type===U.comma)n.push(null);else{if(i&&this.afterTrailingComma(t))break;if(this.type===U.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),n.push(s),this.type===U.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);
2this.parseBindingListItem(a),n.push(a)}return n},mt.parseBindingListItem=function(t){return t},mt.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(U.eq))return i;var n=this.startNodeAt(t,e);return n.left=i,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},mt.checkLVal=function(t,e,i){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"),i&&(K(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[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,r=t.properties;n<r.length;n+=1)this.checkLVal(r[n],e,i);break;case"Property":this.checkLVal(t.value,e,i);break;case"ArrayPattern":for(var s=0,a=t.elements;s<a.length;s+=1){var o=a[s];o&&this.checkLVal(o,e,i)}break;case"AssignmentPattern":this.checkLVal(t.left,e,i);break;case"RestElement":this.checkLVal(t.argument,e,i);break;case"ParenthesizedExpression":this.checkLVal(t.expression,e,i);break;default:this.raise(t.start,(e?"Binding":"Assigning to")+" rvalue")}};var yt=rt.prototype;yt.checkPropClash=function(t,e,i){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===t.type||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var n,r=t.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var s=t.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===s&&(e.proto&&(i&&i.doubleProto<0?i.doubleProto=r.start:this.raiseRecoverable(r.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(r.start,"Redefinition of property"):a=e[n]={init:!1,get:!1,set:!1},a[s]=!0}}},yt.parseExpression=function(t,e){var i=this.start,n=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===U.comma){var s=this.startNodeAt(i,n);for(s.expressions=[r];this.eat(U.comma);)s.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(s,"SequenceExpression")}return r},yt.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var n=!1,r=-1,s=-1,a=-1;e?(r=e.parenthesizedAssign,s=e.trailingComma,a=e.shorthandAssign,e.parenthesizedAssign=e.trailingComma=e.shorthandAssign=-1):(e=new pt,n=!0);var o=this.start,p=this.startLoc;this.type!==U.parenL&&this.type!==U.name||(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(t,e);if(i&&(h=i.call(this,h,o,p)),this.type.isAssign){var c=this.startNodeAt(o,p);return c.operator=this.value,c.left=this.type===U.eq?this.toAssignable(h,!1,e):h,n||pt.call(e),e.shorthandAssign=-1,this.checkLVal(h),this.next(),c.right=this.parseMaybeAssign(t),this.finishNode(c,"AssignmentExpression")}return n&&this.checkExpressionErrors(e,!0),r>-1&&(e.parenthesizedAssign=r),s>-1&&(e.trailingComma=s),a>-1&&(e.shorthandAssign=a),h},yt.parseMaybeConditional=function(t,e){var i=this.start,n=this.startLoc,r=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return r;if(this.eat(U.question)){var s=this.startNodeAt(i,n);return s.test=r,s.consequent=this.parseMaybeAssign(),this.expect(U.colon),s.alternate=this.parseMaybeAssign(t),this.finishNode(s,"ConditionalExpression")}return r},yt.parseExprOps=function(t,e){var i=this.start,n=this.startLoc,r=this.parseMaybeUnary(e,!1);return this.checkExpressionErrors(e)||r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,n,-1,t)},yt.parseExprOp=function(t,e,i,n,r){var s=this.type.binop;if(null!=s&&(!r||this.type!==U._in)&&s>n){var a=this.type===U.logicalOR||this.type===U.logicalAND,o=this.value;this.next();var p=this.start,h=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),p,h,s,r),l=this.buildBinary(e,i,t,c,o,a);return this.parseExprOp(l,e,i,n,r)}return t},yt.buildBinary=function(t,e,i,n,r,s){var a=this.startNodeAt(t,e);return a.left=i,a.operator=r,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},yt.parseMaybeUnary=function(t,e){var i,n=this.start,r=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowA
2waitOutsideFunction))i=this.parseAwait(),e=!0;else if(this.type.prefix){var s=this.startNode(),a=this.type===U.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,i=this.finishNode(s,a?"UpdateExpression":"UnaryExpression")}else{if(i=this.parseExprSubscripts(t),this.checkExpressionErrors(t))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(n,r);o.operator=this.value,o.prefix=!1,o.argument=i,this.checkLVal(i),this.next(),i=this.finishNode(o,"UpdateExpression")}}return!e&&this.eat(U.starstar)?this.buildBinary(n,r,i,this.parseMaybeUnary(null,!1),"**",!1):i},yt.parseExprSubscripts=function(t){var e=this.start,i=this.startLoc,n=this.parseExprAtom(t),r="ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(t)||r)return n;var s=this.parseSubscripts(n,e,i);return t&&"MemberExpression"===s.type&&(t.parenthesizedAssign>=s.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=s.start&&(t.parenthesizedBind=-1)),s},yt.parseSubscripts=function(t,e,i,n){for(var r=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,i,n,r);if(s===t||"ArrowFunctionExpression"===s.type)return s;t=s}},yt.parseSubscript=function(t,e,i,n,r){var s=this.eat(U.bracketL);if(s||this.eat(U.dot)){var a=this.startNodeAt(e,i);a.object=t,a.property=s?this.parseExpression():this.parseIdent(!0),a.computed=!!s,s&&this.expect(U.bracketR),t=this.finishNode(a,"MemberExpression")}else if(!n&&this.eat(U.parenL)){var o=new pt,p=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var l=this.parseExprList(U.parenR,this.options.ecmaVersion>=8,!1,o);if(r&&!this.canInsertSemicolon()&&this.eat(U.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=p,this.awaitPos=h,this.awaitIdentPos=c,this.parseArrowExpression(this.startNodeAt(e,i),l,!0);this.checkExpressionErrors(o,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=c||this.awaitIdentPos;var u=this.startNodeAt(e,i);u.callee=t,u.arguments=l,t=this.finishNode(u,"CallExpression")}else if(this.type===U.backQuote){var d=this.startNodeAt(e,i);d.tag=t,d.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(d,"TaggedTemplateExpression")}return t},yt.parseExprAtom=function(t){this.type===U.slash&&this.readRegexp();var e,i=this.potentialArrowAt===this.start;switch(this.type){case U._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),e=this.startNode(),this.next(),this.type!==U.parenL||this.allowDirectSuper||this.raise(e.start,"super() call outside constructor of a subclass"),this.type!==U.dot&&this.type!==U.bracketL&&this.type!==U.parenL&&this.unexpected(),this.finishNode(e,"Super");case U._this:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case U.name:var n=this.start,r=this.startLoc,s=this.containsEsc,a=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(U._function))return this.parseFunction(this.startNodeAt(n,r),0,!1,!0);if(i&&!this.canInsertSemicolon()){if(this.eat(U.arrow))return this.parseArrowExpression(this.startNodeAt(n,r),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===U.name&&!s)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(U.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,r),[a],!0)}return a;case U.regexp:var o=this.value;return(e=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},e;case U.num:case U.string:return this.parseLiteral(this.value);case U._null:case U._true:case U._false:return(e=this.startNode()).value=this.type===U._null?null:this.type===U._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case U.parenL:var p=this.start,h=this.parseParenAndDistinguishExpression(i);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(t.parenthesizedAssign=p),t.parenthesizedBind<0&&(t.parenthesizedBind=p)),h;case U.bracketL:return e=this.startNode(),this.next(),e.elements=this.parseExprList(U.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression");case U.braceL:return this.parseObj(!1,t);case U._function:return e=this.startNode(),this.next(),this.parseFunction(e,0);case U._class:return this.parseClass(this.startNode(),!1);case U._new:return this.parseNew();case U.backQuote:return this.parseTemplate();default:this.unexpected()}},yt.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")},yt.parseParenExpression=function(){this.expect(U.parenL);var t=this.parseExpression();return this.expect(U.parenR),t},yt.parseParenAndDistinguishExpression=function(t){var e,i=this.start,n=this.startLoc,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,p=[],h=!0,c=!1,l=new pt,u=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==U.parenR;){if(h?h=!1:this.expect(U.comma),r&&this.afterTrailingComma(U.parenR,!0)){c=!0;break}
2if(this.type===U.ellipsis){s=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===U.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(U.parenR),t&&!this.canInsertSemicolon()&&this.eat(U.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=d,this.parseParenArrowList(i,n,p);p.length&&!c||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,p.length>1?((e=this.startNodeAt(a,o)).expressions=p,this.finishNodeAt(e,"SequenceExpression",f,m)):e=p[0]}else e=this.parseParenExpression();if(this.options.preserveParens){var y=this.startNodeAt(i,n);return y.expression=e,this.finishNode(y,"ParenthesizedExpression")}return e},yt.parseParenItem=function(t){return t},yt.parseParenArrowList=function(t,e,i){return this.parseArrowExpression(this.startNodeAt(t,e),i)};var gt=[];yt.parseNew=function(){var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(U.dot)){t.meta=e;var i=this.containsEsc;return t.property=this.parseIdent(!0),("target"!==t.property.name||i)&&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,r=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(),n,r,!0),t.arguments=this.eat(U.parenL)?this.parseExprList(U.parenR,this.options.ecmaVersion>=8,!1):gt,this.finishNode(t,"NewExpression")},yt.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===U.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===U.backQuote,this.finishNode(i,"TemplateElement")},yt.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var n=this.parseTemplateElement({isTagged:e});for(i.quasis=[n];!n.tail;)this.type===U.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(U.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(U.braceR),i.quasis.push(n=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")},yt.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===U.name||this.type===U.num||this.type===U.string||this.type===U.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===U.star)&&!z.test(this.input.slice(this.lastTokEnd,this.start))},yt.parseObj=function(t,e){var i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(U.braceR);){if(n)n=!1;else if(this.expect(U.comma),this.afterTrailingComma(U.braceR))break;var s=this.parseProperty(t,e);t||this.checkPropClash(s,r,e),i.properties.push(s)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},yt.parseProperty=function(t,e){var i,n,r,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(U.ellipsis))return t?(a.argument=this.parseIdent(!1),this.type===U.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===U.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,e),this.type===U.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)&&(r=this.start,s=this.startLoc),t||(i=this.eat(U.star)));var o=this.containsEsc;return this.parsePropertyName(a),!t&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(a)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(U.star),this.parsePropertyName(a,e)):n=!1,this.parsePropertyValue(a,t,i,n,r,s,e,o),this.finishNode(a,"Property")}
2,yt.parsePropertyValue=function(t,e,i,n,r,s,a,o){(i||n)&&this.type===U.colon&&this.unexpected(),this.eat(U.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===U.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,n)):e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===U.comma||this.type===U.braceR?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||n)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t.kind="init",e?t.value=this.parseMaybeDefault(r,s,t.key):this.type===U.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(r,s,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected():((i||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"))},yt.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(U.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(U.bracketR),t.key;t.computed=!1}return t.key=this.type===U.num||this.type===U.string?this.parseExprAtom():this.parseIdent(!0)},yt.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},yt.parseMethod=function(t,e,i){var n=this.startNode(),r=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|nt(e,n.generator)|(i?128:0)),this.expect(U.parenL),n.params=this.parseBindingList(U.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},yt.parseArrowExpression=function(t,e,i){var n=this.yieldPos,r=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|nt(i,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),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=r,this.awaitIdentPos=s,this.finishNode(t,"ArrowFunctionExpression")},yt.parseFunctionBody=function(t,e,i){var n=this.strict,r=!1;if(e&&this.type!==U.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||(r=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=[],r&&(this.strict=!0),this.checkParams(t,!n&&!r&&!e&&!i&&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},yt.isSimpleParamList=function(t){for(var e=0,i=t;e<i.length;e+=1)if("Identifier"!==i[e].type)return!1;return!0},yt.checkParams=function(t,e){for(var i={},n=0,r=t.params;n<r.length;n+=1)this.checkLVal(r[n],1,e?null:i)},yt.parseExprList=function(t,e,i,n){for(var r=[],s=!0;!this.eat(t);){if(s)s=!1;else if(this.expect(U.comma),e&&this.afterTrailingComma(t))break;var a=void 0;i&&this.type===U.comma?a=null:this.type===U.ellipsis?(a=this.parseSpread(n),n&&this.type===U.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),r.push(a)}return r},yt.checkUnreserved=function(t){var e=t.start,i=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,i).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"))},yt.parseIdent=function(t,e){var i=this.startNode();return t&&"never"===this.options.allowReserved&&(t=!1),this.type===U.name?i.name=this.value:this.type.keyword?(i.name=this.type.keyword,"class"!==i.name&&"function"!==i.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(),this.finishNode(i,"Identifier"),t||(this.checkUnreserved(i),"await"!==i.name||this.awaitIdentPos||(this.awaitIdentPos=i.start)),i},yt.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===U.semi||this.canInsertSemicolon()||this.type!==U.star&&!this.t
vendor: 6,160 bytes, line 2
2ype.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(U.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},yt.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 vt=rt.prototype;vt.raise=function(t,e){var i=et(this.input,t),n=new SyntaxError(e+=" ("+i.line+":"+i.column+")");throw n.pos=t,n.loc=i,n.raisedAt=this.pos,n},vt.raiseRecoverable=vt.raise,vt.curPosition=function(){if(this.options.locations)return new Y(this.curLine,this.pos-this.lineStart)};var bt=rt.prototype,xt=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};bt.enterScope=function(t){this.scopeStack.push(new xt(t))},bt.exitScope=function(){this.scopeStack.pop()},bt.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},bt.declareName=function(t,e,i){var n=!1;if(2===e){var r=this.currentScope();n=r.lexical.indexOf(t)>-1||r.functions.indexOf(t)>-1||r.var.indexOf(t)>-1,r.lexical.push(t),this.inModule&&1&r.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(i,"Identifier '"+t+"' has already been declared")},bt.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},bt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},bt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(3&e.flags)return e}},bt.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 _t=function(t,e,i){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new tt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},kt=rt.prototype;function Et(t,e,i,n){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=n),this.options.ranges&&(t.range[1]=i),t}kt.startNode=function(){return new _t(this,this.start,this.startLoc)},kt.startNodeAt=function(t,e){return new _t(this,t,e)},kt.finishNode=function(t,e){return Et.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},kt.finishNodeAt=function(t,e,i,n){return Et.call(this,t,e,i,n)};var St=function(t,e,i,n,r){this.token=t,this.isExpr=!!e,this.preserveSpace=!!i,this.override=n,this.generator=!!r},wt={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)},Ct=rt.prototype;Ct.initialContext=function(){return[wt.b_stat]},Ct.braceIsBlock=function(t){var e=this.curContext();return e===wt.f_expr||e===wt.f_stat||(t!==U.colon||e!==wt.b_stat&&e!==wt.b_expr?t===U._return||t===U.name&&this.exprAllowed?z.test(this.input.slice(this.lastTokEnd,this.start)):t===U._else||t===U.semi||t===U.eof||t===U.parenR||t===U.arrow||(t===U.braceL?e===wt.b_stat:t!==U._var&&t!==U._const&&t!==U.name&&!this.exprAllowed):!e.isExpr)},Ct.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},Ct.updateContext=function(t){var e,i=this.type;i.keyword&&t===U.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},U.parenR.updateContext=U.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===wt.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},U.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?wt.b_stat:wt.b_expr),this.exprAllowed=!0},U.dollarBraceL.updateContext=function(){this.context.push(wt.b_tmpl),this.exprAllowed=!0},U.parenL.updateContext=function(t){this.context.push(t===U._if||t===U._for||t===U._with||t===U._while?wt.p_stat:wt.p_expr),this.exprAllowed=!0},U.incDec.updateContext=function(){},U._function.updateContext=U._class.updateContext=function(t){!t.beforeExpr||t===U.semi||t===U._else||t===U._return&&z.test(this.input.slice(this.lastTokEnd,this.start))||(t===U.colon||t===U.braceL)&&this.curContext()===wt.b_stat?this.context.push(wt.f_stat):this.context.push(wt.f_expr),this.exprAllowed=!1},U.backQuote.updateContext=function(){this.curContext()===wt.q_tmpl?this.context.pop():this.context.push(wt.q_tmpl),this.exprAllowed=!1},U.star.updateContext=function(t){if(t===U._function){var e=this.context.length-1;this.context[e]=this.context[e]===wt.f_expr?wt.f_expr_gen:wt.f_gen}this.exprAllowed=!0},U.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==U.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var At="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 L
2owercase 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",It={9:At,10:At+" Extended_Pictographic"},Nt="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",Pt={9:Lt,10:Lt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd"},Ot={};function Tt(t){var e=Ot[t]={binary:Q(It[t]+" "+Nt),nonBinary:{General_Category:Q(Nt),Script:Q(Pt[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}Tt(9),Tt(10);var jt=rt.prototype,Rt=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Ot[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 Bt(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 Dt(t){return t>=65&&t<=90||t>=97&&t<=122}function Ft(t){return Dt(t)||95===t}function Mt(t){return Ft(t)||Ut(t)}function Ut(t){return t>=48&&t<=57}function zt(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Wt(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function qt(t){return t>=48&&t<=55}
2Rt.prototype.reset=function(t,e,i){var n=-1!==i.indexOf("u");this.start=0|t,this.source=e+"",this.flags=i,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},Rt.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},Rt.prototype.at=function(t){var e=this.source,i=e.length;if(t>=i)return-1;var n=e.charCodeAt(t);return!this.switchU||n<=55295||n>=57344||t+1>=i?n:(n<<10)+e.charCodeAt(t+1)-56613888},Rt.prototype.nextIndex=function(t){var e=this.source,i=e.length;if(t>=i)return i;var n=e.charCodeAt(t);return!this.switchU||n<=55295||n>=57344||t+1>=i?t+1:t+2},Rt.prototype.current=function(){return this.at(this.pos)},Rt.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},Rt.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},Rt.prototype.eat=function(t){return this.current()===t&&(this.advance(),!0)},jt.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,n=0;n<i.length;n++){var r=i.charAt(n);-1===e.indexOf(r)&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(r,n+1)>-1&&this.raise(t.start,"Duplicate regular expression flag")}},jt.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))},jt.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,i=t.backReferenceNames;e<i.length;e+=1)-1===t.groupNames.indexOf(i[e])&&t.raise("Invalid named capture referenced")},jt.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")},jt.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},jt.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)},jt.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 i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1},jt.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},jt.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},jt.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(t)&&(n=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue),t.eat(125)))return-1!==r&&r<n&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1},jt.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)},jt.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},jt.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},jt.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},jt.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)},jt.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},jt.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!Vt(e)&&(t.lastIntValue=e,t.advance(),!0)},jt.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;-1!==(i=t.current())&&!Vt(i);)t.advance();return t.pos!==e},jt.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return!(-1===e||36===e||e>
2=40&&e<=43||46===e||63===e||91===e||94===e||124===e||(t.advance(),0))},jt.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")}},jt.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},jt.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=Bt(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=Bt(t.lastIntValue);return!0}return!1},jt.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=t.current();return t.advance(),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(i=t.lastIntValue),function(t){return T(t,!0)||36===t||95===t}(i)?(t.lastIntValue=i,!0):(t.pos=e,!1)},jt.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=t.current();return t.advance(),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(i=t.lastIntValue),function(t){return j(t,!0)||36===t||95===t||8204===t||8205===t}(i)?(t.lastIntValue=i,!0):(t.pos=e,!1)},jt.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)},jt.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1},jt.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},jt.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)},jt.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},jt.regexp_eatZero=function(t){return 48===t.current()&&!Ut(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},jt.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)},jt.regexp_eatControlLetter=function(t){var e=t.current();return!!Dt(e)&&(t.lastIntValue=e%32,t.advance(),!0)},jt.regexp_eatRegExpUnicodeEscapeSequence=function(t){var e,i=t.pos;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(t.switchU&&n>=55296&&n<=56319){var r=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=r,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=i}return!1},jt.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))},jt.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},jt.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_eatUnicodePropertyValueE
vendor: 9,882 bytes, line 2
2xpression(t)&&t.eat(125))return!0;t.raise("Invalid property name")}return!1},jt.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t))return this.regexp_validateUnicodePropertyNameAndValue(t,i,t.lastStringValue),!0}return t.pos=e,!!this.regexp_eatLoneUnicodePropertyNameOrValue(t)&&(this.regexp_validateUnicodePropertyNameOrValue(t,t.lastStringValue),!0)},jt.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){K(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(i)||t.raise("Invalid property value")},jt.regexp_validateUnicodePropertyNameOrValue=function(t,e){t.unicodeProperties.binary.test(e)||t.raise("Invalid property name")},jt.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";Ft(e=t.current());)t.lastStringValue+=Bt(e),t.advance();return""!==t.lastStringValue},jt.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";Mt(e=t.current());)t.lastStringValue+=Bt(e),t.advance();return""!==t.lastStringValue},jt.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},jt.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},jt.regexp_classRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;!t.switchU||-1!==e&&-1!==i||t.raise("Invalid character class"),-1!==e&&-1!==i&&e>i&&t.raise("Range out of order in character class")}}},jt.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||qt(i))&&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)},jt.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)},jt.regexp_eatClassControlLetter=function(t){var e=t.current();return!(!Ut(e)&&95!==e||(t.lastIntValue=e%32,t.advance(),0))},jt.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},jt.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;Ut(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e},jt.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;zt(i=t.current());)t.lastIntValue=16*t.lastIntValue+Wt(i),t.advance();return t.pos!==e},jt.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;t.lastIntValue=e<=3&&this.regexp_eatOctalDigit(t)?64*e+8*i+t.lastIntValue:8*e+i}else t.lastIntValue=e;return!0}return!1},jt.regexp_eatOctalDigit=function(t){var e=t.current();return qt(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},jt.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var n=0;n<e;++n){var r=t.current();if(!zt(r))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+Wt(r),t.advance()}return!0};var Ht=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new tt(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Zt=rt.prototype;function Jt(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}Zt.next=function(){this.options.onToken&&this.options.onToken(new Ht(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Zt.getToken=function(){return this.next(),new Ht(this)},"undefined"!=typeof Symbol&&(Zt[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===U.eof,value:e}}}}),Zt.curContext=function(){return this.context[this.context.length-1]},Zt.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(U.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},Zt.readToken=function(t){return T(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},Zt.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);return t<=55295||t>=57344?t:(t<<10)+this.input.charCodeAt(this.pos+1)-56613888},Zt.skipBlockComment=function(){var t,e=this.options.onComment&&this.curPosition(),i=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(W.lastIndex=i;(t=W.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(i+2,n),i,this.pos,e,this.curPosition())},Zt.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!q(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())},Zt.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&&H.test(String.fromCharCode(t))))break t;++this.pos}}},Zt.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},Zt.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(U.ellipsis)):(++this.pos,this.finishToken(U.dot))},Zt.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(U.assign,2):this.finishOp(U.slash,1)},Zt.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,n=42===t?U.star:U.modulo;return this.options.ecmaVersion>=7&&42===t&&42===e&&(++i,n=U.starstar,e=this.input.charCodeAt(this.pos+2)),61===e?this.finishOp(U.assign,i+1):this.finishOp(n,i)},Zt.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.finishOp(124===t?U.logicalOR:U.logicalAND,2):61===e?this.finishOp(U.assign,2):this.finishOp(124===t?U.bitwiseOR:U.bitwiseAND,1)},Zt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(U.assign,2):this.finishOp(U.bitwiseXOR,1)},Zt.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&&!z.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(U.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===e?this.finishOp(U.assign,2):this.finishOp(U.plusMin,1)},Zt.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;return e===t?(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(U.assign,i+1):this.finishOp(U.bitShift,i)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(i=2),this.finishOp(U.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Zt.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(U.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(U.arrow)):this.finishOp(61===t?U.eq:U.prefix,1)},Zt.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(U.parenL);case 41:return++this.pos,this.finishToken(U.parenR);case 59:return++this.pos,this.finishToken(U.semi);case 44:return++this.pos,this.finishToken(U.comma);case 91:return++this.pos,this.finishToken(U.bracketL);case 93:return++this.pos,this.finishToken(U.bracketR);case 123:return++this.pos,this.finishToken(U.braceL);case 125:return++this.pos,this.finishToken(U.braceR);case 58:return++this.pos,this.finishToken(U.colon);case 63:return++this.pos,this.finishToken(U.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(U.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);
2case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(U.prefix,1)}this.raise(this.pos,"Unexpected character '"+Jt(t)+"'")},Zt.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)},Zt.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(z.test(n)&&this.raise(i,"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 r=this.input.slice(i,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new Rt(this));o.reset(i,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var p=null;try{p=new RegExp(r,a)}catch(t){}return this.finishToken(U.regexp,{pattern:r,flags:a,value:p})},Zt.readInt=function(t,e){for(var i=this.pos,n=0,r=0,s=null==e?1/0:e;r<s;++r){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===i||null!=e&&this.pos-i!==e?null:n},Zt.readRadixNumber=function(t){this.pos+=2;var e=this.readInt(t);return null==e&&this.raise(this.start+2,"Expected number in radix "+t),T(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(U.num,e)},Zt.readNumber=function(t){var e=this.pos;t||null!==this.readInt(10)||this.raise(e,"Invalid number");var i=this.pos-e>=2&&48===this.input.charCodeAt(e);i&&this.strict&&this.raise(e,"Invalid number"),i&&/[89]/.test(this.input.slice(e,this.pos))&&(i=!1);var n=this.input.charCodeAt(this.pos);46!==n||i||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||i||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number")),T(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r=this.input.slice(e,this.pos),s=i?parseInt(r,8):parseFloat(r);return this.finishToken(U.num,s)},Zt.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},Zt.readString=function(t){for(var e="",i=++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(i,this.pos),e+=this.readEscapedChar(!1),i=this.pos):(q(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(U.string,e)};var Xt={};Zt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(k){if(k!==Xt)throw k;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Zt.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Xt;this.raise(t,e)},Zt.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==U.template&&this.type!==U.invalidTemplate?(t+=this.input.slice(e,this.pos),this.finishToken(U.template,t)):36===i?(this.pos+=2,this.finishToken(U.dollarBraceL)):(++this.pos,this.finishToken(U.backQuote));if(92===i)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(q(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},Zt.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(U.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Zt.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 Jt(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 i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,e=this.input.charCodeAt(this.pos),"0"===i&&56!==e&&57!==e||!this.strict&&!t||this.invalidStringToken(this.pos-1-i.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return q(e)?"":String.fromCharCode(e)}},Zt.readHexChar=function(t){var e=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(e,"Bad character escape sequence"),i},Zt.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(j(r,n))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,t+=this.input.slice(i,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?T:j)(a,n)||this.invalidStringToken(s,"Invalid Unicode escape"),t+=Jt(a),i=this.pos}e=!1}return t+this.input.slice(i,this.pos)},Zt.readWord=function(){var t=this.readWord1(),e=U.name;return this.keywords.test(t)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+t),e=F[t]),this.finishToken(e,t)};var $t={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",A
2circ:"\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"},Kt={version:"6.1.1",parse:function(t,e){return rt.parse(t,e)},parseExpressionAt:function(t,e,i){return rt.parseExpressionAt(t,e,i)},tokenizer:function(t,e){return rt.tokenizer(t,e)},Parser:rt,defaultOptions:it,Position:Y,SourceLocation:tt,getLineInfo:et,Node:_t,TokenType:R,tokTypes:U,keywordTypes:F,TokContext:St,tokContexts:wt,isIdentifierChar:j,isIdentifierStart:T,Token:Ht,isNewLine:q,lineBreak:z,lineBreakG:W,nonASCIIwhitespace:H};const Gt=/^[\da-fA-F]+$/,Qt=/^\d+$/,Yt=Kt.tokTypes,te=Kt.TokContext,ee=Kt.tokContexts,ie=Kt.TokenType,ne=Kt.isNewLine,re=Kt.isIdentifierStart,se=Kt.isIdentifierChar,ae=new te("<tag",!1),oe=new te("</tag",!1),pe=new te("<tag>...</tag>",!0,!0),he={jsxName:new ie("jsxName"),jsxText:new ie("jsxText",{beforeExpr:!0}),jsxTagStart:new ie("jsxTagStart"),jsxTagEnd:new ie("jsxTagEnd")};function ce(t){return t?"JSXIdentifier"===t.type?t.name:"JSXNamespacedName"===t.type?t.namespace.name+":"+t.name.name:"JSXMemberExpression"===t.type?ce(t.object)+"."+ce(t.property):void 0:t}he.jsxTagStart.updateContext=function(){this.context.push(pe),this.context.push(ae),this.exprAllowed=!1},he.jsxTagEnd.updateContext=function(t){let e=this.context.pop();e===ae&&t===Yt.slash||e===oe?(this.context.pop(),this.exprAllowed=this.curContext()===pe):this.exprAllowed=!0};var le=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 i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(he.jsxTagStart)):this.getTokenFromCode(i):(t+=this.input.slice(e,this.pos),this.finishToken(he.jsxText,t));case 38:t+=this.input.slice(e,this.pos),t+=this.jsx_readEntity(),e=this.pos;break;default:ne(i)?(t+=this.input.slice(e,this.pos),t+=this.jsx_readNewLine(!0),e=this.pos):++this.pos}}}jsx_readNewLine(t){let e,i=this.input.charCodeAt(this.pos);return++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,e=t?"\n":"\r\n"):e=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),e}jsx_readString(t){let e="",i=++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(i,this.pos),e+=this.jsx_readEntity(),i=this.pos):ne(n)?(e+=this.input.slice(i,this.pos),e+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return e+=this.input.slice(i,this.pos++),this.finishToken(Yt.string,e)}jsx_readEntity(){let t,e="",i=0,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");let r=++this.pos;for(;this.pos<this.input.length&&i++<10;){if(";"===(n=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),Gt.test(e)&&(t=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),Qt.test(e)&&(t=String.fromCharCode(parseInt(e,10)))):t=$t[e];break}e+=n}return t||(this.pos=r,"&")}jsx_readWord(){let t,e=this.pos;do{t=this.input.charCodeAt(++this.pos)}while(se(t)||45===t);return this.finishToken(he.jsxName,this.input.slice(e,this.pos))}jsx_parseIdentifier(){let t=this.startNode();return this.type===he.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,i=this.startLoc,n=this.jsx_parseIdentifier();if(!t.allowNamespaces||!this.eat(Yt.colon))return n;var r=this.startNodeAt(e,i);return r.namespace=n,r.name=this.jsx_parseIdentifier(),this.finishNode(r,"JSXNamespacedName")}
2jsx_parseElementName(){if(this.type===he.jsxTagEnd)return"";let e=this.start,i=this.startLoc,n=this.jsx_parseNamespacedName();for(this.type!==Yt.dot||"JSXNamespacedName"!==n.type||t.allowNamespacedObjects||this.unexpected();this.eat(Yt.dot);){let t=this.startNodeAt(e,i);t.object=n,t.property=this.jsx_parseIdentifier(),n=this.finishNode(t,"JSXMemberExpression")}return n}jsx_parseAttributeValue(){switch(this.type){case Yt.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 he.jsxTagStart:case Yt.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===Yt.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(Yt.braceR),this.finishNode(t,"JSXExpressionContainer")}jsx_parseAttribute(){let t=this.startNode();return this.eat(Yt.braceL)?(this.expect(Yt.ellipsis),t.argument=this.parseMaybeAssign(),this.expect(Yt.braceR),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsx_parseNamespacedName(),t.value=this.eat(Yt.eq)?this.jsx_parseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsx_parseOpeningElementAt(t,e){let i=this.startNodeAt(t,e);i.attributes=[];let n=this.jsx_parseElementName();for(n&&(i.name=n);this.type!==Yt.slash&&this.type!==he.jsxTagEnd;)i.attributes.push(this.jsx_parseAttribute());return i.selfClosing=this.eat(Yt.slash),this.expect(he.jsxTagEnd),this.finishNode(i,n?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(t,e){let i=this.startNodeAt(t,e),n=this.jsx_parseElementName();return n&&(i.name=n),this.expect(he.jsxTagEnd),this.finishNode(i,n?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(t,e){let i=this.startNodeAt(t,e),n=[],r=this.jsx_parseOpeningElementAt(t,e),s=null;if(!r.selfClosing){t:for(;;)switch(this.type){case he.jsxTagStart:if(t=this.start,e=this.startLoc,this.next(),this.eat(Yt.slash)){s=this.jsx_parseClosingElementAt(t,e);break t}n.push(this.jsx_parseElementAt(t,e));break;case he.jsxText:n.push(this.parseExprAtom());break;case Yt.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}ce(s.name)!==ce(r.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+ce(r.name)+">")}let a=r.name?"Element":"Fragment";return i["opening"+a]=r,i["closing"+a]=s,i.children=n,this.type===Yt.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(i,"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===he.jsxText?this.jsx_parseText(this.value):this.type===he.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(t)}readToken(t){let e=this.curContext();if(e===pe)return this.jsx_readToken();if(e===ae||e===oe){if(re(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(he.jsxTagEnd);if((34===t||39===t)&&e==ae)return this.jsx_readString(t)}return 60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(he.jsxTagStart)):super.readToken(t)}updateContext(t){if(this.type==Yt.braceL){var e=this.curContext();e==ae?this.context.push(ee.b_expr):e==pe?this.context.push(ee.b_tmpl):super.updateContext(t),this.exprAllowed=!0}else{if(this.type!==Yt.slash||t!==he.jsxTagStart)return super.updateContext(t);this.context.length-=2,this.context.push(oe),this.exprAllowed=!1}}}}({allowNamespaces:!1!==t.allowNamespaces,allowNamespacedObjects:!!t.allowNamespacedObjects},e)}};le.tokTypes=he;var ue,de,fe=(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicImportKey=void 0;var i=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
2return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),n=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,i,n)}if("value"in r)return r.value;var a=r.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),i(s,[{key:"parseStatement",value:function(t,e,i){return this.type===Kt.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,i)}},{key:"parseExprAtom",value:function(t){return this.type===Kt.tokTypes._import?function(){var t=this.startNode();return this.next(),this.type!==Kt.tokTypes.parenL&&this.unexpected(),this.finishNode(t,r)}.call(this):n(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"parseExprAtom",this).call(this,t)}}]),s}()};var r=e.DynamicImportKey="Import";Kt.tokTypes._import.startsExpr=!0}(ue={exports:{}},ue.exports),(de=ue.exports)&&de.__esModule&&Object.prototype.hasOwnProperty.call(de,"default")?de.default:de);const me=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ye=Kt.tokTypes;function ge(t){if(this.eat(ye.eq)){const e=this._inFieldValue;this._inFieldValue=!0,t.value=this.parseExpression(),this._inFieldValue=e}else t.value=null}function ve(){const t=this.startNode();return t.name=this.value,this.next(),this.finishNode(t,"PrivateName"),"never"==this.options.allowReserved&&this.checkUnreserved(t),t}const be=new(0,Kt.TokenType)("privateName");function xe(t){var e="";t=t<0?-t<<1|1:t<<1;do{var i=31&t;(t>>=5)>0&&(i|=32),e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[i]}while(t>0);return e}var _e=function(t,e,i){this.start=t,this.end=e,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};_e.prototype.appendLeft=function(t){this.outro+=t},_e.prototype.appendRight=function(t){this.intro=this.intro+t},_e.prototype.clone=function(){var t=new _e(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},_e.prototype.contains=function(t){return this.start<t&&t<this.end},_e.prototype.eachNext=function(t){for(var e=this;e;)t(e),e=e.next},_e.prototype.eachPrevious=function(t){for(var e=this;e;)t(e),e=e.previous},_e.prototype.edit=function(t,e,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this},_e.prototype.prependLeft=function(t){this.outro=t+this.outro},_e.prototype.prependRight=function(t){this.intro=t+this.intro},_e.prototype.split=function(t){var e=t-this.start,i=this.original.slice(0,e),n=this.original.slice(e);this.original=i;var r=new _e(t,this.end,n);return r.outro=this.outro,this.outro="",this.end=t,this.edited?(r.edit("",!1),this.content=""):this.content=i,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r},_e.prototype.toString=function(){return this.intro+this.content+this.outro},_e.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)},_e.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 ke=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};"undefined"!=typeof window&&"function"==typeof window.btoa?ke=function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"function"==typeof Buffer&&(ke=function(t){return Buffer.from(t,"utf-8").toString("base64")});var Ee=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,i=0,n=0,r=0,s="",a=0;a<t.length;a++){var o=t[a];if(a>0&&(s+=";"),0!==o.length){for(var p=0,h=[],c=0,l=o;c<l.length;c++){var u=l[c],d=xe(u[0]-p);p=u[0],u.length>1&&(d+=xe(u[1]-e)+xe(u[2]-i)+xe(u[3]-n),e=u[1],i=u[2],n=u[3]),5===u.length&&(d+=xe(u[4]-r),r=u[4]),h.push(d)}s+=h.join(",")}}return s}(t.mappings)};function Se(t){var e=t.split("\n"),i=e.filter((function(t){return/^\t+/.test(t)})),n=e.filter((function(t){return/^ {2,}/.test(t)}));if(0===i.length&&0===n.length)return null;if(i.length>=n.length)return"\t";var r=n.reduce((function(t,e){var i=/^ +/.exec(e)[0].length;return Math.min(i,t)}),1/0);return new Array(r+1).join(" ")}function we(t,e){var i=t.split(/[\/\\]/),n=e.split(/[\/\\]/);for(i.pop();i[0]===n[0];)i.shift(),n.shift();if(i.length)for(var r=i.length;r--;)i[r]="..";return i.concat(n).join("/")}Ee.prototype.toString=function(){return JSON.stringify(this)},Ee.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+ke(this.toString())};
2var Ce=Object.prototype.toString;function Ae(t){for(var e=t.split("\n"),i=[],n=0,r=0;n<e.length;n++)i.push(r),r+=e[n].length+1;return function(t){for(var e=0,n=i.length;e<n;){var r=e+n>>1;t<i[r]?n=r:e=r+1}var s=e-1;return{line:s,column:t-i[s]}}}var Ie=function(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};Ie.prototype.addEdit=function(t,e,i,n){if(e.length){var r=[this.generatedCodeColumn,t,i.line,i.column];n>=0&&r.push(n),this.rawSegments.push(r)}else this.pending&&this.rawSegments.push(this.pending);this.advance(e),this.pending=null},Ie.prototype.addUneditedChunk=function(t,e,i,n,r){for(var s=e.start,a=!0;s<e.end;)(this.hires||a||r[s])&&this.rawSegments.push([this.generatedCodeColumn,t,n.line,n.column]),"\n"===i[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]},Ie.prototype.advance=function(t){if(t){var e=t.split("\n");if(e.length>1){for(var i=0;i<e.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}};var Ne="\n",Le={insertLeft:!1,insertRight:!1,storeName:!1},Pe=function(t,e){void 0===e&&(e={});var i=new _e(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},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]=i,this.byEnd[t.length]=i};function Oe(t){var e={};return Object.keys(t).forEach((function(i){"parent"!==i&&"program"!==i&&"keys"!==i&&"__wrapped"!==i&&(e[i]=Array.isArray(t[i])?t[i].map(Oe):t[i]&&t[i].toJSON?t[i].toJSON():t[i])})),e}Pe.prototype.addSourcemapLocation=function(t){this.sourcemapLocations[t]=!0},Pe.prototype.append=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.outro+=t,this},Pe.prototype.appendLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var i=this.byEnd[t];return i?i.appendLeft(e):this.intro+=e,this},Pe.prototype.appendRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var i=this.byStart[t];return i?i.appendRight(e):this.outro+=e,this},Pe.prototype.clone=function(){for(var t=new Pe(this.original,{filename:this.filename}),e=this.firstChunk,i=t.firstChunk=t.lastSearchedChunk=e.clone();e;){t.byStart[i.start]=i,t.byEnd[i.end]=i;var n=e.next,r=n&&n.clone();r&&(i.next=r,r.previous=i,i=r),e=n}return t.lastChunk=i,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach((function(e){t.sourcemapLocations[e]=!0})),t},Pe.prototype.generateDecodedMap=function(t){var e=this;t=t||{};var i=Object.keys(this.storedNames),n=new Ie(t.hires),r=Ae(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext((function(t){var s=r(t.start);t.intro.length&&n.advance(t.intro),t.edited?n.addEdit(0,t.content,s,t.storeName?i.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?we(t.file||"",t.source):null],sourcesContent:t.includeContent?[this.original]:[null],names:i,mappings:n.raw}},Pe.prototype.generateMap=function(t){return new Ee(this.generateDecodedMap(t))}
2,Pe.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},Pe.prototype.indent=function(t,e){var i=/^[^\r\n]/gm;if("[object Object]"===Ce.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 r=!1!==e.indentStart,s=function(e){return r?""+t+e:(r=!0,e)};this.intro=this.intro.replace(i,s);for(var a=0,o=this.firstChunk;o;){var p=o.end;if(o.edited)n[a]||(o.content=o.content.replace(i,s),o.content.length&&(r="\n"===o.content[o.content.length-1]));else for(a=o.start;a<p;){if(!n[a]){var h=this.original[a];"\n"===h?r=!0:"\r"!==h&&r&&(r=!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(i,s),this},Pe.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},Pe.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)},Pe.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)},Pe.prototype.move=function(t,e,i){if(i>=t&&i<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(i);var n=this.byStart[t],r=this.byEnd[e],s=n.previous,a=r.next,o=this.byStart[i];if(!o&&r===this.lastChunk)return this;var p=o?o.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),p&&(p.next=n),o&&(o.previous=r),n.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=p,r.next=o||null,p||(this.firstChunk=n),o||(this.lastChunk=r),this},Pe.prototype.overwrite=function(t,e,i,n){if("string"!=typeof i)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 r=void 0!==n&&n.storeName,s=void 0!==n&&n.contentOnly;if(r){var a=this.original.slice(t,e);this.storedNames[a]=!0}var o=this.byStart[t],p=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(i,r,s),o!==p){for(var h=o.next;h!==p;)h.edit("",!1),h=h.next;h.edit("",!1)}}else{var c=new _e(t,e,"").edit(i,r);p.next=c,c.previous=p}return this},Pe.prototype.prepend=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this},Pe.prototype.prependLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var i=this.byEnd[t];return i?i.prependLeft(e):this.intro=e+this.intro,this},Pe.prototype.prependRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var i=this.byStart[t];return i?i.prependRight(e):this.outro=e+this.outro,this},Pe.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 i=this.byStart[t];i;)i.intro="",i.outro="",i.edit(""),i=e>i.end?this.byStart[i.end]:null;return this},Pe.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]:""},Pe.prototype.lastLine=function(){var t=this.outro.lastIndexOf(Ne);if(-1!==t)return this.outro.substr(t+1);var e=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(-1!==(t=i.outro.lastIndexOf(Ne)))return i.outro.substr(t+1)+e;e=i.outro+e}if(i.content.length>0){if(-1!==(t=i.content.lastIndexOf(Ne)))return i.content.substr(t+1)+e;e=i.content+e}if(i.intro.length>0){if(-1!==(t=i.intro.lastIndexOf(Ne)))return i.intro.substr(t+1)+e;e=i.intro+e}}while(i=i.previous);return-1!==(t=this.intro.lastIndexOf(Ne))?this.intro.substr(t+1)+e:this.intro+e},Pe.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 i="",n=this.firstChunk;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error("Cannot use replaced character "+t+" as slice start anchor.");for(var r=n;n;){!n.intro||r===n&&n.start!==t||(i+=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(i+=n.content.slice(r===n?t-n.start:0,s?n.content.length+e-n.end:n.content.length),!n.outro||s&&n.end!==e||(i+=n.outro),s)break;n=n.next}return i},Pe.prototype.snip=function(t,e){var i=this.clone();return i.remove(0,t),i.remove(e,i.original.length),i},Pe.prototype._split=function(t){if(!this.byStart[t]&&!this.byEnd[t])for(var e=this.lastSearchedChunk,i=t>e.end;e;){if(e.contains(t))return this._splitChunk(e,t);e=i?this.byStart[e.end]:this.byEnd[e.start]}},Pe.prototype._splitChunk=function(t,e){if(t.edited&&t.content.length){var i=Ae
2(this.original)(e);throw new Error("Cannot split a chunk that has already been edited ("+i.line+":"+i.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},Pe.prototype.toString=function(){for(var t=this.intro,e=this.firstChunk;e;)t+=e.toString(),e=e.next;return t+this.outro},Pe.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},Pe.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},Pe.prototype.trimLines=function(){return this.trim("[\\r\\n]")},Pe.prototype.trim=function(t){return this.trimStart(t).trimEnd(t)},Pe.prototype.trimEndAborted=function(t){var e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var i=this.lastChunk;do{var n=i.end,r=i.trimEnd(e);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.previous}while(i);return!1},Pe.prototype.trimEnd=function(t){return this.trimEndAborted(t),this},Pe.prototype.trimStartAborted=function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var i=this.firstChunk;do{var n=i.end,r=i.trimStart(e);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.next}while(i);return!1},Pe.prototype.trimStart=function(t){return this.trimStartAborted(t),this};var Te=function(){};function je(t){var e=[];return Re[t.type](e,t),e}Te.prototype.ancestor=function(t){for(var e=this;t--;)if(!(e=e.parent))return null;return e},Te.prototype.contains=function(t){for(;t;){if(t===this)return!0;t=t.parent}return!1},Te.prototype.findLexicalBoundary=function(){return this.parent.findLexicalBoundary()},Te.prototype.findNearest=function(t){return"string"==typeof t&&(t=new RegExp("^"+t+"$")),t.test(this.type)?this:this.parent.findNearest(t)},Te.prototype.unparenthesizedParent=function(){for(var t=this.parent;t&&"ParenthesizedExpression"===t.type;)t=t.parent;return t},Te.prototype.unparenthesize=function(){for(var t=this;"ParenthesizedExpression"===t.type;)t=t.expression;return t},Te.prototype.findScope=function(t){return this.parent.findScope(t)},Te.prototype.getIndentation=function(){return this.parent.getIndentation()},Te.prototype.initialise=function(t){for(var e=0,i=this.keys;e<i.length;e+=1){var n=this[i[e]];Array.isArray(n)?n.forEach((function(e){return e&&e.initialise(t)})):n&&"object"==typeof n&&n.initialise(t)}},Te.prototype.toJSON=function(){return Oe(this)},Te.prototype.toString=function(){return this.program.magicString.original.slice(this.start,this.end)},Te.prototype.transpile=function(t,e){for(var i=0,n=this.keys;i<n.length;i+=1){var r=this[n[i]];Array.isArray(r)?r.forEach((function(i){return i&&i.transpile(t,e)})):r&&"object"==typeof r&&r.transpile(t,e)}};var Re={Identifier:function(t,e){t.push(e)},ObjectPattern:function(t,e){for(var i=0,n=e.properties;i<n.length;i+=1){var r=n[i];Re[r.type](t,r)}},Property:function(t,e){Re[e.value.type](t,e.value)},ArrayPattern:function(t,e){for(var i=0,n=e.elements;i<n.length;i+=1){var r=n[i];r&&Re[r.type](t,r)}},RestElement:function(t,e){Re[e.argument.type](t,e.argument)},AssignmentPattern:function(t,e){Re[e.left.type](t,e.left)}},Be=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 De(t,e){for(var i="";e--;)i+=t;return i}function Fe(t,e,i){void 0===i&&(i=1);var n=Math.max(e.line-5,0),r=e.line,s=String(r).length,a=t.split("\n").slice(n,r),o=a[a.length-1].slice(0,e.column).replace(/\t/g,"  ").length;return a.map((function(t,e){return i=s,(r=String(e+n+1))+De(" ",i-r.length)+" : "+t.replace(/\t/g,"  ");var i,r})).join("\n")+"\n"+De(" ",s+3+o)+De("^",i)}"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 Be[t]=!0})),Ve.prototype={addDeclaration:function(t,e){for(var i=0,n=je(t);i<n.length;i+=1){var r=n[i],s=r.name,a={name:s,node:r,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,}/,"_"),i=1;this.declarations[e]||this.references[e]||this.aliases[e]||e in Be;)e=t+"$"+i++;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 Me=function(t){function e(e,i){if(t.call(this,e),this.name="CompileError",i){var n=i.program.magicString.original,r=function(t,e){var i,n=t.split("\n"),r=n.length,s=0;for(i=0;i<r;i+=1){var a=s+n[i].length+1;if(a>e)return{line:i+1,column:e-s,char:i};s=a}throw new Error("Could not determine location of character")}(n,i.start);this.message=e+" ("+r.line+":"+r.column+")",this.stack=(new t).stack.replace(new RegExp(".+new "+this.name+".+\\n","m"),""),this.loc=r,this.snippet=Fe(n,r,i.end-i.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,i,n,r){throw void 0===r&&(r=null),new e("Transforming "+t+" is not "+(r?"fully supported":"implemented")+". Use `transforms: { "+i+": false }` to skip transformation and disable this error"+(r?", or `transforms: { "+r+": true }
2` if you know what you're doing":"")+".",n)},e}(Error);function Ue(t,e){for(var i=0;i<t.length;i+=1)if(e(t[i],i))return i;return-1}var ze={Identifier:qe,AssignmentPattern:function(t,e,i,n,r,s,a){var o="Identifier"===n.left.type,p=o?n.left.name:r;s||a.push((function(e,i,r){t.prependRight(n.left.end,i+"if ( "+p+" === void 0 ) "+p),t.move(n.left.end,n.right.end,e),t.appendLeft(n.right.end,r)})),o||We(t,e,i,n.left,r,s,a)},ArrayPattern:function(t,e,i,n,r,s,a){var o=n.start;n.elements.forEach((function(n,p){n&&("RestElement"===n.type?Ze(t,e,i,o,n.argument,r+".slice("+p+")",s,a):Ze(t,e,i,o,n,r+"["+p+"]",s,a),o=n.end)})),t.remove(o,n.end)},ObjectPattern:He};function We(t,e,i,n,r,s,a){ze[n.type](t,e,i,n,r,s,a)}function qe(t,e,i,n,r,s,a){a.push((function(e,a,o){t.overwrite(n.start,n.end,(s?a:a+"var ")+i(n)+" = "+r+o),t.move(n.start,n.end,e)}))}function He(t,e,i,n,r,s,a){var o=this,p=n.start,h=[];n.properties.forEach((function(n){var c,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);c=r+"["+u+"]",h.push("String("+u+")")}else c=r+"["+n.key.raw+"]",h.push(JSON.stringify(String(n.key.value)));else c=r+"."+n.key.name,h.push('"'+n.key.name+'"');else{if("RestElement"!==n.type)throw new Me(o,"Unexpected node of type "+n.type+" in object pattern");l=n.argument,c=e("rest"),a.push((function(e,i,a){var o=n.program.getObjectWithoutPropertiesHelper(t);t.overwrite(n.start,p=n.argument.start,(s?i:i+"var ")+c+" = "+o+"( "+r+", ["+h.join(", ")+"] )"+a),t.move(n.start,p,e)}))}Ze(t,e,i,p,l,c,s,a),p=n.end})),t.remove(p,n.end)}function Ze(t,e,i,n,r,s,a,o){switch(r.type){case"Identifier":t.remove(n,r.start),qe(t,0,i,r,s,a,o);break;case"MemberExpression":t.remove(n,r.start),function(t,e,i,n,r,s,a){a.push((function(e,i,s){t.prependRight(n.start,i),t.appendLeft(n.end," = "+r+s),t.move(n.start,n.end,e)}))}(t,0,0,r,s,0,o);break;case"AssignmentPattern":var p,h="Identifier"===r.left.type;p=h?i(r.left):e(s),o.push((function(e,i,n){a?(t.prependRight(r.right.start,p+" = "+s+", "+p+" = "+p+" === void 0 ? "),t.appendLeft(r.right.end," : "+p+n)):(t.prependRight(r.right.start,i+"var "+p+" = "+s+"; if ( "+p+" === void 0 ) "+p+" = "),t.appendLeft(r.right.end,n)),t.move(r.right.start,r.right.end,e)})),h?t.remove(n,r.right.start):(t.remove(n,r.left.start),t.remove(r.left.end,r.right.start),Ze(t,e,i,n,r.left,p,a,o));break;case"ObjectPattern":t.remove(n,n=r.start);var c=s;r.properties.length>1&&(c=e(s),o.push((function(e,i,o){t.prependRight(r.start,(a?"":i+"var ")+c+" = "),t.overwrite(r.start,n=r.start+1,s),t.appendLeft(n,o),t.overwrite(r.start,n=r.start+1,(a?"":i+"var ")+c+" = "+s+o),t.move(r.start,n,e)}))),He(t,e,i,r,c,a,o);break;case"ArrayPattern":if(t.remove(n,n=r.start),r.elements.filter(Boolean).length>1){var l=e(s);o.push((function(e,i,o){t.prependRight(r.start,(a?"":i+"var ")+l+" = "),t.overwrite(r.start,n=r.start+1,s,{contentOnly:!0}),t.appendLeft(n,o),t.move(r.start,n,e)})),r.elements.forEach((function(r,s){r&&("RestElement"===r.type?Ze(t,e,i,n,r.argument,l+".slice("+s+")",a,o):Ze(t,e,i,n,r,l+"["+s+"]",a,o),n=r.end)}))}else{var u=Ue(r.elements,Boolean),d=r.elements[u];"RestElement"===d.type?Ze(t,e,i,n,d.argument,s+".slice("+u+")",a,o):Ze(t,e,i,n,d,s+"["+u+"]",a,o),n=d.end}t.remove(n,r.end);break;default:throw new Error("Unexpected node type in destructuring ("+r.type+")")}}var 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.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,i=e?this.start:this.body[0].start;i&&"\n"!==t[i];)i-=1;for(this.indentation="";;){var n=t[i+=1];if(" "!==n&&"\t"!==n)break;this.indentation+=n}
2for(var r=this.program.magicString.getIndentString(),s=this.parent;s;)"constructor"!==s.kind||s.parent.parent.superClass||(this.indentation=this.indentation.replace(r,"")),s=s.parent;e&&(this.indentation+=r)}return this.indentation},e.prototype.transpile=function(e,i){var n,r,s=this,a=this.getIndentation(),o=[];if(this.argumentsAlias&&o.push((function(t,i,n){e.appendLeft(t,i+"var "+s.argumentsAlias+" = arguments"+n)})),this.thisAlias&&o.push((function(t,i,n){e.appendLeft(t,i+"var "+s.thisAlias+" = this"+n)})),this.argumentsArrayAlias&&o.push((function(t,i,n){var r=s.scope.createIdentifier("i");e.appendLeft(t,i+"var "+r+" = arguments.length, "+s.argumentsArrayAlias+" = Array("+r+");\n"+a+"while ( "+r+"-- ) "+s.argumentsArrayAlias+"["+r+"] = arguments["+r+"]"+n)})),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,e,i,a,o):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],e,i,a,o),i.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(e),t.prototype.transpile.call(this,e,i),this.createdDeclarations.length&&o.push((function(t,i,n){var r=i+"var "+s.createdDeclarations.join(", ")+n;e.appendLeft(t,r)})),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var p=this.body[0];o.length?(e.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),e.prependRight(p.start,"\n"+a+"return "),e.appendLeft(p.end,";\n")):i.arrow&&(e.prependRight(p.start,"{ return "),e.appendLeft(p.end,"; }"))}else o.length&&e.prependRight(this.start,"{").appendLeft(this.end,"}");n=(r=this.body[0])&&"ExpressionStatement"===r.type&&"Literal"===r.expression.type&&"use strict"===r.expression.value?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var h="\n"+a,c=";";o.forEach((function(t,e){e===o.length-1&&(c=";\n"),t(n,h,c)}))},e.prototype.transpileParameters=function(t,e,i,n,r){var s=this;t.forEach((function(a){if("AssignmentPattern"===a.type&&"Identifier"===a.left.type)i.defaultParameter&&r.push((function(t,i,n){e.prependRight(a.left.end,i+"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)i.spreadRest&&r.push((function(i,r,o){var p=t[t.length-2];if(p)e.remove(p?p.end:a.start,a.end);else{for(var h=a.start,c=a.end;/\s/.test(e.original[h-1]);)h-=1;for(;/\s/.test(e.original[c]);)c+=1;e.remove(h,c)}var l=a.argument.name,u=s.scope.createIdentifier("len"),d=t.length-1;e.prependRight(i,d?r+"var "+l+" = [], "+u+" = arguments.length - "+d+";\n"+n+"while ( "+u+"-- > 0 ) "+l+"[ "+u+" ] = arguments[ "+u+" + "+d+" ]"+o:r+"var "+l+" = [], "+u+" = arguments.length;\n"+n+"while ( "+u+"-- ) "+l+"[ "+u+" ] = arguments[ "+u+" ]"+o)}));else if("Identifier"!==a.type&&i.parameterDestructuring){var o=s.scope.createIdentifier("ref");We(e,(function(t){return s.scope.createIdentifier(t)}),(function(t){return s.scope.resolveName(t.name)}),a,o,!1,r),e.prependRight(a.start,o)}}))},e.prototype.transpileBlockScopedIdentifiers=function(t){var e=this;Object.keys(this.scope.blockScopedDeclarations).forEach((function(i){for(var n=0,r=e.scope.blockScopedDeclarations[i];n<r.length;n+=1){var s=r[n],a=!1;if("for.let"===s.kind){var o=s.node.findNearest("ForStatement");if(o.shouldRewriteAsFunction){var p=e.scope.createIdentifier(i),h=o.reassigned[i]?e.scope.createIdentifier(i):i;s.name=p,t.overwrite(s.node.start,s.node.end,p,{storeName:!0}),o.aliases[i]={outer:p,inner:h};for(var c=0,l=s.instances;c<l.length;c+=1){var u=l[c],d=o.body.contains(u)?h:p;i!==d&&t.overwrite(u.start,u.end,d,{storeName:!0})}a=!0}}if(!a){var f=e.scope.createIdentifier(i);if(i!==f){s.name=f,t.overwrite(s.node.start,s.node.end,f,{storeName:!0});for(var m=0,y=s.instances;m<y.length;m+=1){var g=y[m];g.rewritten=!0,t.overwrite(g.start,g.end,f,{storeName:!0})}}}}}))},e}(Te);function Xe(t){return"Identifier"===t.type&&"arguments"===t.name}function $e(t,e,i){for(var n=i.length;n--;){var r=i[n];if(r&&"SpreadElement"===r.type){var s=r.argument;if("ArrayExpression"===s.type){var a=s.elements;if(!a.some((function(t){return null===t}))){var o=n===i.length-1;0===a.length?t.remove(o&&0!==n?i[n-1].end:r.start,o?e.end-1:i[n+1].start):(t.remove(r.start,a[0].start),t.remove(a[a.length-1].end,o?e.end-1:r.end
2)),i.splice.apply(i,[n,1].concat(a)),n+=a.length}}}}}function Ke(t){switch(t.type){case"ArrayExpression":case"CallExpression":case"Identifier":case"ParenthesizedExpression":case"ThisExpression":return!1;default:return!0}}function Ge(t,e,i,n,r){for(var s=e.length,a=-1;s--;){var o=e[s];o&&"SpreadElement"===o.type&&(Xe(o.argument)&&t.overwrite(o.argument.start,o.argument.end,n),a=s)}if(-1===a)return!1;if(r){for(s=0;s<e.length;s+=1){var p=e[s];"SpreadElement"===p.type?t.remove(p.start,p.argument.start):(t.prependRight(p.start,"["),t.prependRight(p.end,"]"))}return!0}var h=e[a],c=e[a-1];if(c)t.overwrite(c.end,h.start," ].concat( ");else{var l;if(i!==h.start)(l=Ke(h.argument))?t.overwrite(i,h.start,"( "):t.remove(i,h.start);else{if("CallExpression"!==h.parent.type)throw new Me("Unsupported spread construct, please raise an issue at https://github.com/bublejs/buble/issues",h);l=Ke(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 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){if(e.spreadRest&&this.elements.length)for(var i=this.findLexicalBoundary(),n=this.elements.length;n--;){var r=this.elements[n];r&&"SpreadElement"===r.type&&Xe(r.argument)&&(this.argumentsArrayAlias=i.getArgumentsArrayAlias())}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(t.prototype.transpile.call(this,e,i),i.spreadRest){if($e(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 r=this.elements[0];r&&"SpreadElement"===r.type&&(Xe(r.argument)?e.overwrite(this.start,this.end,"[].concat( "+this.argumentsArrayAlias+" )"):(e.overwrite(this.start,r.argument.start,"[].concat( "),e.overwrite(r.end,this.end," )")))}else Ge(e,this.elements,this.start,this.argumentsArrayAlias)&&e.overwrite(this.end-1,this.end,")")}},e}(Te);function Ye(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 ti=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&&Me.missingTransform("async arrow functions","asyncAwait",this),this.body.createScope(),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){for(var n=this.start,r=(this.body||this.params[0]).start-1;"("!==e.original[n]&&n<r;)++n;"("!==e.original[n]&&(n=-1);var s=-1===n;if(i.arrow||this.needsArguments(i)){for(var a=this.body.start;"="!==e.original[a];)a-=1;e.remove(a,this.body.start),t.prototype.transpile.call(this,e,i),s&&(e.prependRight(this.params[0].start,"("),e.appendLeft(this.params[0].end,")"));var o,p=this.parent&&"ExpressionStatement"===this.parent.type,h=p?"!":"";this.async&&(h+="async "),h+="function",p||(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,i);i.trailingFunctionCommas&&this.params.length&&!s&&Ye(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}(Te);function ei(t,e){var i=e.findDeclaration(t.name);if(i&&"const"===i.kind)throw new Me(t.name+" is read-only",t)}var ii=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 i=this.findScope(!1).findDeclaration(this.left.name),n=i&&i.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,i){"Identifier"===this.left.type&&ei(this.left,this.findScope(!1)),"**="===this.operator&&i.exponentiation?this.transpileExponentiation(e,i):/Pattern/.test(this.left.type)&&i.destructuring&&this.transpileDestructuring(e),t.prototype.transpile.call(this,e,i)},e.prototype.transpileDestructuring=function(t){var e=this,i=this.findScope(!0),n=this.findScope(!1),r=i.createDeclaration("assign");t.appendRight(this.left.end,"("+r),t.appendLeft(this.right.end,", ");var s=[];
2We(t,(function(t){return i.createDeclaration(t)}),(function(t){var e=n.resolveName(t.name);return ei(t,n),e}),this.left,r,!0,s);var a=", ";s.forEach((function(t,i){i===s.length-1&&(a=""),t(e.end,"",a)})),"ExpressionStatement"===this.unparenthesizedParent().type?t.prependRight(this.end,")"):t.appendRight(this.end,", "+r+")")},e.prototype.transpileExponentiation=function(t){for(var e,i=this.findScope(!1),n=this.left.end;"*"!==t.original[n];)n+=1;t.remove(n,n+2);var r=this.left.unparenthesize();if("Identifier"===r.type)e=i.resolveName(r.name);else if("MemberExpression"===r.type){var s,a,o=!1,p=!1,h=this.findNearest(/(?:Statement|Declaration)$/),c=h.getIndentation();"Identifier"===r.property.type?a=r.computed?i.resolveName(r.property.name):r.property.name:(a=i.createDeclaration("property"),p=!0),"Identifier"===r.object.type?s=i.resolveName(r.object.name):(s=i.createDeclaration("object"),o=!0),r.start===h.start?o&&p?(t.prependRight(h.start,s+" = "),t.overwrite(r.object.end,r.property.start,";\n"+c+a+" = "),t.overwrite(r.property.end,r.end,";\n"+c+s+"["+a+"]")):o?(t.prependRight(h.start,s+" = "),t.appendLeft(r.object.end,";
2\n"+c),t.appendLeft(r.object.end,s)):p&&(t.prependRight(r.property.start,a+" = "),t.appendLeft(r.property.end,";\n"+c),t.move(r.property.start,r.property.end,this.start),t.appendLeft(r.object.end,"["+a+"]"),t.remove(r.object.end,r.property.start),t.remove(r.property.end,r.end)):(o&&p?(t.prependRight(r.start,"( "+s+" = "),t.overwrite(r.object.end,r.property.start,", "+a+" = "),t.overwrite(r.property.end,r.end,", "+s+"["+a+"]")):o?(t.prependRight(r.start,"( "+s+" = "),t.appendLeft(r.object.end,", "+s)):p&&(t.prependRight(r.property.start,"( "+a+" = "),t.appendLeft(r.property.end,", "),t.move(r.property.start,r.property.end,r.start),t.overwrite(r.object.end,r.property.start,"["+a+"]"),t.remove(r.property.end,r.end)),p&&t.appendLeft(this.end," )")),e=s+(r.computed||p?"["+a+"]":"."+a)}t.prependRight(this.right.start,"Math.pow( "+e+", "),t.appendLeft(this.right.end," )")},e}(Te),ni=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&&Me.missingTransform("await","asyncAwait",this),t.prototype.initialise.call(this,e)},e}(Te),ri=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,i){"**"===this.operator&&i.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,i)},e}(Te),si=/(?:For(?:In|Of)?|While)Statement/,ai=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(si),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 Me("Labels are not currently supported in a loop with locally-scoped variables",this);t.overwrite(this.start,this.start+5,"return 'break'")}},e}(Te),oi=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 i=this.findLexicalBoundary(),n=this.arguments.length;n--;){var r=this.arguments[n];"SpreadElement"===r.type&&Xe(r.argument)&&(this.argumentsArrayAlias=i.getArgumentsArrayAlias())}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(i.spreadRest&&this.arguments.length&&$e(e,this,this.arguments),i.spreadRest&&this.arguments.length){var n,r=!1,s=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===s.type&&(e.remove(s.start,s.argument.start),r=!0):r=Ge(e,this.arguments,s.start,this.argumentsArrayAlias),r){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?Ke(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?Ke(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," )"))}}i.trailingFunctionCommas&&this.arguments.length&&Ye(e,this.arguments[this.arguments.length-1].end),t.prototype.transpile.call(this,e,i)},e}(Te),pi=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,i,n,r){var s=this;
2if(i.classes){var a=this.parent.name,o=e.getIndentString(),p=this.getIndentation()+(n?o:""),h=p+o,c=Ue(this.body,(function(t){return"constructor"===t.kind})),l=this.body[c],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[c+1];c>0&&(e.remove(this.body[c-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 i=0;i<e.byStart[t.end].content.length&&-1===e.byStart[t.end].content.slice(0,i).indexOf(";");i++);i>0&&e.remove(t.end,t.end+i)}}));var y=!1!==this.program.options.namedFunctionExpressions,g=y||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var v="if ( "+r+" ) "+a+".__proto__ = "+r+";\n"+p+a+".prototype = Object.create( "+r+" && "+r+".prototype );\n"+p+a+".prototype.constructor = "+a+";";u+=l?"\n\n"+p+v:(v="function "+a+" () {"+(m.length?"\n"+h+m.join("\n"+h)+"\n"+h:"")+(r?"\n"+h+r+".apply(this, arguments);\n"+p+"}":"}")+(n?"":";")+(this.body.length?"\n\n"+p:"")+v)+"\n\n"+p}else if(!l){var b="function "+(g?a+" ":"")+"() {"+(m.length?"\n"+h+m.join("\n"+h)+"\n"+p:"")+"}";"ClassDeclaration"===this.parent.type&&(b+=";"),this.body.length&&(b+="\n\n"+p),u+=b}l&&m.length&&e.appendLeft(l.value.body.start+1,"\n"+h+m.join("\n"+h));var x,_,k=this.findScope(!1),E=[],S=[];if(this.body.forEach((function(t,n){if("get"!==t.kind&&"set"!==t.kind||!i.getterSetter||Me.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 r,o="method"!==t.kind,h=t.key.name;(Be[h]||t.value.body.scope.references[h])&&(h=k.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?(~S.indexOf(t.key.name)||S.push(t.key.name),_||(_=k.createIdentifier("staticAccessors")),r=""+_):(~E.indexOf(t.key.name)||E.push(t.key.name),x||(x=k.createIdentifier("prototypeAccessors")),r=""+x)}else r=t.static?""+a:a+".prototype";t.computed||(r+="."),(c>0&&n===c+1||0===n&&c===s.body.length-1)&&(r="\n\n"+p+r);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||!y?"":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,r):e.prependRight(t.start,r)}else e.overwrite(t.key.start,t.key.end,"function"+(g?" "+a:""))})),E.length||S.length){var w=[],C=[];E.length&&(w.push("var "+x+" = { "+E.map((function(t){return t+": { configurable: true }"})).join(",")+" };"),C.push("Object.defineProperties( "+a+".prototype, "+x+" );")),S.length&&(w.push("var "+_+" = { "+S.map((function(t){return t+": { configurable: true }"})).join(",")+" };"),C.push("Object.defineProperties( "+a+", "+_+" );")),l&&(u+="\n\n"+p),u+=w.join("\n"+p),l||(u+="\n\n"+p),d+="\n\n"+p+C.join("\n"+p)}l?e.appendLeft(l.end,u):e.prependRight(this.start,u),e.appendLeft(this.end,d)}t.prototype.transpile.call(this,e,i)},e}(Te),hi=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 i=t.start,n=t.end,r=e.getIndentStr
2ing(),s=r.length,a=i-s;t.program.indentExclusions[a]||e.original.slice(a,i)!==r||e.remove(a,i);for(var o,p=new RegExp(r+"\\S","g"),h=e.original.slice(i,n);o=p.exec(h);){var c=i+o.index;t.program.indentExclusions[c]||e.remove(c,c+s)}}(this.body,t);var i=this.superClass&&(this.superClass.name||"superclass"),n=this.getIndentation(),r=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 ("+i+") {\n"+r)):(t.overwrite(a,this.superClass.start," = "),t.overwrite(this.superClass.end,this.body.start,"/*@__PURE__*/(function ("+i+") {\n"+r)):a===this.body.start?t.appendLeft(a," = "):t.overwrite(a,this.body.start," = "),this.body.transpile(t,e,!!this.superClass,i);var o=s?"\n\n"+n+"export default "+this.name+";":"";this.superClass?(t.appendLeft(this.end,"\n\n"+r+"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}(Te),ci=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 i=this.superClass&&(this.superClass.name||"superclass"),n=this.getIndentation(),r=n+t.getIndentStr
2ing();this.superClass?(t.remove(this.start,this.superClass.start),t.remove(this.superClass.end,this.body.start),t.appendRight(this.start,"/*@__PURE__*/(function ("+i+") {\n"+r)):t.overwrite(this.start,this.body.start,"/*@__PURE__*/(function () {\n"+r),this.body.transpile(t,e,!0,i);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"+r+"return "+this.name+";\n"+n+"}("+s+"))")}else this.body.transpile(t,e,!1)},e}(Te),li=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(si).shouldRewriteAsFunction){if(this.label)throw new Me("Labels are not currently supported in a loop with locally-scoped variables",this);t.overwrite(this.start,this.start+8,"return")}},e}(Te),ui=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&&Me.missingTransform("export","moduleExport",this),t.prototype.initialise.call(this,e)},e}(Te),di=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&&Me.missingTransform("export","moduleExport",this),t.prototype.initialise.call(this,e)},e}(Te),fi=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 i=Object.keys(this.body.scope.declarations),n=i.length;n--;){for(var r=this.body.scope.declarations[i[n]],s=r.instances.length;s--;){var a=r.instances[s].findNearest(/Function/);if(a&&a.depth>this.depth){this.shouldRewriteAsFunction=!0;for(var o=0,p=this.thisRefs;o<p.length;o+=1){var h=p[o];h.alias=h.alias||h.findLexicalBoundary().getThisAlias()}break}}if(this.shouldRewriteAsFunction)break}},e.prototype.transpile=function(e,i){var n="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var r=this.getIndentation(),s=r+e.getIndentStr
2ing(),a=this.args?" "+this.args.join(", ")+" ":"",o=this.params?" "+this.params.join(", ")+" ":"",p=this.findScope(!0),h=p.createIdentifier("loop"),c="var "+h+" = function ("+o+") "+(this.body.synthetic?"{\n"+r+e.getIndentString():""),l=(this.body.synthetic?"\n"+r+"}":"")+";\n\n"+r;if(e.prependRight(this.body.start,c),e.appendLeft(this.body.end,l),e.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var u=p.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"+r+"}")}else{var f=h+"("+a+");";"DoWhileStatement"===this.type?e.overwrite(this.start,this.body.start,"do {\n"+s+f+"\n"+r+"}"):e.prependRight(this.body.end,f)}}else n&&(e.appendLeft(this.body.start,"{ "),e.prependRight(this.body.end," }"));t.prototype.transpile.call(this,e,i)},e}(Te),mi=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,i){var n=this,r=this.getIndentation()+e.getIndentStr
2ing();if(this.shouldRewriteAsFunction){var s="VariableDeclaration"===this.init.type?this.init.declarations.map((function(t){return je(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"+r+o.join("\n"+r)))}t.prototype.transpile.call(this,e,i)},e}(fi),yi=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,i){var n=this,r="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var s=r?this.left.declarations.map((function(t){return je(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,i);var a=r?this.left.declarations[0].id:this.left;"Identifier"!==a.type&&this.destructurePattern(e,a,r)},e.prototype.destructurePattern=function(t,e,i){var n=this.findScope(!0),r=this.getIndentation()+t.getIndentStr
2ing(),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,i?s:"var "+s);var o=[];We(t,(function(t){return n.createIdentifier(t)}),(function(t){return n.resolveName(t.name)}),e,s,!1,o);var p=";\n"+r;o.forEach((function(t,e){e===o.length-1&&(p=";\n\n"+r),t(a,"",p)}))},e}(fi),gi=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&&Me.missingTransform("for-of statements","forOf",this,"dangerousForOf"),this.await&&e.asyncAwait&&Me.missingTransform("for-await-of statements","asyncAwait",this),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(t.prototype.transpile.call(this,e,i),i.dangerousForOf)if(this.body.body[0]){var n=this.findScope(!0),r=this.getIndentation(),s=r+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"+r+"}"));var p=this.body.body[0].start;e.remove(this.left.end,this.right.start),e.move(this.left.start,this.left.end,p),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,c=h?this.left.declarations[0].id:this.left;if("Identifier"!==c.type){var l=[],u=n.createIdentifier("ref");We(e,(function(t){return n.createIdentifier(t)}),(function(t){return n.resolveName(t.name)}),c,u,!h,l);var d=";\n"+s;l.forEach((function(t,e){e===l.length-1&&(d=";\n\n"+s),t(p,"",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}(fi),vi=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&&Me.missingTransform("generators","generator",this),this.async&&e.asyncAwait&&Me.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,i){t.prototype.transpile.call(this,e,i),i.trailingFunctionCommas&&this.params.length&&Ye(e,this.params[this.params.length-1].end)},e}(Te),bi=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&&Me.missingTransform("generators","generator",this),this.async&&e.asyncAwait&&Me.missingTransform("async functions","asyncAwait",this),this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),t.prototype.initialise.call(this,e);var i,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?i=n.key.name:this.id&&"Identifier"===this.id.type&&(i=this.id.alias||this.id.name),i)for(var r=0,s=this.params;r<s.length;r+=1){var a=s[r];if("Identifier"===a.type&&i===a.name){var o=this.body.scope,p=o.declarations[i],h=o.createIdentifier(i);a.alias=h;for(var c=0,l=p.instances;c<l.length;c+=1)l[c].alias=h;break}}},e.prototype.transpile=function(e,i){t.prototype.transpile.call(this,e,i),i.trailingFunctionCommas&&this.params.length&&Ye(e,this.params[this.params.length-1].end)},e}(Te),xi=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,i){return"MemberExpression"===e.type?!e.computed&&t(e.object,e):"Identifier"===e.type?!i||!/(Function|Class)Expression/.test(i.type)&&("VariableDeclarator"===i.type?e===i.init:"MemberExpression"===i.t
2ype||"MethodDefinition"===i.type?i.computed||e===i.object:"ArrayPattern"!==i.type&&("Property"===i.type?"ObjectPattern"!==i.parent.type&&(i.computed||e===i.value):"MethodDefinition"!==i.type&&("ExportSpecifier"!==i.type||e===i.local))):void 0}(this,this.parent)){if(t.arrow&&"arguments"===this.name&&!this.findScope(!1).contains(this.name)){var e=this.findLexicalBoundary(),i=this.findNearest("ArrowFunctionExpression"),n=this.findNearest(si);i&&i.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}(Te),_i=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,i){("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,i)},e}(Te),ki=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&&Me.missingTransform("dynamic import expressions","moduleImport",this),t.prototype.initialise.call(this,e)},e}(Te),Ei=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&&Me.missingTransform("import","moduleImport",this),t.prototype.initialise.call(this,e)},e}(Te),Si=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}(Te),wi=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}(Te),Ci=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,i){var n,r=this.name;e.overwrite(r.start,this.value?this.value.start:this.name.end,(/-/.test(n=r.name)?"'"+n+"'":n)+": "+(this.value?"":"true")),t.prototype.transpile.call(this,e,i)},e}(Te),Ai=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,i=!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)&&(i=!1),t.overwrite(this.start,this.end,i?" )":")")},e}(Te),Ii=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,i=!0,n=this.parent.children[this.parent.children.length-1];n&&"JSXText"===(e=n).type&&!/\S/.test(e.value)&&/\n/.test(e.value)&&(i=!1),t.overwrite(this.start,this.end,i?" )":")")},e}(Te);function Ni(t,e){return t=t.replace(/\u00a0/g,"&nbsp;"),e&&/\n/.test(t)&&(t=t.replace(/\s+$/,"")),t=t.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(t)}var Li=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,i){t.prototype.transpile.call(this,e,i);var n=this.children.filter((function(t){return"JSXText"!==t.type||/\S/.test(t.raw)||!/\n/.test(t.raw)}));if(n.length){var r,s=(this.openingElement||this.openingFragment).end;for(r=0;r<n.length;r+=1){var a=n[r];if("JSXExpressionContainer"===a.type&&"JSXEmptyExpression"===a.expression.type||e.appendLeft(s,","+("\n"===e.original[s]&&"JSXText"!==a.type?"":" ")),"JSXText"===a.type){var o=Ni(a.value,r===n.length-1);e.overwrite(a.start,a.end,o)}s=a.end}}},e}(Te),Pi=/[\u2028-\u2029]/g,Oi={ArrayExpression:Qe,ArrowFunctionExpression:ti,AssignmentExpression:ii,AwaitExpression:ni,BinaryExpression:ri,BreakStatement:ai,CallExpression:oi,ClassBody:pi,ClassDeclaration:hi,ClassExpression:ci,ContinueStatement:li,DoWhileStatement:fi,ExportNamedDeclaration:di,ExportDefaultDeclaration:ui,ForStatement:mi,ForInStatement:yi,ForOfStatement:gi,FunctionDeclaration:vi,FunctionExpression:bi,Identifier:xi,IfStatement:_i,Import:ki,ImportDeclaration:Ei,ImportDefaultSpecifier:Si,ImportSpecifier:wi,JSXAttribute:Ci,JSXClosingElement:Ai,JSXClosingFragment:Ii,JSXElement:Li,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,i){e.remove(this.start,this.expression.start),e.remove(this.expression.end,this.end),t.prototype.transpile.call(this,e,i)},e}(Te),JSXFragment:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Li),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,i){t.prototype.transpile.call(this,e,i),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 r=this.attributes.length,s=this.name.end;if(r){var a,o,p,h=!1;for(a=0;a<r;a+=1)if("JSXSpreadAttribute"===this.attributes[a].type){h=!0;break}for(s=this.attributes[0].end,a=0;a<r;a+=1){var c=this.attributes[a];if(a>
20&&(c.start===s?e.prependRight(s,", "):e.overwrite(s,c.start,", ")),h&&"JSXSpreadAttribute"!==c.type){var l=this.attributes[a-1],u=this.attributes[a+1];l&&"JSXSpreadAttribute"!==l.type||e.prependRight(c.start,"{ "),u&&"JSXSpreadAttribute"!==u.type||e.appendLeft(c.end," }")}s=c.end}if(h)if(1===r)p=n?"',":",";else{if(!this.program.options.objectAssign)throw new Me("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);p=n?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",o=")"}else p=n?"', {":", {",o=" }";e.prependRight(this.name.end,p),o&&e.appendLeft(this.attributes[r-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}(Te),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}(Te),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,i){e.remove(this.start,this.argument.start),e.remove(this.argument.end,this.end),t.prototype.transpile.call(this,e,i)},e}(Te),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(Pi)&&t.overwrite(this.start,this.end,this.raw.replace(Pi,(function(t){return"\u2028"==t?"\\u2028":"\\u2029"})),{contentOnly:!0})},e}(Te),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,i){i.reservedProperties&&Be[this.property.name]&&(e.overwrite(this.object.end,this.property.start,"['"),e.appendLeft(this.property.end,"']")),t.prototype.transpile.call(this,e,i)},e}(Te),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 i=this.findLexicalBoundary(),n=this.arguments.length;n--;){var r=this.arguments[n];if("SpreadElement"===r.type&&Xe(r.argument)){this.argumentsArrayAlias=i.getArgumentsArrayAlias();break}}t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(t.prototype.transpile.call(this,e,i),i.spreadRest&&this.arguments.length&&$e(e,this,this.arguments),i.spreadRest&&this.arguments.length){var n=this.arguments[0];Ge(e,this.arguments,n.start,this.argumentsArrayAlias,!0)&&(e.prependRight(this.start+3," (Function.prototype.bind.apply("),e.overwrite(this.callee.end,n.start,", [ null ].concat( "),e.appendLeft(this.end," ))"))}this.arguments.length&&Ye(e,this.arguments[this.arguments.length-1].end)},e}(Te),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,i){var n;t.prototype.transpile.call(this,e,i);for(var r=this.start+1,s=0,a=0,o=null,p=null,h=0;h<this.properties.length;++h){var c=this.properties[h];if("SpreadElement"===c.type){var l=c.argument;"ObjectExpression"===l.type||"Literal"===l.type&&"string"!=typeof l.value?"ObjectExpression"===l.type&&l.properties.length>0?(e.remove(c.start,l.properties[0].start),e.remove(l.properties[l.properties.length-1].end,c.end),(n=this.properties).splice.apply(n,[h,1].concat(l.properties)),h--):(e.remove(c.start,h===this.properties.length-1?c.end:this.properties[h+1].start),this.properties.splice(h,1),h--):(s+=1,null===o&&(o=h))}else c.computed&&i.computedProperty&&(a+=1,null===p&&(p=h))}if(!s||i.objectRestSpread||a&&i.computedProperty){if(s){if(!this.program.options.objectAssign)throw new Me("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))}r=this.properties[0].start,a?"SpreadElement"===this.properties[0].type?(e.overwrite(this.start,r,this.program.options.objectAssign+"({}
2, "),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,r,this.program.options.objectAssign+"({}, "),e.overwrite(this.properties[this.properties.length-1].end,this.end,")"))}}else s=0,o=null;if(a&&i.computedProperty){var y,g,v=this.getIndentation();"VariableDeclarator"===this.parent.type&&1===this.parent.parent.declarations.length&&"Identifier"===this.parent.id.type?(y=!0,g=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)&&(y=!0,g=this.parent.left.alias||this.parent.left.name),s&&(y=!1),g=this.findScope(!1).resolveName(g);var b=r,x=this.end;y||(null===o||p<o?(g=this.findScope(!0).createDeclaration("obj"),e.prependRight(this.start,"( "+g+" = ")):g=null);for(var _,k=this.properties.length,E=!1,S=!0,w=0;w<k;w+=1){var C=this.properties[w],A=w>0?this.properties[w-1].end:b;if("Property"===C.type&&(C.computed||_&&!s)){if(0===w&&(A=this.start+1),_=C,g){var I=(y?";\n"+v+g:", "+g)+("Literal"===C.key.type||C.computed?"":".");A<C.start?e.overwrite(A,C.start,I):e.prependRight(C.start,I)}else g=this.findScope(!0).createDeclaration("obj"),e.appendRight(C.start,"( "+g+" = {}, "+g+(C.computed?"":"."));var N=C.key.end;if(C.computed){for(;"]"!==e.original[N];)N+=1;N+=1}"Literal"!==C.key.type||C.computed?C.shorthand||C.method&&!C.computed&&i.conciseMethodProperty?e.overwrite(C.key.start,C.key.end,e.slice(C.key.start,C.key.end).replace(/:/," =")):(C.value.start>N&&e.remove(N,C.value.start),e.prependLeft(N," = ")):e.overwrite(C.start,C.key.end+1,"["+e.slice(C.start,C.key.end)+"] = "),!C.method||!C.computed&&i.conciseMethodProperty||(C.value.generator&&e.remove(C.start,C.key.start),e.prependRight(C.value.start,"function"+(C.value.generator?"*":"")+" "))}else"SpreadElement"===C.type?g&&w>0&&(_||(_=this.properties[w-1]),e.appendLeft(_.end,", "+g+" )"),_=null,g=null):(!S&&s&&(e.prependRight(C.start,"{"),e.appendLeft(C.end,"}")),E=!0);if(S&&("SpreadElement"===C.type||C.computed)){var L=E?this.properties[this.properties.length-1].end:this.end-1;","==e.original[L]&&++L;var P=e.slice(L,x);e.prependLeft(A,P),e.remove(L,x),S=!1}var O=C.end;if(w<k-1&&!E)for(;","!==e.original[O];)O+=1;else w==k-1&&(O=this.end);C.end!=O&&e.overwrite(C.end,O,"",{contentOnly:!0})}!y&&g&&e.appendLeft(_.end,", "+g+" )")}},e}(Te),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||Me.missingTransform("getters and setters","getterSetter",this),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(t.prototype.transpile.call(this,e,i),i.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?Be[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)}i.reservedProperties&&Be[this.key.name]&&(e.prependRight(this.key.start,"'"),e.appendLeft(this.key.end,"'"))},e}(Te),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(si),this.nearestFunction=this.findNearest(/Function/),this.loop&&(!this.nearestFunction||this.loop.depth>
2this.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(t)},e.prototype.transpile=function(t,e){var i=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(i&&t.prependRight(this.argument.start,"{ v: "),this.argument.transpile(t,e),i&&t.appendLeft(this.argument.end," }")):i&&t.appendLeft(this.start+6," {}")},e}(Te),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 Me("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 Me("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 Me("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new Me("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(t.arrow){var i=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(si);n&&n.depth>i.depth&&(this.thisAlias=i.getThisAlias()),r&&r.body.contains(this)&&r.depth>i.depth&&(this.thisAlias=i.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 i=this.isCalled?this.parent:this.parent.parent;if(i&&"CallExpression"===i.type){this.noCall||t.appendLeft(i.callee.end,".call");var n=this.thisAlias||"this";i.arguments.length?t.appendLeft(i.arguments[0].start,n+", "):t.appendLeft(i.end-1,""+n)}}},e}(Te),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&&Me.missingTransform("tagged template strings","templateString",this,"dangerousTaggedTemplateString"),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(e,i){if(i.templateString&&i.dangerousTaggedTemplateString){var n=this.quasi.expressions.concat(this.quasi.quasis).sort((function(t,e){return t.start-e.start}
2)),r=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=r.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,i)},e}(Te),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}(Te),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,i){if(t.prototype.transpile.call(this,e,i),i.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 r=n[0];"TemplateElement"===r.type&&""===r.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,i){var n=0===i?s?"(":"":" + ";if("TemplateElement"===t.type)e.overwrite(a,t.end,n+JSON.stringify(t.value.cooked));else{var r="Identifier"!==t.type;r&&(n+="("),e.remove(a,t.start),n&&e.prependRight(t.start,n),r&&e.appendLeft(t.end,")")}a=t.end})),s&&e.appendLeft(a,")"),e.overwrite(a,this.end,"",{contentOnly:!0})}},e}(Te),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 i=this.findNearest(si);i&&i.depth>e.depth;)i.thisRefs.push(this),i=i.parent.findNearest(si);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}(Te),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 i=this.findScope(!1).findDeclaration(this.argument.name),n=i&&i.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,i){"Identifier"===this.argument.type&&ei(this.argument,this.findScope(!1)),t.prototype.transpile.call(this,e,i)},e}(Te),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 i=this,n=this.getIndentation(),r=this.kind;if(e.letConst&&"var"!==r&&t.overwrite(this.start,this.start+this.kind.length,r="var",{contentOnly:!0,storeName:!0}),e.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var s,a=this.start;this.declarations.forEach((function(r,o){if(r.transpile(t,e),"Identifier"===r.id.type)o>0&&"Identifier"!==i.declarations[o-1].id.type&&t.overwrite(a,r.id.start,"var ");else{var p=si.test(i.parent.type);0===o?t.remove(a,r.id.start):t.overwrite(a,r.id.start,";\n"+n);var h="Identifier"===r.init.type&&!r.init.rewritten,c=h?r.init.alias||r.init.name:r.findScope(!0).createIdentifier("ref");a=r.start;var l=[];h?t.remove(r.id.end,r.end):l.push((function(e,i,n){t.prependRight(r.id.end,"var "+c),t.appendLeft(r.init.end,""+n),t.move(r.id.end,r.end,e)}));var u=r.findScope(!1);We(t,(function(t){return u.createIdentifier(t)}),(function(t){return u.resolveName(t.name)}),r.id,c,p,l);var d=p?"var ":"",f=p?", ":";\n"+n;l.forEach((function(t,e){o===i.declarations.length-1&&e===l.length-1&&(f=p?"":";"),t(r.start,0===e?d:"",f)}))}a=r.end,s="Identifier"!==r.id.type})),s&&this.end>a&&t.overwrite(a,this.end,"",{contentOnly:!0})}else this.declarations.forEach((function(i){i.transpile(t,e)}))},e}(Te),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 i=this.parent.kind;"let"===i&&"ForStatement"===this.parent.parent.type&&(i="for.let"),this.parent.scope.addDeclaration(this.id,i),t.prototype.initialise.call(this,e)},e.prototype.transpile=function(t,e){if(!this.init&&e.letConst&&"var"!==this.parent.kind){var i=this.findNearest(
2/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!i||/Function/.test(i.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}(Te),WhileStatement:fi},Ti={Program:["body"],Literal:[]},ji={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function Ri(t,e,i,n){this.type="Root",this.jsx=n.jsx||"React.createElement",this.options=n,this.source=t,this.magicString=new Pe(t),this.ast=e,this.depth=0,function t(e,i){if(e)if("length"in e)for(var n=e.length;n--;)t(e[n],i);else if(!e.__wrapped){e.__wrapped=!0,Ti[e.type]||(Ti[e.type]=Object.keys(e).filter((function(t){return"object"==typeof e[t]})));var r=ji[e.type];if(r&&"BlockStatement"!==e[r].type){var s=e[r];e[r]={start:s.start,end:s.end,type:"BlockStatement",body:[s],synthetic:!0}}e.parent=i,e.program=i.program||i,e.depth=i.depth+1,e.keys=Ti[e.type],e.indentation=void 0;for(var a=0,o=Ti[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?Je:Oi[e.type])||Te).prototype}}(this.body=e,this),this.body.__proto__=Je.prototype,this.templateLiteralQuasis=Object.create(null);for(var r=0;r<this.body.body.length;++r)if(!this.body.body[r].directive){this.prependAt=this.body.body[r].start;break}this.objectWithoutPropertiesHelper=null,this.indentExclusionElements=[],this.body.initialise(i),this.indentExclusions=Object.create(null);for(var s=0,a=this.indentExclusionElements;s<a.length;s+=1)for(var o=a[s],p=o.start;p<o.end;p+=1)this.indentExclusions[p]=!0;this.body.transpile(this.magicString,i)}Ri.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 Bi=rt.extend(fe,le(),(function(t){return class extends t{getTokenFromCode(t){if(35===t){++this.pos;const t=this.readWord1();return this.finishToken(be,t)}return super.getTokenFromCode(t)}parseClass(t,e){this._privateBoundNamesStack=this._privateBoundNamesStack||[];const i=Object.create(this._privateBoundNamesStack[this._privateBoundNamesStack.length-1]||null);this._privateBoundNamesStack.push(i),this._unresolvedPrivateNamesStack=this._unresolvedPrivateNamesStack||[];const n=Object.create(null);this._unresolvedPrivateNamesStack.push(n);const r=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 r}parseClassElement(t){if(this.eat(ye.semi))return null;const e=this.startNode();if(!(this.options.ecmaVersion>=8)||this.type!=be){if(this.isContextual("async")){me.lastIndex=this.pos;let t=me.exec(this.input),i=this.input.charAt(this.pos+t[0].length);if(";"===i||"="===i)return e.key=this.parseIdent(!0),e.computed=!1,ge.call(this,e),this.finishNode(e,"FieldDefinition"),this.semicolon(),e}return super.parseClassElement.apply(this,arguments)}return e.key=ve.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],ge.call(this,e),this.finishNode(e,"FieldDefinition"),this.semicolon(),e}
2parseClassMethod(t,e,i,n){return e||i||"method"!=t.kind||t.static||this.options.ecmaVersion<8||this.type==ye.parenL?super.parseClassMethod.apply(this,arguments):(ge.call(this,t),delete t.kind,delete t.static,t=this.finishNode(t,"FieldDefinition"),this.semicolon(),t)}parseSubscripts(t,e,i,n){for(let r;;){if(!(r=this.eat(ye.bracketL))&&!this.eat(ye.dot))return super.parseSubscripts(t,e,i,n);{let n=this.startNodeAt(e,i);n.object=t,r?n.property=this.parseExpression():this.type==be?(n.property=ve.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(r),r&&this.expect(ye.bracketR),t=this.finishNode(n,"MemberExpression")}}}parseMaybeUnary(t,e){const i=super.parseMaybeUnary(t,e);return"delete"==i.operator&&"MemberExpression"==i.argument.type&&"PrivateName"==i.argument.property.type&&this.raise(i.start,"Private elements may not be deleted"),i}parseIdent(t,e){const i=super.parseIdent(t,e);return this._inFieldValue&&"arguments"==i.name&&this.raise(i.start,"A class field initializer may not contain arguments"),i}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}}})),Vi=["getterSetter","arrow","classes","computedProperty","conciseMethodProperty","defaultParameter","destructuring","forOf","generator","letConst","moduleExport","moduleImport","numericLiteral","parameterDestructuring","spreadRest","stickyRegExp","templateString","exponentiation","reservedProperties","trailingFunctionCommas","asyncAwait","objectRestSpread"],Di=["dangerousTaggedTemplateString","dangerousForOf"];function Fi(t,e){return function(t,e){var i;void 0===e&&(e={});var n=null;try{i=Bi.parse(t,{ecmaVersion:10,preserveParens:!0,sourceType:"module",allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowHashBang:!0,onComment:function(t,e){if(!n){var i=/@jsx\s+([^\s]+)/.exec(e);i&&(n=i[1])}}}),e.jsx=n||e.jsx}catch(e){throw e.snippet=Fe(t,e.loc),e.toString=function(){return e.name+": "+e.message+"\n"+e.snippet},e}var r=Object.create(null);return Vi.forEach((function(t){r[t]=!0})),Di.forEach((function(t){r[t]=!0})),Object.keys(e.transforms||{}).forEach((function(t){if("modules"===t)return"moduleImport"in e.transforms||(r.moduleImport=e.transforms.modules),void("moduleExport"in e.transforms||(r.moduleExport=e.transforms.modules));if(!(t in r))throw new Error("Unknown transform '"+t+"'");r[t]=e.transforms[t]})),!0===e.objectAssign&&(e.objectAssign="Object.assign"),new Ri(t,i,r,e).export(e)}(t,{...e,transforms:{asyncAwait:!1,classes:!1,getterSetter:!1,...e.transforms}})}var Mi=i(9144),Ui=i.n(Mi),zi={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"}}]},Wi="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},qi=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Hi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Zi=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)},Ji=function(t,e){var i={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i},Xi=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},$i=function(t){function e(){var i,n;qi(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return i=n=Xi(this,t.call.apply(t,[this].concat(s))),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 h.createElement(_,{Prism:l.Z,code:t,theme:n.props.theme||zi,language:n.props.language},(function(t){var e=t.tokens,i=t.getLineProps,n=t.getTokenProps;return h.createElement(h.Fragment,null,e.map((function(t,e){return h.createElement("div",i({line:t,key:e}),t.map((function(t,e){return h.createElement("span",n({token:t,key:e}))})))})))}))},Xi(n,i)}return Zi(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,i=(t.code,t.onChange,t.language,t.theme),n=Ji(t,["style","code","onChange","language","theme"]),r=this.state.code,s=i&&"object"===Wi(i.plain)?i.plain:{};return h.createElement(c.Z,Hi({value:r,padding:10,highlight:this.highlightCode,onValueChange:this.updateContent,style:Hi({whiteSpace:"pre",fontFamily:"monospace"},s,e)},n))},e}(h.Component),Ki=(0,h.createContext)({}),Gi={assign:Ui()},Qi={objectAssign:"_poly.assign",transforms:{dangerousForOf:!0,dangerousTaggedTemplateString:!0}},Yi=function(t){return Fi(t,Qi).code},tn=function(t,e){return function(i){function n(){return qi(this,n),Xi(this,i.apply(this,arguments))}return Zi(n,i),n.prototype.componentDidCatch=function(t){e(t)},n.prototype.render=function(){return"function"==typeof t?h.createElement(t,null):t},n}(h.Component)},en=function(t,e){var i=Object.keys(e),n=i.map((function(t){return e[t]}));return(new(Function.prototype.bind.apply(Function,[null].concat(["_poly","React"],i,[t])))).apply(void 0,[Gi,h].concat(n))},nn=function(t){function e(){var i,n;qi(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return i=n=Xi(this,t.call.apply(t,[this].concat(s))),n.onChange=function(t){var e=n.props,i=e.scope,r=e.transformCode,s=e.noInline;n.transpile({code:t,scope:i,transformCode:r,noInline:s})},n.onError=function(t){n.setState({error:t.toString()})},n.transpile=function(t){var e=t.code,i=t.scope,r=t.transformCode,s=t.noInline,a=void 0!==s&&s,o={code:r?r(e):e,scope:i},p=function(t){return n.setState({element:void 0,error:t.toString()})},h=function(t){return n.setState(Hi({},c,{element:t}))},c={unsafeWrapperError:void 0,error:void 0};try{a?(n.setState(Hi({},c,{element:null}
2)),function(t,e,i){var n=t.code,r=void 0===n?"":n,s=t.scope,a=void 0===s?{}:s;if(!/render\s*\(/.test(r))return i(new SyntaxError("No-Inline evaluations must call `render`."));en(Yi(r),Hi({},a,{render:function(t){void 0===t?i(new SyntaxError("`render` must be called with valid JSX.")):e(tn(t,i))}}))}(o,h,p)):h(function(t,e){var i=t.code,n=void 0===i?"":i,r=t.scope,s=void 0===r?{}:r,a=n.trim().replace(/;$/,""),o=Yi("return ("+a+")").trim();return tn(en(o,s),e)}(o,p))}catch(l){n.setState(Hi({},c,{error:l.toString()}))}},Xi(n,i)}return Zi(e,t),e.prototype.UNSAFE_componentWillMount=function(){var t=this.props,e=t.code,i=t.scope,n=t.transformCode,r=t.noInline;this.transpile({code:e,scope:i,transformCode:n,noInline:r})},e.prototype.componentDidUpdate=function(t){var e=t.code,i=t.scope,n=t.noInline,r=t.transformCode,s=this.props,a=s.code,o=s.scope,p=s.noInline,h=s.transformCode;a===e&&o===i&&p===n&&h===r||this.transpile({code:a,scope:o,transformCode:h,noInline:p})},e.prototype.render=function(){var t=this.props,e=t.children,i=t.code,n=t.language,r=t.theme,s=t.disabled;return h.createElement(Ki.Provider,{value:Hi({},this.state,{code:i,language:n,theme:r,disabled:s,onError:this.onError,onChange:this.onChange})},e)},e}(h.Component);function rn(t){return h.createElement(Ki.Consumer,null,(function(e){var i=e.code,n=e.language,r=e.theme,s=e.disabled,a=e.onChange;return h.createElement($i,Hi({theme:r,code:i,language:n,disabled:s,onChange:a},t))}))}function sn(t){return h.createElement(Ki.Consumer,null,(function(e){var i=e.error;return i?h.createElement("pre",t,i):null}))}function an(t){var e=t.Component,i=Ji(t,["Component"]);return h.createElement(e,i,h.createElement(Ki.Consumer,null,(function(t){var e=t.element;return e&&h.createElement(e,null)})))}nn.defaultProps={code:"",noInline:!1,language:"jsx",disabled:!1},an.defaultProps={Component:"div"};var on=i(1077),pn=i(7614),hn=i(9979),cn=i(361),ln=i(7683);function un(){const{prism:t}=(0,ln.L)(),{colorMode:e}=(0,cn.I)(),i=t.theme,n=t.darkTheme||i;return"dark"===e?n:i}const dn={playgroundContainer:"playgroundContainer_BKND",playgroundHeader:"playgroundHeader_BYID",playgroundEditor:"playgroundEditor_yR0i",playgroundPreview:"playgroundPreview_wiye"};function fn({children:t}){return n.createElement("div",{className:(0,o.Z)(dn.playgroundHeader)},t)}function mn(){return n.createElement("div",null,"Loading...")}function yn(){return n.createElement(n.Fragment,null,n.createElement(fn,null,n.createElement(on.Z,{id:"theme.Playground.result",description:"The result label of the live codeblocks"},"Result")),n.createElement("div",{className:dn.playgroundPreview},n.createElement(hn.Z,{fallback:n.createElement(mn,null)},(()=>n.createElement(n.Fragment,null,n.createElement(an,null),n.createElement(sn,null))))))}function gn(){const t=(0,p.Z)();return n.createElement(rn,{key:String(t),className:dn.playgroundEditor})}function vn(){return n.createElement(n.Fragment,null,n.createElement(fn,null,n.createElement(on.Z,{id:"theme.Playground.liveEditor",description:"The live editor label of the live codeblocks"},"Live Editor")),n.createElement(gn,null))}function bn({children:t,transformCode:e,...i}){const{siteConfig:{themeConfig:r}}=(0,pn.Z)(),{liveCodeBlock:{playgroundPosition:a}}=r,o=un(),p=i.metastring?.includes("noInline")??!1;return n.createElement("div",{className:dn.playgroundContainer},n.createElement(nn,(0,s.Z)({code:t.replace(/\n$/,""),noInline:p,transformCode:e??(t=>`${t};`),theme:o},i),"top"===a?n.createElement(n.Fragment,null,n.createElement(yn,null),n.createElement(vn,null)):n.createElement(n.Fragment,null,n.createElement(vn,null),n.createElement(yn,null))))}var xn=i(1385),_n=i(211),kn=i(4501),En=i.n(kn);const Sn=/title=(?<quote>["'])(?<title>.*?)\1/,wn=/\{(?<range>[\d,-]+)\}/,Cn={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function An(t,e){const i=t.map((t=>{const{start:i,end:n}=Cn[t];return`(?:${i}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${n})`})).join("|");return new RegExp(`^\\s*(?:${i})\\s*$`)}function In(t,e){let i=t.replace(/\n$/,"");const{language:n,magicComments:r,metastring:s}=e;if(s&&wn.test(s)){const t=s.match(wn).groups.range;if(0===r.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${s}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=r[0].className,n=En()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(n),code:i}
2}if(void 0===n)return{lineClassNames:{},code:i};const a=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return An(["js","jsBlock"],e);case"jsx":case"tsx":return An(["js","jsBlock","jsx"],e);case"html":return An(["js","jsBlock","html"],e);case"python":case"py":case"bash":return An(["bash"],e);case"markdown":case"md":return An(["html","jsx","bash"],e);default:return An(Object.keys(Cn),e)}}(n,r),o=i.split("\n"),p=Object.fromEntries(r.map((t=>[t.className,{start:0,range:""}]))),h=Object.fromEntries(r.filter((t=>t.line)).map((({className:t,line:e})=>[e,t]))),c=Object.fromEntries(r.filter((t=>t.block)).map((({className:t,block:e})=>[e.start,t]))),l=Object.fromEntries(r.filter((t=>t.block)).map((({className:t,block:e})=>[e.end,t])));for(let d=0;d<o.length;){const t=o[d].match(a);if(!t){d+=1;continue}const e=t.slice(1).find((t=>void 0!==t));h[e]?p[h[e]].range+=`${d},`:c[e]?p[c[e]].start=d:l[e]&&(p[l[e]].range+=`${p[l[e]].start}-${d-1},`),o.splice(d,1)}i=o.join("\n");const u={};return Object.entries(p).forEach((([t,{range:e}])=>{En()(e).forEach((e=>{u[e]??=[],u[e].push(t)}))})),{lineClassNames:u,code:i}}const Nn={codeBlockContainer:"codeBlockContainer_ZGJx"};function Ln({as:t,...e}){const i=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},i={};return Object.entries(t.plain).forEach((([t,n])=>{const r=e[t];r&&"string"==typeof n&&(i[r]=n)})),i}(un());return n.createElement(t,(0,s.Z)({},e,{style:i,className:(0,o.Z)(e.className,Nn.codeBlockContainer,_n.k.common.codeBlock)}))}const Pn={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function On({children:t,className:e}){return n.createElement(Ln,{as:"pre",tabIndex:0,className:(0,o.Z)(Pn.codeBlockStandalone,"thin-scrollbar",e)},n.createElement("code",{className:Pn.codeBlockLines},t))}var Tn=i(6335);const jn={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Rn(t,e){const[i,r]=(0,n.useState)(),s=(0,n.useCallback)((()=>{r(t.current?.closest("[role=tabpanel][hidden]"))}),[t,r]);(0,n.useEffect)((()=>{s()}),[s]),function(t,e,i=jn){const r=(0,Tn.zX)(e),s=(0,Tn.Ql)(i);(0,n.useEffect)((()=>{const e=new MutationObserver(r);return t&&e.observe(t,s),()=>e.disconnect()}),[t,r,s])}(i,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),s())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const Bn={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function Vn({line:t,classNames:e,showLineNumbers:i,getLineProps:r,getTokenProps:a}){1===t.length&&"\n"===t[0].content&&(t[0].content="");const p=r({line:t,className:(0,o.Z)(e,i&&Bn.codeLine)}),h=t.map(((t,e)=>n.createElement("span",(0,s.Z)({key:e},a({token:t,key:e})))));return n.createElement("span",p,i?n.createElement(n.Fragment,null,n.createElement("span",{className:Bn.codeLineNumber}),n.createElement("span",{className:Bn.codeLineContent},h)):h,n.createElement("br",null))}function Dn(t){return n.createElement("svg",(0,s.Z)({viewBox:"0 0 24 24"},t),n.createElement("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}))}function Fn(t){return n.createElement("svg",(0,s.Z)({viewBox:"0 0 24 24"},t),n.createElement("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}const Mn={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function Un({code:t,className:e}){const[i,r]=(0,n.useState)(!1),s=(0,n.useRef)(void 0),a=(0,n.useCallback)((()=>{!function(t,{target:e=document.body}={}){if("string"!=typeof t)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);const i=document.createElement("textarea"),n=document.activeElement;i.value=t,i.setAttribute("readonly",""),i.style.contain="strict",i.style.position="absolute",i.style.left="-9999px",i.style.fontSize="12pt";const r=document.getSelection(),s=r.rangeCount>0&&r.getRangeAt(0);e.append(i),i.select(),i.selectionStart=0,i.selectionEnd=t.length;let a=!1;try{a=document.execCommand("copy")}catch{}i.remove(),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}(t),r(!0),s.current=window.setTimeout((()=>{r(!1)}),1e3)}),[t]);return(0,n.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),n.createElement("button",{type:"button","aria-label":i?(0,on.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,on.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,on.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,o.Z)("clean-btn",e,Mn.copyButton,i&&Mn.copyButtonCopied),onClick:a},n.createElement("span",{className:Mn.copyButtonIcons,"aria-hidden":"true"},n.createElement(Dn,{className:Mn.copyButtonIcon}),n.createElement(Fn,{className:Mn.copyButtonSuccessIcon})))}function zn(t){return n.createElement("svg",(0,s.Z)({viewBox:"0 0 24 24"},t),n.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}))}const Wn={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function qn({className:t,onClick:e,isEnabled:i}){const r=(0,on.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return n.createElement("button",{type:"button",onClick:e,className:(0,o.Z)("clean-btn",t,i&&Wn.wordWrapButtonEnabled),"aria-label":r,title:r},n.createElement(zn,{className:Wn.wordWrapButtonIcon,"aria-hidden":"true"}))}function Hn({children:t,className:e="",metastring:i,title:r,showLineNumbers:a,language:p}){const{prism:{defaultLanguage:h,magicComments:c}}=(0,ln.L)(),l=p??function(t){const e=t.split(" ").find((t=>t.startsWith("language-")));return e?.replace(/language-/,"")}
2(e)??h,u=un(),f=function(){const[t,e]=(0,n.useState)(!1),[i,r]=(0,n.useState)(!1),s=(0,n.useRef)(null),a=(0,n.useCallback)((()=>{const i=s.current.querySelector("code");t?i.removeAttribute("style"):(i.style.whiteSpace="pre-wrap",i.style.overflowWrap="anywhere"),e((t=>!t))}),[s,t]),o=(0,n.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=s.current,i=t>e||s.current.querySelector("code").hasAttribute("style");r(i)}),[s]);return Rn(s,o),(0,n.useEffect)((()=>{o()}),[t,o]),(0,n.useEffect)((()=>(window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("resize",o)})),[o]),{codeBlockRef:s,isEnabled:t,isCodeScrollable:i,toggle:a}}(),m=function(t){return t?.match(Sn)?.groups.title??""}(i)||r,{lineClassNames:y,code:g}=In(t,{metastring:i,language:l,magicComments:c}),v=a??function(t){return Boolean(t?.includes("showLineNumbers"))}(i);return n.createElement(Ln,{as:"div",className:(0,o.Z)(e,l&&!e.includes(`language-${l}`)&&`language-${l}`)},m&&n.createElement("div",{className:Pn.codeBlockTitle},m),n.createElement("div",{className:Pn.codeBlockContent},n.createElement(_,(0,s.Z)({},d,{theme:u,code:g,language:l??"text"}),(({className:t,tokens:e,getLineProps:i,getTokenProps:r})=>n.createElement("pre",{tabIndex:0,ref:f.codeBlockRef,className:(0,o.Z)(t,Pn.codeBlock,"thin-scrollbar")},n.createElement("code",{className:(0,o.Z)(Pn.codeBlockLines,v&&Pn.codeBlockLinesWithNumbering)},e.map(((t,e)=>n.createElement(Vn,{key:e,line:t,getLineProps:i,getTokenProps:r,classNames:y[e],showLineNumbers:v}))))))),n.createElement("div",{className:Pn.buttonGroup},(f.isEnabled||f.isCodeScrollable)&&n.createElement(qn,{className:Pn.codeButton,onClick:()=>f.toggle(),isEnabled:f.isEnabled}),n.createElement(Un,{className:Pn.codeButton,code:g}))))}const Zn=(t=>function(e){return e.live?n.createElement(bn,(0,s.Z)({scope:xn.Z},e)):n.createElement(t,e)})((function({children:t,...e}){const i=(0,p.Z)(),r=function(t){return n.Children.toArray(t).some((t=>(0,n.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(t),a="string"==typeof r?Hn:On;return n.createElement(a,(0,s.Z)({key:String(i)},e),r)}));var Jn=i(9817);var Xn=i(8698);const $n={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};function Kn(t){return!!t&&("SUMMARY"===t.tagName||Kn(t.parentElement))}function Gn(t,e){return!!t&&(t===e||Gn(t.parentElement,e))}function Qn({summary:t,children:e,...i}){const r=(0,p.Z)(),a=(0,n.useRef)(null),{collapsed:h,setCollapsed:c}=(0,Xn.u)({initialState:!i.open}),[l,u]=(0,n.useState)(i.open),d=n.isValidElement(t)?t:n.createElement("summary",null,t??"Details");return n.createElement("details",(0,s.Z)({},i,{ref:a,open:l,"data-collapsed":h,className:(0,o.Z)($n.details,r&&$n.isBrowser,i.className),onMouseDown:t=>{Kn(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;Kn(e)&&Gn(e,a.current)&&(t.preventDefault(),h?(c(!1),u(!0)):c(!0))}}),d,n.createElement(Xn.z,{lazy:!1,collapsed:h,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{c(t),u(!t)}},n.createElement("div",{className:$n.collapsibleContent},e)))}const Yn={details:"details_SZgV"},tr="alert alert--info";function er({...t}){return n.createElement(Qn,(0,s.Z)({},t,{className:(0,o.Z)(tr,Yn.details,t.className)}))}var ir=i(3851);function nr(t){return n.createElement(ir.Z,t)}const rr={containsTaskList:"containsTaskList__YnT"};const sr={img:"img__Ss2"};const ar="admonition_qNG0",or="admonitionHeading_l909",pr="admonitionIcon_UNbs",hr="admonitionContent_oUmQ";const cr={note:{infimaClassName:"secondary",iconComponent:function(){return n.createElement("svg",{viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:n.createElement(on.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return n.createElement("svg",{viewBox:"0 0 12 16"},n.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:n.createElement(on.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return n.createElement("svg",{viewBox:"0 0 12 16"},n.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:n.createElement(on.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return n.createElement("svg",{viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:n.createElement(on.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return n.createElement("svg",{viewBox:"0 0 16 16"},n.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:n.createElement(on.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},lr={secondary:"note",important:"info",success:"tip",warning:"danger"};function ur(t){const{mdxAdmonitionTitle:e,rest:i}=function(t){const e=n.Children.toArray(t),i=e.find((t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.props?.mdxType)),r=n.createElement(n.Fragment,null,e.filter((t=>t!==i)));return{mdxAdmonitionTitle:i,rest:r}}(t.children);return{...t,title:t.title??e,children:i}}const dr={head:function(t){const e=n.Children.map(t.children,(t=>n.isValidElement(t)?function(t){if(t.props?.mdxType&&t.props.originalType){const{mdxType:e,originalType:i,...r}=t.props;return n.createElement(t.props.originalType,r)}return t}(t):t));return n.createElement(a.Z,t,e)},code:function(t){const e=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return n.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")||(0,n.isValidElement)(t)&&e.includes(t.props?.mdxType)))?n.createElement("code",t):n.createElement(Zn,t)},a:function(t){return n.createElement(Jn.Z,t)},pre:function(t){return n.createElement(Zn,(0,n.isValidElement)(t.children)&&"code"===t.children.props?.originalType?t.children.props:{...t})},details:function(t){const e=n.Children.toArray(t.children),i=e.find((t=>n.isValidElement(t)&&"summary"===t.props?.mdxType)),r=n.createElement(n.Fragment,null,e.filter((t=>t!==i)));return n.createElement(er,(0,s.Z)({},t,{summary:i}),r)},ul:function(t){return n.createElement("ul",(0,s.Z)({},t,{className:(e=t.className,(0,o.Z)(e,e?.includes("contains-task-list")&&rr.containsTaskList))}));var e},img:function(t){return n.createElement("img",(0,s.Z)({loading:"lazy"},t,{className:(e=t.className,(0,o.Z)(e,sr.img))}));var e},h1:t=>n.createElement(nr,(0,s.Z)({as:"h1"},t)),h2:t=>n.createElement(nr,(0,s.Z)({as:"h2"},t)),h3:t=>n.createElement(nr,(0,s.Z)({as:"h3"},t)),h4:t=>n.createElement(nr,(0,s.Z)({as:"h4"},t)),h5:t=>n.createElement(nr,(0,s.Z)({as:"h5"},t)),h6:t=>n.createElement(nr,(0,s.Z)({as:"h6"},t)),admonition:function(t){const{children:e,type:i,title:r,icon:s}=ur(t),a=function(t){const e=lr[t]??t,i=cr[e];
2return i||(console.warn(`No admonition config found for admonition type "${e}". Using Info as fallback.`),cr.info)}(i),p=r??a.label,{iconComponent:h}=a,c=s??n.createElement(h,null);return n.createElement("div",{className:(0,o.Z)(_n.k.common.admonition,_n.k.common.admonitionType(t.type),"alert",`alert--${a.infimaClassName}`,ar)},n.createElement("div",{className:or},n.createElement("span",{className:pr},c),p),n.createElement("div",{className:hr},e))},mermaid:()=>null};function fr({children:t}){return n.createElement(r.Zo,{components:dr},t)}},4501:(t,e)=>{function i(t){let e,i=[];for(let n of t.split(",").map((t=>t.trim())))if(/^-?\d+$/.test(n))i.push(parseInt(n,10));else if(e=n.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,n,r,s]=e;if(n&&s){n=parseInt(n),s=parseInt(s);const t=n<s?1:-1;"-"!==r&&".."!==r&&"\u2025"!==r||(s+=t);for(let e=n;e!==s;e+=t)i.push(e)}}return i}e.default=i,t.exports=i},9144:(t,e,i)=>{i(9193),t.exports=i(3617).Object.assign},7155:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},97:(t,e,i)=>{var n=i(6233);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},4071:(t,e,i)=>{var n=i(7124),r=i(3176),s=i(2310);t.exports=function(t){return function(e,i,a){var o,p=n(e),h=r(p.length),c=s(a,h);if(t&&i!=i){for(;h>c;)if((o=p[c++])!=o)return!0}else for(;h>c;c++)if((t||c in p)&&p[c]===i)return t||c||0;return!t&&-1}}},6829:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},3617:t=>{var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},4413:(t,e,i)=>{var n=i(7155);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},8798:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},6268:(t,e,i)=>{t.exports=!i(1969)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},8674:(t,e,i)=>{var n=i(6233),r=i(5250).document,s=n(r)&&n(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},4820:t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2736:(t,e,i)=>{var n=i(5250),r=i(3617),s=i(3428),a=i(9489),o=i(4413),p="prototype",h=function(t,e,i){var c,l,u,d,f=t&h.F,m=t&h.G,y=t&h.S,g=t&h.P,v=t&h.B,b=m?n:y?n[e]||(n[e]={}):(n[e]||{})[p],x=m?r:r[e]||(r[e]={}),_=x[p]||(x[p]={});for(c in m&&(i=e),i)u=((l=!f&&b&&void 0!==b[c])?b:i)[c],d=v&&l?o(u,n):g&&"function"==typeof u?o(Function.call,u):u,b&&a(b,c,u,t&h.U),x[c]!=u&&s(x,c,d),g&&_[c]!=u&&(_[c]=u)};n.core=r,h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,h.U=64,h.R=128,t.exports=h},1969:t=>{t.exports=function(t){try{return!!t()}catch(e){return!0}}},4894:(t,e,i)=>{t.exports=i(6285)("native-function-to-string",Function.toString)},5250:t=>{var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},483:t=>{var e={}.hasOwnProperty;t.exports=function(t,i){return e.call(t,i)}},3428:(t,e,i)=>{var n=i(2665),r=i(6631);t.exports=i(6268)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},1864:(t,e,i)=>{t.exports=!i(6268)&&!i(1969)((function(){return 7!=Object.defineProperty(i(8674)("div"),"a",{get:function(){return 7}}).a}))},8275:(t,e,i)=>{var n=i(6829);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},6233:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},4266:t=>{t.exports=!1},4040:(t,e,i)=>{"use strict";var n=i(6268),r=i(3804),s=i(7020),a=i(8158),o=i(7684),p=i(8275),h=Object.assign;t.exports=!h||i(1969)((function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach((function(t){e[t]=t})),7!=h({},t)[i]||Object.keys(h({},e)).join("")!=n}))?function(t,e){for(var i=o(t),h=arguments.length,c=1,l=s.f,u=a.f;h>c;)for(var d,f=p(arguments[c++]),m=l?r(f).concat(l(f)):r(f),y=m.length,g=0;y>g;)d=m[g++],n&&!u.call(f,d)||(i[d]=f[d]);return i}:h}
2,2665:(t,e,i)=>{var n=i(97),r=i(1864),s=i(2190),a=Object.defineProperty;e.f=i(6268)?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),r)try{return a(t,e,i)}catch(o){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},7020:(t,e)=>{e.f=Object.getOwnPropertySymbols},7979:(t,e,i)=>{var n=i(483),r=i(7124),s=i(4071)(!1),a=i(3905)("IE_PROTO");t.exports=function(t,e){var i,o=r(t),p=0,h=[];for(i in o)i!=a&&n(o,i)&&h.push(i);for(;e.length>p;)n(o,i=e[p++])&&(~s(h,i)||h.push(i));return h}},3804:(t,e,i)=>{var n=i(7979),r=i(4820);t.exports=Object.keys||function(t){return n(t,r)}},8158:(t,e)=>{e.f={}.propertyIsEnumerable},6631:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9489:(t,e,i)=>{var n=i(5250),r=i(3428),s=i(483),a=i(7488)("src"),o=i(4894),p="toString",h=(""+o).split(p);i(3617).inspectSource=function(t){return o.call(t)},(t.exports=function(t,e,i,o){var p="function"==typeof i;p&&(s(i,"name")||r(i,"name",e)),t[e]!==i&&(p&&(s(i,a)||r(i,a,t[e]?""+t[e]:h.join(String(e)))),t===n?t[e]=i:o?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,p,(function(){return"function"==typeof this&&this[a]||o.call(this)}))},3905:(t,e,i)=>{var n=i(6285)("keys"),r=i(7488);t.exports=function(t){return n[t]||(n[t]=r(t))}},6285:(t,e,i)=>{var n=i(3617),r=i(5250),s="__core-js_shared__",a=r[s]||(r[s]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(4266)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},2310:(t,e,i)=>{var n=i(4425),r=Math.max,s=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):s(t,e)}},4425:t=>{var e=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:e)(t)}},7124:(t,e,i)=>{var n=i(8275),r=i(8798);t.exports=function(t){return n(r(t))}},3176:(t,e,i)=>{var n=i(4425),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},7684:(t,e,i)=>{var n=i(8798);t.exports=function(t){return Object(n(t))}},2190:(t,e,i)=>{var n=i(6233);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7488:t=>{var e=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+i).toString(36))}},9193:(t,e,i)=>{var n=i(2736);n(n.S+n.F,"Object",{assign:i(4040)})},869:(t,e,i)=>{"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}(i(5982));function a(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 o="navigator"in i.g&&/Win/i.test(navigator.platform),p="navigator"in i.g&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),h="npm__react-simple-code-editor__textarea",c="\n/**\n * Reset the text fill color so that placeholder is visible\n */\n."+h+":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  ."+h+" {\n    color: transparent !important;\n  }\n\n  ."+h+"::selection {\n    background-color: #accef7 !important;\n    color: transparent !important;\n  }\n}\n",l=function(t){function e(){var t,i,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var s=arguments.length,h=Array(s),c=0;c<s;c++)h[c]=arguments[c];return i=r=a(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(h))),r.state={capture:!0},r._recordCurrentState=function(){var t=r._input;if(t){var e=t.value,i=t.selectionStart,n=t.selectionEnd;r._recordChange({value:e,selectionStart:i,selectionEnd:n})}},r._getLines=function(t,e){return t.substring(0,e).split("\n")},r._recordChange=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=r._history,s=i.stack,a=i.offset;if(s.length&&a>-1){r._history.stack=s.slice(0,a+1);var o=r._history.stack.length;if(o>100){var p=o-100;r._history.stack=s.slice(p,o),r._history.offset=Math.max(r._history.offset-p,0)}}var h=Date.now();if(e){var c=r._history.stack[r._history.offset];if(c&&h-c.timestamp<3e3){var l=/[^a-z0-9]([a-z0-9]+)$/i,u=r._getLines(c.value,c.selectionStart).pop().match(l),d=r._getLines(t.value,t.selectionStart).pop().match(l);if(u&&d&&d[1].startsWith(u[1]))return void(r._history.stack[r._history.offset]=n({},t,{timestamp:h}))}}r._history.stack.push(n({},t,{timestamp:h})),r._history.offset++},r._updateInput=function(t){var e=r._input;e&&(e.value=t.value,e.selectionStart=t.selectionStart,e.selectionEnd=t.selectionEnd,r.props.onValueChange(t.value))},r._applyEdits=function(t){var e=r._input,i=r._history.stack[r._history.offset];i&&e&&(r._history.stack[r._history.offset]=n({},i,{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd})),r._recordChange(t),r._updateInput(t)},r._undoEdit=function(){var t=r._history,e=t.stack,i=t.offset,n=e[i-1];n&&(r._updateInput(n),r._history.offset=Math.max(i-1,0))},r._redoEdit=function(){var t=r._history,e=t.stack,i=t.offset,n=e[i+1];n&&(r._updateInput(n),r._history.offset=Math.min(i+1,e.length-1))},r._handleKeyDown=function(t){var e=r.props,i=e.tabSize,n=e.insertSpaces,s=e.ignoreTabKey,a=e.onKeyDown;if(!a||(a(t),!t.defaultPrevented)){27===t.keyCode&&t.target.blur();var h=t.target,c=h.value,l=h.selectionStart,u=h.selectionEnd,d=(n?" ":"\t").repeat(i);if(9===t.keyCode&&!s&&r.state.capture)if(t.preventDefault(),t.shiftKey){var f=r._getLines(c,l),m=f.length-1,y=r._getLines(c,u).length-1,g=c.split("\n").map((function(t,e){return e>=m&&e<=y&&t.startsWith(d)?t.substring(d.length):t})).join("\n");if(c!==g){var v=f[m];r._applyEdits({value:g,selectionStart:v.startsWith(d)?l-d.length:l,selectionEnd:u-(c.length-g.length)})}}else if(l!==u){var b=r._getLines(c,l),x=b.length-1,_=r._getLines(c,u).length-1,k=b[x];r._applyEdits({value:c.split("\n").map((function(t,e){return e>=x&&e<=_?d+t:t})).join("\n"),selectionStart:/\S/.test(k)?l+d.length:l,selectionEnd:u+d.length*(_-x+1)})}else{var E=l+d.length;r._applyEdits({value:c.substring(0,l)+d+c.substring(u),selectionStart:E,selectionEnd:E})}else if(8===t.keyCode){var S=l!==u;if(c.substring(0,l).endsWith(d)&&!S){t.preventDefault();var w=l-d.length;r._applyEdits({value:c.substring(0,l-d.length)+c.substring(u),selectionStart:w,selectionEnd:w})}}
2else if(13===t.keyCode){if(l===u){var C=r._getLines(c,l).pop().match(/^\s+/);if(C&&C[0]){t.preventDefault();var A="\n"+C[0],I=l+A.length;r._applyEdits({value:c.substring(0,l)+A+c.substring(u),selectionStart:I,selectionEnd:I})}}}else if(57===t.keyCode||219===t.keyCode||222===t.keyCode||192===t.keyCode){var N=void 0;57===t.keyCode&&t.shiftKey?N=["(",")"]:219===t.keyCode?N=t.shiftKey?["{","}"]:["[","]"]:222===t.keyCode?N=t.shiftKey?['"','"']:["'","'"]:192!==t.keyCode||t.shiftKey||(N=["`","`"]),l!==u&&N&&(t.preventDefault(),r._applyEdits({value:c.substring(0,l)+N[0]+c.substring(l,u)+N[1]+c.substring(u),selectionStart:l,selectionEnd:u+2}))}else!(p?t.metaKey&&90===t.keyCode:t.ctrlKey&&90===t.keyCode)||t.shiftKey||t.altKey?(p?t.metaKey&&90===t.keyCode&&t.shiftKey:o?t.ctrlKey&&89===t.keyCode:t.ctrlKey&&90===t.keyCode&&t.shiftKey)&&!t.altKey?(t.preventDefault(),r._redoEdit()):77!==t.keyCode||!t.ctrlKey||p&&!t.shiftKey||(t.preventDefault(),r.setState((function(t){return{capture:!t.capture}}))):(t.preventDefault(),r._undoEdit())}},r._handleChange=function(t){var e=t.target,i=e.value,n=e.selectionStart,s=e.selectionEnd;r._recordChange({value:i,selectionStart:n,selectionEnd:s},!0),r.props.onValueChange(i)},r._history={stack:[],offset:-1},a(r,i)}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),r(e,[{key:"componentDidMount",value:function(){this._recordCurrentState()}},{key:"render",value:function(){var t=this,e=this.props,i=e.value,r=e.style,a=e.padding,o=e.highlight,p=e.textareaId,l=e.autoFocus,d=e.disabled,f=e.form,m=e.maxLength,y=e.minLength,g=e.name,v=e.placeholder,b=e.readOnly,x=e.required,_=e.onClick,k=e.onFocus,E=e.onBlur,S=e.onKeyUp,w=(e.onKeyDown,e.onValueChange,e.tabSize,e.insertSpaces,e.ignoreTabKey,function(t,e){var i={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}(e,["value","style","padding","highlight","textareaId","autoFocus","disabled","form","maxLength","minLength","name","placeholder","readOnly","required","onClick","onFocus","onBlur","onKeyUp","onKeyDown","onValueChange","tabSize","insertSpaces","ignoreTabKey"])),C={paddingTop:a,paddingRight:a,paddingBottom:a,paddingLeft:a},A=o(i);return s.createElement("div",n({},w,{style:n({},u.container,r)}),s.createElement("textarea",{ref:function(e){return t._input=e},style:n({},u.editor,u.textarea,C),className:h,id:p,value:i,onChange:this._handleChange,onKeyDown:this._handleKeyDown,onClick:_,onKeyUp:S,onFocus:k,onBlur:E,disabled:d,form:f,maxLength:m,minLength:y,name:g,placeholder:v,readOnly:b,required:x,autoFocus:l,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"data-gramm":!1}),s.createElement("pre",n({"aria-hidden":"true",style:n({},u.editor,u.highlight,C)},"string"==typeof A?{dangerouslySetInnerHTML:{__html:A+"<br />"}}:{children:A})),s.createElement("style",{type:"text/css",dangerouslySetInnerHTML:{__html:c}}))}},{key:"session",get:function(){return{history:this._history}},set:function(t){this._history=t.history}}]),e}(s.Component);l.defaultProps={tabSize:2,insertSpaces:!0,ignoreTabKey:!1,padding:0},e.Z=l;var u={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"}}},7908:(t,e,i)=>{"use strict";var n=i(7320),r="function"==typeof Symbol&&Symbol.for,s=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,p=r?Symbol.for("react.strict_mode"):60108,h=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function g(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,i=1;i<arguments.length;i++)e+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(t,e,i){this.props=t,this.context=e,this.refs=b,this.updater=i||v}function _(){}function k(t,e,i){this.props=t,this.context=e,this.refs=b,this.updater=i||v}x.prototype.isReactComponent={},x.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(g(85));this.updater.enqueueSetState(this,t,e,"setState")},x.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},_.prototype=x.prototype;var E=k.prototype=new _;E.constructor=k,n(E,x.prototype),E.isPureReactComponent=!0;var S={current:null},w=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function A(t,e,i){var n,r={},a=null,o=null;
vendor: 3,028 bytes, line 2
2if(null!=e)for(n in void 0!==e.ref&&(o=e.ref),void 0!==e.key&&(a=""+e.key),e)w.call(e,n)&&!C.hasOwnProperty(n)&&(r[n]=e[n]);var p=arguments.length-2;if(1===p)r.children=i;else if(1<p){for(var h=Array(p),c=0;c<p;c++)h[c]=arguments[c+2];r.children=h}if(t&&t.defaultProps)for(n in p=t.defaultProps)void 0===r[n]&&(r[n]=p[n]);return{$$typeof:s,type:t,key:a,ref:o,props:r,_owner:S.current}}function I(t){return"object"==typeof t&&null!==t&&t.$$typeof===s}var N=/\/+/g,L=[];function P(t,e,i,n){if(L.length){var r=L.pop();return r.result=t,r.keyPrefix=e,r.func=i,r.context=n,r.count=0,r}return{result:t,keyPrefix:e,func:i,context:n,count:0}}function O(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>L.length&&L.push(t)}function T(t,e,i,n){var r=typeof t;"undefined"!==r&&"boolean"!==r||(t=null);var o=!1;if(null===t)o=!0;else switch(r){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case s:case a:o=!0}}if(o)return i(n,t,""===e?"."+R(t,0):e),1;if(o=0,e=""===e?".":e+":",Array.isArray(t))for(var p=0;p<t.length;p++){var h=e+R(r=t[p],p);o+=T(r,h,i,n)}else if(null===t||"object"!=typeof t?h=null:h="function"==typeof(h=y&&t[y]||t["@@iterator"])?h:null,"function"==typeof h)for(t=h.call(t),p=0;!(r=t.next()).done;)o+=T(r=r.value,h=e+R(r,p++),i,n);else if("object"===r)throw i=""+t,Error(g(31,"[object Object]"===i?"object with keys {"+Object.keys(t).join(", ")+"}":i,""));return o}function j(t,e,i){return null==t?0:T(t,"",e,i)}function R(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))}(t.key):e.toString(36)}function B(t,e){t.func.call(t.context,e,t.count++)}function V(t,e,i){var n=t.result,r=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?D(t,n,i,(function(t){return t})):null!=t&&(I(t)&&(t=function(t,e){return{$$typeof:s,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,r+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(N,"$&/")+"/")+i)),n.push(t))}function D(t,e,i,n,r){var s="";null!=i&&(s=(""+i).replace(N,"$&/")+"/"),j(t,V,e=P(e,s,n,r)),O(e)}var F={current:null};function M(){var t=F.current;if(null===t)throw Error(g(321));return t}var U={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:function(t,e,i){if(null==t)return t;var n=[];return D(t,n,null,e,i),n},forEach:function(t,e,i){if(null==t)return t;j(t,B,e=P(null,null,e,i)),O(e)},count:function(t){return j(t,(function(){return null}),null)},toArray:function(t){var e=[];return D(t,e,null,(function(t){return t})),e},only:function(t){if(!I(t))throw Error(g(143));return t}},e.Component=x,e.Fragment=o,e.Profiler=h,e.PureComponent=k,e.StrictMode=p,e.Suspense=d,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,e.cloneElement=function(t,e,i){if(null==t)throw Error(g(267,t));var r=n({},t.props),a=t.key,o=t.ref,p=t._owner;if(null!=e){if(void 0!==e.ref&&(o=e.ref,p=S.current),void 0!==e.ke
vendor: 1,520 bytes, line 2
2y&&(a=""+e.key),t.type&&t.type.defaultProps)var h=t.type.defaultProps;for(c in e)w.call(e,c)&&!C.hasOwnProperty(c)&&(r[c]=void 0===e[c]&&void 0!==h?h[c]:e[c])}var c=arguments.length-2;if(1===c)r.children=i;else if(1<c){h=Array(c);for(var l=0;l<c;l++)h[l]=arguments[l+2];r.children=h}return{$$typeof:s,type:t.type,key:a,ref:o,props:r,_owner:p}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:l,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:t},t.Consumer=t},e.createElement=A,e.createFactory=function(t){var e=A.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=I,e.lazy=function(t){return{$$typeof:m,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:f,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return M().useCallback(t,e)},e.useContext=function(t,e){return M().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return M().useEffect(t,e)},e.useImperativeHandle=function(t,e,i){return M().useImperativeHandle(t,e,i)},e.useLayoutEffect=function(t,e){return M().useLayoutEffect(t,e)},e.useMemo=function(t,e){return M().useMemo(t,e)},e.useReducer=function(t,e,i){return M().useReducer(t,e,i)},e.useRef=function(t){return M().useRef(t)},e.useState=function(t){return M().useState(t)},e.version="16.14.0"},5982:(t,e,i)=>{"use strict";t.exports=i(7908)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.