(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=[];++Nia&&(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.namecl(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&&0d}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&&0t?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=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':0e.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>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--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.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=o&&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'!==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&&0d)||('||'===l||'??'===l)&&'&&'===c||(p===d&&'right'===a?(rp.strictEqual(n.right,r),!0):p!==d||_p.shouldFlatten(l,c)?p'])),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']);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(['']);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?'<':''])}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 ':': ',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 ':': ',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']):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'===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=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','<=','>='].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.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|^([-+*]|#{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']);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=/^$/.test(S);return ps(S,T?ry:ay(ny))}case'list':{var v=ls(a,e.getParentNode()),N=a.ordered&&1$/);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 en?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=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;oe.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=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=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;pd))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=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/g,'>'),t=t.replace(/"/g,'"'),t}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],a=0,r;a'):r.removed&&t.push(''),t.push(n(r.value)),r.added?t.push(''):r.removed&&t.push('');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&&tt?1:0}function l(e,t,n){return new o(e,n).compare(new o(t,n))}function p(e,t,n){return 0l(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':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=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='===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',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=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(;0p?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!=?({]|\/(?![\/*])))))|(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=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);la?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++,16*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;1s&&(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>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 0a?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=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'),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<~]))/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=a||127<=a&&159>=a))&&(768<=a&&879>=a||(65535t.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 1a?'\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([''),'')].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='');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});