@next-font/plugin-vite 1.4.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,12 +13,12 @@ npm install @next-font/plugin-vite
13
13
  Vite config file:
14
14
 
15
15
  ```js
16
- import { defineConfig } from 'vite'
17
- import nextFont from '@next-font/plugin-vite'
16
+ import { defineConfig } from 'vite';
17
+ import nextFont from '@next-font/plugin-vite';
18
18
 
19
19
  export default defineConfig({
20
20
  plugins: [nextFont()],
21
- })
21
+ });
22
22
  ```
23
23
 
24
24
  > You can use `next/font`, `@next/font`, or `next-font` when loading fonts, and it will work with this plugin
@@ -0,0 +1,16 @@
1
+ import{r as e,t}from"./chunk-tuRmWmEN.mjs";import{t as n}from"./index.mjs";var r=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getFileSystem=r,e.setFileSystem=n;let t={readFile:()=>{throw Error(`readFile not implemented`)},writeFile:()=>{throw Error(`writeFile not implemented`)}};function n(e){t.readFile=e.readFile,t.writeFile=e.writeFile}function r(){return t}})),i=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=n;let t=/['"]/;function n(e){return e?(t.test(e.charAt(0))&&(e=e.substr(1)),t.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):``}})),a=t(((e,t)=>{let n=/[$]?[\w-]+/g;t.exports=(e,t)=>{let r;for(;r=n.exec(e);){let i=t[r[0]];i&&(e=e.slice(0,r.index)+i+e.slice(n.lastIndex),n.lastIndex-=r[0].length-i.length)}return e}})),o=t(((e,t)=>{let n=a();t.exports=(e,t)=>{e.walk(e=>{e.type===`decl`&&e.value?e.value=n(e.value.toString(),t):e.type===`rule`&&e.selector?e.selector=n(e.selector.toString(),t):e.type===`atrule`&&e.params&&(e.params=n(e.params.toString(),t))})}})),s=t(((e,t)=>{let n=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/,r=/^("[^"]*"|'[^']*'|[^"']+)$/,i=e=>{let t={};return e.walkDecls(e=>{let n=e.raws.before?e.raws.before.trim():``;t[n+e.prop]=e.value}),t};t.exports=(e,t=!0,a=`auto`)=>{let o={},s={};function c(e,n){let r=n.replace(/'|"/g,``);o[r]=Object.assign(o[r]||{},i(e)),t&&e.remove()}function l(e){Object.assign(s,i(e)),t&&e.remove()}return e.each(e=>{if(e.type===`rule`&&a!==`at-rule`){if(e.selector.slice(0,7)===`:import`){let t=n.exec(e.selector);t&&c(e,t[1])}e.selector===`:export`&&l(e)}if(e.type===`atrule`&&a!==`rule`){if(e.name===`icss-import`){let t=r.exec(e.params);t&&c(e,t[1])}e.name===`icss-export`&&l(e)}}),{icssImports:o,icssExports:s}}})),c=t(((e,t)=>{let n=(e,t,n=`rule`)=>Object.keys(e).map(r=>{let i=e[r],a=Object.keys(i).map(e=>t.decl({prop:e,value:i[e],raws:{before:`
2
+ `}})),o=a.length>0,s=n===`rule`?t.rule({selector:`:import('${r}')`,raws:{after:o?`
3
+ `:``}}):t.atRule({name:`icss-import`,params:`'${r}'`,raws:{after:o?`
4
+ `:``}});return o&&s.append(a),s}),r=(e,t,n=`rule`)=>{let r=Object.keys(e).map(n=>t.decl({prop:n,value:e[n],raws:{before:`
5
+ `}}));if(r.length===0)return[];let i=n===`rule`?t.rule({selector:`:export`,raws:{after:`
6
+ `}}):t.atRule({name:`icss-export`,raws:{after:`
7
+ `}});return i.append(r),[i]};t.exports=(e,t,i,a)=>[...n(e,i,a),...r(t,i,a)]})),l=t(((e,t)=>{t.exports={replaceValueSymbols:a(),replaceSymbols:o(),extractICSS:s(),createICSSRules:c()}})),u=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=l();let n=/^:import\((.+)\)$/;e.default=class{constructor(e,t){this.pathFetcher=e,this.plugin=this.plugin.bind(this),this.exportTokens={},this.translations={},this.trace=t}plugin(){let e=this;return{postcssPlugin:`css-modules-parser`,async OnceExit(t){return await Promise.all(e.fetchAllImports(t)),e.linkImportedSymbols(t),e.extractExports(t)}}}fetchAllImports(e){let t=[];return e.each(r=>{r.type==`rule`&&r.selector.match(n)&&t.push(this.fetchImport(r,e.source.input.from,t.length))}),t}linkImportedSymbols(e){(0,t.replaceSymbols)(e,this.translations)}extractExports(e){e.each(e=>{e.type==`rule`&&e.selector==`:export`&&this.handleExport(e)})}handleExport(e){e.each(e=>{e.type==`decl`&&(Object.keys(this.translations).forEach(t=>{e.value=e.value.replace(t,this.translations[t])}),this.exportTokens[e.prop]=e.value)}),e.remove()}async fetchImport(e,t,r){let i=e.selector.match(n)[1],a=this.trace+String.fromCharCode(r),o=await this.pathFetcher(i,t,a);try{e.each(e=>{e.type==`decl`&&(this.translations[e.prop]=o[e.value])}),e.remove()}catch(e){console.log(e)}}}})),d=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=n;var t=r();function n(e,n){return new Promise((r,i)=>{let{writeFile:a}=(0,t.getFileSystem)();a(`${e}.json`,JSON.stringify(n),e=>e?i(e):r(n))})}})),f=t(((e,t)=>{var n=1/0,r=`[object Symbol]`,i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=`\\ud800-\\udfff`,s=`\\u0300-\\u036f\\ufe20-\\ufe23`,c=`\\u20d0-\\u20f0`,l=`\\u2700-\\u27bf`,u=`a-z\\xdf-\\xf6\\xf8-\\xff`,d=`\\xac\\xb1\\xd7\\xf7`,f=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,p=`\\u2000-\\u206f`,m=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,h=`A-Z\\xc0-\\xd6\\xd8-\\xde`,g=`\\ufe0e\\ufe0f`,_=d+f+p+m,v=`['’]`,y=`[`+o+`]`,b=`[`+_+`]`,x=`[`+s+c+`]`,S=`\\d+`,C=`[`+l+`]`,w=`[`+u+`]`,T=`[^`+o+_+S+l+u+h+`]`,E=`\\ud83c[\\udffb-\\udfff]`,D=`(?:`+x+`|`+E+`)`,O=`[^`+o+`]`,k=`(?:\\ud83c[\\udde6-\\uddff]){2}`,A=`[\\ud800-\\udbff][\\udc00-\\udfff]`,j=`[`+h+`]`,M=`\\u200d`,N=`(?:`+w+`|`+T+`)`,P=`(?:`+j+`|`+T+`)`,F=`(?:`+v+`(?:d|ll|m|re|s|t|ve))?`,I=`(?:`+v+`(?:D|LL|M|RE|S|T|VE))?`,L=D+`?`,R=`[`+g+`]?`,z=`(?:`+M+`(?:`+[O,k,A].join(`|`)+`)`+R+L+`)*`,B=R+L+z,ee=`(?:`+[C,k,A].join(`|`)+`)`+B,V=`(?:`+[O+x+`?`,x,k,A,y].join(`|`)+`)`,te=RegExp(v,`g`),H=RegExp(x,`g`),U=RegExp(E+`(?=`+E+`)|`+V+B,`g`),W=RegExp([j+`?`+w+`+`+F+`(?=`+[b,j,`$`].join(`|`)+`)`,P+`+`+I+`(?=`+[b,j+N,`$`].join(`|`)+`)`,j+`?`+N+`+`+F,j+`+`+I,S,ee].join(`|`),`g`),G=RegExp(`[`+M+o+s+c+g+`]`),K=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,q={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`ss`},J=typeof global==`object`&&global&&global.Object===Object&&global,Y=typeof self==`object`&&self&&self.Object===Object&&self,X=J||Y||Function(`return this`)();function ne(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function re(e){return e.split(``)}function ie(e){return e.match(i)||[]}function ae(e){return function(t){return e?.[t]}}var oe=ae(q);function Z(e){return G.test(e)}function se(e){return K.test(e)}function Q(e){return Z(e)?ce(e):re(e)}function ce(e){return e.match(U)||[]}function le(e){return e.match(W)||[]}var ue=Object.prototype.toString,de=X.Symbol,fe=de?de.prototype:void 0,pe=fe?fe.toString:void 0;function me(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function he(e){if(typeof e==`string`)return e;if(be(e))return pe?pe.call(e):``;var t=e+``;return t==`0`&&1/e==-n?`-0`:t}function ge(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:me(e,t,n)}function _e(e){return function(t){t=$(t);var n=Z(t)?Q(t):void 0,r=n?n[0]:t.charAt(0),i=n?ge(n,1).join(``):t.slice(1);return r[e]()+i}}function ve(e){return function(t){return ne(Te(Ce(t).replace(te,``)),e,``)}}function ye(e){return!!e&&typeof e==`object`}function be(e){return typeof e==`symbol`||ye(e)&&ue.call(e)==r}function $(e){return e==null?``:he(e)}var xe=ve(function(e,t,n){return t=t.toLowerCase(),e+(n?Se(t):t)});function Se(e){return we($(e).toLowerCase())}function Ce(e){return e=$(e),e&&e.replace(a,oe).replace(H,``)}var we=_e(`toUpperCase`);function Te(e,t,n){return e=$(e),t=n?void 0:t,t===void 0?se(e)?le(e):ie(e):e.match(t)||[]}t.exports=xe})),p=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.makeLocalsConventionReducer=i;var t=n(f());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){return e.replace(/-+(\w)/g,(e,t)=>t.toUpperCase())}function i(e,n){let i=typeof e==`function`;return(a,[o,s])=>{if(i){let t=e(o,s,n);return a[t]=s,a}switch(e){case`camelCase`:a[o]=s,a[(0,t.default)(o)]=s;break;case`camelCaseOnly`:a[(0,t.default)(o)]=s;break;case`dashes`:a[o]=s,a[r(o)]=s;break;case`dashesOnly`:a[r(o)]=s;break}return a}}})),m=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.default=void 0;var n=s(e(`postcss`)),i=s(e(`path`)),a=s(u()),o=r();function s(e){return e&&e.__esModule?e:{default:e}}var c=class e{constructor(t){this.plugins=t||e.defaultPlugins}async load(e,t,r,i){let o=new a.default(i,r),s=this.plugins.concat([o.plugin()]);return{injectableSource:(await(0,n.default)(s).process(e,{from:t})).css,exportTokens:o.exportTokens}}};let l=(e,t)=>e.length<t.length?e<t.substring(0,e.length)?-1:1:e.length>t.length?e.substring(0,t.length)<=t?-1:1:e<t?-1:1;t.default=class{constructor(e,t,n){if(e===`/`&&process.platform===`win32`){let t=process.cwd().slice(0,3);if(!/^[A-Za-z]:\\$/.test(t))throw Error(`Failed to obtain root from "${process.cwd()}".`);e=t}this.root=e,this.fileResolve=n,this.sources={},this.traces={},this.importNr=0,this.core=new c(t),this.tokensByFile={},this.fs=(0,o.getFileSystem)()}async fetch(t,n,r){let a=t.replace(/^["']|["']$/g,``),o=r||String.fromCharCode(this.importNr++),s=typeof this.fileResolve==`function`,c=s?await this.fileResolve(a,n):await Promise.resolve();if(c&&!i.default.isAbsolute(c))throw Error(`The returned path from the "fileResolve" option must be absolute.`);let l=i.default.dirname(n),u=c||i.default.resolve(l,a),d=c||i.default.resolve(i.default.resolve(this.root,l),a);if(!s&&a[0]!==`.`&&!i.default.isAbsolute(a))try{d=e.resolve(a)}catch{}return this.tokensByFile[d]||new Promise((e,t)=>{this.fs.readFile(d,`utf-8`,async(n,r)=>{n&&t(n);let{injectableSource:i,exportTokens:a}=await this.core.load(r,u,o,this.fetch.bind(this));this.sources[d]=i,this.traces[o]=d,this.tokensByFile[d]=a,e(a)})})}get finalSource(){let e=this.traces,t=this.sources,n=new Set;return Object.keys(e).sort(l).map(r=>{let i=e[r];return n.has(i)?null:(n.add(i),t[i])}).join(``)}}})),h=t(((e,t)=>{function n(e,t){let n=Error(`Nondeterministic import's order`);return n.nodes=[e,t[e].find(n=>t[n].indexOf(e)>-1)],n}function r(e,t,i,a,o){if(i[e]===2)return;if(i[e]===1)return o?n(e,t):void 0;i[e]=1;let s=t[e],c=s.length;for(let e=0;e<c;++e){let n=r(s[e],t,i,a,o);if(n instanceof Error)return n}i[e]=2,a.push(e)}function i(e,t){let n=[],i={},a=Object.keys(e),o=a.length;for(let s=0;s<o;++s){let o=r(a[s],e,i,n,t);if(o instanceof Error)return o}return n}t.exports=i})),g=t(((e,t)=>{let n=h(),r=/^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/,i=/^:import\((?:"([^"]+)"|'([^']+)')\)/;function a(e,t,n,r){let i=t+`_siblings`,a=t+`_`+e;if(r[a]!==1){Array.isArray(r[i])||(r[i]=[]);let t=r[i];Array.isArray(n[e])?n[e]=n[e].concat(t):n[e]=t.slice(),r[a]=1,t.push(e)}}t.exports=(e={})=>{let t=0,o=typeof e.createImportedName==`function`?e.createImportedName:e=>`i__imported_${e.replace(/\W/g,`_`)}_${t++}`,s=e.failOnWrongOrder;return{postcssPlugin:`postcss-modules-extract-imports`,prepare(){let e={},t={},c={},l={},u={};return{Once(d,f){d.walkRules(n=>{let r=i.exec(n.selector);if(r){let[,i,o]=r,s=i||o;a(s,`root`,e,t),c[s]=n}}),d.walkDecls(/^composes$/,n=>{let i=n.value.split(`,`),s=[];i.forEach(i=>{let c=i.trim().match(r);if(!c){s.push(i);return}let d,[,f,p,m,h]=c;if(h)d=f.split(/\s+/).map(e=>`global(${e})`);else{let r=p||m,i=n.parent,s=``;for(;i.type!==`root`;)s=i.parent.index(i)+`_`+s,i=i.parent;let{selector:c}=n.parent;a(r,`_${s}${c}`,e,t),l[r]=n,u[r]=u[r]||{},d=f.split(/\s+/).map(e=>(u[r][e]||(u[r][e]=o(e,r)),u[r][e]))}s.push(d.join(` `))}),n.value=s.join(`, `)});let p=n(e,s);if(p instanceof Error)throw l[p.nodes.find(e=>l.hasOwnProperty(e))].error(`Failed to resolve order of composed modules `+p.nodes.map(e=>"`"+e+"`").join(`, `)+`.`,{plugin:`postcss-modules-extract-imports`,word:`composes`});let m;p.forEach(e=>{let t=u[e],n=c[e];!n&&t&&(n=f.rule({selector:`:import("${e}")`,raws:{after:`
8
+ `}}),m?d.insertAfter(m,n):d.prepend(n)),m=n,t&&Object.keys(t).forEach(e=>{n.append(f.decl({value:e,prop:t[e],raws:{before:`
9
+ `}}))})})}}}}},t.exports.postcss=!0})),_=t(((t,r)=>{var i=n(),a=e(`path`);r.exports=function(e,t){t||={};var n=t&&typeof t.context==`string`?t.context:process.cwd(),r=t&&typeof t.hashPrefix==`string`?t.hashPrefix:``;return function(t,o){var s=e.replace(/\[local\]/gi,t);return i({resourcePath:o},s,{content:r+a.relative(n,o).replace(/\\/g,`/`)+`\0`+t,context:n}).replace(RegExp(`[^a-zA-Z0-9\\-_\xA0-￿]`,`g`),`-`).replace(/^((-?[0-9])|--)/,`_$1`)}}})),v=t(((e,t)=>{e.__esModule=!0,e.default=i;function n(e){for(var t=e.toLowerCase(),n=``,r=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(r=a===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16);return s>=55296&&s<=57343||s===0||s>1114111?[`�`,n.length+(r?1:0)]:[String.fromCodePoint(s),n.length+(r?1:0)]}}var r=/\\/;function i(e){if(!r.test(e))return e;for(var t=``,i=0;i<e.length;i++){if(e[i]===`\\`){var a=n(e.slice(i+1,i+7));if(a!==void 0){t+=a[0],i+=a[1];continue}if(e[i+1]===`\\`){t+=`\\`,i++;continue}e.length===i+1&&(t+=e[i]);continue}t+=e[i]}return t}t.exports=e.default})),y=t(((e,t)=>{e.__esModule=!0,e.default=n;function n(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();if(!e[n])return;e=e[n]}return e}t.exports=e.default})),b=t(((e,t)=>{e.__esModule=!0,e.default=n;function n(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();e[n]||(e[n]={}),e=e[n]}}t.exports=e.default})),x=t(((e,t)=>{e.__esModule=!0,e.default=n;function n(e){for(var t=``,n=e.indexOf(`/*`),r=0;n>=0;){t+=e.slice(r,n);var i=e.indexOf(`*/`,n+2);if(i<0)return t;r=i+2,n=e.indexOf(`/*`,r)}return t+=e.slice(r),t}t.exports=e.default})),S=t((e=>{e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0,e.unesc=t(v()).default,e.getProp=t(y()).default,e.ensureObject=t(b()).default,e.stripComments=t(x()).default;function t(e){return e&&e.__esModule?e:{default:e}}})),C=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=S();function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}var a=function e(t,n){if(typeof t!=`object`||!t)return t;var r=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];i===`parent`&&typeof a==`object`?n&&(r[i]=n):a instanceof Array?r[i]=a.map(function(t){return e(t,r)}):r[i]=e(a,r)}return r};e.default=function(){function e(e){e===void 0&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||``,this.spaces.after=this.spaces.after||``}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(e){e===void 0&&(e={});var t=a(this);for(var n in e)t[n]=e[n];return t},t.appendToPropertyAndEscape=function(e,t,n){this.raws||={};var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},t.setPropertyAndEscape=function(e,t,n){this.raws||={},this[e]=t,this.raws[e]=n},t.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},t.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},t.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},t.valueToString=function(){return String(this.stringifyProperty(`value`))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},i(e,[{key:`rawSpaceBefore`,get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||``},set:function(e){(0,n.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=e}},{key:`rawSpaceAfter`,get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||``},set:function(e){(0,n.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=e}}]),e}(),t.exports=e.default})),w=t((e=>{e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0,e.TAG=`tag`,e.STRING=`string`,e.SELECTOR=`selector`,e.ROOT=`root`,e.PSEUDO=`pseudo`,e.NESTING=`nesting`,e.ID=`id`,e.COMMENT=`comment`,e.COMBINATOR=`combinator`,e.CLASS=`class`,e.ATTRIBUTE=`attribute`,e.UNIVERSAL=`universal`})),T=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=o(C()),r=a(w());function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=c(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){if(e){if(typeof e==`string`)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}function l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}e.default=function(e){f(t,e);function t(t){var n=e.call(this,t)||this;return n.nodes||=[],n}var n=t.prototype;return n.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},n.at=function(e){return this.nodes[e]},n.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},n.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},n.removeAll=function(){for(var e=s(this.nodes),t;!(t=e()).done;){var n=t.value;n.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,[r+1,0,t].concat(i)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],r<o&&(this.indexes[s]=o+arguments.length-1);return this},n.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,[r,0,t].concat(i)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o+arguments.length-1);return this},n._findChildAtPosition=function(e,t){var n=void 0;return this.each(function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1}),n},n.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},n.walk=function(e){return this.each(function(t,n){var r=e(t,n);if(r!==!1&&t.length&&(r=t.walk(e)),r===!1)return!1})},n.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===r.ATTRIBUTE)return e.call(t,n)})},n.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===r.CLASS)return e.call(t,n)})},n.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===r.COMBINATOR)return e.call(t,n)})},n.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===r.COMMENT)return e.call(t,n)})},n.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===r.ID)return e.call(t,n)})},n.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===r.NESTING)return e.call(t,n)})},n.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===r.PSEUDO)return e.call(t,n)})},n.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===r.TAG)return e.call(t,n)})},n.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===r.UNIVERSAL)return e.call(t,n)})},n.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},n.map=function(e){return this.nodes.map(e)},n.reduce=function(e,t){return this.nodes.reduce(e,t)},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.filter=function(e){return this.nodes.filter(e)},n.sort=function(e){return this.nodes.sort(e)},n.toString=function(){return this.map(String).join(``)},d(t,[{key:`first`,get:function(){return this.at(0)}},{key:`last`,get:function(){return this.at(this.length-1)}},{key:`length`,get:function(){return this.nodes.length}}]),t}(n.default),t.exports=e.default})),E=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(T()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}e.default=function(e){s(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.ROOT,n}var n=t.prototype;return n.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(`,`);return this.trailingComma?e+`,`:e},n.error=function(e,t){return this._error?this._error(e,t):Error(e)},o(t,[{key:`errorGenerator`,set:function(e){this._error=e}}]),t}(n.default),t.exports=e.default})),D=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(T()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.SELECTOR,n}return t}(n.default),t.exports=e.default})),O=t(((e,t)=>{var n={}.hasOwnProperty,r=function(e,t){if(!e)return t;var r={};for(var i in t)r[i]=n.call(e,i)?e[i]:t[i];return r},i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(t,n){n=r(n,e.options),n.quotes!=`single`&&n.quotes!=`double`&&(n.quotes=`single`);for(var s=n.quotes==`double`?`"`:`'`,c=n.isIdentifier,l=t.charAt(0),u=``,d=0,f=t.length;d<f;){var p=t.charAt(d++),m=p.charCodeAt(),h=void 0;if(m<32||m>126){if(m>=55296&&m<=56319&&d<f){var g=t.charCodeAt(d++);(g&64512)==56320?m=((m&1023)<<10)+(g&1023)+65536:d--}h=`\\`+m.toString(16).toUpperCase()+` `}else h=n.escapeEverything?i.test(p)?`\\`+p:`\\`+m.toString(16).toUpperCase()+` `:/[\t\n\f\r\x0B]/.test(p)?`\\`+m.toString(16).toUpperCase()+` `:p==`\\`||!c&&(p==`"`&&s==p||p==`'`&&s==p)||c&&a.test(p)?`\\`+p:p;u+=h}return c&&(/^-[-\d]/.test(u)?u=`\\-`+u.slice(1):/\d/.test(l)&&(u=`\\3`+l+` `+u.slice(1))),u=u.replace(o,function(e,t,n){return t&&t.length%2?e:(t||``)+n}),!c&&n.wrap?s+u+s:u};s.options={escapeEverything:!1,isIdentifier:!1,quotes:`single`,wrap:!1},s.version=`3.0.0`,t.exports=s})),k=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=o(O()),r=S(),i=o(C()),a=w();function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}e.default=function(e){l(t,e);function t(t){var n=e.call(this,t)||this;return n.type=a.CLASS,n._constructed=!0,n}var i=t.prototype;return i.valueToString=function(){return`.`+e.prototype.valueToString.call(this)},c(t,[{key:`value`,get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:!0});t===e?this.raws&&delete this.raws.value:((0,r.ensureObject)(this,`raws`),this.raws.value=t)}this._value=e}}]),t}(i.default),t.exports=e.default})),A=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(C()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.COMMENT,n}return t}(n.default),t.exports=e.default})),j=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(C()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.ID,n}var n=t.prototype;return n.valueToString=function(){return`#`+e.prototype.valueToString.call(this)},t}(n.default),t.exports=e.default})),M=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=a(O()),r=S(),i=a(C());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}e.default=function(e){c(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.qualifiedName=function(e){return this.namespace?this.namespaceString+`|`+e:e},i.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},s(t,[{key:`namespace`,get:function(){return this._namespace},set:function(e){if(e===!0||e===`*`||e===`&`){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t===e?this.raws&&delete this.raws.namespace:((0,r.ensureObject)(this,`raws`),this.raws.namespace=t)}},{key:`ns`,get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:`namespaceString`,get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}else return``}}]),t}(i.default),t.exports=e.default})),N=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(M()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.TAG,n}return t}(n.default),t.exports=e.default})),P=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(C()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.STRING,n}return t}(n.default),t.exports=e.default})),F=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(T()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.PSEUDO,n}var n=t.prototype;return n.toString=function(){var e=this.length?`(`+this.map(String).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),e,this.rawSpaceAfter].join(``)},t}(n.default),t.exports=e.default})),I=t(((t,n)=>{n.exports=e(`util`).deprecate})),L=t((e=>{e.__esModule=!0,e.default=void 0,e.unescapeValue=g;var t=o(O()),n=o(v()),r=o(M()),i=w(),a;function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}var d=I(),f=/^('|")([^]*)\1$/,p=d(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),m=d(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),h=d(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function g(e){var t=!1,r=null,i=e,a=i.match(f);return a&&(r=a[1],i=a[2]),i=(0,n.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:r}}function _(e){if(e.quoteMark!==void 0||e.value===void 0)return e;h();var t=g(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||={},e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}var y=function(e){l(n,e);function n(t){var n;return t===void 0&&(t={}),n=e.call(this,_(t))||this,n.type=i.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,`unquoted`,{get:d(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:d(function(){return n.value},`Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`)}),n._constructed=!0,n}var r=n.prototype;return r.getQuotedValue=function(e){e===void 0&&(e={});var n=b[this._determineQuoteMark(e)];return(0,t.default)(this._value,n)},r._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},r.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},r.smartQuoteMark=function(e){var r=this.value,i=r.replace(/[^']/g,``).length,a=r.replace(/[^"]/g,``).length;if(i+a===0){var o=(0,t.default)(r,{isIdentifier:!0});if(o===r)return n.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=b[c];if((0,t.default)(r,l).length<o.length)return c}return s}else if(a===i)return this.preferredQuoteMark(e);else if(a<i)return n.DOUBLE_QUOTE;else return n.SINGLE_QUOTE},r.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return t===void 0&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),t===void 0&&(t=n.DOUBLE_QUOTE),t},r._syncRawValue=function(){var e=(0,t.default)(this._value,b[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},r._handleEscapes=function(e,n){if(this._constructed){var r=(0,t.default)(n,{isIdentifier:!0});r===n?delete this.raws[e]:this.raws[e]=r}},r._spacesFor=function(e){var t={before:``,after:``},n=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,n,r)},r._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=x);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},r.offsetOf=function(e){var t=1,n=this._spacesFor(`attribute`);if(t+=n.before.length,e===`namespace`||e===`ns`)return this.namespace?t:-1;if(e===`attributeNS`||(t+=this.namespaceString.length,this.namespace&&(t+=1),e===`attribute`))return t;t+=this.stringifyProperty(`attribute`).length,t+=n.after.length;var r=this._spacesFor(`operator`);t+=r.before.length;var i=this.stringifyProperty(`operator`);if(e===`operator`)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor(`value`);t+=a.before.length;var o=this.stringifyProperty(`value`);if(e===`value`)return o?t:-1;t+=o.length,t+=a.after.length;var s=this._spacesFor(`insensitive`);return t+=s.before.length,e===`insensitive`&&this.insensitive?t:-1},r.toString=function(){var e=this,t=[this.rawSpaceBefore,`[`];return t.push(this._stringFor(`qualifiedAttribute`,`attribute`)),this.operator&&(this.value||this.value===``)&&(t.push(this._stringFor(`operator`)),t.push(this._stringFor(`value`)),t.push(this._stringFor(`insensitiveFlag`,`insensitive`,function(t,n){return t.length>0&&!e.quoted&&n.before.length===0&&!(e.spaces.value&&e.spaces.value.after)&&(n.before=` `),x(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},c(n,[{key:`quoted`,get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){m()}},{key:`quoteMark`,get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())}},{key:`qualifiedAttribute`,get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:`insensitiveFlag`,get:function(){return this.insensitive?`i`:``}},{key:`value`,get:function(){return this._value},set:function(e){if(this._constructed){var t=g(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&p(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:`insensitive`,get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag===`I`||this.raws.insensitiveFlag===`i`)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:`attribute`,get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e}}]),n}(r.default);e.default=y,y.NO_QUOTE=null,y.SINGLE_QUOTE=`'`,y.DOUBLE_QUOTE=`"`;var b=(a={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},a[null]={isIdentifier:!0},a);function x(e,t){return``+t.before+e+t.after}})),R=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(M()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.UNIVERSAL,n.value=`*`,n}return t}(n.default),t.exports=e.default})),z=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(C()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.COMBINATOR,n}return t}(n.default),t.exports=e.default})),B=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=i(C()),r=w();function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}e.default=function(e){a(t,e);function t(t){var n=e.call(this,t)||this;return n.type=r.NESTING,n.value=`&`,n}return t}(n.default),t.exports=e.default})),ee=t(((e,t)=>{e.__esModule=!0,e.default=n;function n(e){return e.sort(function(e,t){return e-t})}t.exports=e.default})),V=t((e=>{e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32;var t=39;e.singleQuote=t,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.newline=10,e.tab=9,e.str=t,e.comment=-1,e.word=-2,e.combinator=-3})),te=t((e=>{e.__esModule=!0,e.FIELDS=void 0,e.default=p;var t=a(V()),n,r;function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}for(var o=(n={},n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n),s=(r={},r[t.space]=!0,r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r[t.ampersand]=!0,r[t.asterisk]=!0,r[t.bang]=!0,r[t.comma]=!0,r[t.colon]=!0,r[t.semicolon]=!0,r[t.openParenthesis]=!0,r[t.closeParenthesis]=!0,r[t.openSquare]=!0,r[t.closeSquare]=!0,r[t.singleQuote]=!0,r[t.doubleQuote]=!0,r[t.plus]=!0,r[t.pipe]=!0,r[t.tilde]=!0,r[t.greaterThan]=!0,r[t.equals]=!0,r[t.dollar]=!0,r[t.caret]=!0,r[t.slash]=!0,r),c={},l=`0123456789abcdefABCDEF`,u=0;u<l.length;u++)c[l.charCodeAt(u)]=!0;function d(e,n){var r=n,i;do{if(i=e.charCodeAt(r),s[i])return r-1;i===t.backslash?r=f(e,r)+1:r++}while(r<e.length);return r-1}function f(e,n){var r=n,i=e.charCodeAt(r+1);if(!o[i])if(c[i]){var a=0;do r++,a++,i=e.charCodeAt(r+1);while(c[i]&&a<6);a<6&&i===t.space&&r++}else r++;return r}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};function p(e){var n=[],r=e.css.valueOf(),i=r.length,a=-1,o=1,s=0,c=0,l,u,f,p,m,h,g,_,v,y,b,x,S;function C(t,n){if(e.safe)r+=n,v=r.length-1;else throw e.error(`Unclosed `+t,o,s-a,s)}for(;s<i;){switch(l=r.charCodeAt(s),l===t.newline&&(a=s,o+=1),l){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:v=s;do v+=1,l=r.charCodeAt(v),l===t.newline&&(a=v,o+=1);while(l===t.space||l===t.newline||l===t.tab||l===t.cr||l===t.feed);S=t.space,p=o,f=v-a-1,c=v;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:v=s;do v+=1,l=r.charCodeAt(v);while(l===t.plus||l===t.greaterThan||l===t.tilde||l===t.pipe);S=t.combinator,p=o,f=s-a,c=v;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:v=s,S=l,p=o,f=s-a,c=v+1;break;case t.singleQuote:case t.doubleQuote:x=l===t.singleQuote?`'`:`"`,v=s;do for(m=!1,v=r.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;r.charCodeAt(h-1)===t.backslash;)--h,m=!m;while(m);S=t.str,p=o,f=s-a,c=v+1;break;default:l===t.slash&&r.charCodeAt(s+1)===t.asterisk?(v=r.indexOf(`*/`,s+2)+1,v===0&&C(`comment`,`*/`),u=r.slice(s,v+1),_=u.split(`
11
+ `),g=_.length-1,g>0?(y=o+g,b=v-_[g].length):(y=o,b=a),S=t.comment,o=y,p=y,f=v-b):l===t.slash?(v=s,S=l,p=o,f=s-a,c=v+1):(v=d(r,s),S=t.word,p=o,f=v-a),c=v+1;break}n.push([S,o,s-a,p,f,s,c]),b&&=(a=b,null),s=c}return n}})),H=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=T(E()),r=T(D()),i=T(k()),a=T(A()),o=T(j()),s=T(N()),c=T(P()),l=T(F()),u=C(L()),d=T(R()),f=T(z()),p=T(B()),m=T(ee()),h=C(te()),g=C(V()),_=C(w()),v=S(),y,b;function x(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!==`default`&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function T(e){return e&&e.__esModule?e:{default:e}}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}var I=(y={},y[g.space]=!0,y[g.cr]=!0,y[g.feed]=!0,y[g.newline]=!0,y[g.tab]=!0,y),H=Object.assign({},I,(b={},b[g.comment]=!0,b));function U(e){return{line:e[h.FIELDS.START_LINE],column:e[h.FIELDS.START_COL]}}function W(e){return{line:e[h.FIELDS.END_LINE],column:e[h.FIELDS.END_COL]}}function G(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function K(e){return G(e[h.FIELDS.START_LINE],e[h.FIELDS.START_COL],e[h.FIELDS.END_LINE],e[h.FIELDS.END_COL])}function q(e,t){if(e)return G(e[h.FIELDS.START_LINE],e[h.FIELDS.START_COL],t[h.FIELDS.END_LINE],t[h.FIELDS.END_COL])}function J(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,v.ensureObject)(e,`raws`),e[t]=(0,v.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function Y(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function X(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}e.default=function(){function e(e,t){t===void 0&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=q(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:i}),this.root.errorGenerator=this._errorGenerator();var a=new r.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(a),this.current=a,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},t.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==g.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==g.closeSquare)return this.expected(`closing square bracket`,this.currToken[h.FIELDS.START_POS]);var n=e.length,r={source:G(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[h.FIELDS.START_POS]};if(n===1&&!~[g.word].indexOf(e[0][h.FIELDS.TYPE]))return this.expected(`attribute`,e[0][h.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1;i<n;){var l=e[i],d=this.content(l),f=e[i+1];switch(l[h.FIELDS.TYPE]){case g.space:if(c=!0,this.options.lossy)break;if(s){(0,v.ensureObject)(r,`spaces`,s);var p=r.spaces[s].after||``;r.spaces[s].after=p+d;var m=(0,v.getProp)(r,`raws`,`spaces`,s,`after`)||null;m&&(r.raws.spaces[s].after=m+d)}else a+=d,o+=d;break;case g.asterisk:f[h.FIELDS.TYPE]===g.equals?(r.operator=d,s=`operator`):(!r.namespace||s===`namespace`&&!c)&&f&&(a&&=((0,v.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,v.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=a,``),r.namespace=(r.namespace||``)+d,(0,v.getProp)(r,`raws`,`namespace`)&&(r.raws.namespace+=d),s=`namespace`),c=!1;break;case g.dollar:if(s===`value`){var _=(0,v.getProp)(r,`raws`,`value`);r.value+=`$`,_&&(r.raws.value=_+`$`);break}case g.caret:f[h.FIELDS.TYPE]===g.equals&&(r.operator=d,s=`operator`),c=!1;break;case g.combinator:if(d===`~`&&f[h.FIELDS.TYPE]===g.equals&&(r.operator=d,s=`operator`),d!==`|`){c=!1;break}f[h.FIELDS.TYPE]===g.equals?(r.operator=d,s=`operator`):!r.namespace&&!r.attribute&&(r.namespace=!0),c=!1;break;case g.word:if(f&&this.content(f)===`|`&&e[i+2]&&e[i+2][h.FIELDS.TYPE]!==g.equals&&!r.operator&&!r.namespace)r.namespace=d,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c)a&&=((0,v.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,v.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),r.attribute=(r.attribute||``)+d,(0,v.getProp)(r,`raws`,`attribute`)&&(r.raws.attribute+=d),s=`attribute`;else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var y=(0,v.unesc)(d),b=(0,v.getProp)(r,`raws`,`value`)||``,x=r.value||``;r.value=x+y,r.quoteMark=null,(y!==d||b)&&((0,v.ensureObject)(r,`raws`),r.raws.value=(b||x)+d),s=`value`}else{var S=d===`i`||d===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=S,(!S||d===`I`)&&((0,v.ensureObject)(r,`raws`),r.raws.insensitiveFlag=d),s=`insensitive`,a&&=((0,v.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,``),o&&=((0,v.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,``)):(r.value||r.value===``)&&(s=`value`,r.value+=d,r.raws.value&&(r.raws.value+=d))}c=!1;break;case g.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:l[h.FIELDS.START_POS]});var C=(0,u.unescapeValue)(d),w=C.unescaped,T=C.quoteMark;r.value=w,r.quoteMark=T,s=`value`,(0,v.ensureObject)(r,`raws`),r.raws.value=d,c=!1;break;case g.equals:if(!r.attribute)return this.expected(`attribute`,l[h.FIELDS.START_POS],d);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:l[h.FIELDS.START_POS]});r.operator=r.operator?r.operator+d:d,s=`operator`,c=!1;break;case g.comment:if(s)if(c||f&&f[h.FIELDS.TYPE]===g.space||s===`insensitive`){var E=(0,v.getProp)(r,`spaces`,s,`after`)||``,D=(0,v.getProp)(r,`raws`,`spaces`,s,`after`)||E;(0,v.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=D+d}else{var O=r[s]||``,k=(0,v.getProp)(r,`raws`,s)||O;(0,v.ensureObject)(r,`raws`),r.raws[s]=k+d}else o+=d;break;default:return this.error(`Unexpected "`+d+`" found.`,{index:l[h.FIELDS.START_POS]})}i++}J(r,`attribute`),J(r,`namespace`),this.newNode(new u.default(r)),this.position++},t.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(I[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[h.FIELDS.TYPE]===g.comment){var o={};r&&=(o.before=r,``),i=new a.default({value:this.content(),source:K(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:o}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var s=this.tokens[t],l=this.tokens[this.position-1];n.push(new c.default({value:``,source:G(s[h.FIELDS.START_LINE],s[h.FIELDS.START_COL],l[h.FIELDS.END_LINE],l[h.FIELDS.END_COL]),sourceIndex:s[h.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},t.convertWhitespaceNodesToSpace=function(e,t){var n=this;t===void 0&&(t=!1);var r=``,i=``;return e.forEach(function(e){var a=n.lossySpace(e.spaces.before,t),o=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&a.length===0),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&o.length===0)}),i===r&&(i=void 0),{space:r,rawSpace:i}},t.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][h.FIELDS.TYPE]===g.slash&&this.tokens[e+1]&&this.tokens[e+1][h.FIELDS.TYPE]===g.word&&this.tokens[e+2]&&this.tokens[e+2][h.FIELDS.TYPE]===g.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,v.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/`+e+`/`);var r=new f.default({value:`/`+t+`/`,source:G(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:n});return this.position+=3,r}else this.unexpected()},t.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][h.FIELDS.TYPE]===g.comma||this.tokens[t][h.FIELDS.TYPE]===g.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(t);if(n.length>0){var r=this.current.last;if(r){var i=this.convertWhitespaceNodesToSpace(n),a=i.space,o=i.rawSpace;o!==void 0&&(r.rawSpaceAfter+=o),r.spaces.after+=a}else n.forEach(function(t){return e.newNode(t)})}return}var s=this.currToken,c=void 0;t>this.position&&(c=this.parseWhitespaceEquivalentTokens(t));var l;if(this.isNamedCombinator()?l=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===g.combinator?(l=new f.default({value:this.content(),source:K(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):I[this.currToken[h.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),d=u.space,p=u.rawSpace;l.spaces.before=d,l.rawSpaceBefore=p}}else{var m=this.convertWhitespaceNodesToSpace(c,!0),_=m.space,v=m.rawSpace;v||=_;var y={},b={spaces:{}};_.endsWith(` `)&&v.endsWith(` `)?(y.before=_.slice(0,_.length-1),b.spaces.before=v.slice(0,v.length-1)):_[0]===` `&&v[0]===` `?(y.after=_.slice(1),b.spaces.after=v.slice(1)):b.value=v,l=new f.default({value:` `,source:q(s,this.tokens[this.position-1]),sourceIndex:s[h.FIELDS.START_POS],spaces:y,raws:b})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===g.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new r.default({source:{start:U(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},t.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:K(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.error=function(e,t){throw this.root.error(e,t)},t.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[h.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[h.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[h.FIELDS.START_POS])},t.unexpected=function(){return this.error(`Unexpected '`+this.content()+`'. Escaping special characters with \\ may help.`,this.currToken[h.FIELDS.START_POS])},t.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[h.FIELDS.START_POS])},t.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===g.word)return this.position++,this.word(e);if(this.nextToken[h.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal(e);this.unexpectedPipe()},t.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`){this.position++;return}var e=this.currToken;this.newNode(new p.default({value:this.content(),source:K(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===_.PSEUDO){var n=new r.default({source:{start:U(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),i=this.current;for(e.append(n),this.current=n;this.position<this.tokens.length&&t;)this.currToken[h.FIELDS.TYPE]===g.openParenthesis&&t++,this.currToken[h.FIELDS.TYPE]===g.closeParenthesis&&t--,t?this.parse():(this.current.source.end=W(this.currToken),this.current.parent.source.end=W(this.currToken),this.position++);this.current=i}else{for(var a=this.currToken,o=`(`,s;this.position<this.tokens.length&&t;)this.currToken[h.FIELDS.TYPE]===g.openParenthesis&&t++,this.currToken[h.FIELDS.TYPE]===g.closeParenthesis&&t--,s=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,o,o):this.newNode(new c.default({value:o,source:G(a[h.FIELDS.START_LINE],a[h.FIELDS.START_COL],s[h.FIELDS.END_LINE],s[h.FIELDS.END_COL]),sourceIndex:a[h.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,this.currToken[h.FIELDS.START_POS])},t.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===g.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[h.FIELDS.TYPE]===g.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new l.default({value:t,source:q(n,e.currToken),sourceIndex:n[h.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[h.FIELDS.TYPE]===g.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[h.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[h.FIELDS.START_POS])},t.space=function(){var e=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===g.comma||this.prevToken[h.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every(function(e){return e.type===`comment`})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===g.comma||this.nextToken[h.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},t.string=function(){var e=this.currToken;this.newNode(new c.default({value:this.content(),source:K(e),sourceIndex:e[h.FIELDS.START_POS]})),this.position++},t.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new d.default({value:this.content(),source:K(n),sourceIndex:n[h.FIELDS.START_POS]}),e),this.position++},t.splitWord=function(e,t){for(var n=this,r=this.nextToken,a=this.content();r&&~[g.dollar,g.caret,g.equals,g.word].indexOf(r[h.FIELDS.TYPE]);){this.position++;var c=this.content();if(a+=c,c.lastIndexOf(`\\`)===c.length-1){var l=this.nextToken;l&&l[h.FIELDS.TYPE]===g.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}r=this.nextToken}var u=Y(a,`.`).filter(function(e){var t=a[e-1]===`\\`,n=/^\d+\.\d+%$/.test(a);return!t&&!n}),d=Y(a,`#`).filter(function(e){return a[e-1]!==`\\`}),f=Y(a,`#{`);f.length&&(d=d.filter(function(e){return!~f.indexOf(e)}));var p=(0,m.default)(X([0].concat(u,d)));p.forEach(function(r,c){var l=p[c+1]||a.length,f=a.slice(r,l);if(c===0&&t)return t.call(n,f,p.length);var m,g=n.currToken,_=g[h.FIELDS.START_POS]+p[c],v=G(g[1],g[2]+r,g[3],g[2]+(l-1));if(~u.indexOf(r)){var y={value:f.slice(1),source:v,sourceIndex:_};m=new i.default(J(y,`value`))}else if(~d.indexOf(r)){var b={value:f.slice(1),source:v,sourceIndex:_};m=new o.default(J(b,`value`))}else{var x={value:f,source:v,sourceIndex:_};J(x,`value`),m=new s.default(x)}n.newNode(m,e),e=null}),this.position++},t.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(e){switch(this.currToken[h.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:e&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=e.join(`, `)+` or `+r}var i=/^[aeiou]/.test(e[0])?`an`:`a`;return n?this.error(`Expected `+i+` `+e+`, found "`+n+`" instead.`,{index:t}):this.error(`Expected `+i+` `+e+`.`,{index:t})},t.requiredSpace=function(e){return this.options.lossy?` `:e},t.optionalSpace=function(e){return this.options.lossy?``:e},t.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},t.parseParenthesisToken=function(e){var t=this.content(e);return e[h.FIELDS.TYPE]===g.space?this.requiredSpace(t):t},t.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,J(e,`namespace`)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},t.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[h.FIELDS.START_POS],e[h.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(H[this.tokens[t][h.FIELDS.TYPE]]){t++;continue}else return t;return-1},M(e,[{key:`currToken`,get:function(){return this.tokens[this.position]}},{key:`nextToken`,get:function(){return this.tokens[this.position+1]}},{key:`prevToken`,get:function(){return this.tokens[this.position-1]}}]),e}(),t.exports=e.default})),U=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=r(H());function r(e){return e&&e.__esModule?e:{default:e}}e.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector===!1?!1:typeof e!=`string`},t._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},t._root=function(e,t){return t===void 0&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var n=this;return t===void 0&&(t={}),new Promise(function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then(function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},t._runSync=function(e,t){t===void 0&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&typeof r.then==`function`)throw Error(`Selector processor returned a promise to a synchronous call.`);var i=void 0;return t.updateSelector&&typeof e!=`string`&&(i=n.toString(),e.selector=i),{transform:r,root:n,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString()},e}(),t.exports=e.default})),W=t((e=>{e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=p(L()),n=p(k()),r=p(z()),i=p(A()),a=p(j()),o=p(B()),s=p(F()),c=p(E()),l=p(D()),u=p(P()),d=p(N()),f=p(R());function p(e){return e&&e.__esModule?e:{default:e}}e.attribute=function(e){return new t.default(e)},e.className=function(e){return new n.default(e)},e.combinator=function(e){return new r.default(e)},e.comment=function(e){return new i.default(e)},e.id=function(e){return new a.default(e)},e.nesting=function(e){return new o.default(e)},e.pseudo=function(e){return new s.default(e)},e.root=function(e){return new c.default(e)},e.selector=function(e){return new l.default(e)},e.string=function(e){return new u.default(e)},e.tag=function(e){return new d.default(e)},e.universal=function(e){return new f.default(e)}})),G=t((e=>{e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=d,e.isIdentifier=void 0,e.isNamespace=f,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=u,e.isPseudoElement=l,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=w(),n,r=(n={},n[t.ATTRIBUTE]=!0,n[t.CLASS]=!0,n[t.COMBINATOR]=!0,n[t.COMMENT]=!0,n[t.ID]=!0,n[t.NESTING]=!0,n[t.PSEUDO]=!0,n[t.ROOT]=!0,n[t.SELECTOR]=!0,n[t.STRING]=!0,n[t.TAG]=!0,n[t.UNIVERSAL]=!0,n);function i(e){return typeof e==`object`&&r[e.type]}function a(e,t){return i(t)&&t.type===e}var o=a.bind(null,t.ATTRIBUTE);e.isAttribute=o,e.isClassName=a.bind(null,t.CLASS),e.isCombinator=a.bind(null,t.COMBINATOR),e.isComment=a.bind(null,t.COMMENT),e.isIdentifier=a.bind(null,t.ID),e.isNesting=a.bind(null,t.NESTING);var s=a.bind(null,t.PSEUDO);e.isPseudo=s,e.isRoot=a.bind(null,t.ROOT),e.isSelector=a.bind(null,t.SELECTOR),e.isString=a.bind(null,t.STRING);var c=a.bind(null,t.TAG);e.isTag=c,e.isUniversal=a.bind(null,t.UNIVERSAL);function l(e){return s(e)&&e.value&&(e.value.startsWith(`::`)||e.value.toLowerCase()===`:before`||e.value.toLowerCase()===`:after`||e.value.toLowerCase()===`:first-letter`||e.value.toLowerCase()===`:first-line`)}function u(e){return s(e)&&!l(e)}function d(e){return!!(i(e)&&e.walk)}function f(e){return o(e)||c(e)}})),K=t((e=>{e.__esModule=!0;var t=w();Object.keys(t).forEach(function(n){n===`default`||n===`__esModule`||n in e&&e[n]===t[n]||(e[n]=t[n])});var n=W();Object.keys(n).forEach(function(t){t===`default`||t===`__esModule`||t in e&&e[t]===n[t]||(e[t]=n[t])});var r=G();Object.keys(r).forEach(function(t){t===`default`||t===`__esModule`||t in e&&e[t]===r[t]||(e[t]=r[t])})})),q=t(((e,t)=>{e.__esModule=!0,e.default=void 0;var n=o(U()),r=a(K());function i(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return new n.default(e)};Object.assign(s,r),delete s.__esModule,e.default=s,t.exports=e.default})),J=t(((e,t)=>{var n=40,r=41,i=39,a=34,o=92,s=47,c=44,l=58,u=42,d=117,f=85,p=43,m=/^[a-f0-9?-]+$/i;t.exports=function(e){for(var t=[],h=e,g,_,v,y,b,x,S,C,w=0,T=h.charCodeAt(w),E=h.length,D=[{nodes:t}],O=0,k,A=``,j=``,M=``;w<E;)if(T<=32){g=w;do g+=1,T=h.charCodeAt(g);while(T<=32);y=h.slice(w,g),v=t[t.length-1],T===r&&O?M=y:v&&v.type===`div`?(v.after=y,v.sourceEndIndex+=y.length):T===c||T===l||T===s&&h.charCodeAt(g+1)!==u&&(!k||k&&k.type===`function`&&k.value!==`calc`)?j=y:t.push({type:`space`,sourceIndex:w,sourceEndIndex:g,value:y}),w=g}else if(T===i||T===a){g=w,_=T===i?`'`:`"`,y={type:`string`,sourceIndex:w,quote:_};do if(b=!1,g=h.indexOf(_,g+1),~g)for(x=g;h.charCodeAt(x-1)===o;)--x,b=!b;else h+=_,g=h.length-1,y.unclosed=!0;while(b);y.value=h.slice(w+1,g),y.sourceEndIndex=y.unclosed?g:g+1,t.push(y),w=g+1,T=h.charCodeAt(w)}else if(T===s&&h.charCodeAt(w+1)===u)g=h.indexOf(`*/`,w),y={type:`comment`,sourceIndex:w,sourceEndIndex:g+2},g===-1&&(y.unclosed=!0,g=h.length,y.sourceEndIndex=g),y.value=h.slice(w+2,g),t.push(y),w=g+2,T=h.charCodeAt(w);else if((T===s||T===u)&&k&&k.type===`function`&&k.value===`calc`)y=h[w],t.push({type:`word`,sourceIndex:w-j.length,sourceEndIndex:w+y.length,value:y}),w+=1,T=h.charCodeAt(w);else if(T===s||T===c||T===l)y=h[w],t.push({type:`div`,sourceIndex:w-j.length,sourceEndIndex:w+y.length,value:y,before:j,after:``}),j=``,w+=1,T=h.charCodeAt(w);else if(n===T){g=w;do g+=1,T=h.charCodeAt(g);while(T<=32);if(C=w,y={type:`function`,sourceIndex:w-A.length,value:A,before:h.slice(C+1,g)},w=g,A===`url`&&T!==i&&T!==a){--g;do if(b=!1,g=h.indexOf(`)`,g+1),~g)for(x=g;h.charCodeAt(x-1)===o;)--x,b=!b;else h+=`)`,g=h.length-1,y.unclosed=!0;while(b);S=g;do--S,T=h.charCodeAt(S);while(T<=32);C<S?(w===S+1?y.nodes=[]:y.nodes=[{type:`word`,sourceIndex:w,sourceEndIndex:S+1,value:h.slice(w,S+1)}],y.unclosed&&S+1!==g?(y.after=``,y.nodes.push({type:`space`,sourceIndex:S+1,sourceEndIndex:g,value:h.slice(S+1,g)})):(y.after=h.slice(S+1,g),y.sourceEndIndex=g)):(y.after=``,y.nodes=[]),w=g+1,y.sourceEndIndex=y.unclosed?g:w,T=h.charCodeAt(w),t.push(y)}else O+=1,y.after=``,y.sourceEndIndex=w+1,t.push(y),D.push(y),t=y.nodes=[],k=y;A=``}else if(r===T&&O)w+=1,T=h.charCodeAt(w),k.after=M,k.sourceEndIndex+=M.length,M=``,--O,D[D.length-1].sourceEndIndex=w,D.pop(),k=D[O],t=k.nodes;else{g=w;do T===o&&(g+=1),g+=1,T=h.charCodeAt(g);while(g<E&&!(T<=32||T===i||T===a||T===c||T===l||T===s||T===n||T===u&&k&&k.type===`function`&&k.value===`calc`||T===s&&k.type===`function`&&k.value===`calc`||T===r&&O));y=h.slice(w,g),n===T?A=y:(d===y.charCodeAt(0)||f===y.charCodeAt(0))&&p===y.charCodeAt(1)&&m.test(y.slice(2))?t.push({type:`unicode-range`,sourceIndex:w,sourceEndIndex:g,value:y}):t.push({type:`word`,sourceIndex:w,sourceEndIndex:g,value:y}),w=g}for(w=D.length-1;w;--w)D[w].unclosed=!0,D[w].sourceEndIndex=h.length;return D[0].nodes}})),Y=t(((e,t)=>{t.exports=function e(t,n,r){var i,a,o,s;for(i=0,a=t.length;i<a;i+=1)o=t[i],r||(s=n(o,i,t)),s!==!1&&o.type===`function`&&Array.isArray(o.nodes)&&e(o.nodes,n,r),r&&n(o,i,t)}})),X=t(((e,t)=>{function n(e,t){var n=e.type,i=e.value,a,o;return t&&(o=t(e))!==void 0?o:n===`word`||n===`space`?i:n===`string`?(a=e.quote||``,a+i+(e.unclosed?``:a)):n===`comment`?`/*`+i+(e.unclosed?``:`*/`):n===`div`?(e.before||``)+i+(e.after||``):Array.isArray(e.nodes)?(a=r(e.nodes,t),n===`function`?i+`(`+(e.before||``)+a+(e.after||``)+(e.unclosed?``:`)`):a):i}function r(e,t){var r,i;if(Array.isArray(e)){for(r=``,i=e.length-1;~i;--i)r=n(e[i],t)+r;return r}return n(e,t)}t.exports=r})),ne=t(((e,t)=>{var n=45,r=43,i=46,a=101,o=69;function s(e){var t=e.charCodeAt(0),a;if(t===r||t===n){if(a=e.charCodeAt(1),a>=48&&a<=57)return!0;var o=e.charCodeAt(2);return a===i&&o>=48&&o<=57}return t===i?(a=e.charCodeAt(1),a>=48&&a<=57):t>=48&&t<=57}t.exports=function(e){var t=0,c=e.length,l,u,d;if(c===0||!s(e))return!1;for(l=e.charCodeAt(t),(l===r||l===n)&&t++;t<c&&(l=e.charCodeAt(t),!(l<48||l>57));)t+=1;if(l=e.charCodeAt(t),u=e.charCodeAt(t+1),l===i&&u>=48&&u<=57)for(t+=2;t<c&&(l=e.charCodeAt(t),!(l<48||l>57));)t+=1;if(l=e.charCodeAt(t),u=e.charCodeAt(t+1),d=e.charCodeAt(t+2),(l===a||l===o)&&(u>=48&&u<=57||(u===r||u===n)&&d>=48&&d<=57))for(t+=u===r||u===n?3:2;t<c&&(l=e.charCodeAt(t),!(l<48||l>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}})),re=t(((e,t)=>{var n=J(),r=Y(),i=X();function a(e){return this instanceof a?(this.nodes=n(e),this):new a(e)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):``},a.prototype.walk=function(e,t){return r(this.nodes,e,t),this},a.unit=ne(),a.walk=r,a.stringify=i,t.exports=a})),ie=t(((e,t)=>{let n=q(),r=re(),{extractICSS:i}=l(),a=e=>e.type===`combinator`&&e.value===` `,o=e=>{for(let t of e.nodes){if(t.type!==`comment`)return!1;if(t.text.trim().startsWith(`cssmodules-pure-no-check`))return!0}return!1};function s(e){if(!e.parent)return;let t=e.parent.index(e);for(let n=t-1;n>=0;n--){let t=e.parent.nodes[n];if(t.type===`comment`){if(t.text.trimStart().startsWith(`cssmodules-pure-ignore`))return t}else break}}function c(e){let t=[];return e.forEach(e=>{Array.isArray(e)?c(e).forEach(e=>{t.push(e)}):e&&t.push(e)}),t.length>0&&a(t[t.length-1])&&t.pop(),t}let u=Symbol(`is-pure-selector`);function d(e,t,r){let i=(t,o)=>{if(o.ignoreNextSpacing&&!a(t))throw Error(`Missing whitespace after `+o.ignoreNextSpacing);if(o.enforceNoSpacing&&a(t))throw Error(`Missing whitespace before `+o.enforceNoSpacing);let s;switch(t.type){case`root`:{let e;o.hasPureGlobals=!1,s=t.nodes.map(n=>{let r={global:o.global,lastWasSpacing:!0,hasLocals:!1,explicit:!1};if(n=i(n,r),e===void 0)e=r.global;else if(e!==r.global)throw Error(`Inconsistent rule global/local result in rule "`+t+`" (multiple selectors must result in the same mode for the rule)`);return r.hasLocals||(o.hasPureGlobals=!0),n}),o.global=e,t.nodes=c(s);break}case`selector`:s=t.map(e=>i(e,o)),t=t.clone(),t.nodes=c(s);break;case`combinator`:if(a(t))return o.ignoreNextSpacing?(o.ignoreNextSpacing=!1,o.lastWasSpacing=!1,o.enforceNoSpacing=!1,null):(o.lastWasSpacing=!0,t);break;case`pseudo`:{let e,r=!!t.length,a=t.value===`:local`||t.value===`:global`;if(t.value===`:import`||t.value===`:export`)o.hasLocals=!0;else if(r){if(a){if(t.nodes.length===0)throw Error(`${t.value}() can't be empty`);if(o.inside)throw Error(`A ${t.value} is not allowed inside of a ${o.inside}(...)`);if(e={global:t.value===`:global`,inside:t.value,hasLocals:!1,explicit:!0},s=t.map(t=>i(t,e)).reduce((e,t)=>e.concat(t.nodes),[]),s.length){let{before:e,after:n}=t.spaces,r=s[0],i=s[s.length-1];r.spaces={before:e,after:r.spaces.after},i.spaces={before:i.spaces.before,after:n}}t=s;break}else e={global:o.global,inside:o.inside,lastWasSpacing:!0,hasLocals:!1,explicit:o.explicit},s=t.map(t=>{let n={...e,enforceNoSpacing:!1},r=i(t,n);return e.global=n.global,e.hasLocals=n.hasLocals,r}),t=t.clone(),t.nodes=c(s),e.hasLocals&&(o.hasLocals=!0);break}else if(a){if(o.inside)throw Error(`A ${t.value} is not allowed inside of a ${o.inside}(...)`);let e=!!t.spaces.before;return o.ignoreNextSpacing=o.lastWasSpacing?t.value:!1,o.enforceNoSpacing=o.lastWasSpacing?!1:t.value,o.global=t.value===`:global`,o.explicit=!0,e?n.combinator({value:` `}):null}break}case`id`:case`class`:{if(!t.value)throw Error(`Invalid class or id selector syntax`);if(o.global)break;let e=r.has(t.value),i=e&&o.explicit;if(!e||i){let e=t.clone();e.spaces={before:``,after:``},t=n.pseudo({value:`:local`,nodes:[e],spaces:t.spaces}),o.hasLocals=!0}break}case`nesting`:t.value===`&`&&(o.hasLocals=e.parent[u])}return o.lastWasSpacing=!1,o.ignoreNextSpacing=!1,o.enforceNoSpacing=!1,t},o={global:t===`global`,hasPureGlobals:!1};return o.selector=n(e=>{i(e,o)}).processSync(e,{updateSelector:!1,lossless:!0}),o}function f(e,t){switch(e.type){case`word`:t.localizeNextItem&&(t.localAliasMap.has(e.value)||(e.value=`:local(`+e.value+`)`,t.localizeNextItem=!1));break;case`function`:t.options&&t.options.rewriteUrl&&e.value.toLowerCase()===`url`&&e.nodes.map(e=>{if(e.type!==`string`&&e.type!==`word`)return;let n=t.options.rewriteUrl(t.global,e.value);switch(e.type){case`string`:e.quote===`'`&&(n=n.replace(/(\\)/g,`\\$1`).replace(/'/g,`\\'`)),e.quote===`"`&&(n=n.replace(/(\\)/g,`\\$1`).replace(/"/g,`\\"`));break;case`word`:n=n.replace(/("|'|\)|\\)/g,`\\$1`);break}e.value=n});break}return e}let p=[`none`,`inherit`,`initial`,`revert`,`revert-layer`,`unset`];function m(e,t,n){let i=r(t.value);i.walk((t,r,i)=>{if(t.type===`function`&&(t.value.toLowerCase()===`var`||t.value.toLowerCase()===`env`))return!1;t.type===`word`&&p.includes(t.value.toLowerCase())||(i[r]=f(t,{options:n.options,global:n.global,localizeNextItem:e&&!n.global,localAliasMap:n.localAliasMap}))}),t.value=i.toString()}let h=/^-?([a-z\u0080-\uFFFF_]|(\\[^\r\n\f])|-(?![0-9]))((\\[^\r\n\f])|[a-z\u0080-\uFFFF_0-9-])*$/i,g={$normal:1,$reverse:1,$alternate:1,"$alternate-reverse":1,$forwards:1,$backwards:1,$both:1,$infinite:1,$paused:1,$running:1,$ease:1,"$ease-in":1,"$ease-out":1,"$ease-in-out":1,$linear:1,"$step-end":1,"$step-start":1,$none:1/0,$initial:1/0,$inherit:1/0,$unset:1/0,$revert:1/0,"$revert-layer":1/0};function _(e,t){if(/animation(-name)?$/i.test(e.prop)){let n={};e.value=r(e.value).walk(e=>{if(e.type===`div`){n={};return}else if(e.type===`function`&&e.value.toLowerCase()===`local`&&e.nodes.length===1)return e.type=`word`,e.value=e.nodes[0].value,f(e,{options:t.options,global:t.global,localizeNextItem:!0,localAliasMap:t.localAliasMap});else if(e.type===`function`)return e.value.toLowerCase()===`global`&&e.nodes.length===1&&(e.type=`word`,e.value=e.nodes[0].value),!1;else if(e.type!==`word`)return;let r=e.type===`word`?e.value.toLowerCase():null,i=!1;return r&&h.test(r)&&(`$`+r in g?(n[`$`+r]=`$`+r in n?n[`$`+r]+1:0,i=n[`$`+r]>=g[`$`+r]):i=!0),f(e,{options:t.options,global:t.global,localizeNextItem:i&&!t.global,localAliasMap:t.localAliasMap})}).toString();return}if(/url\(/i.test(e.value))return m(!1,e,t)}let v=(e,t)=>!t.parent||t.type===`root`?!e.hasPureGlobals:t.type===`rule`&&t[u]?t[u]||v(e,t.parent):!e.hasPureGlobals||v(e,t.parent),y=e=>e.nodes.length>0?!e.nodes.every(e=>e.type===`rule`||e.type===`atrule`&&!y(e)):!0;t.exports=(e={})=>{if(e&&e.mode&&e.mode!==`global`&&e.mode!==`local`&&e.mode!==`pure`)throw Error(`options.mode must be either "global", "local" or "pure" (default "local")`);let t=e&&e.mode===`pure`,n=e&&e.mode===`global`;return{postcssPlugin:`postcss-modules-local-by-default`,prepare(){let r=new Map;return{Once(a){let{icssImports:c}=i(a,!1),l=t&&!o(a);Object.keys(c).forEach(e=>{Object.keys(c[e]).forEach(t=>{r.set(t,c[e][t])})}),a.walkAtRules(i=>{if(/keyframes$/i.test(i.name)){let t=/^\s*:global\s*\((.+)\)\s*$/.exec(i.params),a=/^\s*:local\s*\((.+)\)\s*$/.exec(i.params),o=n;if(t){if(l){let e=s(i);if(e)e.remove();else throw i.error(`@keyframes :global(...) is not allowed in pure mode`)}i.params=t[1],o=!0}else a?(i.params=a[0],o=!1):i.params&&!n&&!r.has(i.params)&&(i.params=`:local(`+i.params+`)`);i.walkDecls(t=>{_(t,{localAliasMap:r,options:e,global:o})})}else if(/scope$/i.test(i.name)){if(i.params){let n=t?s(i):void 0;n&&n.remove(),i.params=i.params.split(`to`).map(t=>{let a=t.trim().slice(1,-1).trim(),o=d(a,e.mode,r);if(o.options=e,o.localAliasMap=r,l&&o.hasPureGlobals&&!n)throw i.error(`Selector in at-rule"`+a+`" is not pure (pure selectors must contain at least one local class or id)`);return`(${o.selector})`}).join(` to `)}i.nodes.forEach(t=>{t.type===`decl`&&_(t,{localAliasMap:r,options:e,global:n})})}else i.nodes&&i.nodes.forEach(t=>{t.type===`decl`&&_(t,{localAliasMap:r,options:e,global:n})})}),a.walkRules(n=>{if(n.parent&&n.parent.type===`atrule`&&/keyframes$/i.test(n.parent.name))return;let i=d(n,e.mode,r);i.options=e,i.localAliasMap=r;let a=l?s(n):void 0,o=l&&!v(i,n);if(o&&y(n)&&!a)throw n.error(`Selector "`+n.selector+`" is not pure (pure selectors must contain at least one local class or id)`);a&&a.remove(),t&&(n[u]=!o),n.selector=i.selector,n.nodes&&n.nodes.forEach(e=>_(e,i))})}}}}},t.exports.postcss=!0})),ae=t(((e,t)=>{let n=q(),r=Object.prototype.hasOwnProperty;function i(e){return!e.parent||e.parent.type===`root`?!1:e.parent.type===`rule`?!0:i(e.parent)}function a(e,t){if(i(t))throw Error(`composition is not allowed in nested rule \n\n${t}`);return e.nodes.map(t=>{if(t.type!==`selector`||t.nodes.length!==1)throw Error(`composition is only allowed when selector is single :local class name not in "${e}"`);if(t=t.nodes[0],t.type!==`pseudo`||t.value!==`:local`||t.nodes.length!==1||(t=t.first,t.type!==`selector`||t.length!==1)||(t=t.first,t.type!==`class`))throw Error(`composition is only allowed when selector is single :local class name not in "`+e+`", "`+t+`" is weird`);return t.value})}let o=RegExp(`\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)`,`ig`);function s(e){return e.replace(o,(e,t,n)=>{let r=`0x`+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)})}let c=(e={})=>{let t=e&&e.generateScopedName||c.generateScopedName,i=e&&e.generateExportEntry||c.generateExportEntry,o=e&&e.exportGlobals;return{postcssPlugin:`postcss-modules-scope`,Once(e,{rule:s}){let c=Object.create(null);function l(n,r,a){let o=t(r||n,e.source.input.from,e.source.input.css,a),{key:s,value:l}=i(r||n,o,e.source.input.from,e.source.input.css,a);return c[s]=c[s]||[],c[s].indexOf(l)<0&&c[s].push(l),o}function u(e){switch(e.type){case`selector`:return e.nodes=e.map(e=>u(e)),e;case`class`:return n.className({value:l(e.value,e.raws&&e.raws.value?e.raws.value:null,e)});case`id`:return n.id({value:l(e.value,e.raws&&e.raws.value?e.raws.value:null,e)});case`attribute`:if(e.attribute===`class`&&e.operator===`=`)return n.attribute({attribute:e.attribute,operator:e.operator,quoteMark:`'`,value:l(e.value,null,null)})}throw Error(`${e.type} ("${e}") is not allowed in a :local block`)}function d(e){switch(e.type){case`pseudo`:if(e.value===`:local`){if(e.nodes.length!==1)throw Error(`Unexpected comma (",") in :local block`);let t=u(e.first);t.first.spaces=e.spaces;let n=e.next();n&&n.type===`combinator`&&n.value===` `&&/\\[A-F0-9]{1,6}$/.test(t.last.value)&&(t.last.spaces.after=` `),e.replaceWith(t);return}case`root`:case`selector`:e.each(e=>d(e));break;case`id`:case`class`:o&&(c[e.value]=[e.value]);break}return e}let f={};e.walkRules(/^:import\(.+\)$/,e=>{e.walkDecls(e=>{f[e.prop]=!0})}),e.walkRules(e=>{let t=n().astSync(e);e.selector=d(t.clone()).toString(),e.walkDecls(/^(composes|compose-with)$/i,e=>{let n=a(t,e.parent);e.value.split(`,`).forEach(t=>{t.trim().split(/\s+/).forEach(t=>{let i=/^global\(([^)]+)\)$/.exec(t);if(i)n.forEach(e=>{c[e].push(i[1])});else if(r.call(f,t))n.forEach(e=>{c[e].push(t)});else if(r.call(c,t))n.forEach(e=>{c[t].forEach(t=>{c[e].push(t)})});else throw e.error(`referenced class name "${t}" in ${e.prop} not found`)})}),e.remove()}),e.walkDecls(e=>{if(!/:local\s*\((.+?)\)/.test(e.value))return;let t=e.value.split(/(,|'[^']*'|"[^"]*")/);t=t.map((e,n)=>{if(n===0||t[n-1]===`,`){let t=e,n=/:local\s*\((.+?)\)/.exec(e);if(n){let e=n.input,r=n[0],i=n[1],a=l(i);t=e.replace(r,a)}else return e;return t}else return e}),e.value=t.join(``)})}),e.walkAtRules(/keyframes$/i,e=>{let t=/^\s*:local\s*\((.+?)\)\s*$/.exec(e.params);t&&(e.params=l(t[1]))}),e.walkAtRules(/scope$/i,e=>{e.params&&=e.params.split(`to`).map(e=>{let t=e.trim().slice(1,-1).trim();return/^\s*:local\s*\((.+?)\)\s*$/.exec(t)?`(${d(n().astSync(t)).toString()})`:`(${t})`}).join(` to `)});let p=Object.keys(c);if(p.length>0){let t=s({selector:`:export`});p.forEach(e=>t.append({prop:e,value:c[e].join(` `),raws:{before:`
12
+ `}})),e.append(t)}}}};c.postcss=!0,c.generateScopedName=function(e,t){return`_${t.replace(/\.[^./\\]+$/,``).replace(/[\W_]+/g,`_`).replace(/^_|_$/g,``)}__${e}`.trim()},c.generateExportEntry=function(e,t){return{key:s(e),value:s(t)}},t.exports=c})),oe=t(((e,t)=>{function n(e){for(var t=5381,n=e.length;n;)t=t*33^e.charCodeAt(--n);return t>>>0}t.exports=n})),Z=t(((e,t)=>{let n=l(),r=/^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/,i=/(?:\s+|^)([\w-]+):?(.*?)$/,a=/^([\w-]+)(?:\s+as\s+([\w-]+))?/;t.exports=e=>{let t=0,o=e&&e.createImportedName||(e=>`i__const_${e.replace(/\W/g,`_`)}_${t++}`);return{postcssPlugin:`postcss-modules-values`,prepare(e){let t=[],s={};return{Once(c,l){if(c.walkAtRules(/value/i,c=>{let l=c.params.match(r);if(l){let[,e,n]=l;s[n]&&(n=s[n]);let r=e.replace(/^\(\s*([\s\S]+)\s*\)$/,`$1`).split(/\s*,\s*/).map(e=>{let t=a.exec(e);if(t){let[,e,n=e]=t,r=o(n);return s[n]=r,{theirName:e,importedName:r}}else throw Error(`@import statement "${e}" is invalid!`)});t.push({path:n,imports:r}),c.remove();return}c.params.indexOf(`@value`)!==-1&&e.warn(`Invalid value definition: `+c.params);let[,u,d]=`${c.params}${c.raws.between}`.match(i),f=d.replace(/\/\*((?!\*\/).*?)\*\//g,``);if(f.length===0){e.warn(`Invalid value definition: `+c.params),c.remove();return}/^\s+$/.test(f)||(d=d.trim()),s[u]=n.replaceValueSymbols(d,s),c.remove()}),!Object.keys(s).length)return;n.replaceSymbols(c,s);let u=Object.keys(s).map(e=>l.decl({value:s[e],prop:e,raws:{before:`
13
+ `}}));if(u.length>0){let e=l.rule({selector:`:export`,raws:{after:`
14
+ `}});e.append(u),c.prepend(e)}t.reverse().forEach(({path:e,imports:t})=>{let n=l.rule({selector:`:import(${e})`,raws:{after:`
15
+ `}});t.forEach(({theirName:e,importedName:t})=>{n.append({value:e,prop:t,raws:{before:`
16
+ `}})}),c.prepend(n)})}}}}},t.exports.postcss=!0})),se=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.behaviours=void 0,e.getDefaultPlugins=l,e.getDefaultScopeBehaviour=d,e.getScopedNameGenerator=p;var t=s(g()),n=s(_()),r=s(ie()),i=s(ae()),a=s(oe()),o=s(Z());function s(e){return e&&e.__esModule?e:{default:e}}let c={LOCAL:`local`,GLOBAL:`global`};e.behaviours=c;function l({behaviour:e,generateScopedName:n,exportGlobals:a}){let s=(0,i.default)({generateScopedName:n,exportGlobals:a});return{[c.LOCAL]:[o.default,(0,r.default)({mode:`local`}),t.default,s],[c.GLOBAL]:[o.default,(0,r.default)({mode:`global`}),t.default,s]}[e]}function u(e){return Object.keys(c).map(e=>c[e]).indexOf(e)>-1}function d(e){return e&&u(e)?e:c.LOCAL}function f(e,t,n){let r=n.indexOf(`.${e}`),i=n.substr(0,r).split(/[\r\n]/).length;return`_${e}_${(0,a.default)(n).toString(36).substr(0,5)}_${i}`}function p(e,t){let r=e||f;return typeof r==`function`?r:(0,n.default)(r,{context:process.cwd(),hashPrefix:t})}})),Q=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.makePlugin=b;var n=f(e(`postcss`)),r=f(i()),a=f(u()),o=f(d()),s=p(),c=f(m()),l=se();function f(e){return e&&e.__esModule?e:{default:e}}let h=`postcss-modules`;function g(e,t){return e.some(e=>t.match(e))}function _(e,t){let n=e.globalModulePaths||null,r=e.exportGlobals||!1,i=(0,l.getDefaultScopeBehaviour)(e.scopeBehaviour),a=(0,l.getScopedNameGenerator)(e.generateScopedName,e.hashPrefix);return n&&g(n,t)?(0,l.getDefaultPlugins)({behaviour:l.behaviours.GLOBAL,generateScopedName:a,exportGlobals:r}):(0,l.getDefaultPlugins)({behaviour:i,generateScopedName:a,exportGlobals:r})}function v(e,t){let n=e.root===void 0?`/`:e.root;return typeof e.Loader==`function`?new e.Loader(n,t,e.resolve):new c.default(n,t,e.resolve)}function y(e){return e.postcssPlugin===h}function b(e){return{postcssPlugin:h,async OnceExit(t,{result:i}){let c=e.getJSON||o.default,l=t.source.input.file,u=_(e,l),d=i.processor.plugins.findIndex(e=>y(e));if(d===-1)throw Error(`Plugin missing from options.`);let f=v(e,[...i.processor.plugins.slice(0,d),...u]),p=new a.default(async(e,t,n)=>{let i=(0,r.default)(e);return f.fetch.call(f,i,t,n)});await(0,n.default)([...u,p.plugin()]).process(t,{from:l});let m=f.finalSource;if(m&&t.prepend(m),e.localsConvention){let t=(0,s.makeLocalsConventionReducer)(e.localsConvention,l);p.exportTokens=Object.entries(p.exportTokens).reduce(t,{})}return i.messages.push({type:`export`,plugin:`postcss-modules`,exportTokens:p.exportTokens}),c(t.source.input.file,p.exportTokens,i.opts.to)}}}})),ce=t(((t,n)=>{var i=e(`fs`),a=r(),o=Q();(0,a.setFileSystem)({readFile:i.readFile,writeFile:i.writeFile}),n.exports=(e={})=>(0,o.makePlugin)(e),n.exports.postcss=!0}));export default ce();export{};
@@ -0,0 +1 @@
1
+ import{createRequire as e}from"node:module";var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),d=e(import.meta.url);export{u as i,c as n,d as r,s as t};
@@ -0,0 +1,18 @@
1
+ import{r as e,t}from"./chunk-tuRmWmEN.mjs";var n=t((e=>{(function(t,n){typeof define==`function`&&define.amd?define([`exports`],n):n(e===void 0?t.estraverse={}:e)})(e,function e(t){var n,r=Array.isArray,i,a,o,s,c,l,u;r||=function(e){return Object.prototype.toString.call(e)===`[object Array]`};function d(e){var t={},n,r;for(n in e)e.hasOwnProperty(n)&&(r=e[n],typeof r==`object`&&r?t[n]=d(r):t[n]=r);return t}function f(e,t){for(var n,r=e.length,i=0,a;r;)n=r>>>1,a=i+n,t(e[a])?r=n:(i=a+1,r-=n+1);return i}o=Object.create||(function(){function e(){}return function(t){return e.prototype=t,new e}})(),s=Object.keys||function(e){var t=[],n;for(n in e)t.push(n);return t};function p(e,t){var n=s(t),r,i,a;for(i=0,a=n.length;i<a;i+=1)r=n[i],e[r]=t[r];return e}n={AssignmentExpression:`AssignmentExpression`,ArrayExpression:`ArrayExpression`,ArrayPattern:`ArrayPattern`,ArrowFunctionExpression:`ArrowFunctionExpression`,AwaitExpression:`AwaitExpression`,BlockStatement:`BlockStatement`,BinaryExpression:`BinaryExpression`,BreakStatement:`BreakStatement`,CallExpression:`CallExpression`,CatchClause:`CatchClause`,ClassBody:`ClassBody`,ClassDeclaration:`ClassDeclaration`,ClassExpression:`ClassExpression`,ComprehensionBlock:`ComprehensionBlock`,ComprehensionExpression:`ComprehensionExpression`,ConditionalExpression:`ConditionalExpression`,ContinueStatement:`ContinueStatement`,DebuggerStatement:`DebuggerStatement`,DirectiveStatement:`DirectiveStatement`,DoWhileStatement:`DoWhileStatement`,EmptyStatement:`EmptyStatement`,ExportBatchSpecifier:`ExportBatchSpecifier`,ExportDeclaration:`ExportDeclaration`,ExportSpecifier:`ExportSpecifier`,ExpressionStatement:`ExpressionStatement`,ForStatement:`ForStatement`,ForInStatement:`ForInStatement`,ForOfStatement:`ForOfStatement`,FunctionDeclaration:`FunctionDeclaration`,FunctionExpression:`FunctionExpression`,GeneratorExpression:`GeneratorExpression`,Identifier:`Identifier`,IfStatement:`IfStatement`,ImportDeclaration:`ImportDeclaration`,ImportDefaultSpecifier:`ImportDefaultSpecifier`,ImportNamespaceSpecifier:`ImportNamespaceSpecifier`,ImportSpecifier:`ImportSpecifier`,Literal:`Literal`,LabeledStatement:`LabeledStatement`,LogicalExpression:`LogicalExpression`,MemberExpression:`MemberExpression`,MethodDefinition:`MethodDefinition`,ModuleSpecifier:`ModuleSpecifier`,NewExpression:`NewExpression`,ObjectExpression:`ObjectExpression`,ObjectPattern:`ObjectPattern`,Program:`Program`,Property:`Property`,ReturnStatement:`ReturnStatement`,SequenceExpression:`SequenceExpression`,SpreadElement:`SpreadElement`,SwitchStatement:`SwitchStatement`,SwitchCase:`SwitchCase`,TaggedTemplateExpression:`TaggedTemplateExpression`,TemplateElement:`TemplateElement`,TemplateLiteral:`TemplateLiteral`,ThisExpression:`ThisExpression`,ThrowStatement:`ThrowStatement`,TryStatement:`TryStatement`,UnaryExpression:`UnaryExpression`,UpdateExpression:`UpdateExpression`,VariableDeclaration:`VariableDeclaration`,VariableDeclarator:`VariableDeclarator`,WhileStatement:`WhileStatement`,WithStatement:`WithStatement`,YieldExpression:`YieldExpression`},a={AssignmentExpression:[`left`,`right`],ArrayExpression:[`elements`],ArrayPattern:[`elements`],ArrowFunctionExpression:[`params`,`defaults`,`rest`,`body`],AwaitExpression:[`argument`],BlockStatement:[`body`],BinaryExpression:[`left`,`right`],BreakStatement:[`label`],CallExpression:[`callee`,`arguments`],CatchClause:[`param`,`body`],ClassBody:[`body`],ClassDeclaration:[`id`,`body`,`superClass`],ClassExpression:[`id`,`body`,`superClass`],ComprehensionBlock:[`left`,`right`],ComprehensionExpression:[`blocks`,`filter`,`body`],ConditionalExpression:[`test`,`consequent`,`alternate`],ContinueStatement:[`label`],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:[`body`,`test`],EmptyStatement:[],ExportBatchSpecifier:[],ExportDeclaration:[`declaration`,`specifiers`,`source`],ExportSpecifier:[`id`,`name`],ExpressionStatement:[`expression`],ForStatement:[`init`,`test`,`update`,`body`],ForInStatement:[`left`,`right`,`body`],ForOfStatement:[`left`,`right`,`body`],FunctionDeclaration:[`id`,`params`,`defaults`,`rest`,`body`],FunctionExpression:[`id`,`params`,`defaults`,`rest`,`body`],GeneratorExpression:[`blocks`,`filter`,`body`],Identifier:[],IfStatement:[`test`,`consequent`,`alternate`],ImportDeclaration:[`specifiers`,`source`],ImportDefaultSpecifier:[`id`],ImportNamespaceSpecifier:[`id`],ImportSpecifier:[`id`,`name`],Literal:[],LabeledStatement:[`label`,`body`],LogicalExpression:[`left`,`right`],MemberExpression:[`object`,`property`],MethodDefinition:[`key`,`value`],ModuleSpecifier:[],NewExpression:[`callee`,`arguments`],ObjectExpression:[`properties`],ObjectPattern:[`properties`],Program:[`body`],Property:[`key`,`value`],ReturnStatement:[`argument`],SequenceExpression:[`expressions`],SpreadElement:[`argument`],SwitchStatement:[`discriminant`,`cases`],SwitchCase:[`test`,`consequent`],TaggedTemplateExpression:[`tag`,`quasi`],TemplateElement:[],TemplateLiteral:[`quasis`,`expressions`],ThisExpression:[],ThrowStatement:[`argument`],TryStatement:[`block`,`handlers`,`handler`,`guardedHandlers`,`finalizer`],UnaryExpression:[`argument`],UpdateExpression:[`argument`],VariableDeclaration:[`declarations`],VariableDeclarator:[`id`,`init`],WhileStatement:[`test`,`body`],WithStatement:[`object`,`body`],YieldExpression:[`argument`]},c={},l={},u={},i={Break:c,Skip:l,Remove:u};function m(e,t){this.parent=e,this.key=t}m.prototype.replace=function(e){this.parent[this.key]=e},m.prototype.remove=function(){return r(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function g(){}g.prototype.path=function(){var e,t,n,i,a,o;function s(e,t){if(r(t))for(n=0,i=t.length;n<i;++n)e.push(t[n]);else e.push(t)}if(!this.__current.path)return null;for(a=[],e=2,t=this.__leavelist.length;e<t;++e)o=this.__leavelist[e],s(a,o.path);return s(a,this.__current.path),a},g.prototype.type=function(){return this.current().type||this.__current.wrap},g.prototype.parents=function(){var e,t,n=[];for(e=1,t=this.__leavelist.length;e<t;++e)n.push(this.__leavelist[e].node);return n},g.prototype.current=function(){return this.__current.node},g.prototype.__execute=function(e,t){var n,r=void 0;return n=this.__current,this.__current=t,this.__state=null,e&&(r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=n,r},g.prototype.notify=function(e){this.__state=e},g.prototype.skip=function(){this.notify(l)},g.prototype.break=function(){this.notify(c)},g.prototype.remove=function(){this.notify(u)},g.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=t.fallback===`iteration`,this.__keys=a,t.keys&&(this.__keys=p(o(this.__keys),t.keys))};function _(e){return e==null?!1:typeof e==`object`&&typeof e.type==`string`}function v(e,t){return(e===n.ObjectExpression||e===n.ObjectPattern)&&t===`properties`}g.prototype.traverse=function(e,t){var n,i,a,o,u,d,f,p,m,g,y,b;for(this.__initialize(e,t),b={},n=this.__worklist,i=this.__leavelist,n.push(new h(e,null,null,null)),i.push(new h(null,null,null,null));n.length;){if(a=n.pop(),a===b){if(a=i.pop(),d=this.__execute(t.leave,a),this.__state===c||d===c)return;continue}if(a.node){if(d=this.__execute(t.enter,a),this.__state===c||d===c)return;if(n.push(b),i.push(a),this.__state===l||d===l)continue;if(o=a.node,u=a.wrap||o.type,g=this.__keys[u],!g)if(this.__fallback)g=s(o);else throw Error(`Unknown node type `+u+`.`);for(p=g.length;--p>=0;)if(f=g[p],y=o[f],y)if(r(y)){for(m=y.length;--m>=0;)if(y[m]){if(v(u,g[p]))a=new h(y[m],[f,m],`Property`,null);else if(_(y[m]))a=new h(y[m],[f,m],null,null);else continue;n.push(a)}}else _(y)&&n.push(new h(y,f,null,null))}}},g.prototype.replace=function(e,t){function n(e){var t,n,r,a;if(e.ref.remove()){for(n=e.ref.key,a=e.ref.parent,t=i.length;t--;)if(r=i[t],r.ref&&r.ref.parent===a){if(r.ref.key<n)break;--r.ref.key}}}var i,a,o,d,f,p,g,y,b,x,S,C,w;for(this.__initialize(e,t),S={},i=this.__worklist,a=this.__leavelist,C={root:e},p=new h(e,null,null,new m(C,`root`)),i.push(p),a.push(p);i.length;){if(p=i.pop(),p===S){if(p=a.pop(),f=this.__execute(t.leave,p),f!==void 0&&f!==c&&f!==l&&f!==u&&p.ref.replace(f),(this.__state===u||f===u)&&n(p),this.__state===c||f===c)return C.root;continue}if(f=this.__execute(t.enter,p),f!==void 0&&f!==c&&f!==l&&f!==u&&(p.ref.replace(f),p.node=f),(this.__state===u||f===u)&&(n(p),p.node=null),this.__state===c||f===c)return C.root;if(o=p.node,o&&(i.push(S),a.push(p),!(this.__state===l||f===l))){if(d=p.wrap||o.type,b=this.__keys[d],!b)if(this.__fallback)b=s(o);else throw Error(`Unknown node type `+d+`.`);for(g=b.length;--g>=0;)if(w=b[g],x=o[w],x)if(r(x)){for(y=x.length;--y>=0;)if(x[y]){if(v(d,b[g]))p=new h(x[y],[w,y],`Property`,new m(x,y));else if(_(x[y]))p=new h(x[y],[w,y],null,new m(x,y));else continue;i.push(p)}}else _(x)&&i.push(new h(x,w,null,new m(o,w)))}}return C.root};function y(e,t){return new g().traverse(e,t)}function b(e,t){return new g().replace(e,t)}function x(e,t){var n=f(t,function(t){return t.range[0]>e.range[0]});return e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),--n,n>=0&&(e.extendedRange[0]=t[n].range[1]),e}function S(e,t,n){var r=[],a,o,s,c;if(!e.range)throw Error(`attachComments needs range information`);if(!n.length){if(t.length){for(s=0,o=t.length;s<o;s+=1)a=d(t[s]),a.extendedRange=[0,e.range[0]],r.push(a);e.leadingComments=r}return e}for(s=0,o=t.length;s<o;s+=1)r.push(x(d(t[s]),n));return c=0,y(e,{enter:function(e){for(var t;c<r.length&&(t=r[c],!(t.extendedRange[1]>e.range[0]));)t.extendedRange[1]===e.range[0]?(e.leadingComments||=[],e.leadingComments.push(t),r.splice(c,1)):c+=1;if(c===r.length)return i.Break;if(r[c].extendedRange[0]>e.range[1])return i.Skip}}),c=0,y(e,{leave:function(e){for(var t;c<r.length&&(t=r[c],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||=[],e.trailingComments.push(t),r.splice(c,1)):c+=1;if(c===r.length)return i.Break;if(r[c].extendedRange[0]>e.range[1])return i.Skip}}),e}return t.version=`1.8.1-dev`,t.Syntax=n,t.traverse=y,t.replace=b,t.attachComments=S,t.VisitorKeys=a,t.VisitorOption=i,t.Controller=g,t.cloneEnvironment=function(){return e({})},t})})),r=t(((e,t)=>{(function(){function e(e){if(e==null)return!1;switch(e.type){case`ArrayExpression`:case`AssignmentExpression`:case`BinaryExpression`:case`CallExpression`:case`ConditionalExpression`:case`FunctionExpression`:case`Identifier`:case`Literal`:case`LogicalExpression`:case`MemberExpression`:case`NewExpression`:case`ObjectExpression`:case`SequenceExpression`:case`ThisExpression`:case`UnaryExpression`:case`UpdateExpression`:return!0}return!1}function n(e){if(e==null)return!1;switch(e.type){case`DoWhileStatement`:case`ForInStatement`:case`ForStatement`:case`WhileStatement`:return!0}return!1}function r(e){if(e==null)return!1;switch(e.type){case`BlockStatement`:case`BreakStatement`:case`ContinueStatement`:case`DebuggerStatement`:case`DoWhileStatement`:case`EmptyStatement`:case`ExpressionStatement`:case`ForInStatement`:case`ForStatement`:case`IfStatement`:case`LabeledStatement`:case`ReturnStatement`:case`SwitchStatement`:case`ThrowStatement`:case`TryStatement`:case`VariableDeclaration`:case`WhileStatement`:case`WithStatement`:return!0}return!1}function i(e){return r(e)||e!=null&&e.type===`FunctionDeclaration`}function a(e){switch(e.type){case`IfStatement`:return e.alternate==null?e.consequent:e.alternate;case`LabeledStatement`:case`ForStatement`:case`ForInStatement`:case`WhileStatement`:case`WithStatement`:return e.body}return null}function o(e){var t;if(e.type!==`IfStatement`||e.alternate==null)return!1;t=e.consequent;do{if(t.type===`IfStatement`&&t.alternate==null)return!0;t=a(t)}while(t);return!1}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:a}})()})),i=t(((e,t)=>{(function(){var e,n={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\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\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-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r,i,a,o;e={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\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\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-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function s(e){return 48<=e&&e<=57}function c(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function u(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&r.indexOf(e)>=0}function d(e){return e===10||e===13||e===8232||e===8233}function f(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(i=Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function p(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(f(e))}function m(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(f(e))}function h(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(f(t))}function g(t){return t<128?a[t]:e.NonAsciiIdentifierPart.test(f(t))}t.exports={isDecimalDigit:s,isHexDigit:c,isOctalDigit:l,isWhiteSpace:u,isLineTerminator:d,isIdentifierStartES5:p,isIdentifierPartES5:m,isIdentifierStartES6:h,isIdentifierPartES6:g}})()})),a=t(((e,t)=>{(function(){var e=i();function n(e){switch(e){case`implements`:case`interface`:case`package`:case`private`:case`protected`:case`public`:case`static`:case`let`:return!0;default:return!1}}function r(e,t){return!t&&e===`yield`?!1:a(e,t)}function a(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return e===`if`||e===`in`||e===`do`;case 3:return e===`var`||e===`for`||e===`new`||e===`try`;case 4:return e===`this`||e===`else`||e===`case`||e===`void`||e===`with`||e===`enum`;case 5:return e===`while`||e===`break`||e===`catch`||e===`throw`||e===`const`||e===`yield`||e===`class`||e===`super`;case 6:return e===`return`||e===`typeof`||e===`delete`||e===`switch`||e===`export`||e===`import`;case 7:return e===`default`||e===`finally`||e===`extends`;case 8:return e===`function`||e===`continue`||e===`debugger`;case 10:return e===`instanceof`;default:return!1}}function o(e,t){return e===`null`||e===`true`||e===`false`||r(e,t)}function s(e,t){return e===`null`||e===`true`||e===`false`||a(e,t)}function c(e){return e===`eval`||e===`arguments`}function l(t){var n,r,i;if(t.length===0||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n<r;++n)if(i=t.charCodeAt(n),!e.isIdentifierPartES5(i))return!1;return!0}function u(e,t){return(e-55296)*1024+(t-56320)+65536}function d(t){var n,r,i,a,o;if(t.length===0)return!1;for(o=e.isIdentifierStartES6,n=0,r=t.length;n<r;++n){if(i=t.charCodeAt(n),55296<=i&&i<=56319){if(++n,n>=r||(a=t.charCodeAt(n),!(56320<=a&&a<=57343)))return!1;i=u(i,a)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function f(e,t){return l(e)&&!o(e,t)}function p(e,t){return d(e)&&!s(e,t)}t.exports={isKeywordES5:r,isKeywordES6:a,isReservedWordES5:o,isReservedWordES6:s,isRestrictedWord:c,isIdentifierNameES5:l,isIdentifierNameES6:d,isIdentifierES5:f,isIdentifierES6:p}})()})),o=t((e=>{(function(){e.ast=r(),e.code=i(),e.keyword=a()})()})),s=t(((t,n)=>{function r(t,n){var r={},i={},a=!1,o=e(`path`),s,c;function l(e){var t,n;for(t=0;e[t];t+=1)if(n=e[t],n===`.`)e.splice(t,1),--t;else if(n===`..`){if(t===1&&(e[2]===`..`||e[0]===`..`))break;t>0&&(e.splice(t-1,2),t-=2)}}function u(e,t){var n;return e&&e.charAt(0)===`.`&&t&&(n=t.split(`/`),n=n.slice(0,n.length-1),n=n.concat(e.split(`/`)),l(n),e=n.join(`/`)),e}function d(e){return function(t){return u(t,e)}}function f(e){function t(t){i[e]=t}return t.fromText=function(e,t){throw Error(`amdefine does not implement load.fromText`)},t}s=function(e,t,n,r){function i(i,a){if(typeof i==`string`)return c(e,t,n,i,r);i=i.map(function(i){return c(e,t,n,i,r)}),a&&process.nextTick(function(){a.apply(null,i)})}return i.toUrl=function(e){return e.indexOf(`.`)===0?u(e,o.dirname(n.filename)):e},i},n||=function(){return t.require.apply(t,arguments)};function p(e,r,o){var c,l,u,d;if(e)l=i[e]={},u={id:e,uri:__filename,exports:l},c=s(n,l,u,e);else{if(a)throw Error(`amdefine with no module ID cannot be called more than once per file.`);a=!0,l=t.exports,u=t,c=s(n,l,u,t.id)}r&&=r.map(function(e){return c(e)}),d=typeof o==`function`?o.apply(u.exports,r):o,d!==void 0&&(u.exports=d,e&&(i[e]=u.exports))}c=function(e,t,n,a,o){var l=a.indexOf(`!`),m=a,h,g;if(l===-1){if(a=u(a,o),a===`require`)return s(e,t,n,o);if(a===`exports`)return t;if(a===`module`)return n;if(i.hasOwnProperty(a))return i[a];if(r[a])return p.apply(null,r[a]),i[a];if(e)return e(m);throw Error(`No module with ID: `+a)}else return h=a.substring(0,l),a=a.substring(l+1,a.length),g=c(e,t,n,h,o),a=g.normalize?g.normalize(a,d(o)):u(a,o),i[a]||g.load(a,s(e,t,n,o),f(a),{}),i[a]};function m(e,t,n){Array.isArray(e)?(n=t,t=e,e=void 0):typeof e!=`string`&&(n=e,e=t=void 0),t&&!Array.isArray(t)&&(n=t,t=void 0),t||=[`require`,`exports`,`module`],e?r[e]=[e,t,n]:p(e,t,n)}return m.require=function(e){if(i[e])return i[e];if(r[e])return p.apply(null,r[e]),i[e]},m.amd={},m}n.exports=r})),c=t(((t,n)=>{if(typeof r!=`function`)var r=s()(n,e);r(function(e,t,n){var r=e(`./base64-vlq`),i=e(`./util`),a=e(`./array-set`).ArraySet,o=e(`./mapping-list`).MappingList;function s(e){e||={},this._file=i.getArg(e,`file`,null),this._sourceRoot=i.getArg(e,`sourceRoot`,null),this._skipValidation=i.getArg(e,`skipValidation`,!1),this._sources=new a,this._names=new a,this._mappings=new o,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(r.source=e.source,t!=null&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&n.setSourceContent(t,r)}),n},s.prototype.addMapping=function(e){var t=i.getArg(e,`generated`),n=i.getArg(e,`original`,null),r=i.getArg(e,`source`,null),a=i.getArg(e,`name`,null);this._skipValidation||this._validateMapping(t,n,r,a),r!=null&&!this._sources.has(r)&&this._sources.add(r),a!=null&&!this._names.has(a)&&this._names.add(a),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:a})},s.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot!=null&&(n=i.relative(this._sourceRoot,n)),t==null?this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||={},this._sourcesContents[i.toSetString(n)]=t)},s.prototype.applySourceMap=function(e,t,n){var r=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);r=e.file}var o=this._sourceRoot;o!=null&&(r=i.relative(o,r));var s=new a,c=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&t.originalLine!=null){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});a.source!=null&&(t.source=a.source,n!=null&&(t.source=i.join(n,t.source)),o!=null&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,a.name!=null&&(t.name=a.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(n!=null&&(t=i.join(n,t)),o!=null&&(t=i.relative(o,t)),this.setSourceContent(t,r))},this)},s.prototype._validateMapping=function(e,t,n,r){if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw Error(`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e=0,t=1,n=0,a=0,o=0,s=0,c=``,l,u=this._mappings.toArray(),d=0,f=u.length;d<f;d++){if(l=u[d],l.generatedLine!==t)for(e=0;l.generatedLine!==t;)c+=`;`,t++;else if(d>0){if(!i.compareByGeneratedPositions(l,u[d-1]))continue;c+=`,`}c+=r.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(c+=r.encode(this._sources.indexOf(l.source)-s),s=this._sources.indexOf(l.source),c+=r.encode(l.originalLine-1-a),a=l.originalLine-1,c+=r.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(c+=r.encode(this._names.indexOf(l.name)-o),o=this._names.indexOf(l.name)))}return c},s.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=s})})),l=t(((t,n)=>{if(typeof r!=`function`)var r=s()(n,e);r(function(e,t,n){var r=e(`./util`);function i(t){var n=t;return typeof t==`string`&&(n=JSON.parse(t.replace(/^\)\]\}'/,``))),n.sections==null?new(e(`./basic-source-map-consumer`)).BasicSourceMapConsumer(n):new(e(`./indexed-source-map-consumer`)).IndexedSourceMapConsumer(n)}i.fromSourceMap=function(t){return e(`./basic-source-map-consumer`).BasicSourceMapConsumer.fromSourceMap(t)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,`_generatedMappings`,{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,`_originalMappings`,{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),i.prototype._nextCharIsMappingSeparator=function(e){var t=e.charAt(0);return t===`;`||t===`,`},i.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.prototype.eachMapping=function(e,t,n){var a=t||null,o=n||i.GENERATED_ORDER,s;switch(o){case i.GENERATED_ORDER:s=this._generatedMappings;break;case i.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(e){var t=e.source;return t!=null&&c!=null&&(t=r.join(c,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},i.prototype.allGeneratedPositionsFor=function(e){var t={source:r.getArg(e,`source`),originalLine:r.getArg(e,`line`),originalColumn:1/0};this.sourceRoot!=null&&(t.source=r.relative(this.sourceRoot,t.source));var n=[],i=this._findMapping(t,this._originalMappings,`originalLine`,`originalColumn`,r.compareByOriginalPositions);if(i>=0)for(var a=this._originalMappings[i];a&&a.originalLine===t.originalLine;)n.push({line:r.getArg(a,`generatedLine`,null),column:r.getArg(a,`generatedColumn`,null),lastColumn:r.getArg(a,`lastGeneratedColumn`,null)}),a=this._originalMappings[--i];return n.reverse()},t.SourceMapConsumer=i})})),u=t(((t,n)=>{if(typeof r!=`function`)var r=s()(n,e);r(function(e,t,n){var r=e(`./source-map-generator`).SourceMapGenerator,i=e(`./util`),a=/(\r?\n)/,o=10,s=`$$$isSourceNode$$$`;function c(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[s]=!0,r!=null&&this.add(r)}c.fromStringWithSourceMap=function(e,t,n){var r=new c,o=e.split(a),s=function(){return o.shift()+(o.shift()||``)},l=1,u=0,d=null;return t.eachMapping(function(e){if(d!==null)if(l<e.generatedLine){var t=``;f(d,s()),l++,u=0}else{var n=o[0],t=n.substr(0,e.generatedColumn-u);o[0]=n.substr(e.generatedColumn-u),u=e.generatedColumn,f(d,t),d=e;return}for(;l<e.generatedLine;)r.add(s()),l++;if(u<e.generatedColumn){var n=o[0];r.add(n.substr(0,e.generatedColumn)),o[0]=n.substr(e.generatedColumn),u=e.generatedColumn}d=e},this),o.length>0&&(d&&f(d,s()),r.add(o.join(``))),t.sources.forEach(function(e){var a=t.sourceContentFor(e);a!=null&&(n!=null&&(e=i.join(n,e)),r.setSourceContent(e,a))}),r;function f(e,t){if(e===null||e.source===void 0)r.add(t);else{var a=n?i.join(n,e.source):e.source;r.add(new c(e.originalLine,e.originalColumn,a,t,e.name))}}},c.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[s]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},c.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[s]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},c.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[s]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},c.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},c.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},c.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},c.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},c.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},c.prototype.toStringWithSourceMap=function(e){var t={code:``,line:1,column:0},n=new r(e),i=!1,a=null,s=null,c=null,l=null;return this.walk(function(e,r){t.code+=e,r.source!==null&&r.line!==null&&r.column!==null?((a!==r.source||s!==r.line||c!==r.column||l!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),a=r.source,s=r.line,c=r.column,l=r.name,i=!0):i&&=(n.addMapping({generated:{line:t.line,column:t.column}}),a=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===o?(t.line++,t.column=0,u+1===d?(a=null,i=!1):i&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=c})})),d=t((e=>{e.SourceMapGenerator=c().SourceMapGenerator,e.SourceMapConsumer=l().SourceMapConsumer,e.SourceNode=u().SourceNode})),f=t(((e,t)=>{t.exports={name:`escodegen-wallaby`,description:`ECMAScript code generator with JSX support`,homepage:`http://github.com/wallabyjs/escodegen`,main:`escodegen.js`,bin:{esgenerate:`./bin/esgenerate.js`,escodegen:`./bin/escodegen.js`},files:[`LICENSE.BSD`,`LICENSE.source-map`,`README.md`,`bin`,`escodegen.js`,`package.json`],version:`1.6.45`,engines:{node:`>=0.10.0`},maintainers:[{name:`Artem Govorov`,email:`artem.govorov@gmail.com`,web:`http://dm.gl`}],repository:{type:`git`,url:`http://github.com/wallabyjs/escodegen.git`},dependencies:{estraverse:`^1.9.1`,esutils:`^2.0.2`,esprima:`^2.7.1`,optionator:`^0.8.1`},optionalDependencies:{"source-map":`~0.2.0`},devDependencies:{acorn:`^2.7.0`,bluebird:`^2.3.11`,"bower-registry-client":`^0.2.1`,chai:`^1.10.0`,"commonjs-everywhere":`^0.9.7`,gulp:`^3.8.10`,"gulp-eslint":`^0.2.0`,"gulp-mocha":`^2.0.0`,semver:`^5.1.0`},licenses:[{type:`BSD`,url:`http://github.com/wallabyjs/escodegen/raw/master/LICENSE.BSD`}],scripts:{test:`gulp travis`,"unit-test":`gulp test`,lint:`gulp lint`,release:`node tools/release.js`,"build-min":`./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js`,build:`./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js`}}})),p=t((e=>{(function(){var t,r,i,a,s=n(),c=o(),l,u,p,m,h,g,_,v,y,b,x,S,C,w,T,ee,E,D,O,te,ne;t=s.Syntax;function re(e){return X.Expression.hasOwnProperty(e.type)}function ie(e){return X.Statement.hasOwnProperty(e.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,NullishCoalescing:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:13,Unary:14,Postfix:15,Call:16,New:17,TaggedTemplate:18,OptionalMember:19,Member:20,Primary:21},i={"??":r.NullishCoalescing,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var k=1,A=2,j=4,ae=8,oe=16,M=32,N=256,se=512,ce=A|j,P=k|A,F=k|A|j,I=k,le=j,ue=k|j,L=k,R=k|M,de=0,fe=k|oe,pe=k|ae;function me(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:` `,base:0,adjustMultilineComment:!1},newline:`
2
+ `,space:` `,json:!1,renumber:!1,hexadecimal:!1,quotes:`single`,escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function z(e,t){var n=``;for(t|=0;t>0;t>>>=1,e+=e)t&1&&(n+=e);return n}l=Array.isArray,l||=function(e){return Object.prototype.toString.call(e)===`[object Array]`};function he(e){return/[\r\n]/g.test(e)}function B(e){var t=e.length;return t&&c.code.isLineTerminator(e.charCodeAt(t-1))}function ge(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function V(e,t){var n,r;function i(e){return typeof e==`object`&&e instanceof Object&&!(e instanceof RegExp)}for(n in t)t.hasOwnProperty(n)&&(r=t[n],i(r)?i(e[n])?V(e[n],r):e[n]=V({},r):e[n]=r);return e}function _e(e){var t,n,r,i,a;if(e!==e)throw Error(`Numeric literal whose value is NaN`);if(e<0||e===0&&1/e<0)throw Error(`Numeric literal whose value is negative`);if(e===1/0)return m?`null`:h?`1e400`:`1e+400`;if(t=``+e,!h||t.length<3)return t;for(n=t.indexOf(`.`),!m&&t.charCodeAt(0)===48&&n===1&&(n=0,t=t.slice(1)),r=t,t=t.replace(`e+`,`e`),i=0,(a=r.indexOf(`e`))>0&&(i=+r.slice(a+1),r=r.slice(0,a)),n>=0&&(i-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+``),a=0;r.charCodeAt(r.length+a-1)===48;)--a;return a!==0&&(i-=a,r=r.slice(0,a)),i!==0&&(r+=`e`+i),(r.length<t.length||g&&e>0xe8d4a51000&&Math.floor(e)===e&&(r=`0x`+e.toString(16)).length<t.length)&&+r===e&&(t=r),t}function ve(e,t){return(e&-2)==8232?(t?`u`:`\\u`)+(e===8232?`2028`:`2029`):e===10||e===13?(t?``:`\\`)+(e===10?`n`:`r`):String.fromCharCode(e)}function ye(e){var t,n=e.toString(),r,i,a,o,s,c;if(e.source){if(t=n.match(/\/([^/]*)$/),!t)return n;for(r=t[1],n=``,s=!1,c=!1,i=0,a=e.source.length;i<a;++i)o=e.source.charCodeAt(i),c?(n+=ve(o,c),c=!1):(s?o===93&&(s=!1):o===47?n+=`\\`:o===91&&(s=!0),n+=ve(o,c),c=o===92);return`/`+n+`/`+r}return n}function be(e,t){var n;return e===8?`\\b`:e===12?`\\f`:e===9?`\\t`:(n=e.toString(16).toUpperCase(),m||e>255?`\\u`+`0000`.slice(n.length)+n:e===0&&!c.code.isDecimalDigit(t)?`\\0`:e===11?`\\x0B`:`\\x`+`00`.slice(n.length)+n)}function xe(e){if(e===92)return`\\\\`;if(e===10)return`\\n`;if(e===13)return`\\r`;if(e===8232)return`\\u2028`;if(e===8233)return`\\u2029`;throw Error(`Incorrectly classified character`)}function Se(e){var t,n,r,i=_===`double`?`"`:`'`;for(t=0,n=e.length;t<n;++t)if(r=e.charCodeAt(t),r===39){i=`"`;break}else if(r===34){i=`'`;break}else r===92&&++t;return i+e+i}function Ce(e){var t=``,n,r,i,a=0,o=0,s,l;for(n=0,r=e.length;n<r;++n){if(i=e.charCodeAt(n),i===39)++a;else if(i===34)++o;else if(i===47&&m)t+=`\\`;else if(c.code.isLineTerminator(i)||i===92){t+=xe(i);continue}else if(!c.code.isIdentifierPartES5(i)&&(m&&i<32||!m&&!v&&(i<32||i>126))){t+=be(i,e.charCodeAt(n+1));continue}t+=String.fromCharCode(i)}if(s=!(_===`double`||_===`auto`&&o<a),l=s?`'`:`"`,!(s?a:o))return l+t+l;for(e=t,t=l,n=0,r=e.length;n<r;++n)i=e.charCodeAt(n),(i===39&&s||i===34&&!s)&&(t+=`\\`),t+=String.fromCharCode(i);return t+l}function we(e){var t,n,r,i=``;for(t=0,n=e.length;t<n;++t)r=e[t],i+=l(r)?we(r):r;return i}function H(e,t){if(t&&t.type===`PrivateIdentifier`&&!(e instanceof a)&&(e=`#`+e),!E)return l(e)?we(e):e;if(t==null){if(e instanceof a)return e;t={}}return t.loc==null?new a(null,null,E,e,t.name||null):new a(t.loc.start.line,t.loc.start.column,E===!0?t.loc.source||null:E,e,t.name||null)}function U(){return b||` `}function W(e,t){var n=H(e).toString(),r,i,a;return n.length===0?[t]:(r=H(t).toString(),r.length===0?[e]:(i=n.charCodeAt(n.length-1),a=r.charCodeAt(0),(i===43||i===45)&&i===a||c.code.isIdentifierPartES5(i)&&c.code.isIdentifierPartES5(a)||i===47&&a===105?[e,U(),t]:c.code.isWhiteSpace(i)||c.code.isLineTerminator(i)||c.code.isWhiteSpace(a)||c.code.isLineTerminator(a)?[e,t]:[e,b,t]))}function G(e){return[u,e]}function K(e){var t=u;u+=p,e(u),u=t}function Te(e){var t;for(t=e.length-1;t>=0&&!c.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}function Ee(e,t){var n=e.split(/\r\n|[\r\n]/),r,i,a,o,s=Number.MAX_VALUE,l,d;for(r=1,i=n.length;r<i;++r){for(a=n[r],o=0;o<a.length&&c.code.isWhiteSpace(a.charCodeAt(o));)++o;s>o&&(s=o)}for(t===void 0?(s&1&&--s,l=u):(l=u,n[1][s]===`*`&&(t+=` `),u=t),r=1,i=n.length;r<i;++r)d=H(G(n[r].slice(s))),n[r]=E?d.join(``):d;return u=l,n.join(`
3
+ `)}function q(e,t){if(e.type===`Line`){if(B(e.value))return`//`+e.value;var n=`//`+e.value;return O||(n+=`
4
+ `),n}return T.format.indent.adjustMultilineComment&&/[\n\r]/.test(e.value)?Ee(`/*`+e.value+`*/`,t):`/*`+e.value+`*/`}function De(e,n){var r,i,a,o,s,c,l,d,f,m,h,g,_,v;if(e.leadingComments&&e.leadingComments.length>0){if(o=n,O){for(a=e.leadingComments[0],n=[],d=a.extendedRange,f=a.range,h=D.substring(d[0],f[0]),v=(h.match(/\n/g)||[]).length,v>0?(n.push(z(`
5
+ `,v)),n.push(G(q(a)))):(n.push(h),n.push(q(a))),m=f,r=1,i=e.leadingComments.length;r<i;r++)a=e.leadingComments[r],f=a.range,g=D.substring(m[1],f[0]),v=(g.match(/\n/g)||[]).length,n.push(z(`
6
+ `,v)),n.push(G(q(a))),m=f;_=D.substring(f[1],d[1]),v=(_.match(/\n/g)||[]).length,n.push(z(`
7
+ `,v))}else for(a=e.leadingComments[0],n=[],C&&e.type===t.Program&&e.body.length===0&&n.push(`
8
+ `),n.push(q(a)),B(H(n).toString())||n.push(`
9
+ `),r=1,i=e.leadingComments.length;r<i;++r)a=e.leadingComments[r],l=[q(a)],B(H(l).toString())||l.push(`
10
+ `),n.push(G(l));n.push(G(o))}if(e.trailingComments)if(O)a=e.trailingComments[0],d=a.extendedRange,f=a.range,h=D.substring(d[0],f[0]),v=(h.match(/\n/g)||[]).length,v>0?(n.push(z(`
11
+ `,v)),n.push(G(q(a)))):(n.push(h),n.push(q(a)));else for(s=!B(H(n).toString()),c=z(` `,Te(H([u,n,p]).toString())),r=0,i=e.trailingComments.length;r<i;++r)a=e.trailingComments[r],s?(n=r===0?[n,p]:[n,c],n.push(q(a,c))):n=[n,G(q(a))],r!==i-1&&!B(H(n).toString())&&(n=[n,`
12
+ `]);return n}function J(e,t,n){var r,i=0;for(r=e;r<t;r++)D[r]===`
13
+ `&&i++;for(r=1;r<i;r++)n.push(y)}function Y(e,t,n){return t<n?[`(`,e,`)`]:e}function Oe(e){var t,n,r=e.split(/\r\n|\n/);for(t=1,n=r.length;t<n;t++)r[t]=y+u+r[t];return r}function ke(e,t){var n=e[T.verbatim],i,a;return typeof n==`string`?i=Y(Oe(n),r.Sequence,t):(i=Oe(n.content),a=n.precedence==null?r.Sequence:n.precedence,i=Y(i,a,t)),H(i,e)}function X(){}X.prototype.maybeBlock=function(e,n){var r,i,a=this;return i=!T.comment||!e.leadingComments,e.type===t.BlockStatement&&i?[b,this.generateStatement(e,n)]:e.type===t.EmptyStatement&&i?`;`:(K(function(){r=[y,G(a.generateStatement(e,n))]}),r)},X.prototype.maybeBlockSuffix=function(e,n){var r=B(H(n).toString());return e.type===t.BlockStatement&&(!T.comment||!e.leadingComments)&&!r?[n,b]:r?[n,u]:[n,y,u]};function Z(e){return H(e.name,e)}function Q(e,t){return e.async?`async`+(t?U():b):``}function $(e){return e.generator&&!T.moz.starlessGenerator?`*`+b:``}function Ae(e){var t=e.value,n=``;return t.async&&(n+=Q(t,!e.computed)),t.generator&&(n+=$(t)?`*`:``),n}X.prototype.generatePattern=function(e,n,r){return e.type===t.Identifier?Z(e):this.generateExpression(e,n,r)},X.prototype.generateFunctionParams=function(e){var n,i,a,o=!1;if(e.type===t.ArrowFunctionExpression&&!e.rest&&(!e.defaults||e.defaults.length===0)&&e.params.length===1&&e.params[0].type===t.Identifier)a=[Q(e,!0),Z(e.params[0])];else{for(a=e.type===t.ArrowFunctionExpression?[Q(e,!1)]:[],a.push(`(`),e.defaults&&(o=!0),n=0,i=e.params.length;n<i;++n)o&&e.defaults[n]?a.push(this.generateAssignment(e.params[n],e.defaults[n],`=`,r.Assignment,F)):a.push(this.generatePattern(e.params[n],r.Assignment,F)),n+1<i&&a.push(`,`+b);e.rest&&(e.params.length&&a.push(`,`+b),a.push(`...`),a.push(Z(e.rest))),a.push(`)`)}return a},X.prototype.generateFunctionBody=function(e){var n=this.generateFunctionParams(e),i;return e.type===t.ArrowFunctionExpression&&(n.push(b),n.push(`=>`)),e.expression?(n.push(b),i=this.generateExpression(e.body,r.Assignment,F),i.toString().charAt(0)===`{`&&(i=[`(`,i,`)`]),n.push(i)):n.push(this.maybeBlock(e.body,pe)),n},X.prototype.generateIterationForStatement=function(e,n,i){var a=[`for`+b+(n.await?`await`+b:``)+`(`],o=this;return K(function(){n.left.type===t.VariableDeclaration?K(function(){a.push(n.left.kind+U()),a.push(o.generateStatement(n.left.declarations[0],de))}):a.push(o.generateExpression(n.left,r.Call,F)),a=W(a,e),a=[W(a,o.generateExpression(n.right,r.Sequence+(e===`of`?1:0),F)),`)`]}),a.push(this.maybeBlock(n.body,i)),a},X.prototype.generatePropertyKey=function(e,t){var n=[];return t&&n.push(`[`),n.push(this.generateExpression(e,r.Assignment,F)),t&&n.push(`]`),n},X.prototype.generateAssignment=function(e,t,n,i,a){return r.Assignment<i&&(a|=k),Y([this.generateExpression(e,r.Call,a),b+n+b,this.generateExpression(t,r.Assignment,a)],r.Assignment,i)},X.prototype.semicolon=function(e){return!S&&e&M?``:`;`},X.Statement={BlockStatement:function(e,t){var n,r,i=[`{`,y],a=this;return K(function(){e.body.length===0&&O&&(n=e.range,n[1]-n[0]>2&&(r=D.substring(n[0]+1,n[1]-1),r[0]===`
14
+ `&&(i=[`{`]),i.push(r)));var o,s,c,l=L;for(t&ae&&(l|=oe),o=0,s=e.body.length;o<s;++o)O&&(o===0&&(e.body[0].leadingComments&&(n=e.body[0].leadingComments[0].extendedRange,r=D.substring(n[0],n[1]),r[0]===`
15
+ `&&(i=[`{`])),e.body[0].leadingComments||J(e.range[0],e.body[0].range[0],i)),o>0&&!e.body[o-1].trailingComments&&!e.body[o].leadingComments&&J(e.body[o-1].range[1],e.body[o].range[0],i)),o===s-1&&(l|=M),c=e.body[o].leadingComments&&O?a.generateStatement(e.body[o],l):G(a.generateStatement(e.body[o],l)),i.push(c),B(H(c).toString())||O&&o<s-1&&e.body[o+1].leadingComments||i.push(y),O&&o===s-1&&(e.body[o].trailingComments||J(e.body[o].range[1],e.range[1],i))}),i.push(G(`}`)),i},StaticBlock:function(e,t){var n=this.BlockStatement(e,t);return n.unshift(`static `),n},BreakStatement:function(e,t){return e.label?`break `+e.label.name+this.semicolon(t):`break`+this.semicolon(t)},ContinueStatement:function(e,t){return e.label?`continue `+e.label.name+this.semicolon(t):`continue`+this.semicolon(t)},ClassBody:function(e,t){var n=[`{`,y],i=this;return K(function(t){var a,o;for(a=0,o=e.body.length;a<o;++a)n.push(t),n.push(i.generateExpression(e.body[a],r.Sequence,F)),a+1<o&&n.push(y)}),B(H(n).toString())||n.push(y),n.push(u),n.push(`}`),n},ClassDeclaration:function(e,t){var n=[`class`],i;return e.id&&(n=W(n,this.generateExpression(e.id,r.Sequence,F))),e.superClass&&(i=W(`extends`,[`(`,this.generateExpression(e.superClass,r.Assignment,F),`)`]),n=W(n,i)),n.push(b),n.push(this.generateStatement(e.body,R)),n},DirectiveStatement:function(e,t){return T.raw&&e.raw?e.raw+this.semicolon(t):Se(e.directive)+this.semicolon(t)},DoWhileStatement:function(e,t){var n=W(`do`,this.maybeBlock(e.body,L));return n=this.maybeBlockSuffix(e.body,n),W(n,[`while`+b+`(`,this.generateExpression(e.test,r.Sequence,F),`)`+this.semicolon(t)])},CatchClause:function(e,t){var n,i=this;return K(function(){var t;n=[`catch`+(e.param?b+`(`:``)],e.param&&(n=n.concat([i.generateExpression(e.param,r.Sequence,F),`)`])),e.guard&&(t=i.generateExpression(e.guard,r.Sequence,F),n.splice(2,0,` if `,t))}),n.push(this.maybeBlock(e.body,L)),n},DebuggerStatement:function(e,t){return`debugger`+this.semicolon(t)},EmptyStatement:function(e,t){return`;`},ExportDefaultDeclaration:function(e,t){var n=[`export`],i=t&M?R:L;return n=W(n,`default`),n=ie(e.declaration)?W(n,this.generateStatement(e.declaration,i)):W(n,this.generateExpression(e.declaration,r.Assignment,F)+this.semicolon(t)),n},ExportNamedDeclaration:function(e,n){var i=[`export`],a,o=this;return a=n&M?R:L,e.declaration?W(i,this.generateStatement(e.declaration,a)):(e.specifiers&&(e.specifiers.length===0?i=W(i,`{`+b+`}`):e.specifiers[0].type===t.ExportBatchSpecifier?i=W(i,this.generateExpression(e.specifiers[0],r.Sequence,F)):(i=W(i,`{`),K(function(t){var n,a;for(i.push(y),n=0,a=e.specifiers.length;n<a;++n)i.push(t),i.push(o.generateExpression(e.specifiers[n],r.Sequence,F)),n+1<a&&i.push(`,`+y)}),B(H(i).toString())||i.push(y),i.push(u+`}`)),e.source?i=W(i,[`from`+b,this.generateExpression(e.source,r.Sequence,F),...this.ImportExportAssertions(e.assertions,r.Sequence,F),...this.ImportExportAttributes(e.attributes,r.Sequence,F),this.semicolon(n)]):i.push(this.semicolon(n))),i)},ExportAllDeclaration:function(e,t){return[`export`+b,`*`+b,e.exported?`as `+e.exported.name+` `:``,`from`+b,this.generateExpression(e.source,r.Sequence,F),...this.ImportExportAssertions(e.assertions),...this.ImportExportAttributes(e.attributes),this.semicolon(t)]},ExpressionStatement:function(e,n){var i,a;function o(e){var t;return e.slice(0,5)===`class`?(t=e.charCodeAt(5),t===123||c.code.isWhiteSpace(t)||c.code.isLineTerminator(t)):!1}function s(e){var t;return e.slice(0,8)===`function`?(t=e.charCodeAt(8),t===40||c.code.isWhiteSpace(t)||t===42||c.code.isLineTerminator(t)):!1}function l(e){var t,n,r;if(e.slice(0,5)!==`async`||!c.code.isWhiteSpace(e.charCodeAt(5)))return!1;for(n=6,r=e.length;n<r&&c.code.isWhiteSpace(e.charCodeAt(n));++n);return n===r||e.slice(n,n+8)!==`function`?!1:(t=e.charCodeAt(n+8),t===40||c.code.isWhiteSpace(t)||t===42||c.code.isLineTerminator(t))}return i=[this.generateExpression(e.expression,r.Sequence,F|N)],a=H(i).toString(),a.charCodeAt(0)===123||o(a)||s(a)||l(a)||w&&n&oe&&e.expression.type===t.Literal&&typeof e.expression.value==`string`?i=[`(`,i,`)`+this.semicolon(n)]:i.push(this.semicolon(n)),i},ImportExportAttributes:function(e){if(!e||e.length===0)return[];for(var t=[b,`with`,b,`{`,b],n=0;n<e.length;n++){n>0&&t.push(`,`+b);var i=e[n];if(i.type!==`ImportAttribute`)throw Error(`attribute type must be ImportAttribute`);t.push(this.generateExpression(i.key,r.Sequence,F)),t.push(`:`+b),t.push(this.generateExpression(i.value,r.Sequence,F))}return t.push(b),t.push(`}`),t},ImportExportAssertions:function(e){if(!e||e.length===0)return[];for(var t=[b,`assert`,b,`{`,b],n=0;n<e.length;n++){n>0&&t.push(`,`+b);var i=e[n];if(i.type!==`ImportAttribute`)throw Error(`Assertion type must be ImportAttribute`);t.push(this.generateExpression(i.key,r.Sequence,F)),t.push(`:`+b),t.push(this.generateExpression(i.value,r.Sequence,F))}return t.push(b),t.push(`}`),t},ImportDeclaration:function(e,n){var i,a,o=this;return e.specifiers.length===0?[`import`,b,this.generateExpression(e.source,r.Sequence,F),...this.ImportExportAssertions(e.assertions),...this.ImportExportAttributes(e.attributes),this.semicolon(n)]:(i=[`import`],a=0,e.specifiers[a].type===t.ImportDefaultSpecifier&&(i=W(i,[this.generateExpression(e.specifiers[a],r.Sequence,F)]),++a),e.specifiers[a]&&(a!==0&&i.push(`,`),e.specifiers[a].type===t.ImportNamespaceSpecifier?i=W(i,[b,this.generateExpression(e.specifiers[a],r.Sequence,F)]):(i.push(b+`{`),e.specifiers.length-a===1?(i.push(b),i.push(this.generateExpression(e.specifiers[a],r.Sequence,F)),i.push(b+`}`+b)):(K(function(t){var n,s;for(i.push(y),n=a,s=e.specifiers.length;n<s;++n)i.push(t),i.push(o.generateExpression(e.specifiers[n],r.Sequence,F)),n+1<s&&i.push(`,`+y)}),B(H(i).toString())||i.push(y),i.push(u+`}`+b)))),i=W(i,[`from`+b,this.generateExpression(e.source,r.Sequence,F),...this.ImportExportAssertions(e.assertions),...this.ImportExportAttributes(e.attributes),this.semicolon(n)]),i)},VariableDeclarator:function(e,t){var n=t&k?F:ce;return e.init?[this.generateExpression(e.id,r.Assignment,n),b,`=`,b,this.generateExpression(e.init,r.Assignment,n)]:this.generatePattern(e.id,r.Assignment,n)},VariableDeclaration:function(e,t){var n,r,i,a,o,s=this;n=[e.kind],o=t&k?L:de;function c(){for(a=e.declarations[0],T.comment&&a.leadingComments?(n.push(`
16
+ `),n.push(G(s.generateStatement(a,o)))):(n.push(U()),n.push(s.generateStatement(a,o))),r=1,i=e.declarations.length;r<i;++r)a=e.declarations[r],T.comment&&a.leadingComments?(n.push(`,`+y),n.push(G(s.generateStatement(a,o)))):(n.push(`,`+b),n.push(s.generateStatement(a,o)))}return e.declarations.length>1?K(c):c(),n.push(this.semicolon(t)),n},ThrowStatement:function(e,t){return[W(`throw`,this.generateExpression(e.argument,r.Sequence,F)),this.semicolon(t)]},TryStatement:function(e,t){var n=[`try`,this.maybeBlock(e.block,L)],r,i,a;if(n=this.maybeBlockSuffix(e.block,n),e.handlers)for(r=0,i=e.handlers.length;r<i;++r)n=W(n,this.generateStatement(e.handlers[r],L)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(e.handlers[r].body,n));else{for(a=e.guardedHandlers||[],r=0,i=a.length;r<i;++r)n=W(n,this.generateStatement(a[r],L)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(a[r].body,n));if(e.handler)if(l(e.handler))for(r=0,i=e.handler.length;r<i;++r)n=W(n,this.generateStatement(e.handler[r],L)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(e.handler[r].body,n));else n=W(n,this.generateStatement(e.handler,L)),e.finalizer&&(n=this.maybeBlockSuffix(e.handler.body,n))}return e.finalizer&&(n=W(n,[`finally`,this.maybeBlock(e.finalizer,L)])),n},SwitchStatement:function(e,t){var n,i,a,o,s,c=this;if(K(function(){n=[`switch`+b+`(`,c.generateExpression(e.discriminant,r.Sequence,F),`)`+b+`{`+y]}),e.cases)for(s=L,a=0,o=e.cases.length;a<o;++a)a===o-1&&(s|=M),i=G(this.generateStatement(e.cases[a],s)),n.push(i),B(H(i).toString())||n.push(y);return n.push(G(`}`)),n},SwitchCase:function(e,n){var i,a,o,s,c,l=this;return K(function(){for(i=e.test?[W(`case`,l.generateExpression(e.test,r.Sequence,F)),`:`]:[`default:`],o=0,s=e.consequent.length,s&&e.consequent[0].type===t.BlockStatement&&(a=l.maybeBlock(e.consequent[0],L),i.push(a),o=1),o!==s&&!B(H(i).toString())&&i.push(y),c=L;o<s;++o)o===s-1&&n&M&&(c|=M),a=G(l.generateStatement(e.consequent[o],c)),i.push(a),o+1!==s&&!B(H(a).toString())&&i.push(y)}),i},IfStatement:function(e,n){var i,a,o,s=this;return K(function(){i=[`if`+b+`(`,s.generateExpression(e.test,r.Sequence,F),`)`]}),o=n&M,a=L,o&&(a|=M),e.alternate?(i.push(this.maybeBlock(e.consequent,L)),i=this.maybeBlockSuffix(e.consequent,i),i=e.alternate.type===t.IfStatement?W(i,[`else `,this.generateStatement(e.alternate,a)]):W(i,W(`else`,this.maybeBlock(e.alternate,a)))):i.push(this.maybeBlock(e.consequent,a)),i},ForStatement:function(e,n){var i,a=this;return K(function(){i=[`for`+b+`(`],e.init?e.init.type===t.VariableDeclaration?i.push(a.generateStatement(e.init,de)):(i.push(a.generateExpression(e.init,r.Sequence,ce)),i.push(`;`)):i.push(`;`),e.test?(i.push(b),i.push(a.generateExpression(e.test,r.Sequence,F)),i.push(`;`)):i.push(`;`),e.update?(i.push(b),i.push(a.generateExpression(e.update,r.Sequence,F)),i.push(`)`)):i.push(`)`)}),i.push(this.maybeBlock(e.body,n&M?R:L)),i},ForInStatement:function(e,t){return this.generateIterationForStatement(`in`,e,t&M?R:L)},ForOfStatement:function(e,t){return this.generateIterationForStatement(`of`,e,t&M?R:L)},LabeledStatement:function(e,t){return[e.label.name+`:`,this.maybeBlock(e.body,t&M?R:L)]},Program:function(e,t){var n,r,i,a=e.body.length,o;for(n=[C&&a>0?`
17
+ `:``],o=fe,i=0;i<a;++i)!C&&i===a-1&&(o|=M),O&&(i===0&&(e.body[0].leadingComments||J(e.range[0],e.body[i].range[0],n)),i>0&&!e.body[i-1].trailingComments&&!e.body[i].leadingComments&&J(e.body[i-1].range[1],e.body[i].range[0],n)),r=G(this.generateStatement(e.body[i],o)),n.push(r),i+1<a&&!B(H(r).toString())&&(O&&e.body[i+1].leadingComments||n.push(y)),O&&i===a-1&&(e.body[i].trailingComments||J(e.body[i].range[1],e.range[1],n));return n},FunctionDeclaration:function(e,t){return[Q(e,!0),`function`,$(e)||U(),e.id?Z(e.id):``,this.generateFunctionBody(e)]},ReturnStatement:function(e,t){return e.argument?[W(`return`,this.generateExpression(e.argument,r.Sequence,F)),this.semicolon(t)]:[`return`+this.semicolon(t)]},WhileStatement:function(e,t){var n,i=this;return K(function(){n=[`while`+b+`(`,i.generateExpression(e.test,r.Sequence,F),`)`]}),n.push(this.maybeBlock(e.body,t&M?R:L)),n},WithStatement:function(e,t){var n,i=this;return K(function(){n=[`with`+b+`(`,i.generateExpression(e.object,r.Sequence,F),`)`]}),n.push(this.maybeBlock(e.body,t&M?R:L)),n}},ge(X.prototype,X.Statement),X.Expression={PrivateName:function(e){return e.name},SequenceExpression:function(e,t,n){var i,a,o;for(r.Sequence<t&&(n|=k),i=[],a=0,o=e.expressions.length;a<o;++a)i.push(this.generateExpression(e.expressions[a],r.Assignment,n)),a+1<o&&i.push(`,`+b);return Y(i,r.Sequence,t)},AssignmentExpression:function(e,t,n){return this.generateAssignment(e.left,e.right,e.operator,t,n)},ArrowFunctionExpression:function(e,t,n){return Y(this.generateFunctionBody(e),r.ArrowFunction,t)},ConditionalExpression:function(e,t,n){return r.Conditional<t&&(n|=k),Y([this.generateExpression(e.test,r.LogicalOR,n),b+`?`+b,this.generateExpression(e.consequent,r.Assignment,n),b+`:`+b,this.generateExpression(e.alternate,r.Assignment,n)],r.Conditional,t)},LogicalExpression:function(e,t,n){return this.BinaryExpression(e,t,n)},BinaryExpression:function(e,t,n){var a,o,s,l=i[e.operator],u,d;switch(o=l,s=l+1,e.operator){case`**`:o=r.Postfix,s=l;break;case`??`:(e.left.operator===`||`||e.left.operator===`&&`)&&(o=i[e.left.operator]+1),(e.right.operator===`||`||e.right.operator===`&&`)&&(s=i[e.right.operator]+1);break;case`||`:e.left.operator===`??`&&(o=i[e.left.operator]+1);break}return l<t&&(n|=k),u=this.generateExpression(e.left,o,n),d=u.toString(),a=d.charCodeAt(d.length-1)===47&&c.code.isIdentifierPartES5(e.operator.charCodeAt(0))?[u,U(),e.operator]:W(u,e.operator),u=this.generateExpression(e.right,s,n),e.operator===`/`&&u.toString().charAt(0)===`/`||e.operator.slice(-1)===`<`&&u.toString().slice(0,3)===`!--`?(a.push(U()),a.push(u)):a=W(a,u),e.operator===`in`&&!(n&k)?[`(`,a,`)`]:Y(a,l,t)},CallExpression:function(e,n,i){var a=e.callee.type===t.FunctionExpression?[`(`,this.generateExpression(e.callee,r.Call,P),`)`]:[this.generateExpression(e.callee,r.Call,P)],o,s;for(e.optional&&a.push(`?.`),a.push(`(`),o=0,s=e.arguments.length;o<s;++o)a.push(this.generateExpression(e.arguments[o],r.Assignment,F|se)),o+1<s&&a.push(`,`+b);return a.push(`)`),i&A?Y(a,r.Call,n):[`(`,a,`)`]},ChainExpression:function(e,t,n){var r=e.expression;return this[r.type](r,t,n)},NewExpression:function(e,t,n){var i,a=e.arguments.length,o,s,c=n&j&&!x&&a===0?ue:I;if(i=W(`new`,this.generateExpression(e.callee,r.New,c)),!(n&j)||x||a>0){for(i.push(`(`),o=0,s=a;o<s;++o)i.push(this.generateExpression(e.arguments[o],r.Assignment,F)),o+1<s&&i.push(`,`+b);i.push(`)`)}return Y(i,r.New,t)},MemberExpression:function(e,n,i){var a=e.object.type===`ChainExpression`&&e.object.expression.optional?[this.generateExpression(e.object,r.Member,i&A?P:I)]:[this.generateExpression(e.object,r.Call,i&A?P:I)],o;return e.computed?(e.optional&&a.push(`?.`),a.push(`[`),a.push(this.generateExpression(e.property,r.Sequence,i&A?F:ue)),a.push(`]`)):(e.object.type===t.Literal&&typeof e.object.value==`number`&&(o=H(a).toString(),o.indexOf(`.`)<0&&!/[eExX]/.test(o)&&c.code.isDecimalDigit(o.charCodeAt(o.length-1))&&!(o.length>=2&&o.charCodeAt(0)===48)&&a.push(`.`)),a.push(e.optional?`?.`:`.`),a.push(Z(e.property))),n===r.Member?Y(a,r.OptionalMember,n):Y(a,r.Member,n)},MetaProperty:function(e,n,i){return Y([e.meta&&typeof e.meta.type==`string`&&e.meta.type===t.Identifier?e.meta.name:e.meta,`.`,e.property&&typeof e.property.type==`string`&&e.property.type===t.Identifier?e.property.name:e.property],r.Member,n)},UnaryExpression:function(e,t,n){var i,a=this.generateExpression(e.argument,r.Unary,F),o,s,l;return b===``?i=W(e.operator,a):(i=[e.operator],e.operator.length>2?i=W(i,a):(s=H(i).toString(),l=s.charCodeAt(s.length-1),o=a.toString().charCodeAt(0),((l===43||l===45)&&l===o||c.code.isIdentifierPartES5(l)&&c.code.isIdentifierPartES5(o))&&i.push(U()),i.push(a))),Y(i,r.Unary,t)},YieldExpression:function(e,t,n){var i=e.delegate?`yield*`:`yield`;return e.argument&&(i=W(i,this.generateExpression(e.argument,r.Yield,F))),Y(i,r.Yield,t)},AwaitExpression:function(e,t,n){return Y(W(e.all?`await*`:`await`,this.generateExpression(e.argument,r.Await,F)),r.Await,t)},UpdateExpression:function(e,t,n){return e.prefix?Y([e.operator,this.generateExpression(e.argument,r.Unary,F)],r.Unary,t):Y([this.generateExpression(e.argument,r.Postfix,F),e.operator],r.Postfix,t)},FunctionExpression:function(e,t,n){var r=[Q(e,!0),`function`];return e.id?(r.push($(e)||U()),r.push(Z(e.id))):r.push($(e)||b),r.push(this.generateFunctionBody(e)),r},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n,!0)},ArrayExpression:function(e,t,n,i){var a,o,s=this;return e.elements.length?(o=i?!1:e.elements.length>1,a=[`[`,o?y:``],K(function(t){var n,i;for(n=0,i=e.elements.length;n<i;++n)e.elements[n]?(a.push(o?t:``),a.push(s.generateExpression(e.elements[n],r.Assignment,F|N|se))):(o&&a.push(t),n+1===i&&a.push(`,`)),n+1<i&&a.push(`,`+(o?y:b))}),o&&!B(H(a).toString())&&a.push(y),a.push(o?u:``),a.push(`]`),a):`[]`},ClassExpression:function(e,t,n){var i=[`class`],a;return e.id&&(i=W(i,this.generateExpression(e.id,r.Sequence,F))),e.superClass&&(a=W(`extends`,[`(`,this.generateExpression(e.superClass,r.Assignment,F),`)`]),i=W(i,a)),i.push(b),i.push(this.generateStatement(e.body,R)),i},MethodDefinition:function(e,t,n){return W(e.static?[`static`+b]:[],e.kind===`get`||e.kind===`set`?[W(e.kind,this.generatePropertyKey(e.key,e.computed)),this.generateFunctionBody(e.value)]:[Ae(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)])},Property:function(e,t,n){return e.kind===`get`||e.kind===`set`?[e.kind,U(),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]:e.kind===`init`&&!e.method&&e.shorthand?this.generatePattern(e.value,r.Assignment,F):e.shorthand?this.generatePropertyKey(e.key,e.computed):e.method?[Ae(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]:[this.generatePropertyKey(e.key,e.computed),`:`+b,this.generateExpression(e.value,r.Assignment,F)]},ObjectExpression:function(e,t,n){var i,a,o,s=this;return e.properties.length?(i=e.properties.length>1,K(function(){o=s.generateExpression(e.properties[0],r.Sequence,F)}),!i&&!he(H(o).toString())?[`{`,b,o,b,`}`]:(K(function(t){var n,c;if(a=[`{`,y,t,o],i)for(a.push(`,`+y),n=1,c=e.properties.length;n<c;++n)a.push(t),a.push(s.generateExpression(e.properties[n],r.Sequence,F)),n+1<c&&a.push(`,`+y)}),B(H(a).toString())||a.push(y),a.push(u),a.push(`}`),a)):`{}`},AssignmentPattern:function(e,t,n){return this.generateAssignment(e.left,e.right,`=`,t,n)},ObjectPattern:function(e,n,i){var a,o,s,c,l,d=this;if(!e.properties.length)return`{}`;if(c=!1,e.properties.length===1)l=e.properties[0],l.value&&l.value.type!==t.Identifier&&(c=!0);else for(o=0,s=e.properties.length;o<s;++o)if(l=e.properties[o],!l.shorthand){c=!0;break}return a=[`{`,c?y:``],K(function(t){var n,i;for(n=0,i=e.properties.length;n<i;++n)a.push(c?t:``),a.push(d.generateExpression(e.properties[n],r.Sequence,F)),n+1<i&&a.push(`,`+(c?y:b))}),c&&!B(H(a).toString())&&a.push(y),a.push(c?u:``),a.push(`}`),a},ThisExpression:function(e,t,n){return`this`},Super:function(e,t,n){return`super`},Identifier:function(e,t,n){return Z(e)},Import:function(e,t,n){return`import`},ImportDefaultSpecifier:function(e,t,n){return Z(e.id||e.local)},ImportNamespaceSpecifier:function(e,t,n){var r=[`*`],i=e.id||e.local;return i&&r.push(b+`as`+U()+Z(i)),r},ImportSpecifier:function(e,t,n){var r=e.imported,i=[r.name],a=e.local;return a&&a.name!==r.name&&i.push(U()+`as`+U()+Z(a)),i},ExportSpecifier:function(e,t,n){var r=e.local,i=[r.name],a=e.exported;return a&&a.name!==r.name&&i.push(U()+`as`+U()+Z(a)),i},Literal:function(e,n,r){var i;if(e.hasOwnProperty(`raw`)&&ee&&T.raw)try{if(i=ee(e.raw).body[0].expression,i.type===t.Literal&&i.value===e.value)return e.raw}catch{}return e.value===null?`null`:typeof e.value==`string`?Ce(e.value):typeof e.value==`number`?_e(e.value):typeof e.value==`boolean`?e.value?`true`:`false`:typeof e.value==`bigint`?e.raw:ye(e.value)},GeneratorExpression:function(e,t,n){return this.ComprehensionExpression(e,t,n)},ComprehensionExpression:function(e,n,i){var a,o,s,c,l=this;return a=e.type===t.GeneratorExpression?[`(`]:[`[`],T.moz.comprehensionExpressionStartsWithAssignment&&(c=this.generateExpression(e.body,r.Assignment,F),a.push(c)),e.blocks&&K(function(){for(o=0,s=e.blocks.length;o<s;++o)c=l.generateExpression(e.blocks[o],r.Sequence,F),o>0||T.moz.comprehensionExpressionStartsWithAssignment?a=W(a,c):a.push(c)}),e.filter&&(a=W(a,`if`+b),c=this.generateExpression(e.filter,r.Sequence,F),a=W(a,[`(`,c,`)`])),T.moz.comprehensionExpressionStartsWithAssignment||(c=this.generateExpression(e.body,r.Assignment,F),a=W(a,c)),a.push(e.type===t.GeneratorExpression?`)`:`]`),a},ComprehensionBlock:function(e,n,i){var a=e.left.type===t.VariableDeclaration?[e.left.kind,U(),this.generateStatement(e.left.declarations[0],de)]:this.generateExpression(e.left,r.Call,F);return a=W(a,e.of?`of`:`in`),a=W(a,this.generateExpression(e.right,r.Sequence,F)),[`for`+b+`(`,a,`)`]},SpreadElement:function(e,t,n){return[`...`,this.generateExpression(e.argument,r.Assignment,F)]},RestElement:function(e,t,n){return[`...`,this.generatePattern(e.argument,r.Assignment,F)]},SpreadProperty:function(e,t,n){return[`...`,this.generateExpression(e.argument,r.Assignment,F)]},RestProperty:function(e,t,n){return[`...`,this.generatePattern(e.argument,r.Assignment,F)]},TaggedTemplateExpression:function(e,t,n){var i=P;return n&A||(i=I),Y([this.generateExpression(e.tag,r.Call,i),this.generateExpression(e.quasi,r.Primary,le)],r.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,n){var i=["`"],a,o;for(a=0,o=e.quasis.length;a<o;++a)i.push(this.generateExpression(e.quasis[a],r.Primary,F)),a+1<o&&(i.push("${"+b),i.push(this.generateExpression(e.expressions[a],r.Sequence,F)),i.push(b+`}`));return i.push("`"),i},ModuleSpecifier:function(e,t,n){return this.Literal(e,t,n)},JSXAttribute:function(e,n,i){var a=[],o=this.generateExpression(e.name,r.Sequence,{allowIn:!0,allowCall:!0});return a.push(o),e.value&&(a.push(`=`),o=e.value.type===t.Literal?Ne(e.value.value,e.value.raw):this.generateExpression(e.value,r.Sequence,{allowIn:!0,allowCall:!0}),a.push(o)),a},JSXClosingElement:function(e,t,n){return[`</`,e.name?this.generateExpression(e.name,r.Sequence,0):``,`>`]},JSXFragment:function(e,t,n){return this.JSXElement(e,t,n)},JSXOpeningFragment:function(e,t,n){return this.JSXOpeningElement(e,t,n)},JSXClosingFragment:function(e,t,n){return this.JSXClosingElement(e,t,n)},JSXElement:function(e,n,i){var a=[],o=this;i&N||(u+=p);var s=this.generateExpression(e.openingElement||e.openingFragment,r.JSXElement,{allowIn:!0,allowCall:!0});a.push(s);var c=[],l,d;return K(function(n){for(l=0,d=e.children.length;l<d;++l){if(e.children[l].type===t.Literal){s=e.children[l].raw,s&&c.push(s);continue}s=o.generateExpression(e.children[l],r.JSXElement,P|N),c.push(s)}for(l=0,d=c.length;l<d;++l)a.push(c[l])}),e.closingElement?(s=o.generateExpression(e.closingElement,r.JSXElement,0),a.push(s)):e.closingFragment&&(s=o.generateExpression(e.closingFragment,r.JSXElement,0),a.push(s)),i&N||(u=u.slice(0,u.length-p.length),he(H(a).toString())&&(a=i&se?[y+u+p,a]:[`(`+y+u+p,a,y+u+`)`])),a},JSXExpressionContainer:function(e,t,n){return[`{`,this.generateExpression(e.expression,r.Sequence,P),`}`]},JSXIdentifier:function(e,t,n){return e.name},JSXMemberExpression:function(e,t,n){return[this.generateExpression(e.object,r.Sequence,I),`.`,this.generateExpression(e.property,r.Sequence,0)]},JSXNamespacedName:function(e,t,n){return[this.generateExpression(e.namespace,r.Sequence,0),`:`,this.generateExpression(e.name,r.Sequence,0)]},JSXOpeningElement:function(e,n,i){var a=[`<`],o=this;if(e.name){var s=this.generateExpression(e.name,r.Sequence,0);a.push(s)}for(var c=[],l=0,u=e.attributes.length;l<u;++l)s=o.generateExpression(e.attributes[l],r.Sequence,P),c.push({expr:e.attributes[l],name:e.attributes[l].name&&e.attributes[l].name.name,fragment:s,multiline:he(H(s).toString())}),e.attributes.length>3&&e.attributes[l].value&&e.attributes[l].value.type!==t.Literal&&(c[c.length-1].multiline=!0);return K(function(e){for(var t=0,n=c.length;t<n;++t)t>0&&t%3==0||c[t].multiline?a.push(y+e):a.push(` `),a.push(o.generateExpression(c[t].expr,r.Sequence,P))}),a.push(e.selfClosing?`/>`:`>`),a},JSXSpreadAttribute:function(e,t,n){return[`{...`,this.generateExpression(e.argument,r.Sequence,{allowIn:!0,allowCall:!0}),`}`]},JSXText:function(e,t,n){return e.raw},JSXEmptyExpression:function(e,t,n){return[]},PropertyDefinition:function(e,t,n){var i=[];return e.static&&i.push(`static `),i.push(this.generatePropertyKey(e.key,e.computed)),e.value&&(i.push(` = `),i.push(this.generateExpression(e.value,r.Assignment))),i.push(`;`),i},PrivateIdentifier:function(e,t,n){return Z(e)},ImportExpression:function(e,t,n){var i=[`import(`,this.generateExpression(e.source,r.Assignment,F)];return e.arguments&&e.arguments.length&&(i.push(`, `),i.push(this.generateExpression(e.arguments[0],r.Assignment,F))),i.push(`)`),Y(i,r.Call,t)},OptionalMemberExpression:function(e,t,n){return this.MemberExpression(e,t,n)},OptionalCallExpression:function(e,t,n){return this.CallExpression(e,t,n)},ParenthesizedExpression:function(e,t,n){return[`(`,this.generateExpression(e.expression,t,n),`)`]}},ge(X.prototype,X.Expression),X.prototype.generateExpression=function(e,n,r){var i,a=e.type||t.Property;if(T.verbatim&&e.hasOwnProperty(T.verbatim))return ke(e,n);try{i=this[a](e,n,r)}catch(e){throw Error(`Can not generate expression `+a+`. `+e&&e.message)}return T.comment&&(i=De(e,i)),H(i,e)},X.prototype.generateStatement=function(e,n){var r=this[e.type](e,n),i;return T.comment&&(r=De(e,r)),i=H(r).toString(),e.type===t.Program&&!C&&y===``&&i.charAt(i.length-1)===`
18
+ `&&(r=E?H(r).replaceRight(/\s+$/,``):i.replace(/\s+$/,``)),H(r,e)};function je(e){var t=new X;if(ie(e))return t.generateStatement(e,L);if(re(e))return t.generateExpression(e,r.Sequence,F);throw Error(`Unknown node type: `+e.type)}function Me(t,n){var r=me(),i,o;return n==null?(n=r,p=n.format.indent.style,u=z(p,n.format.indent.base)):(typeof n.indent==`string`&&(r.format.indent.style=n.indent),typeof n.base==`number`&&(r.format.indent.base=n.base),n=V(r,n),p=n.format.indent.style,u=typeof n.base==`string`?n.base:z(p,n.format.indent.base)),m=n.format.json,h=n.format.renumber,g=m?!1:n.format.hexadecimal,_=m?`double`:n.format.quotes,v=n.format.escapeless,y=n.format.newline,b=n.format.space,n.format.compact&&(y=b=p=u=``),x=n.format.parentheses,S=n.format.semicolons,C=n.format.safeConcatenation,w=n.directive,ee=m?null:n.parse,E=n.sourceMap,D=n.sourceCode,O=n.format.preserveBlankLines&&D!==null,T=n,E&&(a=e.browser?global.sourceMap.SourceNode:d().SourceNode),i=je(t),E?(o=i.toStringWithSourceMap({file:n.file,sourceRoot:n.sourceMapRoot}),n.sourceContent&&o.map.setSourceContent(n.sourceMap,n.sourceContent),n.sourceMapWithCode?o:o.map.toString()):(o={code:i.toString(),map:null},n.sourceMapWithCode?o:o.code)}function Ne(e,t){return e.indexOf(`"`)>=0||e.indexOf(`'`)>=0?t:_===`double`?`"`+e+`"`:`'`+e+`'`}te={indent:{style:``,base:0},renumber:!0,hexadecimal:!0,quotes:`auto`,escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},ne=me().format,e.version=f().version,e.generate=Me,e.attachComments=s.attachComments,e.Precedence=V({},r),e.browser=!1,e.FORMAT_MINIFY=te,e.FORMAT_DEFAULTS=ne})()}));export default p();export{};
@@ -0,0 +1,6 @@
1
+ import { PluginOption } from "vite";
2
+
3
+ //#region src/index.d.ts
4
+ declare const nextFont: () => PluginOption[];
5
+ //#endregion
6
+ export { nextFont as default };