@storybook/components 6.5.9 → 7.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/Color-IIYOK4US.mjs +1 -0
  2. package/dist/GlobalScrollAreaStyles-5MYDB36S.mjs +1 -0
  3. package/dist/OverlayScrollbars-GXD6IR4B.mjs +6 -0
  4. package/dist/WithTooltip-F6U4FHOQ.mjs +9 -0
  5. package/dist/chunk-7IK3EOFL.mjs +1 -0
  6. package/dist/chunk-AZCVBZVA.mjs +149 -0
  7. package/dist/chunk-DF422II4.mjs +6 -0
  8. package/dist/chunk-EBKGXALM.mjs +1 -0
  9. package/dist/chunk-PJYBQ6PQ.mjs +1 -0
  10. package/dist/chunk-WYLOY4EF.mjs +5 -0
  11. package/dist/chunk-XFBIFQ3K.mjs +73 -0
  12. package/dist/chunk-XZM6YCLI.mjs +1 -0
  13. package/dist/formatter-7QCQCGUB.mjs +184 -0
  14. package/dist/html.d.ts +6 -0
  15. package/dist/html.js +352 -0
  16. package/dist/html.mjs +5 -0
  17. package/dist/index.d.ts +1144 -0
  18. package/dist/index.js +432 -0
  19. package/dist/index.mjs +1 -0
  20. package/dist/syntaxhighlighter-XYTTX7GN.mjs +7 -0
  21. package/html.d.ts +1 -1
  22. package/html.js +1 -2
  23. package/package.json +31 -19
  24. package/dist/cjs/Color-a62ba7e9.js +0 -2461
  25. package/dist/cjs/GlobalScrollAreaStyles-ff4bd929.js +0 -463
  26. package/dist/cjs/OverlayScrollbars-c574dc71.js +0 -6622
  27. package/dist/cjs/WithTooltip-f49e8812.js +0 -3170
  28. package/dist/cjs/formatter-e9350ac6.js +0 -128
  29. package/dist/cjs/index-967d55af.js +0 -2047
  30. package/dist/cjs/index.js +0 -133
  31. package/dist/cjs/syntaxhighlighter-9522fde9.js +0 -215
  32. package/dist/esm/Color-3c22bb81.js +0 -2576
  33. package/dist/esm/GlobalScrollAreaStyles-8793ce4a.js +0 -461
  34. package/dist/esm/OverlayScrollbars-26c4a78d.js +0 -6710
  35. package/dist/esm/WithTooltip-508b8277.js +0 -3195
  36. package/dist/esm/formatter-9dc562d4.js +0 -128
  37. package/dist/esm/index-b45716e8.js +0 -1990
  38. package/dist/esm/index.js +0 -7
  39. package/dist/esm/syntaxhighlighter-82dea71a.js +0 -230
  40. package/dist/modern/Color-f9ce6f57.js +0 -2444
  41. package/dist/modern/GlobalScrollAreaStyles-8793ce4a.js +0 -450
  42. package/dist/modern/OverlayScrollbars-119b80c2.js +0 -6604
  43. package/dist/modern/WithTooltip-040f3a83.js +0 -3126
  44. package/dist/modern/formatter-12a1a8d1.js +0 -128
  45. package/dist/modern/index-9ef3b84b.js +0 -2047
  46. package/dist/modern/index.js +0 -7
  47. package/dist/modern/syntaxhighlighter-5c1fdb3d.js +0 -158
  48. package/dist/ts-tmp/index.d.ts +0 -928
  49. package/dist/ts3.4/_modules/@popperjs-core-index.d.ts +0 -1
  50. package/dist/ts3.4/_modules/@popperjs-core-lib-createPopper.d.ts +0 -9
  51. package/dist/ts3.4/_modules/@popperjs-core-lib-enums.d.ts +0 -34
  52. package/dist/ts3.4/_modules/@popperjs-core-lib-index.d.ts +0 -6
  53. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts +0 -4
  54. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-arrow.d.ts +0 -13
  55. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts +0 -38
  56. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts +0 -8
  57. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-flip.d.ts +0 -16
  58. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-hide.d.ts +0 -4
  59. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-index.d.ts +0 -9
  60. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-offset.d.ts +0 -24
  61. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts +0 -4
  62. package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts +0 -30
  63. package/dist/ts3.4/_modules/@popperjs-core-lib-popper-lite.d.ts +0 -5
  64. package/dist/ts3.4/_modules/@popperjs-core-lib-popper.d.ts +0 -7
  65. package/dist/ts3.4/_modules/@popperjs-core-lib-types.d.ts +0 -167
  66. package/dist/ts3.4/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts +0 -11
  67. package/dist/ts3.4/_modules/@types-prettier-index.d.ts +0 -641
  68. package/dist/ts3.4/_modules/react-textarea-autosize-dist-declarations-src-index.d.ts +0 -17
  69. package/dist/ts3.4/_modules/react-textarea-autosize-dist-react-textarea-autosize.cjs.d.ts +0 -2
  70. package/dist/ts3.4/index.d.ts +0 -926
  71. package/dist/ts3.9/_modules/@popperjs-core-index.d.ts +0 -1
  72. package/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts +0 -9
  73. package/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts +0 -34
  74. package/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts +0 -6
  75. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts +0 -4
  76. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts +0 -13
  77. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts +0 -38
  78. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts +0 -8
  79. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts +0 -16
  80. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts +0 -4
  81. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts +0 -9
  82. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts +0 -18
  83. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts +0 -4
  84. package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts +0 -30
  85. package/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts +0 -5
  86. package/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts +0 -7
  87. package/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts +0 -167
  88. package/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts +0 -11
  89. package/dist/ts3.9/_modules/@types-prettier-index.d.ts +0 -641
  90. package/dist/ts3.9/_modules/react-textarea-autosize-dist-declarations-src-index.d.ts +0 -17
  91. package/dist/ts3.9/_modules/react-textarea-autosize-dist-react-textarea-autosize.cjs.d.ts +0 -2
  92. package/dist/ts3.9/index.d.ts +0 -926
@@ -1,128 +0,0 @@
1
- import"core-js/modules/es.typed-array.set.js";import memoize from'memoizerific';import{c as commonjsGlobal,g as getDefaultExportFromCjs,d as dedent}from'./index-9ef3b84b.js';import'react';import'@storybook/theming';import'@storybook/csf';import'qs';import'@storybook/client-logger';var parserHtml={exports:{}};(function(module,exports){!function(e,t){module.exports=t();}(commonjsGlobal,function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{};function t(e){var t={exports:{}};return e(t,t.exports),t.exports;}var r=t(function(e,t){function r(e){return t.$0<=e&&e<=t.$9;}/**
2
- * @license
3
- * Copyright Google Inc. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP;},t.isDigit=r,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z;},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||r(e);},t.isNewLine=function(e){return e===t.$LF||e===t.$CR;},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7;};});/**
8
- * @license
9
- * Copyright Google Inc. All Rights Reserved.
10
- *
11
- * Use of this source code is governed by an MIT-style license that can be
12
- * found in the LICENSE file at https://angular.io/license
13
- */class n{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r;}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."));}}var s=n;var i=class{constructor(){this.cache=new Map();}get(e,t,r){const s=(r=r||[]).length?".".concat(r.join(".")):"",i='"'.concat(e,'".').concat(t).concat(s);let o=this.cache.get(i);return o||(o=new n(e,t,r),this.cache.set(i,o)),o;}},o=Object.defineProperty({StaticSymbol:s,StaticSymbolCache:i},"__esModule",{value:!0});/**
14
- * @license
15
- * Copyright Google Inc. All Rights Reserved.
16
- *
17
- * Use of this source code is governed by an MIT-style license that can be
18
- * found in the LICENSE file at https://angular.io/license
19
- */const a=/-+([a-z0-9])/g;var u=function(e){return e.replace(a,(...e)=>e[1].toUpperCase());};var c=function(e,t){return D(e,":",t);};var l=function(e,t){return D(e,".",t);};function D(e,t,r){const n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()];}function p(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==typeof(n=e)&&null!==n&&Object.getPrototypeOf(n)===v?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r);var n;}var h=p;var d=function(e){return null!=e;};var m=function(e){return void 0===e?null:e;};var f=class{visitArray(e,t){return e.map(e=>p(e,this,t));}visitStringMap(e,t){const r={};return Object.keys(e).forEach(n=>{r[n]=p(e[n],this,t);}),r;}visitPrimitive(e,t){return e;}visitOther(e,t){return e;}},g={assertSync:e=>{if(N(e))throw new Error("Illegal state: value cannot be a promise");return e;},then:(e,t)=>N(e)?e.then(t):t(e),all:e=>e.some(N)?Promise.all(e):e};var E=function(e){throw new Error("Internal Error: ".concat(e));};var C=function(e,t){const r=Error(e);return r[T]=!0,t&&(r[_]=t),r;};const T="ngSyntaxError",_="ngParseErrors";var S=function(e){return e[T];};var y=function(e){return e[_]||[];};var F=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1");};const v=Object.getPrototypeOf({});var A=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){const t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536);}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128));}return t;};var b=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const r=t.toString();if(null==r)return""+r;const n=r.indexOf("\n");return-1===n?r:r.substring(0,n);};var w=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e;};function N(e){return!!e&&"function"==typeof e.then;}var k=N;var x=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".");}};const I="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var R=void 0!==e&&e||I||P,O=Object.defineProperty({dashCaseToCamelCase:u,splitAtColon:c,splitAtPeriod:l,visitValue:h,isDefined:d,noUndefined:m,ValueTransformer:f,SyncAsync:g,error:E,syntaxError:C,isSyntaxError:S,getParseErrors:y,escapeRegExp:F,utf8Encode:A,stringify:b,resolveForwardRef:w,isPromise:k,Version:x,global:R},"__esModule",{value:!0}),L=t(function(e,t){/**
20
- * @license
21
- * Copyright Google Inc. All Rights Reserved.
22
- *
23
- * Use of this source code is governed by an MIT-style license that can be
24
- * found in the LICENSE file at https://angular.io/license
25
- */Object.defineProperty(t,"__esModule",{value:!0});const r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(e){return e.replace(/\W/g,"_");}t.sanitizeIdentifier=n;let s=0;function i(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof o.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let r=O.stringify(t);return r.indexOf("(")>=0?(r="anonymous_".concat(s++),t.__anonymousType=r):r=n(r),r;}var a;t.identifierName=i,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof o.StaticSymbol?t.filePath:"./".concat(O.stringify(t));},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t);},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}));},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}));},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory");},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable";}(a=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?n(e.value):i(e.identifier);},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value;};t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:r}={}){this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r);}};t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:r,htmlAst:n,styles:s,styleUrls:i,externalStylesheets:o,animations:a,ngContentSelectors:u,interpolation:D,isInline:p,preserveWhitespaces:h}){if(this.encapsulation=e,this.template=t,this.templateUrl=r,this.htmlAst=n,this.styles=c(s),this.styleUrls=c(i),this.externalStylesheets=c(o),this.animations=a?l(a):[],this.ngContentSelectors=u||[],D&&2!=D.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=D,this.isInline=p,this.preserveWhitespaces=h;}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations};}};class u{static create({isHost:e,type:t,isComponent:n,selector:s,exportAs:i,changeDetection:o,inputs:a,outputs:c,host:l,providers:D,viewProviders:p,queries:h,guards:d,viewQueries:m,entryComponents:f,template:g,componentViewType:E,rendererType:C,componentFactory:T}){const _={},S={},y={};null!=l&&Object.keys(l).forEach(e=>{const t=l[e],n=e.match(r);null===n?y[e]=t:null!=n[1]?S[n[1]]=t:null!=n[2]&&(_[n[2]]=t);});const F={};null!=a&&a.forEach(e=>{const t=O.splitAtColon(e,[e,e]);F[t[0]]=t[1];});const v={};return null!=c&&c.forEach(e=>{const t=O.splitAtColon(e,[e,e]);v[t[0]]=t[1];}),new u({isHost:e,type:t,isComponent:!!n,selector:s,exportAs:i,changeDetection:o,inputs:F,outputs:v,hostListeners:_,hostProperties:S,hostAttributes:y,providers:D,viewProviders:p,queries:h,guards:d,viewQueries:m,entryComponents:f,template:g,componentViewType:E,rendererType:C,componentFactory:T});}constructor({isHost:e,type:t,isComponent:r,selector:n,exportAs:s,changeDetection:i,inputs:o,outputs:a,hostListeners:u,hostProperties:l,hostAttributes:D,providers:p,viewProviders:h,queries:d,guards:m,viewQueries:f,entryComponents:g,template:E,componentViewType:C,rendererType:T,componentFactory:_}){this.isHost=!!e,this.type=t,this.isComponent=r,this.selector=n,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=a,this.hostListeners=u,this.hostProperties=l,this.hostAttributes=D,this.providers=c(p),this.viewProviders=c(h),this.queries=c(d),this.guards=m,this.viewQueries=c(f),this.entryComponents=c(g),this.template=E,this.componentViewType=C,this.rendererType=T,this.componentFactory=_;}toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory};}}t.CompileDirectiveMetadata=u;t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:r}){this.type=e,this.name=t,this.pure=!!r;}toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure};}};t.CompileShallowModuleMetadata=class{};t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:r,exportedDirectives:n,declaredPipes:s,exportedPipes:i,entryComponents:o,bootstrapComponents:a,importedModules:u,exportedModules:l,schemas:D,transitiveModule:p,id:h}){this.type=e||null,this.declaredDirectives=c(r),this.exportedDirectives=c(n),this.declaredPipes=c(s),this.exportedPipes=c(i),this.providers=c(t),this.entryComponents=c(o),this.bootstrapComponents=c(a),this.importedModules=c(u),this.exportedModules=c(l),this.schemas=c(D),this.id=h||null,this.transitiveModule=p||null;}toSummary(){const e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes};}};function c(e){return e||[];}t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set(),this.directives=[],this.exportedDirectivesSet=new Set(),this.exportedDirectives=[],this.pipesSet=new Set(),this.pipes=[],this.exportedPipesSet=new Set(),this.exportedPipes=[],this.modulesSet=new Set(),this.modules=[],this.entryComponentsSet=new Set(),this.entryComponents=[],this.providers=[];}addProvider(e,t){this.providers.push({provider:e,module:t});}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e));}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e));}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e));}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e));}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e));}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e));}};function l(e){return e.reduce((e,t)=>{const r=Array.isArray(t)?l(t):t;return e.concat(r);},[]);}function D(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///");}t.ProviderMeta=class{constructor(e,{useClass:t,useValue:r,useExisting:n,useFactory:s,deps:i,multi:o}){this.token=e,this.useClass=t||null,this.useValue=r,this.useExisting=n,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o;}},t.flatten=l,t.templateSourceUrl=function(e,t,r){let n;return n=r.isInline?t.type.reference instanceof o.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):r.templateUrl,t.type.reference instanceof o.StaticSymbol?n:D(n);},t.sharedStylesheetJitUrl=function(e,t){const r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return D("css/".concat(t).concat(n,".ngstyle.js"));},t.ngModuleJitUrl=function(e){return D("".concat(i(e.type),"/module.ngfactory.js"));},t.templateJitUrl=function(e,t){return D("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"));};}),B=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});/**
26
- * @license
27
- * Copyright Google Inc. All Rights Reserved.
28
- *
29
- * Use of this source code is governed by an MIT-style license that can be
30
- * found in the LICENSE file at https://angular.io/license
31
- */class n{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n;}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url;}moveBy(e){const t=this.file.content,s=t.length;let i=this.offset,o=this.line,a=this.col;for(;i>0&&e<0;){i--,e++;if(t.charCodeAt(i)==r.$LF){o--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(r.$LF));a=e>0?i-e:i;}else a--;}for(;i<s&&e>0;){const n=t.charCodeAt(i);i++,e--,n==r.$LF?(o++,a=0):a++;}return new n(this.file,i,o,a);}getContext(e,t){const r=this.file.content;let n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let s=n,i=0,o=0;for(;i<e&&n>0&&(n--,i++,"\n"!=r[n]||++o!=t););for(i=0,o=0;i<e&&s<r.length-1&&(s++,i++,"\n"!=r[s]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,s+1)};}return null;}}t.ParseLocation=n;class s{constructor(e,t){this.content=e,this.url=t;}}t.ParseSourceFile=s;class i{constructor(e,t,r=null){this.start=e,this.end=t,this.details=r;}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset);}}var o;t.ParseSourceSpan=i,t.EMPTY_PARSE_LOCATION=new n(new s("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new i(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR";}(o=t.ParseErrorLevel||(t.ParseErrorLevel={}));t.ParseError=class{constructor(e,t,r=o.ERROR){this.span=e,this.msg=t,this.level=r;}contextualMessage(){const e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(o[this.level]," ->]").concat(e.after,'")'):this.msg;}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e);}},t.typeSourceSpan=function(e,t){const r=L.identifierModuleUrl(t),o=null!=r?"in ".concat(e," ").concat(L.identifierName(t)," in ").concat(r):"in ".concat(e," ").concat(L.identifierName(t)),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1));},t.r3JitTypeSourceSpan=function(e,t,r){const o="in ".concat(e," ").concat(t," in ").concat(r),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1));};});const q=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var $=function(e){const t=e.match(q);if(!t)return{content:e};const{startDelimiter:r,language:n,value:s="",endDelimiter:i}=t.groups;let o=n.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==i)return{content:e};const[a]=t;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:r,endDelimiter:i,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)};};var M=e=>e[e.length-1];var U=function(e,t){const r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r;},V=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g");})(),""):e;const G=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var j=G,X=G;j.default=X;const H=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=V(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let r=0;r<e.length;r++){const n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=j(n)?2:1);}return t;};var z=H,W=H;z.default=W;var Y=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");};function Q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}var J=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var s=e[t];n[s[0]]=s[1];}return n;},Z=void 0!==Z?Z:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function K(){throw new Error("setTimeout has not been defined");}function ee(){throw new Error("clearTimeout has not been defined");}var te=K,re=ee;function ne(e){if(te===setTimeout)return setTimeout(e,0);if((te===K||!te)&&setTimeout)return te=setTimeout,setTimeout(e,0);try{return te(e,0);}catch(t){try{return te.call(null,e,0);}catch(t){return te.call(this,e,0);}}}"function"==typeof Z.setTimeout&&(te=setTimeout),"function"==typeof Z.clearTimeout&&(re=clearTimeout);var se,ie=[],oe=!1,ae=-1;function ue(){oe&&se&&(oe=!1,se.length?ie=se.concat(ie):ae=-1,ie.length&&ce());}function ce(){if(!oe){var e=ne(ue);oe=!0;for(var t=ie.length;t;){for(se=ie,ie=[];++ae<t;)se&&se[ae].run();ae=-1,t=ie.length;}se=null,oe=!1,function(e){if(re===clearTimeout)return clearTimeout(e);if((re===ee||!re)&&clearTimeout)return re=clearTimeout,clearTimeout(e);try{re(e);}catch(t){try{return re.call(null,e);}catch(t){return re.call(this,e);}}}(e);}}function le(e,t){this.fun=e,this.array=t;}le.prototype.run=function(){this.fun.apply(null,this.array);};function De(){}var pe=De,he=De,de=De,me=De,fe=De,ge=De,Ee=De;var Ce=Z.performance||{},Te=Ce.now||Ce.mozNow||Ce.msNow||Ce.oNow||Ce.webkitNow||function(){return new Date().getTime();};var _e=new Date();var Se={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ie.push(new le(e,t)),1!==ie.length||oe||ne(ce);},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:pe,addListener:he,once:de,off:me,removeListener:fe,removeAllListeners:ge,emit:Ee,binding:function(e){throw new Error("process.binding is not supported");},cwd:function(){return"/";},chdir:function(e){throw new Error("process.chdir is not supported");},umask:function(){return 0;},hrtime:function(e){var t=.001*Te.call(Ce),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n];},platform:"browser",release:{},config:{},uptime:function(){return(new Date()-_e)/1e3;}};var ye="object"==typeof Se&&Se.env&&Se.env.NODE_DEBUG&&/\bsemver\b/i.test(Se.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Fe={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},ve=t(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=Fe,n=(t=e.exports={}).re=[],s=t.src=[],i=t.t={};let o=0;const a=(e,t,r)=>{const a=o++;ye(a,t),i[e]=a,s[a]=t,n[a]=new RegExp(t,r?"g":void 0);};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(s[i.NUMERICIDENTIFIER],")\\.")+"(".concat(s[i.NUMERICIDENTIFIER],")\\.")+"(".concat(s[i.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(s[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[i.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(s[i.NUMERICIDENTIFIER],"|").concat(s[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(s[i.NUMERICIDENTIFIERLOOSE],"|").concat(s[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(s[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(s[i.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(s[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(s[i.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(s[i.BUILDIDENTIFIER],"(?:\\.").concat(s[i.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(s[i.MAINVERSION]).concat(s[i.PRERELEASE],"?").concat(s[i.BUILD],"?")),a("FULL","^".concat(s[i.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(s[i.MAINVERSIONLOOSE]).concat(s[i.PRERELEASELOOSE],"?").concat(s[i.BUILD],"?")),a("LOOSE","^".concat(s[i.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(s[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(s[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:".concat(s[i.PRERELEASE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[i.PRERELEASELOOSE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",s[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(s[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(s[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(s[i.GTLT],"\\s*(").concat(s[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],"|").concat(s[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(s[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$");});const Ae=["includePrerelease","loose","rtl"];var be=e=>e?"object"!=typeof e?{loose:!0}:Ae.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{};const we=/^[0-9]+$/,Ne=(e,t)=>{const r=we.test(e),n=we.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1;};var ke={compareIdentifiers:Ne,rcompareIdentifiers:(e,t)=>Ne(t,e)};const{MAX_LENGTH:xe,MAX_SAFE_INTEGER:Ie}=Fe,{re:Pe,t:Re}=ve,{compareIdentifiers:Oe}=ke;class Le{constructor(e,t){if(t=be(t),e instanceof Le){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>xe)throw new TypeError("version is longer than ".concat(xe," characters"));ye("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?Pe[Re.LOOSE]:Pe[Re.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Ie||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ie||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ie||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Ie)return t;}return e;}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format();}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version;}toString(){return this.version;}compare(e){if(ye("SemVer.compare",this.version,this.options,e),!(e instanceof Le)){if("string"==typeof e&&e===this.version)return 0;e=new Le(e,this.options);}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e);}compareMain(e){return e instanceof Le||(e=new Le(e,this.options)),Oe(this.major,e.major)||Oe(this.minor,e.minor)||Oe(this.patch,e.patch);}comparePre(e){if(e instanceof Le||(e=new Le(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],n=e.prerelease[t];if(ye("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return Oe(r,n);}while(++t);}compareBuild(e){e instanceof Le||(e=new Le(e,this.options));let t=0;do{const r=this.build[t],n=e.build[t];if(ye("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return Oe(r,n);}while(++t);}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0);}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e));}return this.format(),this.raw=this.version,this;}}var Be=Le;var qe=(e,t,r)=>new Be(e,r).compare(new Be(t,r));var $e=(e,t,r)=>qe(e,t,r)<0;var Me,Ue,Ve,Ge,je,Xe,He=(e,t,r)=>qe(e,t,r)>=0,ze="2.3.0",We=t(function(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];}function n(){return"undefined"!=typeof WeakMap?new WeakMap():{add:r,delete:r,get:r,set:r,has:function(e){return!1;}};}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var s=Object.prototype.hasOwnProperty,i=function(e,t){return s.call(e,t);};function o(e,t){for(var r in t)i(t,r)&&(e[r]=t[r]);return e;}var a=/^[ \t]*(?:\r\n|\r|\n)/,u=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,D=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,r){var n=0,s=e[0].match(l);s&&(n=s[1].length);var i=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,c=r.trimLeadingNewline,D=r.trimTrailingNewline,p="string"==typeof o,h=e.length;return e.map(function(e,t){return e=e.replace(i,"$1"),0===t&&c&&(e=e.replace(a,"")),t===h-1&&D&&(e=e.replace(u,"")),p&&(e=e.replace(/\r\n|\n|\r/g,function(e){return o;})),e;});}function h(e,t){for(var r="",n=0,s=e.length;n<s;n++)r+=e[n],n<s-1&&(r+=t[n]);return r;}function d(e){return i(e,"raw")&&i(e,"length");}var m=function e(t){var r=n(),s=n();return o(function n(i){for(var a=[],u=1;u<arguments.length;u++)a[u-1]=arguments[u];if(d(i)){var l=i,f=(a[0]===n||a[0]===m)&&D.test(l[0])&&c.test(l[1]),g=f?s:r,E=g.get(l);if(E||(E=p(l,f,t),g.set(l,E)),0===a.length)return E[0];var C=h(E,f?a.slice(1):a);return C;}return e(o(o({},t),i||{}));},{string:function(e){return p([e],!1,t)[0];}});}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=m,t.default=m;try{e.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m;}catch(e){}});const{outdent:Ye}=We,Qe="Config",Je="Editor",Ze="Other",Ke="Global",et="Special",tt={cursorOffset:{since:"1.4.0",category:et,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ye(Me||(Me=Q(["\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 "]))),cliCategory:Je},endOfLine:{since:"1.15.0",category:Ke,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Ye(Ue||(Ue=Q(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:et,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Ze,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:et,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Ze},parser:{since:"0.0.10",category:Ke,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"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:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ke,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:Qe},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ke,description:Ye(Ve||(Ve=Q(["\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 "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:Qe},printWidth:{since:"0.0.0",category:Ke,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:et,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ye(Ge||(Ge=Q(["\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 "]))),cliCategory:Je},rangeStart:{since:"1.4.0",category:et,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ye(je||(je=Q(["\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 "]))),cliCategory:Je},requirePragma:{since:"1.7.0",category:et,type:"boolean",default:!1,description:Ye(Xe||(Xe=Q(["\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 "]))),cliCategory:Ze},tabWidth:{type:"int",category:Ke,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ke,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ke,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const rt={compare:qe,lt:$e,gte:He},nt=ze,st={CATEGORY_CONFIG:Qe,CATEGORY_EDITOR:Je,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:Ze,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:Ke,CATEGORY_SPECIAL:et,options:tt}.options;var it={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:r=!1,showInternal:n=!1}={}){const s=nt.split("-",1)[0],i=e.reduce((e,t)=>[...e,...(t.languages||[])],[]).filter(a),o=((e,t)=>Object.entries(e).map(([e,r])=>Object.assign({[t]:e},r)))(Object.assign({},...e.map(({options:e})=>e),st),"name").filter(e=>a(e)&&u(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(function(e){if(n)return e;return function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s;}(e,["cliName","cliCategory","cliDescription"]);}).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(a).sort((e,t)=>rt.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>a(e)&&u(e)),"parser"===t.name&&function(e,t,r){const n=new Set(e.choices.map(e=>e.value));for(const s of t)if(s.parsers)for(const t of s.parsers)if(!n.has(t)){n.add(t);const i=r.find(e=>e.parsers&&e.parsers[t]);let o=s.name;i&&i.name&&(o+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:o});}}(t,i,e));const r=J(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign({},t,{pluginDefaults:r});});return{languages:i,options:o};function a(e){return t||!("since"in e)||e.since&&rt.gte(s,e.since);}function u(e){return r||!("deprecated"in e)||e.deprecated&&rt.lt(s,e.deprecated);}}};const{getSupportInfo:ot}=it,at=/[^\x20-\x7F]/;function ut(e){return(t,r,n)=>{const s=n&&n.backwards;if(!1===r)return!1;const{length:i}=t;let o=r;for(;o>=0&&o<i;){const r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o;}else if(!e.includes(r))return o;s?o--:o++;}return(-1===o||o===i)&&o;};}const ct=ut(/\s/),lt=ut(" \t"),Dt=ut(",; \t"),pt=ut(/[^\n\r]/);function ht(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t;}function dt(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?pt(e,t):t);}function mt(e,t,r){const n=r&&r.backwards;if(!1===t)return!1;const s=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===s)return t-2;if("\n"===s||"\r"===s||"\u2028"===s||"\u2029"===s)return t-1;}else{if("\r"===s&&"\n"===e.charAt(t+1))return t+2;if("\n"===s||"\r"===s||"\u2028"===s||"\u2029"===s)return t+1;}return t;}function ft(e,t,r={}){const n=lt(e,r.backwards?t-1:t,r);return n!==mt(e,n,r);}function gt(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Dt(e,n),n=ht(e,n),n=lt(e,n);return n=dt(e,n),n=mt(e,n),!1!==n&&ft(e,n);}function Et(e,t){let r=null,n=t;for(;n!==r;)r=n,n=lt(e,n),n=ht(e,n),n=dt(e,n),n=mt(e,n);return n;}function Ct(e,t,r){return Et(e,r(t));}function Tt(e,t,r=0){let n=0;for(let s=r;s<e.length;++s)"\t"===e[s]?n=n+t-n%t:n++;return n;}function _t(e,t){const r=e.slice(1,-1),n={quote:'"',regex:/"/g},s={quote:"'",regex:/'/g},i="'"===t?s:n,o=i===s?n:s;let a=i.quote;if(r.includes(i.quote)||r.includes(o.quote)){a=(r.match(i.regex)||[]).length>(r.match(o.regex)||[]).length?o.quote:i.quote;}return a;}function St(e,t,r){const n='"'===t?"'":'"',s=e.replace(/\\([\S\s])|(["'])/g,(e,s,i)=>s===n?s:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s));return t+s+t;}function yt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");r.length>20&&(r=r.slice(0,19)+"\u2026");return t+(r?" "+r:"");}(e);}var Ft={inferParserByLanguage:function(e,t){const{languages:r}=ot({plugins:t.plugins}),n=r.find(({name:t})=>t.toLowerCase()===e)||r.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||r.find(({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e)));return n&&n.parsers[0];},replaceEndOfLineWith:function(e,t){const r=[];for(const n of e.split("\n"))r.length>0&&r.push(t),r.push(n);return r;},getStringWidth:function(e){return e?at.test(e)?z(e):e.length:0;},getMaxContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));return null===r?0:r.reduce((e,r)=>Math.max(e,r.length/t.length),0);},getMinNotPresentContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));if(null===r)return 0;const n=new Map();let s=0;for(const e of r){const r=e.length/t.length;n.set(r,!0),r>s&&(s=r);}for(let e=1;e<s;e++)if(!n.get(e))return e;return s+1;},getPenultimate:e=>e[e.length-2],getLast:M,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Et,getNextNonSpaceNonCommentCharacterIndex:Ct,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(Ct(e,t,r));},skip:ut,skipWhitespace:ct,skipSpaces:lt,skipToLineEnd:Dt,skipEverythingButNewLine:pt,skipInlineComment:ht,skipTrailingComment:dt,skipNewline:mt,isNextLineEmptyAfterIndex:gt,isNextLineEmpty:function(e,t,r){return gt(e,r(t));},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=lt(e,n,{backwards:!0}),n=mt(e,n,{backwards:!0}),n=lt(e,n,{backwards:!0}),n!==mt(e,n,{backwards:!0});},hasNewline:ft,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1;},hasSpaces:function(e,t,r={}){return lt(e,r.backwards?t-1:t,r)!==t;},getAlignmentSize:Tt,getIndentSize:function(e,t){const r=e.lastIndexOf("\n");return-1===r?0:Tt(e.slice(r+1).match(/^[\t ]*/)[0],t);},getPreferredQuote:_t,printString:function(e,t){return St(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_t(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml));},printNumber:function(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|$)/,"");},makeString:St,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,yt(e,t);},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),yt(e,t);},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,yt(e,t);},isFrontMatterNode:function(e){return e&&"front-matter"===e.type;},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t);},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0;},createGroupIdMapper:function(e){const t=new WeakMap();return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r);};}},vt={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:At,isFrontMatterNode:bt}=Ft,{CSS_DISPLAY_TAGS:wt,CSS_DISPLAY_DEFAULT:Nt,CSS_WHITE_SPACE_TAGS:kt,CSS_WHITE_SPACE_DEFAULT:xt}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},It=Lt(["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"]),Pt=function(e,t){const r=Object.create(null);for(const[n,s]of Object.entries(e))r[n]=t(s,n);return r;}(vt,Lt),Rt=new Set(["\t","\n","\f","\r"," "]),Ot=e=>e.replace(/[\t\n\f\r ]+$/,"");function Lt(e){const t=Object.create(null);for(const r of e)t[r]=!0;return t;}function Bt(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!Yt(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!tr(e,t)||$t(e)||"interpolation"===e.type);}function qt(e){if("attribute"===e.type)return!1;if(!e.parent)return!1;if("number"!=typeof e.index||0===e.index)return!1;return function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim();}(e.parent.children[e.index-1]);}function $t(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Qt(e)&&("script"===e.name||"style"===e.name));}function Mt(e){return Jt(e).startsWith("pre");}function Ut(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay);}function Vt(e){return Ht(e)||"element"===e.type&&"br"===e.fullName||Gt(e);}function Gt(e){return jt(e)&&Xt(e);}function jt(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line);}function Xt(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line);}function Ht(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name);}return!1;}function zt(e){const{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0;}function Wt(e){return"block"===e||"list-item"===e||e.startsWith("table");}function Yt(e){return Jt(e).startsWith("pre");}function Qt(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace);}function Jt(e){return"element"===e.type&&(!e.namespace||Qt(e))&&kt[e.name]||xt;}const Zt=new Set(["template","style","script"]);function Kt(e,t){return er(e,t)&&!Zt.has(e.fullName);}function er(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase();}function tr(e,t){return er(e,t)&&(Kt(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang);}var rr={HTML_ELEMENT_ATTRIBUTES:Pt,HTML_TAGS:It,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(Ot(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(Ot(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,r,n]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:n,text:r};},canHaveInterpolation:function(e){return e.children&&!$t(e);},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r;},countParents:function(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){const s=e.stack[n];s&&"object"==typeof s&&!Array.isArray(s)&&t(s)&&r++;}return r;},dedentString:function(e,t=function(e){let t=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!Rt.has(n[0]))return 0;const e=(r=n,r.match(/^[\t\n\f\r ]*/)[0]).length;n.length!==e&&e<t&&(t=e);}var r;return t===Number.POSITIVE_INFINITY?0:t;}(e)){return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n");},forceBreakChildren:Ut,forceBreakContent:function(e){return Ut(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type);}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&jt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Xt(e.lastChild));},forceNextEmptyLine:function(e){return bt(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line;},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t;},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1];}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent;}return!1;}(e,e=>"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";r=!0;}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||Qt(e))&&wt[e.name]||Nt;}},getNodeCssStyleWhiteSpace:Jt,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/));},hasPrettierIgnore:qt,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css";}(e):t&&tr(e,t)?zt(e)||!("src"in e.attrMap)&&At(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?zt(e):"babel";},isVueCustomBlock:Kt,isVueNonHtmlBlock:tr,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:");},isVueSfcBindingsAttribute:function(e,t){const r=e.parent;if(!er(r,t))return!1;const n=r.fullName,s=e.fullName;return"script"===n&&"setup"===s||"style"===n&&"vars"===s;},isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,Wt(t)||"inline-block"===t||$t(e));var t;},isIndentationSensitiveNode:Mt,isLeadingSpaceSensitiveNode:function(e,t){const r=function(){if(bt(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(Yt(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||Yt(e)&&e.parent||$t(e.parent)||Kt(e.parent,t)||(r=e.parent.cssDisplay,Wt(r)||"inline-block"===r)))return!1;var r;if(e.prev&&!function(e){return!Wt(e);}(e.prev.cssDisplay))return!1;return!0;}();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;},isPreLikeNode:Yt,isScriptLikeTag:$t,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type;},isTrailingSpaceSensitiveNode:function(e,t){return!bt(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Yt(e.parent)||!(!e.next&&("root"===e.parent.type||Yt(e)&&e.parent||$t(e.parent)||Kt(e.parent,t)||(r=e.parent.cssDisplay,Wt(r)||"inline-block"===r)))&&!(e.next&&!function(e){return!Wt(e);}(e.next.cssDisplay))));var r;},isWhitespaceSensitiveNode:function(e){return $t(e)||"interpolation"===e.type||Mt(e);},isUnknownNamespace:Qt,preferHardlineAsLeadingSpaces:function(e){return Ht(e)||e.prev&&Vt(e.prev)||Gt(e);},preferHardlineAsTrailingSpaces:Vt,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(qt(e)||Bt(e.parent,t));},shouldPreserveContent:Bt,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"');}};var nr={hasPragma:function(e){return /^\s*<!--\s*@(format|prettier)\s*-->/.test(e);},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"");}};const{isNonEmptyArray:sr}=Ft,ir={attrs:!0,children:!0};class or{constructor(e={}){for(const[t,r]of Object.entries(e))t in ir?this._setNodes(t,r):this[t]=r;}_setNodes(e,t){t!==this[e]&&(this[e]=function(e,t){const r=e.map(e=>e instanceof or?e.clone():new or(e));let n=null,s=r[0],i=r[1]||null;for(let e=0;e<r.length;e++)ur(s,{index:e,siblings:r,prev:n,next:i,parent:t}),n=s,s=i,i=r[e+2]||null;return r;}(t,this),"attrs"===e&&ur(this,{attrMap:J(this[e].map(e=>[e.fullName,e.value]))}));}map(e){let t=null;for(const r in ir){const n=this[r];if(n){const s=ar(n,t=>t.map(e));t!==n&&(t||(t=new or()),t._setNodes(r,s));}}if(t){for(const e in this)e in ir||(t[e]=this[e]);const{index:e,siblings:r,prev:n,next:s,parent:i}=this;ur(t,{index:e,siblings:r,prev:n,next:s,parent:i});}return e(t||this);}clone(e){return new or(e?Object.assign({},this,e):this);}get firstChild(){return sr(this.children)?this.children[0]:null;}get lastChild(){return sr(this.children)?M(this.children):null;}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name;}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name;}}function ar(e,t){const r=e.map(t);return r.some((t,r)=>t!==e[r])?r:e;}function ur(e,t){const r=J(Object.entries(t).map(([e,t])=>[e,{value:t,enumerable:!1}]));Object.defineProperties(e,r);}var cr={Node:or};const{ParseSourceSpan:lr}=B,Dr=[{regex:/^(\[if([^\]]*?)]>)(.*?)<!\s*\[endif]$/s,parse:function(e,t,r){const[,n,s,i]=r,o="\x3c!--".length+n.length,a=e.sourceSpan.start.moveBy(o),u=a.moveBy(i.length),[c,l]=(()=>{try{return[!0,t(i,a).children];}catch(e){return[!1,[{type:"text",value:i,sourceSpan:new lr(a,u)}]];}})();return{type:"ieConditionalComment",complete:c,children:l,condition:s.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new lr(e.sourceSpan.start,a),endSourceSpan:new lr(u,e.sourceSpan.end)};}},{regex:/^\[if([^\]]*?)]><!$/,parse:function(e,t,r){const[,n]=r;return{type:"ieConditionalStartComment",condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan};}},{regex:/^<!\s*\[endif]$/,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan};}}];var pr={parseIeConditionalComment:function(e,t){if(e.value)for(const{regex:r,parse:n}of Dr){const s=e.value.match(r);if(s)return n(e,t,s);}return null;}};var hr={locStart:function(e){return e.sourceSpan.start.offset;},locEnd:function(e){return e.sourceSpan.end.offset;}},dr=t(function(e,t){function r(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'.concat(e,'" expecting ":namespace:name"'));return[e.slice(1,t),e.slice(t+1)];}/**
32
- * @license
33
- * Copyright Google Inc. All Rights Reserved.
34
- *
35
- * Use of this source code is governed by an MIT-style license that can be
36
- * found in the LICENSE file at https://angular.io/license
37
- */Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA";}(t.TagContentType||(t.TagContentType={})),t.splitNsName=r,t.isNgContainer=function(e){return"ng-container"===r(e)[1];},t.isNgContent=function(e){return"ng-content"===r(e)[1];},t.isNgTemplate=function(e){return"ng-template"===r(e)[1];},t.getNsPrefix=function(e){return null===e?null:r(e)[0];},t.mergeNsAndName=function(e,t){return e?":".concat(e,":").concat(t):t;},t.NAMED_ENTITIES={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",AMP:"&",amp:"&",And:"\u2a53",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",ap:"\u2248",apacir:"\u2a6f",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250c",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252c",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxUL:"\u255d",boxUl:"\u255c",boxuL:"\u255b",boxul:"\u2518",boxUR:"\u255a",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256c",boxVh:"\u256b",boxvH:"\u256a",boxvh:"\u253c",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255f",boxvR:"\u255e",boxvr:"\u251c",bprime:"\u2035",Breve:"\u02d8",breve:"\u02d8",brvbar:"\xa6",Bscr:"\u212c",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22d2",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"\u212d",cfr:"\ud835\udd20",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",Conint:"\u222f",conint:"\u222e",ContourIntegral:"\u222e",Copf:"\u2102",copf:"\ud835\udd54",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xa9",copy:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",Cross:"\u2a2f",cross:"\u2717",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",Cup:"\u22d3",cup:"\u222a",cupbrcap:"\u2a48",CupCap:"\u224d",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21a1",dArr:"\u21d3",darr:"\u2193",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",Diamond:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21d3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",ecir:"\u2256",Ecirc:"\xca",ecirc:"\xea",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212f",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",ForAll:"\u2200",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\ud835\udcbb",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",Gg:"\u22d9",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gnE:"\u2269",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",GT:">",Gt:"\u226b",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",hArr:"\u21d4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",Hfr:"\u210c",hfr:"\ud835\udd25",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",Hopf:"\u210d",hopf:"\ud835\udd59",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210b",hscr:"\ud835\udcbd",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",Ifr:"\u2111",ifr:"\ud835\udd26",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",Int:"\u222c",int:"\u222b",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",Iscr:"\u2110",iscr:"\ud835\udcbe",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",Lang:"\u27ea",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",Larr:"\u219e",lArr:"\u21d0",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",lAtail:"\u291b",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lBarr:"\u290e",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",Leftarrow:"\u21d0",leftarrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22d8",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lnE:"\u2268",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftarrow:"\u27f5",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\ud835\udcc1",Lsh:"\u21b0",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226a",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",Mscr:"\u2133",mscr:"\ud835\udcc2",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21d7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlArr:"\u21cd",nlarr:"\u219a",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21cd",nleftarrow:"\u219a",nLeftrightarrow:"\u21ce",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",nopf:"\ud835\udd5f",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nRightarrow:"\u21cf",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nVDash:"\u22af",nVdash:"\u22ae",nvDash:"\u22ad",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwArr:"\u21d6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",Or:"\u2a54",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",Otimes:"\u2a37",otimes:"\u2297",otimesas:"\u2a36",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",Popf:"\u2119",popf:"\ud835\udd61",pound:"\xa3",Pr:"\u2abb",pr:"\u227a",prap:"\u2ab7",prcue:"\u227c",prE:"\u2ab3",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",Qopf:"\u211a",qopf:"\ud835\udd62",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",QUOT:'"',quot:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",Rang:"\u27eb",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",Rarr:"\u21a0",rArr:"\u21d2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",rAtail:"\u291c",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",RBarr:"\u2910",rBarr:"\u290f",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",REG:"\xae",reg:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",Rfr:"\u211c",rfr:"\ud835\udd2f",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",Rightarrow:"\u21d2",rightarrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",Ropf:"\u211d",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",Rscr:"\u211b",rscr:"\ud835\udcc7",Rsh:"\u21b1",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",Sc:"\u2abc",sc:"\u227b",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227d",scE:"\u2ab4",sce:"\u2ab0",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",seArr:"\u21d8",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",Square:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",Sub:"\u22d0",sub:"\u2282",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",Subset:"\u22d0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",Sum:"\u2211",sum:"\u2211",sung:"\u266a",Sup:"\u22d1",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",Supset:"\u22d1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swArr:"\u21d9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",Tilde:"\u223c",tilde:"\u02dc",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",Uarr:"\u219f",uArr:"\u21d1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrow:"\u2191",Uparrow:"\u21d1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",Updownarrow:"\u21d5",updownarrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",upsi:"\u03c5",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",vArr:"\u21d5",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",Vbar:"\u2aeb",vBar:"\u2ae8",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22ab",Vdash:"\u22a9",vDash:"\u22a8",vdash:"\u22a2",Vdashl:"\u2ae6",Vee:"\u22c1",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",Wedge:"\u22c0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",Xi:"\u039e",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",Yuml:"\u0178",yuml:"\xff",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",Zfr:"\u2128",zfr:"\ud835\udd37",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",Zopf:"\u2124",zopf:"\ud835\udd6b",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},t.NGSP_UNICODE="\ue500",t.NAMED_ENTITIES.ngsp=t.NGSP_UNICODE;});/**
38
- * @license
39
- * Copyright Google Inc. All Rights Reserved.
40
- *
41
- * Use of this source code is governed by an MIT-style license that can be
42
- * found in the LICENSE file at https://angular.io/license
43
- */class mr{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=dr.TagContentType.PARSABLE_DATA,closedByParent:n=!1,isVoid:s=!1,ignoreFirstLf:i=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=s,this.closedByParent=n||s,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i;}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren;}}var fr=mr;let gr,Er;var Cr=function(e){return Er||(gr=new mr(),Er={base:new mr({isVoid:!0}),meta:new mr({isVoid:!0}),area:new mr({isVoid:!0}),embed:new mr({isVoid:!0}),link:new mr({isVoid:!0}),img:new mr({isVoid:!0}),input:new mr({isVoid:!0}),param:new mr({isVoid:!0}),hr:new mr({isVoid:!0}),br:new mr({isVoid:!0}),source:new mr({isVoid:!0}),track:new mr({isVoid:!0}),wbr:new mr({isVoid:!0}),p:new mr({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new mr({closedByChildren:["tbody","tfoot"]}),tbody:new mr({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new mr({closedByChildren:["tbody"],closedByParent:!0}),tr:new mr({closedByChildren:["tr"],closedByParent:!0}),td:new mr({closedByChildren:["td","th"],closedByParent:!0}),th:new mr({closedByChildren:["td","th"],closedByParent:!0}),col:new mr({isVoid:!0}),svg:new mr({implicitNamespacePrefix:"svg"}),math:new mr({implicitNamespacePrefix:"math"}),li:new mr({closedByChildren:["li"],closedByParent:!0}),dt:new mr({closedByChildren:["dt","dd"]}),dd:new mr({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new mr({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new mr({closedByChildren:["optgroup"],closedByParent:!0}),option:new mr({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new mr({ignoreFirstLf:!0}),listing:new mr({ignoreFirstLf:!0}),style:new mr({contentType:dr.TagContentType.RAW_TEXT}),script:new mr({contentType:dr.TagContentType.RAW_TEXT}),title:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Er[e]||gr;},Tr=Object.defineProperty({HtmlTagDefinition:fr,getHtmlTagDefinition:Cr},"__esModule",{value:!0});var _r=/**
44
- * @license
45
- * Copyright Google Inc. All Rights Reserved.
46
- *
47
- * Use of this source code is governed by an MIT-style license that can be
48
- * found in the LICENSE file at https://angular.io/license
49
- */class{constructor(e,t=-1){this.path=e,this.position=t;}get empty(){return!this.path||!this.path.length;}get head(){return this.path[0];}get tail(){return this.path[this.path.length-1];}parentOf(e){return e&&this.path[this.path.indexOf(e)-1];}childOf(e){return this.path[this.path.indexOf(e)+1];}first(e){for(let t=this.path.length-1;t>=0;t--){let r=this.path[t];if(r instanceof e)return r;}}push(e){this.path.push(e);}pop(){return this.path.pop();}},Sr=Object.defineProperty({AstPath:_r},"__esModule",{value:!0});var yr=/**
50
- * @license
51
- * Copyright Google Inc. All Rights Reserved.
52
- *
53
- * Use of this source code is governed by an MIT-style license that can be
54
- * found in the LICENSE file at https://angular.io/license
55
- */class{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text";}visit(e,t){return e.visitText(this,t);}};var Fr=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata";}visit(e,t){return e.visitCdata(this,t);}};var vr=class{constructor(e,t,r,n,s,i){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=s,this.i18n=i;}visit(e,t){return e.visitExpansion(this,t);}};var Ar=class{constructor(e,t,r,n,s){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=s;}visit(e,t){return e.visitExpansionCase(this,t);}};var br=class{constructor(e,t,r,n=null,s=null,i=null){this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=s,this.i18n=i,this.type="attribute";}visit(e,t){return e.visitAttribute(this,t);}};class wr{constructor(e,t,r,n,s=null,i=null,o=null,a=null){this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=s,this.endSourceSpan=i,this.nameSpan=o,this.i18n=a,this.type="element";}visit(e,t){return e.visitElement(this,t);}}var Nr=wr;var kr=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment";}visit(e,t){return e.visitComment(this,t);}};var xr=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType";}visit(e,t){return e.visitDocType(this,t);}};function Ir(e,t,r=null){const n=[],s=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach(e=>{const t=s(e);t&&n.push(t);}),n;}var Pr=Ir;class Rr{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children);});}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,t=>{t(e.cases);});}visitExpansionCase(e,t){}visitChildren(e,t){let r=[],n=this;return t(function(t){t&&r.push(Ir(n,t,e));}),Array.prototype.concat.apply([],r);}}var Or=Rr;function Lr(e){const t=e.sourceSpan.start.offset;let r=e.sourceSpan.end.offset;return e instanceof wr&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=Lr(e.children[e.children.length-1]).end)),{start:t,end:r};}var Br=function(e,t){const r=[];return Ir(new class extends Rr{visit(e,n){const s=Lr(e);if(!(s.start<=t&&t<s.end))return!0;r.push(e);}}(),e),new Sr.AstPath(r,t);},qr=Object.defineProperty({Text:yr,CDATA:Fr,Expansion:vr,ExpansionCase:Ar,Attribute:br,Element:Nr,Comment:kr,DocType:xr,visitAll:Pr,RecursiveVisitor:Or,findNode:Br},"__esModule",{value:!0});var $r=/**
56
- * @license
57
- * Copyright Google Inc. All Rights Reserved.
58
- *
59
- * Use of this source code is governed by an MIT-style license that can be
60
- * found in the LICENSE file at https://angular.io/license
61
- */function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(let r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error("Expected '".concat(e,"' to be an array of strings."));}};const Mr=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];var Ur=function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){const e=t[0],r=t[1];Mr.forEach(t=>{if(t.test(e)||t.test(r))throw new Error("['".concat(e,"', '").concat(r,"'] contains unusable interpolation symbol."));});}},Vr=Object.defineProperty({assertArrayOfStrings:$r,assertInterpolationSymbols:Ur},"__esModule",{value:!0}),Gr=t(function(e,t){/**
62
- * @license
63
- * Copyright Google Inc. All Rights Reserved.
64
- *
65
- * Use of this source code is governed by an MIT-style license that can be
66
- * found in the LICENSE file at https://angular.io/license
67
- */Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,t){this.start=e,this.end=t;}static fromArray(e){return e?(Vr.assertInterpolationSymbols("interpolation",e),new r(e[0],e[1])):t.DEFAULT_INTERPOLATION_CONFIG;}}t.InterpolationConfig=r,t.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}");}),jr=t(function(e,t){/**
68
- * @license
69
- * Copyright Google Inc. All Rights Reserved.
70
- *
71
- * Use of this source code is governed by an MIT-style license that can be
72
- * found in the LICENSE file at https://angular.io/license
73
- */Object.defineProperty(t,"__esModule",{value:!0});const n=r;var s;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF";}(s=t.TokenType||(t.TokenType={}));class i{constructor(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r;}}t.Token=i;class o extends B.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t;}}t.TokenError=o;class a{constructor(e,t){this.tokens=e,this.errors=t;}}t.TokenizeResult=a,t.tokenize=function(e,t,r,n={}){return new p(new B.ParseSourceFile(e,t),r,n).tokenize();};const u=/\r\n?/g;function c(e){const t=e===n.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"');}function l(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax');}class D{constructor(e){this.error=e;}}class p{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Gr.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(e=>e.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;const n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new C(e,n):new E(e,n);try{this._cursor.init();}catch(e){this.handleError(e);}}_processCarriageReturns(e){return e.replace(u,"\n");}tokenize(){for(;this._cursor.peek()!==n.$EOF;){const e=this._cursor.clone();try{if(this._attemptCharCode(n.$LT)){if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(e);else{const t=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e);}}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText();}catch(e){this.handleError(e);}}return this._beginToken(s.EOF),this._endToken([]),new a(function(e){const t=[];let r;for(let n=0;n<e.length;n++){const i=e[n];r&&r.type==s.TEXT&&i.type==s.TEXT?(r.parts[0]+=i.parts[0],r.sourceSpan.end=i.sourceSpan.end):(r=i,t.push(r));}return t;}(this.tokens),this.errors);}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((e=this._cursor.peek())===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var e;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0;}return!1;}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e;}_endToken(e,t=this._cursor.clone()){if(null===this._currentTokenStart)throw new o("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const r=new i(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r;}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const r=new o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new D(r);}handleError(e){if(e instanceof T&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof D))throw e;this.errors.push(e.error);}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0);}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),r=e,g(t)==g(r)&&(this._cursor.advance(),!0);var t,r;}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(t));}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0;}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0;}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(t));}_requireStrCaseInsensitive(e){const t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(t));}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance();}_requireCharCodeUntilFn(e,t){const r=this._cursor.clone();this._attemptCharCodeUntilFn(e);if(this._cursor.clone().diff(r)<t)throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(r));}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance();}_readChar(e){if(e&&this._cursor.peek()===n.$AMPERSAND)return this._decodeEntity();{const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e;}}_decodeEntity(){const e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(n.$HASH)){const t=this._cursor.clone();if(this._attemptCharCodeUntilFn(f),this._cursor.peek()!=n.$SEMICOLON)return this._cursor=t,"&";const r=this._cursor.getChars(t);this._cursor.advance();const s=dr.NAMED_ENTITIES[r];if(!s)throw this._createError(l(r),this._cursor.getSpan(e));return s;}{const t=this._attemptCharCode(n.$x)||this._attemptCharCode(n.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(m),this._cursor.peek()!=n.$SEMICOLON)throw this._createError(c(this._cursor.peek()),this._cursor.getSpan());const s=this._cursor.getChars(r);this._cursor.advance();try{const e=parseInt(s,t?16:10);return String.fromCharCode(e);}catch(t){throw this._createError(l(this._cursor.getChars(e)),this._cursor.getSpan());}}}_consumeRawText(e,t){this._beginToken(e?s.ESCAPABLE_RAW_TEXT:s.RAW_TEXT);const r=[];for(;;){const n=this._cursor.clone(),s=t();if(this._cursor=n,s)break;r.push(this._readChar(e));}return this._endToken([this._processCarriageReturns(r.join(""))]);}_consumeComment(e){this._beginToken(s.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(s.COMMENT_END),this._requireStr("--\x3e"),this._endToken([]);}_consumeBogusComment(e){this._beginToken(s.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===n.$GT),this._beginToken(s.COMMENT_END),this._cursor.advance(),this._endToken([]);}_consumeCdata(e){this._beginToken(s.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(s.CDATA_END),this._requireStr("]]>"),this._endToken([]);}_consumeDocType(e){this._beginToken(s.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===n.$GT),this._beginToken(s.DOC_TYPE_END),this._cursor.advance(),this._endToken([]);}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;this._cursor.peek()!==n.$COLON&&!(((r=this._cursor.peek())<n.$a||n.$z<r)&&(r<n.$A||n.$Z<r)&&(r<n.$0||r>n.$9));)this._cursor.advance();var r;let s;this._cursor.peek()===n.$COLON?(t=this._cursor.getChars(e),this._cursor.advance(),s=this._cursor.clone()):s=e,this._requireCharCodeUntilFn(d,""===t?0:1);return[t,this._cursor.getChars(s)];}_consumeTagOpen(e){let t,r,i,o=this.tokens.length;const a=this._cursor.clone(),u=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(e));for(i=this._consumeTagOpenStart(e),r=i.parts[0],t=i.parts[1],this._attemptCharCodeUntilFn(h);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){const[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(h),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(h);const r=this._consumeAttributeValue();u.push({prefix:e,name:t,value:r});}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(h);}this._consumeTagOpenEnd();}catch(t){if(t instanceof D)return this._cursor=a,i&&(this.tokens.length=o),this._beginToken(s.TEXT,e),void this._endToken(["<"]);throw t;}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===s.TAG_OPEN_END_VOID)return;const l=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),l===dr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):l===dr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0);}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!!this._attemptCharCode(n.$LT)&&!!this._attemptCharCode(n.$SLASH)&&(this._attemptCharCodeUntilFn(h),!!this._attemptStrCaseInsensitive(e?"".concat(e,":").concat(t):t)&&(this._attemptCharCodeUntilFn(h),this._attemptCharCode(n.$GT)))),this._beginToken(s.TAG_CLOSE),this._requireCharCodeUntilFn(e=>e===n.$GT,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t);}_consumeTagOpenStart(e){this._beginToken(s.TAG_OPEN_START,e);const t=this._consumePrefixAndName();return this._endToken(t);}_consumeAttributeName(){const e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(c(e),this._cursor.getSpan());this._beginToken(s.ATTR_NAME);const t=this._consumePrefixAndName();return this._endToken(t),t;}_consumeAttributeValue(){let e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(s.ATTR_QUOTE);const t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(s.ATTR_VALUE);const r=[];for(;this._cursor.peek()!==t;)r.push(this._readChar(!0));e=this._processCarriageReturns(r.join("")),this._endToken([e]),this._beginToken(s.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)]);}else{this._beginToken(s.ATTR_VALUE);const t=this._cursor.clone();this._requireCharCodeUntilFn(d,1),e=this._processCarriageReturns(this._cursor.getChars(t)),this._endToken([e]);}return e;}_consumeTagOpenEnd(){const e=this._attemptCharCode(n.$SLASH)?s.TAG_OPEN_END_VOID:s.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([]);}_consumeTagClose(e){if(this._beginToken(s.TAG_CLOSE,e),this._attemptCharCodeUntilFn(h),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([]);else{const[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t);}}_consumeExpansionFormStart(){this._beginToken(s.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(s.EXPANSION_FORM_START),this._beginToken(s.RAW_TEXT);const e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h),this._beginToken(s.RAW_TEXT);const t=this._readUntil(n.$COMMA);this._endToken([t]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h);}_consumeExpansionCaseStart(){this._beginToken(s.EXPANSION_CASE_VALUE);const e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(h),this._beginToken(s.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.push(s.EXPANSION_CASE_EXP_START);}_consumeExpansionCaseEnd(){this._beginToken(s.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.pop();}_consumeExpansionFormEnd(){this._beginToken(s.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop();}_consumeText(){const e=this._cursor.clone();this._beginToken(s.TEXT,e);const t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0));}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))]);}_isTextEnd(){if(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase())return!0;}return!1;}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t);}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_CASE_EXP_START;}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_FORM_START;}isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t;}return!0;}_handleFullNameStackForTagOpen(e,t){const r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]!==r||this._fullNameStack.push(r);}_handleFullNameStackForTagClose(e,t){const r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop();}}function h(e){return!n.isWhitespace(e)||e===n.$EOF;}function d(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ;}function m(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e);}function f(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e);}function g(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e;}class E{constructor(e,t){if(e instanceof E)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol};}}clone(){return new E(this);}peek(){return this.state.peek;}charsLeft(){return this.end-this.state.offset;}diff(e){return this.state.offset-e.state.offset;}advance(){this.advanceState(this.state);}init(){this.updatePeek(this.state);}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new B.ParseSourceSpan(new B.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new B.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column));}getChars(e){return this.input.substring(e.state.offset,this.state.offset);}charAt(e){return this.input.charCodeAt(e);}advanceState(e){if(e.offset>=this.end)throw this.state=e,new T('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e);}updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset);}}class C extends E{constructor(e,t){e instanceof C?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state);}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence();}init(){super.init(),this.processEscapeSequence();}clone(){return new C(this);}getChars(e){const t=e.clone();let r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r;}processEscapeSequence(){const e=()=>this.internalState.peek;if(e()===n.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===n.$n)this.state.peek=n.$LF;else if(e()===n.$r)this.state.peek=n.$CR;else if(e()===n.$v)this.state.peek=n.$VTAB;else if(e()===n.$t)this.state.peek=n.$TAB;else if(e()===n.$b)this.state.peek=n.$BSPACE;else if(e()===n.$f)this.state.peek=n.$FF;else if(e()===n.$u){if(this.advanceState(this.internalState),e()===n.$LBRACE){this.advanceState(this.internalState);const t=this.clone();let r=0;for(;e()!==n.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r);}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4);}}else if(e()===n.$x){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2);}else if(n.isOctalDigit(e())){let t="",r=0,s=this.clone();for(;n.isOctalDigit(e())&&r<3;)s=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=s.internalState;}else n.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek;}decodeHexDigits(e,t){const r=this.input.substr(e.internalState.offset,t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new T("Invalid hexadecimal escape sequence",e);return n;}}class T{constructor(e,t){this.msg=e,this.cursor=t;}}t.CursorError=T;});/**
74
- * @license
75
- * Copyright Google Inc. All Rights Reserved.
76
- *
77
- * Use of this source code is governed by an MIT-style license that can be
78
- * found in the LICENSE file at https://angular.io/license
79
- */class Xr extends B.ParseError{constructor(e,t,r){super(t,r),this.elementName=e;}static create(e,t,r){return new Xr(e,t,r);}}var Hr=Xr;class zr{constructor(e,t){this.rootNodes=e,this.errors=t;}}var Wr=zr;var Yr=class{constructor(e){this.getTagDefinition=e;}parse(e,t,r,n=!1,s){const i=e=>(t,...r)=>e(t.toLowerCase(),...r),o=n?this.getTagDefinition:i(this.getTagDefinition),a=e=>o(e).contentType,u=n?s:i(s),c=s?(e,t,r,n)=>{const s=u(e,t,r,n);return void 0!==s?s:a(e);}:a,l=jr.tokenize(e,t,c,r),D=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new Qr(l.tokens,o,D,p,n).build();return new zr(h.rootNodes,l.errors.concat(h.errors));}};class Qr{constructor(e,t,r,n,s){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=s,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance();}build(){for(;this._peek.type!==jr.TokenType.EOF;)this._peek.type===jr.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===jr.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===jr.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===jr.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===jr.TokenType.TEXT||this._peek.type===jr.TokenType.RAW_TEXT||this._peek.type===jr.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===jr.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===jr.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new zr(this._rootNodes,this._errors);}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e;}_advanceIf(e){return this._peek.type===e?this._advance():null;}_consumeCdata(e){const t=this._advance(),r=this._getText(t),n=this._advanceIf(jr.TokenType.CDATA_END);this._addToParent(new qr.CDATA(r,new B.ParseSourceSpan(e.sourceSpan.start,(n||t).sourceSpan.end)));}_consumeComment(e){const t=this._advanceIf(jr.TokenType.RAW_TEXT),r=this._advanceIf(jr.TokenType.COMMENT_END),n=null!=t?t.parts[0].trim():null,s=new B.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new qr.Comment(n,s));}_consumeDocType(e){const t=this._advanceIf(jr.TokenType.RAW_TEXT),r=this._advanceIf(jr.TokenType.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,s=new B.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new qr.DocType(n,s));}_consumeExpansion(e){const t=this._advance(),r=this._advance(),n=[];for(;this._peek.type===jr.TokenType.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;n.push(e);}if(this._peek.type!==jr.TokenType.EXPANSION_FORM_END)return void this._errors.push(Xr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const s=new B.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new qr.Expansion(t.parts[0],r.parts[0],n,s,t.sourceSpan)),this._advance();}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==jr.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(Xr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;const n=this._advance();r.push(new jr.Token(jr.TokenType.EOF,[],n.sourceSpan));const s=new Qr(r,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(s.errors.length>0)return this._errors=this._errors.concat(s.errors),null;const i=new B.ParseSourceSpan(e.sourceSpan.start,n.sourceSpan.end),o=new B.ParseSourceSpan(t.sourceSpan.start,n.sourceSpan.end);return new qr.ExpansionCase(e.parts[0],s.rootNodes,i,e.sourceSpan,o);}_collectExpansionExpTokens(e){const t=[],r=[jr.TokenType.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==jr.TokenType.EXPANSION_FORM_START&&this._peek.type!==jr.TokenType.EXPANSION_CASE_EXP_START||r.push(this._peek.type),this._peek.type===jr.TokenType.EXPANSION_CASE_EXP_END){if(!Jr(r,jr.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t;}if(this._peek.type===jr.TokenType.EXPANSION_FORM_END){if(!Jr(r,jr.TokenType.EXPANSION_FORM_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop();}if(this._peek.type===jr.TokenType.EOF)return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance());}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){const e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1));}return t;}_consumeText(e){const t=this._getText(e);t.length>0&&this._addToParent(new qr.Text(t,e.sourceSpan));}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop();}_consumeStartTag(e){const t=e.parts[0],r=e.parts[1],n=[];for(;this._peek.type===jr.TokenType.ATTR_NAME;)n.push(this._consumeAttr(this._advance()));const s=this._getElementFullName(t,r,this._getParentElement());let i=!1;if(this._peek.type===jr.TokenType.TAG_OPEN_END_VOID){this._advance(),i=!0;const t=this.getTagDefinition(s);this.canSelfClose||t.canSelfClose||null!==dr.getNsPrefix(s)||t.isVoid||this._errors.push(Xr.create(s,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')));}else this._peek.type===jr.TokenType.TAG_OPEN_END&&(this._advance(),i=!1);const o=this._peek.sourceSpan.start,a=new B.ParseSourceSpan(e.sourceSpan.start,o),u=new B.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),c=new qr.Element(s,n,[],a,a,void 0,u);this._pushElement(c),i&&(this._popElement(s),c.endSourceSpan=a);}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e);}_consumeEndTag(e){const t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(Xr.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){const r='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(Xr.create(t,e.sourceSpan,r));}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){const r=this._elementStack[t];if(!e||(dr.getNsPrefix(r.name)?r.name==e:r.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1;}return!1;}_consumeAttr(e){const t=dr.mergeNsAndName(e.parts[0],e.parts[1]);let r,n,s=e.sourceSpan.end,i="";if(this._peek.type===jr.TokenType.ATTR_QUOTE){n=this._advance().sourceSpan.start;}if(this._peek.type===jr.TokenType.ATTR_VALUE){const e=this._advance();i=e.parts[0],s=e.sourceSpan.end,r=e.sourceSpan;}if(this._peek.type===jr.TokenType.ATTR_QUOTE){s=this._advance().sourceSpan.end,r=new B.ParseSourceSpan(n,s);}return new qr.Attribute(t,i,new B.ParseSourceSpan(e.sourceSpan.start,s),r,e.sourceSpan);}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null;}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!dr.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t];}return{parent:null,container:e};}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e);}_insertBeforeContainer(e,t,r){if(t){if(e){const n=e.children.indexOf(t);e.children[n]=r;}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r);}else this._addToParent(r),this._elementStack.push(r);}_getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=dr.getNsPrefix(r.name)),dr.mergeNsAndName(e,t);}}function Jr(e,t){return e.length>0&&e[e.length-1]===t;}var Zr=Object.defineProperty({TreeError:Hr,ParseTreeResult:Wr,Parser:Yr},"__esModule",{value:!0}),Kr=Zr,en=Kr.ParseTreeResult,tn=Kr.TreeError;/**
80
- * @license
81
- * Copyright Google Inc. All Rights Reserved.
82
- *
83
- * Use of this source code is governed by an MIT-style license that can be
84
- * found in the LICENSE file at https://angular.io/license
85
- */class rn extends Zr.Parser{constructor(){super(Tr.getHtmlTagDefinition);}parse(e,t,r,n=!1,s){return super.parse(e,t,r,n,s);}}var nn=rn,sn=Object.defineProperty({ParseTreeResult:en,TreeError:tn,HtmlParser:nn},"__esModule",{value:!0}),on=dr.TagContentType;let an=null;var un=function(e,t={}){const{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}=t;return(an||(an=new sn.HtmlParser()),an).parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,i);},cn=Object.defineProperty({TagContentType:on,parse:un},"__esModule",{value:!0});const{ParseSourceSpan:ln,ParseLocation:Dn,ParseSourceFile:pn}=B,{inferParserByLanguage:hn}=Ft,{HTML_ELEMENT_ATTRIBUTES:dn,HTML_TAGS:mn,isUnknownNamespace:fn}=rr,{hasPragma:gn}=nr,{Node:En}=cr,{parseIeConditionalComment:Cn}=pr,{locStart:Tn,locEnd:_n}=hr;function Sn(e,{recognizeSelfClosing:t,normalizeTagName:r,normalizeAttributeName:n,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i,getTagContentType:o},a){const u=cn,{RecursiveVisitor:c,visitAll:l}=qr,{ParseSourceSpan:D}=B,{getHtmlTagDefinition:p}=Tr;let{rootNodes:h,errors:d}=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i,getTagContentType:o});if("vue"===a.parser){if(h.some(e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase())){t=!0,r=!0,n=!0,s=!0,i=!1;const o=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i});h=o.rootNodes,d=o.errors;}else{const r=e=>{if(!e)return!1;if("element"!==e.type||"template"!==e.name)return!1;const t=e.attrs.find(e=>"lang"===e.name),r=t&&t.value;return!r||"html"===hn(r,a);};if(h.some(r)){let n;const o=()=>u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i}),a=()=>n||(n=o()),c=e=>a().rootNodes.find(({startSourceSpan:t})=>t&&t.start.offset===e.startSourceSpan.start.offset);for(let e=0;e<h.length;e++){const t=h[e],{endSourceSpan:n,startSourceSpan:s}=t;if(null===n){d=a().errors,h[e]=c(t)||t;}else if(r(t)){const r=a(),i=s.end.offset,o=n.start.offset;for(const e of r.errors){const{offset:t}=e.span.start;if(i<t&&t<o){d=[e];break;}}h[e]=c(t)||t;}}}}}if(d.length>0){const{msg:e,span:{start:t,end:r}}=d[0];throw U(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}});}const m=e=>{const t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith("".concat(t,":")),s=n?r.slice(t.length+1):r;e.name=s,e.namespace=t,e.hasExplicitNamespace=n;},f=(e,t)=>{const r=e.toLowerCase();return t(r)?r:e;};return l(new class extends c{visit(e){(e=>{if("element"===e.type){m(e);for(const t of e.attrs)m(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;}else"comment"===e.type?e.value=e.sourceSpan.toString().slice("\x3c!--".length,-"--\x3e".length):"text"===e.type&&(e.value=e.sourceSpan.toString());})(e),(e=>{if("element"===e.type){const t=p(i?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||fn(e)?e.tagDefinition=t:e.tagDefinition=p("");}})(e),(e=>{if("element"===e.type&&(!r||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix&&!fn(e)||(e.name=f(e.name,e=>e in mn)),n)){const t=dn[e.name]||Object.create(null);for(const r of e.attrs)r.namespace||(r.name=f(r.name,r=>e.name in dn&&(r in dn["*"]||r in t)));}})(e),(e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new D(e.sourceSpan.start,e.endSourceSpan.end));})(e);}}(),h),h;}function yn(e,t,r,n=!0){const{frontMatter:s,content:i}=n?$(e):{frontMatter:null,content:e},o=new pn(e,t.filepath),a=new Dn(o,0,0,0),u=a.moveBy(e.length),c={type:"root",sourceSpan:new ln(a,u),children:Sn(i,r,t)};if(s){const e=new Dn(o,0,0,0),t=e.moveBy(s.raw.length);s.sourceSpan=new ln(e,t),c.children.unshift(s);}const l=new En(c),D=(n,s)=>{const{offset:i}=s,o=yn(e.slice(0,i).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new ln(s,M(o.children).sourceSpan.end);const a=o.children[0];return a.length===i?o.children.shift():(a.sourceSpan=new ln(a.sourceSpan.start.moveBy(i),a.sourceSpan.end),a.value=a.value.slice(i)),o;};return l.map(e=>{if("comment"===e.type){const t=Cn(e,D);if(t)return t;}return e;});}function Fn({recognizeSelfClosing:e=!1,normalizeTagName:t=!1,normalizeAttributeName:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i}={}){return{parse:(o,a,u)=>yn(o,u,{recognizeSelfClosing:e,normalizeTagName:t,normalizeAttributeName:r,allowHtmComponentClosingTags:n,isTagNameCaseSensitive:s,getTagContentType:i}),hasPragma:gn,astFormat:"html",locStart:Tn,locEnd:_n};}return{parsers:{html:Fn({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Fn(),vue:Fn({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,r,n)=>{if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some(({name:e,value:t})=>"lang"===e&&"html"!==t)))return cn.TagContentType.RAW_TEXT;}}),lwc:Fn()}};});})(parserHtml);const prettierHtml=/*@__PURE__*/getDefaultExportFromCjs(parserHtml.exports);var standalone={exports:{}};(function(module,exports){!function(e,t){module.exports=t();}(commonjsGlobal,function(){function e(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o;}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}var n={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{};function o(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;}function i(e){var t={exports:{}};return e(t,t.exports),t.exports;}var u=i(function(e,t){function n(){}function r(e,t,n,r,o){for(var i=0,u=t.length,s=0,a=0;i<u;i++){var c=t[i];if(c.removed){if(c.value=e.join(r.slice(a,a+c.count)),a+=c.count,i&&t[i-1].added){var l=t[i-1];t[i-1]=t[i],t[i]=l;}}else{if(!c.added&&o){var p=n.slice(s,s+c.count);p=p.map(function(e,t){var n=r[a+t];return n.length>e.length?n:e;}),c.value=e.join(p);}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count);}}var f=t[u-1];return u>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[u-2].value+=f.value,t.pop()),t;}function o(e){return{newPos:e.newPos,components:e.components.slice(0)};}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var u=this;function s(e){return i?(setTimeout(function(){i(void 0,e);},0),!0):e;}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=a+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*l;n<=l;n+=2){var i=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var m=p&&p.newPos+1<a,g=d&&0<=h&&h<c;if(m||g){if(!m||g&&p.newPos<d.newPos?(i=o(d),u.pushComponent(i.components,void 0,!0)):((i=p).newPos++,u.pushComponent(i.components,!0,void 0)),h=u.extractCommon(i,t,e,n),i.newPos+1>=a&&h+1>=c)return s(r(u,i.components,t,e,u.useLongestToken));f[n]=i;}else f[n]=void 0;}l++;}if(i)!function e(){setTimeout(function(){if(l>p)return i();h()||e();},0);}();else for(;l<=p;){var m=h();if(m)return m;}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n});},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,u=e.newPos,s=u-r,a=0;u+1<o&&s+1<i&&this.equals(t[u+1],n[s+1]);)u++,s++,a++;return a&&e.components.push({count:a}),e.newPos=u,s;},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase();},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t;},castInput:function(e){return e;},tokenize:function(e){return e.split("");},join:function(e){return e.join("");}};}),s=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n);},t.characterDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default();t.characterDiff=r;}),a=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t;};var c=Object.defineProperty({generateOptions:a},"__esModule",{value:!0}),l=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,c.generateOptions)(n,{ignoreWhitespace:!0}),s.diff(e,t,n);},t.diffWordsWithSpace=function(e,t,n){return s.diff(e,t,n);},t.wordDiff=void 0;var n,r=(n=u)&&n.__esModule?n:{default:n};var o=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,i=/\S/,s=new r.default();t.wordDiff=s,s.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!i.test(e)&&!i.test(t);},s.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&o.test(t[n])&&o.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t;};}),p=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return r.diff(e,t,n);},t.diffTrimmedLines=function(e,t,n){var o=(0,c.generateOptions)(n,{ignoreWhitespace:!0});return r.diff(e,t,o);},t.lineDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default();t.lineDiff=r,r.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o));}return t;};}),f=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return r.diff(e,t,n);},t.sentenceDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default();t.sentenceDiff=r,r.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/);};}),d=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return r.diff(e,t,n);},t.cssDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default();t.cssDiff=r,r.tokenize=function(e){return e.split(/([{}:;,]|\s+)/);};}),h=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return s.diff(e,t,n);},t.canonicalize=a,t.jsonDiff=void 0;var n,r=(n=u)&&n.__esModule?n:{default:n};function o(e){return(o="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;})(e);}var i=Object.prototype.toString,s=new r.default();function a(e,t,n,r,u){var s,c;for(t=t||[],n=n||[],r&&(e=r(u,e)),s=0;s<t.length;s+=1)if(t[s]===e)return n[s];if("[object Array]"===i.call(e)){for(t.push(e),c=new Array(e.length),n.push(c),s=0;s<e.length;s+=1)c[s]=a(e[s],t,n,r,u);return t.pop(),n.pop(),c;}if(e&&e.toJSON&&(e=e.toJSON()),"object"===o(e)&&null!==e){t.push(e),c={},n.push(c);var l,p=[];for(l in e)e.hasOwnProperty(l)&&p.push(l);for(p.sort(),s=0;s<p.length;s+=1)c[l=p[s]]=a(e[l],t,n,r,l);t.pop(),n.pop();}else c=e;return c;}t.jsonDiff=s,s.useLongestToken=!0,s.tokenize=p.lineDiff.tokenize,s.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t;}:r;return"string"==typeof e?e:JSON.stringify(a(e,null,null,o),o," ");},s.equals=function(e,t){return r.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"));};}),m=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return r.diff(e,t,n);},t.arrayDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default();t.arrayDiff=r,r.tokenize=function(e){return e.slice();},r.join=r.removeEmpty=function(e){return e;};}),g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function u(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var u=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);u&&(e.index=u[1]),i++;}for(s(e),s(e),e.hunks=[];i<n.length;){var c=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(a());else{if(c&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(c));i++;}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),u=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(u)&&(u=u.substr(1,u.length-2)),e[r+"FileName"]=u,e[r+"Header"]=(o[1]||"").trim(),i++;}}function a(){var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),u={oldStart:+o[1],oldLines:void 0===o[2]?1:+o[2],newStart:+o[3],newLines:void 0===o[4]?1:+o[4],lines:[],linedelimiters:[]};0===u.oldLines&&(u.oldStart+=1),0===u.newLines&&(u.newStart+=1);for(var s=0,a=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var c=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;u.lines.push(n[i]),u.linedelimiters.push(r[i]||"\n"),"+"===c?s++:"-"===c?a++:" "===c&&(s++,a++);}if(s||1!==u.newLines||(u.newLines=0),a||1!==u.oldLines||(u.oldLines=0),t.strict){if(s!==u.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(a!==u.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1));}return u;}for(;i<n.length;)u();return o;};var y,D=Object.defineProperty({parsePatch:g},"__esModule",{value:!0}),E=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=!0,o=!1,i=!1,u=1;return function s(){if(r&&!i){if(o?u++:r=!1,e+u<=n)return u;i=!0;}if(!o)return i||(r=!0),t<=e-u?-u++:(o=!0,s());};};}),b=A,C=function(e,t){"string"==typeof e&&(e=(0,D.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,function(e,n){if(e)return t.complete(e);var i=A(n,o,t);t.patched(o,i,function(e){if(e)return t.complete(e);r();});});}();},v=(y=E)&&y.__esModule?y:{default:y};function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,D.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0];}var r,o,i=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r;},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],o=r.length>0?r[0]:" ",u=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!a(t+1,i[t],o,u)&&++c>l)return!1;t++;}}return!0;}for(var h=0;h<s.length;h++){for(var m=s[h],g=i.length-m.oldLines,y=0,E=f+m.oldStart-1,b=(0,v.default)(E,p,g);void 0!==y;y=b())if(d(m,E+y)){m.offset=f+=y;break;}if(void 0===y)return!1;p=m.offset+m.oldStart+m.oldLines;}for(var C=0,A=0;A<s.length;A++){var F=s[A],x=F.oldStart+F.offset+C-1;C+=F.newLines-F.oldLines;for(var S=0;S<F.lines.length;S++){var w=F.lines[S],T=w.length>0?w[0]:" ",B=w.length>0?w.substr(1):w,k=F.linedelimiters[S];if(" "===T)x++;else if("-"===T)i.splice(x,1),u.splice(x,1);else if("+"===T)i.splice(x,0,B),u.splice(x,0,k),x++;else if("\\"===T){var N=F.lines[S-1]?F.lines[S-1][0]:null;"+"===N?r=!0:"-"===N&&(o=!0);}}}if(r)for(;!i[i.length-1];)i.pop(),u.pop();else o&&(i.push(""),u.push("\n"));for(var P=0;P<i.length-1;P++)i[P]=i[P]+u[P];return i.join("");}var F=Object.defineProperty({applyPatch:b,applyPatches:C},"__esModule",{value:!0}),x=N,S=P,w=O,T=function(e,t,n,r,o,i){return O(e,e,t,n,r,o,i);};function B(e){return function(e){if(Array.isArray(e))return k(e);}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e);}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t);}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r;}function N(e,t,n,r,o,i,u){u||(u={}),void 0===u.context&&(u.context=4);var s=(0,p.diffLines)(n,r,u);function a(e){return e.map(function(e){return" "+e;});}s.push({value:"",lines:[]});for(var c=[],l=0,f=0,d=[],h=1,m=1,g=function(e){var t=s[e],o=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=o,t.added||t.removed){var i;if(!l){var p=s[e-1];l=h,f=m,p&&(d=u.context>0?a(p.lines.slice(-u.context)):[],l-=d.length,f-=d.length);}(i=d).push.apply(i,B(o.map(function(e){return(t.added?"+":"-")+e;}))),t.added?m+=o.length:h+=o.length;}else{if(l)if(o.length<=2*u.context&&e<s.length-2){var g;(g=d).push.apply(g,B(a(o)));}else{var y,D=Math.min(o.length,u.context);(y=d).push.apply(y,B(a(o.slice(0,D))));var E={oldStart:l,oldLines:h-l+D,newStart:f,newLines:m-f+D,lines:d};if(e>=s.length-2&&o.length<=u.context){var b=/\n$/.test(n),C=/\n$/.test(r),v=0==o.length&&d.length>E.oldLines;!b&&v&&n.length>0&&d.splice(E.oldLines,0,"\"),(b||v)&&C||d.push("\");}c.push(E),l=0,f=0,d=[];}h+=o.length,m+=o.length;}},y=0;y<s.length;y++)g(y);return{oldFileName:e,newFileName:t,oldHeader:o,newHeader:i,hunks:c};}function P(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines);}return t.join("\n")+"\n";}function O(e,t,n,r,o,i,u){return P(N(e,t,n,r,o,i,u));}var I=Object.defineProperty({structuredPatch:x,formatPatch:S,createTwoFilesPatch:w,createPatch:T},"__esModule",{value:!0}),j=function(e,t){if(e.length!==t.length)return!1;return _(e,t);},L=_;function _(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0;}var M=Object.defineProperty({arrayEqual:j,arrayStartsWith:L},"__esModule",{value:!0}),R=W,V=function(e,t,n){e=U(e,n),t=U(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index);(e.newFileName||t.newFileName)&&(z(e)?z(t)?(r.oldFileName=H(r,e.oldFileName,t.oldFileName),r.newFileName=H(r,e.newFileName,t.newFileName),r.oldHeader=H(r,e.oldHeader,t.oldHeader),r.newHeader=H(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader));r.hunks=[];var o=0,i=0,u=0,s=0;for(;o<e.hunks.length||i<t.hunks.length;){var a=e.hunks[o]||{oldStart:1/0},c=t.hunks[i]||{oldStart:1/0};if(G(a,c))r.hunks.push(J(a,u)),o++,s+=a.newLines-a.oldLines;else if(G(c,a))r.hunks.push(J(c,s)),i++,u+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(a.oldStart,c.oldStart),oldLines:0,newStart:Math.min(a.newStart+u,c.oldStart+s),newLines:0,lines:[]};X(l,a.oldStart,a.lines,c.oldStart,c.lines),i++,o++,r.hunks.push(l);}}return r;};function $(e){return function(e){if(Array.isArray(e))return q(e);}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e);}(e)||function(e,t){if(!e)return;if("string"==typeof e)return q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return q(e,t);}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r;}function W(e){var t=oe(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines;}function U(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,D.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,I.structuredPatch)(void 0,void 0,t,e);}return e;}function z(e){return e.newFileName&&e.newFileName!==e.oldFileName;}function H(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n});}function G(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart;}function J(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines};}function X(e,t,n,r,o){var i={offset:t,lines:n,index:0},u={offset:r,lines:o,index:0};for(Z(e,i,u),Z(e,u,i);i.index<i.lines.length&&u.index<u.lines.length;){var s=i.lines[i.index],a=u.lines[u.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==a[0]&&"+"!==a[0]){if("+"===s[0]&&" "===a[0]){var c;(c=e.lines).push.apply(c,$(te(i)));}else if("+"===a[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,$(te(u)));}else"-"===s[0]&&" "===a[0]?K(e,i,u):"-"===a[0]&&" "===s[0]?K(e,u,i,!0):s===a?(e.lines.push(s),i.index++,u.index++):Q(e,te(i),te(u));}else Y(e,i,u);}ee(e,i),ee(e,u),W(e);}function Y(e,t,n){var r=te(t),o=te(n);if(ne(r)&&ne(o)){var i,u;if((0,M.arrayStartsWith)(r,o)&&re(n,r,r.length-o.length))return void(i=e.lines).push.apply(i,$(r));if((0,M.arrayStartsWith)(o,r)&&re(t,o,o.length-r.length))return void(u=e.lines).push.apply(u,$(o));}else if((0,M.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,$(r));}Q(e,r,o);}function K(e,t,n,r){var o,i=te(t),u=function(e,t){var n=[],r=[],o=0,i=!1,u=!1;for(;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],a=t[o];if("+"===a[0])break;if(i=i||" "!==s[0],r.push(a),o++,"+"===s[0])for(u=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];a.substr(1)===s.substr(1)?(n.push(s),e.index++):u=!0;}"+"===(t[o]||"")[0]&&i&&(u=!0);if(u)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n};}(n,i);u.merged?(o=e.lines).push.apply(o,$(u.merged)):Q(e,r?u:i,r?i:u);}function Q(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n});}function Z(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++;}}function ee(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n);}}function te(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++;}return t;}function ne(e){return e.reduce(function(e,t){return e&&"-"===t[0];},!0);}function re(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1;}return e.index+=n,!0;}function oe(e){var t=0,n=0;return e.forEach(function(e){if("string"!=typeof e){var r=oe(e.mine),o=oe(e.theirs);void 0!==t&&(r.oldLines===o.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===o.newLines?n+=r.newLines:n=void 0);}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++;}),{oldLines:t,newLines:n};}var ie=Object.defineProperty({calcLineCount:R,merge:V},"__esModule",{value:!0}),ue=function(e){for(var t,n,r=[],o=0;o<e.length;o++)t=e[o],n=t.added?1:t.removed?-1:0,r.push([n,t.value]);return r;};var se=Object.defineProperty({convertChangesToDMP:ue},"__esModule",{value:!0}),ae=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(ce(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>");}return t.join("");};function ce(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;");}var le=Object.defineProperty({convertChangesToXML:ae},"__esModule",{value:!0}),pe=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return n.default;}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return s.diffChars;}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return l.diffWords;}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return l.diffWordsWithSpace;}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return p.diffLines;}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return p.diffTrimmedLines;}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return f.diffSentences;}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return d.diffCss;}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return h.diffJson;}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return h.canonicalize;}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return m.diffArrays;}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return F.applyPatch;}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return F.applyPatches;}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return D.parsePatch;}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return ie.merge;}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return I.structuredPatch;}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return I.createTwoFilesPatch;}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return I.createPatch;}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return se.convertChangesToDMP;}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return le.convertChangesToXML;}});var n=function(e){return e&&e.__esModule?e:{default:e};}(u);});function fe(e){return{type:"concat",parts:e};}function de(e){return{type:"indent",contents:e};}function he(e,t){return{type:"align",contents:t,n:e};}function me(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates};}const ge={type:"break-parent"},ye={type:"line",hard:!0},De={type:"line",hard:!0,literal:!0},Ee=fe([ye,ge]),be=fe([De,ge]);var Ce={concat:fe,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return fe(n);},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Ee,literalline:be,group:me,conditionalGroup:function(e,t){return me(e[0],Object.assign({},t,{expandedStates:e}));},fill:function(e){return{type:"fill",parts:e};},lineSuffix:function(e){return{type:"line-suffix",contents:e};},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:ge,ifBreak:function(e,t,n={}){return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId};},trim:{type:"trim"},indent:de,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate};},align:he,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=de(r);r=he(t%n,r),r=he(Number.NEGATIVE_INFINITY,r);}return r;},markAsRoot:function(e){return he({type:"root"},e);},dedentToRoot:function(e){return he(Number.NEGATIVE_INFINITY,e);},dedent:function(e){return he(-1,e);},hardlineWithoutBreakParent:ye,literallineWithoutBreakParent:De,label:function(e,t){return{type:"label",label:e,contents:t};}},ve=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g");})(),""):e;const Ae=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var Fe=Ae,xe=Ae;Fe.default=xe;const Se=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=ve(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Fe(r)?2:1);}return t;};var we=Se,Te=Se;we.default=Te;var Be=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");};var ke=e=>e[e.length-1];var Ne=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1];}return r;},Pe=void 0!==Pe?Pe:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Oe(){throw new Error("setTimeout has not been defined");}function Ie(){throw new Error("clearTimeout has not been defined");}var je=Oe,Le=Ie;function _e(e){if(je===setTimeout)return setTimeout(e,0);if((je===Oe||!je)&&setTimeout)return je=setTimeout,setTimeout(e,0);try{return je(e,0);}catch(t){try{return je.call(null,e,0);}catch(t){return je.call(this,e,0);}}}"function"==typeof Pe.setTimeout&&(je=setTimeout),"function"==typeof Pe.clearTimeout&&(Le=clearTimeout);var Me,Re=[],Ve=!1,$e=-1;function qe(){Ve&&Me&&(Ve=!1,Me.length?Re=Me.concat(Re):$e=-1,Re.length&&We());}function We(){if(!Ve){var e=_e(qe);Ve=!0;for(var t=Re.length;t;){for(Me=Re,Re=[];++$e<t;)Me&&Me[$e].run();$e=-1,t=Re.length;}Me=null,Ve=!1,function(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===Ie||!Le)&&clearTimeout)return Le=clearTimeout,clearTimeout(e);try{Le(e);}catch(t){try{return Le.call(null,e);}catch(t){return Le.call(this,e);}}}(e);}}function Ue(e,t){this.fun=e,this.array=t;}Ue.prototype.run=function(){this.fun.apply(null,this.array);};function ze(){}var He=ze,Ge=ze,Je=ze,Xe=ze,Ye=ze,Ke=ze,Qe=ze;var Ze=Pe.performance||{},et=Ze.now||Ze.mozNow||Ze.msNow||Ze.oNow||Ze.webkitNow||function(){return new Date().getTime();};var tt=new Date();var nt={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Re.push(new Ue(e,t)),1!==Re.length||Ve||_e(We);},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:He,addListener:Ge,once:Je,off:Xe,removeListener:Ye,removeAllListeners:Ke,emit:Qe,binding:function(e){throw new Error("process.binding is not supported");},cwd:function(){return"/";},chdir:function(e){throw new Error("process.chdir is not supported");},umask:function(){return 0;},hrtime:function(e){var t=.001*et.call(Ze),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r];},platform:"browser",release:{},config:{},uptime:function(){return(new Date()-tt)/1e3;}};var rt="object"==typeof nt&&nt.env&&nt.env.NODE_DEBUG&&/\bsemver\b/i.test(nt.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ot={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},it=i(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=ot,r=(t=e.exports={}).re=[],o=t.src=[],i=t.t={};let u=0;const s=(e,t,n)=>{const s=u++;rt(s,t),i[e]=s,o[s]=t,r[s]=new RegExp(t,n?"g":void 0);};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),s("FULL","^".concat(o[i.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),s("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$");});const ut=["includePrerelease","loose","rtl"];var st=e=>e?"object"!=typeof e?{loose:!0}:ut.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{};const at=/^[0-9]+$/,ct=(e,t)=>{const n=at.test(e),r=at.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1;};var lt={compareIdentifiers:ct,rcompareIdentifiers:(e,t)=>ct(t,e)};const{MAX_LENGTH:pt,MAX_SAFE_INTEGER:ft}=ot,{re:dt,t:ht}=it,{compareIdentifiers:mt}=lt;class gt{constructor(e,t){if(t=st(t),e instanceof gt){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>pt)throw new TypeError("version is longer than ".concat(pt," characters"));rt("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?dt[ht.LOOSE]:dt[ht.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ft||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ft||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ft||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<ft)return t;}return e;}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format();}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version;}toString(){return this.version;}compare(e){if(rt("SemVer.compare",this.version,this.options,e),!(e instanceof gt)){if("string"==typeof e&&e===this.version)return 0;e=new gt(e,this.options);}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e);}compareMain(e){return e instanceof gt||(e=new gt(e,this.options)),mt(this.major,e.major)||mt(this.minor,e.minor)||mt(this.patch,e.patch);}comparePre(e){if(e instanceof gt||(e=new gt(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(rt("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return mt(n,r);}while(++t);}compareBuild(e){e instanceof gt||(e=new gt(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(rt("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return mt(n,r);}while(++t);}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0);}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e));}return this.format(),this.raw=this.version,this;}}var yt=gt;var Dt=(e,t,n)=>new yt(e,n).compare(new yt(t,n));var Et=(e,t,n)=>Dt(e,t,n)<0;var bt,Ct,vt,At,Ft,xt,St=(e,t,n)=>Dt(e,t,n)>=0,wt=i(function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];}function r(){return"undefined"!=typeof WeakMap?new WeakMap():{add:n,delete:n,get:n,set:n,has:function(e){return!1;}};}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var o=Object.prototype.hasOwnProperty,i=function(e,t){return o.call(e,t);};function u(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return e;}var s=/^[ \t]*(?:\r\n|\r|\n)/,a=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(e,t,n){var r=0,o=e[0].match(l);o&&(r=o[1].length);var i=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var u=n.newline,c=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof u,d=e.length;return e.map(function(e,t){return e=e.replace(i,"$1"),0===t&&c&&(e=e.replace(s,"")),t===d-1&&p&&(e=e.replace(a,"")),f&&(e=e.replace(/\r\n|\n|\r/g,function(e){return u;})),e;});}function d(e,t){for(var n="",r=0,o=e.length;r<o;r++)n+=e[r],r<o-1&&(n+=t[r]);return n;}function h(e){return i(e,"raw")&&i(e,"length");}var m=function e(t){var n=r(),o=r();return u(function r(i){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(h(i)){var l=i,g=(s[0]===r||s[0]===m)&&p.test(l[0])&&c.test(l[1]),y=g?o:n,D=y.get(l);if(D||(D=f(l,g,t),y.set(l,D)),0===s.length)return D[0];var E=d(D,g?s.slice(1):s);return E;}return e(u(u({},t),i||{}));},{string:function(e){return f([e],!1,t)[0];}});}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=m,t.default=m;try{e.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m;}catch(e){}});const{outdent:Tt}=wt,Bt="Config",kt="Editor",Nt="Other",Pt="Global",Ot="Special",It={cursorOffset:{since:"1.4.0",category:Ot,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Tt(bt||(bt=t(["\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 "]))),cliCategory:kt},endOfLine:{since:"1.15.0",category:Pt,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Tt(Ct||(Ct=t(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:Ot,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Nt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Ot,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Nt},parser:{since:"0.0.10",category:Pt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"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:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Pt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:Bt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Pt,description:Tt(vt||(vt=t(["\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 "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:Bt},printWidth:{since:"0.0.0",category:Pt,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Ot,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Tt(At||(At=t(["\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 "]))),cliCategory:kt},rangeStart:{since:"1.4.0",category:Ot,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Tt(Ft||(Ft=t(["\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 "]))),cliCategory:kt},requirePragma:{since:"1.7.0",category:Ot,type:"boolean",default:!1,description:Tt(xt||(xt=t(["\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 "]))),cliCategory:Nt},tabWidth:{type:"int",category:Pt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Pt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Pt,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const jt={compare:Dt,lt:Et,gte:St},Lt=n.version,_t={CATEGORY_CONFIG:Bt,CATEGORY_EDITOR:kt,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:Nt,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:Pt,CATEGORY_SPECIAL:Ot,options:It}.options;var Mt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:o=!1}={}){const i=Lt.split("-",1)[0],u=t.reduce((e,t)=>[...e,...(t.languages||[])],[]).filter(a),s=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),_t),"name").filter(e=>a(e)&&c(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(function(t){if(o)return t;return e(t,["cliName","cliCategory","cliDescription"]);}).map(e=>{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(a).sort((e,t)=>jt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>a(e)&&c(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const o of t)if(o.parsers)for(const t of o.parsers)if(!r.has(t)){r.add(t);const i=n.find(e=>e.parsers&&e.parsers[t]);let u=o.name;i&&i.name&&(u+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:u});}}(e,u,t));const n=Ne(t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).map(t=>[t.name,t.defaultOptions[e.name]]));return Object.assign({},e,{pluginDefaults:n});});return{languages:u,options:s};function a(e){return n||!("since"in e)||e.since&&jt.gte(i,e.since);}function c(e){return r||!("deprecated"in e)||e.deprecated&&jt.lt(i,e.deprecated);}}};const{getSupportInfo:Rt}=Mt,Vt=/[^\x20-\x7F]/;function $t(e){return(t,n,r)=>{const o=r&&r.backwards;if(!1===n)return!1;const{length:i}=t;let u=n;for(;u>=0&&u<i;){const n=t.charAt(u);if(e instanceof RegExp){if(!e.test(n))return u;}else if(!e.includes(n))return u;o?u--:u++;}return(-1===u||u===i)&&u;};}const qt=$t(/\s/),Wt=$t(" \t"),Ut=$t(",; \t"),zt=$t(/[^\n\r]/);function Ht(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t;}function Gt(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?zt(e,t):t);}function Jt(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const o=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===o)return t-2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t-1;}else{if("\r"===o&&"\n"===e.charAt(t+1))return t+2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t+1;}return t;}function Xt(e,t,n={}){const r=Wt(e,n.backwards?t-1:t,n);return r!==Jt(e,r,n);}function Yt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Ut(e,r),r=Ht(e,r),r=Wt(e,r);return r=Gt(e,r),r=Jt(e,r),!1!==r&&Xt(e,r);}function Kt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Wt(e,r),r=Ht(e,r),r=Gt(e,r),r=Jt(e,r);return r;}function Qt(e,t,n){return Kt(e,n(t));}function Zt(e,t,n=0){let r=0;for(let o=n;o<e.length;++o)"\t"===e[o]?r=r+t-r%t:r++;return r;}function en(e,t){const n=e.slice(1,-1),r={quote:'"',regex:/"/g},o={quote:"'",regex:/'/g},i="'"===t?o:r,u=i===o?r:o;let s=i.quote;if(n.includes(i.quote)||n.includes(u.quote)){s=(n.match(i.regex)||[]).length>(n.match(u.regex)||[]).length?u.quote:i.quote;}return s;}function tn(e,t,n){const r='"'===t?"'":'"',o=e.replace(/\\([\S\s])|(["'])/g,(e,o,i)=>o===r?o:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o));return t+o+t;}function nn(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");n.length>20&&(n=n.slice(0,19)+"\u2026");return t+(n?" "+n:"");}(e);}var rn={inferParserByLanguage:function(e,t){const{languages:n}=Rt({plugins:t.plugins}),r=n.find(({name:t})=>t.toLowerCase()===e)||n.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||n.find(({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e)));return r&&r.parsers[0];},replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))n.length>0&&n.push(t),n.push(r);return n;},getStringWidth:function(e){return e?Vt.test(e)?we(e):e.length:0;},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0);},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));if(null===n)return 0;const r=new Map();let o=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>o&&(o=n);}for(let e=1;e<o;e++)if(!r.get(e))return e;return o+1;},getPenultimate:e=>e[e.length-2],getLast:ke,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Kt,getNextNonSpaceNonCommentCharacterIndex:Qt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Qt(e,t,n));},skip:$t,skipWhitespace:qt,skipSpaces:Wt,skipToLineEnd:Ut,skipEverythingButNewLine:zt,skipInlineComment:Ht,skipTrailingComment:Gt,skipNewline:Jt,isNextLineEmptyAfterIndex:Yt,isNextLineEmpty:function(e,t,n){return Yt(e,n(t));},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Wt(e,r,{backwards:!0}),r=Jt(e,r,{backwards:!0}),r=Wt(e,r,{backwards:!0}),r!==Jt(e,r,{backwards:!0});},hasNewline:Xt,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1;},hasSpaces:function(e,t,n={}){return Wt(e,n.backwards?t-1:t,n)!==t;},getAlignmentSize:Zt,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:Zt(e.slice(n+1).match(/^[\t ]*/)[0],t);},getPreferredQuote:en,printString:function(e,t){return tn(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":en(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml));},printNumber:function(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|$)/,"");},makeString:tn,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,nn(e,t);},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),nn(e,t);},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,nn(e,t);},isFrontMatterNode:function(e){return e&&"front-matter"===e.type;},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t);},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0;},createGroupIdMapper:function(e){const t=new WeakMap();return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n);};}};var on={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf";},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n";}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g;}const r=e.match(n);return r?r.length:0;},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n");}};const{literalline:un}=Ce,sn=e=>Array.isArray(e)||e&&"concat"===e.type,an=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts;},cn={};function ln(e,t,n,r){const o=[e];for(;o.length>0;){const e=o.pop();if(e!==cn){if(n&&o.push(e,cn),!t||!1!==t(e))if(sn(e)||"fill"===e.type){const t=an(e);for(let e=t.length-1;e>=0;--e)o.push(t[e]);}else if("if-break"===e.type)e.flatContents&&o.push(e.flatContents),e.breakContents&&o.push(e.breakContents);else if("group"===e.type&&e.expandedStates){if(r)for(let t=e.expandedStates.length-1;t>=0;--t)o.push(e.expandedStates[t]);else o.push(e.contents);}else e.contents&&o.push(e.contents);}else n(o.pop());}}function pn(e,t){const n=new Map();return r(e);function r(e){if(n.has(e))return n.get(e);const o=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign({},e,{parts:n}));}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),o=e.flatContents&&r(e.flatContents);return t(Object.assign({},e,{breakContents:n,flatContents:o}));}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),o=n[0];return t(Object.assign({},e,{contents:o,expandedStates:n}));}if(e.contents){const n=r(e.contents);return t(Object.assign({},e,{contents:n}));}return t(e);}(e);return n.set(e,o),o;}}function fn(e,t,n){let r=n,o=!1;return ln(e,function(e){const n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1;}),r;}function dn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0;}function hn(e){if(e.length>0){const t=ke(e);t.expandedStates||t.break||(t.break="propagated");}return null;}function mn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" ";}const gn=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function yn(e){if(!e)return e;if(sn(e)||"fill"===e.type){const t=an(e);for(;t.length>1&&gn(...t.slice(-2));)t.length-=2;if(t.length>0){const e=yn(ke(t));t[t.length-1]=e;}return Array.isArray(e)?t:Object.assign({},e,{parts:t});}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=yn(e.contents);return Object.assign({},e,{contents:t});}case"if-break":{const t=yn(e.breakContents),n=yn(e.flatContents);return Object.assign({},e,{breakContents:t,flatContents:n});}}return e;}function Dn(e){return pn(e,e=>function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every(e=>""===e))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return"";}if(!sn(e))return e;const t=[];for(const n of an(e)){if(!n)continue;const[e,...r]=sn(n)?an(n):[n];"string"==typeof e&&"string"==typeof ke(t)?t[t.length-1]+=e:t.push(e),t.push(...r);}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign({},e,{parts:t});}(e));}function En(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(sn(e)?n.unshift(...an(e)):t.length>0&&"string"==typeof ke(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e));}return t;}var bn={isConcat:sn,getDocParts:an,willBreak:function(e){return fn(e,dn,!1);},traverseDoc:ln,findInDoc:fn,mapDoc:pn,propagateBreaks:function(e){const t=new Set(),n=[];ln(e,function(e){if("break-parent"===e.type&&hn(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e);}},function(e){if("group"===e.type){n.pop().break&&hn(n);}},!0);},removeLines:function(e){return pn(e,mn);},stripTrailingHardline:function(e){return yn(Dn(e));},normalizeParts:En,normalizeDoc:function(e){return pn(e,e=>Array.isArray(e)?En(e):e.parts?Object.assign({},e,{parts:En(e.parts)}):e);},cleanDoc:Dn,replaceNewlinesWithLiterallines:function(e){return pn(e,e=>"string"==typeof e&&e.includes("\n")?e.split(/(\n)/g).map((e,t)=>t%2==0?e:un):e);}};const{getStringWidth:Cn,getLast:vn}=rn,{convertEndOfLineToChars:An}=on,{fill:Fn,cursor:xn,indent:Sn}=Ce,{isConcat:wn,getDocParts:Tn}=bn;let Bn;function kn(e,t){return Pn(e,{type:"indent"},t);}function Nn(e,t,n){if(t===Number.NEGATIVE_INFINITY)return e.root||{value:"",length:0,queue:[]};if(t<0)return Pn(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign({},e,{root:e});return Pn(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n);}function Pn(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let o="",i=0,u=0,s=0;for(const e of r)switch(e.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=e.n,i+=e.n.length;break;case"numberAlign":u+=1,s+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"));}return p(),Object.assign({},e,{value:o,length:i,queue:r});function a(e){o+="\t".repeat(e),i+=n.tabWidth*e;}function c(e){o+=" ".repeat(e),i+=e;}function l(){n.useTabs?function(){u>0&&a(u);f();}():p();}function p(){s>0&&c(s),f();}function f(){u=0,s=0;}}function On(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof vn(e)&&/^[\t ]*$/.test(vn(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof vn(e)){const n=vn(e).replace(/[\t ]*$/,"");t+=vn(e).length-n.length,e[e.length-1]=n;}return t;}function In(e,t,n,r,o,i){let u=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===u)return!0;s.push(t[u-1]),u--;continue;}const[e,c,l]=s.pop();if("string"==typeof l)a.push(l),n-=Cn(l);else if(wn(l)){const t=Tn(l);for(let n=t.length-1;n>=0;n--)s.push([e,c,t[n]]);}else switch(l.type){case"indent":s.push([kn(e,r),c,l.contents]);break;case"align":s.push([Nn(e,l.n,r),c,l.contents]);break;case"trim":n+=On(a);break;case"group":{if(i&&l.break)return!1;const t=l.break?1:c;s.push([e,t,l.expandedStates&&1===t?vn(l.expandedStates):l.contents]),l.id&&(Bn[l.id]=t);break;}case"fill":for(let t=l.parts.length-1;t>=0;t--)s.push([e,c,l.parts[t]]);break;case"if-break":case"indent-if-break":{const t=l.groupId?Bn[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:Sn(l.contents);t&&s.push([e,c,t]);}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?Sn(l.contents):l.contents;t&&s.push([e,c,t]);}break;}case"line":switch(c){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break;}return!0;case 1:return!0;}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":s.push([e,c,l.contents]);}}return!1;}var jn={printDocToString:function(e,t){Bn={};const n=t.printWidth,r=An(t.endOfLine);let o=0;const i=[[{value:"",length:0,queue:[]},1,e]],u=[];let s=!1,a=[];for(;i.length>0;){const[e,c,l]=i.pop();if("string"==typeof l){const e="\n"!==r?l.replace(/\n/g,r):l;u.push(e),o+=Cn(e);}else if(wn(l)){const t=Tn(l);for(let n=t.length-1;n>=0;n--)i.push([e,c,t[n]]);}else switch(l.type){case"cursor":u.push(xn.placeholder);break;case"indent":i.push([kn(e,t),c,l.contents]);break;case"align":i.push([Nn(e,l.n,t),c,l.contents]);break;case"trim":o-=On(u);break;case"group":switch(c){case 2:if(!s){i.push([e,l.break?1:2,l.contents]);break;}case 1:{s=!1;const r=[e,2,l.contents],u=n-o,c=a.length>0;if(!l.break&&In(r,i,u,t,c))i.push(r);else if(l.expandedStates){const n=vn(l.expandedStates);if(l.break){i.push([e,1,n]);break;}for(let r=1;r<l.expandedStates.length+1;r++){if(r>=l.expandedStates.length){i.push([e,1,n]);break;}{const n=[e,2,l.expandedStates[r]];if(In(n,i,u,t,c)){i.push(n);break;}}}}else i.push([e,1,l.contents]);break;}}l.id&&(Bn[l.id]=vn(i)[1]);break;case"fill":{const r=n-o,{parts:u}=l;if(0===u.length)break;const[s,p]=u,f=[e,2,s],d=[e,1,s],h=In(f,[],r,t,a.length>0,!0);if(1===u.length){h?i.push(f):i.push(d);break;}const m=[e,2,p],g=[e,1,p];if(2===u.length){h?i.push(m,f):i.push(g,d);break;}u.splice(0,2);const y=[e,c,Fn(u)];In([e,2,[s,p,u[0]]],[],r,t,a.length>0,!0)?i.push(y,m,f):h?i.push(y,g,f):i.push(y,g,d);break;}case"if-break":case"indent-if-break":{const t=l.groupId?Bn[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:Sn(l.contents);t&&i.push([e,c,t]);}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?Sn(l.contents):l.contents;t&&i.push([e,c,t]);}break;}case"line-suffix":a.push([e,c,l.contents]);break;case"line-suffix-boundary":a.length>0&&i.push([e,c,{type:"line",hard:!0}]);break;case"line":switch(c){case 2:if(!l.hard){l.soft||(u.push(" "),o+=1);break;}s=!0;case 1:if(a.length>0){i.push([e,c,l],...a.reverse()),a=[];break;}l.literal?e.root?(u.push(r,e.root.value),o=e.root.length):(u.push(r),o=0):(o-=On(u),u.push(r+e.value),o=e.length);}break;case"label":i.push([e,c,l.contents]);}0===i.length&&a.length>0&&(i.push(...a.reverse()),a=[]);}const c=u.indexOf(xn.placeholder);if(-1!==c){const e=u.indexOf(xn.placeholder,c+1),t=u.slice(0,c).join(""),n=u.slice(c+1,e).join("");return{formatted:t+n+u.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n};}return{formatted:u.join("")};}};const{isConcat:Ln,getDocParts:_n}=bn;function Mn(e){if(!e)return"";if(Ln(e)){const t=[];for(const n of _n(e))if(Ln(n))t.push(...Mn(n).parts);else{const e=Mn(n);""!==e&&t.push(e);}return{type:"concat",parts:t};}return"if-break"===e.type?Object.assign({},e,{breakContents:Mn(e.breakContents),flatContents:Mn(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:Mn(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Mn)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Mn)}:e.contents?Object.assign({},e,{contents:Mn(e.contents)}):e;}var Rn={builders:Ce,printer:jn,utils:bn,debug:{printDocToDebug:function(e){const t=Object.create(null),n=new Set();return function e(t,n,o){if("string"==typeof t)return JSON.stringify(t);if(Ln(t)){const n=_n(t).map(e).filter(Boolean);return 1===n.length?n[0]:"[".concat(n.join(", "),"]");}if("line"===t.type){const e=Array.isArray(o)&&o[n+1]&&"break-parent"===o[n+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line";}if("break-parent"===t.type){return Array.isArray(o)&&o[n-1]&&"line"===o[n-1].type&&o[n-1].hard?void 0:"breakParent";}if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push("groupId: ".concat(r(t.groupId)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(o,")");}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push("id: ".concat(r(t.id)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map(t=>e(t)).join(","),"]").concat(o,")"):"group(".concat(e(t.contents)).concat(o,")");}if("fill"===t.type)return"fill([".concat(t.parts.map(t=>e(t)).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type);}(Mn(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const r=String(e).slice(7,-1)||"symbol";for(let o=0;;o++){const i=r+(o>0?" #".concat(o):"");if(!n.has(i))return n.add(i),t[e]="Symbol.for(".concat(JSON.stringify(i),")");}}}}},Vn=Object.freeze({__proto__:null,default:{}});function $n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--);}if(t)for(;n--;n)e.unshift("..");return e;}var qn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Wn=function(e){return qn.exec(e).slice(1);};function Un(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0));}return(t?"/":"")+(e=$n(Zn(e.split("/"),function(e){return!!e;}),!t).join("/"))||".";}function zn(e){var t=Hn(e),n="/"===er(e,-1);return(e=$n(Zn(e.split("/"),function(e){return!!e;}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e;}function Hn(e){return"/"===e.charAt(0);}function Gn(){var e=Array.prototype.slice.call(arguments,0);return zn(Zn(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e;}).join("/"));}function Jn(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1);}e=Un(e).substr(1),t=Un(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),u=i,s=0;s<i;s++)if(r[s]!==o[s]){u=s;break;}var a=[];for(s=u;s<r.length;s++)a.push("..");return(a=a.concat(o.slice(u))).join("/");}function Xn(e){var t=Wn(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):".";}function Yn(e,t){var n=Wn(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n;}function Kn(e){return Wn(e)[3];}var Qn={extname:Kn,basename:Yn,dirname:Xn,sep:"/",delimiter:":",relative:Jn,join:Gn,isAbsolute:Hn,normalize:zn,resolve:Un};function Zn(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n;}var er="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n);}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n);},tr=Object.freeze({__proto__:null,resolve:Un,normalize:zn,isAbsolute:Hn,join:Gn,relative:Jn,sep:"/",delimiter:":",dirname:Xn,basename:Yn,extname:Kn,default:Qn}),nr=[],rr=[],or="undefined"!=typeof Uint8Array?Uint8Array:Array,ir=!1;function ur(){ir=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)nr[t]=e[t],rr[e.charCodeAt(t)]=t;rr["-".charCodeAt(0)]=62,rr["_".charCodeAt(0)]=63;}function sr(e,t,n){for(var r,o,i=[],u=t;u<n;u+=3)r=(e[u]<<16)+(e[u+1]<<8)+e[u+2],i.push(nr[(o=r)>>18&63]+nr[o>>12&63]+nr[o>>6&63]+nr[63&o]);return i.join("");}function ar(e){var t;ir||ur();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;s<a;s+=u)i.push(sr(e,s,s+u>a?a:s+u));return 1===r?(t=e[n-1],o+=nr[t>>2],o+=nr[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=nr[t>>10],o+=nr[t>>4&63],o+=nr[t<<2&63],o+="="),i.push(o),i.join("");}function cr(e,t,n,r,o){var i,u,s=8*o-r-1,a=(1<<s)-1,c=a>>1,l=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===a)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),i-=c;}return(d?-1:1)*u*Math.pow(2,i-r);}function lr(e,t,n,r,o,i){var u,s,a,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),(t+=u+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(u++,a/=2),u+p>=l?(s=0,u=l):u+p>=1?(s=(t*a-1)*Math.pow(2,o),u+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(u=u<<o|s,c+=o;c>0;e[n+d]=255&u,d+=h,u/=256,c-=8);e[n+d-h]|=128*m;}var pr={}.toString,fr=Array.isArray||function(e){return"[object Array]"==pr.call(e);};function dr(){return mr.TYPED_ARRAY_SUPPORT?2147483647:1073741823;}function hr(e,t){if(dr()<t)throw new RangeError("Invalid typed array length");return mr.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=mr.prototype:(null===e&&(e=new mr(t)),e.length=t),e;}function mr(e,t,n){if(!(mr.TYPED_ARRAY_SUPPORT||this instanceof mr))return new mr(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Dr(this,e);}return gr(this,e,t,n);}function gr(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);mr.TYPED_ARRAY_SUPPORT?(e=t).__proto__=mr.prototype:e=Er(e,t);return e;}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!mr.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|vr(t,n),o=(e=hr(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e;}(e,t,n):function(e,t){if(Cr(t)){var n=0|br(t.length);return 0===(e=hr(e,n)).length||t.copy(e,0,0,n),e;}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?hr(e,0):Er(e,t);if("Buffer"===t.type&&fr(t.data))return Er(e,t.data);}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}(e,t);}function yr(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative');}function Dr(e,t){if(yr(t),e=hr(e,t<0?0:0|br(t)),!mr.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e;}function Er(e,t){var n=t.length<0?0:0|br(t.length);e=hr(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e;}function br(e){if(e>=dr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dr().toString(16)+" bytes");return 0|e;}function Cr(e){return!(null==e||!e._isBuffer);}function vr(e,t){if(Cr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Xr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Yr(e).length;default:if(r)return Xr(e).length;t=(""+t).toLowerCase(),r=!0;}}function Ar(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Mr(this,t,n);case"utf8":case"utf-8":return Ir(this,t,n);case"ascii":return Lr(this,t,n);case"latin1":case"binary":return _r(this,t,n);case"base64":return Or(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0;}}function Fr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r;}function xr(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1;}else if(n<0){if(!o)return-1;n=0;}if("string"==typeof t&&(t=mr.from(t,r)),Cr(t))return 0===t.length?-1:Sr(e,t,n,r,o);if("number"==typeof t)return t&=255,mr.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Sr(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer");}function Sr(e,t,n,r,o){var i,u=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,s/=2,a/=2,n/=2;}function c(e,t){return 1===u?e[t]:e.readUInt16BE(t*u);}if(o){var l=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===a)return l*u;}else-1!==l&&(i-=i-l),l=-1;}else for(n+a>s&&(n=s-a),i=n;i>=0;i--){for(var p=!0,f=0;f<a;f++)if(c(e,i+f)!==c(t,f)){p=!1;break;}if(p)return i;}return-1;}function wr(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;u<r;++u){var s=parseInt(t.substr(2*u,2),16);if(isNaN(s))return u;e[n+u]=s;}return u;}function Tr(e,t,n,r){return Kr(Xr(t,e.length-n),e,n,r);}function Br(e,t,n,r){return Kr(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t;}(t),e,n,r);}function kr(e,t,n,r){return Br(e,t,n,r);}function Nr(e,t,n,r){return Kr(Yr(t),e,n,r);}function Pr(e,t,n,r){return Kr(function(e,t){for(var n,r,o,i=[],u=0;u<e.length&&!((t-=2)<0);++u)r=(n=e.charCodeAt(u))>>8,o=n%256,i.push(o),i.push(r);return i;}(t,e.length-n),e,n,r);}function Or(e,t,n){return 0===t&&n===e.length?ar(e):ar(e.slice(t,n));}function Ir(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,u,s,a,c=e[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(a=(31&c)<<6|63&i)>127&&(l=a);break;case 3:i=e[o+1],u=e[o+2],128==(192&i)&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:i=e[o+1],u=e[o+2],s=e[o+3],128==(192&i)&&128==(192&u)&&128==(192&s)&&(a=(15&c)<<18|(63&i)<<12|(63&u)<<6|63&s)>65535&&a<1114112&&(l=a);}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p;}return function(e){var t=e.length;if(t<=jr)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=jr));return n;}(r);}mr.TYPED_ARRAY_SUPPORT=void 0===Pe.TYPED_ARRAY_SUPPORT||Pe.TYPED_ARRAY_SUPPORT,mr.poolSize=8192,mr._augment=function(e){return e.__proto__=mr.prototype,e;},mr.from=function(e,t,n){return gr(null,e,t,n);},mr.TYPED_ARRAY_SUPPORT&&(mr.prototype.__proto__=Uint8Array.prototype,mr.__proto__=Uint8Array),mr.alloc=function(e,t,n){return function(e,t,n,r){return yr(t),t<=0?hr(e,t):void 0!==n?"string"==typeof r?hr(e,t).fill(n,r):hr(e,t).fill(n):hr(e,t);}(null,e,t,n);},mr.allocUnsafe=function(e){return Dr(null,e);},mr.allocUnsafeSlow=function(e){return Dr(null,e);},mr.isBuffer=Qr,mr.compare=function(e,t){if(!Cr(e)||!Cr(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break;}return n<r?-1:r<n?1:0;},mr.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1;}},mr.concat=function(e,t){if(!fr(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return mr.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=mr.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!Cr(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length;}return r;},mr.byteLength=vr,mr.prototype._isBuffer=!0,mr.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Fr(this,t,t+1);return this;},mr.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Fr(this,t,t+3),Fr(this,t+1,t+2);return this;},mr.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Fr(this,t,t+7),Fr(this,t+1,t+6),Fr(this,t+2,t+5),Fr(this,t+3,t+4);return this;},mr.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Ir(this,0,e):Ar.apply(this,arguments);},mr.prototype.equals=function(e){if(!Cr(e))throw new TypeError("Argument must be a Buffer");return this===e||0===mr.compare(this,e);},mr.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">";},mr.prototype.compare=function(e,t,n,r,o){if(!Cr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),s=Math.min(i,u),a=this.slice(r,o),c=e.slice(t,n),l=0;l<s;++l)if(a[l]!==c[l]){i=a[l],u=c[l];break;}return i<u?-1:u<i?1:0;},mr.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n);},mr.prototype.indexOf=function(e,t,n){return xr(this,e,t,n,!0);},mr.prototype.lastIndexOf=function(e,t,n){return xr(this,e,t,n,!1);},mr.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0);}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wr(this,e,t,n);case"utf8":case"utf-8":return Tr(this,e,t,n);case"ascii":return Br(this,e,t,n);case"latin1":case"binary":return kr(this,e,t,n);case"base64":return Nr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0;}},mr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)};};var jr=4096;function Lr(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r;}function _r(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r;}function Mr(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=Jr(e[i]);return o;}function Rr(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o;}function Vr(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length");}function $r(e,t,n,r,o,i){if(!Cr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range");}function qr(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o);}function Wr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255;}function Ur(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range");}function zr(e,t,n,r,o){return o||Ur(e,0,n,4),lr(e,t,n,r,23,4),n+4;}function Hr(e,t,n,r,o){return o||Ur(e,0,n,8),lr(e,t,n,r,52,8),n+8;}mr.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),mr.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=mr.prototype;else{var o=t-e;n=new mr(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e];}return n;},mr.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r;},mr.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r;},mr.prototype.readUInt8=function(e,t){return t||Vr(e,1,this.length),this[e];},mr.prototype.readUInt16LE=function(e,t){return t||Vr(e,2,this.length),this[e]|this[e+1]<<8;},mr.prototype.readUInt16BE=function(e,t){return t||Vr(e,2,this.length),this[e]<<8|this[e+1];},mr.prototype.readUInt32LE=function(e,t){return t||Vr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3];},mr.prototype.readUInt32BE=function(e,t){return t||Vr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3]);},mr.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r;},mr.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i;},mr.prototype.readInt8=function(e,t){return t||Vr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e];},mr.prototype.readInt16LE=function(e,t){t||Vr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n;},mr.prototype.readInt16BE=function(e,t){t||Vr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n;},mr.prototype.readInt32LE=function(e,t){return t||Vr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24;},mr.prototype.readInt32BE=function(e,t){return t||Vr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3];},mr.prototype.readFloatLE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!0,23,4);},mr.prototype.readFloatBE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!1,23,4);},mr.prototype.readDoubleLE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!0,52,8);},mr.prototype.readDoubleBE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!1,52,8);},mr.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||$r(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n;},mr.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||$r(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n;},mr.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,255,0),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1;},mr.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2;},mr.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2;},mr.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Wr(this,e,t,!0),t+4;},mr.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4;},mr.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o);}var i=0,u=1,s=0;for(this[t]=255&e;++i<n&&(u*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n;},mr.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o);}var i=n-1,u=1,s=0;for(this[t+i]=255&e;--i>=0&&(u*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n;},mr.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,127,-128),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1;},mr.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2;},mr.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2;},mr.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Wr(this,e,t,!0),t+4;},mr.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4;},mr.prototype.writeFloatLE=function(e,t,n){return zr(this,e,t,!0,n);},mr.prototype.writeFloatBE=function(e,t,n){return zr(this,e,t,!1,n);},mr.prototype.writeDoubleLE=function(e,t,n){return Hr(this,e,t,!0,n);},mr.prototype.writeDoubleBE=function(e,t,n){return Hr(this,e,t,!1,n);},mr.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!mr.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i;},mr.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o);}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!mr.isEncoding(r))throw new TypeError("Unknown encoding: "+r);}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var u=Cr(e)?e:Xr(new mr(e,r).toString()),s=u.length;for(i=0;i<n-t;++i)this[i+t]=u[i%s];}return this;};var Gr=/[^+\/0-9A-Za-z-_]/g;function Jr(e){return e<16?"0"+e.toString(16):e.toString(16);}function Xr(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],u=0;u<r;++u){if((n=e.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue;}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue;}o=n;continue;}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue;}n=65536+(o-55296<<10|n-56320);}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n);}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128);}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128);}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128);}}return i;}function Yr(e){return function(e){var t,n,r,o,i,u;ir||ur();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,u=new or(3*s/4-i),r=i>0?s-4:s;var a=0;for(t=0,n=0;t<r;t+=4,n+=3)o=rr[e.charCodeAt(t)]<<18|rr[e.charCodeAt(t+1)]<<12|rr[e.charCodeAt(t+2)]<<6|rr[e.charCodeAt(t+3)],u[a++]=o>>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=rr[e.charCodeAt(t)]<<2|rr[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=rr[e.charCodeAt(t)]<<10|rr[e.charCodeAt(t+1)]<<4|rr[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u;}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"");}(e).replace(Gr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e;}(e));}function Kr(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o;}function Qr(e){return null!=e&&(!!e._isBuffer||Zr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Zr(e.slice(0,0));}(e));}function Zr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e);}var eo=o(Vn);var to=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:eo.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset();}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++){if(e[r]===t){n=r;break;}}return n;}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0;}close(){eo.closeSync(this.fd),this.fd=null;}_extractLines(e){let t;const n=[];let r=0,o=0;for(;;){let i=e[r++];if(i===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===i)break;}let i=e.slice(o,r);return i.length&&n.push(i),n;}_readChunk(e){let t,n=0;const r=[];do{const e=new mr(this.options.readChunk);t=eo.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e);}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let o=mr.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,n)),n&&(this.linesCache=this._extractLines(o),e&&(this.linesCache[0]=mr.concat([e,this.linesCache[0]]))),n;}next(){if(!this.fd)return!1;let e,t=!1;if(this.eofReached&&0===this.linesCache.length)return t;if(this.linesCache.length||(e=this._readChunk()),this.linesCache.length){t=this.linesCache.shift();t[t.length-1]!==this.newLineCharacter&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()));}return this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t;}};class no extends Error{}class ro extends Error{}class oo extends Error{}class io extends Error{}var uo={ConfigError:no,DebugError:ro,UndefinedParserError:oo,ArgExpansionBailout:io},so=function(e,t){return(so=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);})(e,t);};/*! *****************************************************************************
86
- Copyright (c) Microsoft Corporation.
87
-
88
- Permission to use, copy, modify, and/or distribute this software for any
89
- purpose with or without fee is hereby granted.
90
-
91
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
93
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
94
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
95
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
96
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
97
- PERFORMANCE OF THIS SOFTWARE.
98
- ***************************************************************************** */var ao=function(){return(ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;}).apply(this,arguments);};function co(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function lo(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)u.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return u;}function po(e){return this instanceof po?(this.v=e,this):new po(e);}var fo=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e;}so(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n());},get __assign(){return ao;},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);}return n;},__decorate:function(e,t,n,r){var o,i=arguments.length,u=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u;},__param:function(e,t){return function(n,r){t(n,r,e);};},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t);},__awaiter:function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{a(r.next(e));}catch(e){i(e);}}function s(e){try{a(r.throw(e));}catch(e){i(e);}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t);})).then(u,s);}a((r=r.apply(e,t||[])).next());});},__generator:function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue;}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break;}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break;}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break;}o[2]&&u.ops.pop(),u.trys.pop();continue;}i=t.call(e,u);}catch(e){i=[6,e],r=0;}finally{n=o=0;}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0};}([i,s]);};}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n];},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n]);},__values:co,__read:lo,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(lo(arguments[t]));return e;},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],u=0,s=i.length;u<s;u++,o++)r[o]=i[u];return r;},__await:po,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this;},r;function u(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||s(e,t);});});}function s(e,t){try{(n=o[e](t)).value instanceof po?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n);}catch(e){l(i[0][3],e);}var n;}function a(e){s("next",e);}function c(e){s("throw",e);}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1]);}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e;}),r("return"),t[Symbol.iterator]=function(){return this;},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:po(e[r](t)),done:"return"===r}:o?o(t):t;}:o;}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=co(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this;},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n});},t);})(r,o,(t=e[n](t)).done,t.value);});};}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e;},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t;},__importDefault:function(e){return e&&e.__esModule?e:{default:e};},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e);},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n;}}),ho=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }");},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})};}),mo=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(ho,t);}),go=/[|\\{}()[\]^$+*?.]/g,yo=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(go,"\\$&");},Do={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]},Eo=i(function(e){var t={};for(var n in Do)Do.hasOwnProperty(n)&&(t[Do[n]]=n);var r=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 o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u});}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n];},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5;};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c];},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))];},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t];},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Do)if(Do.hasOwnProperty(s)){var a=Do[s],c=(o=e,i=a,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c<u&&(u=c,r=s);}return r;},r.keyword.rgb=function(e){return Do[e];},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)];},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))];},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o;},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)];},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s];}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)];},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o;}return[255*i,255*u,255*s];},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))];},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))];},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))];},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883];},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t];},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)];},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u;},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2]);},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255];},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t];}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255];},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t;},r.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 r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r];},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)];},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o];},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a;}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)];},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n];},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n];},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)];},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255];},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535];},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255];},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]];},r.gray.hwb=function(e){return[0,100,e[0]];},r.gray.cmyk=function(e){return[0,0,0,e[0]];},r.gray.lab=function(e){return[e[0],0,0];},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n;},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100];};});function bo(e){var t=function(){for(var e={},t=Object.keys(Eo),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e;}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(Eo[r]),i=o.length,u=0;u<i;u++){var s=o[u],a=t[s];-1===a.distance&&(a.distance=t[r].distance+1,a.parent=r,n.unshift(s));}return t;}function Co(e,t){return function(n){return t(e(n));};}function vo(e,t){for(var n=[t[e].parent,e],r=Eo[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Co(Eo[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r;}var Ao={};Object.keys(Eo).forEach(function(e){Ao[e]={},Object.defineProperty(Ao[e],"channels",{value:Eo[e].channels}),Object.defineProperty(Ao[e],"labels",{value:Eo[e].labels});var t=function(e){for(var t=bo(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var u=r[i];null!==t[u].parent&&(n[u]=vo(u,t));}return n;}(e);Object.keys(t).forEach(function(n){var r=t[n];Ao[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n;};return"conversion"in e&&(t.conversion=e.conversion),t;}(r),Ao[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t));};return"conversion"in e&&(t.conversion=e.conversion),t;}(r);});});var Fo,xo=Ao,So=i(function(e){const t=(e,t)=>function(){const n=e.apply(xo,arguments);return"\x1b[".concat(n+t,"m");},n=(e,t)=>function(){const n=e.apply(xo,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m");},r=(e,t)=>function(){const n=e.apply(xo,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m");};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map(),o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(const t of Object.keys(o)){const n=o[t];for(const t of Object.keys(n)){const r=n[t];o[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=o[t],e.set(r[0],r[1]);}Object.defineProperty(o,t,{value:n,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1});}const i=e=>e,u=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(let e of Object.keys(xo)){if("object"!=typeof xo[e])continue;const i=xo[e];"ansi16"===e&&(e="ansi"),"ansi16"in i&&(o.color.ansi[e]=t(i.ansi16,0),o.bgColor.ansi[e]=t(i.ansi16,10)),"ansi256"in i&&(o.color.ansi256[e]=n(i.ansi256,0),o.bgColor.ansi256[e]=n(i.ansi256,10)),"rgb"in i&&(o.color.ansi16m[e]=r(i.rgb,0),o.bgColor.ansi16m[e]=r(i.rgb,10));}return o;}});});function wo(){if(void 0===Fo){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Fo="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Fo="LE";}}return Fo;}function To(){return void 0!==Pe.location?Pe.location.hostname:"";}function Bo(){return[];}function ko(){return 0;}function No(){return Number.MAX_VALUE;}function Po(){return Number.MAX_VALUE;}function Oo(){return[];}function Io(){return"Browser";}function jo(){return void 0!==Pe.navigator?Pe.navigator.appVersion:"";}function Lo(){}function _o(){}function Mo(){return"javascript";}function Ro(){return"browser";}function Vo(){return"/tmp";}var $o=Vo,qo={EOL:"\n",arch:Mo,platform:Ro,tmpdir:$o,tmpDir:Vo,networkInterfaces:Lo,getNetworkInterfaces:_o,release:jo,type:Io,cpus:Oo,totalmem:Po,freemem:No,uptime:ko,loadavg:Bo,hostname:To,endianness:wo},Wo=(e,t)=>{t=t||nt.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o);},Uo=o(Object.freeze({__proto__:null,endianness:wo,hostname:To,loadavg:Bo,uptime:ko,freemem:No,totalmem:Po,cpus:Oo,type:Io,release:jo,networkInterfaces:Lo,getNetworkInterfaces:_o,arch:Mo,platform:Ro,tmpDir:Vo,tmpdir:$o,EOL:"\n",default:qo}));const zo=nt.env;let Ho;function Go(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3};}(function(e){if(!1===Ho)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ho)return 0;const t=Ho?1:0;if("CI"in zo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in zo)||"codeship"===zo.CI_NAME?1:t;if("TEAMCITY_VERSION"in zo)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zo.TEAMCITY_VERSION)?1:0;if("truecolor"===zo.COLORTERM)return 3;if("TERM_PROGRAM"in zo){const e=parseInt((zo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zo.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2;}}return /-256(color)?$/i.test(zo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zo.TERM)||"COLORTERM"in zo?1:(zo.TERM,t);}(e));}Wo("no-color")||Wo("no-colors")||Wo("color=false")?Ho=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&(Ho=!0),"FORCE_COLOR"in zo&&(Ho=0===zo.FORCE_COLOR.length||0!==parseInt(zo.FORCE_COLOR,10));var Jo={supportsColor:Go,stdout:Go(nt.stdout),stderr:Go(nt.stderr)};const Xo=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ko=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Qo=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function ei(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zo.get(e)||e;}function ti(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(Ko)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Qo,(e,t,n)=>t?ei(t):n));}else n.push(Number(t));return n;}function ni(e){Yo.lastIndex=0;const t=[];let n;for(;null!==(n=Yo.exec(e));){const e=n[1];if(n[2]){const r=ti(e,n[2]);t.push([e].concat(r));}else t.push([e]);}return t;}function ri(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e];}return r;}var oi=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Xo,(t,i,u,s,a,c)=>{if(i)o.push(ei(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:ri(e,n)(t)),n.push({inverse:u,styles:ni(s)});}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ri(e,n)(o.join(""))),o=[],n.pop();}else o.push(c);}),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e);}return r.join("");},ii=i(function(e){const t=Jo.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0;}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return u(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e));},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template;}u(this,e);}for(const e of Object.keys(So))So[e].closeRe=new RegExp(yo(So[e].close),"g"),i[e]={get(){const t=So[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e);}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible");}},So.color.closeRe=new RegExp(yo(So.color.close),"g");for(const e of Object.keys(So.color.ansi))o.has(e)||(i[e]={get(){const t=this.level;return function(){const n=So.color[r[t]][e].apply(null,arguments),o={open:n,close:So.color.close,closeRe:So.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e);};}});So.bgColor.closeRe=new RegExp(yo(So.bgColor.close),"g");for(const e of Object.keys(So.bgColor.ansi)){if(o.has(e))continue;i["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=So.bgColor[r[t]][e].apply(null,arguments),o={open:n,close:So.bgColor.close,closeRe:So.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e);};}};}const a=Object.defineProperties(()=>{},i);function c(e,t,n){const r=function(){return l.apply(r,arguments);};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e;}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e;}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r;}function l(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=So.dim.open;for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return So.dim.open=o,r;}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return oi(e,r.join(""));}Object.defineProperties(s.prototype,i),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports;}),ui=Object.defineProperty({commonDeprecatedHandler:(e,t,{descriptor:n})=>{const r=["".concat(ii.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(ii.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+".";}},"__esModule",{value:!0}),si=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(ui,t);}),ai=Object.defineProperty({commonInvalidHandler:(e,t,n)=>["Invalid ".concat(ii.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ii.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ii.default.red(n.descriptor.value(t)),".")].join(" ")},"__esModule",{value:!0}),ci=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(ai,t);}),li=[],pi=[],fi=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:o})=>{const i=["Ignored unknown option ".concat(ii.default.yellow(n.pair({key:e,value:t})),".")],u=Object.keys(o).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var i,u,s,a,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(o-=c,0==(r-=c))return o;for(var l=0,p=0;l<r;)pi[c+l]=e.charCodeAt(c+l),li[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===pi[c+l]?s:s+1,s=li[l],u=li[l]=s>u?a>u?u+1:a:a>s?s+1:a;return u;}(e,t)<3);u&&i.push("Did you mean ".concat(ii.default.blue(n.key(u)),"?")),r.warn(i.join(" "));}},"__esModule",{value:!0}),di=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(fi,t);}),hi=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(si,t),fo.__exportStar(ci,t),fo.__exportStar(di,t);});const mi=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function gi(e,t){const n=new e(t),r=Object.create(n);for(const e of mi)e in t&&(r[e]=bi(t[e],n,Di.prototype[e].length));return r;}var yi=gi;class Di{constructor(e){this.name=e.name;}static create(e){return gi(this,e);}default(e){}expected(e){return"nothing";}validate(e,t){return!1;}deprecated(e,t){return!1;}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e;}preprocess(e,t){return e;}postprocess(e,t){return e;}}var Ei=Di;function bi(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e;}var Ci=Object.defineProperty({createSchema:yi,Schema:Ei},"__esModule",{value:!0});class vi extends Ci.Schema{constructor(e){super(e),this._sourceName=e.sourceName;}expected(e){return e.schemas[this._sourceName].expected(e);}validate(e,t){return t.schemas[this._sourceName].validate(e,t);}redirect(e,t){return this._sourceName;}}var Ai=vi,Fi=Object.defineProperty({AliasSchema:Ai},"__esModule",{value:!0});class xi extends Ci.Schema{expected(){return"anything";}validate(){return!0;}}var Si=xi,wi=Object.defineProperty({AnySchema:Si},"__esModule",{value:!0});class Ti extends Ci.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=fo.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t;}expected(e){return"an array of ".concat(this._valueSchema.expected(e));}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value);}return 0===n.length||{value:n};}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})));}return n;}forward(e,t){const n=[];for(const r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(ki));}return n;}redirect(e,t){const n=[],r=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(ki));}return 0===n.length?{redirect:r}:{redirect:r,remain:n};}overlap(e,t){return e.concat(t);}}var Bi=Ti;function ki({from:e,to:t}){return{from:[e],to:t};}var Ni=Object.defineProperty({ArraySchema:Bi},"__esModule",{value:!0});class Pi extends Ci.Schema{expected(){return"true or false";}validate(e){return"boolean"==typeof e;}}var Oi=Pi,Ii=Object.defineProperty({BooleanSchema:Oi},"__esModule",{value:!0});var ji=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r;}return n;};var Li=function(e,t){const n=new Map();for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r);}return n;};var _i=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1);};};var Mi=function(e,t){const n=[],r=[];for(const o of e)t(o)?n.push(o):r.push(o);return[n,r];};var Ri=function(e){return e===Math.floor(e);};var Vi=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t);};var $i=function(e){return void 0===e?{}:e;};var qi=function(e,t){return!0===e||(!1===e?{value:t}:e);};var Wi=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e);};function Ui(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to};}var zi=Ui;function Hi(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>Ui(e,t)):[Ui(e,t)];}var Gi=Hi;var Ji=function(e,t){const n=Hi("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n};},Xi=Object.defineProperty({recordFromArray:ji,mapFromArray:Li,createAutoChecklist:_i,partition:Mi,isInt:Ri,comparePrimitive:Vi,normalizeDefaultResult:$i,normalizeValidateResult:qi,normalizeDeprecatedResult:Wi,normalizeTransferResult:zi,normalizeForwardResult:Gi,normalizeRedirectResult:Ji},"__esModule",{value:!0});class Yi extends Ci.Schema{constructor(e){super(e),this._choices=Xi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value");}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(Xi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ");}validate(e){return this._choices.has(e);}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e};}forward(e){const t=this._choices.get(e);return t?t.forward:void 0;}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0;}}var Ki=Yi,Qi=Object.defineProperty({ChoiceSchema:Ki},"__esModule",{value:!0});class Zi extends Ci.Schema{expected(){return"a number";}validate(e,t){return"number"==typeof e;}}var eu=Zi,tu=Object.defineProperty({NumberSchema:eu},"__esModule",{value:!0});class nu extends tu.NumberSchema{expected(){return"an integer";}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&Xi.isInt(e);}}var ru=nu,ou=Object.defineProperty({IntegerSchema:ru},"__esModule",{value:!0});class iu extends Ci.Schema{expected(){return"a string";}validate(e){return"string"==typeof e;}}var uu=iu,su=Object.defineProperty({StringSchema:uu},"__esModule",{value:!0}),au=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(Fi,t),fo.__exportStar(wi,t),fo.__exportStar(Ni,t),fo.__exportStar(Ii,t),fo.__exportStar(Qi,t),fo.__exportStar(ou,t),fo.__exportStar(tu,t),fo.__exportStar(su,t);}),cu=ho.apiDescriptor,lu=fi.levenUnknownHandler,pu=ci.commonInvalidHandler,fu=ui.commonDeprecatedHandler,du=Object.defineProperty({defaultDescriptor:cu,defaultUnknownHandler:lu,defaultInvalidHandler:pu,defaultDeprecatedHandler:fu},"__esModule",{value:!0});class hu{constructor(e,t){const{logger:n=console,descriptor:r=du.defaultDescriptor,unknown:o=du.defaultUnknownHandler,invalid:i=du.defaultInvalidHandler,deprecated:u=du.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:Xi.recordFromArray(e,"name"),normalizeDefaultResult:Xi.normalizeDefaultResult,normalizeDeprecatedResult:Xi.normalizeDeprecatedResult,normalizeForwardResult:Xi.normalizeForwardResult,normalizeRedirectResult:Xi.normalizeRedirectResult,normalizeValidateResult:Xi.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory();}cleanHistory(){this._hasDeprecationWarned=Xi.createAutoChecklist();}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r);}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=Xi.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value});}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils));}return t;}_applyNormalization(e,t){const n=[],[r,o]=Xi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),u=Xi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==u){const{value:e}=u,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t;}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value});},a=({value:e,redirectTo:t})=>{const n=Xi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:e}of n){const n={key:o,value:e};if(!this._hasDeprecationWarned(n)){const r="string"==typeof t?{key:t,value:e}:t;this._utils.logger.warn(this._deprecatedHandler(n,r,this._utils));}}};Xi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const c=Xi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(c.redirect.forEach(s),"remain"in c){const e=c.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,a({value:e});}for(const{from:e,to:t}of c.redirect)a({value:e,redirectTo:t});}for(const r of o){const o=e[r],i=this._unknownHandler(r,o,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r);}}return n;}}var mu=hu,gu=Object.defineProperty({normalize:(e,t,n)=>new hu(t,n).normalize(e),Normalizer:mu},"__esModule",{value:!0}),yu=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(mo,t),fo.__exportStar(hi,t),fo.__exportStar(au,t),fo.__exportStar(gu,t),fo.__exportStar(Ci,t);});const Du=[],Eu=[],bu=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,o=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;let i,u,s,a,c=0;for(;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(r-=c,o-=c,0===r)return o;let l=0,p=0;for(;l<r;)Eu[l]=e.charCodeAt(c+l),Du[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===Eu[l]?s:s+1,s=Du[l],u=Du[l]=s>u?a>u?u+1:a:a>s?s+1:a;return u;};var Cu=bu,vu=bu;Cu.default=vu;var Au={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]};const Fu={};for(const e of Object.keys(Au))Fu[Au[e]]=e;const xu={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"]}};var Su=xu;for(const e of Object.keys(xu)){if(!("channels"in xu[e]))throw new Error("missing channels property: "+e);if(!("labels"in xu[e]))throw new Error("missing channel labels property: "+e);if(xu[e].labels.length!==xu[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=xu[e];delete xu[e].channels,delete xu[e].labels,Object.defineProperty(xu[e],"channels",{value:t}),Object.defineProperty(xu[e],"labels",{value:n});}function wu(e){const t=function(){const e={},t=Object.keys(Su);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e;}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),r=Object.keys(Su[e]);for(let o=r.length,i=0;i<o;i++){const o=r[i],u=t[o];-1===u.distance&&(u.distance=t[e].distance+1,u.parent=e,n.unshift(o));}}return t;}function Tu(e,t){return function(n){return t(e(n));};}function Bu(e,t){const n=[t[e].parent,e];let r=Su[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=Tu(Su[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r;}xu.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),u=i-o;let s,a;i===o?s=0:t===i?s=(n-r)/u:n===i?s=2+(r-t)/u:r===i&&(s=4+(t-n)/u),s=Math.min(60*s,360),s<0&&(s+=360);const c=(o+i)/2;return a=i===o?0:c<=.5?u/(i+o):u/(2-i-o),[s,100*a,100*c];},xu.rgb.hsv=function(e){let t,n,r,o,i;const u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5;};return 0===l?(o=0,i=0):(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c];},xu.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=xu.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r];},xu.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o];},xu.rgb.keyword=function(e){const t=Fu[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(Au)){const u=(i=Au[t],((o=e)[0]-i[0])**2+(o[1]-i[1])**2+(o[2]-i[2])**2);u<r&&(r=u,n=t);}var o,i;return n;},xu.keyword.rgb=function(e){return Au[e];},xu.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)];},xu.rgb.lab=function(e){const t=xu.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)];},xu.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,u;if(0===n)return u=255*r,[u,u,u];o=r<.5?r*(1+n):r+n-r*n;const s=2*r-o,a=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,u=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,a[e]=255*u;return a;},xu.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i;return[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)];},xu.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s];}},xu.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,u;u=(2-n)*r;const s=(2-n)*o;return i=n*o,i/=s<=1?s:2-s,i=i||0,u/=2,[t,100*i,100*u];},xu.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const u=Math.floor(6*t),s=1-r;i=6*t-u,0!=(1&u)&&(i=1-i);const a=n+i*(s-n);let c,l,p;switch(u){default:case 6:case 0:c=s,l=a,p=n;break;case 1:c=a,l=s,p=n;break;case 2:c=n,l=s,p=a;break;case 3:c=n,l=a,p=s;break;case 4:c=a,l=n,p=s;break;case 5:c=s,l=n,p=a;}return[255*c,255*l,255*p];},xu.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))];},xu.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,u;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,u=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),u=Math.min(Math.max(0,u),1),[255*o,255*i,255*u];},xu.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)];},xu.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,i=t**3,u=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r];},xu.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o];},xu.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)];},xu.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let i=null===t?xu.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let u=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(u+=60),u;},xu.hsv.ansi16=function(e){return xu.rgb.ansi16(xu.hsv.rgb(e),e[2]);},xu.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);},xu.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255];},xu.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t];}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255];},xu.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t;},xu.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r];},xu.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),u=o-i;let s,a;return s=u<1?i/(1-u):0,a=u<=0?0:o===t?(n-r)/u%6:o===n?2+(r-t)/u:4+(t-n)/u,a/=6,a%=1,[360*a,100*u,100*s];},xu.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o];},xu.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},xu.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,u=i%1,s=1-u;let a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s;}return a=(1-n)*r,[255*(n*o[0]+a),255*(n*o[1]+a),255*(n*o[2]+a)];},xu.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n];},xu.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n];},xu.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)];},xu.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},xu.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255];},xu.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535];},xu.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255];},xu.gray.hsl=function(e){return[0,0,e[0]];},xu.gray.hsv=xu.gray.hsl,xu.gray.hwb=function(e){return[0,100,e[0]];},xu.gray.cmyk=function(e){return[0,0,0,e[0]];},xu.gray.lab=function(e){return[e[0],0,0];},xu.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n;},xu.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100];};const ku={};Object.keys(Su).forEach(e=>{ku[e]={},Object.defineProperty(ku[e],"channels",{value:Su[e].channels}),Object.defineProperty(ku[e],"labels",{value:Su[e].labels});const t=function(e){const t=wu(e),n={},r=Object.keys(t);for(let e=r.length,o=0;o<e;o++){const e=r[o];null!==t[e].parent&&(n[e]=Bu(e,t));}return n;}(e);Object.keys(t).forEach(n=>{const r=t[n];ku[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r;};return"conversion"in e&&(t.conversion=e.conversion),t;}(r),ku[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t));};return"conversion"in e&&(t.conversion=e.conversion),t;}(r);});});var Nu=ku,Pu=i(function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(r+t,"m");},n=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(38+t,";5;").concat(r,"m");},r=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m");},o=e=>e,i=(e,t,n)=>[e,t,n],u=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r;},enumerable:!0,configurable:!0});};let s;const a=(e,t,n,r)=>{void 0===s&&(s=Nu);const o=r?10:0,i={};for(const[r,u]of Object.entries(s)){const s="ansi16"===r?"ansi":r;r===t?i[s]=e(n,o):"object"==typeof u&&(i[s]=e(u[t],o));}return i;};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map(),s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1});}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",u(s.color,"ansi",()=>a(t,"ansi16",o,!1)),u(s.color,"ansi256",()=>a(n,"ansi256",o,!1)),u(s.color,"ansi16m",()=>a(r,"rgb",i,!1)),u(s.bgColor,"ansi",()=>a(t,"ansi16",o,!0)),u(s.bgColor,"ansi256",()=>a(n,"ansi256",o,!0)),u(s.bgColor,"ansi16m",()=>a(r,"rgb",i,!0)),s;}});});function Ou(){return!1;}function Iu(){throw new Error("tty.ReadStream is not implemented");}function ju(){throw new Error("tty.ReadStream is not implemented");}var Lu={isatty:Ou,ReadStream:Iu,WriteStream:ju},_u=(e,t=nt.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o);},Mu=o(Object.freeze({__proto__:null,isatty:Ou,ReadStream:Iu,WriteStream:ju,default:Lu}));const{env:Ru}=nt;let Vu;function $u(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3};}function qu(e,t){if(0===Vu)return 0;if(_u("color=16m")||_u("color=full")||_u("color=truecolor"))return 3;if(_u("color=256"))return 2;if(e&&!t&&void 0===Vu)return 0;const n=Vu||0;if("dumb"===Ru.TERM)return n;if("CI"in Ru)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in Ru)||"codeship"===Ru.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ru)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ru.TEAMCITY_VERSION)?1:0;if("truecolor"===Ru.COLORTERM)return 3;if("TERM_PROGRAM"in Ru){const e=parseInt((Ru.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ru.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2;}}return /-256(color)?$/i.test(Ru.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ru.TERM)||"COLORTERM"in Ru?1:n;}_u("no-color")||_u("no-colors")||_u("color=false")||_u("color=never")?Vu=0:(_u("color")||_u("colors")||_u("color=true")||_u("color=always"))&&(Vu=1),"FORCE_COLOR"in Ru&&(Vu="true"===Ru.FORCE_COLOR?1:"false"===Ru.FORCE_COLOR?0:0===Ru.FORCE_COLOR.length?1:Math.min(parseInt(Ru.FORCE_COLOR,10),3));var Wu={supportsColor:function(e){return $u(qu(e,e&&e.isTTY));},stdout:$u(qu(!0,Mu.isatty(1))),stderr:$u(qu(!0,Mu.isatty(2)))};var Uu={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,u="";do{u+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i);}while(-1!==r);return u+=e.substr(i),u;},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,i="";do{const u="\r"===e[r-1];i+=e.substr(o,(u?r-1:r)-o)+t+(u?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o);}while(-1!==r);return i+=e.substr(o),i;}};const zu=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hu=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Gu=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ju=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xu=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Yu(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xu.get(e)||e;}function Ku(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(o=t.match(Gu)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Ju,(e,t,n)=>t?Yu(t):n));}else n.push(r);}return n;}function Qu(e){Hu.lastIndex=0;const t=[];let n;for(;null!==(n=Hu.exec(e));){const e=n[1];if(n[2]){const r=Ku(e,n[2]);t.push([e].concat(r));}else t.push([e]);}return t;}function Zu(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=t.length>0?r[e](...t):r[e];}return r;}var es=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(zu,(t,i,u,s,a,c)=>{if(i)o.push(Yu(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Zu(e,n)(t)),n.push({inverse:u,styles:Qu(s)});}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Zu(e,n)(o.join(""))),o=[],n.pop();}else o.push(c);}),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e);}return r.join("");};const{stdout:ts,stderr:ns}=Wu,{stringReplaceAll:rs,stringEncaseCRLFWithFirstIndex:os}=Uu,{isArray:is}=Array,us=["ansi","ansi","ansi256","ansi16m"],ss=Object.create(null);class as{constructor(e){return cs(e);}}const cs=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=ts?ts.level:0;e.level=void 0===t.level?n:t.level;})(t,e),t.template=(...e)=>ys(t.template,...e),Object.setPrototypeOf(t,ls.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");},t.template.Instance=as,t.template;};function ls(e){return cs(e);}for(const[e,t]of Object.entries(Pu))ss[e]={get(){const n=hs(this,ds(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n;}};ss.visible={get(){const e=hs(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e;}};const ps=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of ps)ss[e]={get(){const{level:t}=this;return function(...n){const r=ds(Pu.color[us[t]][e](...n),Pu.color.close,this._styler);return hs(this,r,this._isEmpty);};}};for(const e of ps){ss["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=ds(Pu.bgColor[us[t]][e](...n),Pu.bgColor.close,this._styler);return hs(this,r,this._isEmpty);};}};}const fs=Object.defineProperties(()=>{},Object.assign({},ss,{level:{enumerable:!0,get(){return this._generator.level;},set(e){this._generator.level=e;}}})),ds=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n};},hs=(e,t,n)=>{const r=(...e)=>is(e[0])&&is(e[0].raw)?ms(r,ys(r,...e)):ms(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,fs),r._generator=e,r._styler=t,r._isEmpty=n,r;},ms=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=rs(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=os(t,o,r,i)),r+t+o;};let gs;const ys=(e,...t)=>{const[n]=t;if(!is(n)||!is(n.raw))return t.join(" ");const r=t.slice(1),o=[n.raw[0]];for(let e=1;e<n.length;e++)o.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===gs&&(gs=es),gs(e,o.join(""));};Object.defineProperties(ls.prototype,ss);const Ds=ls();Ds.supportsColor=ts,Ds.stderr=ls({level:ns?ns.level:0}),Ds.stderr.supportsColor=ns;var Es=Ds;var bs=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e;},Cs="object"==typeof r&&r&&r.Object===Object&&r,vs="object"==typeof self&&self&&self.Object===Object&&self,As=(Cs||vs||Function("return this")()).Symbol,Fs=Object.prototype,xs=Fs.hasOwnProperty,Ss=Fs.toString,ws=As?As.toStringTag:void 0;var Ts=function(e){var t=xs.call(e,ws),n=e[ws];try{e[ws]=void 0;var r=!0;}catch(e){}var o=Ss.call(e);return r&&(t?e[ws]=n:delete e[ws]),o;},Bs=Object.prototype.toString;var ks=function(e){return Bs.call(e);},Ns=As?As.toStringTag:void 0;var Ps=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ns&&Ns in Object(e)?Ts(e):ks(e);};var Os=function(e){return null!=e&&"object"==typeof e;};var Is=function(e){return Os(e)&&"[object Arguments]"==Ps(e);},js=Object.prototype,Ls=js.hasOwnProperty,_s=js.propertyIsEnumerable,Ms=Is(function(){return arguments;}())?Is:function(e){return Os(e)&&Ls.call(e,"callee")&&!_s.call(e,"callee");},Rs=Array.isArray,Vs=As?As.isConcatSpreadable:void 0;var $s=function(e){return Rs(e)||Ms(e)||!!(Vs&&e&&e[Vs]);};var qs=function e(t,n,r,o,i){var u=-1,s=t.length;for(r||(r=$s),i||(i=[]);++u<s;){var a=t[u];n>0&&r(a)?n>1?e(a,n-1,r,o,i):bs(i,a):o||(i[i.length]=a);}return i;};var Ws=function(e){return(null==e?0:e.length)?qs(e,1):[];};const Us={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>yu.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Us.key(e):""===t?"".concat(Us.key(e)," without an argument"):"".concat(Us.key(e),"=").concat(t)};class zs extends yu.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=[...t].sort();}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find(t=>Cu(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(Es.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Es.blue(t.descriptor.value(n)),"?")].join(" ")),n;}return e;}expected(){return"a flag";}}let Hs;function Gs(t,n,{logger:r,isCLI:o=!1,passThrough:i=!1}={}){const u=i?Array.isArray(i)?(e,t)=>i.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const o=e(r.schemas,["_"]);return yu.levenUnknownHandler(t,n,Object.assign({},r,{schemas:o}));},s=o?Us:yu.apiDescriptor,a=function(e,{isCLI:t}){const n=[];t&&n.push(yu.AnySchema.create({name:"_"}));for(const r of e)n.push(Js(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(yu.AliasSchema.create({name:r.alias,sourceName:r.name}));return n;}(n,{isCLI:o}),c=new yu.Normalizer(a,{logger:r,unknown:u,descriptor:s}),l=!1!==r;l&&Hs&&(c._hasDeprecationWarned=Hs);const p=c.normalize(t);return l&&(Hs=c._hasDeprecationWarned),p;}function Js(e,{isCLI:t,optionInfos:n}){let r;const o={name:e.name},i={};switch(e.type){case"int":r=yu.IntegerSchema,t&&(o.preprocess=e=>Number(e));break;case"string":r=yu.StringSchema;break;case"choice":r=yu.ChoiceSchema,o.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=yu.BooleanSchema;break;case"flag":r=zs,o.flags=Ws(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=yu.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type));}if(e.exception?o.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):o.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(i.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){const e=o.preprocess||(e=>e);o.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?ke(t):t),r);}return e.array?yu.ArraySchema.create(Object.assign({},t?{preprocess:e=>Array.isArray(e)?e:[e]}:{},i,{valueSchema:r.create(o)})):r.create(Object.assign({},o,i));}var Xs={normalizeApiOptions:function(e,t,n){return Gs(e,t,n);},normalizeCliOptions:function(e,t,n){return Gs(e,t,Object.assign({isCLI:!0},n));}};const{isNonEmptyArray:Ys}=rn;function Ks(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(Ys(t))return Ks(t[0]);}return e.range?e.range[0]:e.start;}function Qs(e){return e.range?e.range[1]:e.end;}function Zs(e,t){return Ks(e)===Ks(t);}var ea={locStart:Ks,locEnd:Qs,hasSameLocStart:Zs,hasSameLoc:function(e,t){return Zs(e,t)&&function(e,t){return Qs(e)===Qs(t);}(e,t);}},ta=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function(e){var t={type:"invalid",value:e[0],closed:void 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;}},"__esModule",{value:!0}),na=fa,ra=da,oa=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){const t=e.charCodeAt(++n);56320==(64512&t)&&(r=65536+((1023&r)<<10)+(1023&t));}if(t){if(t=!1,!fa(r))return!1;}else if(!da(r))return!1;}return!t;};let ia="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",ua="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const sa=new RegExp("["+ia+"]"),aa=new RegExp("["+ia+ua+"]");ia=ua=null;const ca=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],la=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function pa(e,t){let n=65536;for(let r=0,o=t.length;r<o;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0;}return!1;}function fa(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&sa.test(String.fromCharCode(e)):pa(e,ca)));}function da(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&aa.test(String.fromCharCode(e)):pa(e,ca)||pa(e,la))));}var ha=Object.defineProperty({isIdentifierStart:na,isIdentifierChar:ra,isIdentifierName:oa},"__esModule",{value:!0}),ma=xa,ga=Sa,ya=wa,Da=function(e,t){return Sa(e,t)||wa(e);},Ea=function(e){return va.has(e);};const ba=["implements","interface","let","package","private","protected","public","static","yield"],Ca=["eval","arguments"],va=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Aa=new Set(ba),Fa=new Set(Ca);function xa(e,t){return t&&"await"===e||"enum"===e;}function Sa(e,t){return xa(e,t)||Aa.has(e);}function wa(e){return Fa.has(e);}var Ta=Object.defineProperty({isReservedWord:ma,isStrictReservedWord:ga,isStrictBindOnlyReservedWord:ya,isStrictBindReservedWord:Da,isKeyword:Ea},"__esModule",{value:!0}),Ba=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ha.isIdentifierName;}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ha.isIdentifierChar;}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ha.isIdentifierStart;}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return Ta.isReservedWord;}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Ta.isStrictBindOnlyReservedWord;}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Ta.isStrictBindReservedWord;}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return Ta.isStrictReservedWord;}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return Ta.isKeyword;}});}),ka=/[|\\{}()[\]^$+*?.]/g,Na=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ka,"\\$&");},Pa={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]},Oa=i(function(e){var t={};for(var n in Pa)Pa.hasOwnProperty(n)&&(t[Pa[n]]=n);var r=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 o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u});}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n];},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5;};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c];},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))];},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t];},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Pa)if(Pa.hasOwnProperty(s)){var a=Pa[s],c=(o=e,i=a,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c<u&&(u=c,r=s);}return r;},r.keyword.rgb=function(e){return Pa[e];},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)];},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))];},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o;},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)];},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s];}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)];},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o;}return[255*i,255*u,255*s];},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))];},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))];},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))];},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883];},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t];},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)];},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u;},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2]);},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255];},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t];}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255];},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t;},r.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 r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r];},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)];},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o];},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a;}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)];},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n];},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n];},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)];},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o];},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255];},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535];},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255];},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]];},r.gray.hwb=function(e){return[0,100,e[0]];},r.gray.cmyk=function(e){return[0,0,0,e[0]];},r.gray.lab=function(e){return[e[0],0,0];},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n;},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100];};});function Ia(e){var t=function(){for(var e={},t=Object.keys(Oa),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e;}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(Oa[r]),i=o.length,u=0;u<i;u++){var s=o[u],a=t[s];-1===a.distance&&(a.distance=t[r].distance+1,a.parent=r,n.unshift(s));}return t;}function ja(e,t){return function(n){return t(e(n));};}function La(e,t){for(var n=[t[e].parent,e],r=Oa[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=ja(Oa[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r;}var _a={};Object.keys(Oa).forEach(function(e){_a[e]={},Object.defineProperty(_a[e],"channels",{value:Oa[e].channels}),Object.defineProperty(_a[e],"labels",{value:Oa[e].labels});var t=function(e){for(var t=Ia(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var u=r[i];null!==t[u].parent&&(n[u]=La(u,t));}return n;}(e);Object.keys(t).forEach(function(n){var r=t[n];_a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n;};return"conversion"in e&&(t.conversion=e.conversion),t;}(r),_a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t));};return"conversion"in e&&(t.conversion=e.conversion),t;}(r);});});var Ma=_a,Ra=i(function(e){const t=(e,t)=>function(){const n=e.apply(Ma,arguments);return"\x1b[".concat(n+t,"m");},n=(e,t)=>function(){const n=e.apply(Ma,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m");},r=(e,t)=>function(){const n=e.apply(Ma,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m");};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map(),o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(const t of Object.keys(o)){const n=o[t];for(const t of Object.keys(n)){const r=n[t];o[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=o[t],e.set(r[0],r[1]);}Object.defineProperty(o,t,{value:n,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1});}const i=e=>e,u=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(let e of Object.keys(Ma)){if("object"!=typeof Ma[e])continue;const i=Ma[e];"ansi16"===e&&(e="ansi"),"ansi16"in i&&(o.color.ansi[e]=t(i.ansi16,0),o.bgColor.ansi[e]=t(i.ansi16,10)),"ansi256"in i&&(o.color.ansi256[e]=n(i.ansi256,0),o.bgColor.ansi256[e]=n(i.ansi256,10)),"rgb"in i&&(o.color.ansi16m[e]=r(i.rgb,0),o.bgColor.ansi16m[e]=r(i.rgb,10));}return o;}});});const Va=nt.env;let $a;function qa(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3};}(function(e){if(!1===$a)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==$a)return 0;const t=$a?1:0;if("CI"in Va)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Va)||"codeship"===Va.CI_NAME?1:t;if("TEAMCITY_VERSION"in Va)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Va.TEAMCITY_VERSION)?1:0;if("truecolor"===Va.COLORTERM)return 3;if("TERM_PROGRAM"in Va){const e=parseInt((Va.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Va.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2;}}return /-256(color)?$/i.test(Va.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Va.TERM)||"COLORTERM"in Va?1:(Va.TERM,t);}(e));}Wo("no-color")||Wo("no-colors")||Wo("color=false")?$a=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&($a=!0),"FORCE_COLOR"in Va&&($a=0===Va.FORCE_COLOR.length||0!==parseInt(Va.FORCE_COLOR,10));var Wa={supportsColor:qa,stdout:qa(nt.stdout),stderr:qa(nt.stderr)};const Ua=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,za=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ha=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ga=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ja=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Xa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ja.get(e)||e;}function Ya(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(Ha)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Ga,(e,t,n)=>t?Xa(t):n));}else n.push(Number(t));return n;}function Ka(e){za.lastIndex=0;const t=[];let n;for(;null!==(n=za.exec(e));){const e=n[1];if(n[2]){const r=Ya(e,n[2]);t.push([e].concat(r));}else t.push([e]);}return t;}function Qa(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e];}return r;}var Za=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Ua,(t,i,u,s,a,c)=>{if(i)o.push(Xa(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Qa(e,n)(t)),n.push({inverse:u,styles:Ka(s)});}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Qa(e,n)(o.join(""))),o=[],n.pop();}else o.push(c);}),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e);}return r.join("");},ec=i(function(e){const t=Wa.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0;}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return u(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e));},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template;}u(this,e);}for(const e of Object.keys(Ra))Ra[e].closeRe=new RegExp(Na(Ra[e].close),"g"),i[e]={get(){const t=Ra[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e);}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible");}},Ra.color.closeRe=new RegExp(Na(Ra.color.close),"g");for(const e of Object.keys(Ra.color.ansi))o.has(e)||(i[e]={get(){const t=this.level;return function(){const n=Ra.color[r[t]][e].apply(null,arguments),o={open:n,close:Ra.color.close,closeRe:Ra.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e);};}});Ra.bgColor.closeRe=new RegExp(Na(Ra.bgColor.close),"g");for(const e of Object.keys(Ra.bgColor.ansi)){if(o.has(e))continue;i["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=Ra.bgColor[r[t]][e].apply(null,arguments),o={open:n,close:Ra.bgColor.close,closeRe:Ra.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e);};}};}const a=Object.defineProperties(()=>{},i);function c(e,t,n){const r=function(){return l.apply(r,arguments);};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e;}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e;}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r;}function l(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=Ra.dim.open;for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return Ra.dim.open=o,r;}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return Za(e,r.join(""));}Object.defineProperties(s.prototype,i),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports;}),tc=pc,nc=fc,rc=function(e,t={}){if(pc(t)){const n=fc(t);return function(e,t){let n="";for(const{type:r,value:o}of lc(t)){const t=e[r];n+=t?o.split(ac).map(e=>t(e)).join("\n"):o;}return n;}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold};}(n),e);}return e;},oc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=uc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o];}n.default=e,t&&t.set(e,n);return n;}(ta),ic=function(e){return e&&e.__esModule?e:{default:e};}(ec);function uc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap();return uc=function(){return e;},e;}const sc=new Set(["as","async","from","get","of","set"]);const ac=/\r\n|[\n\r\u2028\u2029]/,cc=/^[()[\]{}]$/;let lc;{const{matchToToken:e}=oc,t=/^[a-z][\w-]*$/i,n=function(e,n,r){if("name"===e.type){if((0,Ba.isKeyword)(e.value)||(0,Ba.isStrictReservedWord)(e.value,!0)||sc.has(e.value))return"keyword";if(t.test(e.value)&&("<"===r[n-1]||"</"==r.substr(n-2,2)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized";}return"punctuator"===e.type&&cc.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator";};lc=function*(t){let r;for(;r=oc.default.exec(t);){const o=e(r);yield{type:n(o,r.index,t),value:o.value};}};}function pc(e){return!!ic.default.supportsColor||e.forceColor;}function fc(e){return e.forceColor?new ic.default.constructor({enabled:!0,level:1}):ic.default;}var dc=Ec,hc=function(e,t,n,r={}){if(!yc){yc=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{new Error(e).name="DeprecationWarning",console.warn(new Error(e));}}n=Math.max(n,0);return Ec(e,{start:{column:n,line:t}},r);},mc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=gc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o];}n.default=e,t&&t.set(e,n);return n;}(Object.defineProperty({shouldHighlight:tc,getChalk:nc,default:rc},"__esModule",{value:!0}));function gc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap();return gc=function(){return e;},e;}let yc=!1;const Dc=/\r\n|[\n\r\u2028\u2029]/;function Ec(e,t,n={}){const r=(n.highlightCode||n.forceColor)&&(0,mc.shouldHighlight)(n),o=(0,mc.getChalk)(n),i=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold};}(o),u=(e,t)=>r?e(t):t,s=e.split(Dc),{start:a,end:c,markerLines:l}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:i=2,linesBelow:u=3}=n||{},s=r.line,a=r.column,c=o.line,l=o.column;let p=Math.max(s-(i+1),0),f=Math.min(t.length,c+u);-1===s&&(p=0),-1===c&&(f=t.length);const d=c-s,h={};if(d)for(let e=0;e<=d;e++){const n=e+s;if(a){if(0===e){const e=t[n-1].length;h[n]=[a,e-a+1];}else if(e===d)h[n]=[0,l];else{const r=t[n-e].length;h[n]=[0,r];}}else h[n]=!0;}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h};}(t,s,n),p=t.start&&"number"==typeof t.start.column,f=String(c).length;let d=(r?(0,mc.default)(e,n):e).split(Dc).slice(a,c).map((e,t)=>{const r=a+1+t,o=" ".concat(r).slice(-f),s=" ".concat(o," |"),c=l[r],p=!l[r+1];if(c){let t="";if(Array.isArray(c)){const r=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),o=c[1]||1;t=["\n ",u(i.gutter,s.replace(/\d/g," "))," ",r,u(i.marker,"^").repeat(o)].join(""),p&&n.message&&(t+=" "+u(i.message,n.message));}return[u(i.marker,">"),u(i.gutter,s),e.length>0?" ".concat(e):"",t].join("");}return" ".concat(u(i.gutter,s)).concat(e.length>0?" ".concat(e):"");}).join("\n");return n.message&&!p&&(d="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(d)),r?o.reset(d):d;}var bc=Object.defineProperty({codeFrameColumns:dc,default:hc},"__esModule",{value:!0}),Cc=o(tr);const{ConfigError:vc}=uo,{locStart:Ac,locEnd:Fc}=ea,xc=Object.getOwnPropertyNames,Sc=Object.getOwnPropertyDescriptor;function wc(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of xc(n.parsers))Object.defineProperty(t,e,Sc(n.parsers,e));return t;}function Tc(e,t=wc(e)){if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ac,locEnd:Fc};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new vc("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'));}}var Bc={parse:function(e,t){const n=wc(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),o=Tc(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)};}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=bc;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t;}throw t.stack;}},resolveParser:Tc};const{UndefinedParserError:kc}=uo,{getSupportInfo:Nc}=Mt,{resolveParser:Pc}=Bc,Oc={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ic(e,t){const n=Cc.basename(e).toLowerCase(),r=Nc({plugins:t}).languages.filter(e=>null!==e.since);let o=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!o&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=eo.openSync(e,"r");}catch(e){return"";}try{const e=new to(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:"";}catch(e){return"";}finally{try{eo.closeSync(t);}catch(e){}}}(e);o=r.find(e=>e.interpreters&&e.interpreters.includes(t));}return o&&o.parsers[0];}var jc={normalize:function(e,t={}){const n=Object.assign({},e),r=Nc({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign({},Oc,Ne(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Ic(n.filepath,n.plugins),!n.parser)throw new kc("No parser could be inferred for file: ".concat(n.filepath));}else{(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";}const i=Pc(Xs.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;const u=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n;}(n);n.printer=u.printers[n.astFormat];const s=Ne(r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[u.name]).map(e=>[e.name,e.pluginDefaults[u.name]])),a=Object.assign({},o,s);for(const[e,t]of Object.entries(a))null!==n[e]&&void 0!==n[e]||(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),Xs.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Oc)},t));},hiddenDefaults:Oc,inferParser:Ic};var Lc=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const o=n.printer.massageAstNode;let i;i=o&&o.ignoredProperties?o.ignoredProperties:new Set();const u={};for(const[r,o]of Object.entries(t))i.has(r)||"function"==typeof o||(u[r]=e(o,n,t));if(o){const e=o(t,u,r);if(null===e)return;if(e)return e;}return u;},_c="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}});}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n(),e.prototype.constructor=e;};function Mc(e,t){var n={seen:[],stylize:Vc};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Uc(t)?n.showHidden=t:t&&tl(n,t),Gc(n.showHidden)&&(n.showHidden=!1),Gc(n.depth)&&(n.depth=2),Gc(n.colors)&&(n.colors=!1),Gc(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Rc),$c(n,e,n.depth);}function Rc(e,t){var n=Mc.styles[t];return n?"\x1b["+Mc.colors[n][0]+"m"+e+"\x1b["+Mc.colors[n][1]+"m":e;}function Vc(e,t){return e;}function $c(e,t,n){if(e.customInspect&&t&&Qc(t.inspect)&&t.inspect!==Mc&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Hc(r)||(r=$c(e,r,n)),r;}var o=function(e,t){if(Gc(t))return e.stylize("undefined","undefined");if(Hc(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string");}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(Uc(t))return e.stylize(""+t,"boolean");if(zc(t))return e.stylize("null","null");}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach(function(e,n){t[e]=!0;}),t;}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Kc(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return qc(t);if(0===i.length){if(Qc(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special");}if(Jc(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Yc(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Kc(t))return qc(t);}var a,c,l="",p=!1,f=["{","}"];(a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),Qc(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Jc(t)&&(l=" "+RegExp.prototype.toString.call(t)),Yc(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Kc(t)&&(l=" "+qc(t)),0!==i.length||p&&0!=t.length?n<0?Jc(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u<s;++u)nl(t,String(u))?i.push(Wc(e,t,n,r,String(u),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(Wc(e,t,n,r,o,!0));}),i;}(e,t,n,u,i):i.map(function(r){return Wc(e,t,n,u,r,p);}),e.seen.pop(),function(e,t,n){if(e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1;},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1];}(c,l,f)):f[0]+l+f[1];}function qc(e){return"["+Error.prototype.toString.call(e)+"]";}function Wc(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),nl(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=zc(n)?$c(e,a.value,null):$c(e,a.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e;}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e;}).join("\n")):s=e.stylize("[Circular]","special")),Gc(u)){if(i&&o.match(/^\d+$/))return s;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"));}return u+": "+s;}function Uc(e){return"boolean"==typeof e;}function zc(e){return null===e;}function Hc(e){return"string"==typeof e;}function Gc(e){return void 0===e;}function Jc(e){return Xc(e)&&"[object RegExp]"===el(e);}function Xc(e){return"object"==typeof e&&null!==e;}function Yc(e){return Xc(e)&&"[object Date]"===el(e);}function Kc(e){return Xc(e)&&("[object Error]"===el(e)||e instanceof Error);}function Qc(e){return"function"==typeof e;}function Zc(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e;}function el(e){return Object.prototype.toString.call(e);}function tl(e,t){if(!t||!Xc(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e;}function nl(e,t){return Object.prototype.hasOwnProperty.call(e,t);}function rl(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break;}return n<r?-1:r<n?1:0;}Mc.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Mc.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var ol,il=Object.prototype.hasOwnProperty,ul=Object.keys||function(e){var t=[];for(var n in e)il.call(e,n)&&t.push(n);return t;},sl=Array.prototype.slice;function al(){return void 0!==ol?ol:ol="foo"===function(){}.name;}function cl(e){return Object.prototype.toString.call(e);}function ll(e){return!Qr(e)&&"function"==typeof Pe.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)));}function pl(e,t){e||yl(e,!0,t,"==",Dl);}var fl=/\s*function\s+([^\(\s]*)\s*/;function dl(e){if(Qc(e)){if(al())return e.name;var t=e.toString().match(fl);return t&&t[1];}}function hl(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return ml(gl(e.actual),128)+" "+e.operator+" "+ml(gl(e.expected),128);}(this),this.generatedMessage=!0);var t=e.stackStartFunction||yl;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error();if(n.stack){var r=n.stack,o=dl(t),i=r.indexOf("\n"+o);if(i>=0){var u=r.indexOf("\n",i+1);r=r.substring(u+1);}this.stack=r;}}}function ml(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e;}function gl(e){if(al()||!Qc(e))return Mc(e);var t=dl(e);return"[Function"+(t?": "+t:"")+"]";}function yl(e,t,n,r,o){throw new hl({message:n,actual:e,expected:t,operator:r,stackStartFunction:o});}function Dl(e,t){e||yl(e,!0,t,"==",Dl);}function El(e,t,n){e!=t&&yl(e,t,n,"==",El);}function bl(e,t,n){e==t&&yl(e,t,n,"!=",bl);}function Cl(e,t,n){Al(e,t,!1)||yl(e,t,n,"deepEqual",Cl);}function vl(e,t,n){Al(e,t,!0)||yl(e,t,n,"deepStrictEqual",vl);}function Al(e,t,n,r){if(e===t)return!0;if(Qr(e)&&Qr(t))return 0===rl(e,t);if(Yc(e)&&Yc(t))return e.getTime()===t.getTime();if(Jc(e)&&Jc(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(ll(e)&&ll(t)&&cl(e)===cl(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===rl(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Qr(e)!==Qr(t))return!1;var o=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==o&&o===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(Zc(e)||Zc(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=Fl(e),i=Fl(t);if(o&&!i||!o&&i)return!1;if(o)return Al(e=sl.call(e),t=sl.call(t),n);var u,s,a=ul(e),c=ul(t);if(a.length!==c.length)return!1;for(a.sort(),c.sort(),s=a.length-1;s>=0;s--)if(a[s]!==c[s])return!1;for(s=a.length-1;s>=0;s--)if(!Al(e[u=a[s]],t[u],n,r))return!1;return!0;}(e,t,n,r));}return n?e===t:e==t;}function Fl(e){return"[object Arguments]"==Object.prototype.toString.call(e);}function xl(e,t,n){Al(e,t,!1)&&yl(e,t,n,"notDeepEqual",xl);}function Sl(e,t,n){Al(e,t,!0)&&yl(e,t,n,"notDeepStrictEqual",Sl);}function wl(e,t,n){e!==t&&yl(e,t,n,"===",wl);}function Tl(e,t,n){e===t&&yl(e,t,n,"!==",Tl);}function Bl(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0;}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e);}function kl(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e();}catch(e){t=e;}return t;}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&yl(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&Kc(o)&&i&&Bl(o,n)||u)&&yl(o,n,"Got unwanted exception"+r),e&&o&&n&&!Bl(o,n)||!e&&o)throw o;}function Nl(e,t,n){kl(!0,e,t,n);}function Pl(e,t,n){kl(!1,e,t,n);}function Ol(e){if(e)throw e;}pl.AssertionError=hl,_c(hl,Error),pl.fail=yl,pl.ok=Dl,pl.equal=El,pl.notEqual=bl,pl.deepEqual=Cl,pl.deepStrictEqual=vl,pl.notDeepEqual=xl,pl.notDeepStrictEqual=Sl,pl.strictEqual=wl,pl.notStrictEqual=Tl,pl.throws=Nl,pl.doesNotThrow=Pl,pl.ifError=Ol;var Il=o(Object.freeze({__proto__:null,default:pl,AssertionError:hl,fail:yl,ok:Dl,assert:Dl,equal:El,notEqual:bl,deepEqual:Cl,deepStrictEqual:vl,notDeepEqual:xl,notDeepStrictEqual:Sl,strictEqual:wl,notStrictEqual:Tl,throws:Nl,doesNotThrow:Pl,ifError:Ol}));const{builders:{line:jl,hardline:Ll,breakParent:_l,indent:Ml,lineSuffix:Rl,join:Vl,cursor:$l}}=Rn,{hasNewline:ql,skipNewline:Wl,skipSpaces:Ul,isPreviousLineEmpty:zl,addLeadingComment:Hl,addDanglingComment:Gl,addTrailingComment:Jl}=rn,Xl=new WeakMap();function Yl(e,t,n){if(!e)return;const{printer:r,locStart:o,locEnd:i}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(o(n[t])<=o(e)&&i(n[t])<=i(e));--t);return void n.splice(t+1,0,e);}}else if(Xl.has(e))return Xl.get(e);const u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(([e])=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(([,e])=>e);if(u){n||(n=[],Xl.set(e,n));for(const e of u)Yl(e,t,n);return n;}}function Kl(e,t,n,r){const{locStart:o,locEnd:i}=n,u=o(t),s=i(t),a=Yl(e,n);let c,l,p=0,f=a.length;for(;p<f;){const e=p+f>>1,r=a[e],d=o(r),h=i(r);if(d<=u&&s<=h)return Kl(r,t,n,r);if(h<=u)c=r,p=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");l=r,f=e;}}if(r&&"TemplateLiteral"===r.type){const{quasis:e}=r,o=op(e,t,n);c&&op(e,c,n)!==o&&(c=null),l&&op(e,l,n)!==o&&(l=null);}return{enclosingNode:r,precedingNode:c,followingNode:l};}const Ql=()=>!1;const Zl=e=>!/[\S\n\u2028\u2029]/.test(e);function ep(e,t,n,r){const{comment:o,precedingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=u(o);if(i)for(let t=r-1;t>=0;t--){const{comment:r,precedingNode:o}=n[t];if(o!==i||!Zl(e.slice(s(r),a)))break;a=u(r);}return ql(e,a,{backwards:!0});}function tp(e,t,n,r){const{comment:o,followingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=s(o);if(i)for(let t=r+1;t<n.length;t++){const{comment:r,followingNode:o}=n[t];if(o!==i||!Zl(e.slice(a,u(r))))break;a=s(r);}return ql(e,a);}function np(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:o,followingNode:i,enclosingNode:u}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/;let a,c=n.locStart(i);for(a=r;a>0;--a){const{comment:r,precedingNode:u,followingNode:l}=e[a-1];Il.strictEqual(u,o),Il.strictEqual(l,i);const p=t.slice(n.locEnd(r),c);if(!s.test(p))break;c=n.locStart(r);}for(const[t,{comment:n}]of e.entries())t<a?Jl(o,n):Hl(i,n);for(const e of[o,i])e.comments&&e.comments.length>1&&e.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0;}function rp(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t);}function op(e,t,n){const r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0;}function ip(e,t,n){const r=e.getValue();if(!r)return{};let o=r.comments||[];n&&(o=o.filter(e=>!n.has(e)));const i=r===t.cursorNode;if(0===o.length){const e=i?$l:"";return{leading:e,trailing:e};}const u=[],s=[];return e.each(()=>{const r=e.getValue();if(n&&n.has(r))return;const{leading:o,trailing:i}=r;o?u.push(function(e,t){const n=e.getValue(),r=[rp(e,t)],{printer:o,originalText:i,locStart:u,locEnd:s}=t;if(o.isBlockComment&&o.isBlockComment(n)){const e=ql(i,s(n))?ql(i,u(n),{backwards:!0})?Ll:jl:" ";r.push(e);}else r.push(Ll);const a=Wl(i,Ul(i,s(n)));return!1!==a&&ql(i,a)&&r.push(Ll),r;}(e,t)):i&&s.push(function(e,t){const n=e.getValue(),r=rp(e,t),{printer:o,originalText:i,locStart:u}=t,s=o.isBlockComment&&o.isBlockComment(n);if(ql(i,u(n),{backwards:!0})){const e=zl(i,n,u);return Rl([Ll,e?Ll:"",r]);}let a=[" ",r];return s||(a=[Rl(a),_l]),a;}(e,t));},"comments"),i&&(u.unshift($l),s.push($l)),{leading:u,trailing:s};}var up={attach:function(e,t,n,r){if(!Array.isArray(e))return;const o=[],{locStart:i,locEnd:u,printer:{handleComments:s={}}}=r,{avoidAstMutation:a,ownLine:c=Ql,endOfLine:l=Ql,remaining:p=Ql}=s,f=e.map((o,i)=>Object.assign({},Kl(t,o,r),{comment:o,text:n,options:r,ast:t,isLastComment:e.length-1===i}));for(const[e,t]of f.entries()){const{comment:n,precedingNode:r,enclosingNode:s,followingNode:d,text:h,options:m,ast:g,isLastComment:y}=t;if("json"===m.parser||"json5"===m.parser||"__js_expression"===m.parser||"__vue_expression"===m.parser){if(i(n)-i(g)<=0){Hl(g,n);continue;}if(u(n)-u(g)>=0){Jl(g,n);continue;}}let D;if(a?D=[t]:(n.enclosingNode=s,n.precedingNode=r,n.followingNode=d,D=[n,h,m,g,y]),ep(h,m,f,e))n.placement="ownLine",c(...D)||(d?Hl(d,n):r?Jl(r,n):Gl(s||g,n));else if(tp(h,m,f,e))n.placement="endOfLine",l(...D)||(r?Jl(r,n):d?Hl(d,n):Gl(s||g,n));else if(n.placement="remaining",p(...D));else if(r&&d){const e=o.length;if(e>0){o[e-1].followingNode!==d&&np(o,h,m);}o.push(t);}else r?Jl(r,n):d?Hl(d,n):Gl(s||g,n);}if(np(o,n,r),!a)for(const t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode;},printComments:function(e,t,n,r){const{leading:o,trailing:i}=ip(e,n,r);return o||i?[o,t,i]:t;},printCommentsSeparately:ip,printDanglingComments:function(e,t,n,r){const o=[],i=e.getValue();return i&&i.comments?(e.each(()=>{const n=e.getValue();n.leading||n.trailing||r&&!r(n)||o.push(rp(e,t));},"comments"),0===o.length?"":n?Vl(Ll,o):Ml([Ll,Vl(Ll,o)])):"";},getSortedChildNodes:Yl,ensureAllCommentsPrinted:function(e){if(e)for(const t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed;}}};function sp(e,t){const n=ap(e.stack,t);return-1===n?null:e.stack[n];}function ap(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n;}return-1;}var cp=class{constructor(e){this.stack=[e];}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null;}getValue(){return ke(this.stack);}getNode(e=0){return sp(this,e);}getParentNode(e=0){return sp(this,e+1);}call(e,...t){const{stack:n}=this,{length:r}=n;let o=ke(n);for(const e of t)o=o[e],n.push(e,o);const i=e(this);return n.length=r,i;}callParent(e,t=0){const n=ap(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o;}each(e,...t){const{stack:n}=this,{length:r}=n;let o=ke(n);for(const e of t)o=o[e],n.push(e,o);for(let t=0;t<o.length;++t)n.push(t,o[t]),e(this,t,o),n.length-=2;n.length=r;}map(e,...t){const n=[];return this.each((t,r,o)=>{n[r]=e(t,r,o);},...t),n;}try(e){const{stack:t}=this,n=[...t];try{return e();}finally{t.length=0,t.push(...n);}}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const o of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),o&&!o(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--];}return!0;}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let o=null;if("number"==typeof n&&(o=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,o))return r;n=this.stack[t--],r=this.stack[t--];}}};const{utils:{stripTrailingHardline:lp}}=Rn,{normalize:pp}=jc;var fp={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,o)=>function(e,t,n,r,{stripTrailingHardline:o=!1}={}){const i=pp(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=Bc.parse(e,i),{ast:s}=u;e=u.text;const a=s.comments;delete s.comments,up.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];const c=r(s,i);if(up.ensureAllCommentsPrinted(a),o)return"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):lp(c);return c;}(e,t,n,r,o),n);}};const{builders:{hardline:dp,addAlignmentToDoc:hp},utils:{propagateBreaks:mp}}=Rn,{printComments:gp}=up;function yp(e,t,n=0){const{printer:o}=t;o.preprocess&&(e=o.preprocess(e,t));const i=new Map(),u=new cp(e);let s=a();return n>0&&(s=hp([dp,s],n,t.tabWidth)),mp(s),s;function a(e,t){return void 0===e||e===u?c(t):Array.isArray(e)?u.call(()=>c(t),...e):u.call(()=>c(t),e);}function c(e){const n=u.getValue(),o=n&&"object"==typeof n&&void 0===e;if(o&&i.has(n))return i.get(n);const s=function(e,t,n,o){const i=e.getValue(),{printer:u}=t;let s,a;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(e))({doc:s,printedComments:a}=function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:i}=t,u=o(e),s=i(e),a=new Set();for(const e of r)o(e)>=u&&i(e)<=s&&(e.printed=!0,a.add(e));return{doc:n.slice(u,s),printedComments:a};}(i,t));else{if(i)try{s=fp.printSubtree(e,n,t,yp);}catch(e){if(r.PRETTIER_DEBUG)throw e;}s||(s=u.print(e,t,n,o));}u.willPrintOwnComments&&u.willPrintOwnComments(e,t)||(s=gp(e,s,t,a));return s;}(u,t,a,e);return o&&i.set(n,s),s;}}var Dp=yp;function Ep(e){let t=e.length-1;for(;;){const n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--;}return e.slice(0,t+1);}function bp(e,t,n,r,o=[],i){const{locStart:u,locEnd:s}=n,a=u(e),c=s(e);if(!(t>c||t<a||"rangeEnd"===i&&t===a||"rangeStart"===i&&t===c)){for(const u of up.getSortedChildNodes(e,n)){const s=bp(u,t,n,r,[e,...o],i);if(s)return s;}return!r||r(e,o[0])?{node:e,parentNodes:o}:void 0;}}const Cp=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),vp=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Ap(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"));}(t.type,n&&n.type);case"json":case"json5":case"json-stringify":return Cp.has(t.type);case"graphql":return vp.has(t.kind);case"vue":return"root"!==t.tag;}return!1;}var Fp={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:o,locStart:i,locEnd:u}=t;Il.ok(o>r);const s=e.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(e[o-1]);--o);const c=bp(n,r,t,(e,n)=>Ap(t,e,n),[],"rangeStart"),l=a?c:bp(n,o,t,e=>Ap(t,e),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,f;if((({parser:e})=>"json"===e||"json5"===e||"json-stringify"===e)(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(e=>Cp.has(e.type)&&r.has(e));}(c,l);p=e,f=e;}else({startNode:p,endNode:f}=function(e,t,{locStart:n,locEnd:r}){let o=e.node,i=t.node;if(o===i)return{startNode:o,endNode:i};const u=n(e.node);for(const e of Ep(t.parentNodes)){if(!(n(e)>=u))break;i=e;}const s=r(t.node);for(const t of Ep(e.parentNodes)){if(!(r(t)<=s))break;o=t;}return{startNode:o,endNode:i};}(c,l,t));return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))};},findNodeAtOffset:bp};const{printer:{printDocToString:xp},debug:{printDocToDebug:Sp}}=Rn,{getAlignmentSize:wp}=rn,{guessEndOfLine:Tp,convertEndOfLineToChars:Bp,countEndOfLineChars:kp,normalizeEndOfLine:Np}=on,Pp=jc.normalize,Op=Symbol("cursor");function Ip(e,t,n){const r=t.comments;return r&&(delete t.comments,up.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r;}function jp(e,t,n=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:o}=Bc.parse(e,t);if(t.cursorOffset>=0){const e=Fp.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node);}const i=Ip(o,r,t),u=Dp(r,t,n),s=xp(u,t);if(up.ensureAllCommentsPrinted(i),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+Bp(t.endOfLine);}if(t.cursorOffset>=0){let e,n,r,u,a;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,u=s.cursorNodeStart,a=s.cursorNodeText):(e=0,n=o,r=t.cursorOffset,u=0,a=s.formatted),n===a)return{formatted:s.formatted,cursorOffset:u+r,comments:i};const c=n.split("");c.splice(r,0,Op);const l=a.split(""),p=pe.diffArrays(c,l);let f=u;for(const e of p)if(e.removed){if(e.value.includes(Op))break;}else f+=e.count;return{formatted:s.formatted,cursorOffset:f,comments:i};}return{formatted:s.formatted,cursorOffset:-1,comments:i};}function Lp(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t;}function _p(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=t;return n=Lp(e,n,-1),r=Lp(e,r,0),o=Lp(e,o,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o});}function Mp(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}=_p(e,t);const u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=Tp(e)),e.includes("\r")){const t=t=>kp(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),o-=t(o),e=Np(e);}return{hasBOM:u,text:e,options:_p(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))};}function Rp(e,t){const n=Bc.resolveParser(t);return!n.hasPragma||n.hasPragma(e);}function Vp(e,t){let n,{hasBOM:r,text:o,options:i}=Mp(e,Pp(t));return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!Rp(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<o.length?n=function(e,t){const{ast:n,text:r}=Bc.parse(e,t),{rangeStart:o,rangeEnd:i}=Fp.calculateRange(r,t,n),u=r.slice(o,i),s=Math.min(o,r.lastIndexOf("\n",o)+1),a=r.slice(s,o).match(/^\s*/)[0],c=wp(a,t.tabWidth),l=jp(u,Object.assign({},t,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<i?t.cursorOffset-o:-1,endOfLine:"lf"}),c),p=l.formatted.trimEnd();let{cursorOffset:f}=t;f>=i?f+=p.length-u.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let d=r.slice(0,o)+p+r.slice(i);if("lf"!==t.endOfLine){const e=Bp(t.endOfLine);f>=0&&"\r\n"===e&&(f+=kp(d.slice(0,f),"\n")),d=d.replace(/\n/g,e);}return{formatted:d,cursorOffset:f,comments:l.comments};}(o,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Rp(o,i)&&(o=i.printer.insertPragma(o)),n=jp(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n);}var $p={formatWithCursor:Vp,parse(e,t,n){const{text:r,options:o}=Mp(e,Pp(t)),i=Bc.parse(r,o);return n&&(i.ast=Lc(i.ast,o)),i;},formatAST(e,t){t=Pp(t);const n=Dp(e,t);return xp(n,t);},formatDoc:(e,t)=>Vp(Sp(e),Object.assign({},t,{parser:"__js_expression"})).formatted,printToDoc(e,t){t=Pp(t);const{ast:n,text:r}=Bc.parse(e,t);return Ip(r,n,t),Dp(n,t);},printDocToString:(e,t)=>xp(e,Pp(t))};const{getMaxContinuousCount:qp,getStringWidth:Wp,getAlignmentSize:Up,getIndentSize:zp,skip:Hp,skipWhitespace:Gp,skipSpaces:Jp,skipNewline:Xp,skipToLineEnd:Yp,skipEverythingButNewLine:Kp,skipInlineComment:Qp,skipTrailingComment:Zp,hasNewline:ef,hasNewlineInRange:tf,hasSpaces:nf,isNextLineEmpty:rf,isNextLineEmptyAfterIndex:of,isPreviousLineEmpty:uf,getNextNonSpaceNonCommentCharacterIndex:sf,makeString:af,addLeadingComment:cf,addDanglingComment:lf,addTrailingComment:pf}=rn;var ff={getMaxContinuousCount:qp,getStringWidth:Wp,getAlignmentSize:Up,getIndentSize:zp,skip:Hp,skipWhitespace:Gp,skipSpaces:Jp,skipNewline:Xp,skipToLineEnd:Yp,skipEverythingButNewLine:Kp,skipInlineComment:Qp,skipTrailingComment:Zp,hasNewline:ef,hasNewlineInRange:tf,hasSpaces:nf,isNextLineEmpty:rf,isNextLineEmptyAfterIndex:of,isPreviousLineEmpty:uf,getNextNonSpaceNonCommentCharacterIndex:sf,makeString:af,addLeadingComment:cf,addDanglingComment:lf,addTrailingComment:pf},df=function(t,n){const{languageId:r}=t,o=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},o,n(t));},hf=i(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.alternate:e.consequent;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};}();}),mf=i(function(e){!function(){var t,n,r,o,i,u;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320);}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=new Array(128),u=0;u<128;++u)o[u]=u>=97&&u<=122||u>=65&&u<=90||36===u||95===u;for(i=new Array(128),u=0;u<128;++u)i[u]=u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||36===u||95===u;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57;},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70;},isOctalDigit:function(e){return e>=48&&e<=55;},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0;},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e;},isIdentifierStartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierStart.test(s(e));},isIdentifierPartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(s(e));},isIdentifierStartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(s(e));},isIdentifierPartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(s(e));}};}();}),gf=i(function(e){!function(){var t=mf;function n(e,t){return!(!t&&"yield"===e)&&r(e,t);}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1;}}(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 o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t);}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t);}function u(e){var n,r,o;if(0===e.length)return!1;if(o=e.charCodeAt(0),!t.isIdentifierStartES5(o))return!1;for(n=1,r=e.length;n<r;++n)if(o=e.charCodeAt(n),!t.isIdentifierPartES5(o))return!1;return!0;}function s(e){var n,r,o,i,u;if(0===e.length)return!1;for(u=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(o=e.charCodeAt(n))&&o<=56319){if(++n>=r)return!1;if(!(56320<=(i=e.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536;}if(!u(o))return!1;u=t.isIdentifierPartES6;}return!0;}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:o,isReservedWordES6:i,isRestrictedWord:function(e){return"eval"===e||"arguments"===e;},isIdentifierNameES5:u,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return u(e)&&!o(e,t);},isIdentifierES6:function(e,t){return s(e)&&!i(e,t);}};}();});const yf=i(function(e,t){t.ast=hf,t.code=mf,t.keyword=gf;}).keyword.isIdentifierNameES5,{getLast:Df,hasNewline:Ef,skipWhitespace:bf,isNonEmptyArray:Cf,isNextLineEmptyAfterIndex:vf}=rn,{locStart:Af,locEnd:Ff,hasSameLocStart:xf}=ea,Sf="(?:(?=.)\\s)",wf=new RegExp("^".concat(Sf,"*:")),Tf=new RegExp("^".concat(Sf,"*::"));function Bf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Uf(e)||zf(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type;}function kf(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type;}function Nf(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type;}const Pf=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Of(e){return e&&Pf.has(e.type);}function If(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value;}function jf(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value;}function Lf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type;}function _f(e){return Uf(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name);}function Mf(e){return"JSXElement"===e.type||"JSXFragment"===e.type;}function Rf(e){return"get"===e.kind||"set"===e.kind;}function Vf(e){return Rf(e)||xf(e,e.value);}const $f=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const qf=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);const Wf=/^(skip|[fx]?(it|describe|test))$/;function Uf(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type);}function zf(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type);}function Hf(e,t){return Mf(t)?id(t):ad(t,ud.Leading,t=>Ef(e,Ff(t)));}function Gf(e){return /^(\d+|\d+\.\d+)$/.test(e);}function Jf(e){return e.quasis.some(e=>e.value.raw.includes("\n"));}function Xf(e){return e.extra?e.extra.raw:e.raw;}const Yf={"==":!0,"!=":!0,"===":!0,"!==":!0},Kf={"*":!0,"/":!0,"%":!0},Qf={">>":!0,">>>":!0,"<<":!0};const Zf={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const n of t)Zf[n]=e;function ed(e){return Zf[e];}const td=new WeakMap();function nd(e){if(td.has(e))return td.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),td.set(e,t),t;}const rd=new WeakMap();function od(e){return"prettier-ignore"===e.value.trim()&&!e.unignore;}function id(e){return e&&(e.prettierIgnore||ad(e,ud.PrettierIgnore));}const ud={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},sd=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,o)=>!(e&ud.Leading&&!n.leading||e&ud.Trailing&&!n.trailing||e&ud.Dangling&&(n.leading||n.trailing)||e&ud.Block&&!kf(n)||e&ud.Line&&!Nf(n)||e&ud.First&&0!==r||e&ud.Last&&r!==o.length-1||e&ud.PrettierIgnore&&!od(n)||t&&!t(n));};function ad(e,t,n){if(!e||!Cf(e.comments))return!1;const r=sd(t,n);return!r||e.comments.some(r);}function cd(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=sd(t,n);return r?e.comments.filter(r):e.comments;}function ld(e){return Uf(e)||"NewExpression"===e.type||"ImportExpression"===e.type;}var pd={getFunctionParameters:nd,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const o=e=>t(e,r++);n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest");},getCallArguments:function(e){if(rd.has(e))return rd.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return rd.set(e,t),t;},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call(e=>t(e,0),"source"):e.each(t,"arguments");},hasRestParameter:function(e){if(e.rest)return!0;const t=nd(e);return t.length>0&&"RestElement"===Df(t).type;},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.");},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Of(t)?t:null;},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t;},hasFlowAnnotationComment:function(e){return e&&kf(e[0])&&Tf.test(e[0].value);},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&Cf(e.trailingComments)&&kf(e.trailingComments[0])&&wf.test(e.trailingComments[0].value);},hasLeadingOwnLineComment:Hf,hasNakedLeftSide:Bf,hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(t=>e(t,n));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some(t=>e(t,n));},hasIgnoreComment:function(e){return id(e.getValue());},hasNodeIgnoreComment:id,identity:function(e){return e;},isBinaryish:function(e){return $f.has(e.type);},isBlockComment:kf,isCallLikeExpression:ld,isLineComment:Nf,isPrettierIgnoreComment:od,isCallExpression:Uf,isMemberExpression:zf,isExportDeclaration:Of,isFlowAnnotationComment:function(e,t){const n=Af(t),r=bf(e,Ff(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2);},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(Lf(n)){if(t+=1,t>1)return!0;}else if(Uf(n))for(const e of n.arguments)if(Lf(e))return!0;return!1;},isFunctionNotation:Vf,isFunctionOrArrowExpression:Lf,isGetterOrSetter:Rf,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name));},isJsxNode:Mf,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type;},isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return Uf(t)&&Uf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0;},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&o.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every(e=>!e.value.raw.includes("\n"))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):ld(t)?e(t.callee,n)&&t.arguments.every(r):zf(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)));},isMemberish:function(e){return zf(e)||"BindExpression"===e.type&&Boolean(e.object);},isNumericLiteral:If,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&If(e.argument);},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type;},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Vf(e));},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!qf.has(e.type));},isSimpleNumber:Gf,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(ad(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(zf(e)){let t=e;for(;zf(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,ad(t))return!1;}return"Identifier"===t.type||"ThisExpression"===t.type;}return!1;});},isStringLiteral:jf,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&jf(e.key)&&Xf(e.key).slice(1,-1)===e.key.value&&(yf(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Gf(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser));},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&Jf(e)||"TaggedTemplateExpression"===e.type&&Jf(e.quasi))&&!Ef(t,Af(e),{backwards:!0});},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(_f(t)&&n&&e(n))return Lf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length;}(t))return _f(t.arguments[0]);}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Wf.test(t.callee.name)||function(e){return zf(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Wf.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name);}(t))&&(function(e){return"TemplateLiteral"===e.type;}(t.arguments[0])||jf(t.arguments[0])))return!(t.arguments[2]&&!If(t.arguments[2]))&&((2===t.arguments.length?Lf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type;}(t.arguments[1])&&nd(t.arguments[1]).length<=1)||_f(t.arguments[1]));return!1;},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!Mf(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length;},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath);},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||xf(e,e.typeAnnotation));},isNextLineEmpty:(e,{originalText:t})=>vf(t,Ff(e)),needsHardlineAfterDanglingComment:function(e){if(!ad(e))return!1;const t=Df(cd(e,ud.Dangling));return t&&!kf(t);},rawText:Xf,returnArgumentHasLeadingComment:function(e,t){if(Hf(e.originalText,t))return!0;if(Bf(t)){let r,o=t;for(;r=(n=o).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(o=r,Hf(e.originalText,o))return!0;}var n;return!1;},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t);},isBitwiseOperator:function(e){return Boolean(Qf[e])||"|"===e||"^"===e||"&"===e;},shouldFlatten:function(e,t){return ed(t)===ed(e)&&"**"!==e&&(!Yf[e]||!Yf[t])&&!("%"===t&&Kf[e]||"%"===e&&Kf[t])&&(t===e||!Kf[t]||!Kf[e])&&(!Qf[e]||!Qf[t]);},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e;}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1;}},getPrecedence:ed,hasComment:ad,getComments:cd,CommentCheckFlags:ud};const{getStringWidth:fd,getIndentSize:dd}=rn,{builders:{join:hd,hardline:md,softline:gd,group:yd,indent:Dd,align:Ed,lineSuffixBoundary:bd,addAlignmentToDoc:Cd},printer:{printDocToString:vd},utils:{mapDoc:Ad}}=Rn,{isBinaryish:Fd,isJestEachTemplateLiteral:xd,isSimpleTemplateLiteral:Sd,hasComment:wd,isMemberExpression:Td}=pd;function Bd(e){return e.replace(/([\\`]|\${)/g,"\\$1");}var kd={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&xd(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some(e=>e.length>0)){t.__inJestEach=!0;const i=e.map(n,"expressions");t.__inJestEach=!1;const u=[],s=i.map(e=>"${"+vd(e,Object.assign({},t,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),a=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<r.quasis.length;e++){const t=ke(a),n=s[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),r.quasis[e].value.raw.includes("\n")&&a.push({hasLineBreak:!1,cells:[]});}const c=Math.max(o.length,...a.map(e=>e.cells.length)),l=Array.from({length:c}).fill(0),p=[{cells:o},...a.filter(e=>e.cells.length>0)];for(const{cells:e}of p.filter(e=>!e.hasLineBreak))for(const[t,n]of e.entries())l[t]=Math.max(l[t],fd(n));return u.push(bd,"`",Dd([md,hd(md,p.map(e=>hd(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(l[n]-fd(t))))))]),md,"`"),u;}}(e,n,t);if(r)return r;}let o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");const i=[];let u=e.map(t,o);const s=Sd(r);return s&&(u=u.map(e=>vd(e,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted)),i.push(bd,"`"),e.each(e=>{const a=e.getName();if(i.push(t()),a<u.length){const{tabWidth:t}=n,c=e.getValue(),l=dd(c.value.raw,t);let p=u[a];if(!s){const e=r[o][a];(wd(e)||Td(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||Fd(e))&&(p=[Dd([gd,p]),gd]);}const f=0===l&&c.value.raw.endsWith("\n")?Ed(Number.NEGATIVE_INFINITY,p):Cd(p,l,t);i.push(yd(["${",f,bd,"}"]));}},"quasis"),i.push("`"),i;},printTemplateExpressions:function(e,t){return e.map(e=>function(e,t){const n=e.getValue();let r=t();return wd(n)&&(r=yd([Dd([gd,r]),gd])),["${",r,bd,"}"];}(e,t),"expressions");},escapeTemplateCharacters:function(e,t){return Ad(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):Bd(e):e);},uncookTemplateElementValue:Bd};const{builders:{indent:Nd,softline:Pd,literalline:Od,dedentToRoot:Id}}=Rn,{escapeTemplateCharacters:jd}=kd;var Ld=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`");const o=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1];}(r),i=""!==o;i&&(r=r.replace(new RegExp("^".concat(o),"gm"),""));const u=jd(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?Nd([Pd,u]):[Od,Id(u)],Pd,"`"];};const{isNonEmptyArray:_d}=rn,{builders:{indent:Md,hardline:Rd,softline:Vd},utils:{mapDoc:$d,replaceNewlinesWithLiterallines:qd,cleanDoc:Wd}}=Rn,{printTemplateExpressions:Ud}=kd;var zd=function(e,t,n){const r=e.getValue(),o=r.quasis.map(e=>e.value.raw);let i=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!_d(t))return e;let n=0;const r=$d(Wd(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,r)=>r%2==0?qd(e):(n++,t[e])):e);return t.length===n?r:null;}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",Md([Rd,r]),Vd,"`"];}(n(o.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+i++ +"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,Ud(e,t));};const{builders:{indent:Hd,join:Gd,hardline:Jd}}=Rn,{escapeTemplateCharacters:Xd,printTemplateExpressions:Yd}=kd;function Kd(e){const t=[];let n=!1;const r=e.map(e=>e.trim());for(const[e,o]of r.entries())""!==o&&(""===r[e-1]&&n?t.push([Jd,o]):t.push(o),n=!0);return 0===t.length?null:Gd(Jd,t);}var Qd=function(e,t,n){const r=e.getValue(),o=r.quasis.length;if(1===o&&""===r.quasis[0].value.raw.trim())return"``";const i=Yd(e,t),u=[];for(let e=0;e<o;e++){const t=0===e,s=e===o-1,a=r.quasis[e].value.cooked,c=a.split("\n"),l=c.length,p=i[e],f=l>2&&""===c[0].trim()&&""===c[1].trim(),d=l>2&&""===c[l-1].trim()&&""===c[l-2].trim(),h=c.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!s&&/#[^\n\r]*$/.test(c[l-1]))return null;let m=null;m=h?Kd(c):n(a,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=Xd(m,!1),!t&&f&&u.push(""),u.push(m),!s&&d&&u.push("")):t||s||!f||u.push(""),p&&u.push(p);}return["`",Hd([Jd,Gd(Jd,u)]),Jd,"`"];};const{builders:{indent:Zd,line:eh,hardline:th,group:nh},utils:{mapDoc:rh}}=Rn,{printTemplateExpressions:oh,uncookTemplateElementValue:ih}=kd;let uh=0;var sh=function(e,t,n,r,{parser:o}){const i=e.getValue(),u=uh;uh=uh+1>>>0;const s=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(u,"_IN_JS"),a=i.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t)).join(""),c=oh(e,t);if(0===c.length&&0===a.trim().length)return"``";const l=new RegExp(s("(\\d+)"),"g");let p=0;const f=n(a,{parser:o,__onHtmlRoot(e){p=e.children.length;}},{stripTrailingHardline:!0}),d=rh(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(l);for(let e=0;e<n.length;e++){let o=n[e];if(e%2==0){o&&(o=ih(o),r.__embeddedInHtml&&(o=o.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(o));continue;}const i=Number(o);t.push(c[i]);}return t;}),h=/^\s/.test(a)?" ":"",m=/\s$/.test(a)?" ":"",g="ignore"===r.htmlWhitespaceSensitivity?th:h&&m?eh:null;return nh(g?["`",Zd([g,nh(d)]),g,"`"]:["`",h,p>1?Zd(nh(d)):nh(d),m,"`"]);};const{hasComment:ah,CommentCheckFlags:ch}=pd;function lh(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name);}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return fh(n.object)||dh(n);case"CallExpression":return fh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(fh(n.callee.object.object)||dh(n.callee.object))||"CallExpression"===n.callee.object.type&&fh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1;}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name;}(e)||function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...ph);}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name);}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t);}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...ph);}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name);}(e)?"markdown":void 0;}const ph=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function fh(e){return"Identifier"===e.type&&"styled"===e.name;}function dh(e){return /^[A-Z]/.test(e.object.name)&&"extend"===e.property.name;}function hh(e,t){return ah(e,ch.Block|ch.Leading,({value:e})=>e===" ".concat(t," "));}var mh=function(e,t,n,r){const o=e.getValue();if("TemplateLiteral"!==o.type||function({quasis:e}){return e.some(({value:{cooked:e}})=>null===e);}(o))return;const i=lh(e);return i?"markdown"===i?Ld(e,t,n):"css"===i?zd(e,t,n):"graphql"===i?Qd(e,t,n):"html"===i||"angular"===i?sh(e,t,n,r,{parser:i}):void 0:void 0;};const{isBlockComment:gh}=pd,yh=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Dh=e=>{for(const t of e.quasis)delete t.value;};function Eh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name))for(const{type:e,expression:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&Dh(n);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Dh(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;for(const[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&Dh(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&Dh(r.value);}}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Dh(t.quasi),"TemplateLiteral"===e.type){(e.leadingComments&&e.leadingComments.some(e=>gh(e)&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Dh(t);}return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0];}Eh.ignoredProperties=yh;var bh=Eh;const Ch=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n";};var vh=Ch;vh.graceful=e=>"string"==typeof e&&Ch(e)||"\n";var Ah=function(e){const t=e.match(Ph);return t?t[0].trimLeft():"";},Fh=function(e){const t=e.match(Ph);return t&&t[0]?e.substring(t[0].length):e;},xh=function(e){return Rh(e).pragmas;},Sh=Rh,wh=function({comments:e="",pragmas:t={}}){const n=(0,Bh().default)(e)||Th().EOL,r=" *",o=Object.keys(t),i=o.map(e=>Vh(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+n).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){const e=t[o[0]];return"".concat("/**"," ").concat(Vh(o[0],e)[0]).concat(" */");}}const u=e.split(n).map(e=>"".concat(r," ").concat(e)).join(n)+n;return"/**"+n+(e?u:"")+(e&&o.length?r+n:"")+i+" */";};function Th(){const e=Uo;return Th=function(){return e;},e;}function Bh(){const e=function(e){return e&&e.__esModule?e:{default:e};}(vh);return Bh=function(){return e;},e;}const kh=/\*\/$/,Nh=/^\/\*\*/,Ph=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oh=/(^|\s+)\/\/([^\r\n]*)/g,Ih=/^(\r?\n)+/,jh=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Lh=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_h=/(\r?\n|^) *\* ?/g,Mh=[];function Rh(e){const t=(0,Bh().default)(e)||Th().EOL;e=e.replace(Nh,"").replace(kh,"").replace(_h,"$1");let n="";for(;n!==e;)n=e,e=e.replace(jh,"".concat(t,"$1 $2").concat(t));e=e.replace(Ih,"").trimRight();const r=Object.create(null),o=e.replace(Lh,"").replace(Ih,"").trimRight();let i;for(;i=Lh.exec(e);){const e=i[2].replace(Oh,"");"string"==typeof r[i[1]]||Array.isArray(r[i[1]])?r[i[1]]=Mh.concat(r[i[1]],e):r[i[1]]=e;}return{comments:o,pragmas:r};}function Vh(e,t){return Mh.concat(t).map(t=>"@".concat(e," ").concat(t).trim());}var $h=Object.defineProperty({extract:Ah,strip:Fh,parse:xh,parseWithComments:Sh,print:wh},"__esModule",{value:!0});const{parseWithComments:qh,strip:Wh,extract:Uh,print:zh}=$h,{getShebang:Hh}=rn,{normalizeEndOfLine:Gh}=on;function Jh(e){const t=Hh(e);t&&(e=e.slice(t.length+1));const n=Uh(e),{pragmas:r,comments:o}=qh(n);return{shebang:t,text:e,pragmas:r,comments:o};}var Xh={hasPragma:function(e){const t=Object.keys(Jh(e).pragmas);return t.includes("prettier")||t.includes("format");},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:o}=Jh(e),i=Wh(n),u=zh({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Gh(u)+(i.startsWith("\n")?"\n":"\n\n")+i;}};const{getLast:Yh,hasNewline:Kh,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Qh,getNextNonSpaceNonCommentCharacter:Zh,hasNewlineInRange:em,addLeadingComment:tm,addTrailingComment:nm,addDanglingComment:rm,getNextNonSpaceNonCommentCharacterIndex:om,isNonEmptyArray:im}=rn,{isBlockComment:um,getFunctionParameters:sm,isPrettierIgnoreComment:am,isJsxNode:cm,hasFlowShorthandAnnotationComment:lm,hasFlowAnnotationComment:pm,hasIgnoreComment:fm,isCallLikeExpression:dm,getCallArguments:hm,isCallExpression:mm,isMemberExpression:gm}=pd,{locStart:ym,locEnd:Dm}=ea;function Em(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?tm(n,t):rm(e,t);}function bm(e,t){"BlockStatement"===e.type?Em(e,t):tm(e,t);}function Cm({comment:e,followingNode:t}){return!(!t||!Ym(e))&&(tm(t,e),!0);}function vm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){if(!n||"IfStatement"!==n.type||!r)return!1;return")"===Zh(o,e,Dm)?(nm(t,e),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?nm(t,e):rm(n,e),!0):"BlockStatement"===r.type?(Em(r,e),!0):"IfStatement"===r.type?(bm(r.consequent,e),!0):n.consequent===r&&(tm(r,e),!0);}function Am({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){if(!n||"WhileStatement"!==n.type||!r)return!1;return")"===Zh(o,e,Dm)?(nm(t,e),!0):"BlockStatement"===r.type?(Em(r,e),!0):n.body===r&&(tm(r,e),!0);}function Fm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(nm(t,e),!0):"BlockStatement"===r.type?(Em(r,e),!0):"TryStatement"===r.type?(bm(r.finalizer,e),!0):"CatchClause"===r.type&&(bm(r.body,e),!0));}function xm({comment:e,enclosingNode:t,followingNode:n}){return!(!gm(t)||!n||"Identifier"!==n.type)&&(tm(t,e),!0);}function Sm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){const i=t&&!em(o,Dm(t),ym(e));return!(t&&i||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r)&&(tm(r,e),!0);}function wm({comment:e,precedingNode:t,enclosingNode:n}){return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(nm(n.value.left,e),!0);}function Tm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(im(n.decorators)&&(!r||"Decorator"!==r.type))return nm(Yh(n.decorators),e),!0;if(n.body&&r===n.body)return Em(n.body,e),!0;if(r)for(const o of["implements","extends","mixins"])if(n[o]&&r===n[o][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?rm(n,e,o):nm(t,e),!0;}return!1;}function Bm({comment:e,precedingNode:t,enclosingNode:n,text:r}){return(n&&t&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===t.type&&n.key===t&&":"!==Zh(r,t,Dm)||!(!t||!n||"Decorator"!==t.type||"ClassMethod"!==n.type&&"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type&&"TSAbstractClassProperty"!==n.type&&"TSAbstractMethodDefinition"!==n.type&&"TSDeclareMethod"!==n.type&&"MethodDefinition"!==n.type))&&(nm(t,e),!0);}function km({comment:e,precedingNode:t,enclosingNode:n,text:r}){return"("===Zh(r,e,Dm)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(nm(t,e),!0);}function Nm({comment:e,enclosingNode:t,text:n}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=om(n,e,Dm);return!1!==r&&"=>"===n.slice(r,r+2)&&(rm(t,e),!0);}function Pm({comment:e,enclosingNode:t,text:n}){return")"===Zh(n,e,Dm)&&(t&&(Xm(t)&&0===sm(t).length||dm(t)&&0===hm(t).length)?(rm(t,e),!0):!(!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==sm(t.value).length)&&(rm(t.value,e),!0));}function Om({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return nm(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Xm(n)&&")"===Zh(o,e,Dm))return nm(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{const e=sm(n);if(e.length>0)return Qh(o,Dm(Yh(e)));const t=Qh(o,Dm(n.id));return!1!==t&&Qh(o,t+1);})();if(ym(e)>t)return Em(r,e),!0;}return!1;}function Im({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type)&&(tm(t,e),!0);}function jm({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type)&&(tm(t,e),!0);}function Lm({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(nm(t,e),!0);}function _m({comment:e,precedingNode:t,enclosingNode:n}){return!!(mm(n)&&t&&n.callee===t&&n.arguments.length>0)&&(tm(n.arguments[0],e),!0);}function Mm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&am(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(am(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(nm(t,e),!0));}function Rm({comment:e,enclosingNode:t}){return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type)&&(tm(t,e),!0);}function Vm({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:o}){return r&&r.body&&0===r.body.length?(o?rm(r,e):tm(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&t.directives&&0===t.directives.length?(o?rm(t,e):tm(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type)&&(rm(n,e),!0);}function $m({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(tm(t,e),!0);}function qm({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&Kh(r,Dm(e)))&&(nm(t,e),!0);}function Wm({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type)&&(tm(t,e),!0);}function Um({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type)&&(tm(t,e),!0);}function zm({comment:e,enclosingNode:t,followingNode:n}){return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!um(e))&&(tm(n,e),!0);}function Hm({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Zh(r,e,Dm))&&(nm(t,e),!0);}function Gm({comment:e,enclosingNode:t,followingNode:n}){if(am(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0;}function Jm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(tm(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(nm(t.constraint,e),!0));}function Xm(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type;}function Ym(e){return um(e)&&"*"===e.value[0]&&/@type\b/.test(e.value);}var Km={handleOwnLineComment:function(e){return[Gm,Om,xm,vm,Am,Fm,Tm,Im,$m,Mm,Vm,qm,Wm,Bm,jm].some(t=>t(e));},handleEndOfLineComment:function(e){return[Cm,Om,Sm,Im,vm,Am,Fm,Tm,jm,_m,Rm,Vm,Um,zm].some(t=>t(e));},handleRemainingComment:function(e){return[Gm,vm,Am,wm,Pm,Bm,Vm,Nm,km,Jm,Lm,Hm].some(t=>t(e));},isTypeCastComment:Ym,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===sm(e.value).length&&!e.value.returnType&&!im(e.value.typeParameters)&&e.value.body)return[...(e.decorators||[]),e.key,e.value.body];},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(cm(t)||lm(t)||mm(n)&&(pm(t.leadingComments)||pm(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!fm(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type);}};const{getFunctionParameters:Qm,getLeftSidePathName:Zm,hasFlowShorthandAnnotationComment:eg,hasNakedLeftSide:tg,hasNode:ng,isBitwiseOperator:rg,startsWithNoLookaheadToken:og,shouldFlatten:ig,getPrecedence:ug,isCallExpression:sg,isMemberExpression:ag}=pd;function cg(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1;}}(o)&&lg(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type;}(o))return!1;if("flow"!==t.parser&&eg(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name))||"left"===r&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return pg(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=o;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0;}return!0;}break;case"ExpressionStatement":if(og(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&og(o,!1))return!0;}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1;}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===o.operator)return!0;if("in"===o.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r;}return!1;}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0;}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":{const{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;const i=ug(e),u=n.operator,s=ug(u);return s>i||"right"===r&&s===i||s===i&&!ig(u,e)||(s<i&&"%"===e?"+"===u||"-"===u:!!rg(u));}default:return!1;}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0;}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;if("expression"===r&&o.argument&&"PipelinePrimaryTopicReference"===o.argument.type&&"PipelineTopicExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!o.argument&&"|>"===n.operator);default:return!1;}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Qm(o).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type);}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type;}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type);}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1;}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1;}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(o.extra&&o.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1;}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1;}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0;}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1;}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&ag(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||sg(n)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&!sg(n)&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return ng(e,e=>"ObjectTypeAnnotation"===e.type&&ng(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0);}(o);}return!1;}function lg(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(lg);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return ke(t.properties)===n;}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(lg);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(lg);break;case"UnaryExpression":if(n.prefix)return e.callParent(lg);}return!1;}function pg(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!cg(e,t):!(!tg(n)||"ExportDefaultDeclaration"!==r.type&&cg(e,t))&&e.call(e=>pg(e,t),...Zm(e,n));}var fg=cg;var dg=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e;}};const{builders:{join:hg,line:mg,group:gg,softline:yg,indent:Dg}}=Rn;var Eg={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object);}return!1;case"Identifier":return!0;default:return!1;}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const t=hg([",",mg],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",Dg([yg,gg(t)]),yg,")"];},"program","body",0):t.__isVueBindings?e.call(e=>hg([",",mg],e.map(n,"params")),"program","body",0):void 0;}};const{printComments:bg}=up,{getLast:Cg}=rn,{builders:{join:vg,line:Ag,softline:Fg,group:xg,indent:Sg,align:wg,ifBreak:Tg,indentIfBreak:Bg},utils:{cleanDoc:kg,getDocParts:Ng,isConcat:Pg}}=Rn,{hasLeadingOwnLineComment:Og,isBinaryish:Ig,isJsxNode:jg,shouldFlatten:Lg,hasComment:_g,CommentCheckFlags:Mg,isCallExpression:Rg,isMemberExpression:Vg}=pd;let $g=0;function qg(e,t,n,r,o){let i=[];const u=e.getValue();if(Ig(u)){Lg(u.operator,u.left.operator)?i=[...i,...e.call(e=>qg(e,t,n,!0,o),"left")]:i.push(xg(t("left")));const s=Wg(u),a=("|>"===u.operator||"NGPipeExpression"===u.type||"|"===u.operator&&"__vue_expression"===n.parser)&&!Og(n.originalText,u.right),c="NGPipeExpression"===u.type?"|":u.operator,l="NGPipeExpression"===u.type&&u.arguments.length>0?xg(Sg([Fg,": ",vg([Fg,":",Tg(" ")],e.map(t,"arguments").map(e=>wg(2,xg(e))))])):"",p=s?[c," ",t("right"),l]:[a?Ag:"",c,a?" ":Ag,t("right"),l],f=e.getParentNode(),d=_g(u.left,Mg.Trailing|Mg.Line),h=d||!(o&&"LogicalExpression"===u.type)&&f.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(a?"":" ",h?xg(p,{shouldBreak:d}):p),r&&_g(u)){const t=kg(bg(e,i,n));i=Pg(t)||"fill"===t.type?Ng(t):[t];}}else i.push(xg(t()));return i;}function Wg(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!jg(e.right));}var Ug={printBinaryishExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i=e.getParentNode(1),u=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),s=qg(e,n,t,!1,u);if(u)return s;if(Rg(o)&&o.callee===r||"UnaryExpression"===o.type||Vg(o)&&!o.computed)return xg([Sg([Fg,...s]),Fg]);const a="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===i.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===i.type&&1===i.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==i.type&&"ThrowStatement"!==i.type&&!Rg(i)||"TemplateLiteral"===o.type,c="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ObjectProperty"===o.type||"Property"===o.type,l=Ig(r.left)&&Lg(r.operator,r.left.operator);if(a||Wg(r)&&!l||!Wg(r)&&c)return xg(s);if(0===s.length)return"";const p=jg(r.right),f=s.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),d=s.slice(0,-1===f?1:f+1),h=s.slice(d.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++$g),g=xg([...d,Sg(h)],{id:m});if(!p)return g;const y=Cg(s);return xg([g,Bg(y,{groupId:m})]);},shouldInlineLogicalExpression:Wg};const{builders:{join:zg,line:Hg,group:Gg}}=Rn,{hasNode:Jg,hasComment:Xg,getComments:Yg}=pd,{printBinaryishExpression:Kg}=Ug;function Qg(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value;}var Zg={printAngular:function(e,t,n){const r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),Xg(r.node)?" //"+Yg(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return Kg(e,t,n);case"NGChainedExpression":return Gg(zg([";",Hg],e.map(e=>function(e){return Jg(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0;}});}(e)?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":Qg(e.getValue(),t,r)?" ":[";",Hg],n()],"body");case"NGMicrosyntaxKey":return /^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),o=e.getParentNode(),i=Qg(r,t,o)||(1===t&&("then"===r.key.name||"else"===r.key.name)||2===t&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===o.body[t-1].type&&"then"===o.body[t-1].key.name)&&"NGMicrosyntaxExpression"===o.body[0].type;return[n("key"),i?" ":": ",n("expression")];}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];}}};const{printComments:ey,printDanglingComments:ty}=up,{builders:{line:ny,hardline:ry,softline:oy,group:iy,indent:uy,conditionalGroup:sy,fill:ay,ifBreak:cy,lineSuffixBoundary:ly,join:py},utils:{willBreak:fy}}=Rn,{getLast:dy,getPreferredQuote:hy}=rn,{isJsxNode:my,rawText:gy,isLiteral:yy,isCallExpression:Dy,isStringLiteral:Ey,isBinaryish:by,hasComment:Cy,CommentCheckFlags:vy,hasNodeIgnoreComment:Ay}=pd,{willPrintOwnComments:Fy}=Km,xy=e=>""===e||e===ny||e===ry||e===oy;function Sy(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return yy(t)&&!Iy(t);}(r))return[n("openingElement"),n("closingElement")];const o="JSXElement"===r.type?n("openingElement"):n("openingFragment"),i="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[o,...e.map(n,"children"),i];r.children=r.children.map(e=>function(e){return"JSXExpressionContainer"===e.type&&yy(e.expression)&&" "===e.expression.value&&!Cy(e.expression);}(e)?{type:"JSXText",value:" ",raw:" "}:e);const u=r.children.filter(my).length>0,s=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1;let c=fy(o)||u||a||s;const l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":cy([p,oy]," "),d=function(e,t,n,r,o){const i=[];return e.each((e,t,u)=>{const s=e.getValue();if(yy(s)){const e=gy(s);if(Iy(s)){const n=e.split(Ny);if(""===n[0]){if(i.push(""),n.shift(),/\n/.test(n[0])){const e=u[t+1];i.push(Ty(o,n[1],s,e));}else i.push(r);n.shift();}let a;if(""===dy(n)&&(n.pop(),a=n.pop()),0===n.length)return;for(const[e,t]of n.entries())e%2==1?i.push(ny):i.push(t);if(void 0!==a){if(/\n/.test(a)){const e=u[t+1];i.push(Ty(o,dy(i),s,e));}else i.push(r);}else{const e=u[t+1];i.push(wy(o,dy(i),s,e));}}else /\n/.test(e)?e.match(/\n/g).length>1&&i.push("",ry):i.push("",r);}else{const e=n();i.push(e);const r=u[t+1];if(r&&Iy(r)){const e=Oy(gy(r)).split(Ny)[0];i.push(wy(o,e,s,r));}else i.push(ry);}},"children"),i;}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some(e=>Iy(e));for(let e=d.length-2;e>=0;e--){const t=""===d[e]&&""===d[e+1],n=d[e]===ry&&""===d[e+1]&&d[e+2]===ry,r=(d[e]===oy||d[e]===ry)&&""===d[e+1]&&d[e+2]===f,o=d[e]===f&&""===d[e+1]&&(d[e+2]===oy||d[e+2]===ry),i=d[e]===f&&""===d[e+1]&&d[e+2]===f,u=d[e]===oy&&""===d[e+1]&&d[e+2]===ry||d[e]===ry&&""===d[e+1]&&d[e+2]===oy;n&&h||t||r||i||u?d.splice(e,2):o&&d.splice(e+1,2);}for(;d.length>0&&xy(dy(d));)d.pop();for(;d.length>1&&xy(d[0])&&xy(d[1]);)d.shift(),d.shift();const m=[];for(const[e,t]of d.entries()){if(t===f){if(1===e&&""===d[e-1]){if(2===d.length){m.push(p);continue;}m.push([p,ry]);continue;}if(e===d.length-1){m.push(p);continue;}if(""===d[e-1]&&d[e-2]===ry){m.push(p);continue;}}m.push(t),fy(t)&&(c=!0);}const g=h?ay(m):iy(m,{shouldBreak:!0});if(l)return g;const y=iy([o,uy([ry,g]),ry,i]);return c?y:sy([iy([o,...d,i]),y]);}function wy(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?oy:ry:oy;}function Ty(e,t,n,r){return e?ry:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?ry:oy:ry;}function By(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const o=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,Dy,e=>"JSXExpressionContainer"===e.type),i=fg(e,n);return iy([i?"":cy("("),uy([oy,t]),oy,i?"":cy(")")],{shouldBreak:o});}(e,ey(e,Sy(e,t,n),t),t);}function ky(e,t,n){const r=e.getValue();return["{",e.call(e=>{const r=["...",n()],o=e.getValue();return Cy(o)&&Fy(e)?[uy([oy,ey(e,r,t)]),oy]:r;},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"];}const Ny=new RegExp("([ \n\r\t]+)"),Py=new RegExp("[^ \n\r\t]"),Oy=e=>e.replace(new RegExp("(?:^"+Ny.source+"|"+Ny.source+"$)"),"");function Iy(e){return yy(e)&&(Py.test(gy(e))||!/\n/.test(gy(e)));}var jy={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&my(t)&&my(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||Iy(t)){r=t;break;}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&Ay(r.expression);},printJsx:function(e,t,n){const r=e.getValue();switch(r.type){case"JSXAttribute":return function(e,t,n){const r=e.getValue(),o=[];if(o.push(n("name")),r.value){let e;if(Ey(r.value)){let n=gy(r.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const o=hy(n,t.jsxSingleQuote?"'":'"'),i="'"===o?"&apos;":"&quot;";n=n.slice(1,-1).replace(new RegExp(o,"g"),i),e=[o,n,o];}else e=n("value");o.push("=",e);}return o;}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return py(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return py(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return ky(e,t,n);case"JSXSpreadChild":return ky(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!Cy(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||Dy(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||my(o)&&("ConditionalExpression"===r.expression.type||by(r.expression)));return iy(i?["{",n("expression"),ly,"}"]:["{",uy([oy,n("expression")]),oy,ly,"}"]);}(e,0,n);case"JSXFragment":case"JSXElement":return By(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),o=r.name&&Cy(r.name)||r.typeParameters&&Cy(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!o)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Ey(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!Cy(r.attributes[0]))return iy(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const i=r.attributes.length>0&&Cy(dy(r.attributes),vy.Trailing),u=0===r.attributes.length&&!o||t.jsxBracketSameLine&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some(e=>e.value&&Ey(e.value)&&e.value.value.includes("\n"));return iy(["<",n("name"),n("typeParameters"),uy(e.map(()=>[ny,n()],"attributes")),r.selfClosing?ny:u?">":oy,r.selfClosing?"/>":u?"":">"],{shouldBreak:s});}(e,t,n);case"JSXClosingElement":return function(e,t,n){const r=e.getValue(),o=[];o.push("</");const i=n("name");return Cy(r.name,vy.Leading|vy.Line)?o.push(uy([ry,i]),ry):Cy(r.name,vy.Leading|vy.Block)?o.push(" ",i):o.push(i),o.push(">"),o;}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){const n=e.getValue(),r=Cy(n),o=Cy(n,vy.Line),i="JSXOpeningFragment"===n.type;return[i?"<":"</",uy([o?ry:r&&!i?" ":"",ty(e,t,!0)]),o?ry:"",">"];}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=Cy(n,vy.Line);return[ty(e,t,!r),r?ry:""];}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");}}};const{isNonEmptyArray:Ly}=rn,{builders:{indent:_y,join:My,line:Ry}}=Rn,{isFlowAnnotationComment:Vy}=pd;var $y={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?";},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):"";},printBindExpressionCallee:function(e,t,n){return["::",n("callee")];},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return Ly(r.modifiers)?[My(" ",e.map(n,"modifiers"))," "]:"";},printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const o=e.getParentNode(),i=r.definite||o&&"VariableDeclarator"===o.type&&o.definite,u="DeclareFunction"===o.type&&o.id===r;return Vy(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[u?"":i?"!: ":": ",n("typeAnnotation")];},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:_y([Ry,t]);}};const{printDanglingComments:qy}=up,{builders:{line:Wy,softline:Uy,hardline:zy,group:Hy,indent:Gy,ifBreak:Jy,fill:Xy}}=Rn,{getLast:Yy,hasNewline:Ky}=rn,{shouldPrintComma:Qy,hasComment:Zy,CommentCheckFlags:eD,isNextLineEmpty:tD,isNumericLiteral:nD,isSignedNumericLiteral:rD}=pd,{locStart:oD}=ea,{printOptionalToken:iD,printTypeAnnotation:uD}=$y;function sD(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(nD(e)||rD(e)&&!Zy(e.argument))&&!Zy(e,eD.Trailing|eD.Line,e=>!Ky(t.originalText,oD(e),{backwards:!0})));}function aD(e,t,n,r){const o=[];let i=[];return e.each(e=>{o.push(i,Hy(r())),i=[",",Wy],e.getValue()&&tD(e.getValue(),t)&&i.push(Uy);},n),o;}function cD(e,t,n,r){const o=[];return e.each((e,i,u)=>{const s=i===u.length-1;o.push([n(),s?r:","]),s||o.push(tD(e.getValue(),t)?[zy,zy]:Zy(u[i+1],eD.Leading|eD.Line)?zy:Wy);},"elements"),Xy(o);}var lD={printArray:function(e,t,n){const r=e.getValue(),o=[],i="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Zy(r,eD.Dangling)?o.push(Hy([i,qy(e,t),Uy,"]"])):o.push(i,"]");else{const u=Yy(r.elements),s=!(u&&"RestElement"===u.type),a=null===u,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const o=n[t+1];if(o&&r!==o.type)return!1;const i="ArrayExpression"===r?"elements":"properties";return e[i]&&e[i].length>1;}),p=sD(r,t),f=s?a?",":Qy(t)?p?Jy(",","",{groupId:c}):Jy(","):"":"";o.push(Hy([i,Gy([Uy,p?cD(e,t,n,f):[aD(e,t,"elements",n),f],qy(e,t,!0)]),Uy,"]"],{shouldBreak:l,id:c}));}return o.push(iD(e),uD(e,t,n)),o;},printArrayItems:aD,isConciselyPrintedArray:sD};const{printDanglingComments:pD}=up,{getLast:fD,getPenultimate:dD}=rn,{getFunctionParameters:hD,hasComment:mD,CommentCheckFlags:gD,isFunctionCompositionArgs:yD,isJsxNode:DD,isLongCurriedCallExpression:ED,shouldPrintComma:bD,getCallArguments:CD,iterateCallArgumentsPath:vD,isNextLineEmpty:AD,isCallExpression:FD}=pd,{builders:{line:xD,hardline:SD,softline:wD,group:TD,indent:BD,conditionalGroup:kD,ifBreak:ND,breakParent:PD},utils:{willBreak:OD}}=Rn,{ArgExpansionBailout:ID}=uo,{isConciselyPrintedArray:jD}=lD;function LD(e,t=!1){return"ObjectExpression"===e.type&&(e.properties.length>0||mD(e))||"ArrayExpression"===e.type&&(e.elements.length>0||mD(e))||"TSTypeAssertion"===e.type&&LD(e.expression)||"TSAsExpression"===e.type&&LD(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some(e=>"EmptyStatement"!==e.type)||mD(n,gD.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&LD(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(FD(e.body)||"ConditionalExpression"===e.body.type)||DD(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type;var n;}var _D=function(e,t,n){const r=e.getValue(),o="ImportExpression"===r.type,i=CD(r);if(0===i.length)return["(",pD(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===hD(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some(e=>mD(e));}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let u=!1,s=!1;const a=i.length-1,c=[];vD(e,(e,r)=>{const o=e.getNode(),i=[n()];r===a||(AD(o,t)?(0===r&&(s=!0),u=!0,i.push(",",SD,SD)):i.push(",",xD)),c.push(i);});const l=o||r.callee&&"Import"===r.callee.type||!bD(t,"all")?"":",";function p(){return TD(["(",BD([xD,...c]),l,xD,")"],{shouldBreak:!0});}if(u||"Decorator"!==e.getParentNode().type&&yD(i))return p();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;if("ModuleExpression"===t.type&&function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&"ObjectProperty"===e.properties[0].type&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&"StringLiteral"===e.properties[0].value.type&&"module"===e.properties[0].value.value;}(n))return!0;return!mD(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!LD(n);}(i),d=function(e,t){const n=fD(e),r=dD(e);return!mD(n,gD.Leading)&&!mD(n,gD.Trailing)&&LD(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&jD(n,t));}(i,t);if(f||d){if(f?c.slice(1).some(OD):c.slice(0,-1).some(OD))return p();let t=[];try{e.try(()=>{vD(e,(e,r)=>{f&&0===r&&(t=[[n([],{expandFirstArg:!0}),c.length>1?",":"",s?SD:xD,s?SD:""],...c.slice(1)]),d&&r===a&&(t=[...c.slice(0,-1),n([],{expandLastArg:!0})]);});});}catch(e){if(e instanceof ID)return p();throw e;}return[c.some(OD)?PD:"",kD([["(",...t,")"],f?["(",TD(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...c.slice(0,-1),TD(fD(t),{shouldBreak:!0}),")"],p()])];}const h=["(",BD([wD,...c]),ND(l),wD,")"];return ED(e)?h:TD(h,{shouldBreak:c.some(OD)||u});};const{builders:{softline:MD,group:RD,indent:VD,label:$D}}=Rn,{isNumericLiteral:qD,isMemberExpression:WD,isCallExpression:UD}=pd,{printOptionalToken:zD}=$y;function HD(e,t,n){const r=n("property"),o=e.getValue(),i=zD(e);return o.computed?!o.property||qD(o.property)?[i,"[",r,"]"]:RD([i,"[",VD([MD,r]),MD,"]"]):[i,".",r];}var GD={printMemberExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode();let i,u=0;do{i=e.getParentNode(u),u++;}while(i&&(WD(i)||"TSNonNullExpression"===i.type));const s=n("object"),a=HD(e,t,n),c=i&&("NewExpression"===i.type||"BindExpression"===i.type||"AssignmentExpression"===i.type&&"Identifier"!==i.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!WD(o)||("AssignmentExpression"===o.type||"VariableDeclarator"===o.type)&&(UD(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&UD(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return $D("member-chain"===s.label?"member-chain":"member",[s,c?a:RD(VD([MD,a]))]);},printMemberLookup:HD};const{printComments:JD}=up,{getLast:XD,isNextLineEmptyAfterIndex:YD,getNextNonSpaceNonCommentCharacterIndex:KD}=rn,{isCallExpression:QD,isMemberExpression:ZD,isFunctionOrArrowExpression:eE,isLongCurriedCallExpression:tE,isMemberish:nE,isNumericLiteral:rE,isSimpleCallArgument:oE,hasComment:iE,CommentCheckFlags:uE,isNextLineEmpty:sE}=pd,{locEnd:aE}=ea,{builders:{join:cE,hardline:lE,group:pE,indent:fE,conditionalGroup:dE,breakParent:hE,label:mE},utils:{willBreak:gE}}=Rn,{printMemberLookup:yE}=GD,{printOptionalToken:DE,printFunctionTypeParameters:EE,printBindExpressionCallee:bE}=$y;var CE=function(e,t,n){const r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,i=[];function u(e){const{originalText:n}=t,r=KD(n,e,aE);return")"===n.charAt(r)?!1!==r&&YD(n,r+1):sE(e,t);}function s(e){const r=e.getValue();QD(r)&&(nE(r.callee)||QD(r.callee))?(i.unshift({node:r,printed:[JD(e,[DE(e),EE(e,t,n),_D(e,t,n)],t),u(r)?lE:""]}),e.call(e=>s(e),"callee")):nE(r)?(i.unshift({node:r,needsParens:fg(e,t),printed:JD(e,ZD(r)?yE(e,t,n):bE(e,t,n),t)}),e.call(e=>s(e),"object")):"TSNonNullExpression"===r.type?(i.unshift({node:r,printed:JD(e,"!",t)}),e.call(e=>s(e),"expression")):i.unshift({node:r,printed:n()});}const a=e.getValue();i.unshift({node:a,printed:[DE(e),EE(e,t,n),_D(e,t,n)]}),a.callee&&e.call(e=>s(e),"callee");const c=[];let l=[i[0]],p=1;for(;p<i.length&&("TSNonNullExpression"===i[p].node.type||QD(i[p].node)||ZD(i[p].node)&&i[p].node.computed&&rE(i[p].node.property));++p)l.push(i[p]);if(!QD(i[0].node))for(;p+1<i.length&&nE(i[p].node)&&nE(i[p+1].node);++p)l.push(i[p]);c.push(l),l=[];let f=!1;for(;p<i.length;++p){if(f&&nE(i[p].node)){if(i[p].node.computed&&rE(i[p].node.property)){l.push(i[p]);continue;}c.push(l),l=[],f=!1;}(QD(i[p].node)||"ImportExpression"===i[p].node.type)&&(f=!0),l.push(i[p]),iE(i[p].node,uE.Trailing)&&(c.push(l),l=[],f=!1);}function d(e){return /^[A-Z]|^[$_]+$/.test(e);}l.length>0&&c.push(l);const h=c.length>=2&&!iE(c[1][0].node)&&function(e){const n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||o&&function(e){return e.length<=t.tabWidth;}(r.name)||n);}const r=XD(e[0]).node;return ZD(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n);}(c);function m(e){const t=e.map(e=>e.printed);return e.length>0&&XD(e).needsParens?["(",...t,")"]:t;}const g=c.map(m),y=g,D=h?3:2,E=Ws(c),b=E.slice(1,-1).some(e=>iE(e.node,uE.Leading))||E.slice(0,-1).some(e=>iE(e.node,uE.Trailing))||c[D]&&iE(c[D][0].node,uE.Leading);if(c.length<=D&&!b)return tE(e)?y:pE(y);const C=XD(c[h?1:0]).node,v=!QD(C)&&u(C),A=[m(c[0]),h?c.slice(1,2).map(m):"",v?lE:"",function(e){return 0===e.length?"":fE(pE([lE,cE(lE,e.map(m))]));}(c.slice(h?2:1))],F=i.map(({node:e})=>e).filter(QD);let x;return x=b||F.length>2&&F.some(e=>!e.arguments.every(e=>oE(e,0)))||g.slice(0,-1).some(gE)||function(){const e=XD(XD(c)).node,t=XD(g);return QD(e)&&gE(t)&&F.slice(0,-1).some(e=>e.arguments.some(eE));}()?pE(A):[gE(y)||v?hE:"",dE([y,A])],mE("member-chain",x);};const{builders:{join:vE,group:AE}}=Rn,{getCallArguments:FE,hasFlowAnnotationComment:xE,isCallExpression:SE,isMemberish:wE,isStringLiteral:TE,isTemplateOnItsOwnLine:BE,isTestCall:kE,iterateCallArgumentsPath:NE}=pd,{printOptionalToken:PE,printFunctionTypeParameters:OE}=$y;var IE={printCallExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i="NewExpression"===r.type,u="ImportExpression"===r.type,s=PE(e),a=FE(r);if(a.length>0&&(!u&&!i&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){const n=FE(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&TE(n[0])&&"ArrayExpression"===n[1].type);}return!1;}(r,o)||1===a.length&&BE(a[0],t.originalText)||!i&&kE(r,o))){const r=[];return NE(e,()=>{r.push(n());}),[i?"new ":"",n("callee"),s,OE(e,t,n),"(",vE(", ",r),")"];}const c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&xE(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!u&&!i&&wE(r.callee)&&!e.call(e=>fg(e,t),"callee"))return CE(e,t,n);const l=[i?"new ":"",u?"import":n("callee"),s,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",OE(e,t,n),_D(e,t,n)];return u||SE(r.callee)?AE(l):l;}};const{isNonEmptyArray:jE,getStringWidth:LE}=rn,{builders:{line:_E,group:ME,indent:RE,indentIfBreak:VE},utils:{cleanDoc:$E}}=Rn,{hasLeadingOwnLineComment:qE,isBinaryish:WE,isStringLiteral:UE,isLiteral:zE,isNumericLiteral:HE,isCallExpression:GE,isMemberExpression:JE,getCallArguments:XE,rawText:YE,hasComment:KE,isSignedNumericLiteral:QE}=pd,{shouldInlineLogicalExpression:ZE}=Ug,{printCallExpression:eb}=IE;function tb(e,t,n,r,o,i){const u=function(e,t,n,r,o){const i=e.getValue(),u=i[o];if(!u)return"only-left";const s=!nb(u);if(e.match(nb,rb,e=>!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return s?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&nb(u.right)||qE(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(rb(e)){const t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>("ObjectProperty"===e.type||"Property"===e.type)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type));}return!1;}(i))return"break-lhs";const a=function(e,t,n){if("ObjectProperty"!==e.type&&"Property"!==e.type)return!1;t=$E(t);const r=3;return"string"==typeof t&&LE(t)<n.tabWidth+r;}(i,r,t);if(e.call(()=>function(e,t,n,r){const o=e.getValue();if(WE(o)&&!ZE(o))return!0;switch(o.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:e}=o;return WE(e)&&!ZE(e);}case"ClassExpression":return jE(o.decorators);}if(r)return!1;let i=o;const u=[];for(;;)if("UnaryExpression"===i.type)i=i.argument,u.push("argument");else{if("TSNonNullExpression"!==i.type)break;i=i.expression,u.push("expression");}if(UE(i)||e.call(()=>ob(e,t,n),...u))return!0;return!1;}(e,t,n,a),o))return"break-after-operator";if(a||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||"BooleanLiteral"===u.type||HE(u)||"ClassExpression"===u.type)return"never-break-after-operator";return"fluid";}(e,t,n,r,i),s=n(i,{assignmentLayout:u});switch(u){case"break-after-operator":return ME([ME(r),o,ME(RE([_E,s]))]);case"never-break-after-operator":return ME([ME(r),o," ",s]);case"fluid":{const e=Symbol("assignment");return ME([ME(r),o,ME(RE(_E),{id:e}),VE(s,{groupId:e})]);}case"break-lhs":return ME([r,o," ",ME(s)]);case"chain":return[ME(r),o,_E,s];case"chain-tail":return[ME(r),o,RE([_E,s])];case"chain-tail-arrow-chain":return[ME(r),o,s];case"only-left":return r;}}function nb(e){return"AssignmentExpression"===e.type;}function rb(e){return nb(e)||"VariableDeclarator"===e.type;}function ob(e,t,n,r=!1){const o=e.getValue(),i=()=>ob(e,t,n,!0);if("TSNonNullExpression"===o.type)return e.call(i,"expression");if(GE(o)){if("member-chain"===eb(e,t,n).label)return!1;const r=XE(o);return!!(0===r.length||1===r.length&&function(e,{printWidth:t}){if(KE(e))return!1;const n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||QE(e)&&!KE(e.argument))return!0;const r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(r)return r.length<=n;if(UE(e))return YE(e).length<=n;if("TemplateLiteral"===e.type)return 0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n");return zE(e);}(r[0],t))&&e.call(i,"callee");}return JE(o)?e.call(i,"object"):r&&("Identifier"===o.type||"ThisExpression"===o.type);}var ib={printVariableDeclarator:function(e,t,n){return tb(e,t,n,n("id")," =","init");},printAssignmentExpression:function(e,t,n){const r=e.getValue();return tb(e,t,n,n("left"),[" ",r.operator],"right");},printAssignment:tb};const{getNextNonSpaceNonCommentCharacter:ub}=rn,{printDanglingComments:sb}=up,{builders:{line:ab,hardline:cb,softline:lb,group:pb,indent:fb,ifBreak:db},utils:{removeLines:hb,willBreak:mb}}=Rn,{getFunctionParameters:gb,iterateFunctionParametersPath:yb,isSimpleType:Db,isTestCall:Eb,isTypeAnnotationAFunction:bb,isObjectType:Cb,isObjectTypePropertyAFunction:vb,hasRestParameter:Ab,shouldPrintComma:Fb,hasComment:xb,isNextLineEmpty:Sb}=pd,{locEnd:wb}=ea,{ArgExpansionBailout:Tb}=uo,{printFunctionTypeParameters:Bb}=$y;function kb(e){if(!e)return!1;const t=gb(e);if(1!==t.length)return!1;const[n]=t;return!xb(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&Cb(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&Cb(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length));}var Nb={printFunctionParameters:function(e,t,n,r,o){const i=e.getValue(),u=gb(i),s=o?Bb(e,n,t):"";if(0===u.length)return[s,"(",sb(e,n,!0,e=>")"===ub(n.originalText,e,wb)),")"];const a=e.getParentNode(),c=Eb(a),l=kb(i),p=[];if(yb(e,(e,r)=>{const o=r===u.length-1;o&&i.rest&&p.push("..."),p.push(t()),o||(p.push(","),c||l?p.push(" "):Sb(u[r],n)?p.push(cb,cb):p.push(ab));}),r){if(mb(s)||mb(p))throw new Tb();return pb([hb(s),"(",hb(p),")"]);}const f=u.every(e=>!e.decorators);return l&&f||c?[s,"(",...p,")"]:(vb(a)||bb(a)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===i)&&1===u.length&&null===u[0].name&&i.this!==u[0]&&u[0].typeAnnotation&&null===i.typeParameters&&Db(u[0].typeAnnotation)&&!i.rest?"always"===n.arrowParens?["(",...p,")"]:p:[s,"(",fb([lb,...p]),db(!Ab(i)&&Fb(n,"all")?",":""),lb,")"];},shouldHugFunctionParameters:kb,shouldGroupFunctionParameters:function(e,t){const n=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t;}(e);if(!n)return!1;const r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){const e=r[0];if(e.constraint||e.default)return!1;}}return 1===gb(e).length&&(Cb(n)||mb(t));}};const{printComments:Pb,printDanglingComments:Ob}=up,{getLast:Ib}=rn,{builders:{group:jb,join:Lb,line:_b,softline:Mb,indent:Rb,align:Vb,ifBreak:$b}}=Rn,{locStart:qb}=ea,{isSimpleType:Wb,isObjectType:Ub,hasLeadingOwnLineComment:zb,isObjectTypePropertyAFunction:Hb,shouldPrintComma:Gb}=pd,{printAssignment:Jb}=ib,{printFunctionParameters:Xb,shouldGroupFunctionParameters:Yb}=Nb,{printArrayItems:Kb}=lD;function Qb(e){if(Wb(e)||Ub(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0;}return!1;}var Zb={printOpaqueType:function(e,t,n){const r=t.semi?";":"",o=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),o.supertype&&i.push(": ",n("supertype")),o.impltype&&i.push(" = ",n("impltype")),i.push(r),i;},printTypeAlias:function(e,t,n){const r=t.semi?";":"",o=e.getValue(),i=[];o.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));const u="TSTypeAliasDeclaration"===o.type?"typeAnnotation":"right";return[Jb(e,t,n,i," =",u),r];},printIntersectionType:function(e,t,n){const r=e.getValue(),o=e.map(n,"types"),i=[];let u=!1;for(let e=0;e<o.length;++e)0===e?i.push(o[e]):Ub(r.types[e-1])&&Ub(r.types[e])?i.push([" & ",u?Rb(o[e]):o[e]]):Ub(r.types[e-1])||Ub(r.types[e])?(e>1&&(u=!0),i.push(" & ",e>1?Rb(o[e]):o[e])):i.push(Rb([" &",_b,o[e]]));return jb(i);},printUnionType:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i=!("TypeParameterInstantiation"===o.type||"TSTypeParameterInstantiation"===o.type||"GenericTypeAnnotation"===o.type||"TSTypeReference"===o.type||"TSTypeAssertion"===o.type||"TupleTypeAnnotation"===o.type||"TSTupleType"===o.type||"FunctionTypeParam"===o.type&&!o.name&&e.getParentNode(1).this!==o||("TypeAlias"===o.type||"VariableDeclarator"===o.type||"TSTypeAliasDeclaration"===o.type)&&zb(t.originalText,r)),u=Qb(r),s=e.map(e=>{let r=n();return u||(r=Vb(2,r)),Pb(e,r,t);},"types");if(u)return Lb(" | ",s);const a=i&&!zb(t.originalText,r),c=[$b([a?_b:"","| "]),Lb([_b,"| "],s)];return fg(e,t)?jb([Rb(c),Mb]):"TupleTypeAnnotation"===o.type&&o.types.length>1||"TSTupleType"===o.type&&o.elementTypes.length>1?jb([Rb([$b(["(",Mb]),c]),Mb,$b(")")]):jb(i?Rb(c):c);},printFunctionType:function(e,t,n){const r=e.getValue(),o=[],i=e.getParentNode(0),u=e.getParentNode(1),s=e.getParentNode(2);let a="TSFunctionType"===r.type||!(("ObjectTypeProperty"===i.type||"ObjectTypeInternalSlot"===i.type)&&!i.variance&&!i.optional&&qb(i)===qb(r)||"ObjectTypeCallProperty"===i.type||s&&"DeclareFunction"===s.type),c=a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type);const l=c&&a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type)&&"ArrowFunctionExpression"===u.type;Hb(i)&&(a=!0,c=!0),l&&o.push("(");const p=Xb(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=Yb(r,f);return o.push(d?jb(p):p),f&&o.push(f),l&&o.push(")"),jb(o);},printTupleType:function(e,t,n){const r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",i=r[o].length>0&&"TSRestType"===Ib(r[o]).type;return jb(["[",Rb([Mb,Kb(e,t,o,n)]),$b(Gb(t,"all")&&!i?",":""),Ob(e,t,!0),Mb,"]"]);},printIndexedAccessType:function(e,t,n){const r=e.getValue(),o="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),o,n("indexType"),"]"];},shouldHugType:Qb};const{printDanglingComments:eC}=up,{builders:{join:tC,line:nC,hardline:rC,softline:oC,group:iC,indent:uC,ifBreak:sC}}=Rn,{isTestCall:aC,hasComment:cC,CommentCheckFlags:lC,isTSXFile:pC,shouldPrintComma:fC,getFunctionParameters:dC}=pd,{createGroupIdMapper:hC}=rn,{shouldHugType:mC}=Zb,gC=hC("typeParameters");function yC(e,t){const n=e.getValue();if(!cC(n,lC.Dangling))return"";const r=!cC(n,lC.Line),o=eC(e,t,r);return r?o:[o,rC];}var DC={printTypeParameter:function(e,t,n){const r=e.getValue(),o=[],i=e.getParentNode();return"TSMappedType"===i.type?(o.push("[",n("name")),r.constraint&&o.push(" in ",n("constraint")),i.nameType&&o.push(" as ",e.callParent(()=>n("nameType"))),o.push("]"),o):(r.variance&&o.push(n("variance")),o.push(n("name")),r.bound&&o.push(": ",n("bound")),r.constraint&&o.push(" extends ",n("constraint")),r.default&&o.push(" = ",n("default")),o);},printTypeParameters:function(e,t,n,r){const o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return n(r);const i=e.getNode(2);if(i&&aC(i)||0===o[r].length||1===o[r].length&&(mC(o[r][0])||"NullableTypeAnnotation"===o[r][0].type))return["<",tC(", ",e.map(n,r)),yC(e,t),">"];const u="TSTypeParameterInstantiation"===o.type?"":1===dC(o).length&&pC(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":fC(t,"all")?sC(","):"";return iC(["<",uC([oC,tC([",",nC],e.map(n,r))]),u,oC,">"],{id:gC(o)});},getTypeParametersGroupId:gC};const{printComments:EC}=up,{printString:bC,printNumber:CC}=rn,{isNumericLiteral:vC,isSimpleNumber:AC,isStringLiteral:FC,isStringPropSafeToUnquote:xC,rawText:SC}=pd,{printAssignment:wC}=ib,TC=new WeakMap();function BC(e,t,n){const r=e.getNode();if(r.computed)return["[",n("key"),"]"];const o=e.getParentNode(),{key:i}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===i.type)return["#",n("key")];if("consistent"===t.quoteProps&&!TC.has(o)){const e=(o.properties||o.body||o.members).some(e=>!e.computed&&e.key&&FC(e.key)&&!xC(e,t));TC.set(o,e);}if(("Identifier"===i.type||vC(i)&&AC(CC(SC(i)))&&String(i.value)===CC(SC(i))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&TC.get(o))){const n=bC(JSON.stringify("Identifier"===i.type?i.name:i.value.toString()),t);return e.call(e=>EC(e,n,t),"key");}return xC(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!TC.get(o))?e.call(e=>EC(e,/^\d/.test(i.value)?CC(i.value):i.value,t),"key"):n("key");}var kC={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):wC(e,t,n,BC(e,t,n),":","value");},printPropertyKey:BC};const{printDanglingComments:NC,printCommentsSeparately:PC}=up,{getNextNonSpaceNonCommentCharacterIndex:OC}=rn,{builders:{line:IC,softline:jC,group:LC,indent:_C,ifBreak:MC,hardline:RC,join:VC,indentIfBreak:$C}}=Rn,{getFunctionParameters:qC,hasLeadingOwnLineComment:WC,isFlowAnnotationComment:UC,isJsxNode:zC,isTemplateOnItsOwnLine:HC,shouldPrintComma:GC,startsWithNoLookaheadToken:JC,returnArgumentHasLeadingComment:XC,isBinaryish:YC,isLineComment:KC,hasComment:QC,getComments:ZC,CommentCheckFlags:ev,isCallLikeExpression:tv}=pd,{locEnd:nv}=ea,{printFunctionParameters:rv,shouldGroupFunctionParameters:ov}=Nb,{printPropertyKey:iv}=kC,{printFunctionTypeParameters:uv}=$y;function sv(e,t,n){const r=e.getNode(),o=rv(e,n,t),i=cv(e,n,t),u=ov(r,i),s=[uv(e,t,n),LC([u?LC(o):o,i])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s;}function av(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){const t=qC(e);return!(1!==t.length||e.typeParameters||QC(e,ev.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||QC(t[0])||t[0].optional||e.predicate||e.returnType);}(e.getValue());}return!1;}function cv(e,t,n){const r=e.getValue(),o=t("returnType");if(r.returnType&&UC(n.originalText,r.returnType))return[" /*: ",o," */"];const i=[o];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i;}function lv(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];r.argument&&(XC(t,r.argument)?i.push([" (",_C([RC,n("argument")]),RC,")"]):YC(r.argument)||"SequenceExpression"===r.argument.type?i.push(LC([MC(" ("," "),_C([jC,n("argument")]),jC,MC(")")])):i.push(" ",n("argument")));const u=ZC(r),s=ke(u),a=s&&KC(s);return a&&i.push(o),QC(r,ev.Dangling)&&i.push(" ",NC(e,t,!0)),a||i.push(o),i;}var pv={printFunctionDeclaration:function(e,t,n,r){const o=e.getValue(),i=[];"TSDeclareFunction"===o.type&&o.declare&&i.push("declare "),o.async&&i.push("async "),o.generator?i.push("function* "):i.push("function "),o.id&&i.push(t("id"));const u=rv(e,t,n,r),s=cv(e,t,n),a=ov(o,s);return i.push(uv(e,n,t),LC([a?LC(u):u,s]),o.body?" ":"",t("body")),!n.semi||!o.declare&&o.body||i.push(";"),i;},printArrowFunctionExpression:function(e,t,n,r){let o=e.getValue();const i=[],u=[];let s=!1;if(function a(){const c=function(e,t,n,r){const o=[];e.getValue().async&&o.push("async "),av(e,t)?o.push(n(["params",0])):o.push(LC([rv(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),cv(e,n,t)]));const i=NC(e,t,!0,e=>{const n=OC(t.originalText,e,nv);return!1!==n&&"=>"===t.originalText.slice(n,n+2);});return i&&o.push(" ",i),o;}(e,t,n,r);if(0===i.length)i.push(c);else{const{leading:n,trailing:r}=PC(e,t);i.push([n,c]),u.unshift(r);}s=s||o.returnType&&qC(o).length>0||o.typeParameters||qC(o).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==o.body.type||r&&r.expandLastArg?u.unshift(n("body",r)):(o=o.body,e.call(a,"body"));}(),i.length>1)return function(e,t,n,r,o,i){const u=e.getName(),s=e.getParentNode(),a=tv(s)&&"callee"===u,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type,p=a&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return LC([LC(_C([a||c?jC:"",LC(VC([" =>",IC],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",$C(l?_C([IC,o]):[" ",o],{groupId:f}),a?MC(jC,"",{groupId:f}):""]);}(e,r,i,s,u,o);const a=i;if(a.push(" =>"),!WC(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||zC(o.body)||HC(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return LC([...a," ",u]);if("SequenceExpression"===o.body.type)return LC([...a,LC([" (",_C([jC,u]),jC,")"])]);const c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!QC(o),l=r&&r.expandLastArg&&GC(t,"all"),p="ConditionalExpression"===o.body.type&&!JC(o.body,!1);return LC([...a,LC([_C([IC,p?MC("","("):"",u,p?MC("",")"):""]),c?[MC(l?",":""),jC]:""])]);},printMethod:function(e,t,n){const r=e.getNode(),{kind:o}=r,i=r.value||r,u=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(Il.ok("get"===o||"set"===o),u.push(o," ")):i.async&&u.push("async "),i.generator&&u.push("*"),u.push(iv(e,t,n),r.optional||r.key.optional?"?":""),r===i?u.push(sv(e,t,n)):"FunctionExpression"===i.type?u.push(e.call(e=>sv(e,t,n),"value")):u.push(n("value")),u;},printReturnStatement:function(e,t,n){return["return",lv(e,t,n)];},printThrowStatement:function(e,t,n){return["throw",lv(e,t,n)];},printMethodInternal:sv,shouldPrintParamsWithoutParens:av};const{isNonEmptyArray:fv,hasNewline:dv}=rn,{builders:{line:hv,hardline:mv,join:gv,breakParent:yv,group:Dv}}=Rn,{locStart:Ev,locEnd:bv}=ea,{getParentExportDeclaration:Cv}=pd;function vv(e,t){return e.decorators.some(e=>dv(t.originalText,bv(e)));}function Av(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return fv(t)&&Ev(e,{ignoreDecorators:!0})>Ev(t[0]);}var Fv={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:o}=r;if(!fv(o)||Av(e.getParentNode()))return;const i="ClassExpression"===r.type||"ClassDeclaration"===r.type||vv(r,t);return[Cv(e)?mv:i?yv:"",gv(hv,e.map(n,"decorators")),hv];},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return Dv([gv(hv,e.map(n,"decorators")),vv(r,t)?mv:hv]);},printDecoratorsBeforeExport:function(e,t,n){return[gv(mv,e.map(n,"declaration","decorators")),mv];},hasDecoratorsBeforeExport:Av};const{isNonEmptyArray:xv,createGroupIdMapper:Sv}=rn,{printComments:wv,printDanglingComments:Tv}=up,{builders:{join:Bv,line:kv,hardline:Nv,softline:Pv,group:Ov,indent:Iv,ifBreak:jv}}=Rn,{hasComment:Lv,CommentCheckFlags:_v}=pd,{getTypeParametersGroupId:Mv}=DC,{printMethod:Rv}=pv,{printOptionalToken:Vv,printTypeAnnotation:$v}=$y,{printPropertyKey:qv}=kC,{printAssignment:Wv}=ib,{printClassMemberDecorators:Uv}=Fv;const zv=Sv("heritageGroup");function Hv(e){return e.typeParameters&&!Lv(e.typeParameters,_v.Trailing|_v.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>Boolean(e[t])).length>1;}(e);}function Gv(e,t,n,r){const o=e.getValue();if(!xv(o[r]))return"";const i=Tv(e,t,!0,({marker:e})=>e===r);return[Hv(o)?jv(" ",kv,{groupId:Mv(o.typeParameters)}):kv,i,i&&Nv,r,Ov(Iv([kv,Bv([",",kv],e.map(n,r))]))];}function Jv(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?Ov(jv(["(",Iv([Pv,r]),Pv,")"],r)):r;}var Xv={printClass:function(e,t,n){const r=e.getValue(),o=[];r.declare&&o.push("declare "),r.abstract&&o.push("abstract "),o.push("class");const i=r.id&&Lv(r.id,_v.Trailing)||r.superClass&&Lv(r.superClass)||xv(r.extends)||xv(r.mixins)||xv(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){const r=["extends ",Jv(e,t,n),n("superTypeParameters")],o=e.call(e=>wv(e,r,t),"superClass");i?s.push(kv,Ov(o)):s.push(" ",o);}else s.push(Gv(e,t,n,"extends"));if(s.push(Gv(e,t,n,"mixins"),Gv(e,t,n,"implements")),i){let e;e=Hv(r)?[...u,Iv(s)]:Iv([...u,s]),o.push(Ov(e,{id:zv(r)}));}else o.push(...u,...s);return o.push(" ",n("body")),o;},printClassMethod:function(e,t,n){const r=e.getValue(),o=[];return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.readonly&&o.push("readonly "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),o.push(Rv(e,t,n)),o;},printClassProperty:function(e,t,n){const r=e.getValue(),o=[],i=t.semi?";":"";return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&o.push("abstract "),r.readonly&&o.push("readonly "),r.variance&&o.push(n("variance")),o.push(qv(e,t,n),Vv(e),$v(e,t,n)),[Wv(e,t,n,o," =","value"),i];},printHardlineAfterHeritage:function(e){return jv(Nv,"",{groupId:zv(e)});}};const{isNonEmptyArray:Yv}=rn,{builders:{join:Kv,line:Qv,group:Zv,indent:eA,ifBreak:tA}}=Rn,{hasComment:nA,identity:rA,CommentCheckFlags:oA}=pd,{getTypeParametersGroupId:iA}=DC,{printTypeScriptModifiers:uA}=$y;var sA={printInterface:function(e,t,n){const r=e.getValue(),o=[];r.declare&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",uA(e,t,n)),o.push("interface");const i=[],u=[];"InterfaceTypeAnnotation"!==r.type&&i.push(" ",n("id"),n("typeParameters"));const s=r.typeParameters&&!nA(r.typeParameters,oA.Trailing|oA.Line);return Yv(r.extends)&&u.push(s?tA(" ",Qv,{groupId:iA(r.typeParameters)}):Qv,"extends ",(1===r.extends.length?rA:eA)(Kv([",",Qv],e.map(n,"extends")))),r.id&&nA(r.id,oA.Trailing)||Yv(r.extends)?s?o.push(Zv([...i,eA(u)])):o.push(Zv(eA([...i,...u]))):o.push(...i,...u),o.push(" ",n("body")),Zv(o);}};const{isNonEmptyArray:aA}=rn,{builders:{softline:cA,group:lA,indent:pA,join:fA,line:dA,ifBreak:hA,hardline:mA}}=Rn,{printDanglingComments:gA}=up,{hasComment:yA,CommentCheckFlags:DA,shouldPrintComma:EA,needsHardlineAfterDanglingComment:bA}=pd,{locStart:CA,hasSameLoc:vA}=ea,{hasDecoratorsBeforeExport:AA,printDecoratorsBeforeExport:FA}=Fv;function xA(e,t,n){const r=e.getValue();if(!r.source)return"";const o=[];return wA(r,t)||o.push(" from"),o.push(" ",n("source")),o;}function SA(e,t,n){const r=e.getValue();if(wA(r,t))return"";const o=[" "];if(aA(r.specifiers)){const i=[],u=[];if(e.each(()=>{const t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)i.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));u.push(n());}},"specifiers"),o.push(fA(", ",i)),u.length>0){i.length>0&&o.push(", ");u.length>1||i.length>0||r.specifiers.some(e=>yA(e))?o.push(lA(["{",pA([t.bracketSpacing?dA:cA,fA([",",dA],u)]),hA(EA(t)?",":""),t.bracketSpacing?dA:cA,"}"])):o.push(["{",t.bracketSpacing?" ":"",...u,t.bracketSpacing?" ":"","}"]);}}else o.push("{}");return o;}function wA(e,t){const{type:n,importKind:r,source:o,specifiers:i}=e;return"ImportDeclaration"===n&&!aA(i)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(CA(e),CA(o)));}function TA(e,t,n){const r=e.getNode();return aA(r.assertions)?[" assert {",t.bracketSpacing?" ":"",fA(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:"";}var BA={printImportDeclaration:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[],{importKind:u}=r;return i.push("import"),u&&"value"!==u&&i.push(" ",u),i.push(SA(e,t,n),xA(e,t,n),TA(e,t,n),o),i;},printExportDeclaration:function(e,t,n){const r=e.getValue(),o=[];AA(r)&&o.push(FA(e,t,n));const{type:i,exportKind:u,declaration:s}=r;return o.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&o.push(" default"),yA(r,DA.Dangling)&&(o.push(" ",gA(e,t,!0)),bA(r)&&o.push(mA)),s?o.push(" ",n("declaration")):o.push("type"===u?" type":"",SA(e,t,n),xA(e,t,n),TA(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,o=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:i}=r;if(o&&"ClassDeclaration"!==i&&"FunctionDeclaration"!==i&&"TSInterfaceDeclaration"!==i&&"DeclareClass"!==i&&"DeclareFunction"!==i&&"TSDeclareFunction"!==i&&"EnumDeclaration"!==i)return!0;return!1;}(r,t)&&o.push(";"),o;},printExportAllDeclaration:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[],{exportKind:u,exported:s}=r;return i.push("export"),"type"===u&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(xA(e,t,n),TA(e,t,n),o),i;},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:o,importKind:i}=r,u=[];"ImportSpecifier"===o&&i&&u.push(i," ");const s=o.startsWith("Import"),a=s?"imported":"local",c=s?"local":"exported";let l="",p="";return"ExportNamespaceSpecifier"===o||"ImportNamespaceSpecifier"===o?l="*":r[a]&&(l=n(a)),!r[c]||r[a]&&vA(r[a],r[c])||(p=n(c)),u.push(l,l&&p?" as ":"",p),u;}};const{getParentExportDeclaration:kA}=pd,{printClass:NA}=Xv,{printOpaqueType:PA,printTypeAlias:OA,printIntersectionType:IA,printUnionType:jA,printFunctionType:LA,printTupleType:_A,printIndexedAccessType:MA}=Zb,{printInterface:RA}=sA,{printTypeParameters:VA}=DC,{printExportDeclaration:$A,printExportAllDeclaration:qA}=BA;function WA(e,t){const n=kA(e);return n?(Il.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t];}var UA={printFlow:function(e,t,n){const r=e.getValue(),o=t.semi?";":"";switch(r.type){case"DeclareClass":return WA(e,NA(e,t,n));case"DeclareFunction":return WA(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),o]);case"DeclareModule":return WA(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return WA(e,["module.exports",": ",n("typeAnnotation"),o]);case"DeclareVariable":return WA(e,["var ",n("id"),o]);case"DeclareOpaqueType":return WA(e,PA(e,t,n));case"DeclareInterface":return WA(e,RA(e,t,n));case"DeclareTypeAlias":return WA(e,OA(e,t,n));case"DeclareExportDeclaration":return WA(e,$A(e,t,n));case"DeclareExportAllDeclaration":return WA(e,qA(e,t,n));case"OpaqueType":return PA(e,t,n);case"TypeAlias":return OA(e,t,n);case"IntersectionTypeAnnotation":return IA(e,t,n);case"UnionTypeAnnotation":return jA(e,t,n);case"FunctionTypeAnnotation":return LA(e,t,n);case"TupleTypeAnnotation":return _A(e,t,n);case"GenericTypeAnnotation":return[n("id"),VA(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return MA(e,t,n);case"TypeAnnotation":return n("typeAnnotation");}}};const{hasNewlineInRange:zA}=rn,{isJsxNode:HA,isBlockComment:GA,getComments:JA,isCallExpression:XA,isMemberExpression:YA}=pd,{locStart:KA,locEnd:QA}=ea,{builders:{line:ZA,softline:eF,group:tF,indent:nF,align:rF,ifBreak:oF,dedent:iF,breakParent:uF}}=Rn;function sF(e,t,n){const r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"alternate":"falseType",u=e.getParentNode(),s=o?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return u.type===r.type&&u[i]===r?rF(2,s):s;}const aF=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var cF={printTernary:function(e,t,n){const r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"consequent":"trueType",u=o?"alternate":"falseType",s=o?["test"]:["checkType","extendsType"],a=r[i],c=r[u],l=[];let p=!1;const f=e.getParentNode(),d=f.type===r.type&&s.some(e=>f[e]===r);let h,m,g=f.type===r.type&&!d,y=0;do{m=h||r,h=e.getParentNode(y),y++;}while(h&&h.type===r.type&&s.every(e=>h[e]!==m));const D=h||f,E=m;if(o&&(HA(r[s[0]])||HA(a)||HA(c)||function(e){const t=[e];for(let e=0;e<t.length;e++){const n=t[e];for(const e of["test","consequent","alternate"]){const r=n[e];if(HA(r))return!0;"ConditionalExpression"===r.type&&t.push(r);}}return!1;}(E))){p=!0,g=!0;const e=e=>[oF("("),nF([eF,e]),eF,oF(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;l.push(" ? ",t(a)?n(i):e(n(i))," : ",c.type===r.type||t(c)?n(u):e(n(u)));}else{const e=[ZA,"? ",a.type===r.type?oF("","("):"",rF(2,n(i)),a.type===r.type?oF("",")"):"",ZA,": ",c.type===r.type?n(u):rF(2,n(u))];l.push(f.type!==r.type||f[u]===r||d?e:t.useTabs?iF(nF(e)):rF(Math.max(0,t.tabWidth-2),e));}const b=Ws([...s.map(e=>JA(r[e])),JA(a),JA(c)]).some(e=>GA(e)&&zA(t.originalText,KA(e),QA(e))),C=!p&&(YA(f)||"NGPipeExpression"===f.type&&f.left===r)&&!f.computed,v=function(e){const t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let t=0;!n;t++){const o=e.getParentNode(t);XA(o)&&o.callee===r||YA(o)&&o.object===r||"TSNonNullExpression"===o.type&&o.expression===r?r=o:"NewExpression"===o.type&&o.callee===r||"TSAsExpression"===o.type&&o.expression===r?(n=e.getParentNode(t+1),r=o):n=o;}return r!==t&&n[aF.get(n.type)]===r;}(e),A=(F=[sF(e,0,n),g?l:nF(l),o&&C&&!v?eF:""],f===D?tF(F,{shouldBreak:b}):b?[F,uF]:F);var F;return d||v?tF([nF([eF,A]),eF]):A;}};const{printDanglingComments:lF}=up,{builders:{line:pF,softline:fF,group:dF,indent:hF,ifBreak:mF,hardline:gF}}=Rn,{getLast:yF,hasNewlineInRange:DF,hasNewline:EF,isNonEmptyArray:bF}=rn,{shouldPrintComma:CF,hasComment:vF,getComments:AF,CommentCheckFlags:FF,isNextLineEmpty:xF}=pd,{locStart:SF,locEnd:wF}=ea,{printOptionalToken:TF,printTypeAnnotation:BF}=$y,{shouldHugFunctionParameters:kF}=Nb,{shouldHugType:NF}=Zb,{printHardlineAfterHeritage:PF}=Xv;var OF={printObject:function(e,t,n){const r=t.semi?";":"",o=e.getValue();let i;i="TSTypeLiteral"===o.type?"members":"TSInterfaceBody"===o.type?"body":"properties";const u="ObjectTypeAnnotation"===o.type,s=[i];u&&s.push("indexers","callProperties","internalSlots");const a=s.map(e=>o[e][0]).sort((e,t)=>SF(e)-SF(t))[0],c=e.getParentNode(0),l=u&&c&&("InterfaceDeclaration"===c.type||"DeclareInterface"===c.type||"DeclareClass"===c.type)&&"body"===e.getName(),p="TSInterfaceBody"===o.type||l||"ObjectPattern"===o.type&&"FunctionDeclaration"!==c.type&&"FunctionExpression"!==c.type&&"ArrowFunctionExpression"!==c.type&&"ObjectMethod"!==c.type&&"ClassMethod"!==c.type&&"ClassPrivateMethod"!==c.type&&"AssignmentPattern"!==c.type&&"CatchClause"!==c.type&&o.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==o.type&&a&&DF(t.originalText,SF(o),SF(a)),f=l?";":"TSInterfaceBody"===o.type||"TSTypeLiteral"===o.type?mF(r,";"):",",d="RecordExpression"===o.type?"#{":o.exact?"{|":"{",h=o.exact?"|}":"}",m=[];for(const t of s)e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(),loc:SF(t)});},t);s.length>1&&m.sort((e,t)=>e.loc-t.loc);let g=[];const y=m.map(e=>{const n=[...g,dF(e.printed)];return g=[f,pF],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!vF(e.node,FF.PrettierIgnore)||g.shift(),xF(e.node,t)&&g.push(gF),n;});if(o.inexact){let n;if(vF(o,FF.Dangling)){const r=vF(o,FF.Line);n=[lF(e,t,!0),r||EF(t.originalText,wF(yF(AF(o))))?gF:pF,"..."];}else n=["..."];y.push([...g,...n]);}const D=yF(o[i]),E=!(o.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&vF(D,FF.PrettierIgnore));let b;if(0===y.length){if(!vF(o,FF.Dangling))return[d,h,BF(e,t,n)];b=dF([d,lF(e,t),fF,h,TF(e),BF(e,t,n)]);}else b=[l&&bF(o.properties)?PF(c):"",d,hF([t.bracketSpacing?pF:fF,...y]),mF(E&&(","!==f||CF(t))?f:""),t.bracketSpacing?pF:fF,h,TF(e),BF(e,t,n)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(NF,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||!p&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?b:dF(b,{shouldBreak:p});}};const{builders:{hardline:IF}}=Rn,{getLeftSidePathName:jF,hasNakedLeftSide:LF,isJsxNode:_F,isTheOnlyJsxElementInMarkdown:MF,hasComment:RF,CommentCheckFlags:VF,isNextLineEmpty:$F}=pd,{shouldPrintParamsWithoutParens:qF}=pv;function WF(e,t,n,r){const o=e.getValue(),i=[],u="ClassBody"===o.type,s=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if("EmptyStatement"!==n.type)return n;}}(o[r]);return e.each((e,r,o)=>{const a=e.getValue();if("EmptyStatement"===a.type)return;const c=n();t.semi||u||MF(t,e)||!function(e,t){if("ExpressionStatement"!==e.getNode().type)return!1;return e.call(e=>UF(e,t),"expression");}(e,t)?i.push(c):RF(a,VF.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",c),!t.semi&&u&&zF(a)&&function(e,t){const n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){const e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0;}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;const e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e);}case"TSIndexSignature":return!0;}return!1;}(a,o[r+1])&&i.push(";"),a!==s&&(i.push(IF),$F(a,t)&&i.push(IF));},r),i;}function UF(e,t){const n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!qF(e,t))return!0;break;case"UnaryExpression":{const{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break;}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(_F(n))return!0;}return!!fg(e,t)||!!LF(n)&&e.call(e=>UF(e,t),...jF(e,n));}const zF=({type:e})=>"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e;var HF={printBody:function(e,t,n){return WF(e,t,n,"body");},printSwitchCaseConsequent:function(e,t,n){return WF(e,t,n,"consequent");}};const{printDanglingComments:GF}=up,{isNonEmptyArray:JF}=rn,{builders:{hardline:XF,indent:YF}}=Rn,{hasComment:KF,CommentCheckFlags:QF,isNextLineEmpty:ZF}=pd,{printHardlineAfterHeritage:ex}=Xv,{printBody:tx}=HF;function nx(e,t,n){const r=e.getValue(),o=JF(r.directives),i=r.body.some(e=>"EmptyStatement"!==e.type),u=KF(r,QF.Dangling);if(!o&&!i&&!u)return"";const s=[];if(o&&e.each((e,r,o)=>{s.push(n()),(r<o.length-1||i||u)&&(s.push(XF),ZF(e.getValue(),t)&&s.push(XF));},"directives"),i&&s.push(tx(e,t,n)),u&&s.push(GF(e,t,!0)),"Program"===r.type){const t=e.getParentNode();t&&"ModuleExpression"===t.type||s.push(XF);}return s;}var rx={printBlock:function(e,t,n){const r=e.getValue(),o=[];if("StaticBlock"===r.type&&o.push("static "),"ClassBody"===r.type&&JF(r.body)){const t=e.getParentNode();o.push(ex(t));}o.push("{");const i=nx(e,t,n);if(i)o.push(YF([XF,i]),XF);else{const t=e.getParentNode(),n=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!n.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===r.type||"ClassBody"===r.type||o.push(XF);}return o.push("}"),o;},printBlockBody:nx};const{printDanglingComments:ox}=up,{hasNewlineInRange:ix}=rn,{builders:{join:ux,line:sx,hardline:ax,softline:cx,group:lx,indent:px,conditionalGroup:fx,ifBreak:dx}}=Rn,{isLiteral:hx,getTypeScriptMappedTypeModifier:mx,shouldPrintComma:gx,isCallExpression:yx,isMemberExpression:Dx}=pd,{locStart:Ex,locEnd:bx}=ea,{printOptionalToken:Cx,printTypeScriptModifiers:vx}=$y,{printTernary:Ax}=cF,{printFunctionParameters:Fx,shouldGroupFunctionParameters:xx}=Nb,{printTemplateLiteral:Sx}=kd,{printArrayItems:wx}=lD,{printObject:Tx}=OF,{printClassProperty:Bx,printClassMethod:kx}=Xv,{printTypeParameter:Nx,printTypeParameters:Px}=DC,{printPropertyKey:Ox}=kC,{printFunctionDeclaration:Ix,printMethodInternal:jx}=pv,{printInterface:Lx}=sA,{printBlock:_x}=rx,{printTypeAlias:Mx,printIntersectionType:Rx,printUnionType:Vx,printFunctionType:$x,printTupleType:qx,printIndexedAccessType:Wx}=Zb;var Ux={printTypescript:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];switch(r.type){case"TSTypeAssertion":{const e=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),t=lx(["<",px([cx,n("typeAnnotation")]),cx,">"]),o=[dx("("),px([cx,n("expression")]),cx,dx(")")];return e?fx([[t,n("expression")],[t,lx(o,{shouldBreak:!0})],[t,n("expression")]]):lx([t,n("expression")]);}case"TSDeclareFunction":return Ix(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),o];case"TSModuleBlock":return _x(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return Tx(e,t,n);case"TSTypeAliasDeclaration":return Mx(e,t,n);case"TSQualifiedName":return ux(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return kx(e,t,n);case"TSAbstractClassProperty":return Bx(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return Sx(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Lx(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Px(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return Nx(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));const t=e.getParentNode();return yx(t)&&t.callee===r||Dx(t)&&t.object===r?lx([px([cx,...i]),cx]):i;}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&i.push("export "),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(Ox(e,t,n),Cx(e)),r.typeAnnotation&&i.push(": ",n("typeAnnotation")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return r.accessibility&&i.push(r.accessibility+" "),r.export&&i.push("export "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{const i=e.getParentNode(),u=r.parameters.length>1?dx(gx(t)?",":""):"",s=lx([px([cx,ux([", ",cx],e.map(n,"parameters"))]),u,cx]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?s:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===i.type?o:""];}case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",Px(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return Wx(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&i.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&i.push("new "),i.push(lx(Fx(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){const e="TSConstructorType"===r.type;i.push(e?" => ":": ",n("returnType"),n("typeAnnotation"));}return i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const i=ix(t.originalText,Ex(r),bx(r));return lx(["{",px([t.bracketSpacing?sx:cx,r.readonly?[mx(r.readonly,"readonly")," "]:"",vx(e,t,n),n("typeParameter"),r.optional?mx(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),dx(o)]),ox(e,t,!0),t.bracketSpacing?sx:cx,"}"],{shouldBreak:i});}case"TSMethodSignature":{const o=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";i.push(r.accessibility?[r.accessibility," "]:"",o,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Cx(e));const u=Fx(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",a=r[s],c=a?n(s):"",l=xx(r,c);return i.push(l?lx(u):u),a&&i.push(": ",lx(c)),lx(i);}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),lx(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push(vx(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),0===r.members.length?i.push(lx(["{",ox(e,t),cx,"}"])):i.push(lx(["{",px([ax,wx(e,t,"members",n),gx(t,"es5")?",":""]),ox(e,t,!0),ax,"}"])),i;case"TSEnumMember":return i.push(n("id")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return r.isExport&&i.push("export "),i.push("import "),r.importKind&&"value"!==r.importKind&&i.push(r.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),lx(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const u=e.getParentNode(),s=hx(r.id),a="TSModuleDeclaration"===u.type,c=r.body&&"TSModuleDeclaration"===r.body.type;if(a)i.push(".");else{r.declare&&i.push("declare "),i.push(vx(e,t,n));const o=t.originalText.slice(Ex(r),Ex(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(o)||i.push(s||/(^|\s)module(\s|$)/.test(o)?"module ":"namespace ");}return i.push(n("id")),c?i.push(n("body")):r.body?i.push(" ",lx(n("body"))):i.push(o),i;}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return Ax(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return Rx(e,t,n);case"TSUnionType":return Vx(e,t,n);case"TSFunctionType":return $x(e,t,n);case"TSTupleType":return qx(e,t,n);case"TSTypeReference":return[n("typeName"),Px(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return jx(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")];}}};const{hasNewline:zx}=rn,{builders:{join:Hx,hardline:Gx},utils:{replaceNewlinesWithLiterallines:Jx}}=Rn,{isLineComment:Xx,isBlockComment:Yx}=pd,{locStart:Kx,locEnd:Qx}=ea;var Zx={printComment:function(e,t){const n=e.getValue();if(Xx(n))return t.originalText.slice(Kx(n),Qx(n)).trimEnd();if(Yx(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0]);}(n)){const e=function(e){const t=e.value.split("\n");return["/*",Hx(Gx,t.map((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart()))),"*/"];}(n);return n.trailing&&!zx(t.originalText,Kx(n),{backwards:!0})?[Gx,e]:e;}const e=Qx(n),r="*-/"===t.originalText.slice(e-3,e);return["/*",Jx(n.value),r?"*-/":"*/"];}throw new Error("Not a comment: "+JSON.stringify(n));}};const{printString:eS,printNumber:tS}=rn;function nS(e){return e.toLowerCase();}function rS({pattern:e,flags:t}){return t=t.split("").sort().join(""),"/".concat(e,"/").concat(t);}var oS={printLiteral:function(e,t){const n=e.getNode();switch(n.type){case"RegExpLiteral":return rS(n);case"BigIntLiteral":return nS(n.bigint||n.extra.raw);case"NumericLiteral":return tS(n.extra.raw);case"StringLiteral":return eS(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return tS(n.value)+"m";case"Literal":{if(n.regex)return rS(n.regex);if(n.bigint)return nS(n.raw);const{value:e}=n;return"number"==typeof e?tS(n.raw):"string"==typeof e?eS(n.raw,t):String(e);}}}};const{printDanglingComments:iS}=up,{hasNewline:uS,printString:sS,printNumber:aS}=rn,{builders:{join:cS,line:lS,hardline:pS,softline:fS,literalline:dS,group:hS,indent:mS}}=Rn,{insertPragma:gS}=Xh,{getCallArguments:yS,hasFlowShorthandAnnotationComment:DS,hasComment:ES,CommentCheckFlags:bS,isFunctionNotation:CS,isGetterOrSetter:vS,isTheOnlyJsxElementInMarkdown:AS,isBlockComment:FS,isLineComment:xS,isNextLineEmpty:SS,needsHardlineAfterDanglingComment:wS,rawText:TS,shouldPrintComma:BS,hasIgnoreComment:kS,isCallExpression:NS,isMemberExpression:PS}=pd,{locStart:OS,locEnd:IS}=ea,{printHtmlBinding:jS,isVueEventBindingExpression:LS}=Eg,{printAngular:_S}=Zg,{printJsx:MS,hasJsxIgnoreComment:RS}=jy,{printFlow:VS}=UA,{printTypescript:$S}=Ux,{printOptionalToken:qS,printBindExpressionCallee:WS,printTypeAnnotation:US,adjustClause:zS}=$y,{printImportDeclaration:HS,printExportDeclaration:GS,printExportAllDeclaration:JS,printModuleSpecifier:XS}=BA,{printTernary:YS}=cF,{printTemplateLiteral:KS}=kd,{printArray:QS,printArrayItems:ZS}=lD,{printObject:ew}=OF,{printClass:tw,printClassMethod:nw,printClassProperty:rw}=Xv,{printTypeParameters:ow}=DC,{printPropertyKey:iw,printProperty:uw}=kC,{printFunctionDeclaration:sw,printArrowFunctionExpression:aw,printMethod:cw,printReturnStatement:lw,printThrowStatement:pw}=pv,{printCallExpression:fw}=IE,{printInterface:dw}=sA,{printVariableDeclarator:hw,printAssignmentExpression:mw}=ib,{printBinaryishExpression:gw}=Ug,{printSwitchCaseConsequent:yw}=HF,{printMemberExpression:Dw}=GD,{printBlock:Ew,printBlockBody:bw}=rx,{printComment:Cw}=Zx,{printLiteral:vw}=oS,{printDecorators:Aw}=Fv;function Fw(e,t){const n=TS(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;const o=t.singleQuote?"'":'"';return o+r+o;}var xw={preprocess:dg,print:function(e,t,n,r){const o=function(e,t,n,r){const o=e.getValue(),i=t.semi?";":"";if(!o)return"";if("string"==typeof o)return o;for(const r of[vw,jS,_S,MS,VS,$S]){const o=r(e,t,n);if(void 0!==o)return o;}let u=[];switch(o.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),pS];case"File":return o.program&&o.program.interpreter&&u.push(n(["program","interpreter"])),u.push(n("program")),u;case"Program":return bw(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(o.directive)return[Fw(o.expression,t),i];if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===o)return[n("expression"),LS(o.expression)?";":""];}return[n("expression"),AS(t,e)?"":i];case"ParenthesizedExpression":return!ES(o.expression)&&("ObjectExpression"===o.expression.type||"ArrayExpression"===o.expression.type)?["(",n("expression"),")"]:hS(["(",mS([fS,n("expression")]),fS,")"]);case"AssignmentExpression":return mw(e,t,n);case"VariableDeclarator":return hw(e,t,n);case"BinaryExpression":case"LogicalExpression":return gw(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return Dw(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return o.object&&u.push(n("object")),u.push(hS(mS([fS,WS(e,t,n)]))),u;case"Identifier":return[o.name,qS(e),US(e,t,n)];case"V8IntrinsicIdentifier":return["%",o.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",n("argument"),US(e,t,n)];case"FunctionDeclaration":case"FunctionExpression":{let o=!1;if(r&&r.expandLastArg){const t=e.getParentNode();NS(t)&&yS(t).length>1&&(o=!0);}return sw(e,n,t,o);}case"ArrowFunctionExpression":return aw(e,t,n,r);case"YieldExpression":return u.push("yield"),o.delegate&&u.push("*"),o.argument&&u.push(" ",n("argument")),u;case"AwaitExpression":if(u.push("await"),o.argument){u.push(" ",n("argument"));const t=e.getParentNode();if(NS(t)&&t.callee===o||PS(t)&&t.object===o){u=[mS([fS,...u]),fS];const t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return hS(u);}}return u;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return GS(e,t,n);case"ExportAllDeclaration":return JS(e,t,n);case"ImportDeclaration":return HS(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return XS(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Ew(e,t,n);case"ThrowStatement":return pw(e,t,n);case"ReturnStatement":return lw(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return fw(e,t,n);case"ObjectTypeInternalSlot":return[o.static?"static ":"","[[",n("id"),"]]",qS(e),o.method?"":": ",n("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return ew(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?cw(e,t,n):uw(e,t,n);case"ObjectMethod":return cw(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return QS(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each((e,r)=>{0===r?t.push(n()):t.push(",",mS([lS,n()]));},"expressions"),hS(t);}return hS(cS([",",lS],e.map(n,"expressions")));}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),i];case"DirectiveLiteral":return Fw(o,t);case"UnaryExpression":return u.push(o.operator),/[a-z]$/.test(o.operator)&&u.push(" "),ES(o.argument)?u.push(hS(["(",mS([fS,n("argument")]),fS,")"])):u.push(n("argument")),u;case"UpdateExpression":return u.push(n("argument"),o.operator),o.prefix&&u.reverse(),u;case"ConditionalExpression":return YS(e,t,n);case"VariableDeclaration":{const t=e.map(n,"declarations"),r=e.getParentNode(),s="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,a=o.declarations.some(e=>e.init);let c;return 1!==t.length||ES(o.declarations[0])?t.length>0&&(c=mS(t[0])):c=t[0],u=[o.declare?"declare ":"",o.kind,c?[" ",c]:"",mS(t.slice(1).map(e=>[",",a&&!s?pS:lS,e]))],s&&r.body!==o||u.push(i),hS(u);}case"WithStatement":return hS(["with (",n("object"),")",zS(o.body,n("body"))]);case"IfStatement":{const r=zS(o.consequent,n("consequent")),i=hS(["if (",hS([mS([fS,n("test")]),fS]),")",r]);if(u.push(i),o.alternate){const r=ES(o.consequent,bS.Trailing|bS.Line)||wS(o),i="BlockStatement"===o.consequent.type&&!r;u.push(i?" ":pS),ES(o,bS.Dangling)&&u.push(iS(e,t,!0),r?pS:" "),u.push("else",hS(zS(o.alternate,n("alternate"),"IfStatement"===o.alternate.type)));}return u;}case"ForStatement":{const r=zS(o.body,n("body")),i=iS(e,t,!0),u=i?[i,fS]:"";return o.init||o.test||o.update?[u,hS(["for (",hS([mS([fS,n("init"),";",lS,n("test"),";",lS,n("update")]),fS]),")",r])]:[u,hS(["for (;;)",r])];}case"WhileStatement":return hS(["while (",hS([mS([fS,n("test")]),fS]),")",zS(o.body,n("body"))]);case"ForInStatement":return hS(["for (",n("left")," in ",n("right"),")",zS(o.body,n("body"))]);case"ForOfStatement":return hS(["for",o.await?" await":""," (",n("left")," of ",n("right"),")",zS(o.body,n("body"))]);case"DoWhileStatement":{const e=zS(o.body,n("body"));return u=[hS(["do",e])],"BlockStatement"===o.body.type?u.push(" "):u.push(pS),u.push("while (",hS([mS([fS,n("test")]),fS]),")",i),u;}case"DoExpression":return[o.async?"async ":"","do ",n("body")];case"BreakStatement":return u.push("break"),o.label&&u.push(" ",n("label")),u.push(i),u;case"ContinueStatement":return u.push("continue"),o.label&&u.push(" ",n("label")),u.push(i),u;case"LabeledStatement":return"EmptyStatement"===o.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),o.handler?[" ",n("handler")]:"",o.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(o.param){const e=ES(o.param,e=>!FS(e)||e.leading&&uS(t.originalText,IS(e))||e.trailing&&uS(t.originalText,OS(e),{backwards:!0})),r=n("param");return["catch ",e?["(",mS([fS,r]),fS,") "]:["(",r,") "],n("body")];}return["catch ",n("body")];case"SwitchStatement":return[hS(["switch (",mS([fS,n("discriminant")]),fS,")"])," {",o.cases.length>0?mS([pS,cS(pS,e.map((e,r,o)=>{const i=e.getValue();return[n(),r!==o.length-1&&SS(i,t)?pS:""];},"cases"))]):"",pS,"}"];case"SwitchCase":{o.test?u.push("case ",n("test"),":"):u.push("default:");const r=o.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const o=yw(e,t,n);u.push(1===r.length&&"BlockStatement"===r[0].type?[" ",o]:mS([pS,o]));}return u;}case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return tw(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return nw(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return rw(e,t,n);case"TemplateElement":return cS(dS,o.value.raw.split(/\r?\n/g));case"TemplateLiteral":return KS(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(o.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(o.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===o.type||o.explicitType){let e=null;switch(o.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol";}u.push("of ",e," ");}if(0!==o.members.length||o.hasUnknownMembers){const r=o.members.length>0?[pS,ZS(e,t,"members",n),o.hasUnknownMembers||BS(t)?",":""]:[];u.push(hS(["{",mS([...r,...(o.hasUnknownMembers?[pS,"..."]:[])]),iS(e,t,!0),pS,"}"]));}else u.push(hS(["{",iS(e,t),fS,"}"]));return u;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof o.init?n("init"):String(o.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":{const t=o.name?n("name"):e.getParentNode().this===o?"this":"";return[t,qS(e),t?": ":"",n("typeAnnotation")];}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return dw(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{const{kind:e}=o;return Il.ok("plus"===e||"minus"===e),"plus"===e?"+":"-";}case"ObjectTypeCallProperty":return o.static&&u.push("static "),u.push(n("value")),u;case"ObjectTypeIndexer":return[o.variance?n("variance"):"","[",n("id"),o.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let r="";return o.proto?r="proto ":o.static&&(r="static "),[r,vS(o)?o.kind+" ":"",o.variance?n("variance"):"",iw(e,t,n),qS(e),CS(o)?"":": ",n("value")];}case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return sS(TS(o),t);case"NumberLiteralTypeAnnotation":Il.strictEqual(typeof o.value,"number");case"BigIntLiteralTypeAnnotation":return o.extra?aS(o.extra.raw):aS(o.raw);case"TypeCastExpression":return["(",n("expression"),US(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=ow(e,t,n,"params");if("flow"===t.parser){const e=OS(o),n=IS(o),i=t.originalText.lastIndexOf("/*",e),u=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==u){const e=t.originalText.slice(i+2,u).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"];}}return r;}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return u.push("#!",o.value,pS),SS(o,t)&&u.push(pS),u;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{u.push("module {");const e=n("body");return e&&u.push(mS([pS,e]),pS),u.push("}"),u;}default:throw new Error("unknown type: "+JSON.stringify(o.type));}}(e,t,n,r);if(!o)return"";const i=e.getValue(),{type:u}=i;if("ClassMethod"===u||"ClassPrivateMethod"===u||"ClassProperty"===u||"PropertyDefinition"===u||"TSAbstractClassProperty"===u||"ClassPrivateProperty"===u||"MethodDefinition"===u||"TSAbstractMethodDefinition"===u||"TSDeclareMethod"===u)return o;const s=Aw(e,t,n);if(s)return hS([...s,o]);if(!fg(e,t))return r&&r.needsSemi?[";",o]:o;const a=[r&&r.needsSemi?";(":"(",o];if(DS(i)){const[e]=i.trailingComments;a.push(" /*",e.value.trimStart(),"*/"),e.printed=!0;}return a.push(")"),a;},embed:mh,insertPragma:gS,massageAstNode:bh,hasPrettierIgnore:e=>kS(e)||RS(e),willPrintOwnComments:Km.willPrintOwnComments,canAttachComment:function(e){return e.type&&!FS(e)&&!xS(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type;},printComment:Cw,isBlockComment:FS,handleComments:{avoidAstMutation:!0,ownLine:Km.handleOwnLineComment,endOfLine:Km.handleEndOfLineComment,remaining:Km.handleRemainingComment},getCommentChildNodes:Km.getCommentChildNodes};const{builders:{hardline:Sw,indent:ww,join:Tw}}=Rn;const Bw=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function kw(e,t){const{type:n}=e;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(const[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"});}else t.key={type:"StringLiteral",value:e.key.name};}kw.ignoredProperties=Bw;var Nw={preprocess:dg,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),Sw];case"ArrayExpression":{if(0===r.elements.length)return"[]";const t=e.map(()=>null===e.getValue()?"null":n(),"elements");return["[",ww([Sw,Tw([",",Sw],t)]),Sw,"]"];}case"ObjectExpression":return 0===r.properties.length?"{}":["{",ww([Sw,Tw([",",Sw],e.map(n,"properties"))]),Sw,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":{const t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===r?JSON.stringify(r.name):r.name;}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type));}},massageAstNode:kw};const Pw="Common";var Ow={bracketSpacing:{since:"0.0.0",category:Pw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Pw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Pw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",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."}]}};const Iw="JavaScript";var jw={arrowParens:{since:"1.9.0",category:Iw,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Ow.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Iw,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Iw,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Ow.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Iw,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Iw,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Iw,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Lw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},_w={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Mw={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Rw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},Vw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},$w={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175};var qw={languages:[df(Lw,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions.filter(e=>".jsx"!==e),".wxs"]})),df(Lw,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),df(Lw,()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),df(_w,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),df(Mw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),df(Rw,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),df(Rw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),df(Vw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),df($w,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:jw,printers:{estree:xw,"estree-json":Nw},parsers:{get babel(){return{}.parsers.babel;},get"babel-flow"(){return{}.parsers["babel-flow"];},get"babel-ts"(){return{}.parsers["babel-ts"];},get json(){return{}.parsers.json;},get json5(){return{}.parsers.json5;},get"json-stringify"(){return{}.parsers["json-stringify"];},get __js_expression(){return{}.parsers.__js_expression;},get __vue_expression(){return{}.parsers.__vue_expression;},get __vue_event_binding(){return{}.parsers.__vue_event_binding;},get flow(){return{}.parsers.flow;},get typescript(){return{}.parsers.typescript;},get __ng_action(){return{}.parsers.__ng_action;},get __ng_binding(){return{}.parsers.__ng_binding;},get __ng_interpolation(){return{}.parsers.__ng_interpolation;},get __ng_directive(){return{}.parsers.__ng_directive;},get espree(){return{}.parsers.espree;},get meriyah(){return{}.parsers.meriyah;}}};const{isFrontMatterNode:Ww}=rn,Uw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function zw(e,t,n){if(Ww(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||Ww(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&ke(n.nodes)===e)return null;}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase();})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n);}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value;}zw.ignoredProperties=Uw;var Hw=zw;const{builders:{hardline:Gw,markAsRoot:Jw}}=Rn;var Xw=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Jw([e.startDelimiter,Gw,r,r?Gw:"",e.endDelimiter]);}};const{builders:{hardline:Yw}}=Rn;var Kw=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=Xw(r,n);return e?[e,Yw]:"";}};const Qw=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var Zw=function(e){const t=e.match(Qw);if(!t)return{content:e};const{startDelimiter:n,language:r,value:o="",endDelimiter:i}=t.groups;let u=r.trim()||"yaml";if("+++"===n&&(u="toml"),"yaml"!==u&&n!==i)return{content:e};const[s]=t;return{frontMatter:{type:"front-matter",lang:u,value:o,startDelimiter:n,endDelimiter:i,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)};};var eT={hasPragma:function(e){return Xh.hasPragma(Zw(e).content);},insertPragma:function(e){const{frontMatter:t,content:n}=Zw(e);return(t?t.raw+"\n\n":"")+Xh.insertPragma(n);}};const{isNonEmptyArray:tT}=rn,nT=new Set(["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"]);function rT(e,t){const n=Array.isArray(t)?t:[t];let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1;}function oT(e,t){const n=rT(e,t);return-1===n?null:e.getParentNode(n);}function iT(e){return"value-operator"===e.type&&"*"===e.value;}function uT(e){return"value-operator"===e.type&&"/"===e.value;}function sT(e){return"value-operator"===e.type&&"+"===e.value;}function aT(e){return"value-operator"===e.type&&"-"===e.value;}function cT(e){return"value-operator"===e.type&&"%"===e.value;}function lT(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type;}function pT(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&lT(e.groups[0]);}function fT(e){return e&&"value-colon"===e.type;}var dT={getAncestorCounter:rT,getAncestorNode:oT,getPropOfDeclNode:function(e){const t=oT(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase();},hasSCSSInterpolation:function(e){if(tT(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1;},hasStringOrFunction:function(e){if(tT(e))for(let t=0;t<e.length;t++)if("string"===e[t].type||"func"===e[t].type)return!0;return!1;},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase();},insideValueFunctionNode:function(e,t){const n=oT(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t;},insideICSSRuleNode:function(e){const t=oT(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"));},insideAtRuleNode:function(e,t){const n=Array.isArray(t)?t:[t],r=oT(e,"css-atrule");return r&&n.includes(r.name.toLowerCase());},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=oT(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length;},isKeyframeAtRuleKeywords:function(e,t){const n=oT(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase());},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase());},isSCSS:function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t);},isSCSSVariable:function(e){return Boolean(e&&"word"===e.type&&e.value.startsWith("$"));},isLastNode:function(e,t){const n=e.getParentNode();if(!n)return!1;const{nodes:r}=n;return r&&r.indexOf(t)===r.length-1;},isLessParser:function(e){return"css"===e.parser||"less"===e.parser;},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name);},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value));},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value);},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value);},isMultiplicationNode:iT,isDivisionNode:uT,isAdditionNode:sT,isSubtractionNode:aT,isModuloNode:cT,isMathOperatorNode:function(e){return iT(e)||uT(e)||sT(e)||aT(e)||cT(e);},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value;},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value);},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase();},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value);},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase();},hasParensAroundNode:function(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;},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before;},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":");},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params);},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder");},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder");},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before;},isKeyValuePairNode:lT,isKeyValuePairInParenGroupNode:pT,isKeyInValuePairNode:function(e,t){if(!lT(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&fT(n[r+1]);},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(pT(t)||n&&pT(n)))return!1;const r=oT(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!pT(n)||"value-func"===n.type;},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline;},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value;},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value;},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value;},isWordNode:function(e){return["value-word","value-atword"].includes(e.type);},isColonNode:fT,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase());},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&nT.has(e.value.toLowerCase());},lastLineHasInlineComment:function(e){return /\/\//.test(e.split(/[\n\r]/).pop());},stringifyNode:function e(t){if(t.groups){return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,o)=>n+e(r)+("comma_group"===t.groups[0].type&&o!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");}const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"");},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-");}},hT=function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf("\n",n)+1;return n+e.column;};const{getLast:mT,skipEverythingButNewLine:gT}=rn;function yT(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?hT(e.source.start,t)-1:null;}function DT(e,t){if("css-comment"===e.type&&e.inline)return gT(t,e.source.startOffset);const n=e.nodes&&mT(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?hT(e.source.end,t):null;}function ET(e,t,n){e.source&&(e.source.startOffset=yT(e,n)+t,e.source.endOffset=DT(e,n)+t);for(const r in e){const o=e[r];"source"!==r&&o&&"object"==typeof o&&ET(o,t,n);}}function bT(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t;}var CT={locStart:function(e){return e.source.startOffset;},locEnd:function(e){return e.source.endOffset;},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=yT(t,n),t.source.endOffset=DT(t,n));for(const r in t){const o=t[r];"source"!==r&&o&&"object"==typeof o&&("value-root"===o.type||"value-unknown"===o.type?ET(o,bT(t),o.text||o.value):e(o,n));}},replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",o=!1;const i=[];for(let u=0;u<e.length;u++){const s=e[u];switch(n){case"initial":if("'"===s){n="single-quotes";continue;}if('"'===s){n="double-quotes";continue;}if(("u"===s||"U"===s)&&"url("===e.slice(u,u+4).toLowerCase()){n="url",u+=3;continue;}if("*"===s&&"/"===e[u-1]){n="comment-block";continue;}if("/"===s&&"/"===e[u-1]){n="comment-inline",t=u-1;continue;}continue;case"single-quotes":if("'"===s&&"\\"!==e[u-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"double-quotes":if('"'===s&&"\\"!==e[u-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"url":if(")"===s&&(n="initial"),"\n"===s||"\r"===s)return e;if("'"===s){n="single-quotes",r="url";continue;}if('"'===s){n="double-quotes",r="url";continue;}continue;case"comment-block":"/"===s&&"*"===e[u-1]&&(n="initial");continue;case"comment-inline":'"'!==s&&"'"!==s&&"*"!==s||(o=!0),"\n"!==s&&"\r"!==s||(o&&i.push([t,u]),n="initial",o=!1);continue;}}for(const[t,n]of i)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g," ")+e.slice(n);return e;}};const{printNumber:vT,printString:AT,hasNewline:FT,isFrontMatterNode:xT,isNextLineEmpty:ST,isNonEmptyArray:wT}=rn,{builders:{join:TT,line:BT,hardline:kT,softline:NT,group:PT,fill:OT,indent:IT,dedent:jT,ifBreak:LT,breakParent:_T},utils:{removeLines:MT,getDocParts:RT}}=Rn,{insertPragma:VT}=eT,{getAncestorNode:$T,getPropOfDeclNode:qT,maybeToLowerCase:WT,insideValueFunctionNode:UT,insideICSSRuleNode:zT,insideAtRuleNode:HT,insideURLFunctionInImportAtRuleNode:GT,isKeyframeAtRuleKeywords:JT,isWideKeywords:XT,isSCSS:YT,isLastNode:KT,isLessParser:QT,isSCSSControlDirectiveNode:ZT,isDetachedRulesetDeclarationNode:eB,isRelationalOperatorNode:tB,isEqualityOperatorNode:nB,isMultiplicationNode:rB,isDivisionNode:oB,isAdditionNode:iB,isSubtractionNode:uB,isMathOperatorNode:sB,isEachKeywordNode:aB,isForKeywordNode:cB,isURLFunctionNode:lB,isIfElseKeywordNode:pB,hasComposesNode:fB,hasParensAroundNode:dB,hasEmptyRawBefore:hB,isKeyValuePairNode:mB,isKeyInValuePairNode:gB,isDetachedRulesetCallNode:yB,isTemplatePlaceholderNode:DB,isTemplatePropNode:EB,isPostcssSimpleVarNode:bB,isSCSSMapItemNode:CB,isInlineValueCommentNode:vB,isHashNode:AB,isLeftCurlyBraceNode:FB,isRightCurlyBraceNode:xB,isWordNode:SB,isColonNode:wB,isMediaAndSupportsKeywords:TB,isColorAdjusterFuncNode:BB,lastLineHasInlineComment:kB,isAtWordPlaceholderNode:NB}=dT,{locStart:PB,locEnd:OB}=CT;function IB(e){return"es5"===e.trailingComma||"all"===e.trailingComma;}function jB(e,t,n){const r=[];return e.each((e,o,i)=>{const u=i[o-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){const n=e.getValue();r.push(t.originalText.slice(PB(n),OB(n)));}else r.push(n());o!==i.length-1&&("css-comment"===i[o+1].type&&!FT(t.originalText,PB(i[o+1]),{backwards:!0})&&!xT(i[o])||"css-atrule"===i[o+1].type&&"else"===i[o+1].name&&"css-comment"!==i[o].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?BT:kT),ST(t.originalText,e.getValue(),OB)&&!xT(i[o])&&r.push(kT)));},"nodes"),r;}const LB=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,_B=new RegExp(LB.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function MB(e,t){return e.replace(LB,e=>AT(e,t));}function RB(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n;}function VB(e){return e.replace(_B,(e,t,n,r,o)=>!n&&r?$B(r)+WT(o||""):e);}function $B(e){return vT(e).replace(/\.0(?=$|e)/,"");}var qB={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return[r.raw,kT];case"css-root":{const o=jB(e,t,n),i=r.raws.after.trim();return[o,i?" ".concat(i):"",RT(o).length>0?kT:""];}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(PB(r),OB(r));return e?n.trimEnd():n;}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&kB(r.selector.value)?BT:" ","{",r.nodes.length>0?IT([kT,jB(e,t,n)]):"",kT,"}",eB(r)?";":""]:";"];case"css-decl":{const o=e.getParentNode(),{between:i}=r.raws,u=i.trim(),s=":"===u;let a=fB(r)?MT(n("value")):n("value");return!s&&kB(u)&&(a=IT([kT,jT(a)])),[r.raws.before.replace(/[\s;]/g,""),zT(e)?r.prop:WT(r.prop),u.startsWith("//")?" ":"",u,r.extend?"":" ",QT(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",a,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",IT([NT,jB(e,t,n)]),NT,"}"]:EB(r)&&!o.raws.semicolon&&";"!==t.originalText[OB(r)-1]?"":t.__isHTMLStyleAttribute&&KT(e,r)?LT(";"):";"];}case"css-atrule":{const o=e.getParentNode(),i=DB(r)&&!o.raws.semicolon&&";"!==t.originalText[OB(r)-1];if(QT(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",i?"":";"];if(r.function)return[r.name,n("params"),i?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:"",i?"":";"];}return["@",yB(r)||r.name.endsWith(":")?r.name:WT(r.name),r.params?[yB(r)?"":DB(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[kT,kT]:/^\s*\n/.test(r.raws.afterName)?kT:" ":" ",n("params")]:"",r.selector?IT([" ",n("selector")]):"",r.value?PT([" ",n("value"),ZT(r)?dB(r)?" ":BT:""]):"else"===r.name?" ":"",r.nodes?[ZT(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&kB(r.selector.value)||!r.selector&&"string"==typeof r.params&&kB(r.params)?BT:" ","{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:i?"":";"];}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n());},"nodes"),PT(IT(TT(BT,t)));}case"media-query":return[TT(" ",e.map(n,"nodes")),KT(e,r)?"":","];case"media-type":return VB(MB(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return WT(MB(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return VB(MB(r.value,t));case"media-keyword":return MB(r.value,t);case"media-url":return MB(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return PT([HT(e,"custom-selector")?[$T(e,"css-atrule").customSelector,BT]:"",TT([",",HT(e,["extend","custom-selector","nest"])?BT:kT],e.map(n,"nodes"))]);case"selector-selector":return PT(IT(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return MB(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),o=n&&t.nodes[n-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===o.type?r.value:VB(JT(e,r.value)?r.value.toLowerCase():r.value)];}case"selector-id":return["#",r.value];case"selector-class":return[".",VB(MB(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?RB(MB(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===r?"":BT,r.value,KT(e,r)?"":" "];}return[r.value.trim().startsWith("(")?BT:"",VB(MB(r.value.trim(),t))||BT];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[WT(r.value),wT(r.nodes)?["(",TT(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{const n=$T(e,"css-rule");if(n&&n.isSCSSNesterProperty)return VB(MB(WT(r.value),t));const o=e.getParentNode();if(o.raws&&o.raws.selector){const e=PB(o),n=e+o.raws.selector.length;return t.originalText.slice(e,n).trim();}const i=e.getParentNode(1);if("value-paren_group"===o.type&&i&&"value-func"===i.type&&"selector"===i.value){const e=PB(o.open)+1,n=OB(o.close)-1,r=t.originalText.slice(e,n).trim();return kB(r)?[_T,r]:r;}return r.value;}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(PB(r),OB(r));case"value-comma_group":{const t=e.getParentNode(),o=e.getParentNode(1),i=qT(e),u=i&&"value-value"===t.type&&("grid"===i||i.startsWith("grid-template")),s=$T(e,"css-atrule"),a=s&&ZT(s),c=r.groups.some(e=>vB(e)),l=e.map(n,"groups"),p=[],f=UT(e,"url");let d=!1,h=!1;for(let n=0;n<r.groups.length;++n){p.push(l[n]);const i=r.groups[n-1],c=r.groups[n],m=r.groups[n+1],g=r.groups[n+2];if(f){(m&&iB(m)||iB(c))&&p.push(" ");continue;}if(!m)continue;if("value-word"===c.type&&c.value.endsWith("-")&&NB(m))continue;const y="value-string"===c.type&&c.value.startsWith("#{"),D=d&&"value-string"===m.type&&m.value.endsWith("}");if(y||D){d=!d;continue;}if(d)continue;if(wB(c)||wB(m))continue;if("value-atword"===c.type&&""===c.value)continue;if("~"===c.value)continue;if(c.value&&c.value.includes("\\")&&m&&"value-comment"!==m.type)continue;if(i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===c.type&&"/"===c.value)continue;if("\\"===c.value)continue;if(bB(c,m))continue;if(AB(c)||FB(c)||xB(m)||FB(m)&&hB(m)||xB(c)&&hB(m))continue;if("--"===c.value&&AB(m))continue;const E=sB(c),b=sB(m);if((E&&AB(m)||b&&xB(c))&&hB(m))continue;if(!i&&oB(c))continue;if(UT(e,"calc")&&(iB(c)||iB(m)||uB(c)||uB(m))&&hB(m))continue;const C=(iB(c)||uB(c))&&0===n&&("value-number"===m.type||m.isHex)&&o&&BB(o)&&!hB(m),v=g&&"value-func"===g.type||g&&SB(g)||"value-func"===c.type||SB(c),A="value-func"===m.type||SB(m)||i&&"value-func"===i.type||i&&SB(i);if(rB(m)||rB(c)||UT(e,"calc")||C||!(oB(m)&&!v||oB(c)&&!A||iB(m)&&!v||iB(c)&&!A||uB(m)||uB(c))||!(hB(m)||E&&(!i||i&&sB(i))))if(vB(c)){if("value-paren_group"===t.type){p.push(jT(kT));continue;}p.push(kT);}else a&&(nB(m)||tB(m)||pB(m)||aB(c)||cB(c))||s&&"namespace"===s.name.toLowerCase()?p.push(" "):u?c.source&&m.source&&c.source.start.line!==m.source.start.line?(p.push(kT),h=!0):p.push(" "):b?p.push(" "):m&&"..."===m.value||NB(c)&&NB(m)&&OB(c)===PB(m)||p.push(BT);}return c&&p.push(_T),h&&p.unshift(kT),a?PT(IT(p)):GT(e)?PT(OT(p)):PT(IT(OT(p)));}case"value-paren_group":{const o=e.getParentNode();if(o&&lB(o)&&(1===r.groups.length||r.groups.length>0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",TT(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",BT]),r.push(t[e]);return PT(IT(OT(r)));}const i=CB(e),u=ke(r.groups),s=u&&"value-comment"===u.type,a=gB(r,o),c=PT([r.open?n("open"):"",IT([NT,TT([",",BT],e.map(e=>{const t=e.getValue(),r=n();if(mB(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){const e=RT(r.contents.contents);return e[1]=PT(e[1]),PT(jT(r));}return r;},"groups"))]),LT(!s&&YT(t.parser,t.originalText)&&i&&IB(t)?",":""),NT,r.close?n("close"):""],{shouldBreak:i&&!a});return a?jT(c):c;}case"value-func":return[r.value,HT(e,"supports")&&TB(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[$B(r.value),WT(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||XT(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),o=n&&t.groups[n-1];return[r.value,o&&"string"==typeof o.value&&"\\"===ke(o.value)||UT(e,"url")?"":BT];}case"value-comma":return[r.value," "];case"value-string":return AT(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)));}},embed:Kw,insertPragma:VT,massageAstNode:Hw},WB={singleQuote:Ow.singleQuote},UB={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},zB={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},HB={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329};var GB={languages:[df({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),df(UB,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),df(zB,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),df(HB,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:WB,printers:{postcss:qB},parsers:{get css(){return{}.parsers.css;},get less(){return{}.parsers.less;},get scss(){return{}.parsers.scss;}}};var JB={locStart:function(e){return e.loc.start.offset;},locEnd:function(e){return e.loc.end.offset;}};function XB(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ");}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value;}XB.ignoredProperties=new Set(["loc","selfClosing"]);var YB=XB;const KB=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function QB(e){return ZB(e,["TextNode"])&&!/\S/.test(e.chars);}function ZB(e,t){return e&&t.includes(e.type);}function ek(e,t){return ZB(e.getParentNode(0),t);}function tk(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},o=r.children||r.body||r.parts||[],i=o.indexOf(n);return-1!==i&&o[i+t];}function nk(e,t=1){return tk(e,-t);}function rk(e){return tk(e,1);}function ok(e){return ZB(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim();}var ik={getNextNode:rk,getPreviousNode:nk,hasPrettierIgnore:function(e){const t=e.getValue(),n=nk(e,2);return ok(t)||ok(n);},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!ek(e,["ElementNode"])||ke(n.children)!==t)||!(!ek(e,["Block"])||ke(n.body)!==t);},isNextNodeOfSomeType:function(e,t){return ZB(rk(e),t);},isNodeOfSomeType:ZB,isParentOfSomeType:ek,isPreviousNodeOfSomeType:function(e,t){return ZB(nk(e),t);},isVoid:function(e){return function(e){return ZB(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e;}(e.tag[0])||e.tag.includes("."));}(e)&&e.children.every(e=>QB(e))||KB.has(e.tag);},isWhitespaceNode:QB};const{builders:{dedent:uk,fill:sk,group:ak,hardline:ck,ifBreak:lk,indent:pk,join:fk,line:dk,softline:hk,literalline:mk},utils:{getDocParts:gk}}=Rn,{isNonEmptyArray:yk,replaceEndOfLineWith:Dk}=rn,{locStart:Ek,locEnd:bk}=JB,{getNextNode:Ck,getPreviousNode:vk,hasPrettierIgnore:Ak,isLastNodeOfSiblings:Fk,isNextNodeOfSomeType:xk,isNodeOfSomeType:Sk,isParentOfSomeType:wk,isPreviousNodeOfSomeType:Tk,isVoid:Bk,isWhitespaceNode:kk}=ik;function Nk(e,t,n){const r=e.getValue().children.every(e=>kk(e));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((e,r)=>{const o=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[hk,o]:o;},"children");}function Pk(e){return Bk(e)?lk([hk,"/>"],[" />",hk]):lk([hk,">"],">");}function Ok(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""];}function Ik(e){const t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t];}function jk(e){return[Ok(e),e.closeStrip.open?"~":"","/"];}function Lk(e){const t=Ik(e);return[e.closeStrip.close?"~":"",t];}function _k(e){return[Ok(e),e.inverseStrip.open?"~":""];}function Mk(e){const t=Ik(e);return[e.inverseStrip.close?"~":"",t];}function Rk(e,t){const n=e.getValue(),r=function(e){return[Ok(e),e.openStrip.open?"~":"","#"];}(n),o=function(e){const t=Ik(e);return[e.openStrip.close?"~":"",t];}(n),i=[Zk(e,t)],u=eN(e,t);if(u&&i.push(dk,u),yk(n.program.blockParams)){const e=tN(n.program);i.push(dk,e);}return ak([r,pk(i),hk,o]);}function Vk(e,t){return["ignore"===t.htmlWhitespaceSensitivity?ck:"",_k(e),"else",Mk(e)];}function $k(e,t){const n=e.getParentNode(1);return[_k(n),"else if ",eN(e,t),Mk(n)];}function qk(e,t,n){const r=e.getValue();if("ignore"===n.htmlWhitespaceSensitivity){return[Wk(r)?hk:ck,jk(r),t("path"),Lk(r)];}return[jk(r),t("path"),Lk(r)];}function Wk(e){return Sk(e,["BlockStatement"])&&e.program.body.every(e=>kk(e));}function Uk(e){return Sk(e,["BlockStatement"])&&e.inverse;}function zk(e,t,n){if(Wk(e.getValue()))return"";const r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?pk([ck,r]):pk(r);}function Hk(e,t,n){const r=e.getValue(),o=t("inverse"),i="ignore"===n.htmlWhitespaceSensitivity?[ck,o]:o;return function(e){return Uk(e)&&1===e.inverse.body.length&&Sk(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0];}(r)?i:Uk(r)?[Vk(r,n),pk(i)]:"";}function Gk(e){return gk(fk(dk,function(e){return e.split(/[\t\n\f\r ]+/);}(e)));}function Jk(e){return(e="string"==typeof e?e:"").split("\n").length-1;}function Xk(e=0){return new Array(Math.min(e,2)).fill(ck);}function Yk(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},o=e.singleQuote?r:n,i=o===r?n:r;let u=!1;if(t.includes(o.quote)||t.includes(i.quote)){u=(t.match(o.regex)||[]).length>(t.match(i.regex)||[]).length;}return u?i:o;}function Kk(e,t){const n=Zk(e,t),r=eN(e,t);return r?pk([n,dk,ak(r)]):n;}function Qk(e,t){const n=Zk(e,t),r=eN(e,t);return r?[pk([n,dk,r]),hk]:n;}function Zk(e,t){return t("path");}function eN(e,t){const n=e.getValue(),r=[];if(n.params.length>0){const n=e.map(t,"params");r.push(...n);}if(n.hash&&n.hash.pairs.length>0){const e=t("hash");r.push(e);}return 0===r.length?"":fk(dk,r);}function tN(e){return["as |",e.blockParams.join(" "),"|"];}var nN={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(Ak(e))return t.originalText.slice(Ek(r),bk(r));switch(r.type){case"Block":case"Program":case"Template":return ak(e.map(n,"body"));case"ElementNode":{const o=ak(function(e,t){const n=e.getValue(),r=["attributes","modifiers","comments","blockParams"].filter(e=>yk(n[e])).map(r=>[dk,"blockParams"===r?tN(n):fk(dk,e.map(t,r))]);return["<",n.tag,pk(r),Pk(n)];}(e,n)),i="ignore"===t.htmlWhitespaceSensitivity&&xk(e,["ElementNode"])?hk:"";if(Bk(r))return[o,i];const u=["</",r.tag,">"];return 0===r.children.length?[o,pk(u),i]:"ignore"===t.htmlWhitespaceSensitivity?[o,pk(Nk(e,t,n)),ck,pk(u),i]:[o,pk(ak(Nk(e,t,n))),pk(u),i];}case"BlockStatement":{const o=e.getParentNode(1);return o&&o.inverse&&1===o.inverse.body.length&&o.inverse.body[0]===r&&"if"===o.inverse.body[0].path.parts[0]?[$k(e,n),zk(e,n,t),Hk(e,n,t)]:[Rk(e,n),ak([zk(e,n,t),Hk(e,n,t),qk(e,n,t)])];}case"ElementModifierStatement":return ak(["{{",Qk(e,n),"}}"]);case"MustacheStatement":return ak([Ok(r),Qk(e,n),Ik(r)]);case"SubExpression":return ak(["(",Kk(e,n),hk,")"]);case"AttrNode":{const e="TextNode"===r.value.type;if(e&&""===r.value.chars&&Ek(r.value)===bk(r.value))return r.name;const o=e?Yk(t,r.value.chars).quote:"ConcatStatement"===r.value.type?Yk(t,r.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join("")).quote:"",i=n("value");return[r.name,"=",o,"class"===r.name&&o?ak(pk(i)):i,o];}case"ConcatStatement":return e.map(n,"parts");case"Hash":return fk(dk,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let n=r.chars.replace(/{{/g,"\\{{");const o=function(e){for(let t=0;t<2;t++){const n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase();}}(e);if(o){if("class"===o){const t=n.trim().split(/\s+/).join(" ");let r=!1,o=!1;return wk(e,["ConcatStatement"])&&(Tk(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),xk(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(o=!0)),[r?dk:"",t,o?dk:""];}return Dk(n,mk);}const i=/^[\t\n\f\r ]*$/.test(n),u=!vk(e),s=!Ck(e);if("ignore"!==t.htmlWhitespaceSensitivity){const t=/^[\t\n\f\r ]*/,r=/[\t\n\f\r ]*$/,o=s&&wk(e,["Template"]),a=u&&wk(e,["Template"]);if(i){if(a||o)return"";let t=[dk];const r=Jk(n);return r&&(t=Xk(r)),Fk(e)&&(t=t.map(e=>uk(e))),t;}const[c]=n.match(t),[l]=n.match(r);let p=[];if(c){p=[dk];const e=Jk(c);e&&(p=Xk(e)),n=n.replace(t,"");}let f=[];if(l){if(!o){f=[dk];const t=Jk(l);t&&(f=Xk(t)),Fk(e)&&(f=f.map(e=>uk(e)));}n=n.replace(r,"");}return[...p,sk(Gk(n)),...f];}const a=Jk(n);let c=function(e){return Jk(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"");}(n),l=function(e){return Jk(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"");}(n);if((u||s)&&i&&wk(e,["Block","ElementNode","Template"]))return"";i&&a?(c=Math.min(a,2),l=0):(xk(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)),Tk(e,["BlockStatement","ElementNode"])&&(c=Math.max(c,1)));let p="",f="";return 0===l&&xk(e,["MustacheStatement"])&&(f=" "),0===c&&Tk(e,["MustacheStatement"])&&(p=" "),u&&(c=0,p=""),s&&(l=0,f=""),n=n.replace(/^[\t\n\f\r ]+/g,p).replace(/[\t\n\f\r ]+$/,f),[...Xk(c),sk(Gk(n)),...Xk(l)];}case"MustacheCommentStatement":{const e=Ek(r),n=bk(r),o="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(n-3),u=r.value.includes("}}")?"--":"";return["{{",o?"~":"","!",u,r.value,u,i?"~":"","}}"];}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){const{quote:n,regex:r}=Yk(t,e);return[n,e.replace(r,"\\".concat(n)),n];}(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type));}},massageAstNode:YB};var rN={languages:[df({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:nN},parsers:{get glimmer(){return{}.parsers.glimmer;}}};var oN={hasPragma:function(e){return /^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e);},insertPragma:function(e){return"# @format\n\n"+e;}};var iN={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start;},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end;}};const{builders:{join:uN,hardline:sN,line:aN,softline:cN,group:lN,indent:pN,ifBreak:fN}}=Rn,{isNextLineEmpty:dN,isNonEmptyArray:hN}=rn,{insertPragma:mN}=oN,{locStart:gN,locEnd:yN}=iN;function DN(e,t,n){if(0===n.directives.length)return"";const r=uN(aN,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?lN([aN,r]):[" ",lN(pN([cN,r]))];}function EN(e,t,n){const r=e.getValue().length;return e.map((e,o)=>{const i=n();return dN(t.originalText,e.getValue(),yN)&&o<r-1?[i,sN]:i;});}function bN(e,t,n){const r=e.getNode(),o=[],{interfaces:i}=r,u=e.map(e=>n(e),"interfaces");for(let e=0;e<i.length;e++){const n=i[e];o.push(u[e]);const r=i[e+1];if(r){const e=t.originalText.slice(n.loc.end,r.loc.start),i=e.includes("#"),u=e.replace(/#.*/g,"").trim();o.push(","===u?",":" &",i?aN:" ");}}return o;}function CN(){}CN.ignoredProperties=new Set(["loc","comments"]);var vN={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":{const r=[];return e.each((e,o,i)=>{r.push(n()),o!==i.length-1&&(r.push(sN),dN(t.originalText,e.getValue(),yN)&&r.push(sN));},"definitions"),[...r,sN];}case"OperationDefinition":{const o="{"!==t.originalText[gN(r)],i=Boolean(r.name);return[o?r.operation:"",o&&i?[" ",n("name")]:"",o&&!i&&hN(r.variableDefinitions)?" ":"",hN(r.variableDefinitions)?lN(["(",pN([cN,uN([fN("",", "),cN],e.map(n,"variableDefinitions"))]),cN,")"]):"",DN(e,n,r),r.selectionSet&&(o||i)?" ":"",n("selectionSet")];}case"FragmentDefinition":return["fragment ",n("name"),hN(r.variableDefinitions)?lN(["(",pN([cN,uN([fN("",", "),cN],e.map(n,"variableDefinitions"))]),cN,")"]):""," on ",n("typeCondition"),DN(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",pN([sN,uN(sN,e.call(e=>EN(e,t,n),"selections"))]),sN,"}"];case"Field":return lN([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call(e=>EN(e,t,n),"arguments"))]),cN,")"]):"",DN(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',sN,uN(sN,r.value.replace(/"""/g,"\\$&").split("\n")),sN,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return lN(["[",pN([cN,uN([fN("",", "),cN],e.map(n,"values"))]),cN,"]"]);case"ObjectValue":return lN(["{",t.bracketSpacing&&r.fields.length>0?" ":"",pN([cN,uN([fN("",", "),cN],e.map(n,"fields"))]),cN,fN("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call(e=>EN(e,t,n),"arguments"))]),cN,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?sN:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...bN(e,t,n)]:"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call(e=>EN(e,t,n),"fields"))]),sN,"}"]:""];case"FieldDefinition":return[n("description"),r.description?sN:"",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call(e=>EN(e,t,n),"arguments"))]),cN,")"]):"",": ",n("type"),DN(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?sN:"","directive ","@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call(e=>EN(e,t,n),"arguments"))]),cN,")"]):"",r.repeatable?" repeatable":""," on ",uN(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?sN:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),DN(e,n,r),r.values.length>0?[" {",pN([sN,uN(sN,e.call(e=>EN(e,t,n),"values"))]),sN,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?sN:"",n("name"),DN(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?sN:aN:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?sN:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call(e=>EN(e,t,n),"fields"))]),sN,"}"]:""];case"SchemaDefinition":return["schema",DN(e,n,r)," {",r.operationTypes.length>0?pN([sN,uN(sN,e.call(e=>EN(e,t,n),"operationTypes"))]):"",sN,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?sN:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...bN(e,t,n)]:"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call(e=>EN(e,t,n),"fields"))]),sN,"}"]:""];case"FragmentSpread":return["...",n("name"),DN(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",DN(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return lN([n("description"),r.description?sN:"",lN(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),DN(e,n,r),r.types.length>0?[" =",fN(""," "),pN([fN([aN," "]),uN([aN,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?sN:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),DN(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind));}},massageAstNode:CN,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim());},insertPragma:mN,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t));},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind;}},AN={bracketSpacing:Ow.bracketSpacing};var FN={languages:[df({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:AN,printers:{graphql:vN},parsers:{get graphql(){return{}.parsers.graphql;}}};var xN={locStart:function(e){return e.position.start.offset;},locEnd:function(e){return e.position.end.offset;}};const{getLast:SN}=rn,{locStart:wN,locEnd:TN}=xN,{cjkPattern:BN,kPattern:kN,punctuationPattern:NN}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},PN=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],ON=[...PN,"tableCell","paragraph","heading"],IN=new RegExp(kN),jN=new RegExp(NN);function LN(e,t){const[,n,r,o]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:o};}var _N={mapAst:function(e,t){return function e(n,r,o){const i=Object.assign({},t(n,r,o));return i.children&&(i.children=i.children.map((t,n)=>e(t,n,[i,...o]))),i;}(e,null,[]);},splitText:function(e,t){const n="non-cjk",r="cj-letter",o="cjk-punctuation",i=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(BN,")\n(").concat(BN,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(const[e,t]of u.entries()){if(e%2==1){i.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue;}if((0===e||e===u.length-1)&&""===t)continue;const a=t.split(new RegExp("(".concat(BN,")")));for(const[e,t]of a.entries())(0!==e&&e!==a.length-1||""!==t)&&(e%2!=0?s(jN.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:IN.test(t)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==t&&s({type:"word",value:t,kind:n,hasLeadingPunctuation:jN.test(t[0]),hasTrailingPunctuation:jN.test(SN(t))}));}return i;function s(e){const t=SN(i);var u,s;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(u=n,s=o,t.kind===u&&e.kind===s||t.kind===s&&e.kind===u||[t.value,e.value].some(e=>/\u3000/.test(e))||i.push({type:"whitespace",value:""}))),i.push(e);}},punctuationPattern:NN,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n;},getOrderedListItemInfo:LN,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(LN(e.children[0],t.originalText).numberText),r=Number(LN(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(LN(e.children[2],t.originalText).numberText);return 1===r&&1===n;}return 1===r;},INLINE_NODE_TYPES:PN,INLINE_NODE_WRAPPER_TYPES:ON,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&wN(e)===wN(t)&&TN(e)===TN(t);}};const{inferParserByLanguage:MN,getMaxContinuousCount:RN}=rn,{builders:{hardline:VN,markAsRoot:$N},utils:{replaceNewlinesWithLiterallines:qN}}=Rn,{getFencedCodeBlockValue:WN}=_N;var UN=function(e,t,n,r){const o=e.getValue();if("code"===o.type&&null!==o.lang){const e=MN(o.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",i=t.repeat(Math.max(3,RN(o.value,t)+1)),u=n(WN(o,r.originalText),{parser:e},{stripTrailingHardline:!0});return $N([i,o.lang,o.meta?" "+o.meta:"",VN,qN(u),VN,i]);}}switch(o.type){case"front-matter":return Xw(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),VN];case"jsx":return n("<$>".concat(o.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0});}return null;};const zN=["format","prettier"];function HN(e){const t="@(".concat(zN.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index;}var GN={startWithPragma:HN,hasPragma:e=>HN(Zw(e).content.trimStart()),insertPragma:e=>{const t=Zw(e),n="\x3c!-- @".concat(zN[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content);}};const{getOrderedListItemInfo:JN,mapAst:XN,splitText:YN}=_N,KN=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function QN(e,t,n){return XN(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const o=ke(e);return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e;},[]);return Object.assign({},e,{children:r});});}var ZN=function(e,t){return e=function(e){return QN(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}));}(e=function(e){return XN(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}));}(e=function(e,t){return XN(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===r.type&&(0===n&&(o=o.trimStart()),n===r.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:YN(o,t)};});}(e=function(e,t){return XN(e,(e,t,n)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<n.length;t++){const r=n[t];if("list"===r.type&&!r.isAligned)return e.isAligned=!1,e;}e.isAligned=r(e);}return e;});function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1;}function r(e){if(!e.ordered)return!0;const[r,o]=e.children;if(JN(r,t.originalText).leadingSpaces.length>1)return!0;const i=n(r);if(-1===i)return!1;if(1===e.children.length)return i%t.tabWidth==0;if(i!==n(o))return!1;if(i%t.tabWidth==0)return!0;return JN(o,t.originalText).leadingSpaces.length>1;}}(e=function(e,t){return XN(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){const t=r[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0);}}return e;});}(e=function(e){return XN(e,e=>"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}));}(e=function(e){return QN(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}));}(e=function(e,t){return XN(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&KN.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e);}(e,t))),t),t),t)));};const{isFrontMatterNode:eP}=rn,{startWithPragma:tP}=GN,nP=new Set(["position","raw"]);function rP(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||eP(n.children[0])&&n.children[1]===e)&&"html"===e.type&&tP(e.value)?null:void 0);}rP.ignoredProperties=nP;var oP=rP;const{getLast:iP,getMinNotPresentContinuousCount:uP,getMaxContinuousCount:sP,getStringWidth:aP,isNonEmptyArray:cP}=rn,{builders:{breakParent:lP,join:pP,line:fP,literalline:dP,markAsRoot:hP,hardline:mP,softline:gP,ifBreak:yP,fill:DP,align:EP,indent:bP,group:CP,hardlineWithoutBreakParent:vP},utils:{normalizeDoc:AP},printer:{printDocToString:FP}}=Rn,{replaceEndOfLineWith:xP}=rn,{insertPragma:SP}=GN,{locStart:wP,locEnd:TP}=xN,{getFencedCodeBlockValue:BP,hasGitDiffFriendlyOrderedList:kP,splitText:NP,punctuationPattern:PP,INLINE_NODE_TYPES:OP,INLINE_NODE_WRAPPER_TYPES:IP,isAutolink:jP}=_N,LP=new Set(["importExport"]),_P=["heading","tableCell","link","wikiLink"],MP=new Set(["listItem","definition","footnoteDefinition"]);function RP(e,t,n,r){const o=e.getValue(),i=null===o.checked?"":o.checked?"[x] ":"[ ] ";return[i,zP(e,t,n,{processor:(e,o)=>{if(0===o&&"list"!==e.getValue().type)return EP(" ".repeat(i.length),n());const u=" ".repeat((s=t.tabWidth-r.length,c=3,s<(a=0)?a:s>c?c:s));var s,a,c;return[u,EP(u,n())];}})];}function VP(e,t){return function(e,t,n){let r=-1;for(const o of t.children)if(o.type===e.type&&n(o)?r++:r=-1,o===e)return r;}(e,t,t=>t.ordered===e.ordered);}function $P(e,t){const n=Array.isArray(t)?t:[t];let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1;}function qP(e,t){const n=$P(e,t);return-1===n?null:e.getParentNode(n);}function WP(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return mP;const r="always"===n.proseWrap&&!qP(e,_P);return""!==t?r?fP:" ":r?gP:"";}function UP(e,t,n){const r=[];let o=null;const{children:i}=e.getValue();for(const[e,t]of i.entries())switch(GP(t)){case"start":null===o&&(o={index:e,offset:t.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:e,offset:t.position.start.offset}}),o=null);}return zP(e,t,n,{processor:(e,o)=>{if(r.length>0){const e=r[0];if(o===e.start.index)return[i[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),i[e.end.index].value];if(e.start.index<o&&o<e.end.index)return!1;if(o===e.end.index)return r.shift(),!1;}return n();}});}function zP(e,t,n,r={}){const{postprocessor:o}=r,i=r.processor||(()=>n()),u=e.getValue(),s=[];let a;return e.each((e,n)=>{const r=e.getValue(),o=i(e,n);if(!1!==o){const e={parts:s,prevNode:a,parentNode:u,options:t};(function(e,t){const n=0===t.parts.length,r=OP.includes(e.type),o="html"===e.type&&IP.includes(t.parentNode.type);return!n&&!r&&!o;})(r,e)&&(s.push(mP),a&&LP.has(a.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&MP.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,i="next"===GP(t.prevNode),u="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(n||r||i||u||s);}(r,e)||JP(r,e))&&s.push(mP),JP(r,e)&&s.push(mP)),s.push(o),a=r;}},"children"),o?o(s):s;}function HP(e){let t=e;for(;cP(t.children);)t=iP(t.children);return t;}function GP(e){if("html"!==e.type)return!1;const t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:"next");}function JP(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r;}function XP(e,t=[]){const n=[" ",...(Array.isArray(t)?t:[t])];return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e;}function YP(e,t,n=!0){if(!e)return"";if(n)return" "+YP(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,o=e.split('"').length-1,i=r>o?'"':o>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i);}var KP={preprocess:ZN,print:function(e,t,n){const r=e.getValue();if(function(e){const t=qP(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType);}(e))return NP(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":WP(e,n.value,t));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[AP(UP(e,t,n)),LP.has(HP(r).type)?"":mP];case"paragraph":return zP(e,t,n,{postprocessor:DP});case"sentence":return zP(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(PP,")(_+)"),"(_+)(".concat(PP,"|$)")].join("|"),"g"),(e,t,n,r,o)=>(n?"".concat(t).concat(n):"".concat(r).concat(o)).replace(/_/g,"\\_"));const n=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,t,n)=>jP(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,o)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,o))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t;}case"whitespace":{const n=e.getParentNode(),o=n.children.indexOf(r),i=n.children[o+1],u=i&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return WP(e,r.value,{proseWrap:u});}case"emphasis":{let o;if(jP(r.children[0]))o=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),i=t.children[n-1],u=t.children[n+1];o=i&&"sentence"===i.type&&i.children.length>0&&"word"===iP(i.children).type&&!iP(i.children).hasTrailingPunctuation||u&&"sentence"===u.type&&u.children.length>0&&"word"===u.children[0].type&&!u.children[0].hasLeadingPunctuation||qP(e,"emphasis")?"*":"_";}return[o,zP(e,t,n),o];}case"strong":return["**",zP(e,t,n),"**"];case"delete":return["~~",zP(e,t,n),"~~"];case"inlineCode":{const e=uP(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return[t,n,r.value,n,t];}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),["[[",e,"]]"];}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:";return["<",r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url,">"];}case"[":return["[",zP(e,t,n),"](",XP(r.url,")"),YP(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset);}case"image":return["![",r.alt||"","](",XP(r.url,")"),YP(r.title,t),")"];case"blockquote":return["> ",EP("> ",zP(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",zP(e,t,n)];case"code":{if(r.isIndented){const e=" ".repeat(4);return EP(e,[e,...xP(r.value,mP)]);}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,sP(r.value,e)+1));return[n,r.lang||"",r.meta?" "+r.meta:"",mP,...xP(BP(r,t.originalText),mP),mP,n];}case"html":{const t=e.getParentNode(),n="root"===t.type&&iP(t.children)===r?r.value.trimEnd():r.value,o=/^<!--[\S\s]*-->$/.test(n);return xP(n,o?mP:hP(dP));}case"list":{const o=VP(r,e.getParentNode()),i=kP(r,t);return zP(e,t,n,{processor:(e,u)=>{const s=function(){const e=r.ordered?(0===u?r.start:i?1:r.start+u)+(o%2==0?". ":") "):o%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n;}}(e,t):e;}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[s,RP(e,t,n,s)]:[s,EP(" ".repeat(s.length),RP(e,t,n,s))];}});}case"thematicBreak":{const t=$P(e,"list");if(-1===t)return"---";return VP(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---";}case"linkReference":return["[",zP(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":switch(r.referenceType){case"full":return["![",r.alt||"","][",r.identifier,"]"];default:return["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];}case"definition":{const e="always"===t.proseWrap?fP:" ";return CP(["[",r.identifier,"]:",bP([e,XP(r.url),null===r.title?"":[e,YP(r.title,t,!1)]])]);}case"footnote":return["[^",zP(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const o=e.getParentNode().children[e.getName()+1],i=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",i?zP(e,t,n):CP([EP(" ".repeat(4),zP(e,t,n,{processor:(e,t)=>0===t?CP([gP,n()]):n()})),o&&"footnoteDefinition"===o.type?gP:""])];}case"table":return function(e,t,n){const r=e.getValue(),o=[],i=e.map(e=>e.map((e,r)=>{const i=FP(n(),t).formatted,u=aP(i);return o[r]=Math.max(o[r]||3,u),{text:i,width:u};},"children"),"children"),u=a(!1);if("never"!==t.proseWrap)return[lP,u];const s=a(!0);return[lP,CP(yP(s,u))];function a(e){const t=[l(i[0],e),c(e)];return i.length>1&&t.push(pP(vP,i.slice(1).map(t=>l(t,e)))),pP(vP,t);}function c(e){const t=o.map((t,n)=>{const o=r.align[n],i="center"===o||"left"===o?":":"-",u="center"===o||"right"===o?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(i).concat(s).concat(u);});return"| ".concat(t.join(" | ")," |");}function l(e,t){const n=e.map(({text:e,width:n},i)=>{if(t)return e;const u=o[i]-n,s=r.align[i];let a=0;"right"===s?a=u:"center"===s&&(a=Math.floor(u/2));const c=u-a;return"".concat(" ".repeat(a)).concat(e).concat(" ".repeat(c));});return"| ".concat(n.join(" | ")," |");}}(e,t,n);case"tableCell":return zP(e,t,n);case"break":return /\s/.test(t.originalText[r.position.start.offset])?[" ",hP(dP)]:["\\",mP];case"liquidNode":return xP(r.value,mP);case"importExport":return[r.value,mP];case"jsx":return r.value;case"math":return["$$",mP,r.value?[...xP(r.value,mP),mP]:"","$$"];case"inlineMath":return t.originalText.slice(wP(r),TP(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)));}},embed:UN,massageAstNode:oP,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===GP(e.getParentNode().children[t-1]);},insertPragma:SP},QP={proseWrap:Ow.proseWrap,singleQuote:Ow.singleQuote},ZP={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222};var eO={languages:[df(ZP,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),df(ZP,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:QP,printers:{mdast:KP},parsers:{get remark(){return{}.parsers.remark;},get markdown(){return{}.parsers.remark;},get mdx(){return{}.parsers.mdx;}}};const{isFrontMatterNode:tO}=rn,nO=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function rO(e,t){return"text"===e.type||"comment"===e.type||tO(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value));}rO.ignoredProperties=nO;var oO=rO,iO={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:uO,isFrontMatterNode:sO}=rn,{CSS_DISPLAY_TAGS:aO,CSS_DISPLAY_DEFAULT:cO,CSS_WHITE_SPACE_TAGS:lO,CSS_WHITE_SPACE_DEFAULT:pO}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},fO=yO(["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"]),dO=function(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))n[r]=t(o,r);return n;}(iO,yO),hO=new Set(["\t","\n","\f","\r"," "]),mO=e=>e.replace(/[\t\n\f\r ]+$/,""),gO=e=>e.match(/^[\t\n\f\r ]*/)[0];function yO(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t;}function DO(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!kO(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!LO(e,t)||bO(e)||"interpolation"===e.type);}function EO(e){if("attribute"===e.type)return!1;if(!e.parent)return!1;if("number"!=typeof e.index||0===e.index)return!1;return function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim();}(e.parent.children[e.index-1]);}function bO(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||NO(e)&&("script"===e.name||"style"===e.name));}function CO(e){return PO(e).startsWith("pre");}function vO(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay);}function AO(e){return wO(e)||"element"===e.type&&"br"===e.fullName||FO(e);}function FO(e){return xO(e)&&SO(e);}function xO(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line);}function SO(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line);}function wO(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name);}return!1;}function TO(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0;}function BO(e){return"block"===e||"list-item"===e||e.startsWith("table");}function kO(e){return PO(e).startsWith("pre");}function NO(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace);}function PO(e){return"element"===e.type&&(!e.namespace||NO(e))&&lO[e.name]||pO;}const OO=new Set(["template","style","script"]);function IO(e,t){return jO(e,t)&&!OO.has(e.fullName);}function jO(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase();}function LO(e,t){return jO(e,t)&&(IO(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang);}var _O={HTML_ELEMENT_ATTRIBUTES:dO,HTML_TAGS:fO,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(mO(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(mO(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n};},canHaveInterpolation:function(e){return e.children&&!bO(e);},countChars:function(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n;},countParents:function(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){const o=e.stack[r];o&&"object"==typeof o&&!Array.isArray(o)&&t(o)&&n++;}return n;},dedentString:function(e,t=function(e){let t=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!hO.has(n[0]))return 0;const e=gO(n).length;n.length!==e&&e<t&&(t=e);}return t===Number.POSITIVE_INFINITY?0:t;}(e)){return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n");},forceBreakChildren:vO,forceBreakContent:function(e){return vO(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type);}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&xO(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||SO(e.lastChild));},forceNextEmptyLine:function(e){return sO(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line;},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t;},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1];}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent;}return!1;}(e,e=>"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0;}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||NO(e))&&aO[e.name]||cO;}},getNodeCssStyleWhiteSpace:PO,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/));},hasPrettierIgnore:EO,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css";}(e):t&&LO(e,t)?TO(e)||!("src"in e.attrMap)&&uO(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?TO(e):"babel";},isVueCustomBlock:IO,isVueNonHtmlBlock:LO,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:");},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!jO(n,t))return!1;const r=n.fullName,o=e.fullName;return"script"===r&&"setup"===o||"style"===r&&"vars"===o;},isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,BO(t)||"inline-block"===t||bO(e));var t;},isIndentationSensitiveNode:CO,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){if(sO(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(kO(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||kO(e)&&e.parent||bO(e.parent)||IO(e.parent,t)||(n=e.parent.cssDisplay,BO(n)||"inline-block"===n)))return!1;var n;if(e.prev&&!function(e){return!BO(e);}(e.prev.cssDisplay))return!1;return!0;}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n;},isPreLikeNode:kO,isScriptLikeTag:bO,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type;},isTrailingSpaceSensitiveNode:function(e,t){return!sO(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!kO(e.parent)||!(!e.next&&("root"===e.parent.type||kO(e)&&e.parent||bO(e.parent)||IO(e.parent,t)||(n=e.parent.cssDisplay,BO(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!BO(e);}(e.next.cssDisplay))));var n;},isWhitespaceSensitiveNode:function(e){return bO(e)||"interpolation"===e.type||CO(e);},isUnknownNamespace:NO,preferHardlineAsLeadingSpaces:function(e){return wO(e)||e.prev&&AO(e.prev)||FO(e);},preferHardlineAsTrailingSpaces:AO,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(EO(e)||DO(e.parent,t));},shouldPreserveContent:DO,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"');}},MO=i(function(e,t){function n(e){return t.$0<=e&&e<=t.$9;}/**
99
- * @license
100
- * Copyright Google Inc. All Rights Reserved.
101
- *
102
- * Use of this source code is governed by an MIT-style license that can be
103
- * found in the LICENSE file at https://angular.io/license
104
- */Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP;},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z;},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e);},t.isNewLine=function(e){return e===t.$LF||e===t.$CR;},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7;};});/**
105
- * @license
106
- * Copyright Google Inc. All Rights Reserved.
107
- *
108
- * Use of this source code is governed by an MIT-style license that can be
109
- * found in the LICENSE file at https://angular.io/license
110
- */class RO{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n;}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."));}}var VO=RO;var $O=class{constructor(){this.cache=new Map();}get(e,t,n){const r=(n=n||[]).length?".".concat(n.join(".")):"",o='"'.concat(e,'".').concat(t).concat(r);let i=this.cache.get(o);return i||(i=new RO(e,t,n),this.cache.set(o,i)),i;}},qO=Object.defineProperty({StaticSymbol:VO,StaticSymbolCache:$O},"__esModule",{value:!0});/**
111
- * @license
112
- * Copyright Google Inc. All Rights Reserved.
113
- *
114
- * Use of this source code is governed by an MIT-style license that can be
115
- * found in the LICENSE file at https://angular.io/license
116
- */const WO=/-+([a-z0-9])/g;var UO=function(e){return e.replace(WO,(...e)=>e[1].toUpperCase());};var zO=function(e,t){return GO(e,":",t);};var HO=function(e,t){return GO(e,".",t);};function GO(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()];}function JO(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===sI;}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);}var XO=JO;var YO=function(e){return null!=e;};var KO=function(e){return void 0===e?null:e;};var QO=class{visitArray(e,t){return e.map(e=>JO(e,this,t));}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=JO(e[r],this,t);}),n;}visitPrimitive(e,t){return e;}visitOther(e,t){return e;}},ZO={assertSync:e=>{if(pI(e))throw new Error("Illegal state: value cannot be a promise");return e;},then:(e,t)=>pI(e)?e.then(t):t(e),all:e=>e.some(pI)?Promise.all(e):e};var eI=function(e){throw new Error("Internal Error: ".concat(e));};var tI=function(e,t){const n=Error(e);return n[nI]=!0,t&&(n[rI]=t),n;};const nI="ngSyntaxError",rI="ngParseErrors";var oI=function(e){return e[nI];};var iI=function(e){return e[rI]||[];};var uI=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1");};const sI=Object.getPrototypeOf({});var aI=function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536);}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128));}return t;};var cI=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return-1===r?n:n.substring(0,r);};var lI=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e;};function pI(e){return!!e&&"function"==typeof e.then;}var fI=pI;var dI=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".");}};const hI="undefined"!=typeof window&&window,mI="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var gI=void 0!==r&&r||hI||mI,yI=Object.defineProperty({dashCaseToCamelCase:UO,splitAtColon:zO,splitAtPeriod:HO,visitValue:XO,isDefined:YO,noUndefined:KO,ValueTransformer:QO,SyncAsync:ZO,error:eI,syntaxError:tI,isSyntaxError:oI,getParseErrors:iI,escapeRegExp:uI,utf8Encode:aI,stringify:cI,resolveForwardRef:lI,isPromise:fI,Version:dI,global:gI},"__esModule",{value:!0}),DI=i(function(e,t){/**
117
- * @license
118
- * Copyright Google Inc. All Rights Reserved.
119
- *
120
- * Use of this source code is governed by an MIT-style license that can be
121
- * found in the LICENSE file at https://angular.io/license
122
- */Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_");}t.sanitizeIdentifier=r;let o=0;function i(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof qO.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=yI.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=r(n),n;}var u;t.identifierName=i,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof qO.StaticSymbol?t.filePath:"./".concat(yI.stringify(t));},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t);},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}));},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}));},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory");},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable";}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):i(e.identifier);},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value;};t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=a(t),this.styleUrls=a(n);}};t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:o,styleUrls:i,externalStylesheets:u,animations:s,ngContentSelectors:l,interpolation:p,isInline:f,preserveWhitespaces:d}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=a(o),this.styleUrls=a(i),this.externalStylesheets=a(u),this.animations=s?c(s):[],this.ngContentSelectors=l||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d;}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations};}};class s{static create({isHost:e,type:t,isComponent:r,selector:o,exportAs:i,changeDetection:u,inputs:a,outputs:c,host:l,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b}){const C={},v={},A={};null!=l&&Object.keys(l).forEach(e=>{const t=l[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(C[r[2]]=t);});const F={};null!=a&&a.forEach(e=>{const t=yI.splitAtColon(e,[e,e]);F[t[0]]=t[1];});const x={};return null!=c&&c.forEach(e=>{const t=yI.splitAtColon(e,[e,e]);x[t[0]]=t[1];}),new s({isHost:e,type:t,isComponent:!!r,selector:o,exportAs:i,changeDetection:u,inputs:F,outputs:x,hostListeners:C,hostProperties:v,hostAttributes:A,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b});}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:o,changeDetection:i,inputs:u,outputs:s,hostListeners:c,hostProperties:l,hostAttributes:p,providers:f,viewProviders:d,queries:h,guards:m,viewQueries:g,entryComponents:y,template:D,componentViewType:E,rendererType:b,componentFactory:C}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=o,this.changeDetection=i,this.inputs=u,this.outputs=s,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=a(f),this.viewProviders=a(d),this.queries=a(h),this.guards=m,this.viewQueries=a(g),this.entryComponents=a(y),this.template=D,this.componentViewType=E,this.rendererType=b,this.componentFactory=C;}toSummary(){return{summaryKind:u.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory};}}t.CompileDirectiveMetadata=s;t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n;}toSummary(){return{summaryKind:u.Pipe,type:this.type,name:this.name,pure:this.pure};}};t.CompileShallowModuleMetadata=class{};t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:o,exportedPipes:i,entryComponents:u,bootstrapComponents:s,importedModules:c,exportedModules:l,schemas:p,transitiveModule:f,id:d}){this.type=e||null,this.declaredDirectives=a(n),this.exportedDirectives=a(r),this.declaredPipes=a(o),this.exportedPipes=a(i),this.providers=a(t),this.entryComponents=a(u),this.bootstrapComponents=a(s),this.importedModules=a(c),this.exportedModules=a(l),this.schemas=a(p),this.id=d||null,this.transitiveModule=f||null;}toSummary(){const e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes};}};function a(e){return e||[];}t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set(),this.directives=[],this.exportedDirectivesSet=new Set(),this.exportedDirectives=[],this.pipesSet=new Set(),this.pipes=[],this.exportedPipesSet=new Set(),this.exportedPipes=[],this.modulesSet=new Set(),this.modules=[],this.entryComponentsSet=new Set(),this.entryComponents=[],this.providers=[];}addProvider(e,t){this.providers.push({provider:e,module:t});}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e));}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e));}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e));}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e));}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e));}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e));}};function c(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?c(t):t;return e.concat(n);},[]);}function l(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///");}t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:o,deps:i,multi:u}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=o||null,this.dependencies=i||null,this.multi=!!u;}},t.flatten=c,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof qO.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof qO.StaticSymbol?r:l(r);},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return l("css/".concat(t).concat(r,".ngstyle.js"));},t.ngModuleJitUrl=function(e){return l("".concat(i(e.type),"/module.ngfactory.js"));},t.templateJitUrl=function(e,t){return l("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"));};}),EI=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});/**
123
- * @license
124
- * Copyright Google Inc. All Rights Reserved.
125
- *
126
- * Use of this source code is governed by an MIT-style license that can be
127
- * found in the LICENSE file at https://angular.io/license
128
- */class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r;}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url;}moveBy(e){const t=this.file.content,r=t.length;let o=this.offset,i=this.line,u=this.col;for(;o>0&&e<0;){o--,e++;if(t.charCodeAt(o)==MO.$LF){i--;const e=t.substr(0,o-1).lastIndexOf(String.fromCharCode(MO.$LF));u=e>0?o-e:o;}else u--;}for(;o<r&&e>0;){const n=t.charCodeAt(o);o++,e--,n==MO.$LF?(i++,u=0):u++;}return new n(this.file,o,i,u);}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let o=r,i=0,u=0;for(;i<e&&r>0&&(r--,i++,"\n"!=n[r]||++u!=t););for(i=0,u=0;i<e&&o<n.length-1&&(o++,i++,"\n"!=n[o]||++u!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,o+1)};}return null;}}t.ParseLocation=n;class r{constructor(e,t){this.content=e,this.url=t;}}t.ParseSourceFile=r;class o{constructor(e,t,n=null){this.start=e,this.end=t,this.details=n;}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset);}}var i;t.ParseSourceSpan=o,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new o(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR";}(i=t.ParseErrorLevel||(t.ParseErrorLevel={}));t.ParseError=class{constructor(e,t,n=i.ERROR){this.span=e,this.msg=t,this.level=n;}contextualMessage(){const e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(i[this.level]," ->]").concat(e.after,'")'):this.msg;}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e);}},t.typeSourceSpan=function(e,t){const i=DI.identifierModuleUrl(t),u=null!=i?"in ".concat(e," ").concat(DI.identifierName(t)," in ").concat(i):"in ".concat(e," ").concat(DI.identifierName(t)),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1));},t.r3JitTypeSourceSpan=function(e,t,i){const u="in ".concat(e," ").concat(t," in ").concat(i),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1));};});const{ParseSourceSpan:bI}=EI,{htmlTrim:CI,getLeadingAndTrailingHtmlWhitespace:vI,hasHtmlWhitespace:AI,canHaveInterpolation:FI,getNodeCssStyleDisplay:xI,isDanglingSpaceSensitiveNode:SI,isIndentationSensitiveNode:wI,isLeadingSpaceSensitiveNode:TI,isTrailingSpaceSensitiveNode:BI,isWhitespaceSensitiveNode:kI}=_O,NI=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]});}return e;});},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(!n[r+1])if(n[r]){const e=o.prev,n=o.firstChild,r=new bI(e.sourceSpan.start,n.sourceSpan.end),i=new bI(r.start,o.sourceSpan.end);t.push(o.clone({condition:e.condition,sourceSpan:i,startSourceSpan:r,children:o.children.slice(1)}));}else t.push(o);}return e.clone({children:t});}}return e;});},function(e){return function(e,t,n){return e.map(e=>{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let o=0;o<e.children.length;o++){const i=e.children[o];if("text"!==i.type&&!r[o]){t.push(i);continue;}const u="text"===i.type?i:i.clone({type:"text",value:n(i)});if(0===t.length||"text"!==ke(t).type){t.push(u);continue;}const s=t.pop();t.push(s.clone({value:s.value+u.value,sourceSpan:new bI(s.sourceSpan.start,u.sourceSpan.end)}));}return e.clone({children:t});}}return e;});}(e,e=>"cdata"===e.type,e=>"<![CDATA[".concat(e.value,"]]>"));},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!FI(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue;}let e=r.sourceSpan.start,o=null;const i=r.value.split(n);for(let n=0;n<i.length;n++,e=o){const r=i[n];n%2!=0?(o=e.moveBy(r.length+4),t.push({type:"interpolation",sourceSpan:new bI(e,o),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new bI(e.moveBy(2),o.moveBy(-2))}]})):(o=e.moveBy(r.length),r.length>0&&t.push({type:"text",value:r,sourceSpan:new bI(e,o)}));}}return e.clone({children:t});});},function(e){const t="whitespace";return e.map(e=>{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===CI(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});const n=kI(e),r=wI(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((e,r)=>{if("text"!==r.type||n)return[...e,r];const o=[],{leadingWhitespace:i,text:u,trailingWhitespace:s}=vI(r.value);return i&&o.push({type:t}),u&&o.push({type:"text",value:u,sourceSpan:new bI(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-s.length))}),s&&o.push({type:t}),[...e,...o];},[]).reduce((e,n,r,o)=>{if(n.type===t)return e;const i=0!==r&&o[r-1].type===t,u=r!==o.length-1&&o[r+1].type===t;return[...e,Object.assign({},n,{hasLeadingSpaces:i,hasTrailingSpaces:u})];},[])});});},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:xI(e,t)}));},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}));},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}));},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:SI(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:TI(e,t),isTrailingSpaceSensitive:BI(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e);},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!AI(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(n[r]){const n=t.pop(),i=e.children[++r],{isTrailingSpaceSensitive:u,hasTrailingSpaces:s}=i;t.push(n.clone({value:n.value+"<".concat(o.rawName,">")+o.firstChild.value+"</".concat(o.rawName,">")+i.value,sourceSpan:new bI(n.sourceSpan.start,i.sourceSpan.end),isTrailingSpaceSensitive:u,hasTrailingSpaces:s}));}else t.push(o);}return e.clone({children:t});}}return e;});}];var PI=function(e,t){for(const n of NI)e=n(e,t);return e;};var OI={hasPragma:function(e){return /^\s*<!--\s*@(format|prettier)\s*-->/.test(e);},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"");}};var II={locStart:function(e){return e.sourceSpan.start.offset;},locEnd:function(e){return e.sourceSpan.end.offset;}};const{builders:{group:jI}}=Rn;var LI={isVueEventBindingExpression:function(e){const t=e.trim();return /^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t);},printVueFor:function(e,t){const{left:n,operator:r,right:o}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,o=e.match(t);if(!o)return;const i={};i.for=o[3].trim();const u=o[1].trim().replace(r,""),s=u.match(n);s?(i.alias=u.replace(n,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=u;return{left:"".concat([i.alias,i.iterator1,i.iterator2].filter(Boolean).join(",")),operator:o[2],right:i.for};}(e);return[jI(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})];},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0});}},_I=i(function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n();}(r,function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e;}function o(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n;}for(var i,u,s,a,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,D=[];;){if(o(f),y>=l)return D;i=o(d),u=[],","===i.slice(-1)?(i=i.replace(h,""),b()):E();}function E(){for(o(p),s="",a="in descriptor";;){if(c=e.charAt(y),"in descriptor"===a){if(r(c))s&&(u.push(s),s="",a="after descriptor");else{if(","===c)return y+=1,s&&u.push(s),void b();if("("===c)s+=c,a="in parens";else{if(""===c)return s&&u.push(s),void b();s+=c;}}}else if("in parens"===a){if(")"===c)s+=c,a="in descriptor";else{if(""===c)return u.push(s),void b();s+=c;}}else if("after descriptor"===a)if(r(c));else{if(""===c)return void b();a="in descriptor",y-=1;}y+=1;}}function b(){var t,r,o,s,a,c,l,p,f,d=!1,h={};for(s=0;s<u.length;s++)c=(a=u[s])[a.length-1],l=a.substring(0,a.length-1),p=parseInt(l,10),f=parseFloat(l),m.test(l)&&"w"===c?((t||r)&&(d=!0),0===p?d=!0:t=p):g.test(l)&&"x"===c?((t||r||o)&&(d=!0),f<0?d=!0:r=f):m.test(l)&&"h"===c?((o||r)&&(d=!0),0===p?d=!0:o=p):d=!0;d?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(h.url=i,t&&(h.w=t),r&&(h.d=r),o&&(h.h=o),D.push(h));}};});});const{builders:{group:MI,ifBreak:RI,indent:VI,join:$I,line:qI,softline:WI}}=Rn;const UI=["__","--","_","-"];function zI(e){const t=e.search(/[^_-]/);if(-1!==t)for(const n of UI){const r=e.indexOf(n,t);if(-1!==r)return e.slice(0,r);}return e;}var HI={printImgSrcset:function(e){const t=_I(e,{logger:{error(e){throw new Error(e);}}}),n=t.some(({w:e})=>e),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const o=n?"w":r?"h":"d",i=n?"w":r?"h":"x",u=e=>Math.max(...e),s=t.map(e=>e.url),a=u(s.map(e=>e.length)),c=t.map(e=>e[o]).map(e=>e?e.toString():""),l=c.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t;}),p=u(l);return $I([",",qI],s.map((e,t)=>{const n=[e],r=c[t];if(r){const o=a-e.length+1,u=p-l[t],s=" ".repeat(o+u);n.push(RI(s," "),r+i);}return n;}));},printClassNames:function(e){const t=e.trim().split(/\s+/),n=[];let r;for(let e=0;e<t.length;e++){const o=zI(t[e]);o!==r&&o!==t[e-1]&&n.push([]),ke(n).push(t[e]),r=o;}return[VI([WI,$I(qI,n.map(e=>MI($I(qI,e))))]),WI];}};const{builders:{breakParent:GI,dedentToRoot:JI,fill:XI,group:YI,hardline:KI,ifBreak:QI,indentIfBreak:ZI,indent:ej,join:tj,line:nj,literalline:rj,softline:oj},utils:{mapDoc:ij,cleanDoc:uj,getDocParts:sj,isConcat:aj}}=Rn,{replaceEndOfLineWith:cj,isNonEmptyArray:lj}=rn,{htmlTrimPreserveIndentation:pj,splitByHtmlWhitespace:fj,countChars:dj,countParents:hj,dedentString:mj,forceBreakChildren:gj,forceBreakContent:yj,forceNextEmptyLine:Dj,getLastDescendant:Ej,getPrettierIgnoreAttributeCommentData:bj,hasPrettierIgnore:Cj,inferScriptParser:vj,isVueCustomBlock:Aj,isVueNonHtmlBlock:Fj,isVueSlotAttribute:xj,isVueSfcBindingsAttribute:Sj,isScriptLikeTag:wj,isTextLikeNode:Tj,preferHardlineAsLeadingSpaces:Bj,shouldNotPrintClosingTag:kj,shouldPreserveContent:Nj,unescapeQuoteEntities:Pj,isPreLikeNode:Oj}=_O,{insertPragma:Ij}=OI,{locStart:jj,locEnd:Lj}=II,{printVueFor:_j,printVueBindings:Mj,isVueEventBindingExpression:Rj}=LI,{printImgSrcset:Vj,printClassNames:$j}=HI;function qj(e,t,n){const r=e.getValue();if(gj(r))return[GI,...e.map(e=>{const t=e.getValue(),n=t.prev?u(t.prev,t):"";return[n?[n,Dj(t.prev)?KI:""]:"",i(e)];},"children")];const o=r.children.map(()=>Symbol(""));return e.map((e,t)=>{const n=e.getValue();if(Tj(n)){if(n.prev&&Tj(n.prev)){const t=u(n.prev,n);if(t)return Dj(n.prev)?[KI,KI,i(e)]:[t,i(e)];}return i(e);}const r=[],s=[],a=[],c=[],l=n.prev?u(n.prev,n):"",p=n.next?u(n,n.next):"";return l&&(Dj(n.prev)?r.push(KI,KI):l===KI?r.push(KI):Tj(n.prev)?s.push(l):s.push(QI("",oj,{groupId:o[t-1]}))),p&&(Dj(n)?Tj(n.next)&&c.push(KI,KI):p===KI?Tj(n.next)&&c.push(KI):a.push(p)),[...r,YI([...s,YI([i(e),...a],{id:o[t]})]),...c];},"children");function i(e){const r=e.getValue();return Cj(r)?[nL(r,t),...cj(t.originalText.slice(jj(r)+(r.prev&&Kj(r.prev)?iL(r).length:0),Lj(r)-(r.next&&Zj(r.next)?aL(r,t).length:0)),rj),oL(r,t)]:n();}function u(e,t){return Tj(e)&&Tj(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Bj(t)?KI:nj:"":Bj(t)?KI:oj:Kj(e)&&(Cj(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&Zj(t)?"":!t.isLeadingSpaceSensitive||Bj(t)||Zj(t)&&e.lastChild&&tL(e.lastChild)&&e.lastChild.lastChild&&tL(e.lastChild.lastChild)?KI:t.hasLeadingSpaces?nj:oj;}}function Wj(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&Qj(e.firstChild)&&(n-=uL(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&tL(e.lastChild)?r+=sL(e,t).length:eL(e)&&(r-=aL(e.lastChild,t).length),t.originalText.slice(n,r);}function Uj(e,t,n){const r=e.getValue();if(!lj(r.attrs))return r.isSelfClosing?" ":"";const o=r.prev&&"comment"===r.prev.type&&bj(r.prev.value),i="boolean"==typeof o?()=>o:Array.isArray(o)?e=>o.includes(e.rawName):()=>!1,u=e.map(e=>{const r=e.getValue();return i(r)?cj(t.originalText.slice(jj(r),Lj(r)),rj):n();},"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[ej([s?" ":nj,tj(nj,u)])];return r.firstChild&&Qj(r.firstChild)||r.isSelfClosing&&eL(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(r.isSelfClosing?nj:oj),a;}function zj(e,t,n){const r=e.getValue();return[Hj(r,t),Uj(e,t,n),r.isSelfClosing?"":Gj(r)];}function Hj(e,t){return e.prev&&Kj(e.prev)?"":[nL(e,t),iL(e)];}function Gj(e){return e.firstChild&&Qj(e.firstChild)?"":uL(e);}function Jj(e,t){return[e.isSelfClosing?"":Xj(e,t),Yj(e,t)];}function Xj(e,t){return e.lastChild&&tL(e.lastChild)?"":[rL(e,t),sL(e,t)];}function Yj(e,t){return(e.next?Zj(e.next):eL(e.parent))?"":[aL(e,t),oL(e,t)];}function Kj(e){return e.next&&!Tj(e.next)&&Tj(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces;}function Qj(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces;}function Zj(e){return e.prev&&"docType"!==e.prev.type&&!Tj(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces;}function eL(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Tj(Ej(e.lastChild))&&!Oj(e);}function tL(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Tj(Ej(e));}function nL(e,t){return Qj(e)?uL(e.parent):Zj(e)?aL(e.prev,t):"";}function rL(e,t){return eL(e)?aL(e.lastChild,t):"";}function oL(e,t){return tL(e)?sL(e.parent,t):Kj(e)?iL(e.next):"";}function iL(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName);}}function uL(e){switch(Il(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">";}}function sL(e,t){if(Il(!e.isSelfClosing),kj(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName);}}function aL(e,t){if(kj(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">";}}function cL(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?cj(t,rj):cj(mj(pj(t)),KI):sj(tj(nj,fj(t)));}var lL={preprocess:PI,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return cj(r.raw,rj);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[YI(qj(e,t,n)),KI];case"element":case"ieConditionalComment":{if(Nj(r,t))return[nL(r,t),YI(zj(e,t,n)),...cj(Wj(r,t),rj),...Jj(r,t),oL(r,t)];const i=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,u=Symbol("element-attr-group-id");return[YI([YI(zj(e,t,n),{id:u}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?nj:"":[yj(r)?GI:"",(o=[i?QI(oj,"",{groupId:u}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?nj:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?JI(oj):oj,qj(e,t,n)],i?ZI(o,{groupId:u}):!wj(r)&&!Aj(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?ej(o):o),(r.next?Zj(r.next):eL(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":i?QI(oj,"",{groupId:u}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?nj:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*hj(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":oj]]),Jj(r,t)];}case"ieConditionalStartComment":case"ieConditionalEndComment":return[Hj(r),Yj(r)];case"interpolation":return[Hj(r,t),...e.map(n,"children"),Yj(r,t)];case"text":{if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return[...cj(n,rj),t?KI:""];}const e=uj([nL(r,t),...cL(r),oL(r,t)]);return aj(e)||"fill"===e.type?XI(sj(e)):e;}case"docType":return[YI([Hj(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Yj(r,t)];case"comment":return[nL(r,t),...cj(t.originalText.slice(jj(r),Lj(r)),rj),oL(r,t)];case"attribute":{if(null===r.value)return r.rawName;const e=Pj(r.value),t=dj(e,"'")<dj(e,'"')?"'":'"';return[r.rawName,"=",t,...cj('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;"),rj),t];}default:throw new Error("Unexpected node type ".concat(r.type));}var o;},insertPragma:Ij,massageAstNode:oO,embed:function(e,t,n,r){const o=e.getValue();switch(o.type){case"element":if(wj(o)||"interpolation"===o.type)return;if(!o.isSelfClosing&&Fj(o,r)){const i=vj(o,r);if(!i)return;const u=Wj(o,r);let s=/^\s*$/.test(u),a="";return s||(a=n(pj(u),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=""===a),[nL(o,r),YI(zj(e,r,t)),s?"":KI,a,s?"":KI,Jj(o,r),oL(o,r)];}break;case"text":if(wj(o.parent)){const e=vj(o.parent);if(e){const t="markdown"===e?mj(o.value.replace(/^[^\S\n]*?\n/,"")):o.value,i={parser:e,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=o.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),i.__babelSourceType=e;}return[GI,nL(o,r),n(t,i,{stripTrailingHardline:!0}),oL(o,r)];}}else if("interpolation"===o.parent.type){const e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===r.parser?e.parser="__vue_expression":e.parser="__js_expression",[ej([nj,n(o.value,e,{stripTrailingHardline:!0})]),o.parent.next&&Zj(o.parent.next)?" ":nj];}break;case"attribute":{if(!o.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return[o.rawName,"=",o.value];if("lwc"===r.parser){if(/^{[\S\s]*}$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return[o.rawName,"=",o.value];}const e=function(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),o=()=>Pj(e.value);let i=!1;const u=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(i=!0);},s=e=>YI(e),a=(e,t=!0)=>YI([ej([oj,e]),t?oj:""]),c=e=>i?s(e):a(e),l=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:u,__embeddedInHtml:!0},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(Vj(o()));if("class"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return $j(e);}if("style"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return a(l(e,{parser:"css",__isHTMLStyleAttribute:!0}));}if("vue"===n.parser){if("v-for"===e.fullName)return _j(o(),l);if(xj(e)||Sj(e,n))return Mj(o(),l);const t=["^:","^v-bind:"],i=["^v-"];if(r(["^@","^v-on:"])){const e=o();return c(l(e,{parser:Rj(e)?"__js_expression":"__vue_event_binding"}));}if(r(t))return c(l(o(),{parser:"__vue_expression"}));if(r(i))return c(l(o(),{parser:"__js_expression"}));}if("angular"===n.parser){const t=(e,t)=>l(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],i=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],u=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return c(t(o(),{parser:"__ng_action"}));if(r(i))return c(t(o(),{parser:"__ng_binding"}));if(r(u)){const t=o().trim();return a(XI(cL(e,t)),!t.includes("@@"));}if(r(n))return c(t(o(),{parser:"__ng_directive"}));const s=/{{([\S\s]+?)}}/g,p=o();if(s.test(p)){const e=[];for(const[n,r]of p.split(s).entries())if(n%2==0)e.push(cj(r,rj));else try{e.push(YI(["{{",ej([nj,t(r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),nj,"}}"]));}catch(t){e.push("{{",cj(r,rj),"}}");}return YI(e);}}return null;}(o,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),r);if(e)return[o.rawName,'="',YI(ij(e,e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e)),'"'];break;}case"front-matter":return Xw(o,n);}}};const pL="HTML";var fL={htmlWhitespaceSensitivity:{since:"1.15.0",category:pL,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:pL,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},dL={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},hL={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391};var mL={languages:[df(dL,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),df(dL,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),df(dL,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),df(hL,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:lL},options:fL,parsers:{get html(){return{}.parsers.html;},get vue(){return{}.parsers.vue;},get angular(){return{}.parsers.angular;},get lwc(){return{}.parsers.lwc;}}};var gL={isPragma:function(e){return /^\s*@(prettier|format)\s*$/.test(e);},hasPragma:function(e){return /^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e);},insertPragma:function(e){return"# @format\n\n".concat(e);}};var yL={locStart:function(e){return e.position.start.offset;},locEnd:function(e){return e.position.end.offset;}};var DL=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}));};const{getLast:EL,isNonEmptyArray:bL}=rn;function CL(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type));}function vL(e){return"prettier-ignore"===e.value.trim();}function AL(e){return e&&bL(e.leadingComments);}function FL(e){return e&&bL(e.middleComments);}function xL(e){return e&&e.indicatorComment;}function SL(e){return e&&e.trailingComment;}function wL(e){return e&&bL(e.endComments);}function TL(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t;}var BL={getLast:EL,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let o=0;o<r;o++){const r=e.stack[o];CL(r)&&t(r)&&n++;}return n;},isNode:CL,isEmptyNode:function(e){return!bL(e.children)&&!function(e){return AL(e)||FL(e)||xL(e)||SL(e)||wL(e);}(e);},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1;}},mapNode:function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map(r=>e(r,n,t))}):t,r);},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1});},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let o=e.position.end.offset-1;o<r;o++){const e=t[o];if("\n"===e&&n++,1===n&&/\S/.test(e))return!1;if(2===n)return!0;}return!1;},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1;}const t=e.stack.length;for(let n=1;n<t;n++){const t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&"number"==typeof t&&t!==r.length-1)return!1;}return!0;},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){const o=e.position.start.line===e.position.end.line?"":r.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],i=null===e.indent?(u=o.match(/^( *)\S/m))?u[1].length:Number.POSITIVE_INFINITY:e.indent-1+t;var u;const s=o.split("\n").map(e=>e.slice(i));return"preserve"===r.proseWrap||"blockLiteral"===e.type?a(s.map(e=>0===e.length?[]:[e])):a(s.map(e=>0===e.length?[]:TL(e)).reduce((e,t,n)=>0!==n&&s[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(EL(e))?[...e.slice(0,-1),[...EL(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(EL(e))?[...e.slice(0,-1),EL(e)+" "+t]:[...e,t],[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function a(t){if("keep"===e.chomping)return 0===EL(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r);}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:TL(e)).reduce((t,n,o)=>0!==o&&r[o-1].length>0&&n.length>0&&("quoteDouble"!==e||!EL(EL(t)).endsWith("\\"))?[...t.slice(0,-1),[...EL(t),...n]]:[...t,n],[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e);},getLastDescendantNode:function e(t){return bL(t.children)?e(EL(t.children)):t;},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return wL(t.head)&&vL(EL(t.head.endComments));}return AL(t)&&vL(EL(t.leadingComments));},hasLeadingComments:AL,hasMiddleComments:FL,hasIndicatorComment:xL,hasTrailingComment:SL,hasEndComments:wL};const{defineShortcut:kL,mapNode:NL}=BL;function PL(e){switch(e.type){case"document":kL(e,"head",()=>e.children[0]),kL(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":kL(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":kL(e,"key",()=>e.children[0]),kL(e,"value",()=>e.children[1]);}return e;}var OL=function(e){return NL(e,PL);};const{builders:{softline:IL,align:jL}}=Rn,{hasEndComments:LL,isNextLineEmpty:_L,isNode:ML}=BL,RL=new WeakMap();function VL(e){return LL(e)&&!ML(e,["documentHead","documentBody","flowMapping","flowSequence"]);}var $L={alignWithSpaces:function(e,t){return jL(" ".repeat(e),t);},shouldPrintEndComments:VL,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let o;return RL.has(r)?o=RL.get(r):(o=new Set(),RL.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!_L(n,t)||VL(e.getParentNode()))?"":IL;}};const{builders:{ifBreak:qL,line:WL,softline:UL,hardline:zL,join:HL}}=Rn,{isEmptyNode:GL,getLast:JL,hasEndComments:XL}=BL,{printNextEmptyLine:YL,alignWithSpaces:KL}=$L;function QL(e,t,n){const r=e.getValue(),o="flowMapping"===r.type,i=o?"{":"[",u=o?"}":"]";let s=UL;o&&r.children.length>0&&n.bracketSpacing&&(s=WL);const a=JL(r.children),c=a&&"flowMappingItem"===a.type&&GL(a.key)&&GL(a.value);return[i,KL(n.tabWidth,[s,ZL(e,t,n),"none"===n.trailingComma?"":qL(","),XL(r)?[zL,HL(zL,e.map(t,"endComments"))]:""]),c?"":s,u];}function ZL(e,t,n){const r=e.getValue();return e.map((e,o)=>[t(),o===r.children.length-1?"":[",",WL,r.children[o].position.start.line!==r.children[o+1].position.start.line?YL(e,n.originalText):""]],"children");}var e_={printFlowMapping:QL,printFlowSequence:QL};const{builders:{conditionalGroup:t_,group:n_,hardline:r_,ifBreak:o_,join:i_,line:u_}}=Rn,{hasLeadingComments:s_,hasMiddleComments:a_,hasTrailingComment:c_,hasEndComments:l_,isNode:p_,isEmptyNode:f_,isInlineNode:d_}=BL,{alignWithSpaces:h_}=$L;function m_(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1;}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1;}}var g_=function(e,t,n,r,o){const{key:i,value:u}=e,s=f_(i),a=f_(u);if(s&&a)return": ";const c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type;}(e)?" ":"";if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!m_(i.content,o)||c_(i.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",h_(2,c)]:[c,l,":"];const p=r("value");if(s)return[": ",h_(2,p)];if(s_(u)||!d_(i.content))return["? ",h_(2,c),r_,i_("",n.map(r,"value","leadingComments").map(e=>[e,r_])),": ",h_(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1;}}(i.content)&&!s_(i.content)&&!a_(i.content)&&!c_(i.content)&&!l_(i)&&!s_(u.content)&&!a_(u.content)&&!l_(u)&&m_(u.content,o))return[c,l,": ",p];const f=Symbol("mappingKey"),d=n_([o_("? "),n_(h_(2,c),{id:f})]),h=[r_,": ",h_(2,p)],m=[l,":"];s_(u.content)||l_(u)&&u.content&&!p_(u.content,["mapping","sequence"])||"mapping"===t.type&&c_(i.content)&&d_(u.content)||p_(u.content,["mapping","sequence"])&&null===u.content.tag&&null===u.content.anchor?m.push(r_):u.content&&m.push(u_),m.push(p);const g=h_(o.tabWidth,m);return t_([[d,o_(h,g,{groupId:f})]]);};const{builders:{dedent:y_,dedentToRoot:D_,fill:E_,hardline:b_,join:C_,line:v_,literalline:A_,markAsRoot:F_},utils:{getDocParts:x_}}=Rn,{getAncestorCount:S_,getBlockValueLineContents:w_,hasIndicatorComment:T_,isLastDescendantNode:B_,isNode:k_}=BL,{alignWithSpaces:N_}=$L;var P_=function(e,t,n){const r=e.getValue(),o=S_(e,e=>k_(e,["sequence","mapping"])),i=B_(e),u=["blockFolded"===r.type?">":"|"];null!==r.indent&&u.push(r.indent.toString()),"clip"!==r.chomping&&u.push("keep"===r.chomping?"+":"-"),T_(r)&&u.push(" ",t("indicatorComment"));const s=w_(r,{parentIndent:o,isLastDescendant:i,options:n}),a=[];for(const[e,t]of s.entries())0===e&&a.push(b_),a.push(E_(x_(C_(v_,t)))),e!==s.length-1?a.push(0===t.length?b_:F_(A_)):"keep"===r.chomping&&i&&a.push(D_(0===t.length?b_:A_));return null===r.indent?u.push(y_(N_(n.tabWidth,a))):u.push(D_(N_(r.indent-1+o,a))),u;};const{builders:{breakParent:O_,fill:I_,group:j_,hardline:L_,join:__,line:M_,lineSuffix:R_,literalline:V_},utils:{getDocParts:$_}}=Rn,{replaceEndOfLineWith:q_,isPreviousLineEmpty:W_}=rn,{insertPragma:U_,isPragma:z_}=gL,{locStart:H_}=yL,{getFlowScalarLineContents:G_,getLastDescendantNode:J_,hasLeadingComments:X_,hasMiddleComments:Y_,hasTrailingComment:K_,hasEndComments:Q_,hasPrettierIgnore:Z_,isLastDescendantNode:eM,isNode:tM,isInlineNode:nM}=BL,{alignWithSpaces:rM,printNextEmptyLine:oM,shouldPrintEndComments:iM}=$L,{printFlowMapping:uM,printFlowSequence:sM}=e_;function aM(e,t){return K_(e)||t&&(t.head.children.length>0||Q_(t.head));}function cM(e,t,n){const r=G_(e,t,n);return __(L_,r.map(e=>I_($_(__(M_,e)))));}var lM={preprocess:OL,embed:DL,print:function(e,t,n){const r=e.getValue(),o=[];"mappingValue"!==r.type&&X_(r)&&o.push([__(L_,e.map(n,"leadingComments")),L_]);const{tag:i,anchor:u}=r;i&&o.push(n("tag")),i&&u&&o.push(" "),u&&o.push(n("anchor"));let s="";tM(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!eM(e)&&(s=oM(e,t.originalText)),(i||u)&&(tM(r,["sequence","mapping"])&&!Y_(r)?o.push(L_):o.push(" ")),Y_(r)&&o.push([1===r.middleComments.length?"":L_,__(L_,e.map(n,"middleComments")),L_]);const a=e.getParentNode();return Z_(e)?o.push(q_(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),V_)):o.push(j_(function(e,t,n,r,o){switch(e.type){case"root":{const{children:t}=e,r=[];n.each((e,n)=>{const i=t[n],u=t[n+1];0!==n&&r.push(L_),r.push(o()),aM(i,u)?(r.push(L_,"..."),K_(i)&&r.push(" ",o("trailingComment"))):u&&!K_(u.head)&&r.push(L_,"---");},"children");const i=J_(e);return tM(i,["blockLiteral","blockFolded"])&&"keep"===i.chomping||r.push(L_),r;}case"document":{const i=[];return"head"===function(e,t,n,r){if(n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(H_(e),H_(e)+4))||e.head.children.length>0||Q_(e.head)||K_(e.head))return"head";if(aM(e,t))return!1;return!!t&&"root";}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&i.push(o("head")),K_(e.head)?i.push(["---"," ",o(["head","trailingComment"])]):i.push("---")),function(e){return e.body.children.length>0||Q_(e.body);}(e)&&i.push(o("body")),__(L_,i);}case"documentHead":return __(L_,[...n.map(o,"children"),...n.map(o,"endComments")]);case"documentBody":{const{children:t,endComments:r}=e;let i="";if(t.length>0&&r.length>0){const t=J_(e);tM(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(i=[L_,L_]):i=L_;}return[__(L_,n.map(o,"children")),i,__(L_,n.map(o,"endComments"))];}case"directive":return["%",__(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return cM(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',o=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&o.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(o)){const i="quoteDouble"===e.type?n:t;return[i,cM(e.type,o,r),i];}if(o.includes(n))return[t,cM(e.type,"quoteDouble"===e.type?o.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):o,r),t];if(o.includes(t))return[n,cM(e.type,"quoteSingle"===e.type?o.replace(/''/g,t):o,r),n];const i=r.singleQuote?t:n;return[i,cM(e.type,o,r),i];}case"blockFolded":case"blockLiteral":return P_(n,o,r);case"mapping":case"sequence":return __(L_,n.map(o,"children"));case"sequenceItem":return["- ",rM(2,e.content?o("content"):"")];case"mappingKey":case"mappingValue":return e.content?o("content"):"";case"mappingItem":case"flowMappingItem":return g_(e,t,n,o,r);case"flowMapping":return uM(n,o,r);case"flowSequence":return sM(n,o,r);case"flowSequenceItem":return o("content");default:throw new Error("Unexpected node type ".concat(e.type));}}(r,a,e,t,n))),K_(r)&&!tM(r,["document","documentHead"])&&o.push(R_(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&nM(r)?"":O_,n("trailingComment")])),iM(r)&&o.push(rM("sequenceItem"===r.type?2:0,[L_,__(L_,e.map(e=>[W_(t.originalText,e.getValue(),H_)?L_:"",n()],"endComments"))])),o.push(s),o;},massageAstNode:function(e,t){if(tM(t))switch(delete t.position,t.type){case"comment":if(z_(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote";}},insertPragma:U_},pM={bracketSpacing:Ow.bracketSpacing,singleQuote:Ow.singleQuote,proseWrap:Ow.proseWrap};var fM=[qw,GB,rN,FN,eO,mL,{languages:[df({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter(e=>"yarn.lock"!==e),".prettierrc"]}))],printers:{yaml:lM},options:pM,parsers:{get yaml(){return{}.parsers.yaml;}}}];const{version:dM}=n,{getSupportInfo:hM}=Mt,mM=fM.map(t=>e(t,["parsers"]));function gM(e,t=1){return(...n)=>{const r=n[t]||{},o=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...mM,...(Array.isArray(o)?o:Object.values(o))]}),e(...n);};}const yM=gM($p.formatWithCursor);return{formatWithCursor:yM,format:(e,t)=>yM(e,t).formatted,check(e,t){const{formatted:n}=yM(e,t);return n===e;},doc:Rn,getSupportInfo:gM(hM,0),version:dM,util:ff,__debug:{parse:gM($p.parse),formatAST:gM($p.formatAST),formatDoc:gM($p.formatDoc),printToDoc:gM($p.printToDoc),printDocToString:gM($p.printDocToString)}};});})(standalone);const prettier=/*@__PURE__*/getDefaultExportFromCjs(standalone.exports);const formatter=memoize(2)((type,source)=>{if(type===false){return source;}if(type==='dedent'||type===true){return dedent(source);}return prettier.format(source,{parser:type,plugins:[prettierHtml],htmlWhitespaceSensitivity:'ignore'}).trim();});export{formatter};