1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 01:00:13 +02:00
Files
php-web-maker/app/lib/prettier/standalone.js
Kushagra Gour 9b2fd7e000 build 3.5.1
2018-10-25 21:27:56 +05:30

1 line
303 KiB
JavaScript

(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.prettier=t()})(this,function(){'use strict';function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,'default')?e['default']:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return r='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},r(e)}function n(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function');e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function l(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(){return p=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=Function.bind.apply(e,r),o=new a;return n&&i(o,n.prototype),o},p.apply(null,arguments)}function c(e){var t='function'==typeof Map?new Map:void 0;return c=function(e){function n(){return p(e,arguments,s(this).constructor)}if(null===e)return null;if('function'!=typeof e)throw new TypeError('Super expression must either be null or a function');if('undefined'!=typeof t){if(t.has(e))return t.get(e);t.set(e,n)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)},c(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(e,t){return t&&('object'==typeof t||'function'==typeof t)?t:d(e)}function m(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function y(e,t){return g(e)||h(e,t)||f()}function g(e){if(Array.isArray(e))return e}function h(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var s=e[Symbol.iterator](),i;!(a=(i=s.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(e){r=!0,o=e}finally{try{a||null==s['return']||s['return']()}finally{if(r)throw o}}return n}function f(){throw new TypeError('Invalid attempt to destructure non-iterable instance')}function x(){throw new Error('setTimeout has not been defined')}function E(){throw new Error('clearTimeout has not been defined')}function b(e){if(bi===setTimeout)return setTimeout(e,0);if((bi===x||!bi)&&setTimeout)return bi=setTimeout,setTimeout(e,0);try{return bi(e,0)}catch(t){try{return bi.call(null,e,0)}catch(t){return bi.call(this,e,0)}}}function S(e){if(Si===clearTimeout)return clearTimeout(e);if((Si===E||!Si)&&clearTimeout)return Si=clearTimeout,clearTimeout(e);try{return Si(e)}catch(t){try{return Si.call(null,e)}catch(t){return Si.call(this,e)}}}function T(){vi&&Ci&&(vi=!1,Ci.length?Ti=Ci.concat(Ti):Ni=-1,Ti.length&&v())}function v(){if(!vi){var e=b(T);vi=!0;for(var t=Ti.length;t;){for(Ci=Ti,Ti=[];++Ni<t;)Ci&&Ci[Ni].run();Ni=-1,t=Ti.length}Ci=null,vi=!1,S(e)}}function N(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ti.push(new C(e,t)),1!==Ti.length||vi||b(v)}function C(e,t){this.fun=e,this.array=t}function A(){}function w(){throw new Error('process.binding is not supported')}function P(){return'/'}function k(){throw new Error('process.chdir is not supported')}function I(){return 0}function O(e){var t=1e-3*Ji.call(Wi),n=Rs(t),a=Rs(1e9*(t%1));return e&&(n-=e[0],a-=e[1],0>a&&(n--,a+=1e9)),[n,a]}function D(){var e=new Date;return(e-Ui)/1e3}function L(){var e=m(['\n Require either \'@prettier\' or \'@format\' to be present in the file\'s first docblock comment\n in order for it to be formatted.\n ']);return L=function(){return e},e}function j(){var e=m(['\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n ']);return j=function(){return e},e}function R(){var e=m(['\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n ']);return R=function(){return e},e}function M(){var e=m(['\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n ']);return M=function(){return e},e}function F(){var e=m(['\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n ']);return F=function(){return e},e}function _(e,t){function n(n){return t.showUnreleased||!('since'in n)||n.since&&Gi.gte(e,n.since)}function a(n){return t.showDeprecated||!('deprecated'in n)||n.deprecated&&Gi.lt(e,n.deprecated)}function r(e){if(!e.deprecated||t.showDeprecated)return e;var n=Object.assign({},e);return delete n.deprecated,delete n.redirect,n}t=Object.assign({plugins:[],showUnreleased:!1,showDeprecated:!1,showInternal:!1},t),e||(e=ol);var o=t.plugins,s=zi(Object.assign(o.reduce(function(e,t){return Object.assign(e,t.options)},{}),sl),'name').sort(function(e,t){return e.name===t.name?0:e.name<t.name?-1:1}).filter(n).filter(a).map(r).map(function(e){if(t.showInternal)return e;var n=Object.assign({},e);return delete n.cliName,delete n.cliCategory,delete n.cliDescription,n}).map(function(e){var t=Object.assign({},e);return Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(n).sort(function(e,t){return Gi.compare(t.since,e.since)})[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(n).filter(a).map(r)),t}).map(function(e){var t=o.filter(function(t){return t.defaultOptions&&t.defaultOptions[e.name]}),n=t.reduce(function(t,n){return t[n.name]=n.defaultOptions[e.name],t},{});return Object.assign(e,{pluginDefaults:n})}),i=Gi.lt(e,'1.7.1'),l=o.reduce(function(e,t){return e.concat(t.languages||[])},[]).filter(function(t){return t.since?Gi.gte(e,t.since):null!==t.since}).map(function(e){return'Markdown'===e.name?Object.assign({},e,{parsers:['markdown']}):'TypeScript'===e.name?Object.assign({},e,{parsers:['typescript']}):i&&'CSS'===e.group?Object.assign({},e,{parsers:['postcss']}):e});return{languages:l,options:s}}function V(e,t){return 1===arguments.length?JSON.stringify(e):'`{ '.concat(V(e),': ').concat(JSON.stringify(t),' }`')}function q(e,t){return!1===t?'`--no-'.concat(e,'`'):!0===t||1===arguments.length?'`--'.concat(e,'`'):''===t?'`--'.concat(e,'` without an argument'):'`--'.concat(e,'=').concat(t,'`')}function B(e,t,n){n=n||{};var a=n.descriptor||dl.apiDescriptor;if(!('function'==typeof t.exception&&t.exception(e)))try{W(e,t)}catch(n){throw new Error('Invalid `'.concat(a(t.name),'` value. ').concat(n.message,', but received `').concat(JSON.stringify(e),'`.'))}}function W(e,t){if(t.array){if(!Array.isArray(e))throw new Error('Expected an array');e.forEach(function(e){return W(e,Object.assign({},t,{array:!1}))})}else switch(t.type){case'int':U(e);break;case'boolean':J(e);break;case'choice':X(e,t.choices);}}function J(e){if('boolean'!=typeof e)throw new Error('Expected a boolean')}function U(e){if(!('number'==typeof e&&Rs(e)===e&&0<=e&&e!==Infinity))throw new Error('Expected an integer')}function X(e,t){if(!t.some(function(t){return t.value===e})){var n=t.filter(function(e){return!e.deprecated}).map(function(e){return JSON.stringify(e.value)}).sort(),a=n.slice(0,-2),r=n.slice(-2);throw new Error('Expected '.concat(a.concat(r.join(' or ')).join(', ')))}}function G(e,t,n){n=n||{};var r=!1===n.logger?{warn:function(){}}:n.logger===void 0?console:n.logger,o=n.descriptor||dl.apiDescriptor,s=n.passThrough||[],i=t.reduce(function(e,t){return Object.assign(e,a({},t.name,t))},{}),l=Object.keys(e).reduce(function(n,a){var l=i[a],p=a,c=e[a];if(!l)return!0===s||-1!==s.indexOf(p)?n[p]=c:r.warn(K(p,c,t,o)),n;if(l.deprecated?'string'==typeof l.redirect?(r.warn($(l,o)),p=l.redirect):c&&(r.warn($(l,o)),c=l.redirect.value,p=l.redirect.option):c=z(c,l),l.choices){var d=l.choices.find(function(e){return e.value===c});d&&d.deprecated&&(r.warn(H(l,d,o)),c=d.redirect)}return l.array&&!Array.isArray(c)&&(c=[c]),c!==l.default&&ul.validateOption(c,i[p],{descriptor:o}),n[p]=c,n},{});return l}function z(e,t){return'int'===t.type?+e:e}function K(e,t,n,a){var r=['Ignored unknown option '.concat(a(e,t),'.')],o=n.find(function(t){return 3>cl(t.name,e)});return o&&r.push('Did you mean '.concat(JSON.stringify(o.name),'?')),r.join(' ')}function $(e,t){return''.concat(t(e.name),' is deprecated. Prettier now treats it as ').concat('string'==typeof e.redirect?t(e.redirect):t(e.redirect.option,e.redirect.value),'.')}function H(e,t,n){return''.concat(n(e.name,t.value),' is deprecated. Prettier now treats it as ').concat(n(e.name,t.redirect),'.')}function Y(e,t,n){return G(e,t,Object.assign({descriptor:dl.apiDescriptor},n))}function Q(e,t,n){var r=e._||[],o=G(Object.keys(e).reduce(function(t,n){return Object.assign(t,1===n.length?null:a({},n,e[n]))},{}),t,Object.assign({descriptor:dl.cliDescriptor},n));return o._=r,o}function Z(e){return e.declaration&&e.declaration.decorators&&0<e.declaration.decorators.length?Z(e.declaration.decorators[0]):e.decorators&&0<e.decorators.length?Z(e.decorators[0]):e.__location?e.__location.startOffset:e.range?e.range[0]:'number'==typeof e.start?e.start:e.loc?e.loc.start:null}function ee(e){var t=e.nodes&&yl(e.nodes);if(t&&e.source&&!e.source.end&&(e=t),e.__location)return e.__location.endOffset;var n=e.range?e.range[1]:'number'==typeof e.end?e.end:null;return e.typeAnnotation?js(n,ee(e.typeAnnotation)):e.loc&&!n?e.loc.end:n}function te(){for(var e={},t=Cl.length,n=0;n<t;n++)e[Cl[n]]={distance:-1,parent:null};return e}function ne(e){var t=te(),n=[e];for(t[e].distance=0;n.length;)for(var a=n.pop(),r=Object.keys(Nl[a]),o=r.length,s=0;s<o;s++){var i=r[s],l=t[i];-1===l.distance&&(l.distance=t[a].distance+1,l.parent=a,n.unshift(i))}return t}function ae(e,t){return function(n){return t(e(n))}}function re(e,t){for(var n=[t[e].parent,e],a=Nl[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),a=ae(Nl[t[r].parent][r],a),r=t[r].parent;return a.conversion=n,a}function oe(e){var t=function(t){return void 0===t||null===t?t:(1<arguments.length&&(t=Array.prototype.slice.call(arguments)),e(t))};return'conversion'in e&&(t.conversion=e.conversion),t}function se(e){var t=function(t){if(void 0===t||null===t)return t;1<arguments.length&&(t=Array.prototype.slice.call(arguments));var n=e(t);if('object'===r(n))for(var a=n.length,o=0;o<a;o++)n[o]=Ds(n[o]);return n};return'conversion'in e&&(t.conversion=e.conversion),t}function ie(e){var t={},n=!0,a=!1,r=void 0;try{for(var o=e.plugins[Symbol.iterator](),s,i;!(n=(s=o.next()).done);n=!0)if(i=s.value,!!i.parsers){var l=!0,p=!1,c=void 0;try{for(var d=Gl(i.parsers)[Symbol.iterator](),u,m;!(l=(u=d.next()).done);l=!0)m=u.value,Object.defineProperty(t,m,zl(i.parsers,m))}catch(e){p=!0,c=e}finally{try{l||null==d.return||d.return()}finally{if(p)throw c}}}}catch(e){a=!0,r=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw r}}return t}function le(e,t){if(t=t||ie(e),'function'==typeof e.parser)return{parse:e.parser,astFormat:'estree',locStart:Ul,locEnd:Xl};if('string'==typeof e.parser){if(t.hasOwnProperty(e.parser))return t[e.parser];try{return{parse:eval('require')(Wl.resolve(Xi.cwd(),e.parser)),astFormat:'estree',locStart:Ul,locEnd:Xl}}catch(t){throw new Jl('Couldn\'t resolve parser "'.concat(e.parser,'"'))}}}function pe(e,t){var n=ie(t),a=Object.keys(n).reduce(function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t].parse}})},{}),r=le(t,n);try{return r.preprocess&&(e=r.preprocess(e,t)),{text:e,ast:r.parse(e,a,t)}}catch(t){var o=t.loc;if(o){throw t.codeFrame=Vl.codeFrameColumns(e,o,{highlightCode:!0}),t.message+='\n'+t.codeFrame,t}throw t.stack}}function ce(e,t){t=t||{};var n=Object.assign({},e),r=Zl(null,{plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=r.reduce(function(e,t){return Object.assign(e,a({},t.name,t.default))},Object.assign({},tp));if(!n.parser)if(!n.filepath){var s=t.logger||console;s.warn('No parser and no filepath given, using \'babylon\' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.'),n.parser='babylon'}else if(n.parser=ue(n.filepath,n.plugins),!n.parser)throw new Ql('No parser could be inferred for file: '.concat(n.filepath));var i=ep(ml.normalizeApiOptions(n,[r.find(function(e){return'parser'===e.name})],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;var l=de(n);n.printer=l.printers[n.astFormat];var p=r.filter(function(e){return e.pluginDefaults&&e.pluginDefaults[l.name]}).reduce(function(e,t){return Object.assign(e,a({},t.name,t.pluginDefaults[l.name]))},{}),c=Object.assign({},o,p);return Object.keys(c).forEach(function(e){null==n[e]&&(n[e]=c[e])}),'json'===n.parser&&(n.trailingComma='none'),ml.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(tp)},t))}function de(e){var t=e.astFormat;if(!t)throw new Error('getPlugin() requires astFormat to be set');var n=e.plugins.find(function(e){return e.printers&&e.printers[t]});if(!n)throw new Error('Couldn\'t find plugin for AST format "'.concat(t,'"'));return n}function ue(e,t){var n=Yl.extname(e),a=Yl.basename(e).toLowerCase(),r=Zl(null,{plugins:t}).languages.find(function(e){return null!==e.since&&(e.extensions&&-1<e.extensions.indexOf(n)||e.filenames&&e.filenames.find(function(e){return e.toLowerCase()===a}))});return r&&r.parsers[0]}function me(e,t,n){if(Array.isArray(e))return e.map(function(a){return me(a,t,n)}).filter(function(t){return t});if(!e||'object'!==r(e))return e;for(var a={},o=Object.keys(e),s=0,i;s<o.length;s++)i=o[s],'function'!=typeof e[i]&&(a[i]=me(e[i],t,e));if(t.printer.massageAstNode){var l=t.printer.massageAstNode(e,a,n);if(null===l)return;if(l)return l}return a}function ye(e){if('string'!=typeof e&&(null==e||'string'!=typeof e.type))throw new Error('Value '+JSON.stringify(e)+' is not a valid document')}function ge(e){return'production'!==Xi.env.NODE_ENV&&e.forEach(ye),{type:'concat',parts:e}}function he(e){return'production'!==Xi.env.NODE_ENV&&ye(e),{type:'indent',contents:e}}function fe(e,t){return'production'!==Xi.env.NODE_ENV&&ye(t),{type:'align',contents:t,n:e}}function xe(e,t){return t=t||{},'production'!==Xi.env.NODE_ENV&&ye(e),{type:'group',contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Ee(e){return fe(-Infinity,e)}function be(e){return fe({type:'root'},e)}function Se(e){return fe(-1,e)}function Te(e,t){return xe(e[0],Object.assign(t||{},{expandedStates:e}))}function ve(e){return'production'!==Xi.env.NODE_ENV&&e.forEach(ye),{type:'fill',parts:e}}function Ne(e,t){return'production'!==Xi.env.NODE_ENV&&(e&&ye(e),t&&ye(t)),{type:'if-break',breakContents:e,flatContents:t}}function Ce(e){return'production'!==Xi.env.NODE_ENV&&ye(e),{type:'line-suffix',contents:e}}function Ae(e,t){for(var n=[],a=0;a<t.length;a++)0!==a&&n.push(e),n.push(t[a]);return ge(n)}function we(e,t,n){var a=e;if(0<t){for(var r=0;r<Rs(t/n);++r)a=he(a);a=fe(t%n,a),a=fe(-Infinity,a)}return a}function Pe(){return ke(Ep.concat(xp))}function ke(e){return new RegExp('['+e.map(Ie).reduce(function(e,t){return e+t})+']','g')}function Ie(e){return Oe(e[0])+'-'+Oe(e[1])}function Oe(e){return'\\u'+e.toString(16)}function De(e){if(e)switch(e.type){case'ExportDefaultDeclaration':case'ExportDefaultSpecifier':case'DeclareExportDeclaration':case'ExportNamedDeclaration':case'ExportAllDeclaration':return!0;}return!1}function Le(e){var t=e.getParentNode();return'declaration'===e.getName()&&De(t)?t:null}function je(e){return 1<e.length?e[e.length-2]:null}function Re(e){return 0<e.length?e[e.length-1]:null}function Me(e){return function(t,n,a){var r=a&&a.backwards;if(!1===n)return!1;for(var o=t.length,s=n;0<=s&&s<o;){var i=t.charAt(s);if(e instanceof RegExp){if(!e.test(i))return s;}else if(-1===e.indexOf(i))return s;r?s--:s++}return(-1===s||s===o)&&s}}function Fe(e,t){if(!1===t)return!1;if('/'===e.charAt(t)&&'*'===e.charAt(t+1))for(var n=t+2;n<e.length;++n)if('*'===e.charAt(n)&&'/'===e.charAt(n+1))return n+2;return t}function _e(e,t){return!1!==t&&('/'===e.charAt(t)&&'/'===e.charAt(t+1)?Dp(e,t):t)}function Ve(e,t,n){var a=n&&n.backwards;if(!1===t)return!1;var r=e.charAt(t);if(a){if('\r'===e.charAt(t-1)&&'\n'===r)return t-2;if('\n'===r||'\r'===r||'\u2028'===r||'\u2029'===r)return t-1}else{if('\r'===r&&'\n'===e.charAt(t+1))return t+2;if('\n'===r||'\r'===r||'\u2028'===r||'\u2029'===r)return t+1}return t}function qe(e,t,n){n=n||{};var a=Ip(e,n.backwards?t-1:t,n),r=Ve(e,a,n);return a!==r}function Be(e,t,n){for(var a=t;a<n;++a)if('\n'===e.charAt(a))return!0;return!1}function We(e,t,n){var a=n(t)-1;a=Ip(e,a,{backwards:!0}),a=Ve(e,a,{backwards:!0}),a=Ip(e,a,{backwards:!0});var r=Ve(e,a,{backwards:!0});return a!==r}function Je(e,t){for(var n=null,a=t;a!==n;)n=a,a=Op(e,a),a=Fe(e,a),a=Ip(e,a);return a=_e(e,a),a=Ve(e,a),qe(e,a)}function Ue(e,t,n){return Je(e,n(t))}function Xe(e,t,n){for(var a=null,r=n(t);r!==a;)a=r,r=Ip(e,r),r=Fe(e,r),r=_e(e,r),r=Ve(e,r);return r}function Ge(e,t,n){return e.charAt(Xe(e,t,n))}function ze(e,t,n){n=n||{};var a=Ip(e,n.backwards?t-1:t,n);return a!==t}function Ke(e,t){e.range?e.range[0]=t:e.start=t}function $e(e,t){e.range?e.range[1]=t:e.end=t}function He(e){return Lp[e]}function Ye(e,t){return He(t)===He(e)?'**'!==e&&(jp[e]&&jp[t]?!1:'%'===t&&Mp[e]||'%'===e&&Mp[t]?!1:t!==e&&Mp[t]&&Mp[e]?!1:Fp[e]&&Fp[t]?!1:!0):'%'!==t||Rp[e]?!1:!0}function Qe(e){return!!Fp[e]||'|'===e||'^'===e||'&'===e}function Ze(e,t){switch(e=et(e),e.type){case'ObjectPattern':return!t;case'FunctionExpression':case'ClassExpression':case'DoExpression':return t;case'ObjectExpression':return!0;case'MemberExpression':return Ze(e.object,t);case'TaggedTemplateExpression':return'FunctionExpression'!==e.tag.type&&Ze(e.tag,t);case'CallExpression':return'FunctionExpression'!==e.callee.type&&Ze(e.callee,t);case'ConditionalExpression':return Ze(e.test,t);case'UpdateExpression':return!e.prefix&&Ze(e.argument,t);case'BindExpression':return e.object&&Ze(e.object,t);case'SequenceExpression':return Ze(e.expressions[0],t);case'TSAsExpression':return Ze(e.expression,t);default:return!1;}}function et(e){return e.left?et(e.left):e}function tt(e,t,n){n=n||0;for(var a=0,r=n;r<e.length;++r)'\t'===e[r]?a=a+t-a%t:a++;return a}function nt(e,t){var n=e.lastIndexOf('\n');return-1===n?0:tt(e.slice(n+1).match(/^[ \t]*/)[0],t)}function at(e,t,n){var a=e.slice(1,-1),r={quote:'"',regex:/"/g},o={quote:'\'',regex:/'/g},s=t.singleQuote?o:r,i=s===o?r:o,l=!1,p=!1;if(a.includes(s.quote)||a.includes(i.quote)){var c=(a.match(s.regex)||[]).length,d=(a.match(i.regex)||[]).length;l=c>d}else p=!0;var u='json'===t.parser?r.quote:l?i.quote:s.quote;return n?p?u+a+u:e:rt(a,u,'css'!==t.parser&&'less'!==t.parser&&'scss'!==t.parser)}function rt(e,t,n){var a='"'===t?'\'':'"',r=/\\([\s\S])|(['"])/g,o=e.replace(r,function(e,r,o){return r===a?r:o===t?'\\'+o:o?o:n&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(r)?r:'\\'+r});return t+o+t}function ot(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,'$1$2$3').replace(/^([+-]?[\d.]+)e[+-]?0+$/,'$1').replace(/^([+-])?\./,'$10.').replace(/(\.\d+?)0+(?=e|$)/,'$1').replace(/\.(?=e|$)/,'')}function st(e,t){var n=e.match(new RegExp('('.concat(Tl(t),')+'),'g'));return null===n?0:n.reduce(function(e,n){return js(e,n.length/t.length)},0)}function it(e,t){function n(e){var t=Re(s);t&&'word'===t.type&&((t.kind!==a||e.kind!==r||t.hasTrailingPunctuation)&&(t.kind!==r||e.kind!==a||e.hasLeadingPunctuation)?!function(n,a){return t.kind===n&&e.kind===a||t.kind===a&&e.kind===n}(a,o)&&![t.value,e.value].some(function(e){return /\u3000/.test(e)})&&s.push({type:'whitespace',value:''}):s.push({type:'whitespace',value:' '})),s.push(e)}var a='non-cjk',r='cjk-character',o='cjk-punctuation',s=[];return('preserve'===t.proseWrap?e:e.replace(new RegExp('('.concat(Cp,')\n(').concat(Cp,')'),'g'),'$1$2')).split(/([ \t\n]+)/).forEach(function(e,t,i){return 1==t%2?void s.push({type:'whitespace',value:/\n/.test(e)?'\n':' '}):void((0===t||t===i.length-1)&&''===e||e.split(new RegExp('('.concat(Cp,')'))).forEach(function(e,t,s){return(0===t||t===s.length-1)&&''===e?void 0:0==t%2?void(''!==e&&n({type:'word',value:e,kind:a,hasLeadingPunctuation:Pp.test(e[0]),hasTrailingPunctuation:Pp.test(Re(e))})):void n(Pp.test(e)?{type:'word',value:e,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:'word',value:e,kind:r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}))}),s}function lt(e){return e?hp(e.replace(Np,' ')):0}function pt(e){var t=e.getValue();return ct(t)}function ct(e){return e&&e.comments&&0<e.comments.length&&e.comments.some(function(e){return'prettier-ignore'===e.value.trim()})}function dt(e,t){var n=e.comments||(e.comments=[]);n.push(t),t.printed=!1,'JSXText'===e.type&&(t.printed=!0)}function ut(e,t){t.leading=!0,t.trailing=!1,dt(e,t)}function mt(e,t){t.leading=!1,t.trailing=!1,dt(e,t)}function yt(e,t){t.leading=!1,t.trailing=!0,dt(e,t)}function gt(){return{value:'',length:0,queue:[]}}function ht(e,t){return xt(e,{type:'indent'},t)}function ft(e,t,a){return t===-Infinity?e.root||gt():0>t?xt(e,{type:'dedent'},a):t?'root'===t.type?Object.assign({},e,{root:e}):'string'==typeof t?xt(e,{type:'stringAlign',n:t},a):xt(e,{type:'numberAlign',n:t},a):e}function xt(e,t,n){function a(e){c+='\t'.repeat(e),d+=n.tabWidth*e}function r(e){c+=' '.repeat(e),d+=e}function o(){n.useTabs?s():i()}function s(){0<u&&a(u),l()}function i(){0<m&&r(m),l()}function l(){u=0,m=0}var p='dedent'===t.type?e.queue.slice(0,-1):e.queue.concat(t),c='',d=0,u=0,m=0,y=!0,g=!1,h=void 0;try{for(var f=p[Symbol.iterator](),x,E;!(y=(x=f.next()).done);y=!0)switch(E=x.value,E.type){case'indent':o(),n.useTabs?a(1):r(n.tabWidth);break;case'stringAlign':o(),c+=E.n,d+=E.n.length;break;case'numberAlign':u+=1,m+=E.n;break;default:throw new Error('Unexpected type \''.concat(E.type,'\''));}}catch(e){g=!0,h=e}finally{try{y||null==f.return||f.return()}finally{if(g)throw h}}return i(),Object.assign({},e,{value:c,length:d,queue:p})}function Et(e,t,n,a,r){for(var o=t.length,s=[e];0<=n;){if(0===s.length){if(0===o)return!0;s.push(t[o-1]),o--;continue}var l=s.pop(),p=l[0],c=l[1],d=l[2];if('string'==typeof d)n-=_p.getStringWidth(d);else switch(d.type){case'concat':for(var u=d.parts.length-1;0<=u;u--)s.push([p,c,d.parts[u]]);break;case'indent':s.push([ht(p,a),c,d.contents]);break;case'align':s.push([ft(p,d.n,a),c,d.contents]);break;case'group':if(r&&d.break)return!1;s.push([p,d.break?Wp:c,d.contents]);break;case'fill':for(var i=d.parts.length-1;0<=i;i--)s.push([p,c,d.parts[i]]);break;case'if-break':c===Wp&&d.breakContents&&s.push([p,c,d.breakContents]),c===Jp&&d.flatContents&&s.push([p,c,d.flatContents]);break;case'line':switch(c){case Jp:if(!d.hard){d.soft||(n-=1);break}return!0;case Wp:return!0;}}}return!1}function bt(e,t){for(var n=t.printWidth,a=t.newLine||'\n',r=0,o=[[gt(),Wp,e]],s=[],l=!1,p=[];0!==o.length;){var c=o.pop(),d=c[0],u=c[1],m=c[2];if('string'==typeof m)s.push(m),r+=_p.getStringWidth(m);else switch(m.type){case'cursor':s.push(Bp.placeholder);break;case'concat':for(var y=m.parts.length-1;0<=y;y--)o.push([d,u,m.parts[y]]);break;case'indent':o.push([ht(d,t),u,m.contents]);break;case'align':o.push([ft(d,m.n,t),u,m.contents]);break;case'group':switch(u){case Jp:if(!l){o.push([d,m.break?Wp:Jp,m.contents]);break}case Wp:{l=!1;var i=[d,Jp,m.contents],g=n-r;if(!m.break&&Et(i,o,g,t))o.push(i);else if(m.expandedStates){var h=m.expandedStates[m.expandedStates.length-1];if(m.break){o.push([d,Wp,h]);break}else for(var f=1;f<m.expandedStates.length+1;f++)if(f>=m.expandedStates.length){o.push([d,Wp,h]);break}else{var x=m.expandedStates[f],E=[d,Jp,x];if(Et(E,o,g,t)){o.push(E);break}}}else o.push([d,Wp,m.contents]);break}}break;case'fill':{var b=n-r,S=m.parts;if(0===S.length)break;var T=S[0],v=[d,Jp,T],N=[d,Wp,T],C=Et(v,[],b,t,!0);if(1===S.length){C?o.push(v):o.push(N);break}var A=S[1],w=[d,Jp,A],P=[d,Wp,A];if(2===S.length){C?(o.push(w),o.push(v)):(o.push(P),o.push(N));break}S.splice(0,2);var k=[d,u,qp(S)],I=S[0],O=[d,Jp,Vp([T,A,I])],D=Et(O,[],b,t,!0);D?(o.push(k),o.push(w),o.push(v)):C?(o.push(k),o.push(P),o.push(v)):(o.push(k),o.push(P),o.push(N));break}case'if-break':u===Wp&&m.breakContents&&o.push([d,u,m.breakContents]),u===Jp&&m.flatContents&&o.push([d,u,m.flatContents]);break;case'line-suffix':p.push([d,u,m.contents]);break;case'line-suffix-boundary':0<p.length&&o.push([d,u,{type:'line',hard:!0}]);break;case'line':switch(u){case Jp:if(!m.hard){m.soft||(s.push(' '),r+=1);break}else l=!0;case Wp:if(p.length){o.push([d,u,m]),[].push.apply(o,p.reverse()),p=[];break}if(m.literal)d.root?(s.push(a,d.root.value),r=d.root.length):(s.push(a),r=0);else{if(0<s.length){for(;0<s.length&&'string'==typeof s[s.length-1]&&s[s.length-1].match(/^[^\S\n]*$/);)s.pop();s.length&&'string'==typeof s[s.length-1]&&(s[s.length-1]=s[s.length-1].replace(/[^\S\n]*$/,''))}s.push(a+d.value),r=d.length}}break;default:}}var L=s.indexOf(Bp.placeholder);if(-1!==L){var j=s.indexOf(Bp.placeholder,L+1),R=s.slice(0,L).join(''),M=s.slice(L+1,j).join(''),F=s.slice(j+1).join('');return{formatted:R+M+F,cursorNodeStart:R.length,cursorNodeText:M}}return{formatted:s.join('')}}function St(e,t,n,a){function r(e){var o=!0;if(t&&!1===t(e)&&(o=!1),o)if('concat'===e.type||'fill'===e.type)for(var s=0;s<e.parts.length;s++)r(e.parts[s]);else'if-break'===e.type?(e.breakContents&&r(e.breakContents),e.flatContents&&r(e.flatContents)):'group'===e.type&&e.expandedStates?a?e.expandedStates.forEach(r):r(e.contents):e.contents&&r(e.contents);n&&n(e)}r(e)}function Tt(e,t){if('concat'===e.type||'fill'===e.type){var n=e.parts.map(function(e){return Tt(e,t)});return t(Object.assign({},e,{parts:n}))}if('if-break'===e.type){var a=e.breakContents&&Tt(e.breakContents,t),r=e.flatContents&&Tt(e.flatContents,t);return t(Object.assign({},e,{breakContents:a,flatContents:r}))}if(e.contents){var o=Tt(e.contents,t);return t(Object.assign({},e,{contents:o}))}return t(e)}function vt(e,t,n){var a=n,r=!1;return St(e,function(e){var n=t(e);if(void 0!==n&&(r=!0,a=n),r)return!1}),a}function Nt(e){return'string'==typeof e&&0===e.length}function Ct(e){return vt(e,function(e){return'string'!=typeof e&&(!('line'!==e.type)||void 0)},!1)}function At(e){return vt(e,function(e){return'group'===e.type&&e.break||'line'===e.type&&e.hard||!('break-parent'!==e.type)||void 0},!1)}function wt(e){if(0<e.length){var t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function Pt(e){var t=new Map,n=[];St(e,function(e){if('break-parent'===e.type&&wt(n),'group'===e.type){if(n.push(e),t.has(e))return!1;t.set(e,!0)}},function(e){if('group'===e.type){var t=n.pop();t.break&&wt(n)}},!0)}function kt(e){return Tt(e,function(e){if('line'===e.type&&!e.hard)return e.soft?'':' ';return'if-break'===e.type?e.flatContents||'':e})}function It(e){return'concat'===e.type&&2===e.parts.length&&'concat'===e.parts[1].type&&2===e.parts[1].parts.length&&e.parts[1].parts[0].hard&&'break-parent'===e.parts[1].parts[1].type?e.parts[0]:e}function Ot(e){if('concat'===e.type){for(var t=[],n=0,a;n<e.parts.length;++n)if(a=e.parts[n],'string'!=typeof a&&'concat'===a.type)[].push.apply(t,Ot(a).parts);else{var r=Ot(a);''!==r&&t.push(r)}return Object.assign({},e,{parts:t})}return'if-break'===e.type?Object.assign({},e,{breakContents:null==e.breakContents?null:Ot(e.breakContents),flatContents:null==e.flatContents?null:Ot(e.flatContents)}):'group'===e.type?Object.assign({},e,{contents:Ot(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(Ot):e.expandedStates}):e.contents?Object.assign({},e,{contents:Ot(e.contents)}):e}function Dt(e){if('string'==typeof e)return JSON.stringify(e);if('line'===e.type)return e.literalline?'literalline':e.hard?'hardline':e.soft?'softline':'line';if('break-parent'===e.type)return'breakParent';if('concat'===e.type)return'['+e.parts.map(Dt).join(', ')+']';if('indent'===e.type)return'indent('+Dt(e.contents)+')';if('align'===e.type)return e.n===-Infinity?'dedentToRoot('+Dt(e.contents)+')':0>e.n?'dedent('+Dt(e.contents)+')':'root'===e.n.type?'markAsRoot('+Dt(e.contents)+')':'align('+JSON.stringify(e.n)+', '+Dt(e.contents)+')';if('if-break'===e.type)return'ifBreak('+Dt(e.breakContents)+(e.flatContents?', '+Dt(e.flatContents):'')+')';if('group'===e.type)return e.expandedStates?'conditionalGroup(['+e.expandedStates.map(Dt).join(',')+'])':(e.break?'wrappedGroup':'group')+'('+Dt(e.contents)+')';if('fill'===e.type)return'fill('+e.parts.map(Dt).join(', ')+')';if('line-suffix'===e.type)return'lineSuffix('+Dt(e.contents)+')';if('line-suffix-boundary'===e.type)return'lineSuffixBoundary';throw new Error('Unknown doc type '+e.type)}function Lt(e,t,n){return _p.isNextLineEmpty(e,t,n.locEnd)}function jt(e,t,n){return _p.getNextNonSpaceNonCommentCharacterIndex(e,t,n.locEnd)}function Rt(e,t,n){if(e){var a=t.printer,o=t.locStart,s=t.locEnd;if(n){if(e&&a.canAttachComment&&a.canAttachComment(e)){var l;for(l=n.length-1;0<=l&&!(o(n[l])<=o(e)&&s(n[l])<=s(e));--l);return void n.splice(l+1,0,e)}}else if(e[cc])return e[cc];var i;if(a.getCommentChildNodes?i=a.getCommentChildNodes(e):e&&'object'===r(e)&&(i=Object.keys(e).filter(function(e){return'enclosingNode'!==e&&'precedingNode'!==e&&'followingNode'!==e}).map(function(t){return e[t]})),!!i)return n||Object.defineProperty(e,cc,{value:n=[],enumerable:!1}),i.forEach(function(e){Rt(e,t,n)}),n}}function Mt(e,t,n){for(var a=n.locStart,r=n.locEnd,o=Rt(e,n),s=0,i=o.length,l,p;s<i;){var c=s+i>>1,d=o[c];if(0>=a(d)-a(t)&&0>=r(t)-r(d))return t.enclosingNode=d,void Mt(d,t,n);if(0>=r(d)-a(t)){l=d,s=c+1;continue}if(0>=r(t)-a(d)){p=d,i=c;continue}throw new Error('Comment location overlaps with node location')}if(t.enclosingNode&&'TemplateLiteral'===t.enclosingNode.type){var u=t.enclosingNode.quasis,m=qt(u,t,n);l&&qt(u,l,n)!==m&&(l=null),p&&qt(u,p,n)!==m&&(p=null)}l&&(t.precedingNode=l),p&&(t.followingNode=p)}function Ft(e,t,n,a){if(Array.isArray(e)){var r=[],o=a.locStart,s=a.locEnd;e.forEach(function(l,p){if(('json'===a.parser||'json5'===a.parser)&&0>=o(l)-o(t))return void ic(t,l);Mt(t,l,a);var i=l.precedingNode,c=l.enclosingNode,d=l.followingNode,u=a.printer.handleComments&&a.printer.handleComments.ownLine?a.printer.handleComments.ownLine:function(){return!1},m=a.printer.handleComments&&a.printer.handleComments.endOfLine?a.printer.handleComments.endOfLine:function(){return!1},y=a.printer.handleComments&&a.printer.handleComments.remaining?a.printer.handleComments.remaining:function(){return!1},g=e.length-1===p;if(rc(n,o(l),{backwards:!0}))u(l,n,a,t,g)||(d?ic(d,l):i?pc(i,l):c?lc(c,l):lc(t,l));else if(rc(n,s(l)))m(l,n,a,t,g)||(i?pc(i,l):d?ic(d,l):c?lc(c,l):lc(t,l));else if(y(l,n,a,t,g));else if(i&&d){var h=r.length;if(0<h){var f=r[h-1];f.followingNode!==l.followingNode&&_t(r,n,a)}r.push(l)}else i?pc(i,l):d?ic(d,l):c?lc(c,l):lc(t,l)}),_t(r,n,a),e.forEach(function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})}}function _t(e,t,n){var a=e.length;if(0!==a){var r=e[0].precedingNode,o=e[0].followingNode,s=n.locStart(o),l;for(l=a;0<l;--l){var i=e[l-1];rp.strictEqual(i.precedingNode,r),rp.strictEqual(i.followingNode,o);var p=t.slice(n.locEnd(i),s).trim();if(''===p||/^\(+$/.test(p))s=n.locStart(i);else break}e.forEach(function(e,t){t<l?pc(r,e):ic(o,e)}),e.length=0}}function Vt(e,t){var n=e.getValue();return n.printed=!0,t.printer.printComment(e,t)}function qt(e,t,n){for(var a=n.locStart(t)-1,r=1;r<e.length;++r)if(a<Bt(e[r]).start)return r-1;return 0}function Bt(e){return void 0===e.start?{start:e.range[0],end:e.range[1]}:{start:e.start,end:e.end}}function Wt(e,t,n){var a=e.getValue(),r=Vt(e,n);if(!r)return'';var o=n.printer.isBlockComment&&n.printer.isBlockComment(a);return o?Yp([r,rc(n.originalText,n.locEnd(a))?Qp:' ']):Yp([r,Qp])}function Jt(e,t,n){var a=e.getValue(),r=Vt(e,n);if(!r)return'';var o=n.printer.isBlockComment&&n.printer.isBlockComment(a),s=e.getNode(1),i=e.getNode(2),l=i&&('ClassDeclaration'===i.type||'ClassExpression'===i.type)&&i.superClass===s;if(rc(n.originalText,n.locStart(a),{backwards:!0})){var p=sc(n.originalText,a,n.locStart);return tc(Yp([Qp,p?Qp:'',r]))}return o||l?Yp([' ',r]):Yp([tc(' '+r),o?'':Zp])}function Ut(e,t,n,a){var r=[],o=e.getValue();return o&&o.comments?(e.each(function(e){var n=e.getValue();!n||n.leading||n.trailing||a&&!a(n)||r.push(Vt(e,t))},'comments'),0===r.length?'':n?nc(Qp,r):ec(Yp([Qp,nc(Qp,r)]))):''}function Xt(e,t,n){return e.getNode()===t.cursorNode&&e.getValue()?Yp([ac,n,ac]):n}function Gt(e,t,n,a){var r=e.getValue(),o=t(e),s=r&&r.comments;if(!s||0===s.length)return Xt(e,n,o);var i=[],l=[a?';':'',o];return e.each(function(e){var a=e.getValue(),r=a.leading,o=a.trailing;if(r){var s=Wt(e,t,n);if(!s)return;i.push(s);var p=n.originalText;rc(p,oc(p,n.locEnd(a)))&&i.push(Qp)}else o&&l.push(Jt(e,t,n))},'comments'),Xt(e,n,Yp(i.concat(l)))}function zt(e){rp.ok(this instanceof zt),this.stack=[e]}function Kt(e,t){for(var n=e.stack,a=n.length-1,r;0<=a;a-=2)if(r=n[a],r&&!Array.isArray(r)&&0>--t)return r;return null}function $t(e,t,n,a){if(n.printer.embed)return n.printer.embed(e,t,function(e,t){return Ht(e,t,n,a)},n)}function Ht(e,t,n,a){var r=mc(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),o=Kl.parse(e,r),s=o.ast;e=o.text;var i=s.comments;return delete s.comments,dc.attach(i,s,e,r),a(s,r)}function Yt(e,t,n){function a(e,n){var i=e.getValue(),l=i&&'object'===r(i)&&void 0===n;if(l&&s.has(i))return s.get(i);var p;return p=o.willPrintOwnComments&&o.willPrintOwnComments(e)?Qt(e,t,a,n):dc.printComments(e,function(e){return Qt(e,t,a,n)},t,n&&n.needsSemi),l&&s.set(i,p),p}n=n||0;var o=t.printer,s=new Map,i=a(new uc(e));return 0<n&&(i=Ec(bc.removeLines(fc([xc,i])),n,t.tabWidth)),bc.propagateBreaks(i),('json'===t.parser||'json5'===t.parser||'json-stringify'===t.parser)&&(i=fc([i,xc])),i}function Qt(e,t,n,a){rp.ok(e instanceof uc);var r=e.getValue(),o=t.printer;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return t.originalText.slice(t.locStart(r),t.locEnd(r));if(r)try{var s=yc.printSubtree(e,n,t,Yt);if(s)return s}catch(e){if(Qs.PRETTIER_DEBUG)throw e}return o.print(e,t,n,a)}function Zt(e,t,n){var a=e.node,r=t.node;if(a===r)return{startNode:a,endNode:r};var o=!0,s=!1,i=void 0;try{for(var l=t.parentNodes[Symbol.iterator](),p,c;!(o=(p=l.next()).done)&&(c=p.value,'Program'!==c.type&&'File'!==c.type&&n.locStart(c)>=n.locStart(e.node));o=!0)r=c}catch(e){s=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(s)throw i}}var d=!0,u=!1,m=void 0;try{for(var y=e.parentNodes[Symbol.iterator](),g,h;!(d=(g=y.next()).done)&&(h=g.value,'Program'!==h.type&&'File'!==h.type&&n.locEnd(h)<=n.locEnd(t.node));d=!0)a=h}catch(e){u=!0,m=e}finally{try{d||null==y.return||y.return()}finally{if(u)throw m}}return{startNode:a,endNode:r}}function en(e,t,n,a,r){a=a||function(){return!0},r=r||[];var o=n.locStart(e,n.locStart),s=n.locEnd(e,n.locEnd);if(o<=t&&t<=s){var i=!0,l=!1,p=void 0;try{for(var c=dc.getSortedChildNodes(e,n)[Symbol.iterator](),d;!(i=(d=c.next()).done);i=!0){var u=d.value,m=en(u,t,n,a,[e].concat(r));if(m)return m}}catch(e){l=!0,p=e}finally{try{i||null==c.return||c.return()}finally{if(l)throw p}}if(a(e))return{node:e,parentNodes:r}}}function tn(e,t){if(null==t)return!1;switch(e.parser){case'flow':case'babylon':case'typescript':return-1<['FunctionDeclaration','BlockStatement','BreakStatement','ContinueStatement','DebuggerStatement','DoWhileStatement','EmptyStatement','ExpressionStatement','ForInStatement','ForStatement','IfStatement','LabeledStatement','ReturnStatement','SwitchStatement','ThrowStatement','TryStatement','VariableDeclaration','WhileStatement','WithStatement','ClassDeclaration','ImportDeclaration','ExportDefaultDeclaration','ExportNamedDeclaration','ExportAllDeclaration','TypeAlias','InterfaceDeclaration','TypeAliasDeclaration','ExportAssignment','ExportDeclaration'].indexOf(t.type);case'json':return-1<['ObjectExpression','ArrayExpression','StringLiteral','NumericLiteral','BooleanLiteral','NullLiteral'].indexOf(t.type);case'graphql':return-1<['OperationDefinition','FragmentDefinition','VariableDefinition','TypeExtensionDefinition','ObjectTypeDefinition','FieldDefinition','DirectiveDefinition','EnumTypeDefinition','EnumValueDefinition','InputValueDefinition','InputObjectTypeDefinition','SchemaDefinition','OperationTypeDefinition','InterfaceTypeDefinition','UnionTypeDefinition','ScalarTypeDefinition'].indexOf(t.kind);}return!1}function nn(e,t,n){var a=e.slice(t.rangeStart,t.rangeEnd),r=js(t.rangeStart+a.search(/\S/),t.rangeStart),o;for(o=t.rangeEnd;o>t.rangeStart&&!e[o-1].match(/\S/);--o);var s=en(n,r,t,function(e){return tn(t,e)}),i=en(n,o,t,function(e){return tn(t,e)});if(!s||!i)return{rangeStart:0,rangeEnd:0};var l=Zt(s,i,t),p=l.startNode,c=l.endNode,d=Ms(t.locStart(p,t.locStart),t.locStart(c,t.locStart)),u=js(t.locEnd(p,t.locEnd),t.locEnd(c,t.locEnd));return{rangeStart:d,rangeEnd:u}}function an(e){var t=e.indexOf('\n');return 0<=t&&'\r'===e.charAt(t-1)?'\r\n':'\n'}function rn(e){if(e){for(var t=0;t<e.length;++t)if('prettier-ignore'===e[t].value.trim())return;e.forEach(function(e){if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}}function sn(e,t,n){var a=t.comments;return a&&(delete t.comments,dc.attach(a,t,e,n)),t.tokens=[],n.originalText=e.trimRight(),a}function ln(e,t,n){if(!e||!e.trim().length)return{formatted:'',cursorOffset:0};n=n||0;var a=Kl.parse(e,t),r=a.ast;if(e=a.text,0<=t.cursorOffset){var o=Tc.findNodeAtOffset(r,t.cursorOffset,t);o&&o.node&&(t.cursorNode=o.node)}var s=sn(e,r,t),i=Sc(r,t,n);t.newLine=an(e);var l=Nc(i,t);if(rn(s),0<n){var p=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(p)),l.formatted=p+t.newLine}if(0<=t.cursorOffset){var c,d,u,m,y;if(t.cursorNode&&l.cursorNodeText?(c=t.locStart(t.cursorNode),d=e.slice(c,t.locEnd(t.cursorNode)),u=t.cursorOffset-c,m=l.cursorNodeStart,y=l.cursorNodeText):(c=0,d=e,u=t.cursorOffset,m=0,y=l.formatted),d===y)return{formatted:l.formatted,cursorOffset:m+u};var g=d.split('');g.splice(u,0,wc);var h=y.split(''),f=yi.diffArrays(g,h),x=m,E=!0,b=!1,S=void 0;try{for(var T=f[Symbol.iterator](),v,N;!(E=(v=T.next()).done);E=!0)if(N=v.value,!N.removed)x+=N.count;else if(-1<N.value.indexOf(wc))break}catch(e){b=!0,S=e}finally{try{E||null==T.return||T.return()}finally{if(b)throw S}}return{formatted:l.formatted,cursorOffset:x}}return{formatted:l.formatted}}function pn(e,t){var n=Kl.parse(e,t),a=n.ast;e=n.text;var r=Tc.calculateRange(e,t,a),o=r.rangeStart,s=r.rangeEnd,i=e.slice(o,s),l=Ms(o,e.lastIndexOf('\n',o)+1),p=e.slice(l,o),c=_p.getAlignmentSize(p,t.tabWidth),d=ln(i,Object.assign({},t,{rangeStart:0,rangeEnd:Infinity,printWidth:t.printWidth-c,cursorOffset:t.cursorOffset>=o&&t.cursorOffset<s?t.cursorOffset-o:-1}),c),u=d.formatted.trimRight(),m=e.slice(0,o)+u+e.slice(s),y=t.cursorOffset;return t.cursorOffset>=s?y=t.cursorOffset-s+(o+u.length):void 0!==d.cursorOffset&&(y=d.cursorOffset+o),{formatted:m,cursorOffset:y}}function cn(e,t){var n=Kl.resolveParser(t),a=!n.hasPragma||n.hasPragma(e);if(t.requirePragma&&!a)return{formatted:e};if(0<t.rangeStart||t.rangeEnd<e.length)return pn(e,t);var r=e.charCodeAt(0)===Ac;r&&(e=e.substring(1)),t.insertPragma&&t.printer.insertPragma&&!a&&(e=t.printer.insertPragma(e));var o=ln(e,t);return r&&(o.formatted='\uFEFF'+o.formatted),o}function dn(e,t,n){function a(e){var t=n(e,{parser:'markdown',__inJsTemplate:!0});return Vc(yn(t))}var r=e.getValue(),o=e.getParentNode(),s=e.getParentNode(1);switch(r.type){case'TemplateLiteral':{var l=[xn,bn,Sn,En].some(function(t){return t(e)});if(l){var p=r.quasis.map(function(e){return e.value.raw}),c=0,d=p.reduce(function(e,t,n){return 0==n?t:e+'@prettier-placeholder-'+c++ +'-id'+t},''),u=n(d,{parser:'css'});return gn(u,e,t)}if(Nn(e)){var m=r.expressions?e.map(t,'expressions'):[],y=r.quasis.length;if(1===y&&''===r.quasis[0].value.raw.trim())return'``';for(var g=[],h=0;h<y;h++){var i=r.quasis[h],f=0===h,x=h===y-1,E=i.value.cooked;if('string'!=typeof E)return null;var b=E.split('\n'),S=b.length,T=m[h],v=2<S&&''===b[0].trim()&&''===b[1].trim(),N=2<S&&''===b[S-1].trim()&&''===b[S-2].trim(),C=b.every(function(e){return /^\s*(?:#[^\r\n]*)?$/.test(e)});if(!x&&/#[^\r\n]*$/.test(b[S-1]))return null;var A=null;A=C?fn(b):Vc(n(E,{parser:'graphql'})),A?(A=yn(A),!f&&v&&g.push(''),g.push(A),!x&&N&&g.push('')):!f&&!x&&v&&g.push(''),T&&g.push(Rc(['${',T,'}']))}return Rc(['`',Ic(Rc([Dc,Oc(Dc,g)])),Dc,'`'])}break}case'TemplateElement':{if(s&&'TaggedTemplateExpression'===s.type&&1===o.quasis.length&&'Identifier'===s.tag.type&&('md'===s.tag.name||'markdown'===s.tag.name)){var w=o.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,function(e,t){return'\\'.repeat(t.length/2)+'`'}),P=mn(w);return Rc([''!==P?Ic(Rc([Lc,a(w.replace(new RegExp('^'.concat(P),'gm'),''))])):Rc([jc,Mc(a(w))]),Lc])}break}}}function un(e,t){var n=e.getParentNode(t);return!!(n&&'Decorator'===n.type&&n.expression&&'CallExpression'===n.expression.type&&n.expression.callee&&'Component'===n.expression.callee.name)}function mn(e){var t=e.match(/^([^\S\n]*)\S/m);return null===t?'':t[1]}function yn(e){return _c(e,function(e){if(!e.parts)return e;var t=[];return e.parts.forEach(function(e){'string'==typeof e?t.push(e.replace(/(\\*)`/g,'$1$1\\`')):t.push(e)}),Object.assign({},e,{parts:t})})}function gn(e,t,n){var a=t.getValue(),r=1===a.quasis.length&&!a.quasis[0].value.raw.trim();if(r)return'``';var o=a.expressions?t.map(n,'expressions'):[],s=hn(e,o);if(!s)throw new Error('Couldn\'t insert all the expressions');return Rc(['`',Ic(Rc([Dc,Vc(s)])),Lc,'`'])}function hn(e,t){if(!t||!t.length)return e;var n=t.slice(),a=0,r=_c(e,function(e){if(!e||!e.parts||!e.parts.length)return e;var t=e.parts,r=t.indexOf('@'),o=r+1;if(-1<r&&'string'==typeof t[o]&&t[o].startsWith('prettier-placeholder')){var s=t[r],i=t[o],l=t.slice(o+1);t=t.slice(0,r).concat([s+i]).concat(l)}var p=t.findIndex(function(e){return'string'==typeof e&&e.startsWith('@prettier-placeholder')});if(-1<p){var c=t[p],d=t.slice(p+1),u=c.match(/@prettier-placeholder-(.+)-id([\s\S]*)/),m=u[1],y=u[2],g=n[m];a++,t=t.slice(0,p).concat(['${',g,'}'+y]).concat(d)}return Object.assign({},e,{parts:t})});return n.length===a?r:null}function fn(e){var t=[],n=!1;return e.map(function(e){return e.trim()}).forEach(function(e,a,r){''===e||(''===r[a-1]&&n?t.push(Rc([Dc,e])):t.push(e),n=!0)}),0===t.length?null:Oc(Dc,t)}function xn(e){var t=e.getValue(),n=e.getParentNode(),a=e.getParentNode(1);return a&&t.quasis&&'JSXExpressionContainer'===n.type&&'JSXElement'===a.type&&'style'===a.openingElement.name.name&&a.openingElement.attributes.some(function(e){return'jsx'===e.name.name})}function En(e){var t=e.getParentNode(),n=e.getParentNode(1),a=!!(t&&'ArrayExpression'===t.type&&'Property'===n.type);return a&&un(e,4)&&n.key&&'styles'===n.key.name}function bn(e){var t=e.getParentNode();if(!t||'TaggedTemplateExpression'!==t.type)return!1;var n=t.tag;switch(n.type){case'MemberExpression':return Tn(n.object)||vn(n);case'CallExpression':return Tn(n.callee)||'MemberExpression'===n.callee.type&&('MemberExpression'===n.callee.object.type&&(Tn(n.callee.object.object)||vn(n.callee.object))||'CallExpression'===n.callee.object.type&&Tn(n.callee.object.callee));case'Identifier':return'css'===n.name;default:return!1;}}function Sn(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&'JSXExpressionContainer'===t.type&&'JSXAttribute'===n.type&&'JSXIdentifier'===n.name.type&&'css'===n.name.name}function Tn(e){return'Identifier'===e.type&&'styled'===e.name}function vn(e){return /^[A-Z]/.test(e.object.name)&&'extend'===e.property.name}function Nn(e){var t=e.getValue(),n=e.getParentNode(),a=t.leadingComments&&t.leadingComments.some(function(e){return'CommentBlock'===e.type&&' GraphQL '===e.value});return a||n&&('TaggedTemplateExpression'===n.type&&('MemberExpression'===n.tag.type&&'graphql'===n.tag.object.name&&'experimental'===n.tag.property.name||'Identifier'===n.tag.type&&('gql'===n.tag.name||'graphql'===n.tag.name))||'CallExpression'===n.type&&'Identifier'===n.callee.type&&'graphql'===n.callee.name)}function Cn(e,t,n){if(['range','raw','comments','leadingComments','trailingComments','extra','start','end','flags'].forEach(function(e){delete t[e]}),'EmptyStatement'===e.type)return null;if('JSXText'===e.type)return null;if('JSXExpressionContainer'===e.type&&'Literal'===e.expression.type&&' '===e.expression.value)return null;if('TSParameterProperty'===e.type&&null===e.accessibility&&!e.readonly)return{type:'Identifier',name:e.parameter.name,typeAnnotation:t.parameter.typeAnnotation,decorators:t.decorators};if('TSNamespaceExportDeclaration'===e.type&&e.specifiers&&0===e.specifiers.length&&delete t.specifiers,'TSParenthesizedType'===e.type&&'TSTypeAnnotation'===e.typeAnnotation.type)return t.typeAnnotation.typeAnnotation;if('JSXOpeningElement'===e.type&&delete t.selfClosing,'JSXElement'===e.type&&delete t.closingElement,('Property'===e.type||'ObjectProperty'===e.type||'MethodDefinition'===e.type||'ClassProperty'===e.type||'TSPropertySignature'===e.type||'ObjectTypeProperty'===e.type)&&'object'===r(e.key)&&e.key&&('Literal'===e.key.type||'StringLiteral'===e.key.type||'Identifier'===e.key.type)&&delete t.key,'OptionalMemberExpression'===e.type&&!1===e.optional&&(t.type='MemberExpression',delete t.optional),'JSXElement'===e.type&&'style'===e.openingElement.name.name&&e.openingElement.attributes.some(function(e){return'jsx'===e.name.name})){var a=t.children.filter(function(e){return'JSXExpressionContainer'===e.type&&'TemplateLiteral'===e.expression.type}).map(function(e){return e.expression}),o=a.reduce(function(e,t){return e.concat(t.quasis)},[]);o.forEach(function(e){return delete e.value})}'JSXAttribute'===e.type&&'css'===e.name.name&&'JSXExpressionContainer'===e.value.type&&'TemplateLiteral'===e.value.expression.type&&t.value.expression.quasis.forEach(function(e){return delete e.value});var s=e.expression||e.callee;if('Decorator'===e.type&&'CallExpression'===s.type&&'Component'===s.callee.name&&1===s.arguments.length&&s.arguments[0].properties.some(function(e){return'styles'===e.key.name&&'ArrayExpression'===e.value.type})&&t.expression.arguments[0].properties.forEach(function(e){'ArrayExpression'===e.value.type&&e.value.elements[0].quasis.forEach(function(e){return delete e.value})}),'TaggedTemplateExpression'===e.type&&('MemberExpression'===e.tag.type||'Identifier'===e.tag.type&&('gql'===e.tag.name||'graphql'===e.tag.name||'css'===e.tag.name||'md'===e.tag.name||'markdown'===e.tag.name)||'CallExpression'===e.tag.type)&&t.quasi.quasis.forEach(function(e){return delete e.value}),'TemplateLiteral'===e.type){var i=e.leadingComments&&e.leadingComments.some(function(e){return'CommentBlock'===e.type&&' GraphQL '===e.value});(i||'CallExpression'===n.type&&'graphql'===n.callee.name)&&t.quasis.forEach(function(e){return delete e.value})}}function An(e){var t=Object.keys(Gc.parse(Gc.extract(e)));return-1!==t.indexOf('prettier')||-1!==t.indexOf('format')}function wn(e){var t=Gc.parseWithComments(Gc.extract(e)),n=Object.assign({format:''},t.pragmas),a=Gc.print({pragmas:n,comments:t.comments.replace(/^(\s+?\r?\n)+/,'')}),r=Gc.strip(e),o=r.startsWith('\n')?'\n':'\n\n';return a+o+r}function Pn(e,t,n,a,r){var o=e.precedingNode,s=e.enclosingNode,i=e.followingNode;return Jn(t,o,s,i,e,n)||Rn(s,i,e)||Ln(t,o,s,i,e,n)||jn(s,i,e)||_n(s,o,i,e)||Un(s,e)||Yn(s,o,e)||Kn(o,s,i,e)||Hn(s,a,e,r)||Qn(t,s,o,e,n)||Zn(s,e)||Vn(t,s,o,e,n)}function kn(e,t,n,a,r){var o=e.precedingNode,s=e.enclosingNode,i=e.followingNode;return Jn(t,o,s,i,e,n)||Mn(s,o,i,e,t,n)||Un(s,e)||Ln(t,o,s,i,e,n)||_n(s,o,i,e)||Xn(s,e)||zn(o,s,e)||$n(s,e)||Hn(s,a,e,r)||ea(s,i,e)||ta(s,i,e)}function In(e,t,n,a,r){var o=e.precedingNode,s=e.enclosingNode,i=e.followingNode;return Ln(t,o,s,i,e,n)||Fn(s,o,e)||Wn(t,s,e,n)||Vn(t,s,o,e,n)||Hn(s,a,e,r)||Bn(t,s,e,n)||qn(t,s,o,e,n)||na(t,s,o,i,e)||Gn(s,e)}function On(e,t){var n=e.body.filter(function(e){return'EmptyStatement'!==e.type});0===n.length?Hc(e,t):Kc(n[0],t)}function Dn(e,t){'BlockStatement'===e.type?On(e,t):Kc(e,t)}function Ln(e,t,n,a,r,o){if(!n||'IfStatement'!==n.type||!a)return!1;var s=_p.getNextNonSpaceNonCommentCharacter(e,r,o.locEnd);return')'===s?($c(t,r),!0):t===n.consequent&&a===n.alternate?('BlockStatement'===t.type?$c(t,r):Hc(n,r),!0):'BlockStatement'===a.type?(On(a,r),!0):'IfStatement'===a.type?(Dn(a.consequent,r),!0):('{'===s||n.consequent===a)&&(Kc(a,r),!0)}function jn(e,t,n){return e&&'TryStatement'===e.type&&t&&('BlockStatement'===t.type?(On(t,n),!0):'TryStatement'===t.type?(Dn(t.finalizer,n),!0):!('CatchClause'!==t.type)&&(Dn(t.body,n),!0))}function Rn(e,t,n){return e&&'MemberExpression'===e.type&&t&&'Identifier'===t.type&&(Kc(e,n),!0)}function Mn(e,t,n,a,r,o){var s=t&&!_p.hasNewlineInRange(r,o.locEnd(t),o.locStart(a));return(!t||!s)&&e&&'ConditionalExpression'===e.type&&n&&(Kc(n,a),!0)}function Fn(e,t,n){return e&&('ObjectProperty'===e.type||'Property'===e.type)&&e.shorthand&&e.key===t&&'AssignmentPattern'===e.value.type&&($c(e.value.left,n),!0)}function _n(e,t,n,a){return e&&('ClassDeclaration'===e.type||'ClassExpression'===e.type)&&e.decorators&&0<e.decorators.length&&!(n&&'Decorator'===n.type)&&(e.decorators&&0!==e.decorators.length?$c(e.decorators[e.decorators.length-1],a):Kc(e,a),!0)}function Vn(e,t,n,a,r){return t&&n&&('Property'===t.type||'MethodDefinition'===t.type)&&'Identifier'===n.type&&t.key===n&&':'!==_p.getNextNonSpaceNonCommentCharacter(e,n,r.locEnd)?($c(n,a),!0):n&&t&&'Decorator'===n.type&&('ClassMethod'===t.type||'ClassProperty'===t.type||'TSAbstractClassProperty'===t.type||'TSAbstractMethodDefinition'===t.type||'MethodDefinition'===t.type)&&($c(n,a),!0)}function qn(e,t,n,a,r){return!('('!==_p.getNextNonSpaceNonCommentCharacter(e,a,r.locEnd))&&n&&t&&('FunctionDeclaration'===t.type||'FunctionExpression'===t.type||'ClassMethod'===t.type||'MethodDefinition'===t.type||'ObjectMethod'===t.type)&&($c(n,a),!0)}function Bn(e,t,n,a){if(!(t&&'ArrowFunctionExpression'===t.type))return!1;var r=$p.getNextNonSpaceNonCommentCharacterIndex(e,n,a);return!('=>'!==e.substr(r,2))&&(Hc(t,n),!0)}function Wn(e,t,n,a){return!(')'!==_p.getNextNonSpaceNonCommentCharacter(e,n,a.locEnd))&&(t&&(('FunctionDeclaration'===t.type||'FunctionExpression'===t.type||'ArrowFunctionExpression'===t.type&&('CallExpression'!==t.body.type||0===t.body.arguments.length)||'ClassMethod'===t.type||'ObjectMethod'===t.type)&&0===t.params.length||'CallExpression'===t.type&&0===t.arguments.length)?(Hc(t,n),!0):t&&'MethodDefinition'===t.type&&0===t.value.params.length&&(Hc(t.value,n),!0))}function Jn(e,t,n,a,r,o){return t&&'FunctionTypeParam'===t.type&&n&&'FunctionTypeAnnotation'===n.type&&a&&'FunctionTypeParam'!==a.type?($c(t,r),!0):t&&('Identifier'===t.type||'AssignmentPattern'===t.type)&&n&&('ArrowFunctionExpression'===n.type||'FunctionExpression'===n.type||'FunctionDeclaration'===n.type||'ObjectMethod'===n.type||'ClassMethod'===n.type)&&')'===_p.getNextNonSpaceNonCommentCharacter(e,r,o.locEnd)&&($c(t,r),!0)}function Un(e,t){return e&&'ImportSpecifier'===e.type&&(Kc(e,t),!0)}function Xn(e,t){return e&&'LabeledStatement'===e.type&&(Kc(e,t),!0)}function Gn(e,t){return e&&('ContinueStatement'===e.type||'BreakStatement'===e.type)&&!e.label&&($c(e,t),!0)}function zn(e,t,n){return t&&'CallExpression'===t.type&&e&&t.callee===e&&0<t.arguments.length&&(Kc(t.arguments[0],n),!0)}function Kn(e,t,n,a){return t&&('UnionTypeAnnotation'===t.type||'TSUnionType'===t.type)&&($c(e,a),!0)}function $n(e,t){return e&&('Property'===e.type||'ObjectProperty'===e.type)&&(Kc(e,t),!0)}function Hn(e,t,n,a){return t&&t.body&&0===t.body.length?(a?Hc(t,n):Kc(t,n),!0):e&&'Program'===e.type&&0===e.body.length&&e.directives&&0===e.directives.length&&(a?Hc(e,n):Kc(e,n),!0)}function Yn(e,t,n){return e&&('ForInStatement'===e.type||'ForOfStatement'===e.type)&&(Kc(e,n),!0)}function Qn(e,t,n,a,r){return n&&t&&'ImportDeclaration'===t.type&&_p.hasNewline(e,r.locEnd(a))&&($c(n,a),!0)}function Zn(e,t){return e&&'AssignmentPattern'===e.type&&(Kc(e,t),!0)}function ea(e,t,n){return e&&'TypeAlias'===e.type&&(Kc(e,n),!0)}function ta(e,t,n){return e&&('VariableDeclarator'===e.type||'AssignmentExpression'===e.type)&&t&&('ObjectExpression'===t.type||'ArrayExpression'===t.type||'TemplateLiteral'===t.type||'TaggedTemplateExpression'===t.type)&&(Kc(t,n),!0)}function na(e,t,n,a,r){return t&&'TSMappedType'===t.type&&(a&&'TSTypeParameter'===a.type&&a.name?(Kc(a.name,r),!0):n&&'TSTypeParameter'===n.type&&n.constraint&&($c(n.constraint,r),!0))}function aa(e){return'Block'===e.type||'CommentBlock'===e.type}function ra(e,t,n){return t.comments&&t.comments.some(function(t){return t.leading&&Yc.isBlockComment(t)&&t.value.match(/^\*\s*@type\s*{[^}]+}\s*$/)&&'('===_p.getNextNonSpaceNonCommentCharacter(e,t,n)})}function oa(e,t){var n=e.getParentNode();if(!n)return!1;var a=e.getName(),r=e.getNode();if(e.getValue()!==r)return!1;if(sa(r))return!1;if(ra(t.originalText,r,t.locEnd))return!0;if('Identifier'===r.type)return!1;if('ParenthesizedExpression'===n.type)return!1;if(('ClassDeclaration'===n.type||'ClassExpression'===n.type)&&n.superClass===r&&('ArrowFunctionExpression'===r.type||'AssignmentExpression'===r.type||'AwaitExpression'===r.type||'BinaryExpression'===r.type||'ConditionalExpression'===r.type||'LogicalExpression'===r.type||'NewExpression'===r.type||'ObjectExpression'===r.type||'ParenthesizedExpression'===r.type||'SequenceExpression'===r.type||'TaggedTemplateExpression'===r.type||'UnaryExpression'===r.type||'UpdateExpression'===r.type||'YieldExpression'===r.type))return!0;if('ArrowFunctionExpression'===n.type&&n.body===r&&'SequenceExpression'!==r.type&&_p.startsWithNoLookaheadToken(r,!1)||'ExpressionStatement'===n.type&&_p.startsWithNoLookaheadToken(r,!0))return!0;switch(r.type){case'CallExpression':{for(var o=n,s=0;o&&'MemberExpression'===o.type;)o=e.getParentNode(++s);return'NewExpression'===o.type&&o.callee===e.getParentNode(s-1)}case'SpreadElement':case'SpreadProperty':return'MemberExpression'===n.type&&'object'===a&&n.object===r;case'UpdateExpression':if('UnaryExpression'===n.type)return r.prefix&&('++'===r.operator&&'+'===n.operator||'--'===r.operator&&'-'===n.operator);case'UnaryExpression':switch(n.type){case'UnaryExpression':return r.operator===n.operator&&('+'===r.operator||'-'===r.operator);case'MemberExpression':return'object'===a&&n.object===r;case'TaggedTemplateExpression':return!0;case'NewExpression':case'CallExpression':return'callee'===a&&n.callee===r;case'BinaryExpression':return'**'===n.operator&&'left'===a;case'TSNonNullExpression':return!0;default:return!1;}case'BinaryExpression':{if('UpdateExpression'===n.type)return!0;var i=function(t){for(var n=0;t;){var a=e.getParentNode(n++);if(!a)return!1;if('ForStatement'===a.type&&a.init===t)return!0;t=a}return!1};if('in'===r.operator&&i(r))return!0}case'TSTypeAssertionExpression':case'TSAsExpression':case'LogicalExpression':switch(n.type){case'ConditionalExpression':return'TSAsExpression'===r.type;case'CallExpression':case'NewExpression':return'callee'===a&&n.callee===r;case'ClassDeclaration':case'TSAbstractClassDeclaration':return'superClass'===a&&n.superClass===r;case'TSTypeAssertionExpression':case'TaggedTemplateExpression':case'UnaryExpression':case'SpreadElement':case'SpreadProperty':case'ExperimentalSpreadProperty':case'BindExpression':case'AwaitExpression':case'TSAsExpression':case'TSNonNullExpression':case'UpdateExpression':return!0;case'MemberExpression':return'object'===a&&n.object===r;case'AssignmentExpression':return n.left===r&&('TSTypeAssertionExpression'===r.type||'TSAsExpression'===r.type);case'Decorator':return n.expression===r&&('TSTypeAssertionExpression'===r.type||'TSAsExpression'===r.type);case'BinaryExpression':case'LogicalExpression':{if(!r.operator&&'TSTypeAssertionExpression'!==r.type)return!0;var l=n.operator,p=_p.getPrecedence(l),c=r.operator,d=_p.getPrecedence(c);return!!(p>d)||('||'===l||'??'===l)&&'&&'===c||(p===d&&'right'===a?(rp.strictEqual(n.right,r),!0):p!==d||_p.shouldFlatten(l,c)?p<d&&'%'===c?!_p.shouldFlatten(l,c):!!_p.isBitwiseOperator(l):!0)}default:return!1;}case'TSParenthesizedType':{var u=e.getParentNode(1);return('TSTypeParameter'===n.type||'TypeParameter'===n.type||'VariableDeclarator'===n.type||'TSTypeAnnotation'===n.type||'GenericTypeAnnotation'===n.type||'TSTypeReference'===n.type)&&'TSTypeAnnotation'===r.typeAnnotation.type&&'TSFunctionType'!==r.typeAnnotation.typeAnnotation.type&&'TSTypeOperator'!==u.type?!1:'TSParenthesizedType'!==r.typeAnnotation.type}case'SequenceExpression':switch(n.type){case'ReturnStatement':return!1;case'ForStatement':return!1;case'ExpressionStatement':return'expression'!==a;case'ArrowFunctionExpression':return'body'!==a;default:return!0;}case'YieldExpression':if('UnaryExpression'===n.type||'AwaitExpression'===n.type||'TSAsExpression'===n.type||'TSNonNullExpression'===n.type)return!0;case'AwaitExpression':switch(n.type){case'TaggedTemplateExpression':case'UnaryExpression':case'BinaryExpression':case'LogicalExpression':case'SpreadElement':case'SpreadProperty':case'ExperimentalSpreadProperty':case'TSAsExpression':case'TSNonNullExpression':return!0;case'MemberExpression':return n.object===r;case'NewExpression':case'CallExpression':return n.callee===r;case'ConditionalExpression':return n.test===r;default:return!1;}case'ArrayTypeAnnotation':return'NullableTypeAnnotation'===n.type;case'IntersectionTypeAnnotation':case'UnionTypeAnnotation':return'ArrayTypeAnnotation'===n.type||'NullableTypeAnnotation'===n.type||'IntersectionTypeAnnotation'===n.type||'UnionTypeAnnotation'===n.type;case'NullableTypeAnnotation':return'ArrayTypeAnnotation'===n.type;case'FunctionTypeAnnotation':{var m='NullableTypeAnnotation'===n.type?e.getParentNode(1):n;return'UnionTypeAnnotation'===m.type||'IntersectionTypeAnnotation'===m.type||'ArrayTypeAnnotation'===m.type||'NullableTypeAnnotation'===m.type}case'StringLiteral':case'NumericLiteral':case'Literal':if('string'==typeof r.value&&'ExpressionStatement'===n.type&&('typescript'!==t.parser&&!n.directive||'typescript'===t.parser&&'('===t.originalText.substr(t.locStart(r)-1,1))){var y=e.getParentNode(1);return'Program'===y.type||'BlockStatement'===y.type}return'MemberExpression'===n.type&&'number'==typeof r.value&&'object'===a&&n.object===r;case'AssignmentExpression':{var g=e.getParentNode(1);if('ArrowFunctionExpression'===n.type&&n.body===r)return!0;return'ClassProperty'===n.type&&n.key===r&&n.computed?!1:'TSPropertySignature'===n.type&&n.name===r?!1:'ForStatement'===n.type&&(n.init===r||n.update===r)?!1:'ExpressionStatement'===n.type?'ObjectPattern'===r.left.type:'TSPropertySignature'===n.type&&n.key===r?!1:'AssignmentExpression'!==n.type&&('SequenceExpression'===n.type&&g&&'ForStatement'===g.type&&(g.init===n||g.update===n)?!1:!0)}case'ConditionalExpression':switch(n.type){case'TaggedTemplateExpression':case'UnaryExpression':case'SpreadElement':case'SpreadProperty':case'ExperimentalSpreadProperty':case'BinaryExpression':case'LogicalExpression':case'ExportDefaultDeclaration':case'AwaitExpression':case'JSXSpreadAttribute':case'TSTypeAssertionExpression':case'TypeCastExpression':case'TSAsExpression':case'TSNonNullExpression':return!0;case'NewExpression':case'CallExpression':return'callee'===a&&n.callee===r;case'ConditionalExpression':return'test'===a&&n.test===r;case'MemberExpression':return'object'===a&&n.object===r;default:return!1;}case'FunctionExpression':switch(n.type){case'CallExpression':return'callee'===a;case'TaggedTemplateExpression':return!0;case'ExportDefaultDeclaration':return!0;default:return!1;}case'ArrowFunctionExpression':switch(n.type){case'CallExpression':return'callee'===a;case'NewExpression':return'callee'===a;case'MemberExpression':return'object'===a;case'TSAsExpression':case'BindExpression':case'TaggedTemplateExpression':case'UnaryExpression':case'LogicalExpression':case'BinaryExpression':case'AwaitExpression':case'TSTypeAssertionExpression':return!0;case'ConditionalExpression':return'test'===a;default:return!1;}case'ClassExpression':return'ExportDefaultDeclaration'===n.type;case'OptionalMemberExpression':return'MemberExpression'===n.type;}return!1}function sa(e){return'BlockStatement'===e.type||'BreakStatement'===e.type||'ClassBody'===e.type||'ClassDeclaration'===e.type||'ClassMethod'===e.type||'ClassProperty'===e.type||'ClassPrivateProperty'===e.type||'ContinueStatement'===e.type||'DebuggerStatement'===e.type||'DeclareClass'===e.type||'DeclareExportAllDeclaration'===e.type||'DeclareExportDeclaration'===e.type||'DeclareFunction'===e.type||'DeclareInterface'===e.type||'DeclareModule'===e.type||'DeclareModuleExports'===e.type||'DeclareVariable'===e.type||'DoWhileStatement'===e.type||'ExportAllDeclaration'===e.type||'ExportDefaultDeclaration'===e.type||'ExportNamedDeclaration'===e.type||'ExpressionStatement'===e.type||'ForAwaitStatement'===e.type||'ForInStatement'===e.type||'ForOfStatement'===e.type||'ForStatement'===e.type||'FunctionDeclaration'===e.type||'IfStatement'===e.type||'ImportDeclaration'===e.type||'InterfaceDeclaration'===e.type||'LabeledStatement'===e.type||'MethodDefinition'===e.type||'ReturnStatement'===e.type||'SwitchStatement'===e.type||'ThrowStatement'===e.type||'TryStatement'===e.type||'TSAbstractClassDeclaration'===e.type||'TSEnumDeclaration'===e.type||'TSImportEqualsDeclaration'===e.type||'TSInterfaceDeclaration'===e.type||'TSModuleDeclaration'===e.type||'TSNamespaceExportDeclaration'===e.type||'TypeAlias'===e.type||'VariableDeclaration'===e.type||'WhileStatement'===e.type||'WithStatement'===e.type}function ia(e,t){switch(t=t||'es5',e.trailingComma){case'all':if('all'===t)return!0;case'es5':if('es5'===t)return!0;case'none':default:return!1;}}function la(e,t,n,a){var r=e.getValue(),o=!1,s=ma(e,t,n,a);if(!r||qd(s))return s;var i=[];if(r.decorators&&0<r.decorators.length&&!Zc(e)){var l=Nd;e.each(function(e){var t=e.getValue();t=t.expression?t.expression:t.callee,1===r.decorators.length&&'ClassDeclaration'!==r.type&&'MethodDefinition'!==r.type&&'ClassMethod'!==r.type&&('Identifier'===t.type||'MemberExpression'===t.type||'OptionalMemberExpression'===t.type||('CallExpression'===t.type||'OptionalCallExpression'===t.type)&&(0===t.arguments.length||1===t.arguments.length&&(Lr(t.arguments[0])||'Identifier'===t.arguments[0].type||'MemberExpression'===t.arguments[0].type||'OptionalMemberExpression'===t.arguments[0].type)))&&(l=vd),i.push(n(e),l)},'decorators')}else ed(r)&&r.declaration&&r.declaration.decorators?e.each(function(e){var t=e.getValue(),a='Decorator'===t.type?'':'@';i.push(a,n(e),Nd)},'declaration','decorators'):o=Qc(e,t);var p=[];return o&&p.unshift('('),p.push(s),o&&p.push(')'),0<i.length?wd(Sd(i.concat(p))):Sd(p)}function pa(e){return pd(e)||ca(e)}function ca(e){var t=e.getValue(),n=e.getParentNode();if(!n||!t||!qa(t)||!qa(n))return!1;for(var a=n.children.indexOf(t),r=null,o=a,s;0<o;o--)if(s=n.children[o-1],'JSXText'!==s.type||Wa(s)){r=s;break}return r&&'JSXExpressionContainer'===r.type&&'JSXEmptyExpression'===r.expression.type&&r.expression.comments&&r.expression.comments.find(function(e){return'prettier-ignore'===e.value.trim()})}function da(e,t,a,r){var o=e.getValue(),n=[],s=Object.assign({beforeParts:function(){return['']},afterParts:function(){return['']},shouldCheckJsx:!0,operatorName:'ConditionalExpression',consequentNode:'consequent',alternateNode:'alternate',testNode:'test',breakNested:!0},r||{}),l=!1,p=e.getParentNode(),c=p.type===s.operatorName,d=0,i,u;do u=i||o,i=e.getParentNode(d),d++;while(i&&i.type===s.operatorName);var m=i||p,y=u;if(s.shouldCheckJsx&&qa(o[s.testNode])||qa(o[s.consequentNode])||qa(o[s.alternateNode])||Ja(y)){l=!0,c=!0;var g=function(e){return Sd([Dd('(',''),Pd(Sd([Cd,e])),Cd,Dd(')','')])},h=function(e){return'NullLiteral'===e.type||'Literal'===e.type&&null===e.value};n.push(' ? ',h(o[s.consequentNode])?e.call(a,s.consequentNode):g(e.call(a,s.consequentNode)),' : ',o[s.alternateNode].type===s.operatorName||h(o[s.alternateNode])?e.call(a,s.alternateNode):g(e.call(a,s.alternateNode)))}else{var f=Sd([vd,'? ',o[s.consequentNode].type===s.operatorName?Dd('','('):'',kd(2,e.call(a,s.consequentNode)),o[s.consequentNode].type===s.operatorName?Dd('',')'):'',vd,': ',kd(2,e.call(a,s.alternateNode))]);n.push(p.type===s.operatorName?t.useTabs?Md(Pd(f)):kd(js(0,t.tabWidth-2),f):f)}var x=!l&&('MemberExpression'===p.type||'OptionalMemberExpression'===p.type)&&!p.computed;return function(e){return s.breakNested?p===m?wd(e):e:wd(e)}(Sd([].concat(s.beforeParts(),c?Sd(n):Pd(Sd(n)),s.afterParts(x))))}function ua(e,t){if('TSPlusToken'===e.type)return'+'+t;return'TSMinusToken'===e.type?'-'+t:t}function ma(e,t,a,o){var s=e.getValue(),l=t.semi?';':'';if(!s)return'';if('string'==typeof s)return s;var p=[];switch(s.type){case'File':return s.program&&s.program.interpreter&&p.push(e.call(function(e){return e.call(a,'interpreter')},'program')),p.push(e.call(a,'program')),Sd(p);case'Program':return s.directives&&e.each(function(e){p.push(a(e),l,Nd),gd(t.originalText,e.getValue(),t)&&p.push(Nd)},'directives'),p.push(e.call(function(e){return ya(e,t,a)},'body')),p.push(dc.printDanglingComments(e,t,!0)),(s.body.length||s.comments)&&p.push(Nd),Sd(p);case'EmptyStatement':return'';case'ExpressionStatement':return s.directive?Sd([nr(s.expression,t,!0),l]):Sd([e.call(a,'expression'),Br(t,e)?'':l]);case'ParenthesizedExpression':return Sd(['(',e.call(a,'expression'),')']);case'AssignmentExpression':return er(s.left,e.call(a,'left'),Sd([' ',s.operator]),s.right,e.call(a,'right'),t);case'BinaryExpression':case'LogicalExpression':{var c=e.getParentNode(),d=e.getParentNode(1),u=s!==c.body&&('IfStatement'===c.type||'WhileStatement'===c.type||'DoWhileStatement'===c.type),m=Qa(e,a,t,!1,u);if(u)return Sd(m);if('UnaryExpression'===c.type||('MemberExpression'===c.type||'OptionalMemberExpression'===c.type)&&!c.computed)return wd(Sd([Pd(Sd([Cd,Sd(m)])),Cd]));var y='ReturnStatement'===c.type||'JSXExpressionContainer'===c.type&&'JSXAttribute'===d.type||s===c.body&&'ArrowFunctionExpression'===c.type||s!==c.body&&'ForStatement'===c.type||'ConditionalExpression'===c.type&&'ReturnStatement'!==d.type,g='AssignmentExpression'===c.type||'VariableDeclarator'===c.type||'ClassProperty'===c.type||'TSAbstractClassProperty'===c.type||'ClassPrivateProperty'===c.type||'ObjectProperty'===c.type||'Property'===c.type,h=$a(s.left)&&td(s.operator,s.left.operator);if(y||Ya(s)&&!h||!Ya(s)&&g)return wd(Sd(m));var f=Sd(m.slice(1));return wd(Sd([0<m.length?m[0]:'',Pd(f)]))}case'AssignmentPattern':return Sd([e.call(a,'left'),' = ',e.call(a,'right')]);case'TSTypeAssertionExpression':{var x='ArrayExpression'!==s.expression.type&&'ObjectExpression'!==s.expression.type,E=wd(Sd(['<',Pd(Sd([Cd,e.call(a,'typeAnnotation')])),Cd,'>'])),b=Sd([Dd('('),Pd(Sd([Cd,e.call(a,'expression')])),Cd,Dd(')')]);return x?Id([Sd([E,e.call(a,'expression')]),Sd([E,wd(b,{shouldBreak:!0})]),Sd([E,e.call(a,'expression')])]):wd(Sd([E,e.call(a,'expression')]))}case'OptionalMemberExpression':case'MemberExpression':{var S=e.getParentNode(),T=0,i;do i=e.getParentNode(T),T++;while(i&&('MemberExpression'===i.type||'OptionalMemberExpression'===i.type||'TSNonNullExpression'===i.type));var v=i&&('NewExpression'===i.type||'BindExpression'===i.type||'VariableDeclarator'===i.type&&'Identifier'!==i.id.type||'AssignmentExpression'===i.type&&'Identifier'!==i.left.type)||s.computed||'Identifier'===s.object.type&&'Identifier'===s.property.type&&'MemberExpression'!==S.type&&'OptionalMemberExpression'!==S.type;return Sd([e.call(a,'object'),v?Fa(e,t,a):wd(Pd(Sd([Cd,Fa(e,t,a)])))])}case'MetaProperty':return Sd([e.call(a,'meta'),'.',e.call(a,'property')]);case'BindExpression':return s.object&&p.push(e.call(a,'object')),p.push(wd(Pd(Sd([Cd,_a(e,t,a)])))),Sd(p);case'Identifier':return Sd([s.name,Ma(e),Ta(e,t,a)]);case'SpreadElement':case'SpreadElementPattern':case'RestProperty':case'ExperimentalRestProperty':case'ExperimentalSpreadProperty':case'SpreadProperty':case'SpreadPropertyPattern':case'RestElement':case'ObjectTypeSpreadProperty':return Sd(['...',e.call(a,'argument'),Ta(e,t,a)]);case'FunctionDeclaration':case'FunctionExpression':return vr(s,t)&&p.push('declare '),p.push(wa(e,a,t)),s.body||p.push(l),Sd(p);case'ArrowFunctionExpression':{s.async&&p.push('async '),Ca(e,t)?p.push(e.call(a,'params',0)):p.push(wd(Sd([Na(e,a,t,o&&(o.expandLastArg||o.expandFirstArg),!0),ka(e,a,t)])));var N=dc.printDanglingComments(e,t,!0,function(e){var n=fd(t.originalText,e,t);return'=>'===t.originalText.substr(n,2)});N&&p.push(' ',N),p.push(' =>');var C=e.call(function(e){return a(e,o)},'body');if(!ir(t.originalText,s.body,t)&&('ArrayExpression'===s.body.type||'ObjectExpression'===s.body.type||'BlockStatement'===s.body.type||qa(s.body)||wr(s.body,t.originalText,t)||'ArrowFunctionExpression'===s.body.type||'DoExpression'===s.body.type))return wd(Sd([Sd(p),' ',C]));if('SequenceExpression'===s.body.type)return wd(Sd([Sd(p),wd(Sd([' (',Pd(Sd([Cd,C])),Cd,')']))]));var A=(o&&o.expandLastArg||'JSXExpressionContainer'===e.getParentNode().type)&&!(s.comments&&s.comments.length),w=o&&o.expandLastArg&&ia(t,'all'),P='ConditionalExpression'===s.body.type&&!md(s.body,!1);return wd(Sd([Sd(p),wd(Sd([Pd(Sd([vd,P?Dd('','('):'',C,P?Dd('',')'):''])),A?Sd([Dd(w?',':''),Cd]):'']))]))}case'MethodDefinition':case'TSAbstractMethodDefinition':return s.accessibility&&p.push(s.accessibility+' '),s.static&&p.push('static '),'TSAbstractMethodDefinition'===s.type&&p.push('abstract '),p.push(ha(e,t,a)),Sd(p);case'YieldExpression':return p.push('yield'),s.delegate&&p.push('*'),s.argument&&p.push(' ',e.call(a,'argument')),Sd(p);case'AwaitExpression':return Sd(['await ',e.call(a,'argument')]);case'ImportSpecifier':return s.importKind&&p.push(e.call(a,'importKind'),' '),p.push(e.call(a,'imported')),s.local&&s.local.name!==s.imported.name&&p.push(' as ',e.call(a,'local')),Sd(p);case'ExportSpecifier':return p.push(e.call(a,'local')),s.exported&&s.exported.name!==s.local.name&&p.push(' as ',e.call(a,'exported')),Sd(p);case'ImportNamespaceSpecifier':return p.push('* as '),s.local?p.push(e.call(a,'local')):s.id&&p.push(e.call(a,'id')),Sd(p);case'ImportDefaultSpecifier':return s.local?e.call(a,'local'):e.call(a,'id');case'TSExportAssignment':return Sd(['export = ',e.call(a,'expression'),l]);case'ExportDefaultDeclaration':case'ExportNamedDeclaration':return Ia(e,t,a);case'ExportAllDeclaration':return p.push('export '),'type'===s.exportKind&&p.push('type '),p.push('* from ',e.call(a,'source'),l),Sd(p);case'ExportNamespaceSpecifier':case'ExportDefaultSpecifier':return e.call(a,'exported');case'ImportDeclaration':{p.push('import '),s.importKind&&'value'!==s.importKind&&p.push(s.importKind+' ');var k=[],I=[];return s.specifiers&&0<s.specifiers.length?(e.each(function(e){var t=e.getValue();'ImportDefaultSpecifier'===t.type||'ImportNamespaceSpecifier'===t.type?k.push(a(e)):I.push(a(e))},'specifiers'),0<k.length&&p.push(Td(', ',k)),0<k.length&&0<I.length&&p.push(', '),1===I.length&&0===k.length&&s.specifiers&&!s.specifiers.some(function(e){return e.comments})?p.push(Sd(['{',t.bracketSpacing?' ':'',Sd(I),t.bracketSpacing?' ':'','}'])):1<=I.length&&p.push(wd(Sd(['{',Pd(Sd([t.bracketSpacing?vd:Cd,Td(Sd([',',vd]),I)])),Dd(ia(t)?',':''),t.bracketSpacing?vd:Cd,'}']))),p.push(' from ')):(s.importKind&&'type'===s.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(s),t.locStart(s.source))))&&p.push('{} from '),p.push(e.call(a,'source'),l),Sd(p)}case'Import':return'import';case'BlockStatement':{var O=e.call(function(e){return ya(e,t,a)},'body'),D=s.body.find(function(e){return'EmptyStatement'!==e.type}),L=s.directives&&0<s.directives.length,j=e.getParentNode(),R=e.getParentNode(1);return D||L||kr(s)||'ArrowFunctionExpression'!==j.type&&'FunctionExpression'!==j.type&&'FunctionDeclaration'!==j.type&&'ObjectMethod'!==j.type&&'ClassMethod'!==j.type&&'ForStatement'!==j.type&&'WhileStatement'!==j.type&&'DoWhileStatement'!==j.type&&'DoExpression'!==j.type&&('CatchClause'!==j.type||R.finalizer)?(p.push('{'),L&&e.each(function(e){p.push(Pd(Sd([Nd,a(e),l]))),gd(t.originalText,e.getValue(),t)&&p.push(Nd)},'directives'),D&&p.push(Pd(Sd([Nd,O]))),p.push(dc.printDanglingComments(e,t)),p.push(Nd,'}'),Sd(p)):'{}'}case'ReturnStatement':return p.push('return'),s.argument&&(hr(t,s.argument)?p.push(Sd([' (',Pd(Sd([Nd,e.call(a,'argument')])),Nd,')'])):'LogicalExpression'===s.argument.type||'BinaryExpression'===s.argument.type||'SequenceExpression'===s.argument.type?p.push(wd(Sd([Dd(' (',' '),Pd(Sd([Cd,e.call(a,'argument')])),Cd,Dd(')')]))):p.push(' ',e.call(a,'argument'))),kr(s)&&p.push(' ',dc.printDanglingComments(e,t,!0)),p.push(l),Sd(p);case'NewExpression':case'OptionalCallExpression':case'CallExpression':{var M='NewExpression'===s.type,F=Ma(e);return!M&&'Identifier'===s.callee.type&&('require'===s.callee.name||'define'===s.callee.name)||'Import'===s.callee.type||1===s.arguments.length&&wr(s.arguments[0],t.originalText,t)||!M&&Rr(s,e.getParentNode())?Sd([M?'new ':'',e.call(a,'callee'),F,va(e,t,a),Sd(['(',Td(', ',e.map(a,'arguments')),')'])]):!M&&Ha(s.callee)?Va(e,t,a):Sd([M?'new ':'',e.call(a,'callee'),F,va(e,t,a),Sa(e,t,a)])}case'TSInterfaceDeclaration':return vr(s,t)&&p.push('declare '),p.push(s.abstract?'abstract ':'',La(e,t,a),'interface ',e.call(a,'id'),s.typeParameters?e.call(a,'typeParameters'):'',' '),s.heritage.length&&p.push(wd(Pd(Sd([Cd,'extends ',Pd(Td(Sd([',',vd]),e.map(a,'heritage'))),' '])))),p.push(e.call(a,'body')),Sd(p);case'ObjectExpression':case'ObjectPattern':case'ObjectTypeAnnotation':case'TSInterfaceBody':case'TSTypeLiteral':{var _='ObjectTypeAnnotation'===s.type,V=e.getParentNode(0),q='TSInterfaceBody'===s.type||'ObjectPattern'===s.type&&'FunctionDeclaration'!==V.type&&'FunctionExpression'!==V.type&&'ArrowFunctionExpression'!==V.type&&'AssignmentPattern'!==V.type&&'CatchClause'!==V.type&&s.properties.some(function(e){return e.value&&('ObjectPattern'===e.value.type||'ArrayPattern'===e.value.type)})||'ObjectPattern'!==s.type&&rd(t.originalText,t.locStart(s),t.locEnd(s)),B=_&&V&&('InterfaceDeclaration'===V.type||'DeclareInterface'===V.type||'DeclareClass'===V.type)&&'body'===e.getName(),W=B?';':'TSInterfaceBody'===s.type||'TSTypeLiteral'===s.type?Dd(l,';'):',',J=[],U=s.exact?'{|':'{',X=s.exact?'|}':'}',G;G='TSTypeLiteral'===s.type?'members':'TSInterfaceBody'===s.type?'body':'properties',_&&J.push('indexers','callProperties'),J.push(G);var z=[];J.forEach(function(n){e.each(function(e){var n=e.getValue();z.push({node:n,printed:a(e),loc:t.locStart(n)})},n)});var K=[],$=z.sort(function(e,t){return e.loc-t.loc}).map(function(e){var n=Sd(K.concat(wd(e.printed)));return K=[W,vd],'TSPropertySignature'===e.node.type&&dd(e.node)&&K.shift(),gd(t.originalText,e.node,t)&&K.push(Nd),n}),H=od(s[G]),Y=!(H&&('RestProperty'===H.type||'RestElement'===H.type||'ExperimentalRestProperty'===H.type||dd(H))),Q;if(0===$.length&&!s.typeAnnotation){if(!kr(s))return Sd([U,X]);Q=wd(Sd([U,dc.printDanglingComments(e,t),Cd,X,Ma(e)]))}else Q=Sd([U,Pd(Sd([t.bracketSpacing?vd:Cd,Sd($)])),Dd(Y&&(','!==W||ia(t))?W:''),Sd([t.bracketSpacing?vd:Cd,X]),Ma(e),Ta(e,t,a)]);var Z=e.getParentNode(2);return'ObjectPattern'===s.type&&V&&Cr(V)&&V.params[0]===s||Nr(s)&&Z&&Cr(Z)&&Z.params[0].typeAnnotation&&Z.params[0].typeAnnotation.typeAnnotation===s?Q:wd(Q,{shouldBreak:q})}case'ObjectProperty':case'Property':if(s.method||'get'===s.kind||'set'===s.kind)return ha(e,t,a);if(s.shorthand)p.push(e.call(a,'value'));else{var ee;ee=s.computed?Sd(['[',e.call(a,'key'),']']):ga(e,t,a),p.push(er(s.key,ee,':',s.value,e.call(a,'value'),t))}return Sd(p);case'ClassMethod':return s.static&&p.push('static '),p=p.concat(Pa(e,t,a)),Sd(p);case'ObjectMethod':return Pa(e,t,a);case'Decorator':return Sd(['@',e.call(a,'expression'),e.call(a,'callee')]);case'ArrayExpression':case'ArrayPattern':if(0===s.elements.length)kr(s)?p.push(wd(Sd(['[',dc.printDanglingComments(e,t),Cd,']']))):p.push('[]');else{var te=od(s.elements),ne=!(te&&'RestElement'===te.type),ae=ne&&null===te;p.push(wd(Sd(['[',Pd(Sd([Cd,Pr(e,t,'elements',a)])),ae?',':'',Dd(ne&&!ae&&ia(t)?',':''),dc.printDanglingComments(e,t,!0),Cd,']'])))}return p.push(Ma(e),Ta(e,t,a)),Sd(p);case'SequenceExpression':{var re=e.getParentNode(0);if('ExpressionStatement'===re.type||'ForStatement'===re.type){var oe=[];return e.each(function(e){0===e.getName()?oe.push(a(e)):oe.push(',',Pd(Sd([vd,a(e)])))},'expressions'),wd(Sd(oe))}return wd(Sd([Td(Sd([',',vd]),e.map(a,'expressions'))]))}case'ThisExpression':return'this';case'Super':return'super';case'NullLiteral':return'null';case'RegExpLiteral':return ar(s);case'NumericLiteral':return ld(s.extra.raw);case'BooleanLiteral':case'StringLiteral':case'Literal':{if(s.regex)return ar(s.regex);if('number'==typeof s.value)return ld(s.raw);if('string'!=typeof s.value)return''+s.value;var se=e.getParentNode(1),ie='typescript'===t.parser&&'string'==typeof s.value&&se&&('Program'===se.type||'BlockStatement'===se.type);return nr(s,t,ie)}case'Directive':return e.call(a,'value');case'DirectiveLiteral':return nr(s,t);case'UnaryExpression':return p.push(s.operator),/[a-z]$/.test(s.operator)&&p.push(' '),p.push(e.call(a,'argument')),Sd(p);case'UpdateExpression':return p.push(e.call(a,'argument'),s.operator),s.prefix&&p.reverse(),Sd(p);case'ConditionalExpression':return da(e,t,a,{beforeParts:function(){return[e.call(a,'test')]},afterParts:function(e){return[e?Cd:'']}});case'VariableDeclaration':{var le=e.map(function(e){return a(e)},'declarations'),pe=e.getParentNode(),ce='ForStatement'===pe.type||'ForInStatement'===pe.type||'ForOfStatement'===pe.type||'ForAwaitStatement'===pe.type,de=s.declarations.some(function(e){return e.init}),ue;return 1===le.length?ue=le[0]:1<le.length&&(ue=Pd(le[0])),p=[vr(s,t)?'declare ':'',s.kind,ue?Sd([' ',ue]):'',Pd(Sd(le.slice(1).map(function(e){return Sd([',',de&&!ce?Nd:vd,e])})))],ce&&pe.body!==s||p.push(l),wd(Sd(p))}case'VariableDeclarator':return er(s.id,Sd([e.call(a,'id'),e.call(a,'typeParameters')]),' =',s.init,s.init&&e.call(a,'init'),t);case'WithStatement':return wd(Sd(['with (',e.call(a,'object'),')',tr(s.body,e.call(a,'body'))]));case'IfStatement':{var me=tr(s.consequent,e.call(a,'consequent')),ye=wd(Sd(['if (',wd(Sd([Pd(Sd([Cd,e.call(a,'test')])),Cd])),')',me]));if(p.push(ye),s.alternate){var ge=sr(s.consequent)&&s.consequent.comments.some(function(e){return e.trailing&&!Yc.isBlockComment(e)})||Ir(s),he='BlockStatement'===s.consequent.type&&!ge;p.push(he?' ':Nd),kr(s)&&p.push(dc.printDanglingComments(e,t,!0),ge?Nd:' '),p.push('else',wd(tr(s.alternate,e.call(a,'alternate'),'IfStatement'===s.alternate.type)))}return Sd(p)}case'ForStatement':{var fe=tr(s.body,e.call(a,'body')),xe=dc.printDanglingComments(e,t,!0),Ee=xe?Sd([xe,Cd]):'';return s.init||s.test||s.update?Sd([Ee,wd(Sd(['for (',wd(Sd([Pd(Sd([Cd,e.call(a,'init'),';',vd,e.call(a,'test'),';',vd,e.call(a,'update')])),Cd])),')',fe]))]):Sd([Ee,wd(Sd(['for (;;)',fe]))])}case'WhileStatement':return wd(Sd(['while (',wd(Sd([Pd(Sd([Cd,e.call(a,'test')])),Cd])),')',tr(s.body,e.call(a,'body'))]));case'ForInStatement':return wd(Sd([s.each?'for each (':'for (',e.call(a,'left'),' in ',e.call(a,'right'),')',tr(s.body,e.call(a,'body'))]));case'ForOfStatement':case'ForAwaitStatement':{var be='ForAwaitStatement'===s.type||s.await;return wd(Sd(['for',be?' await':'',' (',e.call(a,'left'),' of ',e.call(a,'right'),')',tr(s.body,e.call(a,'body'))]))}case'DoWhileStatement':{var Se=tr(s.body,e.call(a,'body')),Te=wd(Sd(['do',Se]));return p=[Te],'BlockStatement'===s.body.type?p.push(' '):p.push(Nd),p.push('while ('),p.push(wd(Sd([Pd(Sd([Cd,e.call(a,'test')])),Cd])),')',l),Sd(p)}case'DoExpression':return Sd(['do ',e.call(a,'body')]);case'BreakStatement':return p.push('break'),s.label&&p.push(' ',e.call(a,'label')),p.push(l),Sd(p);case'ContinueStatement':return p.push('continue'),s.label&&p.push(' ',e.call(a,'label')),p.push(l),Sd(p);case'LabeledStatement':return'EmptyStatement'===s.body.type?Sd([e.call(a,'label'),':;']):Sd([e.call(a,'label'),': ',e.call(a,'body')]);case'TryStatement':return Sd(['try ',e.call(a,'block'),s.handler?Sd([' ',e.call(a,'handler')]):'',s.finalizer?Sd([' finally ',e.call(a,'finalizer')]):'']);case'CatchClause':return Sd(['catch ',s.param?Sd(['(',e.call(a,'param'),') ']):'',e.call(a,'body')]);case'ThrowStatement':return Sd(['throw ',e.call(a,'argument'),l]);case'SwitchStatement':return Sd([wd(Sd(['switch (',Pd(Sd([Cd,e.call(a,'discriminant')])),Cd,')'])),' {',0<s.cases.length?Pd(Sd([Nd,Td(Nd,e.map(function(e){var n=e.getValue();return Sd([e.call(a),s.cases.indexOf(n)!==s.cases.length-1&&gd(t.originalText,n,t)?Nd:''])},'cases'))])):'',Nd,'}']);case'SwitchCase':{s.test?p.push('case ',e.call(a,'test'),':'):p.push('default:');var ve=s.consequent.filter(function(e){return'EmptyStatement'!==e.type});if(0<ve.length){var Ne=e.call(function(e){return ya(e,t,a)},'consequent');p.push(1===ve.length&&'BlockStatement'===ve[0].type?Sd([' ',Ne]):Pd(Sd([Nd,Ne])))}return Sd(p)}case'DebuggerStatement':return Sd(['debugger',l]);case'JSXAttribute':if(p.push(e.call(a,'name')),s.value){var Ce;if(Lr(s.value)){var Ae=zr(s.value);Ce='"'+Ae.slice(1,-1).replace(/"/g,'&quot;')+'"'}else Ce=e.call(a,'value');p.push('=',Ce)}return Sd(p);case'JSXIdentifier':return s.name?''+s.name:'this';case'JSXNamespacedName':return Td(':',[e.call(a,'namespace'),e.call(a,'name')]);case'JSXMemberExpression':return Td('.',[e.call(a,'object'),e.call(a,'property')]);case'TSQualifiedName':return Td('.',[e.call(a,'left'),e.call(a,'right')]);case'JSXSpreadAttribute':case'JSXSpreadChild':return Sd(['{',e.call(function(e){var r=Sd(['...',a(e)]),o=e.getValue();return o.comments&&o.comments.length?Sd([Pd(Sd([Cd,dc.printComments(e,function(){return r},t)])),Cd]):r},'JSXSpreadAttribute'===s.type?'argument':'expression'),'}']);case'JSXExpressionContainer':{var we=e.getParentNode(0),Pe='JSXAttribute'===we.type&&s.expression.comments&&0<s.expression.comments.length,ke=!Pe&&('ArrayExpression'===s.expression.type||'ObjectExpression'===s.expression.type||'ArrowFunctionExpression'===s.expression.type||'CallExpression'===s.expression.type||'OptionalCallExpression'===s.expression.type||'FunctionExpression'===s.expression.type||'JSXEmptyExpression'===s.expression.type||'TemplateLiteral'===s.expression.type||'TaggedTemplateExpression'===s.expression.type||'DoExpression'===s.expression.type||qa(we)&&('ConditionalExpression'===s.expression.type||$a(s.expression)));return ke?wd(Sd(['{',e.call(a,'expression'),jd,'}'])):wd(Sd(['{',Pd(Sd([Cd,e.call(a,'expression')])),Cd,jd,'}']))}case'JSXFragment':case'TSJsxFragment':case'JSXElement':{var Ie=dc.printComments(e,function(){return za(e,t,a)},t);return Ka(e,Ie)}case'JSXOpeningElement':{var Oe=e.getValue(),De=Oe.name&&Oe.name.comments&&0<Oe.name.comments.length;if(Oe.selfClosing&&!Oe.attributes.length&&!De)return Sd(['<',e.call(a,'name'),e.call(a,'typeParameters'),' />']);if(Oe.attributes&&1===Oe.attributes.length&&Oe.attributes[0].value&&Lr(Oe.attributes[0].value)&&!Oe.attributes[0].value.value.includes('\n')&&!De&&(!Oe.attributes[0].comments||!Oe.attributes[0].comments.length))return wd(Sd(['<',e.call(a,'name'),e.call(a,'typeParameters'),' ',Sd(e.map(a,'attributes')),Oe.selfClosing?' />':'>']));var Le=Oe.attributes.length&&sr(od(Oe.attributes)),je=t.jsxBracketSameLine&&(!De||Oe.attributes.length)&&!Le,Re=Oe.attributes&&Oe.attributes.some(function(e){return e.value&&Lr(e.value)&&e.value.value.includes('\n')});return wd(Sd(['<',e.call(a,'name'),e.call(a,'typeParameters'),Sd([Pd(Sd(e.map(function(e){return Sd([vd,a(e)])},'attributes'))),Oe.selfClosing?vd:je?'>':Cd]),Oe.selfClosing?'/>':je?'':'>']),{shouldBreak:Re})}case'JSXClosingElement':return Sd(['</',e.call(a,'name'),'>']);case'JSXOpeningFragment':case'JSXClosingFragment':case'TSJsxOpeningFragment':case'TSJsxClosingFragment':{var Me=s.comments&&s.comments.length,Fe=Me&&!s.comments.every(Yc.isBlockComment),_e='JSXOpeningFragment'===s.type||'TSJsxOpeningFragment'===s.type;return Sd([_e?'<':'</',Pd(Sd([Fe?Nd:Me&&!_e?' ':'',dc.printDanglingComments(e,t,!0)])),Fe?Nd:'','>'])}case'JSXText':throw new Error('JSXTest should be handled by JSXElement');case'JSXEmptyExpression':{var Ve=s.comments&&!s.comments.every(Yc.isBlockComment);return Sd([dc.printDanglingComments(e,t,!Ve),Ve?Nd:''])}case'ClassBody':return s.comments||0!==s.body.length?Sd(['{',0<s.body.length?Pd(Sd([Nd,e.call(function(e){return ya(e,t,a)},'body')])):dc.printDanglingComments(e,t),Nd,'}']):'{}';case'ClassProperty':case'TSAbstractClassProperty':case'ClassPrivateProperty':{s.accessibility&&p.push(s.accessibility+' '),s.static&&p.push('static '),'TSAbstractClassProperty'===s.type&&p.push('abstract '),s.readonly&&p.push('readonly ');var qe=Da(s);return qe&&p.push(qe),s.computed?p.push('[',e.call(a,'key'),']'):p.push(ga(e,t,a)),p.push(Ta(e,t,a)),s.value&&p.push(' =',Za(s.key,s.value,e.call(a,'value'),t)),p.push(l),wd(Sd(p))}case'ClassDeclaration':case'ClassExpression':case'TSAbstractClassDeclaration':return vr(s,t)&&p.push('declare '),p.push(Sd(Ra(e,t,a))),Sd(p);case'TSInterfaceHeritage':return p.push(e.call(a,'id')),s.typeParameters&&p.push(e.call(a,'typeParameters')),Sd(p);case'TemplateElement':return Td(Ad,s.value.raw.split(/\r?\n/g));case'TemplateLiteral':{var Be=e.map(a,'expressions'),We=e.getParentNode(),Je=/^[xf]?(describe|it|test)$/;if('TaggedTemplateExpression'===We.type&&We.quasi===s&&'MemberExpression'===We.tag.type&&'Identifier'===We.tag.property.type&&'each'===We.tag.property.name&&('Identifier'===We.tag.object.type&&Je.test(We.tag.object.name)||'MemberExpression'===We.tag.object.type&&'Identifier'===We.tag.object.property.type&&('only'===We.tag.object.property.name||'skip'===We.tag.object.property.name)&&'Identifier'===We.tag.object.object.type&&Je.test(We.tag.object.object.name))){var Ue=s.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(1<Ue.length||Ue.some(function(e){return 0!==e.length})){for(var Xe=Be.map(function(e){return'${'+Wd(e,Object.assign({},t,{printWidth:Infinity})).formatted+'}'}),Ge=[{hasLineBreak:!1,cells:[]}],ze=1;ze<s.quasis.length;ze++){var Ke=Ge[Ge.length-1],$e=Xe[ze-1];Ke.cells.push($e),-1!==$e.indexOf('\n')&&(Ke.hasLineBreak=!0),-1!==s.quasis[ze].value.raw.indexOf('\n')&&Ge.push({hasLineBreak:!1,cells:[]})}var He=Ge.reduce(function(e,t){return js(e,t.cells.length)},Ue.length),Ye=Array.from(Array(He),function(){return 0}),Qe=[{cells:Ue}].concat(Ge.filter(function(e){return 0!==e.cells.length}));return Qe.filter(function(e){return!e.hasLineBreak}).forEach(function(e){e.cells.forEach(function(e,t){Ye[t]=js(Ye[t],sd(e))})}),p.push('`',Pd(Sd([Nd,Td(Nd,Qe.map(function(e){return Td(' | ',e.cells.map(function(t,n){return e.hasLineBreak?t:t+' '.repeat(Ye[n]-sd(t))}))}))])),Nd,'`'),Sd(p)}}return p.push('`'),e.each(function(e){var n=e.getName();if(p.push(a(e)),n<Be.length){var r=t.tabWidth,o=yd(e.getValue().value.raw,r),i=Be[n];(s.expressions[n].comments&&s.expressions[n].comments.length||'MemberExpression'===s.expressions[n].type||'OptionalMemberExpression'===s.expressions[n].type||'ConditionalExpression'===s.expressions[n].type)&&(i=Sd([Pd(Sd([Cd,i])),Cd]));var l=Rd(i,o,r);p.push(wd(Sd(['${',l,jd,'}'])))}},'quasis'),p.push('`'),Sd(p)}case'TaggedTemplateExpression':return Sd([e.call(a,'tag'),e.call(a,'typeParameters'),e.call(a,'quasi')]);case'Node':case'Printable':case'SourceLocation':case'Position':case'Statement':case'Function':case'Pattern':case'Expression':case'Declaration':case'Specifier':case'NamedSpecifier':case'Comment':case'MemberTypeAnnotation':case'Type':throw new Error('unprintable type: '+JSON.stringify(s.type));case'TypeAnnotation':case'TSTypeAnnotation':return s.typeAnnotation?e.call(a,'typeAnnotation'):'';case'TSTupleType':case'TupleTypeAnnotation':{var Ze='TSTupleType'===s.type?'elementTypes':'types';return wd(Sd(['[',Pd(Sd([Cd,Pr(e,t,Ze,a)])),'TSTupleType'===s.type?'':Dd(ia(t)?',':''),dc.printDanglingComments(e,t,!0),Cd,']']))}case'ExistsTypeAnnotation':return'*';case'EmptyTypeAnnotation':return'empty';case'AnyTypeAnnotation':return'any';case'MixedTypeAnnotation':return'mixed';case'ArrayTypeAnnotation':return Sd([e.call(a,'elementType'),'[]']);case'BooleanTypeAnnotation':return'boolean';case'BooleanLiteralTypeAnnotation':return''+s.value;case'DeclareClass':return Oa(e,Ra(e,t,a));case'DeclareFunction':return s.params?Sd(['declare ',wa(e,a,t),l]):Oa(e,['function ',e.call(a,'id'),s.predicate?' ':'',e.call(a,'predicate'),l]);case'DeclareModule':return Oa(e,['module ',e.call(a,'id'),' ',e.call(a,'body')]);case'DeclareModuleExports':return Oa(e,['module.exports',': ',e.call(a,'typeAnnotation'),l]);case'DeclareVariable':return Oa(e,['var ',e.call(a,'id'),l]);case'DeclareExportAllDeclaration':return Sd(['declare export * from ',e.call(a,'source')]);case'DeclareExportDeclaration':return Sd(['declare ',Ia(e,t,a)]);case'DeclareOpaqueType':case'OpaqueType':return p.push('opaque type ',e.call(a,'id'),e.call(a,'typeParameters')),s.supertype&&p.push(': ',e.call(a,'supertype')),s.impltype&&p.push(' = ',e.call(a,'impltype')),p.push(l),'DeclareOpaqueType'===s.type?Oa(e,p):Sd(p);case'FunctionTypeAnnotation':case'TSFunctionType':{var et=e.getParentNode(0),tt=e.getParentNode(1),nt=e.getParentNode(2),at='TSFunctionType'===s.type||('ObjectTypeProperty'!==et.type||Da(et)||et.optional||t.locStart(et)!==t.locStart(s))&&'ObjectTypeCallProperty'!==et.type&&(!nt||'DeclareFunction'!==nt.type),rt=at&&('TypeAnnotation'===et.type||'TSTypeAnnotation'===et.type),ot=rt&&at&&('TypeAnnotation'===et.type||'TSTypeAnnotation'===et.type)&&'ArrowFunctionExpression'===tt.type;return xr(et,t)&&(at=!0,rt=!0),ot&&p.push('('),p.push(Na(e,a,t,!1,!0)),(s.returnType||s.predicate||s.typeAnnotation)&&p.push(at?' => ':': ',e.call(a,'returnType'),e.call(a,'predicate'),e.call(a,'typeAnnotation')),ot&&p.push(')'),wd(Sd(p))}case'FunctionTypeParam':return Sd([e.call(a,'name'),Ma(e),s.name?': ':'',e.call(a,'typeAnnotation')]);case'GenericTypeAnnotation':return Sd([e.call(a,'id'),e.call(a,'typeParameters')]);case'DeclareInterface':case'InterfaceDeclaration':case'InterfaceType':case'InterfaceTypeAnnotation':return('DeclareInterface'===s.type||vr(s,t))&&p.push('declare '),p.push('interface'),('DeclareInterface'===s.type||'InterfaceDeclaration'===s.type)&&p.push(' ',e.call(a,'id'),e.call(a,'typeParameters')),0<s['extends'].length&&p.push(wd(Pd(Sd([vd,'extends ',Td(', ',e.map(a,'extends'))])))),p.push(' ',e.call(a,'body')),wd(Sd(p));case'ClassImplements':case'InterfaceExtends':return Sd([e.call(a,'id'),e.call(a,'typeParameters')]);case'TSIntersectionType':case'IntersectionTypeAnnotation':{for(var st=e.map(a,'types'),it=[],lt=!1,pt=0;pt<st.length;++pt)0===pt?it.push(st[pt]):jr(s.types[pt-1])&&jr(s.types[pt])?it.push(Sd([' & ',lt?Pd(st[pt]):st[pt]])):jr(s.types[pt-1])||jr(s.types[pt])?(1<pt&&(lt=!0),it.push(' & ',1<pt?Pd(st[pt]):st[pt])):it.push(Pd(Sd([' &',vd,st[pt]])));return wd(Sd(it))}case'TSUnionType':case'UnionTypeAnnotation':{var ct=e.getParentNode(),dt=e.getParentNode(1),ut='TypeParameterInstantiation'!==ct.type&&'TSTypeParameterInstantiation'!==ct.type&&'GenericTypeAnnotation'!==ct.type&&'TSTypeReference'!==ct.type&&('FunctionTypeParam'!==ct.type||ct.name)&&'TSTypeAssertionExpression'!==dt.type&&!(('TypeAlias'===ct.type||'VariableDeclarator'===ct.type)&&ir(t.originalText,s,t)),mt=Nr(s),yt=e.map(function(e){var n=e.call(a);return mt||(n=kd(2,n)),dc.printComments(e,function(){return n},t)},'types');if(mt)return Td(' | ',yt);var gt=Sd([Dd(Sd([ut?vd:'','| '])),Td(Sd([vd,'| ']),yt)]),ht;if('TSUnionType'===s.type){var ft=e.getParentNode(2),xt=e.getParentNode(3);ht=ft&&'TSParenthesizedType'===ft.type&&xt&&('TSUnionType'===xt.type||'TSIntersectionType'===xt.type)}else ht=Qc(e,t);return ht?wd(Sd([Pd(gt),Cd])):wd(ut?Pd(gt):gt)}case'NullableTypeAnnotation':return Sd(['?',e.call(a,'typeAnnotation')]);case'TSNullKeyword':case'NullLiteralTypeAnnotation':return'null';case'ThisTypeAnnotation':return'this';case'NumberTypeAnnotation':return'number';case'ObjectTypeCallProperty':return s.static&&p.push('static '),p.push(e.call(a,'value')),Sd(p);case'ObjectTypeIndexer':{var Et=Da(s);return Sd([Et||'','[',e.call(a,'id'),s.id?': ':'',e.call(a,'key'),']: ',e.call(a,'value')])}case'ObjectTypeProperty':{var bt=Da(s),St='';return s.proto?St='proto ':s.static&&(St='static '),Sd([St,br(s)?s.kind+' ':'',bt||'',ga(e,t,a),Ma(e),Er(s,t)?'':': ',e.call(a,'value')])}case'QualifiedTypeIdentifier':return Sd([e.call(a,'qualification'),'.',e.call(a,'id')]);case'StringLiteralTypeAnnotation':return nr(s,t);case'NumberLiteralTypeAnnotation':return rp.strictEqual(r(s.value),'number'),null==s.extra?ld(s.raw):ld(s.extra.raw);case'StringTypeAnnotation':return'string';case'DeclareTypeAlias':case'TypeAlias':{('DeclareTypeAlias'===s.type||vr(s,t))&&p.push('declare ');var Tt=Za(s.id,s.right,e.call(a,'right'),t);return p.push('type ',e.call(a,'id'),e.call(a,'typeParameters'),' =',Tt,l),wd(Sd(p))}case'TypeCastExpression':return Sd(['(',e.call(a,'expression'),': ',e.call(a,'typeAnnotation'),')']);case'TypeParameterDeclaration':case'TypeParameterInstantiation':case'TSTypeParameterDeclaration':case'TSTypeParameterInstantiation':return ja(e,t,a,'params');case'TSTypeParameter':case'TypeParameter':{var vt=e.getParentNode();if('TSMappedType'===vt.type)return p.push('[',e.call(a,'name')),s.constraint&&p.push(' in ',e.call(a,'constraint')),p.push(']'),Sd(p);var Nt=Da(s);return Nt&&p.push(Nt),p.push(e.call(a,'name')),s.bound&&(p.push(': '),p.push(e.call(a,'bound'))),s.constraint&&p.push(' extends ',e.call(a,'constraint')),s['default']&&p.push(' = ',e.call(a,'default')),Sd(p)}case'TypeofTypeAnnotation':return Sd(['typeof ',e.call(a,'argument')]);case'VoidTypeAnnotation':return'void';case'InferredPredicate':return'%checks';case'DeclaredPredicate':return Sd(['%checks(',e.call(a,'value'),')']);case'TSAbstractKeyword':return'abstract';case'TSAnyKeyword':return'any';case'TSAsyncKeyword':return'async';case'TSBooleanKeyword':return'boolean';case'TSConstKeyword':return'const';case'TSDeclareKeyword':return'declare';case'TSExportKeyword':return'export';case'TSNeverKeyword':return'never';case'TSNumberKeyword':return'number';case'TSObjectKeyword':return'object';case'TSProtectedKeyword':return'protected';case'TSPrivateKeyword':return'private';case'TSPublicKeyword':return'public';case'TSReadonlyKeyword':return'readonly';case'TSSymbolKeyword':return'symbol';case'TSStaticKeyword':return'static';case'TSStringKeyword':return'string';case'TSUndefinedKeyword':return'undefined';case'TSVoidKeyword':return'void';case'TSAsExpression':return Sd([e.call(a,'expression'),' as ',e.call(a,'typeAnnotation')]);case'TSArrayType':return Sd([e.call(a,'elementType'),'[]']);case'TSPropertySignature':return s.export&&p.push('export '),s.accessibility&&p.push(s.accessibility+' '),s.static&&p.push('static '),s.readonly&&p.push('readonly '),s.computed&&p.push('['),p.push(ga(e,t,a)),s.computed&&p.push(']'),p.push(Ma(e)),s.typeAnnotation&&(p.push(': '),p.push(e.call(a,'typeAnnotation'))),s.initializer&&p.push(' = ',e.call(a,'initializer')),Sd(p);case'TSParameterProperty':return s.accessibility&&p.push(s.accessibility+' '),s.export&&p.push('export '),s.static&&p.push('static '),s.readonly&&p.push('readonly '),p.push(e.call(a,'parameter')),Sd(p);case'TSTypeReference':return Sd([e.call(a,'typeName'),ja(e,t,a,'typeParameters')]);case'TSTypeQuery':return Sd(['typeof ',e.call(a,'exprName')]);case'TSParenthesizedType':return e.call(a,'typeAnnotation');case'TSIndexSignature':{var Ct=e.getParentNode();return Sd([s.export?'export ':'',s.accessibility?Sd([s.accessibility,' ']):'',s.static?'static ':'',s.readonly?'readonly ':'','[',e.call(a,'index'),']: ',e.call(a,'typeAnnotation'),'ClassBody'===Ct.type?l:''])}case'TSTypePredicate':return Sd([e.call(a,'parameterName'),' is ',e.call(a,'typeAnnotation')]);case'TSNonNullExpression':return Sd([e.call(a,'expression'),'!']);case'TSThisType':return'this';case'TSLastTypeNode':return Sd([s.isTypeOf?'typeof ':'','import(',e.call(a,'argument'),')',s.qualifier?Sd(['.',e.call(a,'qualifier')]):'']);case'TSLiteralType':return e.call(a,'literal');case'TSIndexedAccessType':return Sd([e.call(a,'objectType'),'[',e.call(a,'indexType'),']']);case'TSConstructSignature':case'TSConstructorType':case'TSCallSignature':{if('TSCallSignature'!==s.type&&p.push('new '),p.push(wd(Na(e,a,t,!1,!0))),s.typeAnnotation){var At='TSConstructorType'===s.type;p.push(At?' => ':': ',e.call(a,'typeAnnotation'))}return Sd(p)}case'TSTypeOperator':return Sd([s.operator,' ',e.call(a,'typeAnnotation')]);case'TSMappedType':return wd(Sd(['{',Pd(Sd([t.bracketSpacing?vd:Cd,s.readonlyToken?Sd([ua(s.readonlyToken,'readonly'),' ']):'',La(e,t,a),e.call(a,'typeParameter'),s.questionToken?ua(s.questionToken,'?'):'',': ',e.call(a,'typeAnnotation')])),dc.printDanglingComments(e,t,!0),t.bracketSpacing?vd:Cd,'}']));case'TSMethodSignature':return p.push(s.accessibility?Sd([s.accessibility,' ']):'',s.export?'export ':'',s.static?'static ':'',s.readonly?'readonly ':'',s.computed?'[':'',e.call(a,'key'),s.computed?']':'',Ma(e),Na(e,a,t,!1,!0)),s.typeAnnotation&&p.push(': ',e.call(a,'typeAnnotation')),wd(Sd(p));case'TSNamespaceExportDeclaration':return p.push('export as namespace ',e.call(a,'name')),t.semi&&p.push(';'),wd(Sd(p));case'TSEnumDeclaration':return vr(s,t)&&p.push('declare '),s.modifiers&&p.push(La(e,t,a)),s.const&&p.push('const '),p.push('enum ',e.call(a,'id'),' '),0===s.members.length?p.push(wd(Sd(['{',dc.printDanglingComments(e,t),Cd,'}']))):p.push(wd(Sd(['{',Pd(Sd([Nd,Pr(e,t,'members',a),ia(t,'es5')?',':''])),dc.printDanglingComments(e,t,!0),Nd,'}']))),Sd(p);case'TSEnumMember':return p.push(e.call(a,'id')),s.initializer&&p.push(' = ',e.call(a,'initializer')),Sd(p);case'TSImportEqualsDeclaration':return p.push(La(e,t,a),'import ',e.call(a,'name'),' = ',e.call(a,'moduleReference')),t.semi&&p.push(';'),wd(Sd(p));case'TSExternalModuleReference':return Sd(['require(',e.call(a,'expression'),')']);case'TSModuleDeclaration':{var wt=e.getParentNode(),Pt=Or(s.id),kt='TSModuleDeclaration'===wt.type,It=s.body&&'TSModuleDeclaration'===s.body.type;if(kt)p.push('.');else{!0===s.declare&&p.push('declare '),p.push(La(e,t,a));var Ot='Identifier'===s.id.type&&'global'===s.id.name&&!/namespace|module/.test(t.originalText.slice(t.locStart(s),t.locStart(s.id)));Ot||p.push(Pt?'module ':'namespace ')}return p.push(e.call(a,'id')),It?p.push(e.call(a,'body')):s.body?p.push(' {',Pd(Sd([vd,e.call(function(e){return dc.printDanglingComments(e,t,!0)},'body'),wd(e.call(a,'body'))])),vd,'}'):p.push(l),Sd(p)}case'TSModuleBlock':return e.call(function(e){return ya(e,t,a)},'body');case'PrivateName':return Sd(['#',e.call(a,'id')]);case'TSConditionalType':return da(e,t,a,{beforeParts:function(){return[e.call(a,'checkType'),' ','extends',' ',e.call(a,'extendsType')]},shouldCheckJsx:!1,operatorName:'TSConditionalType',consequentNode:'trueType',alternateNode:'falseType',testNode:'checkType',breakNested:!1});case'TSInferType':return Sd(['infer',' ',e.call(a,'typeParameter')]);case'InterpreterDirective':return p.push('#!',s.value,Nd),gd(t.originalText,s,t)&&p.push(Nd),Sd(p);default:throw new Error('unknown type: '+JSON.stringify(s.type));}}function ya(e,t,n){var a=[],r=e.getNode(),o='ClassBody'===r.type;return e.map(function(e,s){var i=e.getValue();if(i&&'EmptyStatement'!==i.type){var l=n(e),p=t.originalText,c=[];if(t.semi||o||Br(t,e)||!mr(e,t)?c.push(l):i.comments&&i.comments.some(function(e){return e.leading})?c.push(n(e,{needsSemi:!0})):c.push(';',l),!t.semi&&o)if(yr(e))c.push(';');else if('ClassProperty'===i.type){var d=r.body[s+1];gr(d)&&c.push(';')}gd(p,i,t)&&!rr(e)&&c.push(Nd),a.push(Sd(c))}}),Td(Nd,a)}function ga(e,t,n){var a=e.getNode(),r=a.key;return'Identifier'!==r.type||a.computed||'json'!==t.parser?Lr(r)&&xd(r.value)&&!a.computed&&'json'!==t.parser&&('typescript'!==t.parser||'ClassProperty'!==a.type)?e.call(function(e){return dc.printComments(e,function(){return r.value},t)},'key'):e.call(n,'key'):e.call(function(e){return dc.printComments(e,function(){return JSON.stringify(r.name)},t)},'key')}function ha(e,t,n){var a=e.getNode(),r=t.semi?';':'',o=a.kind,s=[];('ObjectMethod'===a.type||'ClassMethod'===a.type)&&(a.value=a),a.value.async&&s.push('async '),o&&'init'!==o&&'method'!==o&&'constructor'!==o?(rp.ok('get'===o||'set'===o),s.push(o,' ')):a.value.generator&&s.push('*');var i=ga(e,t,n);return a.computed&&(i=Sd(['[',i,']'])),s.push(i,Sd(e.call(function(e){return[va(e,t,n),wd(Sd([Na(e,n,t),ka(e,n,t)]))]},'value'))),a.value.body&&0!==a.value.body.length?s.push(' ',e.call(n,'value','body')):s.push(r),Sd(s)}function fa(e){return'ObjectExpression'===e.type&&(0<e.properties.length||e.comments)||'ArrayExpression'===e.type&&(0<e.elements.length||e.comments)||'TSTypeAssertionExpression'===e.type||'TSAsExpression'===e.type||'FunctionExpression'===e.type||'ArrowFunctionExpression'===e.type&&!e.returnType&&('BlockStatement'===e.body.type||'ArrowFunctionExpression'===e.body.type||'ObjectExpression'===e.body.type||'ArrayExpression'===e.body.type||'CallExpression'===e.body.type||'OptionalCallExpression'===e.body.type||qa(e.body))}function xa(e){var t=od(e),n=ud(e);return!or(t)&&!sr(t)&&fa(t)&&(!n||n.type!==t.type)}function Ea(e){if(2!==e.length)return!1;var t=e[0],n=e[1];return(!t.comments||!t.comments.length)&&('FunctionExpression'===t.type||'ArrowFunctionExpression'===t.type&&'BlockStatement'===t.body.type)&&!fa(n)}function ba(e){switch(e.type){case'OptionalMemberExpression':case'MemberExpression':return ba(e.property);case'Identifier':return Jd.has(e.name);case'StringLiteral':case'Literal':return Jd.has(e.value);}}function Sa(e,t,n){function a(){return wd(Sd(['(',Pd(Sd([vd,Sd(c)])),d,vd,')']),{shouldBreak:!0})}var r=e.getValue(),o=r.arguments;if(0===o.length)return Sd(['(',dc.printDanglingComments(e,t,!0),')']);var s=!1,l=!1,p=o.length-1,c=e.map(function(e,a){var r=e.getNode(),o=[n(e)];return a===p||(gd(t.originalText,r,t)?(0===a&&(l=!0),s=!0,o.push(',',Nd,Nd)):o.push(',',vd)),Sd(o)},'arguments'),d=ia(t,'all')?',':'';if(ba(r.callee)&&1<o.length)return a();var u=Ea(o),m=xa(o);if(u||m){var y=(u?c.slice(1).some(_d):c.slice(0,-1).some(_d))||s,g=0,i;e.each(function(e){u&&0==g&&(i=[Sd([e.call(function(e){return n(e,{expandFirstArg:!0})}),1<c.length?',':'',l?Nd:vd,l?Nd:''])].concat(c.slice(1))),m&&g==o.length-1&&(i=c.slice(0,-1).concat(e.call(function(e){return n(e,{expandLastArg:!0})}))),g++},'arguments');var h=c.some(_d);return Sd([h?Ld:'',Id([Sd([Dd(Pd(Sd(['(',Cd,Sd(i)])),Sd(['(',Sd(i)])),h?Sd([Dd(d),Cd]):'',')']),u?Sd(['(',wd(i[0],{shouldBreak:!0}),Sd(i.slice(1)),')']):Sd(['(',Sd(c.slice(0,-1)),wd(od(i),{shouldBreak:!0}),')']),a()],{shouldBreak:y})])}return wd(Sd(['(',Pd(Sd([Cd,Sd(c)])),Dd(ia(t,'all')?',':''),Cd,')']),{shouldBreak:c.some(_d)||s})}function Ta(e,t,n){var a=e.getValue();if(!a.typeAnnotation)return'';var r=e.getParentNode(),o=a.definite||r&&'VariableDeclarator'===r.type&&r.definite,s='DeclareFunction'===r.type&&r.id===a;return pr(t.originalText,a.typeAnnotation,t)?Sd([' /*: ',e.call(n,'typeAnnotation'),' */']):Sd([s?'':o?'!: ':': ',e.call(n,'typeAnnotation')])}function va(e,t,n){var a=e.getValue();return a.typeArguments?e.call(n,'typeArguments'):a.typeParameters?e.call(n,'typeParameters'):''}function Na(e,t,n,a,r){var o=e.getValue(),s=o.parameters?'parameters':'params',i=r?va(e,n,t):'',l=[];if(o[s]&&(l=e.map(t,s)),o.rest&&l.push(Sd(['...',e.call(t,'rest')])),0===l.length)return Sd([i,'(',dc.printDanglingComments(e,n,!0,function(e){return')'===nd(n.originalText,e,n.locEnd)}),')']);var p=od(o[s]);if(a&&!(o[s]&&o[s].some(function(e){return e.comments})))return wd(Sd([Bd(i),'(',Td(', ',l.map(Bd)),')']));if(Cr(o))return Sd([i,'(',Td(', ',l),')']);var c=e.getParentNode();if(Rr(c))return Sd([i,'(',Td(', ',l),')']);var d=(xr(c,n)||Tr(c,n)||'TypeAlias'===c.type||'UnionTypeAnnotation'===c.type||'TSUnionType'===c.type||'IntersectionTypeAnnotation'===c.type||'FunctionTypeAnnotation'===c.type&&c.returnType===o)&&1===o[s].length&&null===o[s][0].name&&o[s][0].typeAnnotation&&null===o.typeParameters&&-1!==['AnyTypeAnnotation','NullLiteralTypeAnnotation','GenericTypeAnnotation','ThisTypeAnnotation','NumberTypeAnnotation','VoidTypeAnnotation','EmptyTypeAnnotation','MixedTypeAnnotation','BooleanTypeAnnotation','BooleanLiteralTypeAnnotation','StringTypeAnnotation'].indexOf(o[s][0].typeAnnotation.type)&&!('GenericTypeAnnotation'===o[s][0].typeAnnotation.type&&o[s][0].typeAnnotation.typeParameters)&&!o.rest;if(d)return'always'===n.arrowParens?Sd(['(',Sd(l),')']):Sd(l);var u=!(p&&'RestElement'===p.type)&&!o.rest;return Sd([i,'(',Pd(Sd([Cd,Td(Sd([',',vd]),l)])),Dd(u&&ia(n,'all')?',':''),Cd,')'])}function Ca(e,t){if('always'===t.arrowParens)return!1;if('avoid'===t.arrowParens){var n=e.getValue();return Aa(n)}return!1}function Aa(e){return 1===e.params.length&&!e.rest&&!e.typeParameters&&!kr(e)&&'Identifier'===e.params[0].type&&!e.params[0].typeAnnotation&&!e.params[0].comments&&!e.params[0].optional&&!e.predicate&&!e.returnType}function wa(e,t,a){var r=e.getValue(),n=[];return r.async&&n.push('async '),n.push('function'),r.generator&&n.push('*'),r.id&&n.push(' ',e.call(t,'id')),n.push(va(e,a,t),wd(Sd([Na(e,t,a),ka(e,t,a)])),r.body?' ':'',e.call(t,'body')),Sd(n)}function Pa(e,t,n){var a=e.getValue(),r=[];if(a.async&&r.push('async '),a.generator&&r.push('*'),a.method||'get'===a.kind||'set'===a.kind)return ha(e,t,n);var o=ga(e,t,n);return a.computed?r.push('[',o,']'):r.push(o),r.push(va(e,t,n),wd(Sd([Na(e,n,t),ka(e,n,t)])),' ',e.call(n,'body')),Sd(r)}function ka(e,t,a){var r=e.getValue(),n=e.call(t,'returnType');if(r.returnType&&pr(a.originalText,r.returnType,a))return Sd([' /*: ',n,' */']);var o=[n];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(': '),r.predicate&&o.push(r.returnType?' ':': ',e.call(t,'predicate')),Sd(o)}function Ia(e,t,n){var a=e.getValue(),r=t.semi?';':'',o=['export '],s=a['default']||'ExportDefaultDeclaration'===a.type;if(s&&o.push('default '),o.push(dc.printDanglingComments(e,t,!0)),Ir(a)&&o.push(Nd),a.declaration)o.push(e.call(n,'declaration')),s&&'ClassDeclaration'!==a.declaration.type&&'FunctionDeclaration'!==a.declaration.type&&'TSAbstractClassDeclaration'!==a.declaration.type&&'TSInterfaceDeclaration'!==a.declaration.type&&'DeclareClass'!==a.declaration.type&&'DeclareFunction'!==a.declaration.type&&o.push(r);else{if(a.specifiers&&0<a.specifiers.length){var i=[],l=[],p=[];e.each(function(t){var a=e.getValue().type;'ExportSpecifier'===a?i.push(n(t)):'ExportDefaultSpecifier'===a?l.push(n(t)):'ExportNamespaceSpecifier'===a&&p.push(Sd(['* as ',n(t)]))},'specifiers');var c=0!==p.length&&0!==i.length,d=0!==l.length&&(0!==p.length||0!==i.length);o.push('type'===a.exportKind?'type ':'',Sd(l),Sd([d?', ':'']),Sd(p),Sd([c?', ':'']),0===i.length?'':wd(Sd(['{',Pd(Sd([t.bracketSpacing?vd:Cd,Td(Sd([',',vd]),i)])),Dd(ia(t)?',':''),t.bracketSpacing?vd:Cd,'}'])))}else o.push('{}');a.source&&o.push(' from ',e.call(n,'source')),o.push(r)}return Sd(o)}function Oa(e,t){var n=Zc(e);return n?rp.strictEqual(n.type,'DeclareExportDeclaration'):t.unshift('declare '),Sd(t)}function Da(e){if(!e.variance)return null;var t=e.variance.kind||e.variance;return'plus'===t?'+':'minus'===t?'-':t}function La(e,t,a){var r=e.getValue();return r.modifiers&&r.modifiers.length?Sd([Td(' ',e.map(a,'modifiers')),' ']):''}function ja(e,t,a,r){var o=e.getValue();if(!o[r])return'';if(!Array.isArray(o[r]))return e.call(a,r);var n=e.getNode(2),s=null!=n&&Rr(n),i=s||0===o[r].length||1===o[r].length&&(Nr(o[r][0])||'GenericTypeAnnotation'===o[r][0].type&&Nr(o[r][0].id)||'TSTypeReference'===o[r][0].type&&Nr(o[r][0].typeName)||'NullableTypeAnnotation'===o[r][0].type);return i?Sd(['<',Td(', ',e.map(a,r)),'>']):wd(Sd(['<',Pd(Sd([Cd,Td(Sd([',',vd]),e.map(a,r))])),Dd('typescript'!==t.parser&&ia(t,'all')?',':''),Cd,'>']))}function Ra(e,t,a){var r=e.getValue(),n=[];'TSAbstractClassDeclaration'===r.type&&n.push('abstract '),n.push('class'),r.id&&n.push(' ',e.call(a,'id')),n.push(e.call(a,'typeParameters'));var o=[];if(r.superClass){var s=Sd(['extends ',e.call(a,'superClass'),e.call(a,'superTypeParameters')]);r.implements&&0!==r.implements.length||r.superClass.comments&&0!==r.superClass.comments.length?o.push(wd(Sd([vd,e.call(function(e){return dc.printComments(e,function(){return s},t)},'superClass')]))):n.push(Sd([' ',e.call(function(e){return dc.printComments(e,function(){return s},t)},'superClass')]))}else r.extends&&0<r.extends.length&&n.push(' extends ',Td(', ',e.map(a,'extends')));return r.mixins&&0<r.mixins.length&&o.push(vd,'mixins ',wd(Pd(Td(Sd([',',vd]),e.map(a,'mixins'))))),r['implements']&&0<r['implements'].length&&o.push(vd,'implements',wd(Pd(Sd([vd,Td(Sd([',',vd]),e.map(a,'implements'))])))),0<o.length&&n.push(wd(Pd(Sd(o)))),r.body&&r.body.comments&&ir(t.originalText,r.body,t)?n.push(Nd):n.push(' '),n.push(e.call(a,'body')),n}function Ma(e){var t=e.getValue();return t.optional?'OptionalCallExpression'===t.type||'OptionalMemberExpression'===t.type&&t.computed?'?.':'?':''}function Fa(e,t,a){var r=e.call(a,'property'),o=e.getValue(),n=Ma(e);return o.computed?!o.property||Dr(o.property)?Sd([n,'[',r,']']):wd(Sd([n,'[',Pd(Sd([Cd,r])),Cd,']'])):Sd([n,'.',r])}function _a(e,t,n){return Sd(['::',e.call(n,'callee')])}function Va(e,t,n){function a(e){var n=t.originalText,a=fd(n,e,t),r=n.charAt(a);return')'==r?hd(n,a+1,t):gd(n,e,t)}function r(e){var o=e.getValue();('CallExpression'===o.type||'OptionalCallExpression'===o.type)&&(Ha(o.callee)||'CallExpression'===o.callee.type||'OptionalCallExpression'===o.callee.type)?(p.unshift({node:o,printed:Sd([dc.printComments(e,function(){return Sd([Ma(e),va(e,t,n),Sa(e,t,n)])},t),a(o)?Nd:''])}),e.call(function(e){return r(e)},'callee')):Ha(o)?(p.unshift({node:o,needsParens:Qc(e,t),printed:dc.printComments(e,function(){return'OptionalMemberExpression'===o.type||'MemberExpression'===o.type?Fa(e,t,n):_a(e,t,n)},t)}),e.call(function(e){return r(e)},'object')):'TSNonNullExpression'===o.type?(p.unshift({node:o,printed:dc.printComments(e,function(){return'!'},t)}),e.call(function(e){return r(e)},'expression')):p.unshift({node:o,printed:e.call(n)})}function o(e){return /^[A-Z]|^[_$]+$/.test(e)}function s(e){return e.length<=t.tabWidth}function l(e){for(var t=[],n=0;n<e.length;n++)e[n+1]&&e[n+1].needsParens?(t.push('(',e[n].printed,e[n+1].printed,')'),n++):t.push(e[n].printed);return Sd(t)}var p=[],c=e.getValue();p.unshift({node:c,printed:Sd([Ma(e),va(e,t,n),Sa(e,t,n)])}),e.call(function(e){return r(e)},'callee');for(var d=[],u=[p[0]],m=1;m<p.length&&('TSNonNullExpression'===p[m].node.type||'OptionalCallExpression'===p[m].node.type||'CallExpression'===p[m].node.type||('MemberExpression'===p[m].node.type||'OptionalMemberExpression'===p[m].node.type)&&p[m].node.computed&&Dr(p[m].node.property));++m)u.push(p[m]);if('CallExpression'!==p[0].node.type&&'OptionalCallExpression'!==p[0].node.type)for(;m+1<p.length&&Ha(p[m].node)&&Ha(p[m+1].node);++m)u.push(p[m]);d.push(u),u=[];for(var i=!1;m<p.length;++m){if(i&&Ha(p[m].node)){if(p[m].node.computed&&Dr(p[m].node.property)){u.push(p[m]);continue}d.push(u),u=[],i=!1}('CallExpression'===p[m].node.type||'OptionalCallExpression'===p[m].node.type)&&(i=!0),u.push(p[m]),p[m].node.comments&&p[m].node.comments.some(function(e){return e.trailing})&&(d.push(u),u=[],i=!1)}0<u.length&&d.push(u);var y=2<=d.length&&!d[1][0].node.comments&&function(t){var n=e.getParentNode(),a=n&&'ExpressionStatement'===n.type,r=t[1].length&&t[1][0].node.computed;if(1===t[0].length){var i=t[0][0].node;return'ThisExpression'===i.type||'Identifier'===i.type&&(o(i.name)||a&&s(i.name)||r)}var l=od(t[0]).node;return('MemberExpression'===l.type||'OptionalMemberExpression'===l.type)&&'Identifier'===l.property.type&&(o(l.property.name)||r)}(d),g=d.map(l),h=Sd(g),f=y?3:2,x=d.slice(0,f).reduce(function(e,t){return e.concat(t)},[]),E=x.slice(1,-1).some(function(e){return or(e.node)})||x.slice(0,-1).some(function(e){return sr(e.node)})||d[f]&&or(d[f][0].node);if(d.length<=f&&!E)return wd(h);var b=od(y?d.slice(1,2)[0]:d[0]).node,S='CallExpression'!==b.type&&'OptionalCallExpression'!==b.type&&a(b),T=Sd([l(d[0]),y?Sd(d.slice(1,2).map(l)):'',S?Nd:'',function(e){return 0===e.length?'':Pd(wd(Sd([Nd,Td(Nd,e.map(l))])))}(d.slice(y?2:1))]),v=p.filter(function(e){return'CallExpression'===e.node.type||'OptionalCallExpression'===e.node.type}).length;return E||3<=v||g.slice(0,-1).some(_d)?wd(T):Sd([_d(h)||S?Ld:'',Id([h,T])])}function qa(e){return'JSXElement'===e.type||'JSXFragment'===e.type||'TSJsxFragment'===e.type}function Ba(e){if(0===e.children.length)return!0;if(1<e.children.length)return!1;var t=e.children[0];return Or(t)&&!Wa(t)}function Wa(e){return Or(e)&&(Xd.test(zr(e))||!/\n/.test(zr(e)))}function Ja(e){return!!Ua(e).find(qa)}function Ua(e){function t(e){'ConditionalExpression'===e.type?(t(e.test),t(e.consequent),t(e.alternate)):n.push(e)}var n=[];return t(e),n}function Xa(e){return'JSXExpressionContainer'===e.type&&Or(e.expression)&&' '===e.expression.value&&!e.expression.comments}function Ga(e,t,a,r){var o=e.getValue(),n=[];return e.map(function(e,t){var s=e.getValue();if(Or(s)){var i=zr(s);if(Wa(s)){var l=i.split(Gd);''===l[0]&&(n.push(''),l.shift(),/\n/.test(l[0])?n.push(Nd):n.push(r),l.shift());var p;if(''===od(l)&&(l.pop(),p=l.pop()),0===l.length)return;l.forEach(function(e,t){1==t%2?n.push(vd):n.push(e)}),void 0===p?n.push(''):/\n/.test(p)?n.push(Nd):n.push(r)}else /\n/.test(i)?1<i.match(/\n/g).length&&(n.push(''),n.push(Nd)):(n.push(''),n.push(r))}else{var c=a(e);n.push(c);var d=o.children[t+1],u=d&&Wa(d)&&!/^[ \n\r\t]/.test(zr(d));u?n.push(''):n.push(Nd)}},'children'),n}function za(e,t,a){var r=e.getValue();if('JSXElement'===r.type&&Ba(r))return r.openingElement.selfClosing=!0,e.call(a,'openingElement');var n='JSXElement'===r.type?e.call(a,'openingElement'):e.call(a,'openingFragment'),o='JSXElement'===r.type?e.call(a,'closingElement'):e.call(a,'closingFragment');if(1===r.children.length&&'JSXExpressionContainer'===r.children[0].type&&('TemplateLiteral'===r.children[0].expression.type||'TaggedTemplateExpression'===r.children[0].expression.type))return Sd([n,Sd(e.map(a,'children')),o]);r.children=r.children.map(function(e){return Xa(e)?{type:'JSXText',value:' ',raw:' '}:e});for(var s=0<r.children.filter(qa).length,l=1<r.children.filter(function(e){return'JSXExpressionContainer'===e.type}).length,p='JSXElement'===r.type&&1<r.openingElement.attributes.length,c=_d(n)||s||p||l,d=t.singleQuote?'{\' \'}':'{" "}',u=Dd(Sd([d,Cd]),' '),m=Ga(e,t,a,u),y=0<r.children.filter(function(e){return Wa(e)}).length,g=m.length-2;0<=g;g--){var i=''===m[g]&&''===m[g+1],h=m[g]===Nd&&''===m[g+1]&&m[g+2]===Nd,f=(m[g]===Cd||m[g]===Nd)&&''===m[g+1]&&m[g+2]===u,x=m[g]===u&&''===m[g+1]&&(m[g+2]===Cd||m[g+2]===Nd),E=m[g]===u&&''===m[g+1]&&m[g+2]===u;h&&y||i||f||E?m.splice(g,2):x&&m.splice(g+1,2)}for(;m.length&&(Vd(od(m))||qd(od(m)));)m.pop();for(;m.length&&(Vd(m[0])||qd(m[0]))&&(Vd(m[1])||qd(m[1]));)m.shift(),m.shift();var b=[];m.forEach(function(e,t){if(e===u){if(1===t&&''===m[t-1])return 2===m.length?void b.push(d):void b.push(Sd([d,Nd]));if(t===m.length-1)return void b.push(d);if(''===m[t-1]&&m[t-2]===Nd)return void b.push(d)}b.push(e),_d(e)&&(c=!0)});var S=y?Od(b):wd(Sd(b),{shouldBreak:!0}),T=wd(Sd([n,Pd(Sd([Nd,S])),Nd,o]));return c?T:Id([wd(Sd([n,Sd(m),o])),T])}function Ka(e,t){var n=e.getParentNode();if(!n)return t;return{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,TSJsxFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0}[n.type]?t:wd(Sd([Dd('('),Pd(Sd([Cd,t])),Cd,Dd(')')]))}function $a(e){return'BinaryExpression'===e.type||'LogicalExpression'===e.type}function Ha(e){return'MemberExpression'===e.type||'OptionalMemberExpression'===e.type||'BindExpression'===e.type&&e.object}function Ya(e){return!('LogicalExpression'!==e.type)&&('ObjectExpression'===e.right.type&&0!==e.right.properties.length||'ArrayExpression'===e.right.type&&0!==e.right.elements.length||!!qa(e.right))}function Qa(e,t,n,a,r){var o=[],s=e.getValue();if($a(s)){td(s.operator,s.left.operator)?o=o.concat(e.call(function(e){return Qa(e,t,n,!0,r)},'left')):o.push(e.call(t,'left'));var i=Ya(s),l='|>'===s.operator,p=i?Sd([s.operator,' ',e.call(t,'right')]):Sd([l?Cd:'',s.operator,l?' ':vd,e.call(t,'right')]),c=e.getParentNode(),d=!(r&&'LogicalExpression'===s.type)&&c.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;o.push(' ',d?wd(p):p),a&&s.comments&&(o=dc.printComments(e,function(){return Sd(o)},n))}else o.push(e.call(t));return o}function Za(e,t,n,a){if(ir(a.originalText,t,a))return Pd(Sd([Nd,n]));var r=$a(t)&&!Ya(t)||'ConditionalExpression'===t.type&&$a(t.test)&&!Ya(t.test)||'StringLiteralTypeAnnotation'===t.type||('Identifier'===e.type||Lr(e)||'MemberExpression'===e.type)&&(Lr(t)||fr(t));return r?Pd(Sd([vd,n])):Sd([' ',n])}function er(e,t,n,a,r,o){if(!a)return t;var s=Za(e,a,r,o);return wd(Sd([t,n,s]))}function tr(e,t,n){return'EmptyStatement'===e.type?';':'BlockStatement'===e.type||n?Sd([' ',t]):Pd(Sd([vd,t]))}function nr(e,t,n){var a=zr(e),r=n||'DirectiveLiteral'===e.type;return id(a,t,r)}function ar(e){var t=e.flags.split('').sort().join('');return'/'.concat(e.pattern,'/').concat(t)}function rr(e){var t=e.getParentNode();if(!t)return!0;var n=e.getValue(),a=(t.body||t.consequent).filter(function(e){return'EmptyStatement'!==e.type});return a&&a[a.length-1]===n}function or(e){return e.comments&&e.comments.some(function(e){return e.leading})}function sr(e){return e.comments&&e.comments.some(function(e){return e.trailing})}function ir(e,t,n){if(qa(t))return dd(t);var a=t.comments&&t.comments.some(function(t){return t.leading&&ad(e,n.locEnd(t))});return a}function lr(e){return'AssignmentExpression'===e.type||'BinaryExpression'===e.type||'LogicalExpression'===e.type||'ConditionalExpression'===e.type||'CallExpression'===e.type||'OptionalCallExpression'===e.type||'MemberExpression'===e.type||'OptionalMemberExpression'===e.type||'SequenceExpression'===e.type||'TaggedTemplateExpression'===e.type||'BindExpression'===e.type&&!e.object||'UpdateExpression'===e.type&&!e.prefix}function pr(e,t,n){var a=n.locStart(t),r=cd(e,n.locEnd(t));return'/*'===e.substr(a,2)&&'*/'===e.substr(r,2)}function cr(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression}function dr(e,t){if(t.expressions)return['expressions',0];if(t.left)return['left'];if(t.test)return['test'];if(t.callee)return['callee'];if(t.object)return['object'];if(t.tag)return['tag'];if(t.argument)return['argument'];if(t.expression)return['expression'];throw new Error('Unexpected node has no left side',t)}function ur(e,t){var n=e.getValue(),a=Qc(e,t)||'ParenthesizedExpression'===n.type||'TypeCastExpression'===n.type||'ArrowFunctionExpression'===n.type&&!Ca(e,t)||'ArrayExpression'===n.type||'ArrayPattern'===n.type||'UnaryExpression'===n.type&&n.prefix&&('+'===n.operator||'-'===n.operator)||'TemplateLiteral'===n.type||'TemplateElement'===n.type||qa(n)||'BindExpression'===n.type||'RegExpLiteral'===n.type||'Literal'===n.type&&n.pattern||'Literal'===n.type&&n.regex;return!!a||!!lr(n)&&e.call.apply(e,[function(e){return ur(e,t)}].concat(dr(e,n)))}function mr(e,t){var n=e.getNode();return!('ExpressionStatement'!==n.type)&&e.call(function(e){return ur(e,t)},'expression')}function yr(e){var t=e.getNode();if('ClassProperty'!==t.type)return!1;var n=t.key&&t.key.name;if(('static'===n||'get'===n||'set'===n)&&!t.value&&!t.typeAnnotation)return!0}function gr(e){if(e){if(!e.computed){var t=e.key&&e.key.name;if('in'===t||'instanceof'===t)return!0}switch(e.type){case'ClassProperty':case'TSAbstractClassProperty':return e.computed;case'MethodDefinition':case'TSAbstractMethodDefinition':case'ClassMethod':{var n=e.value?e.value.async:e.async,a=e.value?e.value.generator:e.generator;return n||e.static||'get'===e.kind||'set'===e.kind?!1:e.computed||a}default:return!1;}}}function hr(e,t){if(ir(e.originalText,t,e))return!0;if(lr(t))for(var n=t,a;a=cr(n);)if(n=a,ir(e.originalText,n,e))return!0;return!1}function fr(e){return'MemberExpression'!==e.type&&'OptionalMemberExpression'!==e.type?!1:!('Identifier'!==e.object.type)||fr(e.object)}function xr(e,t){return'ObjectTypeProperty'===e.type&&'FunctionTypeAnnotation'===e.value.type&&!e.static&&!Er(e,t)}function Er(e,t){return br(e)||Sr(e,e.value,t)}function br(e){return'get'===e.kind||'set'===e.kind}function Sr(e,t,n){return n.locStart(e)===n.locStart(t)}function Tr(e,t){return('TypeAnnotation'===e.type||'TSTypeAnnotation'===e.type)&&'FunctionTypeAnnotation'===e.typeAnnotation.type&&!e.static&&!Sr(e,e.typeAnnotation,t)}function vr(e,t){return'flow'!==t.parser&&'typescript'!==t.parser?!1:t.originalText.slice(0,t.locStart(e)).match(/declare[ \t]*$/)||t.originalText.slice(e.range[0],e.range[1]).startsWith('declare ')}function Nr(e){if(jr(e))return!0;if('UnionTypeAnnotation'===e.type||'TSUnionType'===e.type){var t=e.types.filter(function(e){return'VoidTypeAnnotation'===e.type||'TSVoidKeyword'===e.type||'NullLiteralTypeAnnotation'===e.type||'TSNullKeyword'===e.type}).length,n=e.types.filter(function(e){return'ObjectTypeAnnotation'===e.type||'TSTypeLiteral'===e.type||'GenericTypeAnnotation'===e.type||'TSTypeReference'===e.type}).length;if(e.types.length-1===t&&0<n)return!0}return!1}function Cr(e){return e&&e.params&&1===e.params.length&&!e.params[0].comments&&('ObjectPattern'===e.params[0].type||'ArrayPattern'===e.params[0].type||'Identifier'===e.params[0].type&&e.params[0].typeAnnotation&&('TypeAnnotation'===e.params[0].typeAnnotation.type||'TSTypeAnnotation'===e.params[0].typeAnnotation.type)&&jr(e.params[0].typeAnnotation.typeAnnotation)||'FunctionTypeParam'===e.params[0].type&&jr(e.params[0].typeAnnotation)||'AssignmentPattern'===e.params[0].type&&('ObjectPattern'===e.params[0].left.type||'ArrayPattern'===e.params[0].left.type)&&('Identifier'===e.params[0].right.type||'ObjectExpression'===e.params[0].right.type&&0===e.params[0].right.properties.length||'ArrayExpression'===e.params[0].right.type&&0===e.params[0].right.elements.length))&&!e.rest}function Ar(e){return e.quasis.some(function(e){return e.value.raw.includes('\n')})}function wr(e,t,n){return('TemplateLiteral'===e.type&&Ar(e)||'TaggedTemplateExpression'===e.type&&Ar(e.quasi))&&!ad(t,n.locStart(e),{backwards:!0})}function Pr(e,t,n,a){var r=[],o=[];return e.each(function(e){r.push(Sd(o)),r.push(wd(a(e))),o=[',',vd],e.getValue()&&gd(t.originalText,e.getValue(),t)&&o.push(Cd)},n),Sd(r)}function kr(e){return e.comments&&e.comments.some(function(e){return!e.leading&&!e.trailing})}function Ir(e){if(!e.comments)return!1;var t=od(e.comments.filter(function(e){return!e.leading&&!e.trailing}));return t&&!Yc.isBlockComment(t)}function Or(e){return'BooleanLiteral'===e.type||'DirectiveLiteral'===e.type||'Literal'===e.type||'NullLiteral'===e.type||'NumericLiteral'===e.type||'RegExpLiteral'===e.type||'StringLiteral'===e.type||'TemplateLiteral'===e.type||'TSTypeLiteral'===e.type||'JSXText'===e.type}function Dr(e){return'NumericLiteral'===e.type||'Literal'===e.type&&'number'==typeof e.value}function Lr(e){return'StringLiteral'===e.type||'Literal'===e.type&&'string'==typeof e.value}function jr(e){return'ObjectTypeAnnotation'===e.type||'TSTypeLiteral'===e.type}function Rr(e,t){if('CallExpression'!==e.type)return!1;if(1===e.arguments.length){if(_r(e)&&t&&Rr(t))return Vr(e.arguments[0].type);if(qr(e))return Vr(e.arguments[0].type)||_r(e.arguments[0])}else if(2===e.arguments.length&&('Identifier'===e.callee.type&&zd.test(e.callee.name)||Mr(e))&&(Fr(e.arguments[0])||Lr(e.arguments[0])))return Vr(e.arguments[1].type)&&1>=e.arguments[1].params.length||_r(e.arguments[1]);return!1}function Mr(e){return('MemberExpression'===e.callee.type||'OptionalMemberExpression'===e.callee.type)&&'Identifier'===e.callee.object.type&&'Identifier'===e.callee.property.type&&zd.test(e.callee.object.name)&&('only'===e.callee.property.name||'skip'===e.callee.property.name)}function Fr(e){return'TemplateLiteral'===e.type}function _r(e){return('CallExpression'===e.type||'OptionalCallExpression'===e.type)&&'Identifier'===e.callee.type&&('async'===e.callee.name||'inject'===e.callee.name)}function Vr(e){return'FunctionExpression'===e||'ArrowFunctionExpression'===e}function qr(e){var t=/^(before|after)(Each|All)$/;return'Identifier'===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}function Br(e,t){if('markdown'!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!qa(n.expression))return!1;var a=t.getParentNode();return'Program'===a.type&&1==a.body.length}function Wr(e){var t=e.getValue(),n=e.getParentNode();return(t&&qa(t)||n&&('JSXSpreadAttribute'===n.type||'JSXSpreadChild'===n.type||'UnionTypeAnnotation'===n.type||'TSUnionType'===n.type||('ClassDeclaration'===n.type||'ClassExpression'===n.type)&&n.superClass===t))&&!pd(e)}function Jr(e){return e.type&&'CommentBlock'!==e.type&&'CommentLine'!==e.type&&'Line'!==e.type&&'Block'!==e.type&&'EmptyStatement'!==e.type&&'TemplateElement'!==e.type&&'Import'!==e.type&&!(e.callee&&'Import'===e.callee.type)}function Ur(e,t){var n=e.getValue();switch(n.type){case'CommentBlock':case'Block':{if(Xr(n)){var a=Gr(n);return n.trailing&&!ad(t.originalText,t.locStart(n),{backwards:!0})?Sd([Nd,a]):a}var r='*-/'===t.originalText.substr(t.locEnd(n)-3,3);return'/*'+n.value+(r?'*-/':'*/')}case'CommentLine':case'Line':return t.originalText.slice(t.locStart(n)).startsWith('#!')?'#!'+n.value.trimRight():'//'+n.value.trimRight();default:throw new Error('Not a comment: '+JSON.stringify(n));}}function Xr(e){var t=e.value.split('\n');return 1<t.length&&t.slice(0,t.length-1).every(function(e){return'*'===e.trim()[0]})}function Gr(e){var t=e.value.split('\n');return Sd(['/*',Td(Nd,t.map(function(e,n){return(0<n?' ':'')+(n<t.length-1?e.trim():e.trimLeft())})),'*/'])}function zr(e){return e.extra?e.extra.raw:e.raw}function Kr(e,t,n){var a=e.getValue();switch(a.type){case'ArrayExpression':return 0===a.elements.length?'[]':Hd(['[',Qd(Hd([Yd,Zd(Hd([',',Yd]),e.map(n,'elements'))])),Yd,']']);case'ObjectExpression':return 0===a.properties.length?'{}':Hd(['{',Qd(Hd([Yd,Zd(Hd([',',Yd]),e.map(n,'properties'))])),Yd,'}']);case'ObjectProperty':return Hd([e.call(n,'key'),': ',e.call(n,'value')]);case'UnaryExpression':return Hd(['+'===a.operator?'':a.operator,e.call(n,'argument')]);case'NullLiteral':return'null';case'BooleanLiteral':return a.value?'true':'false';case'StringLiteral':case'NumericLiteral':return JSON.stringify(a.value);case'Identifier':return JSON.stringify(a.name);default:throw new Error('unknown type: '+JSON.stringify(a.type));}}function $r(e,t){return delete t.start,delete t.end,delete t.extra,delete t.loc,delete t.comments,'Identifier'===e.type?{type:'StringLiteral',value:e.name}:'UnaryExpression'===e.type&&'+'===e.operator?t.argument:void 0}function Hr(e,t){if(['raws','sourceIndex','source','before','after','trailingComma'].forEach(function(e){delete t[e]}),('media-query'===e.type||'media-query-list'===e.type||'media-feature-expression'===e.type)&&delete t.value,'css-rule'===e.type&&delete t.params,'selector-combinator'===e.type&&(t.value=t.value.replace(/\s+/g,' ')),'media-feature'===e.type&&(t.value=t.value.replace(/ /g,'')),('value-word'===e.type&&(e.isColor&&e.isHex||-1!==['initial','inherit','unset','revert'].indexOf(t.value.replace().toLowerCase()))||'media-feature'===e.type||'selector-root-invalid'===e.type||'selector-pseudo'===e.type)&&(t.value=t.value.toLowerCase()),'css-decl'===e.type&&(t.prop=t.prop.toLowerCase()),('css-atrule'===e.type||'css-import'===e.type)&&(t.name=t.name.toLowerCase()),'value-number'===e.type&&(t.unit=t.unit.toLowerCase()),('media-feature'===e.type||'media-keyword'===e.type||'media-type'===e.type||'media-unknown'===e.type||'media-url'===e.type||'media-value'===e.type||'selector-attribute'===e.type||'selector-string'===e.type||'selector-class'===e.type||'selector-combinator'===e.type||'value-string'===e.type)&&t.value&&(t.value=Yr(t.value)),'selector-attribute'===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&'string'==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^['"]|['"]$/g,''),delete t.quoted)),('media-value'===e.type||'media-type'===e.type||'value-number'===e.type||'selector-root-invalid'===e.type||'selector-class'===e.type||'selector-combinator'===e.type||'selector-tag'===e.type)&&t.value&&(t.value=t.value.replace(/([\d.eE+-]+)([a-zA-Z]*)/g,function(e,t,n){var a=+t;return isNaN(a)?e:a+n.toLowerCase()})),'selector-tag'===e.type){var n=e.value.toLowerCase();-1!==cu.indexOf(n)&&(t.value=n),-1!==['from','to'].indexOf(n)&&(t.value=n)}'css-atrule'===e.type&&'supports'===e.name.toLowerCase()&&delete t.value,'selector-unknown'===e.type&&delete t.value}function Yr(e){return e.replace(/'/g,'"').replace(/\\([^a-fA-F\d])/g,'$1')}function Qr(e,t){for(var n=[].concat(t),a=-1,r;r=e.getParentNode(++a);)if(-1!==n.indexOf(r.type))return a;return-1}function Zr(e,t){var n=Qr(e,t);return-1===n?null:e.getParentNode(n)}function eo(e){var t=Zr(e,'css-decl');return t&&t.prop&&t.prop.toLowerCase()}function to(e,t){var n=/(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/;return'less'===e||'scss'===e?'scss'==e:n.test(t)}function no(e){return-1!==['initial','inherit','unset','revert'].indexOf(e.toLowerCase())}function ao(e,t){var n=Zr(e,'css-atrule');return n&&n.name&&n.name.toLowerCase().endsWith('keyframes')&&-1!==['from','to'].indexOf(t.toLowerCase())}function ro(e){return e.includes('$')||e.includes('@')||e.includes('#')||e.startsWith('%')||e.startsWith('--')||e.startsWith(':--')||e.includes('(')&&e.includes(')')?e:e.toLowerCase()}function oo(e,t){var n=Zr(e,'value-func');return n&&n.value&&n.value.toLowerCase()===t}function so(e){var t=Zr(e,'css-rule');return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(':import')||t.raws.selector.startsWith(':export'))}function io(e,t){var n=[].concat(t),a=Zr(e,'css-atrule');return a&&-1!==n.indexOf(a.name.toLowerCase())}function lo(e){var t=e.getValue(),n=Zr(e,'css-atrule');return n&&'import'===n.name&&'url'===t.groups[0].value&&2===t.groups.length}function po(e){return'value-func'===e.type&&'url'===e.value.toLowerCase()}function co(e,t){var n=e.getParentNode();if(!n)return!1;var a=n.nodes;return a&&a.indexOf(t)===a.length-1}function uo(e){return-1!==cu.indexOf(e.toLowerCase())}function mo(e){return!!e.selector&&('string'==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))}function yo(e){return'value-word'===e.type&&-1!==['from','through','end'].indexOf(e.value)}function go(e){return'value-word'===e.type&&-1!==['and','or','not'].indexOf(e.value)}function ho(e){return'value-word'===e.type&&'in'===e.value}function fo(e){return'value-operator'===e.type&&'*'===e.value}function xo(e){return'value-operator'===e.type&&'/'===e.value}function Eo(e){return'value-operator'===e.type&&'+'===e.value}function bo(e){return'value-operator'===e.type&&'-'===e.value}function So(e){return'value-operator'===e.type&&'%'===e.value}function To(e){return fo(e)||xo(e)||Eo(e)||bo(e)||So(e)}function vo(e){return'value-word'===e.type&&-1!==['==','!='].indexOf(e.value)}function No(e){return'value-word'===e.type&&-1!==['<','>','<=','>='].indexOf(e.value)}function Co(e){return'css-atrule'===e.type&&-1!==['if','else','for','each','while'].indexOf(e.name)}function Ao(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,'').replace(/\/\/.*?\n/,'').trim().endsWith(':')}function wo(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)}function Po(e,t){return'$$'===e.value&&'value-func'===e.type&&t&&'value-word'===t.type&&!t.raws.before}function ko(e){return e.value&&'value-root'===e.value.type&&e.value.group&&'value-value'===e.value.group.type&&'composes'===e.prop.toLowerCase()}function Io(e){return e.value&&e.value.group&&e.value.group.group&&'value-paren_group'===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function Oo(e){return e.raws&&''===e.raws.before}function Do(e){return'value-comma_group'===e.type&&e.groups&&e.groups[1]&&'value-colon'===e.groups[1].type}function Lo(e){return'value-paren_group'===e.type&&e.groups&&e.groups[0]&&Do(e.groups[0])}function jo(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!Lo(t)&&!(n&&Lo(n)))return!1;var a=Zr(e,'css-decl');return a&&a.prop&&a.prop.startsWith('$')||!!Lo(n)||!('value-func'!==n.type)}function Ro(e){return'value-comment'===e.type&&e.inline}function Mo(e){return'value-word'===e.type&&'#'===e.value}function Fo(e){return'value-word'===e.type&&'{'===e.value}function _o(e){return'value-word'===e.type&&'}'===e.value}function Vo(e){return-1!==['value-word','value-atword'].indexOf(e.type)}function qo(e){return'value-colon'===e.type}function Bo(e){return e.value&&-1!==['not','and','or'].indexOf(e.value.toLowerCase())}function Wo(e){return!('value-func'!==e.type)&&-1!==uu.indexOf(e.value.toLowerCase())}function Jo(e){switch(e.trailingComma){case'all':case'es5':return!0;case'none':default:return!1;}}function Uo(e,t,n){var a=e.getValue();if(!a)return'';if('string'==typeof a)return a;switch(a.type){case'front-matter':return bu([a.value,vu]);case'css-root':{var r=Xo(e,t,n);return r.parts.length?bu([r,vu]):r}case'css-comment':{if(a.raws.content)return a.raws.content;var o=t.originalText.slice(t.locStart(a),t.locEnd(a)),s=a.raws.text||a.text;return-1===o.indexOf(s)?a.raws.inline?bu(['// ',s]):bu(['/* ',s,' */']):o}case'css-rule':return bu([e.call(n,'selector'),a.important?' !important':'',a.nodes?bu([' {',0<a.nodes.length?wu(bu([vu,Xo(e,t,n)])):'',vu,'}',Uu(a)?';':'']):';']);case'css-decl':return bu([a.raws.before.replace(/[\s;]/g,''),Ru(e)?a.prop:Lu(a.prop),':'===a.raws.between.trim()?':':a.raws.between.trim(),a.extend?'':' ',nm(a)?Iu(e.call(n,'value')):e.call(n,'value'),a.raws.important?a.raws.important.replace(/\s*!\s*important/i,' !important'):a.important?' !important':'',a.raws.scssDefault?a.raws.scssDefault.replace(/\s*!default/i,' !default'):a.scssDefault?' !default':'',a.raws.scssGlobal?a.raws.scssGlobal.replace(/\s*!global/i,' !global'):a.scssGlobal?' !global':'',a.nodes?bu([' {',wu(bu([Nu,Xo(e,t,n)])),Nu,'}']):';']);case'css-atrule':return bu(['@',sm(a)||a.name.endsWith(':')?a.name:Lu(a.name),a.params?bu([sm(a)?'':' ',e.call(n,'params')]):'',a.selector?wu(bu([' ',e.call(n,'selector')])):'',a.value?Cu(bu([' ',e.call(n,'value'),Ju(a)?am(a)?' ':Tu:''])):'else'===a.name?' ':'',a.nodes?bu([Ju(a)?'':' ','{',wu(bu([0<a.nodes.length?Nu:'',Xo(e,t,n)])),Nu,'}']):';']);case'media-query-list':{var l=[];return e.each(function(e){var t=e.getValue();'media-query'===t.type&&''===t.value||l.push(e.call(n))},'nodes'),Cu(wu(Su(Tu,l)))}case'media-query':return bu([Su(' ',e.map(n,'nodes')),Wu(e,a)?'':',']);case'media-type':return Ko(Go(a.value,t));case'media-feature-expression':return a.nodes?bu(['(',bu(e.map(n,'nodes')),')']):a.value;case'media-feature':return Lu(Go(a.value.replace(/ +/g,' '),t));case'media-colon':return bu([a.value,' ']);case'media-value':return Ko(Go(a.value,t));case'media-keyword':return Go(a.value,t);case'media-url':return Go(a.value.replace(/^url\(\s+/gi,'url(').replace(/\s+\)$/gi,')'),t);case'media-unknown':return a.value;case'selector-root':return Cu(bu([Mu(e,'custom-selector')?bu([Ou(e,'css-atrule').customSelector,Tu]):'',Su(bu([',',Mu(e,['extend','custom-selector','nest'])?Tu:vu]),e.map(n,'nodes'))]));case'selector-selector':return Cu(wu(bu(e.map(n,'nodes'))));case'selector-comment':return a.value;case'selector-string':return Go(a.value,t);case'selector-tag':{var p=e.getParentNode(),c=p&&p.nodes.indexOf(a),d=c&&p.nodes[c-1];return bu([a.namespace?bu([!0===a.namespace?'':a.namespace.trim(),'|']):'','selector-nesting'===d.type?a.value:Ko(Vu(a.value)||_u(e,a.value)?a.value.toLowerCase():a.value)])}case'selector-id':return bu(['#',a.value]);case'selector-class':return bu(['.',Ko(Go(a.value,t))]);case'selector-attribute':return bu(['[',a.namespace?bu([!0===a.namespace?'':a.namespace.trim(),'|']):'',a.attribute.trim(),a.operator?a.operator:'',a.value?zo(Go(a.value.trim(),t),t):'',a.insensitive?' i':'',']']);case'selector-combinator':{if('+'===a.value||'>'===a.value||'~'===a.value||'>>>'===a.value){var u=e.getParentNode(),m='selector-selector'===u.type&&u.nodes[0]===a?'':Tu;return bu([m,a.value,Wu(e,a)?'':' '])}var y=a.value.trim().startsWith('(')?Tu:'',g=Ko(Go(a.value.trim(),t))||Tu;return bu([y,g])}case'selector-universal':return bu([a.namespace?bu([!0===a.namespace?'':a.namespace.trim(),'|']):'',Ko(a.value)]);case'selector-pseudo':return bu([Lu(a.value),a.nodes&&0<a.nodes.length?bu(['(',Su(', ',e.map(n,'nodes')),')']):'']);case'selector-nesting':return a.value;case'selector-unknown':{var h=Ou(e,'css-rule');return h&&h.isSCSSNesterProperty?Ko(Go(Lu(a.value),t)):a.value}case'value-value':case'value-root':return e.call(n,'group');case'value-comment':return bu([a.inline?'//':'/*',a.value,a.inline?'':'*/']);case'value-comma_group':{for(var f=e.getParentNode(),x=e.getParentNode(1),E=Du(e),b=E&&'value-value'===f.type&&('grid'===E||E.startsWith('grid-template')),S=Ou(e,'css-atrule'),T=S&&Ju(S),v=e.map(n,'groups'),N=[],C=ju(e,'url'),A=!1,w=!1,P=0;P<a.groups.length;++P)if(N.push(v[P]),!C){var i=a.groups[P-1],k=a.groups[P],I=a.groups[P+1],O=a.groups[P+2];if(I){var D='value-string'===k.type&&k.value.startsWith('#{'),L=A&&'value-string'===I.type&&I.value.endsWith('}');if(D||L){A=!A;continue}if(!A&&!(ym(k)||ym(I))&&('value-atword'!==k.type||''!==k.value)&&'~'!==k.value&&'\\'!==k.value&&!im(k,I)&&!(cm(k)||dm(k)||um(I)||dm(I)&&rm(I)||um(k)&&rm(I))&&!('--'===k.value&&cm(I))){var j=Yu(k),R=Yu(I);if(!((j&&cm(I)||R&&um(k))&&rm(I))&&!(ju(e,'calc')&&($u(k)||$u(I)||Hu(k)||Hu(I))&&rm(I))){var M=($u(k)||Hu(k))&&0===P&&('value-number'===I.type||I.isHex)&&x&&hm(x)&&!rm(I),F=O&&'value-func'===O.type||O&&mm(O)||'value-func'===k.type||mm(k),_='value-func'===I.type||mm(I)||i&&'value-func'===i.type||i&&mm(i);if(!(!(zu(I)||zu(k))&&!ju(e,'calc')&&!M&&(Ku(I)&&!F||Ku(k)&&!_||$u(I)&&!F||$u(k)&&!_||Hu(I)||Hu(k))&&(rm(I)||j&&(!i||i&&Yu(i))))){var V=pm(k);if(i&&pm(i)||V||pm(I)){V&&N.push(vu);continue}if(T&&(Gu(I)||Xu(I)||tm(I)||Qu(k)||Zu(k))){N.push(' ');continue}if(S&&'namespace'===S.name.toLowerCase()){N.push(' ');continue}if(b){k.source.start.line===I.source.start.line?N.push(' '):(N.push(vu),w=!0);continue}if(R){N.push(' ');continue}N.push(Tu)}}}}}return w&&N.unshift(vu),T?Cu(wu(bu(N))):Fu(e)?Cu(Au(N)):Cu(wu(Au(N)))}case'value-paren_group':{var q=e.getParentNode();if(q&&em(q)&&(1===a.groups.length||0<a.groups.length&&'value-comma_group'===a.groups[0].type&&0<a.groups[0].groups.length&&'value-word'===a.groups[0].groups[0].type&&a.groups[0].groups[0].value.startsWith('data:')))return bu([a.open?e.call(n,'open'):'',Su(',',e.map(n,'groups')),a.close?e.call(n,'close'):'']);if(!a.open){for(var B=e.map(n,'groups'),W=[],J=0;J<B.length;J++)0!==J&&W.push(bu([',',Tu])),W.push(B[J]);return Cu(wu(Au(W)))}var U=lm(e);return Cu(bu([a.open?e.call(n,'open'):'',wu(bu([Nu,Su(bu([',',Tu]),e.map(function(e){var t=e.getValue(),a=n(e);return om(t)&&'value-comma_group'===t.type&&t.groups&&t.groups[2]&&'value-paren_group'===t.groups[2].type?(a.contents.contents.parts[1]=Cu(a.contents.contents.parts[1]),Cu(Pu(a))):a},'groups'))])),ku(Bu(t.parser,t.originalText)&&U&&Jo(t)?',':''),Nu,a.close?e.call(n,'close'):'']),{shouldBreak:U})}case'value-func':return bu([a.value,Mu(e,'supports')&&gm(a)?' ':'',e.call(n,'group')]);case'value-paren':return a.value;case'value-number':return bu([$o(a.value),Lu(a.unit)]);case'value-operator':return a.value;case'value-word':return a.isColor&&a.isHex||qu(a.value)?a.value.toLowerCase():a.value;case'value-colon':return bu([a.value,ju(e,'url')?'':Tu]);case'value-comma':return bu([a.value,' ']);case'value-string':return gu(a.raws.quote+a.value+a.raws.quote,t);case'value-atword':return bu(['@',a.value]);case'value-unicode-range':return a.value;case'value-unknown':return a.value;default:throw new Error('Unknown postcss type '.concat(JSON.stringify(a.type)));}}function Xo(e,t,n){var a=e.getValue(),r=[],o=0;return e.map(function(e){var s=a.nodes[o-1];if(s&&'css-comment'===s.type&&'prettier-ignore'===s.text.trim()){var i=e.getValue();r.push(t.originalText.slice(t.locStart(i),t.locEnd(i)))}else r.push(e.call(n));o!=a.nodes.length-1&&(('css-comment'!==a.nodes[o+1].type||fu(t.originalText,t.locStart(a.nodes[o+1]),{backwards:!0}))&&('css-atrule'!==a.nodes[o+1].type||'else'!==a.nodes[o+1].name||'css-comment'===a.nodes[o].type)?(r.push(vu),xu(t.originalText,e.getValue(),t)&&r.push(vu)):r.push(' ')),o++},'nodes'),bu(r)}function Go(e,t){return e.replace(fm,function(e){return gu(e,t)})}function zo(e,t){var n=t.singleQuote?'\'':'"';return e.includes('"')||e.includes('\'')?e:n+e+n}function Ko(e){return e.replace(Sm,function(e,t,n,a,r){return!n&&a?(n||'')+$o(a)+Lu(r||''):e})}function $o(e){return yu(e).replace(/\.0(?=$|e)/,'')}function Ho(e,t,a){var r=e.getValue();if(!r)return'';if('string'==typeof r)return r;switch(r.kind){case'Document':{var o=[];return e.map(function(e,n){o.push(Pm([e.call(a)])),n!==r.definitions.length-1&&(o.push(Im),Fm(t.originalText,e.getValue(),t)&&o.push(Im))},'definitions'),Pm([Pm(o),Im])}case'OperationDefinition':{var s='{'!==t.originalText[t.locStart(r)],i=!!r.name;return Pm([s?r.operation:'',s&&i?Pm([' ',e.call(a,'name')]):'',r.variableDefinitions&&r.variableDefinitions.length?Lm(Pm(['(',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.map(a,'variableDefinitions'))])),Dm,')'])):'',Yo(e,a,r),r.selectionSet?s||i?' ':'':'',e.call(a,'selectionSet')])}case'FragmentDefinition':return Pm(['fragment ',e.call(a,'name'),' on ',e.call(a,'typeCondition'),Yo(e,a,r),' ',e.call(a,'selectionSet')]);case'SelectionSet':return Pm(['{',jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'selections'))])),Im,'}']);case'Field':return Lm(Pm([r.alias?Pm([e.call(a,'alias'),': ']):'',e.call(a,'name'),0<r.arguments.length?Lm(Pm(['(',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.call(function(e){return Qo(e,t,a)},'arguments'))])),Dm,')'])):'',Yo(e,a,r),r.selectionSet?' ':'',e.call(a,'selectionSet')]));case'Name':return r.value;case'StringValue':return r.block?Pm(['"""',Im,km(Im,r.value.replace(/"""/g,'\\$&').split('\n')),Im,'"""']):Pm(['"',r.value.replace(/["\\]/g,'\\$&'),'"']);case'IntValue':case'FloatValue':case'EnumValue':return r.value;case'BooleanValue':return r.value?'true':'false';case'NullValue':return'null';case'Variable':return Pm(['$',e.call(a,'name')]);case'ListValue':return Lm(Pm(['[',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.map(a,'values'))])),Dm,']']));case'ObjectValue':return Lm(Pm(['{',t.bracketSpacing&&0<r.fields.length?' ':'',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.map(a,'fields'))])),Dm,Rm('',t.bracketSpacing&&0<r.fields.length?' ':''),'}']));case'ObjectField':case'Argument':return Pm([e.call(a,'name'),': ',e.call(a,'value')]);case'Directive':return Pm(['@',e.call(a,'name'),0<r.arguments.length?Lm(Pm(['(',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.call(function(e){return Qo(e,t,a)},'arguments'))])),Dm,')'])):'']);case'NamedType':return e.call(a,'name');case'VariableDefinition':return Pm([e.call(a,'variable'),': ',e.call(a,'type'),r.defaultValue?Pm([' = ',e.call(a,'defaultValue')]):'']);case'TypeExtensionDefinition':return Pm(['extend ',e.call(a,'definition')]);case'ObjectTypeExtension':case'ObjectTypeDefinition':return Pm([e.call(a,'description'),r.description?Im:'','ObjectTypeExtension'===r.kind?'extend ':'','type ',e.call(a,'name'),0<r.interfaces.length?Pm([' implements ',km(ts(t.originalText.substr(t.locStart(r),t.locEnd(r))),e.map(a,'interfaces'))]):'',Yo(e,a,r),0<r.fields.length?Pm([' {',jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'fields'))])),Im,'}']):'']);case'FieldDefinition':return Pm([e.call(a,'description'),r.description?Im:'',e.call(a,'name'),0<r.arguments.length?Lm(Pm(['(',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.call(function(e){return Qo(e,t,a)},'arguments'))])),Dm,')'])):'',': ',e.call(a,'type'),Yo(e,a,r)]);case'DirectiveDefinition':return Pm([e.call(a,'description'),r.description?Im:'','directive ','@',e.call(a,'name'),0<r.arguments.length?Lm(Pm(['(',jm(Pm([Dm,km(Pm([Rm('',', '),Dm]),e.call(function(e){return Qo(e,t,a)},'arguments'))])),Dm,')'])):'',Pm([' on ',km(' | ',e.map(a,'locations'))])]);case'EnumTypeExtension':case'EnumTypeDefinition':return Pm([e.call(a,'description'),r.description?Im:'','EnumTypeExtension'===r.kind?'extend ':'','enum ',e.call(a,'name'),Yo(e,a,r),0<r.values.length?Pm([' {',jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'values'))])),Im,'}']):'']);case'EnumValueDefinition':return Pm([e.call(a,'description'),r.description?Im:'',e.call(a,'name'),Yo(e,a,r)]);case'InputValueDefinition':return Pm([e.call(a,'description'),r.description?r.description.block?Im:Om:'',e.call(a,'name'),': ',e.call(a,'type'),r.defaultValue?Pm([' = ',e.call(a,'defaultValue')]):'',Yo(e,a,r)]);case'InputObjectTypeExtension':case'InputObjectTypeDefinition':return Pm([e.call(a,'description'),r.description?Im:'','InputObjectTypeExtension'===r.kind?'extend ':'','input ',e.call(a,'name'),Yo(e,a,r),0<r.fields.length?Pm([' {',jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'fields'))])),Im,'}']):'']);case'SchemaDefinition':return Pm(['schema',Yo(e,a,r),' {',0<r.operationTypes.length?jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'operationTypes'))])):'',Im,'}']);case'OperationTypeDefinition':return Pm([e.call(a,'operation'),': ',e.call(a,'type')]);case'InterfaceTypeExtension':case'InterfaceTypeDefinition':return Pm([e.call(a,'description'),r.description?Im:'','InterfaceTypeExtension'===r.kind?'extend ':'','interface ',e.call(a,'name'),Yo(e,a,r),0<r.fields.length?Pm([' {',jm(Pm([Im,km(Im,e.call(function(e){return Qo(e,t,a)},'fields'))])),Im,'}']):'']);case'FragmentSpread':return Pm(['...',e.call(a,'name'),Yo(e,a,r)]);case'InlineFragment':return Pm(['...',r.typeCondition?Pm([' on ',e.call(a,'typeCondition')]):'',Yo(e,a,r),' ',e.call(a,'selectionSet')]);case'UnionTypeExtension':case'UnionTypeDefinition':return Lm(Pm([e.call(a,'description'),r.description?Im:'',Lm(Pm(['UnionTypeExtension'===r.kind?'extend ':'','union ',e.call(a,'name'),Yo(e,a,r),0<r.types.length?Pm([' =',Rm('',' '),jm(Pm([Rm(Pm([Om,' '])),km(Pm([Om,'| ']),e.map(a,'types'))]))]):'']))]));case'ScalarTypeExtension':case'ScalarTypeDefinition':return Pm([e.call(a,'description'),r.description?Im:'','ScalarTypeExtension'===r.kind?'extend ':'','scalar ',e.call(a,'name'),Yo(e,a,r)]);case'NonNullType':return Pm([e.call(a,'type'),'!']);case'ListType':return Pm(['[',e.call(a,'type'),']']);default:throw new Error('unknown graphql type: '+JSON.stringify(r.kind));}}function Yo(e,t,a){return 0===a.directives.length?'':Pm([' ',Lm(jm(Pm([Dm,km(Pm([Rm('',' '),Dm]),e.map(t,'directives'))])))])}function Qo(e,t,n){var a=e.getValue().length;return e.map(function(e,r){var o=n(e);return Fm(t.originalText,e.getValue(),t)&&r<a-1?Pm([o,Im]):o})}function Zo(e){return e.kind&&'Comment'!==e.kind}function es(e){var t=e.getValue();switch(t.kind){case'Comment':return'#'+t.value.trimRight();default:throw new Error('Not a comment: '+JSON.stringify(t));}}function ts(e){var t=e.indexOf('implements');if(-1===t)throw new Error('Must implement interfaces: '+e);var n=e.indexOf('{');return-1===n&&(n=e.length),e.substr(t,n).includes('&')?' & ':', '}function ns(e,t){delete t.loc,delete t.comments}function as(e,t,n,a){function r(e){var t=il.getSupportInfo(null,{plugins:a.plugins}),n=t.languages.find(function(t){return t.name.toLowerCase()===e||t.extensions&&t.extensions.find(function(t){return t.substring(1)===e})});return n?n.parsers[0]:null}function o(e){return Km(e,function(e){return'string'==typeof e&&e.includes('\n')?Gm(e.split(/(\n)/g).map(function(e,t){return 0==t%2?e:Xm})):e})}var s=e.getValue();if('code'===s.type&&null!==s.lang){var i=s.lang.split(/\s/,1)[0],l=r(i);if(l){var p=a.__inJsTemplate?'~':'`',c=p.repeat(js(3,_p.getMaxContinuousCount(s.value,p)+1)),d=n(s.value,{parser:l});return zm(Gm([c,s.lang,Um,o(d),c]))}}return null}function rs(e){var t;0===e.indexOf('---')?t='---':0===e.indexOf('+++')&&(t='+++');var n=-1;return t&&-1!==(n=e.indexOf('\n'.concat(t),3))?(n+=4,{frontMatter:e.slice(0,n),content:e.slice(n)}):{frontMatter:null,content:e}}function os(e,t,n){var a=e.getValue();if(Ss(e))return Zm(_p.splitText(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map(function(n){return'word'===n.type?n.value:''===n.value?'':ms(e,n.value,t)}));switch(a.type){case'root':return 0===a.children.length?'':Zm([Ts(gs(e,t,n)),ry]);case'paragraph':return hs(e,t,n,{postprocessor:sy});case'sentence':return hs(e,t,n);case'word':return a.value.replace(/[*]/g,'\\*').replace(new RegExp(['(^|['.concat(_p.punctuationCharRange,'])(_+)'),'(_+)(['.concat(_p.punctuationCharRange,']|$)')].join('|'),'g'),function(e,t,n,a,r){return(n?''.concat(t).concat(n):''.concat(a).concat(r)).replace(/_/g,'\\_')});case'whitespace':{var r=e.getParentNode(),o=r.children.indexOf(a),s=r.children[o+1],i=s&&/^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(s.value)?'never':t.proseWrap;return ms(e,a.value,{proseWrap:i})}case'emphasis':{var l=e.getParentNode(),p=l.children.indexOf(a),c=l.children[p-1],d=l.children[p+1],u=c&&'sentence'===c.type&&0<c.children.length&&'word'===_p.getLast(c.children).type&&!_p.getLast(c.children).hasTrailingPunctuation||d&&'sentence'===d.type&&0<d.children.length&&'word'===d.children[0].type&&!d.children[0].hasLeadingPunctuation,m=u||us(e,'emphasis')?'*':'_';return Zm([m,hs(e,t,n),m])}case'strong':return Zm(['**',hs(e,t,n),'**']);case'delete':return Zm(['~~',hs(e,t,n),'~~']);case'inlineCode':{var y=_p.getMaxContinuousCount(a.value,'`'),g=1===y?'``':'`',h=y?' ':'';return Zm([g,h,a.value,h,g])}case'link':switch(t.originalText[a.position.start.offset]){case'<':return Zm(['<',a.url,'>']);case'[':return Zm(['[',hs(e,t,n),'](',vs(a.url,')'),Ns(a.title,t),')']);default:return t.originalText.slice(a.position.start.offset,a.position.end.offset);}case'image':return Zm(['![',a.alt||'','](',vs(a.url,')'),Ns(a.title,t),')']);case'blockquote':return Zm(['> ',iy('> ',hs(e,t,n))]);case'heading':return Zm(['#'.repeat(a.depth)+' ',hs(e,t,n)]);case'code':{if(/^\n?( {4,}|\t)/.test(t.originalText.slice(a.position.start.offset,a.position.end.offset))){var f=' '.repeat(4);return iy(f,Zm([f,ey(ry,a.value.split('\n'))]))}var x=t.__inJsTemplate?'~':'`',E=x.repeat(js(3,_p.getMaxContinuousCount(a.value,x)+1));return Zm([E,a.lang||'',ry,ey(ry,a.value.split('\n')),ry,E])}case'front-matter':return a.value;case'html':{var b=e.getParentNode(),S='root'===b.type&&_p.getLast(b.children)===a?a.value.trimRight():a.value,T=/^<!--[\s\S]*-->$/.test(S);return ps(S,T?ry:ay(ny))}case'list':{var v=ls(a,e.getParentNode()),N=a.ordered&&1<a.children.length&&/^\s*1(\.|\))/.test(t.originalText.slice(a.children[1].position.start.offset,a.children[1].position.end.offset));return hs(e,t,n,{processor:function(e,r){var o=function(){var n=a.ordered?(0===r?a.start:N?1:a.start+r)+(0==v%2?'. ':') '):0==v%2?'- ':'* ',o=e.getValue();return o.children.length?is(n,t):n}();return Zm([o,iy(' '.repeat(o.length),ss(e,t,n,o))])}})}case'thematicBreak':{var C=ds(e,'list');if(-1===C)return'---';var A=ls(e.getParentNode(C),e.getParentNode(C+1));return 0==A%2?'***':'---'}case'linkReference':return Zm(['[',hs(e,t,n),']','full'===a.referenceType?Zm(['[',a.identifier,']']):'collapsed'===a.referenceType?'[]':'']);case'imageReference':switch(a.referenceType){case'full':return Zm(['![',a.alt||'','][',a.identifier,']']);default:return Zm(['![',a.alt,']','collapsed'===a.referenceType?'[]':'']);}case'definition':{var w='always'===t.proseWrap?ty:' ';return py(Zm([Zm(['[',a.identifier,']:']),ly(Zm([w,vs(a.url),null===a.title?'':Zm([w,Ns(a.title,t,!1)])]))]))}case'footnote':return Zm(['[^',hs(e,t,n),']']);case'footnoteReference':return Zm(['[^',a.identifier,']']);case'footnoteDefinition':{var P=e.getParentNode().children[e.getName()+1];return Zm(['[^',a.identifier,']: ',py(Zm([iy(' '.repeat(t.tabWidth),hs(e,t,n,{processor:function(e,t){return 0===t?py(Zm([oy,oy,e.call(n)])):e.call(n)}})),P&&'footnoteDefinition'===P.type?oy:'']))])}case'table':return ys(e,t,n);case'tableCell':return hs(e,t,n);case'break':return /\s/.test(t.originalText[a.position.start.offset])?Zm([' ',ay(ny)]):Zm(['\\',ry]);case'liquidNode':return ps(a.value,ry);case'tableRow':case'listItem':default:throw new Error('Unknown markdown type '.concat(JSON.stringify(a.type)));}}function ss(e,t,n,a){var r=e.getValue(),o=null===r.checked?'':r.checked?'[x] ':'[ ] ';return Zm([o,hs(e,t,n,{processor:function(e,r){if(0===r&&'list'!==e.getValue().type)return iy(' '.repeat(o.length),e.call(n));var s=' '.repeat(As(t.tabWidth-a.length,0,3));return Zm([s,iy(s,e.call(n))])}})])}function is(e,t){var n=function(){var n=e.length%t.tabWidth;return 0==n?0:t.tabWidth-n}();return e+' '.repeat(4<=n?0:n)}function ls(e,t){return cs(e,t,function(t){return t.ordered===e.ordered})}function ps(e,t){return ey(t,e.split('\n'))}function cs(e,t,n){n=n||function(){return!0};var a=-1,r=!0,o=!1,s=void 0;try{for(var i=t.children[Symbol.iterator](),l,p;!(r=(l=i.next()).done);r=!0)if(p=l.value,p.type===e.type&&n(p)?a++:a=-1,p===e)return a}catch(e){o=!0,s=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw s}}}function ds(e,t){for(var n=[].concat(t),a=-1,r;r=e.getParentNode(++a);)if(-1!==n.indexOf(r.type))return a;return-1}function us(e,t){var n=ds(e,t);return-1===n?null:e.getParentNode(n)}function ms(e,t,n){if('preserve'===n.proseWrap&&'\n'===t)return ry;var a='always'===n.proseWrap&&!us(e,uy);return''===t?a?oy:'':a?ty:' '}function ys(e,t,n){function a(e){return Zm(['| ',ey(' | ',e.map(function(e,t){switch(i.align[t]){case'right':return o(e,p[t]);case'center':return s(e,p[t]);default:return r(e,p[t]);}})),' |'])}function r(e,t){return Zm([e,' '.repeat(t-_p.getStringWidth(e))])}function o(e,t){return Zm([' '.repeat(t-_p.getStringWidth(e)),e])}function s(e,t){var n=t-_p.getStringWidth(e),a=Rs(n/2);return Zm([' '.repeat(a),e,' '.repeat(n-a)])}var i=e.getValue(),l=[];e.map(function(e){var a=[];e.map(function(e){a.push(dy(e.call(n),t).formatted)},'children'),l.push(a)},'children');var p=l.reduce(function(e,t){return e.map(function(e,n){return js(e,_p.getStringWidth(t[n]))})},l[0].map(function(){return 3}));return ey(ry,[a(l[0]),function(){return Zm(['| ',ey(' | ',p.map(function(e,t){switch(i.align[t]){case'left':return':'+'-'.repeat(e-1);case'right':return'-'.repeat(e-1)+':';case'center':return':'+'-'.repeat(e-2)+':';default:return'-'.repeat(e);}})),' |'])}(),ey(ry,l.slice(1).map(a))])}function gs(e,t,n){var a=[],r=null,o=e.getValue().children;return o.forEach(function(e,t){switch(fs(e)){case'start':null==r&&(r={index:t,offset:e.position.end.offset});break;case'end':null!==r&&(a.push({start:r,end:{index:t,offset:e.position.start.offset}}),r=null);break;default:}}),hs(e,t,n,{processor:function(e,r){if(0!==a.length){var s=a[0];if(r===s.start.index)return Zm([o[s.start.index].value,t.originalText.slice(s.start.offset,s.end.offset),o[s.end.index].value]);if(s.start.index<r&&r<s.end.index)return!1;if(r===s.end.index)return a.shift(),!1}return e.call(n)}})}function hs(e,t,n,a){a=a||{};var r=a.postprocessor||Zm,o=a.processor||function(e){return e.call(n)},s=e.getValue(),i=[],l;return e.map(function(e,n){var a=e.getValue(),r=o(e,n);if(!1!==r){var p={parts:i,prevNode:l,parentNode:s,options:t};xs(a,p)||(i.push(ry),(Es(a,p)||bs(a,p))&&i.push(ry),bs(a,p)&&i.push(ry)),i.push(r),l=a}},'children'),r(i)}function fs(e){if('html'!==e.type)return!1;var t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:'next')}function xs(e,t){var n=0===t.parts.length,a=-1!==yy.indexOf(e.type),r='html'===e.type&&-1!==gy.indexOf(t.parentNode.type);return n||a||r}function Es(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type,a=n&&-1!==my.indexOf(e.type),r='listItem'===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&'listItem'===t.prevNode.type&&t.prevNode.loose,s='next'===fs(t.prevNode),i='html'===e.type&&t.prevNode&&'html'===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(a||r||s||i)}function bs(e,t){var n=t.prevNode&&'list'===t.prevNode.type,a='code'===e.type&&/\s/.test(t.options.originalText[e.position.start.offset]);return n&&a}function Ss(e){var t=us(e,['linkReference','imageReference']);return t&&('linkReference'!==t.type||'full'!==t.referenceType)}function Ts(e){return cy(e,function(e){if(!e.parts)return e;if('concat'===e.type&&1===e.parts.length)return e.parts[0];var t=[];return e.parts.forEach(function(e){'concat'===e.type?t.push.apply(t,e.parts):''!==e&&t.push(e)}),Object.assign({},e,{parts:Cs(t)})})}function vs(e,t){var n=[' '].concat(t||[]);return new RegExp(n.map(function(e){return'\\'.concat(e)}).join('|')).test(e)?'<'.concat(e,'>'):e}function Ns(e,t,n){if(null==n&&(n=!0),!e)return'';if(n)return' '+Ns(e,t,!1);if(e.includes('"')&&e.includes('\'')&&!e.includes(')'))return'('.concat(e,')');var a=e.split('\'').length-1,r=e.split('"').length-1,o=a>r?'"':r>a?'\'':t.singleQuote?'\'':'"';return e=e.replace(new RegExp('('.concat(o,')'),'g'),'\\$1'),''.concat(o).concat(e).concat(o)}function Cs(e){return e.reduce(function(e,t){var n=_p.getLast(e);return'string'==typeof n&&'string'==typeof t?e.splice(-1,1,n+t):e.push(t),e},[])}function As(e,t,n){return e<t?t:e>n?n:e}function ws(e,t,n){if(delete t.position,'code'===e.type&&delete t.value,'whitespace'===e.type&&'\n'===e.value&&(t.value=' '),n&&'root'===n.type&&0<n.children.length&&(n.children[0]===e||'front-matter'===n.children[0].type&&n.children[1]===e)&&'html'===e.type&&Ym.startWithPragma(e.value))return null}function Ps(e){var t=+e.getName();if(0==t)return!1;var n=e.getParentNode().children[t-1];return'next'===fs(n)}function ks(e,t,n,a){var r=e.getValue(),o=e.getParentNode();if(!o||'root'!==o.tag||r.unary)return null;var s;if('style'===r.tag){var i=r.attrs.find(function(e){return'lang'===e.name});i&&'postcss'!==i.value?'scss'===i.value?s='scss':'less'===i.value&&(s='less'):s='css'}if('script'===r.tag){var l=r.attrs.find(function(e){return'lang'===e.name});l?('ts'===l.value||'tsx'===l.value)&&(s='typescript'):s='babylon'}return s?vy([a.originalText.slice(r.start,r.contentStart),Ny,n(a.originalText.slice(r.contentStart,r.contentEnd),{parser:s}),a.originalText.slice(r.contentEnd,r.end)]):null}function Is(e,t,a){var r=e.getValue(),n=[],o=r.start;return e.each(function(e){var r=e.getValue();n.push(t.originalText.slice(o,r.start)),n.push(e.call(a)),o=r.end},'children'),n.push(t.originalText.slice(o,r.end)),'root'===r.tag&&r.children.length&&n.push(Py),wy(n)}function Os(e){return function(){var t=Array.from(arguments),n=t[1]&&t[1].plugins||[];return Fy(n)||(n=Object.values(n)),t[1]=Object.assign({},t[1],{plugins:My.concat(n)}),e.apply(null,t)}}var Ds=Math.round,Ls=String.fromCharCode,js=Math.max,Rs=Math.floor,Ms=Math.min,Fs='prettier',_s='1.13.5',Vs='Prettier is an opinionated code formatter',qs={prettier:'./bin/prettier.js'},Bs='prettier/prettier',Ws='https://prettier.io',Js='James Long',Us='MIT',Xs='./index.js',Gs={node:'>=6'},zs={"@babel/code-frame":'7.0.0-beta.49',"@babel/parser":'7.0.0-beta.49',"@glimmer/syntax":'0.30.3',camelcase:'4.1.0',chalk:'2.1.0',"cjk-regex":'1.0.2',cosmiconfig:'3.1.0',dashify:'0.2.2',dedent:'0.7.0',diff:'3.2.0',editorconfig:'0.15.0',"editorconfig-to-prettier":'0.0.6',"emoji-regex":'6.5.1',"escape-string-regexp":'1.0.5',esutils:'2.0.2',"find-parent-dir":'0.3.0',"find-project-root":'1.1.1',"flow-parser":'0.73.0',"get-stream":'3.0.0',globby:'6.1.0',graphql:'0.13.2',"html-tag-names":'1.1.2',ignore:'3.3.7',"jest-docblock":'22.2.2',"json-stable-stringify":'1.0.1',leven:'2.1.0',"lodash.uniqby":'4.7.0',mem:'1.1.0',minimatch:'3.0.4',minimist:'1.2.0',parse5:'3.0.3',"postcss-less":'1.1.5',"postcss-media-query-parser":'0.2.3',"postcss-scss":'1.0.5',"postcss-selector-parser":'2.2.3',"postcss-values-parser":'1.5.0',"remark-parse":'5.0.0',resolve:'1.5.0',semver:'5.4.1',"string-width":'2.1.1',typescript:'2.9.0-dev.20180421',"typescript-eslint-parser":'16.0.0',"unicode-regex":'1.0.1',unified:'6.1.6'},Ks={"@babel/cli":'7.0.0-beta.49',"@babel/core":'7.0.0-beta.49',"@babel/preset-env":'7.0.0-beta.49',"builtin-modules":'2.0.0',codecov:'2.2.0',"cross-env":'5.0.5',eslint:'4.18.2',"eslint-config-prettier":'2.9.0',"eslint-friendly-formatter":'3.0.0',"eslint-plugin-import":'2.9.0',"eslint-plugin-prettier":'2.6.0',"eslint-plugin-react":'7.7.0',jest:'21.1.0',mkdirp:'0.5.1',prettier:'1.13.4',prettylint:'1.0.0',rimraf:'2.6.2',rollup:'0.47.6',"rollup-plugin-babel":'4.0.0-beta.4',"rollup-plugin-commonjs":'8.2.6',"rollup-plugin-json":'2.1.1',"rollup-plugin-node-builtins":'2.0.0',"rollup-plugin-node-globals":'1.1.0',"rollup-plugin-node-resolve":'2.0.0',"rollup-plugin-replace":'1.2.1',"rollup-plugin-uglify":'3.0.0',shelljs:'0.8.1',"snapshot-diff":'0.2.2',"strip-ansi":'4.0.0',tempy:'0.2.1',webpack:'2.6.1'},$s={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":'yarn && yarn build && yarn test:dist',test:'jest',"test:dist":'node ./scripts/test-dist.js',"test-integration":'jest tests_integration',lint:'cross-env EFF_NO_LINK_RULES=true eslint . --format node_modules/eslint-friendly-formatter',"lint-docs":'prettylint {.,docs,website,website/blog}/*.md',build:'node ./scripts/build/build.js',"build-docs":'node ./scripts/build-docs.js',"check-deps":'node ./scripts/check-deps.js'},Hs={name:Fs,version:_s,description:Vs,bin:qs,repository:Bs,homepage:Ws,author:Js,license:Us,main:Xs,engines:Gs,dependencies:zs,devDependencies:Ks,scripts:$s},Ys=Object.freeze({name:Fs,version:_s,description:Vs,bin:qs,repository:Bs,homepage:Ws,author:Js,license:Us,main:Xs,engines:Gs,dependencies:zs,devDependencies:Ks,scripts:$s,default:Hs}),Qs='undefined'==typeof window?'undefined'==typeof global?'undefined'==typeof self?{}:self:global:window,Zs=t(function(e,t){function n(){}function a(e,t,n,a,r){for(var o=0,s=t.length,i=0,l=0,p;o<s;o++)if(p=t[o],!p.removed){if(!p.added&&r){var c=n.slice(i,i+p.count);c=c.map(function(e,t){var n=a[l+t];return n.length>e.length?n:e}),p.value=e.join(c)}else p.value=e.join(n.slice(i,i+p.count));i+=p.count,p.added||(l+=p.count)}else if(p.value=e.join(a.slice(l,l+p.count)),l+=p.count,o&&t[o-1].added){var d=t[o-1];t[o-1]=t[o],t[o]=d}var u=t[s-1];return 1<s&&(u.added||u.removed)&&e.equals('',u.value)&&(t[s-2].value+=u.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t['default']=n,n.prototype={diff:function(e,t){function n(e){return i?(setTimeout(function(){i(void 0,e)},0),!0):e}function o(){for(var o=-1*d;o<=d;o+=2){var s=void 0,i=m[o-1],u=m[o+1],y=(u?u.newPos:0)-o;i&&(m[o-1]=void 0);var g=i&&i.newPos+1<p,h=u&&0<=y&&y<c;if(!g&&!h){m[o]=void 0;continue}if(!g||h&&i.newPos<u.newPos?(s=r(u),l.pushComponent(s.components,void 0,!0)):(s=i,s.newPos++,l.pushComponent(s.components,!0,void 0)),y=l.extractCommon(s,t,e,o),s.newPos+1>=p&&y+1>=c)return n(a(l,s.components,t,e,l.useLongestToken));m[o]=s}d++}var s=2>=arguments.length||void 0===arguments[2]?{}:arguments[2],i=s.callback;'function'==typeof s&&(i=s,s={}),this.options=s;var l=this;e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var p=t.length,c=e.length,d=1,u=p+c,m=[{newPos:-1,components:[]}],y=this.extractCommon(m[0],t,e,0);if(m[0].newPos+1>=p&&y+1>=c)return n([{value:this.join(t),count:t.length}]);if(i)(function e(){setTimeout(function(){return d>u?i():void(!o()&&e())},0)})();else for(;d<=u;){var g=o();if(g)return g}},pushComponent:function(e,t,n){var a=e[e.length-1];a&&a.added===t&&a.removed===n?e[e.length-1]={count:a.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,a){for(var r=t.length,o=n.length,s=e.newPos,i=s-a,l=0;s+1<r&&i+1<o&&this.equals(t[s+1],n[i+1]);)s++,i++,l++;return l&&e.components.push({count:l}),e.newPos=s,i},equals:function(e,t){return e===t},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split('')},join:function(e){return e.join('')}}});e(Zs);var ei=t(function(e,t){t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=t.characterDiff=new n['default']});e(ei);var ti=t(function(e,t){t.__esModule=!0,t.generateOptions=function(e,t){if('function'==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}});e(ti);var ni=t(function(e,t){t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){var a=(0,ti.generateOptions)(n,{ignoreWhitespace:!0});return o.diff(e,t,a)},t.diffWordsWithSpace=function(e,t,n){return o.diff(e,t,n)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,r=/\S/,o=t.wordDiff=new n['default'];o.equals=function(e,t){return e===t||this.options.ignoreWhitespace&&!r.test(e)&&!r.test(t)},o.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&a.test(t[n])&&a.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}});e(ni);var ai=t(function(e,t){t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return a.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,ti.generateOptions)(n,{ignoreWhitespace:!0});return a.diff(e,t,r)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=t.lineDiff=new n['default'];a.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var a=0,r;a<n.length;a++)r=n[a],a%2&&!this.options.newlineIsToken?t[t.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),t.push(r));return t}});e(ai);var ri=t(function(e,t){t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=t.sentenceDiff=new n['default'];a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}});e(ri);var oi=t(function(e,t){t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=t.cssDiff=new n['default'];a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}});e(oi);var si=t(function(e,t){function n(e,t,r){t=t||[],r=r||[];var o;for(o=0;o<t.length;o+=1)if(t[o]===e)return r[o];var i;if('[object Array]'===s.call(e)){for(t.push(e),i=Array(e.length),r.push(i),o=0;o<e.length;o+=1)i[o]=n(e[o],t,r);return t.pop(),r.pop(),i}if(e&&e.toJSON&&(e=e.toJSON()),'object'===('undefined'==typeof e?'undefined':a(e))&&null!==e){t.push(e),i={},r.push(i);var l=[],p;for(p in e)e.hasOwnProperty(p)&&l.push(p);for(l.sort(),o=0;o<l.length;o+=1)p=l[o],i[p]=n(e[p],t,r);t.pop(),r.pop()}else i=e;return i}t.__esModule=!0,t.jsonDiff=void 0;var a='function'==typeof Symbol&&'symbol'===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol?'symbol':r(e)};t.diffJson=function(e,t,n){return i.diff(e,t,n)},t.canonicalize=n;var o=function(e){return e&&e.__esModule?e:{default:e}}(Zs),s=Object.prototype.toString,i=t.jsonDiff=new o['default'];i.useLongestToken=!0,i.tokenize=ai.lineDiff.tokenize,i.castInput=function(e){var t=this.options.undefinedReplacement;return'string'==typeof e?e:JSON.stringify(n(e),function(e,n){return'undefined'==typeof n?t:n},' ')},i.equals=function(e,t){return o['default'].prototype.equals(e.replace(/,([\r\n])/g,'$1'),t.replace(/,([\r\n])/g,'$1'))}});e(si);var ii=t(function(e,t){t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs),a=t.arrayDiff=new n['default'];a.tokenize=a.join=function(e){return e.slice()}});e(ii);var li=t(function(e,t){t.__esModule=!0,t.parsePatch=function(e){function t(){var e={};for(l.push(e);p<o.length;){var t=o[p];if(/^(\-\-\-|\+\+\+|@@)\s/.test(t))break;var s=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(t);s&&(e.index=s[1]),p++}for(n(e),n(e),e.hunks=[];p<o.length;){var i=o[p];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(i))break;else if(/^@@/.test(i))e.hunks.push(a());else if(i&&r.strict)throw new Error('Unknown line '+(p+1)+' '+JSON.stringify(i));else p++}}function n(e){var t=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/,n=t.exec(o[p]);if(n){var a='---'===n[1]?'old':'new';e[a+'FileName']=n[2],e[a+'Header']=n[3],p++}}function a(){for(var e=p,t=o[p++],n=t.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+n[1],oldLines:+n[2]||1,newStart:+n[3],newLines:+n[4]||1,lines:[],linedelimiters:[]},i=0,l=0,c;p<o.length&&!(0===o[p].indexOf('--- ')&&p+2<o.length&&0===o[p+1].indexOf('+++ ')&&0===o[p+2].indexOf('@@'))&&(c=o[p][0],'+'===c||'-'===c||' '===c||'\\'===c);p++)a.lines.push(o[p]),a.linedelimiters.push(s[p]||'\n'),'+'===c?i++:'-'===c?l++:' '===c&&(i++,l++);if(i||1!==a.newLines||(a.newLines=0),l||1!==a.oldLines||(a.oldLines=0),r.strict){if(i!==a.newLines)throw new Error('Added line count did not match for hunk at line '+(e+1));if(l!==a.oldLines)throw new Error('Removed line count did not match for hunk at line '+(e+1))}return a}for(var r=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],o=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],l=[],p=0;p<o.length;)t();return l}});e(li);var pi=t(function(e,t){t.__esModule=!0,t['default']=function(e,t,n){var a=!0,r=!1,o=!1,s=1;return function i(){if(a&&!o){if(r?s++:a=!1,e+s<=n)return s;o=!0}return r?void 0:(o||(a=!0),t<=e-s)?-s++:(r=!0,i())}}});e(pi);var ci=t(function(e,t){function n(e,t){function n(e,t){for(var n=0;n<e.lines.length;n++){var a=e.lines[n],r=a[0],s=a.substr(1);if(' '===r||'-'===r){if(!p(t+1,o[t],r,s)&&(c++,c>d))return!1;t++}}return!0}var r=2>=arguments.length||void 0===arguments[2]?{}:arguments[2];if('string'==typeof t&&(t=(0,li.parsePatch)(t)),Array.isArray(t)){if(1<t.length)throw new Error('applyPatch only works with a single input.');t=t[0]}for(var o=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],l=t.hunks,p=r.compareLine||function(e,t,n,a){return t===a},c=0,d=r.fuzzFactor||0,u=0,m=0,y=void 0,g=void 0,h=0;h<l.length;h++){for(var i=l[h],f=o.length-i.oldLines,x=0,E=m+i.oldStart-1,b=(0,a['default'])(E,u,f);void 0!==x;x=b())if(n(i,E+x)){i.offset=m+=x;break}if(void 0===x)return!1;u=i.offset+i.oldStart+i.oldLines}for(var S=0;S<l.length;S++){var T=l[S],v=T.offset+T.newStart-1;0==T.newLines&&v++;for(var N=0;N<T.lines.length;N++){var C=T.lines[N],A=C[0],w=C.substr(1),P=T.linedelimiters[N];if(' '===A)v++;else if('-'===A)o.splice(v,1),s.splice(v,1);else if('+'===A)o.splice(v,0,w),s.splice(v,0,P),v++;else if('\\'===A){var k=T.lines[N-1]?T.lines[N-1][0]:null;'+'===k?y=!0:'-'===k&&(g=!0)}}}if(y)for(;!o[o.length-1];)o.pop(),s.pop();else g&&(o.push(''),s.push('\n'));for(var I=0;I<o.length-1;I++)o[I]+=s[I];return o.join('')}t.__esModule=!0,t.applyPatch=n,t.applyPatches=function(e,t){function a(){var o=e[r++];return o?void t.loadFile(o,function(e,r){if(e)return t.complete(e);var s=n(r,o,t);t.patched(o,s,function(e){return e?t.complete(e):void a()})}):t.complete()}'string'==typeof e&&(e=(0,li.parsePatch)(e));var r=0;a()};var a=function(e){return e&&e.__esModule?e:{default:e}}(pi)});e(ci);var di=t(function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t,a,r,o,s,l){function p(e){return e.map(function(e){return' '+e})}l||(l={}),'undefined'==typeof l.context&&(l.context=4);var c=(0,ai.diffLines)(a,r,l);c.push({value:'',lines:[]});for(var d=[],u=0,m=0,y=[],g=1,h=1,f=function(e){var t=c[e],o=t.lines||t.value.replace(/\n$/,'').split('\n');if(t.lines=o,t.added||t.removed){var s;if(!u){var i=c[e-1];u=g,m=h,i&&(y=0<l.context?p(i.lines.slice(-l.context)):[],u-=y.length,m-=y.length)}(s=y).push.apply(s,n(o.map(function(e){return(t.added?'+':'-')+e}))),t.added?h+=o.length:g+=o.length}else{if(u)if(o.length<=2*l.context&&e<c.length-2){var f;(f=y).push.apply(f,n(p(o)))}else{var x=Ms(o.length,l.context),E;(E=y).push.apply(E,n(p(o.slice(0,x))));var b={oldStart:u,oldLines:g-u+x,newStart:m,newLines:h-m+x,lines:y};if(e>=c.length-2&&o.length<=l.context){var S=/\n$/.test(a),T=/\n$/.test(r);0!=o.length||S?(!S||!T)&&y.push('\\ No newline at end of file'):y.splice(b.oldLines,0,'\\ No newline at end of file')}d.push(b),u=0,m=0,y=[]}g+=o.length,h+=o.length}},x=0;x<c.length;x++)f(x);return{oldFileName:e,newFileName:t,oldHeader:o,newHeader:s,hunks:d}}function r(e,t,n,r,o,s,l){var p=a(e,t,n,r,o,s,l),c=[];e==t&&c.push('Index: '+e),c.push('==================================================================='),c.push('--- '+p.oldFileName+('undefined'==typeof p.oldHeader?'':'\t'+p.oldHeader)),c.push('+++ '+p.newFileName+('undefined'==typeof p.newHeader?'':'\t'+p.newHeader));for(var d=0,i;d<p.hunks.length;d++)i=p.hunks[d],c.push('@@ -'+i.oldStart+','+i.oldLines+' +'+i.newStart+','+i.newLines+' @@'),c.push.apply(c,i.lines);return c.join('\n')+'\n'}t.__esModule=!0,t.structuredPatch=a,t.createTwoFilesPatch=r,t.createPatch=function(e,t,n,a,o,s){return r(e,e,t,n,a,o,s)}});e(di);var ui=t(function(e,t){t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,a=void 0,r=0;r<e.length;r++)n=e[r],a=n.added?1:n.removed?-1:0,t.push([a,n.value]);return t}});e(ui);var mi=t(function(e,t){function n(e){var t=e;return t=t.replace(/&/g,'&amp;'),t=t.replace(/</g,'&lt;'),t=t.replace(/>/g,'&gt;'),t=t.replace(/"/g,'&quot;'),t}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],a=0,r;a<e.length;a++)r=e[a],r.added?t.push('<ins>'):r.removed&&t.push('<del>'),t.push(n(r.value)),r.added?t.push('</ins>'):r.removed&&t.push('</del>');return t.join('')}});e(mi);var yi=t(function(e,t){t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(Zs);t.Diff=n['default'],t.diffChars=ei.diffChars,t.diffWords=ni.diffWords,t.diffWordsWithSpace=ni.diffWordsWithSpace,t.diffLines=ai.diffLines,t.diffTrimmedLines=ai.diffTrimmedLines,t.diffSentences=ri.diffSentences,t.diffCss=oi.diffCss,t.diffJson=si.diffJson,t.diffArrays=ii.diffArrays,t.structuredPatch=di.structuredPatch,t.createTwoFilesPatch=di.createTwoFilesPatch,t.createPatch=di.createPatch,t.applyPatch=ci.applyPatch,t.applyPatches=ci.applyPatches,t.parsePatch=li.parsePatch,t.convertChangesToDMP=ui.convertChangesToDMP,t.convertChangesToXML=mi.convertChangesToXML,t.canonicalize=si.canonicalize});e(yi);var gi=function(e){function t(){return n(this,t),u(this,s(t).apply(this,arguments))}return o(t,e),t}(c(Error)),hi=function(e){function t(){return n(this,t),u(this,s(t).apply(this,arguments))}return o(t,e),t}(c(Error)),fi=function(e){function t(){return n(this,t),u(this,s(t).apply(this,arguments))}return o(t,e),t}(c(Error)),xi={ConfigError:gi,DebugError:hi,UndefinedParserError:fi},Ei='undefined'==typeof global?'undefined'==typeof self?'undefined'==typeof window?{}:window:self:global,bi=x,Si=E;'function'==typeof Ei.setTimeout&&(bi=setTimeout),'function'==typeof Ei.clearTimeout&&(Si=clearTimeout);var Ti=[],vi=!1,Ni=-1,Ci;C.prototype.run=function(){this.fun.apply(null,this.array)};var Ai='browser',wi='browser',Pi=!0,ki={},Ii=[],Oi='',Di={},Li={},ji={},Ri=A,Mi=A,Fi=A,_i=A,Vi=A,qi=A,Bi=A,Wi=Ei.performance||{},Ji=Wi.now||Wi.mozNow||Wi.msNow||Wi.oNow||Wi.webkitNow||function(){return new Date().getTime()},Ui=new Date,Xi={nextTick:N,title:Ai,browser:Pi,env:ki,argv:Ii,version:Oi,versions:Di,on:Ri,addListener:Mi,once:Fi,off:_i,removeListener:Vi,removeAllListeners:qi,emit:Bi,binding:w,cwd:P,chdir:k,umask:I,hrtime:O,platform:wi,release:Li,config:ji,uptime:D},Gi=t(function(e,t){function n(e,t){if(e instanceof o)return e;if('string'!=typeof e)return null;if(e.length>O)return null;var n=t?L[H]:L[z];if(!n.test(e))return null;try{return new o(e,t)}catch(e){return null}}function o(e,t){if(e instanceof o){if(e.loose===t)return e;e=e.version}else if('string'!=typeof e)throw new TypeError('Invalid Version: '+e);if(e.length>O)throw new TypeError('version is longer than '+O+' characters');if(!(this instanceof o))return new o(e,t);I('SemVer',e,t),this.loose=t;var n=e.trim().match(t?L[H]:L[z]);if(!n)throw new TypeError('Invalid Version: '+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>D||0>this.major)throw new TypeError('Invalid major version');if(this.minor>D||0>this.minor)throw new TypeError('Invalid minor version');if(this.patch>D||0>this.patch)throw new TypeError('Invalid patch version');this.prerelease=n[4]?n[4].split('.').map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(0<=t&&t<D)return t}return e}):[],this.build=n[5]?n[5].split('.'):[],this.format()}function s(e,t){var n=i.test(e),r=i.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:e<t?-1:e>t?1:0}function l(e,t,n){return new o(e,n).compare(new o(t,n))}function p(e,t,n){return 0<l(e,t,n)}function c(e,t,n){return 0>l(e,t,n)}function d(e,t,n){return 0===l(e,t,n)}function u(e,t,n){return 0!==l(e,t,n)}function m(e,t,n){return 0<=l(e,t,n)}function y(e,t,n){return 0>=l(e,t,n)}function a(e,t,n,a){var o;switch(t){case'===':'object'===r(e)&&(e=e.version),'object'===r(n)&&(n=n.version),o=e===n;break;case'!==':'object'===r(e)&&(e=e.version),'object'===r(n)&&(n=n.version),o=e!==n;break;case'':case'=':case'==':o=d(e,n,a);break;case'!=':o=u(e,n,a);break;case'>':o=p(e,n,a);break;case'>=':o=m(e,n,a);break;case'<':o=c(e,n,a);break;case'<=':o=y(e,n,a);break;default:throw new TypeError('Invalid operator: '+t);}return o}function g(e,t){if(e instanceof g){if(e.loose===t)return e;e=e.value}return this instanceof g?void(I('comparator',e,t),this.loose=t,this.parse(e),this.value=this.semver===Ee?'':this.operator+this.semver.version,I('comp',this)):new g(e,t)}function h(e,t){if(e instanceof h)return e.loose===t?e:new h(e.raw,t);if(e instanceof g)return new h(e.value,t);if(!(this instanceof h))return new h(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError('Invalid SemVer Range: '+e);this.format()}function f(e,t){return I('comp',e),e=S(e,t),I('caret',e),e=E(e,t),I('tildes',e),e=v(e,t),I('xrange',e),e=C(e,t),I('stars',e),e}function x(e){return!e||'x'===e.toLowerCase()||'*'===e}function E(e,t){return e.trim().split(/\s+/).map(function(e){return b(e,t)}).join(' ')}function b(e,t){var n=t?L[ie]:L[se];return e.replace(n,function(t,n,a,r,o){I('tilde',e,t,n,a,r,o);var s;return x(n)?s='':x(a)?s='>='+n+'.0.0 <'+(+n+1)+'.0.0':x(r)?s='>='+n+'.'+a+'.0 <'+n+'.'+(+a+1)+'.0':o?(I('replaceTilde pr',o),'-'!==o.charAt(0)&&(o='-'+o),s='>='+n+'.'+a+'.'+r+o+' <'+n+'.'+(+a+1)+'.0'):s='>='+n+'.'+a+'.'+r+' <'+n+'.'+(+a+1)+'.0',I('tilde return',s),s})}function S(e,t){return e.trim().split(/\s+/).map(function(e){return T(e,t)}).join(' ')}function T(e,t){I('caret',e,t);var n=t?L[de]:L[ce];return e.replace(n,function(t,n,a,r,o){I('caret',e,t,n,a,r,o);var s;return x(n)?s='':x(a)?s='>='+n+'.0.0 <'+(+n+1)+'.0.0':x(r)?'0'===n?s='>='+n+'.'+a+'.0 <'+n+'.'+(+a+1)+'.0':s='>='+n+'.'+a+'.0 <'+(+n+1)+'.0.0':o?(I('replaceCaret pr',o),'-'!==o.charAt(0)&&(o='-'+o),s='0'===n?'0'===a?'>='+n+'.'+a+'.'+r+o+' <'+n+'.'+a+'.'+(+r+1):'>='+n+'.'+a+'.'+r+o+' <'+n+'.'+(+a+1)+'.0':'>='+n+'.'+a+'.'+r+o+' <'+(+n+1)+'.0.0'):(I('no pr'),s='0'===n?'0'===a?'>='+n+'.'+a+'.'+r+' <'+n+'.'+a+'.'+(+r+1):'>='+n+'.'+a+'.'+r+' <'+n+'.'+(+a+1)+'.0':'>='+n+'.'+a+'.'+r+' <'+(+n+1)+'.0.0'),I('caret return',s),s})}function v(e,t){return I('replaceXRanges',e,t),e.split(/\s+/).map(function(e){return N(e,t)}).join(' ')}function N(e,t){e=e.trim();var n=t?L[ae]:L[ne];return e.replace(n,function(t,n,a,r,o,s){I('xRange',e,t,n,a,r,o,s);var i=x(a),l=i||x(r),p=l||x(o),c=p;return'='===n&&c&&(n=''),i?'>'===n||'<'===n?t='<0.0.0':t='*':n&&c?(l&&(r=0),p&&(o=0),'>'===n?(n='>=',l?(a=+a+1,r=0,o=0):p&&(r=+r+1,o=0)):'<='===n&&(n='<',l?a=+a+1:r=+r+1),t=n+a+'.'+r+'.'+o):l?t='>='+a+'.0.0 <'+(+a+1)+'.0.0':p&&(t='>='+a+'.'+r+'.0 <'+a+'.'+(+r+1)+'.0'),I('xRange return',t),t})}function C(e,t){return I('replaceStars',e,t),e.trim().replace(L[fe],'')}function A(e,t,n,a,r,o,s,i,l,p,c,d){return t=x(n)?'':x(a)?'>='+n+'.0.0':x(r)?'>='+n+'.'+a+'.0':'>='+t,i=x(l)?'':x(p)?'<'+(+l+1)+'.0.0':x(c)?'<'+l+'.'+(+p+1)+'.0':d?'<='+l+'.'+p+'.'+c+'-'+d:'<='+i,(t+' '+i).trim()}function w(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(I(e[n].semver),e[n].semver!==Ee&&0<e[n].semver.prerelease.length){var a=e[n].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function P(e,t,n){try{t=new h(t,n)}catch(e){return!1}return t.test(e)}function k(e,t,n,a){e=new o(e,a),t=new h(t,a);var r,s,l,d,u;switch(n){case'>':r=p,s=y,l=c,d='>',u='>=';break;case'<':r=c,s=m,l=p,d='<',u='<=';break;default:throw new TypeError('Must provide a hilo val of "<" or ">"');}if(P(e,t,a))return!1;for(var f=0;f<t.set.length;++f){var i=t.set[f],x=null,E=null;if(i.forEach(function(e){e.semver===Ee&&(e=new g('>=0.0.0')),x=x||e,E=E||e,r(e.semver,x.semver,a)?x=e:l(e.semver,E.semver,a)&&(E=e)}),x.operator===d||x.operator===u)return!1;if((!E.operator||E.operator===d)&&s(e,E.semver))return!1;if(E.operator===u&&l(e,E.semver))return!1}return!0}t=e.exports=o;var I;I='object'===r(Xi)&&Xi.env&&Xi.env.NODE_DEBUG&&/\bsemver\b/i.test(Xi.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift('SEMVER'),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION='2.0.0';var O=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,L=t.re=[],j=t.src=[],M=0,R=M++;j[R]='0|[1-9]\\d*';var F=M++;j[F]='[0-9]+';var _=M++;j[_]='\\d*[a-zA-Z-][a-zA-Z0-9-]*';var V=M++;j[V]='('+j[R]+')\\.('+j[R]+')\\.('+j[R]+')';var q=M++;j[q]='('+j[F]+')\\.('+j[F]+')\\.('+j[F]+')';var B=M++;j[B]='(?:'+j[R]+'|'+j[_]+')';var W=M++;j[W]='(?:'+j[F]+'|'+j[_]+')';var J=M++;j[J]='(?:-('+j[B]+'(?:\\.'+j[B]+')*))';var U=M++;j[U]='(?:-?('+j[W]+'(?:\\.'+j[W]+')*))';var X=M++;j[X]='[0-9A-Za-z-]+';var G=M++;j[G]='(?:\\+('+j[X]+'(?:\\.'+j[X]+')*))';var z=M++,K='v?'+j[V]+j[J]+'?'+j[G]+'?';j[z]='^'+K+'$';var $='[v=\\s]*'+j[q]+j[U]+'?'+j[G]+'?',H=M++;j[H]='^'+$+'$';var Y=M++;j[Y]='((?:<|>)?=?)';var Q=M++;j[Q]=j[F]+'|x|X|\\*';var Z=M++;j[Z]=j[R]+'|x|X|\\*';var ee=M++;j[ee]='[v=\\s]*('+j[Z]+')(?:\\.('+j[Z]+')(?:\\.('+j[Z]+')(?:'+j[J]+')?'+j[G]+'?)?)?';var te=M++;j[te]='[v=\\s]*('+j[Q]+')(?:\\.('+j[Q]+')(?:\\.('+j[Q]+')(?:'+j[U]+')?'+j[G]+'?)?)?';var ne=M++;j[ne]='^'+j[Y]+'\\s*'+j[ee]+'$';var ae=M++;j[ae]='^'+j[Y]+'\\s*'+j[te]+'$';var re=M++;j[re]='(?:~>?)';var oe=M++;j[oe]='(\\s*)'+j[re]+'\\s+',L[oe]=new RegExp(j[oe],'g');var se=M++;j[se]='^'+j[re]+j[ee]+'$';var ie=M++;j[ie]='^'+j[re]+j[te]+'$';var le=M++;j[le]='(?:\\^)';var pe=M++;j[pe]='(\\s*)'+j[le]+'\\s+',L[pe]=new RegExp(j[pe],'g');var ce=M++;j[ce]='^'+j[le]+j[ee]+'$';var de=M++;j[de]='^'+j[le]+j[te]+'$';var ue=M++;j[ue]='^'+j[Y]+'\\s*('+$+')$|^$';var me=M++;j[me]='^'+j[Y]+'\\s*('+K+')$|^$';var ye=M++;j[ye]='(\\s*)'+j[Y]+'\\s*('+$+'|'+j[ee]+')',L[ye]=new RegExp(j[ye],'g');var ge=M++;j[ge]='^\\s*('+j[ee]+')\\s+-\\s+('+j[ee]+')\\s*$';var he=M++;j[he]='^\\s*('+j[te]+')\\s+-\\s+('+j[te]+')\\s*$';var fe=M++;j[fe]='(<|>)?=?\\s*\\*';for(var xe=0;xe<M;xe++)I(xe,j[xe]),L[xe]||(L[xe]=new RegExp(j[xe]));t.parse=n,t.valid=function(e,t){var a=n(e,t);return a?a.version:null},t.clean=function(e,t){var a=n(e.trim().replace(/^[=v]+/,''),t);return a?a.version:null},t.SemVer=o,o.prototype.format=function(){return this.version=this.major+'.'+this.minor+'.'+this.patch,this.prerelease.length&&(this.version+='-'+this.prerelease.join('.')),this.version},o.prototype.toString=function(){return this.version},o.prototype.compare=function(e){return I('SemVer.compare',this.version,this.loose,e),e instanceof o||(e=new o(e,this.loose)),this.compareMain(e)||this.comparePre(e)},o.prototype.compareMain=function(e){return e instanceof o||(e=new o(e,this.loose)),s(this.major,e.major)||s(this.minor,e.minor)||s(this.patch,e.patch)},o.prototype.comparePre=function(e){if(e instanceof o||(e=new o(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],a=e.prerelease[t];if(I('prerelease compare',t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n===a)continue;else return s(n,a)}while(++t)},o.prototype.inc=function(e,t){switch(e){case'premajor':this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc('pre',t);break;case'preminor':this.prerelease.length=0,this.patch=0,this.minor++,this.inc('pre',t);break;case'prepatch':this.prerelease.length=0,this.inc('patch',t),this.inc('pre',t);break;case'prerelease':0===this.prerelease.length&&this.inc('patch',t),this.inc('pre',t);break;case'major':(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case'minor':(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case'patch':0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case'pre':if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;0<=--n;)'number'==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error('invalid increment argument: '+e);}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,a){'string'==typeof n&&(a=n,n=void 0);try{return new o(e,n).inc(t,a).version}catch(e){return null}},t.diff=function(e,t){if(d(e,t))return null;var a=n(e),r=n(t);if(a.prerelease.length||r.prerelease.length){for(var o in a)if(('major'==o||'minor'==o||'patch'==o)&&a[o]!==r[o])return'pre'+o;return'prerelease'}for(var o in a)if(('major'==o||'minor'==o||'patch'==o)&&a[o]!==r[o])return o},t.compareIdentifiers=s;var i=/^[0-9]+$/;t.rcompareIdentifiers=function(e,t){return s(t,e)},t.major=function(e,t){return new o(e,t).major},t.minor=function(e,t){return new o(e,t).minor},t.patch=function(e,t){return new o(e,t).patch},t.compare=l,t.compareLoose=function(e,t){return l(e,t,!0)},t.rcompare=function(e,t,n){return l(t,e,n)},t.sort=function(e,n){return e.sort(function(e,a){return t.compare(e,a,n)})},t.rsort=function(e,n){return e.sort(function(e,a){return t.rcompare(e,a,n)})},t.gt=p,t.lt=c,t.eq=d,t.neq=u,t.gte=m,t.lte=y,t.cmp=a,t.Comparator=g;var Ee={};g.prototype.parse=function(e){var t=this.loose?L[ue]:L[me],n=e.match(t);if(!n)throw new TypeError('Invalid comparator: '+e);this.operator=n[1],'='===this.operator&&(this.operator=''),this.semver=n[2]?new o(n[2],this.loose):Ee},g.prototype.toString=function(){return this.value},g.prototype.test=function(e){return!(I('Comparator.test',e,this.loose),this.semver!==Ee)||('string'==typeof e&&(e=new o(e,this.loose)),a(e,this.operator,this.semver,this.loose))},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw new TypeError('a Comparator is required');var n;if(''===this.operator)return n=new h(e.value,t),P(this.value,n,t);if(''===e.operator)return n=new h(this.value,t),P(e.semver,n,t);var r=('>='===this.operator||'>'===this.operator)&&('>='===e.operator||'>'===e.operator),o=('<='===this.operator||'<'===this.operator)&&('<='===e.operator||'<'===e.operator),s=this.semver.version===e.semver.version,i=('>='===this.operator||'<='===this.operator)&&('>='===e.operator||'<='===e.operator),l=a(this.semver,'<',e.semver,t)&&('>='===this.operator||'>'===this.operator)&&('<='===e.operator||'<'===e.operator),p=a(this.semver,'>',e.semver,t)&&('<='===this.operator||'<'===this.operator)&&('>='===e.operator||'>'===e.operator);return r||o||s&&i||l||p},t.Range=h,h.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(' ').trim()}).join('||').trim(),this.range},h.prototype.toString=function(){return this.range},h.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),I('range',e,t);var n=t?L[he]:L[ge];e=e.replace(n,A),I('hyphen replace',e),e=e.replace(L[ye],'$1$2$3'),I('comparator trim',e,L[ye]),e=e.replace(L[oe],'$1~'),e=e.replace(L[pe],'$1^'),e=e.split(/\s+/).join(' ');var a=t?L[ue]:L[me],r=e.split(' ').map(function(e){return f(e,t)}).join(' ').split(/\s+/);return this.loose&&(r=r.filter(function(e){return!!e.match(a)})),r=r.map(function(e){return new g(e,t)}),r},h.prototype.intersects=function(e,t){if(!(e instanceof h))throw new TypeError('a Range is required');return this.set.some(function(n){return n.every(function(n){return e.set.some(function(e){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new h(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(' ').trim().split(' ')})},h.prototype.test=function(e){if(!e)return!1;'string'==typeof e&&(e=new o(e,this.loose));for(var t=0;t<this.set.length;t++)if(w(this.set[t],e))return!0;return!1},t.satisfies=P,t.maxSatisfying=function(e,t,n){var a=null,r=null;try{var s=new h(t,n)}catch(e){return null}return e.forEach(function(e){s.test(e)&&(!a||-1===r.compare(e))&&(a=e,r=new o(a,n))}),a},t.minSatisfying=function(e,t,n){var a=null,r=null;try{var s=new h(t,n)}catch(e){return null}return e.forEach(function(e){s.test(e)&&(!a||1===r.compare(e))&&(a=e,r=new o(a,n))}),a},t.validRange=function(e,t){try{return new h(e,t).range||'*'}catch(e){return null}},t.ltr=function(e,t,n){return k(e,t,'<',n)},t.gtr=function(e,t,n){return k(e,t,'>',n)},t.outside=k,t.prerelease=function(e,t){var a=n(e,t);return a&&a.prerelease.length?a.prerelease:null},t.intersects=function(e,t,n){return e=new h(e,n),t=new h(t,n),e.intersects(t)}}),zi=function(e,t){return Object.keys(e).reduce(function(n,r){return n.concat(Object.assign(a({},t,r),e[r]))},[])},Ki=t(function(e){e.exports=function(e){var t='string'==typeof e?[e]:e.raw;for(var n='',a=0;a<t.length;a++)n+=t[a].replace(/\\\n[ \t]*/g,'').replace(/\\`/g,'`'),a<(1>=arguments.length?0:arguments.length-1)&&(n+=arguments.length<=a+1?void 0:arguments[a+1]);var r=n.split('\n'),o=null;return r.forEach(function(e){var t=e.match(/^(\s+)\S+/);if(t){var n=t[1].length;o=o?Ms(o,n):n}}),null!==o&&(n=r.map(function(e){return' '===e[0]?e.slice(o):e}).join('\n')),n=n.trim(),n.replace(/\\n/g,'\n')}}),$i='Config',Hi='Editor',Yi='Format',Qi='Other',Zi='Output',el='Global',tl='Special',nl={cursorOffset:{since:'1.4.0',category:tl,type:'int',default:-1,range:{start:-1,end:Infinity,step:1},description:Ki(F()),cliCategory:Hi},filepath:{since:'1.4.0',category:tl,type:'path',default:void 0,description:'Specify the input filepath. This will be used to do parser inference.',cliName:'stdin-filepath',cliCategory:Qi,cliDescription:'Path to the file to pretend that stdin comes from.'},insertPragma:{since:'1.8.0',category:tl,type:'boolean',default:!1,description:'Insert @format pragma into file\'s first docblock comment.',cliCategory:Qi},parser:{since:'0.0.10',category:el,type:'choice',default:[{since:'0.0.10',value:'babylon'},{since:'1.13.0',value:void 0}],description:'Which parser to use.',exception:function(e){return'string'==typeof e||'function'==typeof e},choices:[{value:'flow',description:'Flow'},{value:'babylon',description:'JavaScript'},{value:'typescript',since:'1.4.0',description:'TypeScript'},{value:'css',since:'1.7.1',description:'CSS'},{value:'postcss',since:'1.4.0',description:'CSS/Less/SCSS',deprecated:'1.7.1',redirect:'css'},{value:'less',since:'1.7.1',description:'Less'},{value:'scss',since:'1.7.1',description:'SCSS'},{value:'json',since:'1.5.0',description:'JSON'},{value:'json5',since:'1.13.0',description:'JSON5'},{value:'json-stringify',since:'1.13.0',description:'JSON.stringify'},{value:'graphql',since:'1.5.0',description:'GraphQL'},{value:'markdown',since:'1.8.0',description:'Markdown'},{value:'vue',since:'1.10.0',description:'Vue'}]},plugins:{since:'1.10.0',type:'path',array:!0,default:[{value:[]}],category:el,description:'Add a plugin. Multiple plugins can be passed as separate `--plugin`s.',exception:function(e){return'string'==typeof e||'object'===r(e)},cliName:'plugin',cliCategory:$i},pluginSearchDirs:{since:'1.13.0',type:'path',array:!0,default:[{value:[]}],category:el,description:Ki(M()),exception:function(e){return'string'==typeof e||'object'===r(e)},cliName:'plugin-search-dir',cliCategory:$i},printWidth:{since:'0.0.0',category:el,type:'int',default:80,description:'The line length where Prettier will try wrap.',range:{start:0,end:Infinity,step:1}},rangeEnd:{since:'1.4.0',category:tl,type:'int',default:Infinity,range:{start:0,end:Infinity,step:1},description:Ki(R()),cliCategory:Hi},rangeStart:{since:'1.4.0',category:tl,type:'int',default:0,range:{start:0,end:Infinity,step:1},description:Ki(j()),cliCategory:Hi},requirePragma:{since:'1.7.0',category:tl,type:'boolean',default:!1,description:Ki(L()),cliCategory:Qi},tabWidth:{type:'int',category:el,default:2,description:'Number of spaces per indentation level.',range:{start:0,end:Infinity,step:1}},useFlowParser:{since:'0.0.0',category:el,type:'boolean',default:!1,deprecated:'0.0.10',description:'Use flow parser.',redirect:{option:'parser',value:'flow'},cliName:'flow-parser'},useTabs:{since:'1.0.0',category:el,type:'boolean',default:!1,description:'Indent with tabs instead of spaces.'}},al={CATEGORY_CONFIG:$i,CATEGORY_EDITOR:Hi,CATEGORY_FORMAT:Yi,CATEGORY_OTHER:Qi,CATEGORY_OUTPUT:Zi,CATEGORY_GLOBAL:el,CATEGORY_SPECIAL:tl,options:nl},rl=Ys&&Hs||Ys,ol=rl.version,sl=al.options,il={getSupportInfo:_},ll=[],pl=[],cl=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var a=e.length,r=t.length;if(0===a)return r;if(0===r)return a;for(;0<a&&e.charCodeAt(~-a)===t.charCodeAt(~-r);)a--,r--;if(0===a)return r;for(var o=0;o<a&&e.charCodeAt(o)===t.charCodeAt(o);)o++;if(a-=o,r-=o,0===a)return r;for(var s=0,i=0,l,p,c,d;s<a;)pl[o+s]=e.charCodeAt(o+s),ll[s]=++s;for(;i<r;)for(l=t.charCodeAt(o+i),c=i++,p=i,s=0;s<a;s++)d=l===pl[o+s]?c:c+1,c=ll[s],p=ll[s]=c>p?d>p?p+1:d:d>c?c+1:d;return p},dl={apiDescriptor:V,cliDescriptor:q},ul={validateOption:B},ml={normalizeApiOptions:Y,normalizeCliOptions:Q},yl=function(e){return 0<e.length?e[e.length-1]:null},gl={locStart:Z,locEnd:ee},hl=t(function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:'invalid',value:e[0]};return e[1]?(t.type='string',t.closed=!!(e[3]||e[4])):e[5]?t.type='comment':e[6]?(t.type='comment',t.closed=!!e[7]):e[8]?t.type='regex':e[9]?t.type='number':e[10]?t.type='name':e[11]?t.type='punctuator':e[12]&&(t.type='whitespace'),t}});e(hl);var fl=t(function(e){(function(){function t(e){if(null==e)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 n(e){switch(e.type){case'IfStatement':return null==e.alternate?e.consequent:e.alternate;case'LabeledStatement':case'ForStatement':case'ForInStatement':case'WhileStatement':case'WithStatement':return e.body;}return null}e.exports={isExpression:function(e){if(null==e)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},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case'DoWhileStatement':case'ForInStatement':case'ForStatement':case'WhileStatement':return!0;}return!1},isSourceElement:function(e){return t(e)||null!=e&&'FunctionDeclaration'===e.type},isProblematicIfStatement:function(e){var t;if('IfStatement'!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if('IfStatement'===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}})()}),xl=t(function(e){(function(){function t(e){if(65535>=e)return Ls(e);var t=Ls(Rs((e-65536)/1024)+55296),n=Ls((e-65536)%1024+56320);return t+n}var n,a,r,o,s,i;for(a={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-\u08B2\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\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\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\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-\u13F4\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\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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-\u08B2\u08E4-\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\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\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\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\u0D57\u0D60-\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-\u13F4\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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-\uFE2D\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]/},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-\u08B2\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\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\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\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-\u13F4\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\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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\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\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]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\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]|\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]|\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-\u08B2\u08E4-\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\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\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\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\u0D57\u0D60-\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-\u13F4\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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-\uFE2D\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\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\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]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\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]|\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]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=Array(128),i=0;128>i;++i)o[i]=97<=i&&122>=i||65<=i&&90>=i||36===i||95===i;for(s=Array(128),i=0;128>i;++i)s[i]=97<=i&&122>=i||65<=i&&90>=i||48<=i&&57>=i||36===i||95===i;e.exports={isDecimalDigit:function(e){return 48<=e&&57>=e},isHexDigit:function(e){return 48<=e&&57>=e||97<=e&&102>=e||65<=e&&70>=e},isOctalDigit:function(e){return 48<=e&&55>=e},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||5760<=e&&0<=r.indexOf(e)},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return 128>e?o[e]:a.NonAsciiIdentifierStart.test(t(e))},isIdentifierPartES5:function(e){return 128>e?s[e]:a.NonAsciiIdentifierPart.test(t(e))},isIdentifierStartES6:function(e){return 128>e?o[e]:n.NonAsciiIdentifierStart.test(t(e))},isIdentifierPartES6:function(e){return 128>e?s[e]:n.NonAsciiIdentifierPart.test(t(e))}}})()}),El=t(function(e){(function(){function t(e){return'implements'===e||'interface'===e||'package'===e||'private'===e||'protected'===e||'public'===e||'static'===e||'let'===e}function n(e,t){return(t||'yield'!==e)&&a(e,t)}function a(e,n){if(n&&t(e))return!0;switch(e.length){case 2:return'if'===e||'in'===e||'do'===e;case 3:return'var'===e||'for'===e||'new'===e||'try'===e;case 4:return'this'===e||'else'===e||'case'===e||'void'===e||'with'===e||'enum'===e;case 5:return'while'===e||'break'===e||'catch'===e||'throw'===e||'const'===e||'yield'===e||'class'===e||'super'===e;case 6:return'return'===e||'typeof'===e||'delete'===e||'switch'===e||'export'===e||'import'===e;case 7:return'default'===e||'finally'===e||'extends'===e;case 8:return'function'===e||'continue'===e||'debugger'===e;case 10:return'instanceof'===e;default:return!1;}}function r(e,t){return'null'===e||'true'===e||'false'===e||n(e,t)}function o(e,t){return'null'===e||'true'===e||'false'===e||a(e,t)}function s(e){var t,n,a;if(0===e.length)return!1;if(a=e.charCodeAt(0),!p.isIdentifierStartES5(a))return!1;for(t=1,n=e.length;t<n;++t)if(a=e.charCodeAt(t),!p.isIdentifierPartES5(a))return!1;return!0}function l(e,t){return 1024*(e-55296)+(t-56320)+65536}function i(e){var t,n,a,r,o;if(0===e.length)return!1;for(o=p.isIdentifierStartES6,t=0,n=e.length;t<n;++t){if(a=e.charCodeAt(t),55296<=a&&56319>=a){if(++t,t>=n)return!1;if(r=e.charCodeAt(t),!(56320<=r&&57343>=r))return!1;a=l(a,r)}if(!o(a))return!1;o=p.isIdentifierPartES6}return!0}var p=xl;e.exports={isKeywordES5:n,isKeywordES6:a,isReservedWordES5:r,isReservedWordES6:o,isRestrictedWord:function(e){return'eval'===e||'arguments'===e},isIdentifierNameES5:s,isIdentifierNameES6:i,isIdentifierES5:function(e,t){return s(e)&&!r(e,t)},isIdentifierES6:function(e,t){return i(e)&&!o(e,t)}}})()}),bl=t(function(e,t){(function(){t.ast=fl,t.code=xl,t.keyword=El})()}),Sl=/[|\\{}()[\]^$+*?.]/g,Tl=function(e){if('string'!=typeof e)throw new TypeError('Expected a string');return e.replace(Sl,'\\$&')},vl={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Nl=t(function(e){function t(e,t){return o(e[0]-t[0],2)+o(e[1]-t[1],2)+o(e[2]-t[2],2)}var n=Math.PI,o=Math.pow,a={};for(var r in vl)vl.hasOwnProperty(r)&&(a[vl[r]]=r);var s=e.exports={rgb:{channels:3,labels:'rgb'},hsl:{channels:3,labels:'hsl'},hsv:{channels:3,labels:'hsv'},hwb:{channels:3,labels:'hwb'},cmyk:{channels:4,labels:'cmyk'},xyz:{channels:3,labels:'xyz'},lab:{channels:3,labels:'lab'},lch:{channels:3,labels:'lch'},hex:{channels:1,labels:['hex']},keyword:{channels:1,labels:['keyword']},ansi16:{channels:1,labels:['ansi16']},ansi256:{channels:1,labels:['ansi256']},hcg:{channels:3,labels:['h','c','g']},apple:{channels:3,labels:['r16','g16','b16']},gray:{channels:1,labels:['gray']}};for(var i in s)if(s.hasOwnProperty(i)){if(!('channels'in s[i]))throw new Error('missing channels property: '+i);if(!('labels'in s[i]))throw new Error('missing channel labels property: '+i);if(s[i].labels.length!==s[i].channels)throw new Error('channel and label counts mismatch: '+i);var l=s[i].channels,p=s[i].labels;delete s[i].channels,delete s[i].labels,Object.defineProperty(s[i],'channels',{value:l}),Object.defineProperty(s[i],'labels',{value:p})}s.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Ms(t,n,a),o=js(t,n,a),i=o-r,p,c,s;return o===r?p=0:t===o?p=(n-a)/i:n===o?p=2+(a-t)/i:a===o&&(p=4+(t-n)/i),p=Ms(60*p,360),0>p&&(p+=360),s=(r+o)/2,c=o===r?0:0.5>=s?i/(o+r):i/(2-o-r),[p,100*c,100*s]},s.rgb.hsv=function(e){var t=e[0],n=e[1],a=e[2],r=Ms(t,n,a),o=js(t,n,a),i=o-r,l,p,s;return p=0===o?0:1e3*(i/o)/10,o===r?l=0:t===o?l=(n-a)/i:n===o?l=2+(a-t)/i:a===o&&(l=4+(t-n)/i),l=Ms(60*l,360),0>l&&(l+=360),s=1e3*(o/255)/10,[l,p,s]},s.rgb.hwb=function(e){var t=e[0],n=e[1],a=e[2],r=s.rgb.hsl(e)[0],o=1/255*Ms(t,Ms(n,a));return a=1-1/255*js(t,js(n,a)),[r,100*o,100*a]},s.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,a=e[2]/255,r,o,s,i;return i=Ms(1-t,1-n,1-a),r=(1-t-i)/(1-i)||0,o=(1-n-i)/(1-i)||0,s=(1-a-i)/(1-i)||0,[100*r,100*o,100*s,100*i]},s.rgb.keyword=function(e){var n=a[e];if(n)return n;var r=Infinity,o;for(var s in vl)if(vl.hasOwnProperty(s)){var i=vl[s],l=t(e,i);l<r&&(r=l,o=s)}return o},s.keyword.rgb=function(e){return vl[e]},s.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,a=e[2]/255;t=0.04045<t?o((t+0.055)/1.055,2.4):t/12.92,n=0.04045<n?o((n+0.055)/1.055,2.4):n/12.92,a=0.04045<a?o((a+0.055)/1.055,2.4):a/12.92;var r=0.4124*t+0.3576*n+0.1805*a,s=0.2126*t+0.7152*n+0.0722*a,i=0.0193*t+0.1192*n+0.9505*a;return[100*r,100*s,100*i]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),n=t[0],r=t[1],i=t[2],p,l,a;return n/=95.047,r/=100,i/=108.883,n=0.008856<n?o(n,1/3):7.787*n+16/116,r=0.008856<r?o(r,1/3):7.787*r+16/116,i=0.008856<i?o(i,1/3):7.787*i+16/116,p=116*r-16,l=500*(n-r),a=200*(r-i),[p,l,a]},s.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,a=e[2]/100,r,o,s,l,p;if(0==n)return p=255*a,[p,p,p];o=0.5>a?a*(1+n):a+n-a*n,r=2*a-o,l=[0,0,0];for(var c=0;3>c;c++)s=t+1/3*-(c-1),0>s&&s++,1<s&&s--,p=1>6*s?r+6*(o-r)*s:1>2*s?o:2>3*s?r+6*((o-r)*(2/3-s)):r,l[c]=255*p;return l},s.hsl.hsv=function(e){var t=e[0],n=e[1]/100,a=e[2]/100,r=n,o=js(a,0.01),s,i;return a*=2,n*=1>=a?a:2-a,r*=1>=o?o:2-o,i=(a+n)/2,s=0==a?2*r/(o+r):2*n/(a+n),[t,100*s,100*i]},s.hsv.rgb=function(e){var n=e[0]/60,a=e[1]/100,r=e[2]/100,o=Rs(n)%6,s=n-Rs(n),i=255*r*(1-a),l=255*r*(1-a*s),p=255*r*(1-a*(1-s));return r*=255,0==o?[r,p,i]:1==o?[l,r,i]:2==o?[i,r,p]:3==o?[i,l,r]:4==o?[p,i,r]:5==o?[r,i,l]:void 0},s.hsv.hsl=function(e){var t=e[0],n=e[1]/100,a=e[2]/100,r=js(a,0.01),o,s,i;return i=(2-n)*a,o=(2-n)*r,s=n*r,s/=1>=o?o:2-o,s=s||0,i/=2,[t,100*s,100*i]},s.hwb.rgb=function(e){var t=e[0]/360,a=e[1]/100,o=e[2]/100,s=a+o,l,i,p,c;1<s&&(a/=s,o/=s),l=Rs(6*t),i=1-o,p=6*t-l,0!=(1&l)&&(p=1-p),c=a+p*(i-a);var n,r,d;switch(l){default:case 6:case 0:n=i,r=c,d=a;break;case 1:n=c,r=i,d=a;break;case 2:n=a,r=i,d=c;break;case 3:n=a,r=c,d=i;break;case 4:n=c,r=a,d=i;break;case 5:n=i,r=a,d=c;}return[255*n,255*r,255*d]},s.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,a=e[2]/100,o=e[3]/100,s,r,i;return s=1-Ms(1,t*(1-o)+o),r=1-Ms(1,n*(1-o)+o),i=1-Ms(1,a*(1-o)+o),[255*s,255*r,255*i]},s.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,a=e[2]/100,s,r,i;return s=3.2406*t+-1.5372*n+-0.4986*a,r=-0.9689*t+1.8758*n+0.0415*a,i=0.0557*t+-0.204*n+1.057*a,s=0.0031308<s?1.055*o(s,1/2.4)-0.055:12.92*s,r=0.0031308<r?1.055*o(r,1/2.4)-0.055:12.92*r,i=0.0031308<i?1.055*o(i,1/2.4)-0.055:12.92*i,s=Ms(js(0,s),1),r=Ms(js(0,r),1),i=Ms(js(0,i),1),[255*s,255*r,255*i]},s.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2],s,i,a;return t/=95.047,n/=100,r/=108.883,t=0.008856<t?o(t,1/3):7.787*t+16/116,n=0.008856<n?o(n,1/3):7.787*n+16/116,r=0.008856<r?o(r,1/3):7.787*r+16/116,s=116*n-16,i=500*(t-n),a=200*(n-r),[s,i,a]},s.lab.xyz=function(e){var t=e[0],n=e[1],a=e[2],r,s,i;s=(t+16)/116,r=n/500+s,i=s-a/200;var l=o(s,3),p=o(r,3),c=o(i,3);return s=0.008856<l?l:(s-16/116)/7.787,r=0.008856<p?p:(r-16/116)/7.787,i=0.008856<c?c:(i-16/116)/7.787,r*=95.047,s*=100,i*=108.883,[r,s,i]},s.lab.lch=function(e){var t=e[0],r=e[1],a=e[2],o,s,i;return o=Math.atan2(a,r),s=360*o/2/n,0>s&&(s+=360),i=Math.sqrt(r*r+a*a),[t,i,s]},s.lch.lab=function(e){var t=e[0],r=e[1],o=e[2],s,a,i;return i=2*(o/360)*n,s=r*Math.cos(i),a=r*Math.sin(i),[t,s,a]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],a=e[2],r=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(r=Ds(r/50),0===r)return 30;var o=30+(Ds(a/255)<<2|Ds(n/255)<<1|Ds(t/255));return 2===r&&(o+=60),o},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],a=e[2];if(t===n&&n===a)return 8>t?16:248<t?231:Ds(24*((t-8)/247))+232;var r=16+36*Ds(5*(t/255))+6*Ds(5*(n/255))+Ds(5*(a/255));return r},s.ansi16.rgb=function(e){var t=e%10;if(0==t||7==t)return 50<e&&(t+=3.5),t=255*(t/10.5),[t,t,t];var n=0.5*(~~(50<e)+1),a=255*((1&t)*n),r=255*((1&t>>1)*n),o=255*((1&t>>2)*n);return[a,r,o]},s.ansi256.rgb=function(e){if(232<=e){var t=10*(e-232)+8;return[t,t,t]}e-=16;var n=255*(Rs(e/36)/5),a=255*(Rs((o=e%36)/6)/5),r=255*(o%6/5),o;return[n,a,r]},s.rgb.hex=function(e){var t=((255&Ds(e[0]))<<16)+((255&Ds(e[1]))<<8)+(255&Ds(e[2])),n=t.toString(16).toUpperCase();return'000000'.substring(n.length)+n},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split('').map(function(e){return e+e}).join(''));var a=parseInt(n,16);return[255&a>>16,255&a>>8,255&a]},s.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,a=e[2]/255,r=js(js(t,n),a),o=Ms(Ms(t,n),a),s=r-o,i,l;return i=1>s?o/(1-s):0,l=0>=s?0:r===t?(n-a)/s%6:r===n?2+(a-t)/s:4+(t-n)/s+4,l/=6,l%=1,[360*l,100*s,100*i]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,a=1,r=0;return a=0.5>n?2*t*n:2*t*(1-n),1>a&&(r=(n-0.5*a)/(1-a)),[e[0],100*a,100*r]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,a=t*n,r=0;return 1>a&&(r=(n-a)/(1-a)),[e[0],100*a,100*r]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,a=e[2]/100;if(0==n)return[255*a,255*a,255*a];var r=[0,0,0],o=6*(t%1),s=o%1,i=1-s,l=0;switch(Rs(o)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=i,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=i,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=i;}return l=(1-n)*a,[255*(n*r[0]+l),255*(n*r[1]+l),255*(n*r[2]+l)]},s.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,a=t+n*(1-t),r=0;return 0<a&&(r=t/a),[e[0],100*r,100*a]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,a=n*(1-t)+0.5*t,r=0;return 0<a&&0.5>a?r=t/(2*a):0.5<=a&&1>a&&(r=t/(2*(1-a))),[e[0],100*r,100*a]},s.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,a=t+n*(1-t);return[e[0],100*(a-t),100*(1-a)]},s.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,a=1-n,r=a-t,o=0;return 1>r&&(o=(a-r)/(1-r)),[e[0],100*r,100*o]},s.apple.rgb=function(e){return[255*(e[0]/65535),255*(e[1]/65535),255*(e[2]/65535)]},s.rgb.apple=function(e){return[65535*(e[0]/255),65535*(e[1]/255),65535*(e[2]/255)]},s.gray.rgb=function(e){return[255*(e[0]/100),255*(e[0]/100),255*(e[0]/100)]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Ds(255*(e[0]/100)),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return'000000'.substring(n.length)+n},s.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[100*(t/255)]}}),Cl=Object.keys(Nl),Al=function(e){for(var t=ne(e),n={},a=Object.keys(t),r=a.length,o=0;o<r;o++){var s=a[o],i=t[s];null!==i.parent&&(n[s]=re(s,t))}return n},wl={},Pl=Object.keys(Nl);Pl.forEach(function(e){wl[e]={},Object.defineProperty(wl[e],'channels',{value:Nl[e].channels}),Object.defineProperty(wl[e],'labels',{value:Nl[e].labels});var t=Al(e),n=Object.keys(t);n.forEach(function(n){var a=t[n];wl[e][n]=se(a),wl[e][n].raw=oe(a)})});var kl=wl,Il=t(function(e){var t=function(e,t){return function(){var n=e.apply(kl,arguments);return'\x1B['.concat(n+t,'m')}},n=function(e,t){return function(){var n=e.apply(kl,arguments);return'\x1B['.concat(38+t,';5;').concat(n,'m')}},a=function(e,t){return function(){var n=e.apply(kl,arguments);return'\x1B['.concat(38+t,';2;').concat(n[0],';').concat(n[1],';').concat(n[2],'m')}};Object.defineProperty(e,'exports',{enumerable:!0,get:function(){var e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.grey=e.color.gray,Object.keys(e).forEach(function(t){var n=e[t];Object.keys(n).forEach(function(t){var a=n[t];e[t]={open:'\x1B['.concat(a[0],'m'),close:'\x1B['.concat(a[1],'m')},n[t]=e[t]}),Object.defineProperty(e,t,{value:n,enumerable:!1})});var o=function(e,t,n){return[e,t,n]};e.color.close='\x1B[39m',e.bgColor.close='\x1B[49m',e.color.ansi={},e.color.ansi256={},e.color.ansi16m={rgb:a(o,0)},e.bgColor.ansi={},e.bgColor.ansi256={},e.bgColor.ansi16m={rgb:a(o,10)};for(var s=Object.keys(kl),i=0,l;i<s.length;i++)if(l=s[i],'object'===r(kl[l])){var p=kl[l];'ansi16'in p&&(e.color.ansi[l]=t(p.ansi16,0),e.bgColor.ansi[l]=t(p.ansi16,10)),'ansi256'in p&&(e.color.ansi256[l]=n(p.ansi256,0),e.bgColor.ansi256[l]=n(p.ansi256,10)),'rgb'in p&&(e.color.ansi16m[l]=a(p.rgb,0),e.bgColor.ansi16m[l]=a(p.rgb,10))}return e}})}),Ol=function(e,t){t=t||Xi.argv;var n=t.indexOf('--'),a=/^-{1,2}/.test(e)?'':'--',r=t.indexOf(a+e);return-1!==r&&(!(-1!==n)||r<n)},Dl={},Ll=Object.freeze({default:Dl,__moduleExports:Dl}),jl=Ll&&Dl||Ll,Rl=t(function(e){var t=Xi.env,n=function(){if(Ol('no-color')||Ol('no-colors')||Ol('color=false'))return 0;if(Ol('color=16m')||Ol('color=full')||Ol('color=truecolor'))return 3;if(Ol('color=256'))return 2;if(Ol('color')||Ol('colors')||Ol('color=true')||Ol('color=always'))return 1;if(Xi.stdout&&!Xi.stdout.isTTY)return 0;if('win32'===Xi.platform){var e=jl.release().split('.');return 8<=+Xi.version.split('.')[0]&&10<=+e[0]&&10586<=+e[2]?2:1}if('CI'in t)return'TRAVIS'in t||'Travis'===t.CI||'CIRCLECI'in t?1:0;if('TEAMCITY_VERSION'in t)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(t.TEAMCITY_VERSION)?1:0;if('TERM_PROGRAM'in t){var n=parseInt((t.TERM_PROGRAM_VERSION||'').split('.')[0],10);switch(t.TERM_PROGRAM){case'iTerm.app':return 3<=n?3:2;case'Hyper':return 3;case'Apple_Terminal':return 2;}}return /^(screen|xterm)-256(?:color)?/.test(t.TERM)?2:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(t.TERM)?1:'COLORTERM'in t?1:'dumb'===t.TERM?0:0}();'FORCE_COLOR'in t&&(n=0===parseInt(t.FORCE_COLOR,10)?0:n||1),e.exports=Xi&&function(e){return 0!==e&&{level:e,hasBasic:!0,has256:2<=e,has16m:3<=e}}(n)}),Ml=t(function(e){function t(e){return'u'===e[0]&&5===e.length||'x'===e[0]&&3===e.length?Ls(parseInt(e.slice(1),16)):p.get(e)||e}function n(e,n){var a=[],r=n.trim().split(/\s*,\s*/g),o=!0,s=!1,p=void 0,c;try{for(var d=r[Symbol.iterator](),u,m;!(o=(u=d.next()).done);o=!0)if(m=u.value,!isNaN(m))a.push(+m);else if(c=m.match(i))a.push(c[2].replace(l,function(e,n,a){return n?t(n):a}));else throw new Error('Invalid Chalk template style argument: '.concat(m,' (in style \'').concat(e,'\')'))}catch(e){s=!0,p=e}finally{try{o||null==d.return||d.return()}finally{if(s)throw p}}return a}function a(e){s.lastIndex=0;for(var t=[],a;null!==(a=s.exec(e));){var r=a[1];if(a[2]){var o=n(r,a[2]);t.push([r].concat(o))}else t.push([r])}return t}function r(e,t){var n={},a=!0,r=!1,o=void 0;try{for(var s=t[Symbol.iterator](),i;!(a=(i=s.next()).done);a=!0){var l=i.value,p=!0,c=!1,d=void 0;try{for(var u=l.styles[Symbol.iterator](),m,y;!(p=(m=u.next()).done);p=!0)y=m.value,n[y[0]]=l.inverse?null:y.slice(1)}catch(e){c=!0,d=e}finally{try{p||null==u.return||u.return()}finally{if(c)throw d}}}}catch(e){r=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(r)throw o}}for(var g=e,h=Object.keys(n),f=0,x;f<h.length;f++)if(x=h[f],Array.isArray(n[x])){if(!(x in g))throw new Error('Unknown Chalk style: '.concat(x));g=0<n[x].length?g[x].apply(g,n[x]):g[x]}return g}var o=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,s=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,l=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,p=new Map([['n','\n'],['r','\r'],['t','\t'],['b','\b'],['f','\f'],['v','\x0B'],['0','\0'],['\\','\\'],['e','\x1B'],['a','\x07']]);e.exports=function(e,n){var s=[],i=[],l=[];if(n.replace(o,function(n,o,p,c,d,u){if(o)l.push(t(o));else if(c){var m=l.join('');l=[],i.push(0===s.length?m:r(e,s)(m)),s.push({inverse:p,styles:a(c)})}else if(d){if(0===s.length)throw new Error('Found extraneous } in Chalk template literal');i.push(r(e,s)(l.join(''))),l=[],s.pop()}else l.push(u)}),i.push(l.join('')),0<s.length){var p='Chalk template literal is missing '.concat(s.length,' closing bracket').concat(1===s.length?'':'s',' (`}`)');throw new Error(p)}return i.join('')}}),Fl=t(function(e){function t(e,t){t=t||{};var n=Rl?Rl.level:0;e.level=t.level===void 0?n:t.level,e.enabled='enabled'in t?t.enabled:0<e.level}function n(e){if(!this||!(this instanceof n)||this.template){var a={};return t(a,e),a.template=function(){var e=[].slice.call(arguments);return o.apply(null,[a.template].concat(e))},Object.setPrototypeOf(a,n.prototype),Object.setPrototypeOf(a.template,a),a.template.constructor=n,a.template}t(this,e)}function a(e,t,n){var a=function e(){return r.apply(e,arguments)};a._styles=e,a._empty=t;var o=this;return Object.defineProperty(a,'level',{enumerable:!0,get:function(){return o.level},set:function(e){o.level=e}}),Object.defineProperty(a,'enabled',{enumerable:!0,get:function(){return o.enabled},set:function(e){o.enabled=e}}),a.hasGrey=this.hasGrey||'gray'===n||'grey'===n,a.__proto__=S,a}function r(){var e=arguments,t=e.length,n=arguments[0]+'';if(0===t)return'';if(1<t)for(var r=1;r<t;r++)n+=' '+e[r];if(!this.enabled||0>=this.level||!n)return this._empty?'':n;var a=Il.dim.open;s&&this.hasGrey&&(Il.dim.open='');var o=!0,i=!1,l=void 0;try{for(var p=this._styles.slice().reverse()[Symbol.iterator](),c,d;!(o=(c=p.next()).done);o=!0)d=c.value,n=d.open+n.replace(d.closeRe,d.open)+d.close,n=n.replace(/\r?\n/g,''.concat(d.close,'$&').concat(d.open))}catch(e){i=!0,l=e}finally{try{o||null==p.return||p.return()}finally{if(i)throw l}}return Il.dim.open=a,n}function o(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(' ');for(var n=[].slice.call(arguments,2),a=[t.raw[0]],r=1;r<t.length;r++)a.push((n[r-1]+'').replace(/[{}\\]/g,'\\$&')),a.push(t.raw[r]+'');return Ml(e,a.join(''))}var s='win32'===Xi.platform&&!(Xi.env.TERM||'').toLowerCase().startsWith('xterm'),i=['ansi','ansi','ansi256','ansi16m'],l=new Set(['gray']),p=Object.create(null);s&&(Il.blue.open='\x1B[94m');for(var c=Object.keys(Il),d=function(){var e=c[u];Il[e].closeRe=new RegExp(Tl(Il[e].close),'g'),p[e]={get:function(){var t=Il[e];return a.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},u=0;u<c.length;u++)d();p.visible={get:function(){return a.call(this,this._styles||[],!0,'visible')}},Il.color.closeRe=new RegExp(Tl(Il.color.close),'g');for(var m=Object.keys(Il.color.ansi),y=function(){var e=m[g];return l.has(e)?'continue':void(p[e]={get:function(){var t=this.level;return function(){var n=Il.color[i[t]][e].apply(null,arguments),r={open:n,close:Il.color.close,closeRe:Il.color.closeRe};return a.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}})},g=0,h;g<m.length;g++)h=y(),'continue'===h;Il.bgColor.closeRe=new RegExp(Tl(Il.bgColor.close),'g');for(var f=Object.keys(Il.bgColor.ansi),x=function(){var e=f[E];if(l.has(e))return'continue';var t='bg'+e[0].toUpperCase()+e.slice(1);p[t]={get:function(){var t=this.level;return function(){var n=Il.bgColor[i[t]][e].apply(null,arguments),r={open:n,close:Il.bgColor.close,closeRe:Il.bgColor.closeRe};return a.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}},E=0,b;E<f.length;E++)b=x(),'continue'===b;var S=Object.defineProperties(function(){},p);Object.defineProperties(n.prototype,p),e.exports=n(),e.exports.supportsColor=Rl,e.exports.default=e.exports}),_l=t(function(e,t){function n(){var e=s(hl);return n=function(){return e},e}function a(){var e=o(bl);return a=function(){return e},e}function r(){var e=o(Fl);return r=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}function i(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}function l(e){var t=e.slice(-2),r=y(t,2),o=r[0],s=r[1],i=(0,n().matchToToken)(e);if('name'===i.type){if(a().default.keyword.isReservedWordES6(i.value))return'keyword';if(m.test(i.value)&&('<'===s[o-1]||'</'==s.substr(o-2,2)))return'jsx_tag';if(i.value[0]!==i.value[0].toLowerCase())return'capitalized'}return'punctuator'===i.type&&g.test(i.value)?'bracket':'invalid'===i.type&&('@'===i.value||'#'===i.value)?'punctuator':i.type}function p(e,t){return t.replace(n().default,function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=l(n),o=e[r];return o?n[0].split(u).map(function(e){return o(e)}).join('\n'):n[0]})}function c(e){return r().default.supportsColor||e.forceColor}function d(e){var t=r().default;return e.forceColor&&(t=new(r().default.constructor)({enabled:!0,level:1})),t}Object.defineProperty(t,'__esModule',{value:!0}),t.shouldHighlight=c,t.getChalk=d,t.default=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};if(c(t)){var n=d(t),a=i(n);return p(a,e)}return e};var u=/\r\n|[\n\r\u2028\u2029]/,m=/^[a-z][\w-]*$/i,g=/^[()[\]{}]$/});e(_l);var Vl=t(function(e,t){function n(){var e=a(_l);return n=function(){return e},e}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}function r(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}function o(e,t,n){var a=Object.assign({column:0,line:-1},e.start),r=Object.assign({},a,e.end),o=n||{},s=o.linesAbove,l=void 0===s?2:s,p=o.linesBelow,c=void 0===p?3:p,d=a.line,u=a.column,m=r.line,y=r.column,g=js(d-(l+1),0),h=Ms(t.length,m+c);-1===d&&(g=0),-1===m&&(h=t.length);var f=m-d,x={};if(f){for(var E=0,i;E<=f;E++)if(i=E+d,!u)x[i]=!0;else if(0===E){var b=t[i-1].length;x[i]=[u,b-u]}else if(E===f)x[i]=[0,y];else{var S=t[i-E].length;x[i]=[0,S]}}else x[d]=u===y?!u||[u,0]:[u,y-u];return{start:g,end:h,markerLines:x}}function s(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=(a.highlightCode||a.forceColor)&&(0,n().shouldHighlight)(a),i=(0,n().getChalk)(a),p=r(i),c=function(e,t){return s?e(t):t};s&&(e=(0,n().default)(e,a));var d=e.split(l),u=o(t,d,a),m=u.start,y=u.end,g=u.markerLines,h=t.start&&'number'==typeof t.start.column,f=(y+'').length,x=d.slice(m,y).map(function(e,t){var n=m+1+t,r=' '.concat(n).slice(-f),o=' '.concat(r,' | '),s=g[n],i=!g[n+1];if(s){var l='';if(Array.isArray(s)){var d=e.slice(0,js(s[0]-1,0)).replace(/[^\t]/g,' '),u=s[1]||1;l=['\n ',c(p.gutter,o.replace(/\d/g,' ')),d,c(p.marker,'^').repeat(u)].join(''),i&&a.message&&(l+=' '+c(p.message,a.message))}return[c(p.marker,'>'),c(p.gutter,o),e,l].join('')}return' '.concat(c(p.gutter,o)).concat(e)}).join('\n');return a.message&&!h&&(x=''.concat(' '.repeat(f+1)).concat(a.message,'\n').concat(x)),s?i.reset(x):x}Object.defineProperty(t,'__esModule',{value:!0}),t.codeFrameColumns=s,t.default=function(e,t,n){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:{};if(!i){i=!0;var r='Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.';if(Xi.emitWarning)Xi.emitWarning(r,'DeprecationWarning');else{var o=new Error(r);o.name='DeprecationWarning',console.warn(new Error(r))}}n=js(n,0);var l={start:{column:n,line:t}};return s(e,l,a)};var i=!1,l=/\r\n|[\n\r\u2028\u2029]/});e(Vl);var ql={},Bl=Object.freeze({default:ql,__moduleExports:ql}),Wl=Bl&&ql||Bl,Jl=xi.ConfigError,Ul=gl.locStart,Xl=gl.locEnd,Gl=Object.getOwnPropertyNames,zl=Object.getOwnPropertyDescriptor,Kl={parse:pe,resolveParser:le},$l={},Hl=Object.freeze({default:$l,__moduleExports:$l}),Yl=Hl&&$l||Hl,Ql=xi.UndefinedParserError,Zl=il.getSupportInfo,ep=Kl.resolveParser,tp={astFormat:'estree',printer:{},locStart:null,locEnd:null},np={normalize:ce,hiddenDefaults:tp,inferParser:ue},ap=me,rp={ok:function(){},strictEqual:function(){}},op={type:'line-suffix-boundary'},sp={type:'break-parent'},ip={type:'line'},lp={type:'line',soft:!0},pp=ge([{type:'line',hard:!0},sp]),cp=ge([{type:'line',hard:!0,literal:!0},sp]),dp={type:'cursor',placeholder:Symbol('cursor')},up={concat:ge,join:Ae,line:ip,softline:lp,hardline:pp,literalline:cp,group:xe,conditionalGroup:Te,fill:ve,lineSuffix:Ce,lineSuffixBoundary:op,cursor:dp,breakParent:sp,ifBreak:Ne,indent:he,align:fe,addAlignmentToDoc:we,markAsRoot:be,dedentToRoot:Ee,dedent:Se},mp=t(function(e){e.exports=function(){return /[\u001B\u009B][[\]()#;?]*(?:(?:(?:[a-zA-Z\d]*(?:;[a-zA-Z\d]*)*)?\u0007)|(?:(?:\d{1,4}(?:;\d{0,4})*)?[\dA-PRZcf-ntqry=><~]))/g}}),yp=function(e){return'string'==typeof e?e.replace(mp(),''):e},gp=t(function(e){e.exports=function(e){return!Number.isNaN(e)&&4352<=e&&(4447>=e||9001===e||9002===e||11904<=e&&12871>=e&&12351!==e||12880<=e&&19903>=e||19968<=e&&42182>=e||43360<=e&&43388>=e||44032<=e&&55203>=e||63744<=e&&64255>=e||65040<=e&&65049>=e||65072<=e&&65131>=e||65281<=e&&65376>=e||65504<=e&&65510>=e||110592<=e&&110593>=e||127488<=e&&127569>=e||131072<=e&&262141>=e)}}),hp=t(function(e){e.exports=function(e){if('string'!=typeof e||0===e.length)return 0;e=yp(e);for(var t=0,n=0,a;n<e.length;n++)(a=e.codePointAt(n),!(31>=a||127<=a&&159>=a))&&(768<=a&&879>=a||(65535<a&&n++,t+=gp(a)?2:1));return t}}),fp=function(){return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F/g},xp=[[12288,12351],[44032,55215],[65040,65055],[65072,65135],[65280,65376],[65504,65519]],Ep=[[4352,4607],[11904,12255],[12352,12687],[12800,19903],[19968,40959],[43360,43391],[63744,64255]];(function(e){e.punctuations=function(){return ke(xp)},e.characters=function(){return ke(Ep)}})(Pe||(Pe={}));var bp=Pe,Sp=t(function(e,t){t.__esModule=!0,t.get_data=function(){return{Pc:[[95,95],[8255,8256],[8276,8276],[65075,65076],[65101,65103],[65343,65343]],Pe:[[41,41],[93,93],[125,125],[3899,3899],[3901,3901],[5788,5788],[8262,8262],[8318,8318],[8334,8334],[8969,8969],[8971,8971],[9002,9002],[10089,10089],[10091,10091],[10093,10093],[10095,10095],[10097,10097],[10099,10099],[10101,10101],[10182,10182],[10215,10215],[10217,10217],[10219,10219],[10221,10221],[10223,10223],[10628,10628],[10630,10630],[10632,10632],[10634,10634],[10636,10636],[10638,10638],[10640,10640],[10642,10642],[10644,10644],[10646,10646],[10648,10648],[10713,10713],[10715,10715],[10749,10749],[11811,11811],[11813,11813],[11815,11815],[11817,11817],[12297,12297],[12299,12299],[12301,12301],[12303,12303],[12305,12305],[12309,12309],[12311,12311],[12313,12313],[12315,12315],[12318,12319],[64830,64830],[65048,65048],[65078,65078],[65080,65080],[65082,65082],[65084,65084],[65086,65086],[65088,65088],[65090,65090],[65092,65092],[65096,65096],[65114,65114],[65116,65116],[65118,65118],[65289,65289],[65341,65341],[65373,65373],[65376,65376],[65379,65379]],Ps:[[40,40],[91,91],[123,123],[3898,3898],[3900,3900],[5787,5787],[8218,8218],[8222,8222],[8261,8261],[8317,8317],[8333,8333],[8968,8968],[8970,8970],[9001,9001],[10088,10088],[10090,10090],[10092,10092],[10094,10094],[10096,10096],[10098,10098],[10100,10100],[10181,10181],[10214,10214],[10216,10216],[10218,10218],[10220,10220],[10222,10222],[10627,10627],[10629,10629],[10631,10631],[10633,10633],[10635,10635],[10637,10637],[10639,10639],[10641,10641],[10643,10643],[10645,10645],[10647,10647],[10712,10712],[10714,10714],[10748,10748],[11810,11810],[11812,11812],[11814,11814],[11816,11816],[11842,11842],[12296,12296],[12298,12298],[12300,12300],[12302,12302],[12304,12304],[12308,12308],[12310,12310],[12312,12312],[12314,12314],[12317,12317],[64831,64831],[65047,65047],[65077,65077],[65079,65079],[65081,65081],[65083,65083],[65085,65085],[65087,65087],[65089,65089],[65091,65091],[65095,65095],[65113,65113],[65115,65115],[65117,65117],[65288,65288],[65339,65339],[65371,65371],[65375,65375],[65378,65378]],Lm:[[688,705],[710,721],[736,740],[748,748],[750,750],[884,884],[890,890],[1369,1369],[1600,1600],[1765,1766],[2036,2037],[2042,2042],[2074,2074],[2084,2084],[2088,2088],[2417,2417],[3654,3654],[3782,3782],[4348,4348],[6103,6103],[6211,6211],[6823,6823],[7288,7293],[7468,7530],[7544,7544],[7579,7615],[8305,8305],[8319,8319],[8336,8348],[11388,11389],[11631,11631],[11823,11823],[12293,12293],[12337,12341],[12347,12347],[12445,12446],[12540,12542],[40981,40981],[42232,42237],[42508,42508],[42623,42623],[42652,42653],[42775,42783],[42864,42864],[42888,42888],[43000,43001],[43471,43471],[43494,43494],[43632,43632],[43741,43741],[43763,43764],[43868,43871],[65392,65392],[65438,65439]],Mc:[[2307,2307],[2363,2363],[2366,2368],[2377,2380],[2382,2383],[2434,2435],[2494,2496],[2503,2504],[2507,2508],[2519,2519],[2563,2563],[2622,2624],[2691,2691],[2750,2752],[2761,2761],[2763,2764],[2818,2819],[2878,2878],[2880,2880],[2887,2888],[2891,2892],[2903,2903],[3006,3007],[3009,3010],[3014,3016],[3018,3020],[3031,3031],[3073,3075],[3137,3140],[3202,3203],[3262,3262],[3264,3268],[3271,3272],[3274,3275],[3285,3286],[3330,3331],[3390,3392],[3398,3400],[3402,3404],[3415,3415],[3458,3459],[3535,3537],[3544,3551],[3570,3571],[3902,3903],[3967,3967],[4139,4140],[4145,4145],[4152,4152],[4155,4156],[4182,4183],[4194,4196],[4199,4205],[4227,4228],[4231,4236],[4239,4239],[4250,4252],[6070,6070],[6078,6085],[6087,6088],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6681,6682],[6741,6741],[6743,6743],[6753,6753],[6755,6756],[6765,6770],[6916,6916],[6965,6965],[6971,6971],[6973,6977],[6979,6980],[7042,7042],[7073,7073],[7078,7079],[7082,7082],[7143,7143],[7146,7148],[7150,7150],[7154,7155],[7204,7211],[7220,7221],[7393,7393],[7410,7411],[7415,7415],[12334,12335],[43043,43044],[43047,43047],[43136,43137],[43188,43203],[43346,43347],[43395,43395],[43444,43445],[43450,43451],[43453,43456],[43567,43568],[43571,43572],[43597,43597],[43643,43643],[43645,43645],[43755,43755],[43758,43759],[43765,43765],[44003,44004],[44006,44007],[44009,44010],[44012,44012]],Zp:[[8233,8233]],Sc:[[36,36],[162,165],[1423,1423],[1547,1547],[2546,2547],[2555,2555],[2801,2801],[3065,3065],[3647,3647],[6107,6107],[8352,8383],[43064,43064],[65020,65020],[65129,65129],[65284,65284],[65504,65505],[65509,65510]],Me:[[1160,1161],[6846,6846],[8413,8416],[8418,8420],[42608,42610]],Sk:[[94,94],[96,96],[168,168],[175,175],[180,180],[184,184],[706,709],[722,735],[741,747],[749,749],[751,767],[885,885],[900,901],[8125,8125],[8127,8129],[8141,8143],[8157,8159],[8173,8175],[8189,8190],[12443,12444],[42752,42774],[42784,42785],[42889,42890],[43867,43867],[64434,64449],[65342,65342],[65344,65344],[65507,65507]],Cs:[[55296,55296],[56191,56192],[56319,56320],[57343,57343]],Nl:[[5870,5872],[8544,8578],[8581,8584],[12295,12295],[12321,12329],[12344,12346],[42726,42735]],So:[[166,166],[169,169],[174,174],[176,176],[1154,1154],[1421,1422],[1550,1551],[1758,1758],[1769,1769],[1789,1790],[2038,2038],[2554,2554],[2928,2928],[3059,3064],[3066,3066],[3199,3199],[3407,3407],[3449,3449],[3841,3843],[3859,3859],[3861,3863],[3866,3871],[3892,3892],[3894,3894],[3896,3896],[4030,4037],[4039,4044],[4046,4047],[4053,4056],[4254,4255],[5008,5017],[6464,6464],[6622,6655],[7009,7018],[7028,7036],[8448,8449],[8451,8454],[8456,8457],[8468,8468],[8470,8471],[8478,8483],[8485,8485],[8487,8487],[8489,8489],[8494,8494],[8506,8507],[8522,8522],[8524,8525],[8527,8527],[8586,8587],[8597,8601],[8604,8607],[8609,8610],[8612,8613],[8615,8621],[8623,8653],[8656,8657],[8659,8659],[8661,8691],[8960,8967],[8972,8991],[8994,9000],[9003,9083],[9085,9114],[9140,9179],[9186,9254],[9280,9290],[9372,9449],[9472,9654],[9656,9664],[9666,9719],[9728,9838],[9840,10087],[10132,10175],[10240,10495],[11008,11055],[11077,11078],[11085,11123],[11126,11157],[11160,11193],[11197,11208],[11210,11218],[11244,11247],[11493,11498],[11904,11929],[11931,12019],[12032,12245],[12272,12283],[12292,12292],[12306,12307],[12320,12320],[12342,12343],[12350,12351],[12688,12689],[12694,12703],[12736,12771],[12800,12830],[12842,12871],[12880,12880],[12896,12927],[12938,12976],[12992,13054],[13056,13311],[19904,19967],[42128,42182],[43048,43051],[43062,43063],[43065,43065],[43639,43641],[65021,65021],[65508,65508],[65512,65512],[65517,65518],[65532,65533]],Lt:[[453,453],[456,456],[459,459],[498,498],[8072,8079],[8088,8095],[8104,8111],[8124,8124],[8140,8140],[8188,8188]],Zl:[[8232,8232]],Lo:[[170,170],[186,186],[443,443],[448,451],[660,660],[1488,1514],[1520,1522],[1568,1599],[1601,1610],[1646,1647],[1649,1747],[1749,1749],[1774,1775],[1786,1788],[1791,1791],[1808,1808],[1810,1839],[1869,1957],[1969,1969],[1994,2026],[2048,2069],[2112,2136],[2144,2154],[2208,2228],[2230,2237],[2308,2361],[2365,2365],[2384,2384],[2392,2401],[2418,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],[2482,2482],[2486,2489],[2493,2493],[2510,2510],[2524,2525],[2527,2529],[2544,2545],[2556,2556],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],[2654,2654],[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2749,2749],[2768,2768],[2784,2785],[2809,2809],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2877,2877],[2908,2909],[2911,2913],[2929,2929],[2947,2947],[2949,2954],[2958,2960],[2962,2965],[2969,2970],[2972,2972],[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3024,3024],[3077,3084],[3086,3088],[3090,3112],[3114,3129],[3133,3133],[3160,3162],[3168,3169],[3200,3200],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3261,3261],[3294,3294],[3296,3297],[3313,3314],[3333,3340],[3342,3344],[3346,3386],[3389,3389],[3406,3406],[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],[3517,3517],[3520,3526],[3585,3632],[3634,3635],[3648,3653],[3713,3714],[3716,3716],[3719,3720],[3722,3722],[3725,3725],[3732,3735],[3737,3743],[3745,3747],[3749,3749],[3751,3751],[3754,3755],[3757,3760],[3762,3763],[3773,3773],[3776,3780],[3804,3807],[3840,3840],[3904,3911],[3913,3948],[3976,3980],[4096,4138],[4159,4159],[4176,4181],[4186,4189],[4193,4193],[4197,4198],[4206,4208],[4213,4225],[4238,4238],[4304,4346],[4349,4680],[4682,4685],[4688,4694],[4696,4696],[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],[4800,4800],[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5900],[5902,5905],[5920,5937],[5952,5969],[5984,5996],[5998,6000],[6016,6067],[6108,6108],[6176,6210],[6212,6263],[6272,6276],[6279,6312],[6314,6314],[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],[6917,6963],[6981,6987],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7287],[7401,7404],[7406,7409],[7413,7414],[8501,8504],[11568,11623],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12294,12294],[12348,12348],[12353,12438],[12447,12447],[12449,12538],[12543,12543],[12549,12590],[12593,12686],[12704,12730],[12784,12799],[13312,13312],[19893,19893],[19968,19968],[40938,40938],[40960,40980],[40982,42124],[42192,42231],[42240,42507],[42512,42527],[42538,42539],[42606,42606],[42656,42725],[42895,42895],[42999,42999],[43003,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],[43259,43259],[43261,43261],[43274,43301],[43312,43334],[43360,43388],[43396,43442],[43488,43492],[43495,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43631],[43633,43638],[43642,43642],[43646,43695],[43697,43697],[43701,43702],[43705,43709],[43712,43712],[43714,43714],[43739,43740],[43744,43754],[43762,43762],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43968,44002],[44032,44032],[55203,55203],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65382,65391],[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500]],Mn:[[768,879],[1155,1159],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1552,1562],[1611,1631],[1648,1648],[1750,1756],[1759,1764],[1767,1768],[1770,1773],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2260,2273],[2275,2306],[2362,2362],[2364,2364],[2369,2376],[2381,2381],[2385,2391],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2641,2641],[2672,2673],[2677,2677],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2810,2815],[2817,2817],[2876,2876],[2879,2879],[2881,2884],[2893,2893],[2902,2902],[2914,2915],[2946,2946],[3008,3008],[3021,3021],[3072,3072],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3201],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],[3405,3405],[3426,3427],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],[4226,4226],[4229,4230],[4237,4237],[4253,4253],[4957,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6277,6278],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6683,6683],[6742,6742],[6744,6750],[6752,6752],[6754,6754],[6757,6764],[6771,6780],[6783,6783],[6832,6845],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],[7142,7142],[7144,7145],[7149,7149],[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],[7405,7405],[7412,7412],[7416,7417],[7616,7673],[7675,7679],[8400,8412],[8417,8417],[8421,8432],[11503,11505],[11647,11647],[11744,11775],[12330,12333],[12441,12442],[42607,42607],[42612,42621],[42654,42655],[42736,42737],[43010,43010],[43014,43014],[43019,43019],[43045,43046],[43204,43205],[43232,43249],[43302,43309],[43335,43345],[43392,43394],[43443,43443],[43446,43449],[43452,43452],[43493,43493],[43561,43566],[43569,43570],[43573,43574],[43587,43587],[43596,43596],[43644,43644],[43696,43696],[43698,43700],[43703,43704],[43710,43711],[43713,43713],[43756,43757],[43766,43766],[44005,44005],[44008,44008],[44013,44013],[64286,64286],[65024,65039],[65056,65071]],Po:[[33,35],[37,39],[42,42],[44,44],[46,47],[58,59],[63,64],[92,92],[161,161],[167,167],[182,183],[191,191],[894,894],[903,903],[1370,1375],[1417,1417],[1472,1472],[1475,1475],[1478,1478],[1523,1524],[1545,1546],[1548,1549],[1563,1563],[1566,1567],[1642,1645],[1748,1748],[1792,1805],[2039,2041],[2096,2110],[2142,2142],[2404,2405],[2416,2416],[2557,2557],[2800,2800],[3572,3572],[3663,3663],[3674,3675],[3844,3858],[3860,3860],[3973,3973],[4048,4052],[4057,4058],[4170,4175],[4347,4347],[4960,4968],[5741,5742],[5867,5869],[5941,5942],[6100,6102],[6104,6106],[6144,6149],[6151,6154],[6468,6469],[6686,6687],[6816,6822],[6824,6829],[7002,7008],[7164,7167],[7227,7231],[7294,7295],[7360,7367],[7379,7379],[8214,8215],[8224,8231],[8240,8248],[8251,8254],[8257,8259],[8263,8273],[8275,8275],[8277,8286],[11513,11516],[11518,11519],[11632,11632],[11776,11777],[11782,11784],[11787,11787],[11790,11798],[11800,11801],[11803,11803],[11806,11807],[11818,11822],[11824,11833],[11836,11839],[11841,11841],[11843,11849],[12289,12291],[12349,12349],[12539,12539],[42238,42239],[42509,42511],[42611,42611],[42622,42622],[42738,42743],[43124,43127],[43214,43215],[43256,43258],[43260,43260],[43310,43311],[43359,43359],[43457,43469],[43486,43487],[43612,43615],[43742,43743],[43760,43761],[44011,44011],[65040,65046],[65049,65049],[65072,65072],[65093,65094],[65097,65100],[65104,65106],[65108,65111],[65119,65121],[65128,65128],[65130,65131],[65281,65283],[65285,65287],[65290,65290],[65292,65292],[65294,65295],[65306,65307],[65311,65312],[65340,65340],[65377,65377],[65380,65381]],Co:[[57344,57344],[63743,63743]],Sm:[[43,43],[60,62],[124,124],[126,126],[172,172],[177,177],[215,215],[247,247],[1014,1014],[1542,1544],[8260,8260],[8274,8274],[8314,8316],[8330,8332],[8472,8472],[8512,8516],[8523,8523],[8592,8596],[8602,8603],[8608,8608],[8611,8611],[8614,8614],[8622,8622],[8654,8655],[8658,8658],[8660,8660],[8692,8959],[8992,8993],[9084,9084],[9115,9139],[9180,9185],[9655,9655],[9665,9665],[9720,9727],[9839,9839],[10176,10180],[10183,10213],[10224,10239],[10496,10626],[10649,10711],[10716,10747],[10750,11007],[11056,11076],[11079,11084],[64297,64297],[65122,65122],[65124,65126],[65291,65291],[65308,65310],[65372,65372],[65374,65374],[65506,65506],[65513,65516]],Pf:[[187,187],[8217,8217],[8221,8221],[8250,8250],[11779,11779],[11781,11781],[11786,11786],[11789,11789],[11805,11805],[11809,11809]],Cc:[[0,31],[127,159]],Pi:[[171,171],[8216,8216],[8219,8220],[8223,8223],[8249,8249],[11778,11778],[11780,11780],[11785,11785],[11788,11788],[11804,11804],[11808,11808]],Lu:[[65,90],[192,214],[216,222],[256,256],[258,258],[260,260],[262,262],[264,264],[266,266],[268,268],[270,270],[272,272],[274,274],[276,276],[278,278],[280,280],[282,282],[284,284],[286,286],[288,288],[290,290],[292,292],[294,294],[296,296],[298,298],[300,300],[302,302],[304,304],[306,306],[308,308],[310,310],[313,313],[315,315],[317,317],[319,319],[321,321],[323,323],[325,325],[327,327],[330,330],[332,332],[334,334],[336,336],[338,338],[340,340],[342,342],[344,344],[346,346],[348,348],[350,350],[352,352],[354,354],[356,356],[358,358],[360,360],[362,362],[364,364],[366,366],[368,368],[370,370],[372,372],[374,374],[376,377],[379,379],[381,381],[385,386],[388,388],[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],[418,418],[420,420],[422,423],[425,425],[428,428],[430,431],[433,435],[437,437],[439,440],[444,444],[452,452],[455,455],[458,458],[461,461],[463,463],[465,465],[467,467],[469,469],[471,471],[473,473],[475,475],[478,478],[480,480],[482,482],[484,484],[486,486],[488,488],[490,490],[492,492],[494,494],[497,497],[500,500],[502,504],[506,506],[508,508],[510,510],[512,512],[514,514],[516,516],[518,518],[520,520],[522,522],[524,524],[526,526],[528,528],[530,530],[532,532],[534,534],[536,536],[538,538],[540,540],[542,542],[544,544],[546,546],[548,548],[550,550],[552,552],[554,554],[556,556],[558,558],[560,560],[562,562],[570,571],[573,574],[577,577],[579,582],[584,584],[586,586],[588,588],[590,590],[880,880],[882,882],[886,886],[895,895],[902,902],[904,906],[908,908],[910,911],[913,929],[931,939],[975,975],[978,980],[984,984],[986,986],[988,988],[990,990],[992,992],[994,994],[996,996],[998,998],[1000,1000],[1002,1002],[1004,1004],[1006,1006],[1012,1012],[1015,1015],[1017,1018],[1021,1071],[1120,1120],[1122,1122],[1124,1124],[1126,1126],[1128,1128],[1130,1130],[1132,1132],[1134,1134],[1136,1136],[1138,1138],[1140,1140],[1142,1142],[1144,1144],[1146,1146],[1148,1148],[1150,1150],[1152,1152],[1162,1162],[1164,1164],[1166,1166],[1168,1168],[1170,1170],[1172,1172],[1174,1174],[1176,1176],[1178,1178],[1180,1180],[1182,1182],[1184,1184],[1186,1186],[1188,1188],[1190,1190],[1192,1192],[1194,1194],[1196,1196],[1198,1198],[1200,1200],[1202,1202],[1204,1204],[1206,1206],[1208,1208],[1210,1210],[1212,1212],[1214,1214],[1216,1217],[1219,1219],[1221,1221],[1223,1223],[1225,1225],[1227,1227],[1229,1229],[1232,1232],[1234,1234],[1236,1236],[1238,1238],[1240,1240],[1242,1242],[1244,1244],[1246,1246],[1248,1248],[1250,1250],[1252,1252],[1254,1254],[1256,1256],[1258,1258],[1260,1260],[1262,1262],[1264,1264],[1266,1266],[1268,1268],[1270,1270],[1272,1272],[1274,1274],[1276,1276],[1278,1278],[1280,1280],[1282,1282],[1284,1284],[1286,1286],[1288,1288],[1290,1290],[1292,1292],[1294,1294],[1296,1296],[1298,1298],[1300,1300],[1302,1302],[1304,1304],[1306,1306],[1308,1308],[1310,1310],[1312,1312],[1314,1314],[1316,1316],[1318,1318],[1320,1320],[1322,1322],[1324,1324],[1326,1326],[1329,1366],[4256,4293],[4295,4295],[4301,4301],[5024,5109],[7680,7680],[7682,7682],[7684,7684],[7686,7686],[7688,7688],[7690,7690],[7692,7692],[7694,7694],[7696,7696],[7698,7698],[7700,7700],[7702,7702],[7704,7704],[7706,7706],[7708,7708],[7710,7710],[7712,7712],[7714,7714],[7716,7716],[7718,7718],[7720,7720],[7722,7722],[7724,7724],[7726,7726],[7728,7728],[7730,7730],[7732,7732],[7734,7734],[7736,7736],[7738,7738],[7740,7740],[7742,7742],[7744,7744],[7746,7746],[7748,7748],[7750,7750],[7752,7752],[7754,7754],[7756,7756],[7758,7758],[7760,7760],[7762,7762],[7764,7764],[7766,7766],[7768,7768],[7770,7770],[7772,7772],[7774,7774],[7776,7776],[7778,7778],[7780,7780],[7782,7782],[7784,7784],[7786,7786],[7788,7788],[7790,7790],[7792,7792],[7794,7794],[7796,7796],[7798,7798],[7800,7800],[7802,7802],[7804,7804],[7806,7806],[7808,7808],[7810,7810],[7812,7812],[7814,7814],[7816,7816],[7818,7818],[7820,7820],[7822,7822],[7824,7824],[7826,7826],[7828,7828],[7838,7838],[7840,7840],[7842,7842],[7844,7844],[7846,7846],[7848,7848],[7850,7850],[7852,7852],[7854,7854],[7856,7856],[7858,7858],[7860,7860],[7862,7862],[7864,7864],[7866,7866],[7868,7868],[7870,7870],[7872,7872],[7874,7874],[7876,7876],[7878,7878],[7880,7880],[7882,7882],[7884,7884],[7886,7886],[7888,7888],[7890,7890],[7892,7892],[7894,7894],[7896,7896],[7898,7898],[7900,7900],[7902,7902],[7904,7904],[7906,7906],[7908,7908],[7910,7910],[7912,7912],[7914,7914],[7916,7916],[7918,7918],[7920,7920],[7922,7922],[7924,7924],[7926,7926],[7928,7928],[7930,7930],[7932,7932],[7934,7934],[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],[8025,8025],[8027,8027],[8029,8029],[8031,8031],[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],[8450,8450],[8455,8455],[8459,8461],[8464,8466],[8469,8469],[8473,8477],[8484,8484],[8486,8486],[8488,8488],[8490,8493],[8496,8499],[8510,8511],[8517,8517],[8579,8579],[11264,11310],[11360,11360],[11362,11364],[11367,11367],[11369,11369],[11371,11371],[11373,11376],[11378,11378],[11381,11381],[11390,11392],[11394,11394],[11396,11396],[11398,11398],[11400,11400],[11402,11402],[11404,11404],[11406,11406],[11408,11408],[11410,11410],[11412,11412],[11414,11414],[11416,11416],[11418,11418],[11420,11420],[11422,11422],[11424,11424],[11426,11426],[11428,11428],[11430,11430],[11432,11432],[11434,11434],[11436,11436],[11438,11438],[11440,11440],[11442,11442],[11444,11444],[11446,11446],[11448,11448],[11450,11450],[11452,11452],[11454,11454],[11456,11456],[11458,11458],[11460,11460],[11462,11462],[11464,11464],[11466,11466],[11468,11468],[11470,11470],[11472,11472],[11474,11474],[11476,11476],[11478,11478],[11480,11480],[11482,11482],[11484,11484],[11486,11486],[11488,11488],[11490,11490],[11499,11499],[11501,11501],[11506,11506],[42560,42560],[42562,42562],[42564,42564],[42566,42566],[42568,42568],[42570,42570],[42572,42572],[42574,42574],[42576,42576],[42578,42578],[42580,42580],[42582,42582],[42584,42584],[42586,42586],[42588,42588],[42590,42590],[42592,42592],[42594,42594],[42596,42596],[42598,42598],[42600,42600],[42602,42602],[42604,42604],[42624,42624],[42626,42626],[42628,42628],[42630,42630],[42632,42632],[42634,42634],[42636,42636],[42638,42638],[42640,42640],[42642,42642],[42644,42644],[42646,42646],[42648,42648],[42650,42650],[42786,42786],[42788,42788],[42790,42790],[42792,42792],[42794,42794],[42796,42796],[42798,42798],[42802,42802],[42804,42804],[42806,42806],[42808,42808],[42810,42810],[42812,42812],[42814,42814],[42816,42816],[42818,42818],[42820,42820],[42822,42822],[42824,42824],[42826,42826],[42828,42828],[42830,42830],[42832,42832],[42834,42834],[42836,42836],[42838,42838],[42840,42840],[42842,42842],[42844,42844],[42846,42846],[42848,42848],[42850,42850],[42852,42852],[42854,42854],[42856,42856],[42858,42858],[42860,42860],[42862,42862],[42873,42873],[42875,42875],[42877,42878],[42880,42880],[42882,42882],[42884,42884],[42886,42886],[42891,42891],[42893,42893],[42896,42896],[42898,42898],[42902,42902],[42904,42904],[42906,42906],[42908,42908],[42910,42910],[42912,42912],[42914,42914],[42916,42916],[42918,42918],[42920,42920],[42922,42926],[42928,42932],[42934,42934],[65313,65338]],Pd:[[45,45],[1418,1418],[1470,1470],[5120,5120],[6150,6150],[8208,8213],[11799,11799],[11802,11802],[11834,11835],[11840,11840],[12316,12316],[12336,12336],[12448,12448],[65073,65074],[65112,65112],[65123,65123],[65293,65293]],Cf:[[173,173],[1536,1541],[1564,1564],[1757,1757],[1807,1807],[2274,2274],[6158,6158],[8203,8207],[8234,8238],[8288,8292],[8294,8303],[65279,65279],[65529,65531]],Nd:[[48,57],[1632,1641],[1776,1785],[1984,1993],[2406,2415],[2534,2543],[2662,2671],[2790,2799],[2918,2927],[3046,3055],[3174,3183],[3302,3311],[3430,3439],[3558,3567],[3664,3673],[3792,3801],[3872,3881],[4160,4169],[4240,4249],[6112,6121],[6160,6169],[6470,6479],[6608,6617],[6784,6793],[6800,6809],[6992,7001],[7088,7097],[7232,7241],[7248,7257],[42528,42537],[43216,43225],[43264,43273],[43472,43481],[43504,43513],[43600,43609],[44016,44025],[65296,65305]],Ll:[[97,122],[181,181],[223,246],[248,255],[257,257],[259,259],[261,261],[263,263],[265,265],[267,267],[269,269],[271,271],[273,273],[275,275],[277,277],[279,279],[281,281],[283,283],[285,285],[287,287],[289,289],[291,291],[293,293],[295,295],[297,297],[299,299],[301,301],[303,303],[305,305],[307,307],[309,309],[311,312],[314,314],[316,316],[318,318],[320,320],[322,322],[324,324],[326,326],[328,329],[331,331],[333,333],[335,335],[337,337],[339,339],[341,341],[343,343],[345,345],[347,347],[349,349],[351,351],[353,353],[355,355],[357,357],[359,359],[361,361],[363,363],[365,365],[367,367],[369,369],[371,371],[373,373],[375,375],[378,378],[380,380],[382,384],[387,387],[389,389],[392,392],[396,397],[402,402],[405,405],[409,411],[414,414],[417,417],[419,419],[421,421],[424,424],[426,427],[429,429],[432,432],[436,436],[438,438],[441,442],[445,447],[454,454],[457,457],[460,460],[462,462],[464,464],[466,466],[468,468],[470,470],[472,472],[474,474],[476,477],[479,479],[481,481],[483,483],[485,485],[487,487],[489,489],[491,491],[493,493],[495,496],[499,499],[501,501],[505,505],[507,507],[509,509],[511,511],[513,513],[515,515],[517,517],[519,519],[521,521],[523,523],[525,525],[527,527],[529,529],[531,531],[533,533],[535,535],[537,537],[539,539],[541,541],[543,543],[545,545],[547,547],[549,549],[551,551],[553,553],[555,555],[557,557],[559,559],[561,561],[563,569],[572,572],[575,576],[578,578],[583,583],[585,585],[587,587],[589,589],[591,659],[661,687],[881,881],[883,883],[887,887],[891,893],[912,912],[940,974],[976,977],[981,983],[985,985],[987,987],[989,989],[991,991],[993,993],[995,995],[997,997],[999,999],[1001,1001],[1003,1003],[1005,1005],[1007,1011],[1013,1013],[1016,1016],[1019,1020],[1072,1119],[1121,1121],[1123,1123],[1125,1125],[1127,1127],[1129,1129],[1131,1131],[1133,1133],[1135,1135],[1137,1137],[1139,1139],[1141,1141],[1143,1143],[1145,1145],[1147,1147],[1149,1149],[1151,1151],[1153,1153],[1163,1163],[1165,1165],[1167,1167],[1169,1169],[1171,1171],[1173,1173],[1175,1175],[1177,1177],[1179,1179],[1181,1181],[1183,1183],[1185,1185],[1187,1187],[1189,1189],[1191,1191],[1193,1193],[1195,1195],[1197,1197],[1199,1199],[1201,1201],[1203,1203],[1205,1205],[1207,1207],[1209,1209],[1211,1211],[1213,1213],[1215,1215],[1218,1218],[1220,1220],[1222,1222],[1224,1224],[1226,1226],[1228,1228],[1230,1231],[1233,1233],[1235,1235],[1237,1237],[1239,1239],[1241,1241],[1243,1243],[1245,1245],[1247,1247],[1249,1249],[1251,1251],[1253,1253],[1255,1255],[1257,1257],[1259,1259],[1261,1261],[1263,1263],[1265,1265],[1267,1267],[1269,1269],[1271,1271],[1273,1273],[1275,1275],[1277,1277],[1279,1279],[1281,1281],[1283,1283],[1285,1285],[1287,1287],[1289,1289],[1291,1291],[1293,1293],[1295,1295],[1297,1297],[1299,1299],[1301,1301],[1303,1303],[1305,1305],[1307,1307],[1309,1309],[1311,1311],[1313,1313],[1315,1315],[1317,1317],[1319,1319],[1321,1321],[1323,1323],[1325,1325],[1327,1327],[1377,1415],[5112,5117],[7296,7304],[7424,7467],[7531,7543],[7545,7578],[7681,7681],[7683,7683],[7685,7685],[7687,7687],[7689,7689],[7691,7691],[7693,7693],[7695,7695],[7697,7697],[7699,7699],[7701,7701],[7703,7703],[7705,7705],[7707,7707],[7709,7709],[7711,7711],[7713,7713],[7715,7715],[7717,7717],[7719,7719],[7721,7721],[7723,7723],[7725,7725],[7727,7727],[7729,7729],[7731,7731],[7733,7733],[7735,7735],[7737,7737],[7739,7739],[7741,7741],[7743,7743],[7745,7745],[7747,7747],[7749,7749],[7751,7751],[7753,7753],[7755,7755],[7757,7757],[7759,7759],[7761,7761],[7763,7763],[7765,7765],[7767,7767],[7769,7769],[7771,7771],[7773,7773],[7775,7775],[7777,7777],[7779,7779],[7781,7781],[7783,7783],[7785,7785],[7787,7787],[7789,7789],[7791,7791],[7793,7793],[7795,7795],[7797,7797],[7799,7799],[7801,7801],[7803,7803],[7805,7805],[7807,7807],[7809,7809],[7811,7811],[7813,7813],[7815,7815],[7817,7817],[7819,7819],[7821,7821],[7823,7823],[7825,7825],[7827,7827],[7829,7837],[7839,7839],[7841,7841],[7843,7843],[7845,7845],[7847,7847],[7849,7849],[7851,7851],[7853,7853],[7855,7855],[7857,7857],[7859,7859],[7861,7861],[7863,7863],[7865,7865],[7867,7867],[7869,7869],[7871,7871],[7873,7873],[7875,7875],[7877,7877],[7879,7879],[7881,7881],[7883,7883],[7885,7885],[7887,7887],[7889,7889],[7891,7891],[7893,7893],[7895,7895],[7897,7897],[7899,7899],[7901,7901],[7903,7903],[7905,7905],[7907,7907],[7909,7909],[7911,7911],[7913,7913],[7915,7915],[7917,7917],[7919,7919],[7921,7921],[7923,7923],[7925,7925],[7927,7927],[7929,7929],[7931,7931],[7933,7933],[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8000,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],[8126,8126],[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],[8458,8458],[8462,8463],[8467,8467],[8495,8495],[8500,8500],[8505,8505],[8508,8509],[8518,8521],[8526,8526],[8580,8580],[11312,11358],[11361,11361],[11365,11366],[11368,11368],[11370,11370],[11372,11372],[11377,11377],[11379,11380],[11382,11387],[11393,11393],[11395,11395],[11397,11397],[11399,11399],[11401,11401],[11403,11403],[11405,11405],[11407,11407],[11409,11409],[11411,11411],[11413,11413],[11415,11415],[11417,11417],[11419,11419],[11421,11421],[11423,11423],[11425,11425],[11427,11427],[11429,11429],[11431,11431],[11433,11433],[11435,11435],[11437,11437],[11439,11439],[11441,11441],[11443,11443],[11445,11445],[11447,11447],[11449,11449],[11451,11451],[11453,11453],[11455,11455],[11457,11457],[11459,11459],[11461,11461],[11463,11463],[11465,11465],[11467,11467],[11469,11469],[11471,11471],[11473,11473],[11475,11475],[11477,11477],[11479,11479],[11481,11481],[11483,11483],[11485,11485],[11487,11487],[11489,11489],[11491,11492],[11500,11500],[11502,11502],[11507,11507],[11520,11557],[11559,11559],[11565,11565],[42561,42561],[42563,42563],[42565,42565],[42567,42567],[42569,42569],[42571,42571],[42573,42573],[42575,42575],[42577,42577],[42579,42579],[42581,42581],[42583,42583],[42585,42585],[42587,42587],[42589,42589],[42591,42591],[42593,42593],[42595,42595],[42597,42597],[42599,42599],[42601,42601],[42603,42603],[42605,42605],[42625,42625],[42627,42627],[42629,42629],[42631,42631],[42633,42633],[42635,42635],[42637,42637],[42639,42639],[42641,42641],[42643,42643],[42645,42645],[42647,42647],[42649,42649],[42651,42651],[42787,42787],[42789,42789],[42791,42791],[42793,42793],[42795,42795],[42797,42797],[42799,42801],[42803,42803],[42805,42805],[42807,42807],[42809,42809],[42811,42811],[42813,42813],[42815,42815],[42817,42817],[42819,42819],[42821,42821],[42823,42823],[42825,42825],[42827,42827],[42829,42829],[42831,42831],[42833,42833],[42835,42835],[42837,42837],[42839,42839],[42841,42841],[42843,42843],[42845,42845],[42847,42847],[42849,42849],[42851,42851],[42853,42853],[42855,42855],[42857,42857],[42859,42859],[42861,42861],[42863,42863],[42865,42872],[42874,42874],[42876,42876],[42879,42879],[42881,42881],[42883,42883],[42885,42885],[42887,42887],[42892,42892],[42894,42894],[42897,42897],[42899,42901],[42903,42903],[42905,42905],[42907,42907],[42909,42909],[42911,42911],[42913,42913],[42915,42915],[42917,42917],[42919,42919],[42921,42921],[42933,42933],[42935,42935],[43002,43002],[43824,43866],[43872,43877],[43888,43967],[64256,64262],[64275,64279],[65345,65370]],No:[[178,179],[185,185],[188,190],[2548,2553],[2930,2935],[3056,3058],[3192,3198],[3416,3422],[3440,3448],[3882,3891],[4969,4988],[6128,6137],[6618,6618],[8304,8304],[8308,8313],[8320,8329],[8528,8543],[8585,8585],[9312,9371],[9450,9471],[10102,10131],[11517,11517],[12690,12693],[12832,12841],[12872,12879],[12881,12895],[12928,12937],[12977,12991],[43056,43061]],Zs:[[32,32],[160,160],[5760,5760],[8192,8202],[8239,8239],[8287,8287],[12288,12288]]}}});e(Sp);var Tp=t(function(e,t){function n(e){for(var t=e.toString(16);4>t.length;)t='0'+t;return t}t.__esModule=!0,t.normalize_ranges=function(e){return e.sort(function(e,t){var n=e[0],a=t[0];return n-a}).reduce(function(e,t,n){if(0===n)return[t];var a=e[e.length-1],r=a[0],o=a[1],s=t[0],i=t[1];return o+1===s?e.slice(0,-1).concat([[r,i]]):e.concat([t])},[])},t.build_regex=function(e,t){var a=e.map(function(e){var t=e[0],a=e[1];return t===a?'\\u'+n(t):'\\u'+n(t)+'-\\u'+n(a)}).join('');return new RegExp('['+a+']',t)}});e(Tp);var vp=function(e,t){var n=Sp.get_data(),a=e.reduce(function(e,t){return e.concat(n[t])},[]);return Tp.build_regex(Tp.normalize_ranges(a),t)},Np=fp(),Cp=bp().source,Ap=Tl('!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'),wp=''.concat(Ap).concat(vp(['Pc','Pd','Pe','Pf','Pi','Po','Ps']).source.slice(1,-1)),Pp=new RegExp('['.concat(wp,']')),kp=Me(/\s/),Ip=Me(' \t'),Op=Me(',; \t'),Dp=Me(/[^\r\n]/),Lp={};[['|>'],['||','??'],['&&'],['|'],['^'],['&'],['==','===','!=','!=='],['<','>','<=','>=','in','instanceof'],['>>','<<','>>>'],['+','-'],['*','/','%'],['**']].forEach(function(e,t){e.forEach(function(e){Lp[e]=t})});var jp={"==":!0,"!=":!0,"===":!0,"!==":!0},Rp={"+":!0,"-":!0},Mp={"*":!0,"/":!0,"%":!0},Fp={">>":!0,">>>":!0,"<<":!0},_p={punctuationRegex:Pp,punctuationCharRange:wp,getStringWidth:lt,splitText:it,getMaxContinuousCount:st,getPrecedence:He,shouldFlatten:Ye,isBitwiseOperator:Qe,isExportDeclaration:De,getParentExportDeclaration:Le,getPenultimate:je,getLast:Re,getNextNonSpaceNonCommentCharacterIndex:Xe,getNextNonSpaceNonCommentCharacter:Ge,skipWhitespace:kp,skipSpaces:Ip,skipNewline:Ve,isNextLineEmptyAfterIndex:Je,isNextLineEmpty:Ue,isPreviousLineEmpty:We,hasNewline:qe,hasNewlineInRange:Be,hasSpaces:ze,setLocStart:Ke,setLocEnd:$e,startsWithNoLookaheadToken:Ze,getAlignmentSize:tt,getIndentSize:nt,printString:at,printNumber:ot,hasIgnoreComment:pt,hasNodeIgnoreComment:ct,makeString:rt,addLeadingComment:ut,addDanglingComment:mt,addTrailingComment:yt},Vp=up.concat,qp=up.fill,Bp=up.cursor,Wp=1,Jp=2,Up={printDocToString:bt},Xp={isEmpty:Nt,willBreak:At,isLineNext:Ct,traverseDoc:St,mapDoc:Tt,propagateBreaks:Pt,removeLines:kt,stripTrailingHardline:It},Gp={printDocToDebug:function(e){return Dt(Ot(e))}},zp={builders:up,printer:Up,utils:Xp,debug:Gp},Kp=zp.utils.mapDoc,$p={isNextLineEmpty:Lt,isNextLineEmptyAfterIndex:_p.isNextLineEmptyAfterIndex,getNextNonSpaceNonCommentCharacterIndex:jt,mapDoc:Kp,makeString:_p.makeString,addLeadingComment:_p.addLeadingComment,addDanglingComment:_p.addDanglingComment,addTrailingComment:_p.addTrailingComment},Hp=zp.builders,Yp=Hp.concat,Qp=Hp.hardline,Zp=Hp.breakParent,ec=Hp.indent,tc=Hp.lineSuffix,nc=Hp.join,ac=Hp.cursor,rc=_p.hasNewline,oc=_p.skipNewline,sc=_p.isPreviousLineEmpty,ic=$p.addLeadingComment,lc=$p.addDanglingComment,pc=$p.addTrailingComment,cc=Symbol('child-nodes'),dc={attach:Ft,printComments:Gt,printDanglingComments:Ut,getSortedChildNodes:Rt};zt.prototype.getName=function(){var e=this.stack,t=e.length;return 1<t?e[t-2]:null},zt.prototype.getValue=function(){var e=this.stack;return e[e.length-1]},zt.prototype.getNode=function(e){return Kt(this,~~e)},zt.prototype.getParentNode=function(e){return Kt(this,~~e+1)},zt.prototype.call=function(e){for(var t=this.stack,n=t.length,a=t[n-1],r=arguments.length,o=1,s;o<r;++o)s=arguments[o],a=a[s],t.push(s,a);var i=e(this);return t.length=n,i},zt.prototype.each=function(e){for(var t=this.stack,n=t.length,a=t[n-1],r=arguments.length,o=1,s;o<r;++o)s=arguments[o],a=a[s],t.push(s,a);for(var i=0;i<a.length;++i)i in a&&(t.push(i,a[i]),e(this),t.length-=2);t.length=n},zt.prototype.map=function(e){for(var t=this.stack,n=t.length,a=t[n-1],r=arguments.length,o=1,s;o<r;++o)s=arguments[o],a=a[s],t.push(s,a);for(var i=Array(a.length),l=0;l<a.length;++l)l in a&&(t.push(l,a[l]),i[l]=e(this,l),t.length-=2);return t.length=n,i};var uc=zt,mc=np.normalize,yc={printSubtree:$t},gc=zp,hc=gc.builders,fc=hc.concat,xc=hc.hardline,Ec=hc.addAlignmentToDoc,bc=gc.utils,Sc=Yt,Tc={calculateRange:nn,findNodeAtOffset:en},vc=np.normalize,Nc=zp.printer.printDocToString,Cc=zp.debug.printDocToDebug,Ac=65279,wc=Symbol('cursor'),Pc={formatWithCursor:function(e,t){return t=vc(t),cn(e,vc(t))},parse:function(e,t,n){t=vc(t);var a=Kl.parse(e,t);return n&&(a.ast=ap(a.ast,t)),a},formatAST:function(e,t){t=vc(t);var n=Sc(e,t);return Nc(n,t)},formatDoc:function(e,t){var n=Cc(e);return t=vc(Object.assign({},t,{parser:'babylon'})),cn(n,t).formatted},printToDoc:function(e,t){t=vc(t);var n=Kl.parse(e,t),a=n.ast;return e=n.text,sn(e,a,t),Sc(a,t)},printDocToString:function(e,t){return Nc(e,vc(t))}},kc=zp.builders,Ic=kc.indent,Oc=kc.join,Dc=kc.hardline,Lc=kc.softline,jc=kc.literalline,Rc=kc.concat,Mc=kc.dedentToRoot,Fc=zp.utils,_c=Fc.mapDoc,Vc=Fc.stripTrailingHardline,qc=dn,Bc=Cn,Wc=t(function(e){e.exports=function(e){if('string'!=typeof e)throw new TypeError('Expected a string');var t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return null;var n=t.filter(function(e){return'\r\n'===e}).length,a=t.length-n;return n>a?'\r\n':'\n'},e.exports.graceful=function(t){return e.exports(t)||'\n'}}),Jc={},Uc=Object.freeze({default:Jc,__moduleExports:Jc}),Xc=Uc&&Jc||Uc,Gc=t(function(e,t){function n(){return f=r(Wc)}function a(){return x=Xc}function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,(f||n()).default)(e)||(x||a()).EOL;e=e.replace(l,'').replace(i,'').replace(h,'$1');for(var r='';r!==e;)r=e,e=e.replace(y,''.concat(t,'$1 $2').concat(t));e=e.replace(m,'').replace(u,'');for(var o=Object.create(null),s=e.replace(g,'').replace(m,'').replace(u,''),p;p=g.exec(e);){var d=p[2].replace(c,'');o[p[1]]='string'==typeof o[p[1]]||Array.isArray(o[p[1]])?[].concat(o[p[1]],d):d}return{comments:s,pragmas:o}}function s(e,t){return[].concat(t).map(function(t){return'@'.concat(e,' ').concat(t).trim()})}Object.defineProperty(t,'__esModule',{value:!0}),t.extract=function(e){var t=e.match(p);return t?t[0].replace(d,'')||'':''},t.strip=function(e){var t=e.match(p);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return o(e).pragmas},t.parseWithComments=o,t.print=function(e){var t=e.comments,r=t===void 0?'':t,o=e.pragmas,i=o===void 0?{}:o,l=(0,(f||n()).default)(r)||(x||a()).EOL,p='/**',c=' *',d=' */',u=Object.keys(i),m=u.map(function(e){return s(e,i[e])}).reduce(function(e,t){return e.concat(t)},[]).map(function(e){return c+' '+e+l}).join('');if(!r){if(0===u.length)return'';if(1===u.length&&!Array.isArray(i[u[0]])){var y=i[u[0]];return''.concat(p,' ').concat(s(u[0],y)[0]).concat(d)}}var g=r.split(l).map(function(e){return''.concat(c,' ').concat(e)}).join(l)+l;return p+l+(r?g:'')+(r&&u.length?c+l:'')+m+d};var i=/\*\/$/,l=/^\/\*\*/,p=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,c=/(^|\s+)\/\/([^\r\n]*)/g,d=/^\s*/,u=/\s*$/,m=/^(\r?\n)+/,y=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,g=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,f,x});e(Gc);var zc={hasPragma:An,insertPragma:wn},Kc=$p.addLeadingComment,$c=$p.addTrailingComment,Hc=$p.addDanglingComment,Yc={handleOwnLineComment:Pn,handleEndOfLineComment:kn,handleRemainingComment:In,isBlockComment:aa},Qc=oa,Zc=_p.getParentExportDeclaration,ed=_p.isExportDeclaration,td=_p.shouldFlatten,nd=_p.getNextNonSpaceNonCommentCharacter,ad=_p.hasNewline,rd=_p.hasNewlineInRange,od=_p.getLast,sd=_p.getStringWidth,id=_p.printString,ld=_p.printNumber,pd=_p.hasIgnoreComment,cd=_p.skipWhitespace,dd=_p.hasNodeIgnoreComment,ud=_p.getPenultimate,md=_p.startsWithNoLookaheadToken,yd=_p.getIndentSize,gd=$p.isNextLineEmpty,hd=$p.isNextLineEmptyAfterIndex,fd=$p.getNextNonSpaceNonCommentCharacterIndex,xd=bl.keyword.isIdentifierNameES6,Ed=zc.insertPragma,bd=zp.builders,Sd=bd.concat,Td=bd.join,vd=bd.line,Nd=bd.hardline,Cd=bd.softline,Ad=bd.literalline,wd=bd.group,Pd=bd.indent,kd=bd.align,Id=bd.conditionalGroup,Od=bd.fill,Dd=bd.ifBreak,Ld=bd.breakParent,jd=bd.lineSuffixBoundary,Rd=bd.addAlignmentToDoc,Md=bd.dedent,Fd=zp.utils,_d=Fd.willBreak,Vd=Fd.isLineNext,qd=Fd.isEmpty,Bd=Fd.removeLines,Wd=zp.printer.printDocToString,Jd=new Set(['pipe','pipeP','pipeK','compose','composeFlipped','composeP','composeK','flow','flowRight','connect']),Ud=' \n\r\t',Xd=/[^ \n\r ]/,Gd=/([ \n\r ]+)/,zd=/^(skip|[fx]?(it|describe|test))$/,Kd={print:la,embed:qc,insertPragma:Ed,massageAstNode:Bc,hasPrettierIgnore:pa,willPrintOwnComments:Wr,canAttachComment:Jr,printComment:Ur,isBlockComment:Yc.isBlockComment,handleComments:{ownLine:Yc.handleOwnLineComment,endOfLine:Yc.handleEndOfLineComment,remaining:Yc.handleRemainingComment}},$d=zp.builders,Hd=$d.concat,Yd=$d.hardline,Qd=$d.indent,Zd=$d.join,eu={print:Kr,massageAstNode:$r},tu='Common',nu={bracketSpacing:{since:'0.0.0',category:tu,type:'boolean',default:!0,description:'Print spaces between brackets.',oppositeDescription:'Do not print spaces between brackets.'},singleQuote:{since:'0.0.0',category:tu,type:'boolean',default:!1,description:'Use single quotes instead of double quotes.'}},au='JavaScript',ru={arrowParens:{since:'1.9.0',category:au,type:'choice',default:'avoid',description:'Include parentheses around a sole arrow function parameter.',choices:[{value:'avoid',description:'Omit parens when possible. Example: `x => x`'},{value:'always',description:'Always include parens. Example: `(x) => x`'}]},bracketSpacing:nu.bracketSpacing,jsxBracketSameLine:{since:'0.17.0',category:au,type:'boolean',default:!1,description:'Put > on the last line instead of at a new line.'},semi:{since:'1.0.0',category:au,type:'boolean',default:!0,description:'Print semicolons.',oppositeDescription:'Do not print semicolons, except at the beginning of lines which may need them.'},singleQuote:nu.singleQuote,trailingComma:{since:'0.0.0',category:au,type:'choice',default:[{since:'0.0.0',value:!1},{since:'0.19.0',value:'none'}],description:'Print trailing commas wherever possible when multi-line.',choices:[{value:'none',description:'No trailing commas.'},{value:'es5',description:'Trailing commas where valid in ES5 (objects, arrays, etc.)'},{value:'all',description:'Trailing commas wherever possible (including function arguments).'},{value:!0,deprecated:'0.19.0',redirect:'es5'},{value:!1,deprecated:'0.19.0',redirect:'none'}]}},ou=[{name:'JavaScript',since:'0.0.0',parsers:['babylon','flow'],group:'JavaScript',tmScope:'source.js',aceMode:'javascript',codemirrorMode:'javascript',codemirrorMimeType:'text/javascript',aliases:['js','node'],extensions:['.js','._js','.bones','.es','.es6','.frag','.gs','.jake','.jsb','.jscad','.jsfl','.jsm','.jss','.mjs','.njs','.pac','.sjs','.ssjs','.xsjs','.xsjslib'],filenames:['Jakefile'],linguistLanguageId:183,vscodeLanguageIds:['javascript']},{name:'JSX',since:'0.0.0',parsers:['babylon','flow'],group:'JavaScript',extensions:['.jsx'],tmScope:'source.js.jsx',aceMode:'javascript',codemirrorMode:'jsx',codemirrorMimeType:'text/jsx',liguistLanguageId:178,vscodeLanguageIds:['javascriptreact']},{name:'TypeScript',since:'1.4.0',parsers:['typescript-eslint'],group:'JavaScript',aliases:['ts'],extensions:['.ts','.tsx'],tmScope:'source.ts',aceMode:'typescript',codemirrorMode:'javascript',codemirrorMimeType:'application/typescript',liguistLanguageId:378,vscodeLanguageIds:['typescript','typescriptreact']},{name:'JSON.stringify',since:'1.13.0',parsers:['json-stringify'],group:'JavaScript',tmScope:'source.json',aceMode:'json',codemirrorMode:'javascript',codemirrorMimeType:'application/json',extensions:[],filenames:['package.json','package-lock.json','composer.json'],linguistLanguageId:174,vscodeLanguageIds:['json']},{name:'JSON',since:'1.5.0',parsers:['json'],group:'JavaScript',tmScope:'source.json',aceMode:'json',codemirrorMode:'javascript',codemirrorMimeType:'application/json',extensions:['.json','.geojson','.JSON-tmLanguage','.topojson'],filenames:['.arcconfig','.jshintrc','.eslintrc','.prettierrc','composer.lock','mcmod.info'],linguistLanguageId:174,vscodeLanguageIds:['json','jsonc']},{name:'JSON5',since:'1.13.0',parsers:['json5'],group:'JavaScript',tmScope:'source.json',aceMode:'json',codemirrorMode:'javascript',codemirrorMimeType:'application/json',extensions:['.json5'],filenames:['.babelrc'],linguistLanguageId:175,vscodeLanguageIds:['json5']}],su={estree:Kd,"estree-json":eu},iu={languages:ou,options:ru,printers:su},lu=['a','abbr','acronym','address','applet','area','article','aside','audio','b','base','basefont','bdi','bdo','bgsound','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','command','content','data','datalist','dd','del','details','dfn','dialog','dir','div','dl','dt','element','em','embed','fieldset','figcaption','figure','font','footer','form','frame','frameset','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','image','img','input','ins','isindex','kbd','keygen','label','legend','li','link','listing','main','map','mark','marquee','math','menu','menuitem','meta','meter','multicol','nav','nextid','nobr','noembed','noframes','noscript','object','ol','optgroup','option','output','p','param','picture','plaintext','pre','progress','q','rb','rbc','rp','rt','rtc','ruby','s','samp','script','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','svg','table','tbody','td','template','textarea','tfoot','th','thead','time','title','tr','track','tt','u','ul','var','video','wbr','xmp'],pu=Object.freeze({default:lu}),cu=pu&&lu||pu,du=Hr,uu=['red','green','blue','alpha','a','rgb','hue','h','saturation','s','lightness','l','whiteness','w','blackness','b','tint','shade','blend','blenda','contrast','hsl','hsla','hwb','hwba'],mu={getAncestorCounter:Qr,getAncestorNode:Zr,getPropOfDeclNode:eo,maybeToLowerCase:ro,insideValueFunctionNode:oo,insideICSSRuleNode:so,insideAtRuleNode:io,insideURLFunctionInImportAtRuleNode:lo,isKeyframeAtRuleKeywords:ao,isHTMLTag:uo,isWideKeywords:no,isSCSS:to,isLastNode:co,isSCSSControlDirectiveNode:Co,isDetachedRulesetDeclarationNode:mo,isRelationalOperatorNode:No,isEqualityOperatorNode:vo,isMultiplicationNode:fo,isDivisionNode:xo,isAdditionNode:Eo,isSubtractionNode:bo,isModuloNode:So,isMathOperatorNode:To,isEachKeywordNode:ho,isForKeywordNode:yo,isURLFunctionNode:po,isIfElseKeywordNode:go,hasComposesNode:ko,hasParensAroundNode:Io,hasEmptyRawBefore:Oo,isSCSSNestedPropertyNode:Ao,isDetachedRulesetCallNode:wo,isPostcssSimpleVarNode:Po,isKeyValuePairNode:Do,isKeyValuePairInParenGroupNode:Lo,isSCSSMapItemNode:jo,isInlineValueCommentNode:Ro,isHashNode:Mo,isLeftCurlyBraceNode:Fo,isRightCurlyBraceNode:_o,isWordNode:Vo,isColonNode:qo,isMediaAndSupportsKeywords:Bo,isColorAdjusterFuncNode:Wo},yu=_p.printNumber,gu=_p.printString,hu=_p.hasIgnoreComment,fu=_p.hasNewline,xu=$p.isNextLineEmpty,Eu=zp.builders,bu=Eu.concat,Su=Eu.join,Tu=Eu.line,vu=Eu.hardline,Nu=Eu.softline,Cu=Eu.group,Au=Eu.fill,wu=Eu.indent,Pu=Eu.dedent,ku=Eu.ifBreak,Iu=zp.utils.removeLines,Ou=mu.getAncestorNode,Du=mu.getPropOfDeclNode,Lu=mu.maybeToLowerCase,ju=mu.insideValueFunctionNode,Ru=mu.insideICSSRuleNode,Mu=mu.insideAtRuleNode,Fu=mu.insideURLFunctionInImportAtRuleNode,_u=mu.isKeyframeAtRuleKeywords,Vu=mu.isHTMLTag,qu=mu.isWideKeywords,Bu=mu.isSCSS,Wu=mu.isLastNode,Ju=mu.isSCSSControlDirectiveNode,Uu=mu.isDetachedRulesetDeclarationNode,Xu=mu.isRelationalOperatorNode,Gu=mu.isEqualityOperatorNode,zu=mu.isMultiplicationNode,Ku=mu.isDivisionNode,$u=mu.isAdditionNode,Hu=mu.isSubtractionNode,Yu=mu.isMathOperatorNode,Qu=mu.isEachKeywordNode,Zu=mu.isForKeywordNode,em=mu.isURLFunctionNode,tm=mu.isIfElseKeywordNode,nm=mu.hasComposesNode,am=mu.hasParensAroundNode,rm=mu.hasEmptyRawBefore,om=mu.isKeyValuePairNode,sm=mu.isDetachedRulesetCallNode,im=mu.isPostcssSimpleVarNode,lm=mu.isSCSSMapItemNode,pm=mu.isInlineValueCommentNode,cm=mu.isHashNode,dm=mu.isLeftCurlyBraceNode,um=mu.isRightCurlyBraceNode,mm=mu.isWordNode,ym=mu.isColonNode,gm=mu.isMediaAndSupportsKeywords,hm=mu.isColorAdjusterFuncNode,fm=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,xm=/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g,Em=/[a-zA-Z]+/g,bm=/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g,Sm=RegExp(fm.source+'|'+'('.concat(bm.source,')?')+'('.concat(xm.source,')')+'('.concat(Em.source,')?'),'g'),Tm={print:Uo,hasPrettierIgnore:hu,massageAstNode:du},vm={singleQuote:nu.singleQuote},Nm=[{name:'CSS',since:'1.4.0',parsers:['css'],group:'CSS',tmScope:'source.css',aceMode:'css',codemirrorMode:'css',codemirrorMimeType:'text/css',extensions:['.css','.pcss','.postcss'],liguistLanguageId:50,vscodeLanguageIds:['css','postcss']},{name:'Less',since:'1.4.0',parsers:['less'],group:'CSS',extensions:['.less'],tmScope:'source.css.less',aceMode:'less',codemirrorMode:'css',codemirrorMimeType:'text/css',liguistLanguageId:198,vscodeLanguageIds:['less']},{name:'SCSS',since:'1.4.0',parsers:['scss'],group:'CSS',tmScope:'source.scss',aceMode:'scss',codemirrorMode:'css',codemirrorMimeType:'text/x-scss',extensions:['.scss'],liguistLanguageId:329,vscodeLanguageIds:['scss']}],Cm={postcss:Tm},Am={languages:Nm,options:vm,printers:Cm},wm=zp.builders,Pm=wm.concat,km=wm.join,Im=wm.hardline,Om=wm.line,Dm=wm.softline,Lm=wm.group,jm=wm.indent,Rm=wm.ifBreak,Mm=_p.hasIgnoreComment,Fm=$p.isNextLineEmpty,_m={print:Ho,massageAstNode:ns,hasPrettierIgnore:Mm,printComment:es,canAttachComment:Zo},Vm={bracketSpacing:nu.bracketSpacing},qm=[{name:'GraphQL',since:'1.5.0',parsers:['graphql'],extensions:['.graphql','.gql'],tmScope:'source.graphql',aceMode:'text',liguistLanguageId:139,vscodeLanguageIds:['graphql']}],Bm={graphql:_m},Wm={languages:qm,options:Vm,printers:Bm},Jm=zp.builders,Um=Jm.hardline,Xm=Jm.literalline,Gm=Jm.concat,zm=Jm.markAsRoot,Km=zp.utils.mapDoc,$m=as,Hm=rs,Ym=t(function(e){function t(e){var t='@('.concat(n.join('|'),')'),a=new RegExp(['<!--\\s*'.concat(t,'\\s*-->'),'<!--.*\n[\\s\\S]*(^|\n)[^\\S\n]*'.concat(t,'[^\\S\n]*($|\n)[\\s\\S]*\n.*-->')].join('|'),'m'),r=e.match(a);return r&&0===r.index}var n=['format','prettier'];e.exports={startWithPragma:t,hasPragma:function(e){return t(Hm(e).content.trimLeft())},insertPragma:function(e){var t=Hm(e),a='<!-- @'.concat(n[0],' -->');return t.frontMatter?''.concat(t.frontMatter,'\n\n').concat(a,'\n\n').concat(t.content):''.concat(a,'\n\n').concat(t.content)}}}),Qm=zp.builders,Zm=Qm.concat,ey=Qm.join,ty=Qm.line,ny=Qm.literalline,ay=Qm.markAsRoot,ry=Qm.hardline,oy=Qm.softline,sy=Qm.fill,iy=Qm.align,ly=Qm.indent,py=Qm.group,cy=zp.utils.mapDoc,dy=zp.printer.printDocToString,uy=['heading','tableCell','link'],my=['listItem','definition','footnoteDefinition'],yy=['liquidNode','inlineCode','emphasis','strong','delete','link','linkReference','image','imageReference','footnote','footnoteReference','sentence','whitespace','word','break'],gy=yy.concat(['tableCell','paragraph','heading']),hy={print:os,embed:$m,massageAstNode:ws,hasPrettierIgnore:Ps,insertPragma:Ym.insertPragma},fy='Markdown',xy={proseWrap:{since:'1.8.2',category:fy,type:'choice',default:[{since:'1.8.2',value:!0},{since:'1.9.0',value:'preserve'}],description:'How to wrap prose. (markdown)',choices:[{since:'1.9.0',value:'always',description:'Wrap prose if it exceeds the print width.'},{since:'1.9.0',value:'never',description:'Do not wrap prose.'},{since:'1.9.0',value:'preserve',description:'Wrap prose as-is.'},{value:!1,deprecated:'1.9.0',redirect:'never'},{value:!0,deprecated:'1.9.0',redirect:'always'}]},singleQuote:nu.singleQuote},Ey=[{name:'Markdown',since:'1.8.0',parsers:['remark'],aliases:['pandoc'],aceMode:'markdown',codemirrorMode:'gfm',codemirrorMimeType:'text/x-gfm',wrap:!0,extensions:['.md','.markdown','.mdown','.mdwn','.mkd','.mkdn','.mkdown','.ron','.workbook'],filenames:['README'],tmScope:'source.gfm',linguistLanguageId:222,vscodeLanguageIds:['markdown']}],by={mdast:hy},Sy={languages:Ey,options:xy,printers:by},Ty=zp.builders,vy=Ty.concat,Ny=Ty.hardline,Cy=ks,Ay=zp.builders,wy=Ay.concat,Py=Ay.hardline,ky=function(e,t){delete t.start,delete t.end,delete t.contentStart,delete t.contentEnd},Iy={print:Is,embed:Cy,massageAstNode:ky},Oy=[{name:'Vue',since:'1.10.0',parsers:['vue'],group:'HTML',tmScope:'text.html.vue',aceMode:'html',codemirrorMode:'htmlmixed',codemirrorMimeType:'text/html',extensions:['.vue'],linguistLanguageId:146,vscodeLanguageIds:['vue']}],Dy={vue:Iy},Ly={languages:Oy,printers:Dy},jy=rl.version,Ry=il.getSupportInfo,My=[iu,Am,Wm,Sy,Ly],Fy=Array.isArray||function(e){return'[object Array]'===Object.prototype.toString.call(e)},_y=Os(Pc.formatWithCursor),Vy={formatWithCursor:_y,format:function(e,t){return _y(e,t).formatted},check:function(e,t){var n=_y(e,t).formatted;return n===e},doc:zp,getSupportInfo:Os(Ry),version:jy,util:$p,__debug:{parse:Os(Pc.parse),formatAST:Os(Pc.formatAST),formatDoc:Os(Pc.formatDoc),printToDoc:Os(Pc.printToDoc),printDocToString:Os(Pc.printDocToString)}};return Vy});