@cubejs-backend/server-core 0.30.57 → 0.30.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/package.json +6 -6
- package/playground/asset-manifest.json +44 -40
- package/playground/index.html +1 -1
- package/playground/static/css/{11.b984234c.chunk.css → 12.b984234c.chunk.css} +1 -1
- package/playground/static/css/{11.b984234c.chunk.css.map → 12.b984234c.chunk.css.map} +1 -1
- package/playground/static/css/{12.ea0ece1a.chunk.css → 13.ea0ece1a.chunk.css} +1 -1
- package/playground/static/css/{12.ea0ece1a.chunk.css.map → 13.ea0ece1a.chunk.css.map} +1 -1
- package/playground/static/js/{0.b54326b0.chunk.js → 0.6862ff0c.chunk.js} +1 -1
- package/playground/static/js/1.a11eb810.chunk.js +1 -0
- package/playground/static/js/12.42ba959f.chunk.js +2 -0
- package/playground/static/js/{11.3740081b.chunk.js.LICENSE.txt → 12.42ba959f.chunk.js.LICENSE.txt} +0 -0
- package/playground/static/js/13.32c69b89.chunk.js +2 -0
- package/playground/static/js/{12.389644bb.chunk.js.LICENSE.txt → 13.32c69b89.chunk.js.LICENSE.txt} +0 -16
- package/playground/static/js/{13.6d3110b5.chunk.js → 14.325100e4.chunk.js} +1 -1
- package/playground/static/js/{14.1920a2b0.chunk.js → 15.5ab841c1.chunk.js} +1 -1
- package/playground/static/js/{15.340ce750.chunk.js → 16.2e7a6940.chunk.js} +1 -1
- package/playground/static/js/{16.f7339eee.chunk.js → 17.784f9391.chunk.js} +1 -1
- package/playground/static/js/{17.f8caaeba.chunk.js → 18.ce29ffda.chunk.js} +1 -1
- package/playground/static/js/{18.d0f413e3.chunk.js → 19.c10d6908.chunk.js} +1 -1
- package/playground/static/js/2.39683731.chunk.js +1 -0
- package/playground/static/js/20.9818e3e7.chunk.js +1 -0
- package/playground/static/js/21.6e0a3703.chunk.js +1 -0
- package/playground/static/js/22.2d5d34a7.chunk.js +1 -0
- package/playground/static/js/{20.d1f7d9c3.chunk.js → 23.d7448294.chunk.js} +1 -1
- package/playground/static/js/{21.05ee64dd.chunk.js → 24.246a94df.chunk.js} +1 -1
- package/playground/static/js/{22.36de0e3d.chunk.js → 25.bb85de6e.chunk.js} +1 -1
- package/playground/static/js/{23.fbb40500.chunk.js → 26.34b54be7.chunk.js} +1 -1
- package/playground/static/js/{24.cc29bbe7.chunk.js → 27.59dd6f3e.chunk.js} +1 -1
- package/playground/static/js/{25.2ce3a50b.chunk.js → 28.f75e74b8.chunk.js} +1 -1
- package/playground/static/js/{26.1c78ec58.chunk.js → 29.0f096b37.chunk.js} +1 -1
- package/playground/static/js/{2.c807d1e1.chunk.js → 3.6ab3c7f6.chunk.js} +1 -1
- package/playground/static/js/{27.54ec55b1.chunk.js → 30.6f54178c.chunk.js} +1 -1
- package/playground/static/js/{28.ec979d0e.chunk.js → 31.ed21ee21.chunk.js} +1 -1
- package/playground/static/js/{29.67ff83b9.chunk.js → 32.99899106.chunk.js} +1 -1
- package/playground/static/js/{3.5a159973.chunk.js → 4.40bee430.chunk.js} +1 -1
- package/playground/static/js/{4.59594e0b.chunk.js → 5.a8ec4218.chunk.js} +1 -1
- package/playground/static/js/{5.b30de4e9.chunk.js → 6.2da12beb.chunk.js} +1 -1
- package/playground/static/js/{6.232ed74d.chunk.js → 7.57194222.chunk.js} +1 -1
- package/playground/static/js/{7.7cedaa52.chunk.js → 8.f07d948b.chunk.js} +1 -1
- package/playground/static/js/{8.6435ca8a.chunk.js → 9.04b73c76.chunk.js} +1 -1
- package/playground/static/js/main.55d2e456.chunk.js +1 -0
- package/playground/static/js/runtime-main.eaf24746.js +1 -0
- package/playground/static/media/index.a22be0b6.less +19 -0
- package/playground/static/js/1.9d9ab345.chunk.js +0 -1
- package/playground/static/js/11.3740081b.chunk.js +0 -2
- package/playground/static/js/12.389644bb.chunk.js +0 -2
- package/playground/static/js/19.3419f27c.chunk.js +0 -1
- package/playground/static/js/main.d7f74799.chunk.js +0 -1
- package/playground/static/js/runtime-main.7118c4c3.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 12.389644bb.chunk.js.LICENSE.txt */
|
|
2
|
-
(this["webpackJsonp@cubejs-client/playground"]=this["webpackJsonp@cubejs-client/playground"]||[]).push([[12],{1e3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t,n,i,a=e.getSchema(),o=null!==(t=null!==(n=null!==(i=null===a||void 0===a?void 0:a.astNode)&&void 0!==i?i:null===a||void 0===a?void 0:a.getQueryType())&&void 0!==n?n:null===a||void 0===a?void 0:a.getMutationType())&&void 0!==t?t:null===a||void 0===a?void 0:a.getSubscriptionType(),u=0;return{SchemaDefinition:function(t){o?e.reportError(new r.a("Cannot define a new schema within a schema extension.",t)):(u>0&&e.reportError(new r.a("Must provide only one schema definition.",t)),++u)}}}},1001:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:a,SchemaExtension:a};function a(t){for(var a,o=null!==(a=t.operationTypes)&&void 0!==a?a:[],u=0;u<o.length;u++){var s=o[u],c=s.operation,l=n[c];i[c]?e.reportError(new r.a("Type for ".concat(c," already defined in the schema. It cannot be redefined."),s)):l?e.reportError(new r.a("There can be only one ".concat(c," type in schema."),[l,s])):n[c]=s}return!1}}},1002:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){var a=i.name.value;if(null===n||void 0===n||!n.getType(a))return t[a]?e.reportError(new r.a('There can be only one type named "'.concat(a,'".'),[t[a],i.name])):t[a]=i.name,!1;e.reportError(new r.a('Type "'.concat(a,'" already exists in the schema. It cannot also be defined in this type definition.'),i.name))}}},1003:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(908),i=n(911);function a(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),a=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(t){var o,u=t.name.value;a[u]||(a[u]=Object.create(null));for(var s=null!==(o=t.values)&&void 0!==o?o:[],c=a[u],l=0;l<s.length;l++){var p=s[l],f=p.name.value,d=n[u];Object(i.E)(d)&&d.getValue(f)?e.reportError(new r.a('Enum value "'.concat(u,".").concat(f,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[f]?e.reportError(new r.a('Enum value "'.concat(u,".").concat(f,'" can only be defined once.'),[c[f],p.name])):c[f]=p.name}return!1}}},1004:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(908),i=n(911);function a(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:a,InputObjectTypeExtension:a,InterfaceTypeDefinition:a,InterfaceTypeExtension:a,ObjectTypeDefinition:a,ObjectTypeExtension:a};function a(t){var a,u=t.name.value;i[u]||(i[u]=Object.create(null));for(var s=null!==(a=t.fields)&&void 0!==a?a:[],c=i[u],l=0;l<s.length;l++){var p=s[l],f=p.name.value;o(n[u],f)?e.reportError(new r.a('Field "'.concat(u,".").concat(f,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[f]?e.reportError(new r.a('Field "'.concat(u,".").concat(f,'" can only be defined once.'),[c[f],p.name])):c[f]=p.name}return!1}}function o(e,t){return!!(Object(i.N)(e)||Object(i.H)(e)||Object(i.F)(e))&&null!=e.getFields()[t]}},1005:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(i){var a=i.name.value;if(null===n||void 0===n||!n.getDirective(a))return t[a]?e.reportError(new r.a('There can be only one directive named "@'.concat(a,'".'),[t[a],i.name])):t[a]=i.name,!1;e.reportError(new r.a('Directive "@'.concat(a,'" already exists in the schema. It cannot be redefined.'),i.name))}}}},1006:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(927),i=n(926),a=n(908),o=n(932),u=n(924),s=n(916);function c(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),u=Object.create(null),s=0,c=e.getDocument().definitions;s<c.length;s++){var p=c[s];Object(o.d)(p)&&(u[p.name.value]=!0)}var f=Object.keys(n).concat(Object.keys(u));return{NamedType:function(t,s,c,p,d){var h,m=t.name.value;if(!n[m]&&!u[m]){var v,y=null!==(v=d[2])&&void 0!==v?v:c,g=null!=y&&(h=y,!Array.isArray(h)&&(Object(o.g)(h)||Object(o.h)(h)));if(g&&function(e){return-1!==l.indexOf(e)}(m))return;var b=Object(i.a)(m,g?l.concat(f):f);e.reportError(new a.a('Unknown type "'.concat(m,'".')+Object(r.a)(b),t))}}}}var l=[].concat(u.g,s.introspectionTypes).map((function(e){return e.name}))},1007:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(912),i=n(915),a=n(908),o=n(914),u=n(941),s=n(918);function c(e){for(var t=Object.create(null),n=e.getSchema(),c=n?n.getDirectives():s.j,l=0;l<c.length;l++){var p=c[l];t[p.name]=p.locations}for(var f=e.getDocument().definitions,d=0;d<f.length;d++){var h=f[d];h.kind===o.a.DIRECTIVE_DEFINITION&&(t[h.name.value]=h.locations.map((function(e){return e.value})))}return{Directive:function(n,s,c,l,p){var f=n.name.value,d=t[f];if(d){var h=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||Object(i.a)(0),t.kind){case o.a.OPERATION_DEFINITION:return function(e){switch(e){case"query":return u.a.QUERY;case"mutation":return u.a.MUTATION;case"subscription":return u.a.SUBSCRIPTION}Object(i.a)(0,"Unexpected operation: "+Object(r.a)(e))}(t.operation);case o.a.FIELD:return u.a.FIELD;case o.a.FRAGMENT_SPREAD:return u.a.FRAGMENT_SPREAD;case o.a.INLINE_FRAGMENT:return u.a.INLINE_FRAGMENT;case o.a.FRAGMENT_DEFINITION:return u.a.FRAGMENT_DEFINITION;case o.a.VARIABLE_DEFINITION:return u.a.VARIABLE_DEFINITION;case o.a.SCHEMA_DEFINITION:case o.a.SCHEMA_EXTENSION:return u.a.SCHEMA;case o.a.SCALAR_TYPE_DEFINITION:case o.a.SCALAR_TYPE_EXTENSION:return u.a.SCALAR;case o.a.OBJECT_TYPE_DEFINITION:case o.a.OBJECT_TYPE_EXTENSION:return u.a.OBJECT;case o.a.FIELD_DEFINITION:return u.a.FIELD_DEFINITION;case o.a.INTERFACE_TYPE_DEFINITION:case o.a.INTERFACE_TYPE_EXTENSION:return u.a.INTERFACE;case o.a.UNION_TYPE_DEFINITION:case o.a.UNION_TYPE_EXTENSION:return u.a.UNION;case o.a.ENUM_TYPE_DEFINITION:case o.a.ENUM_TYPE_EXTENSION:return u.a.ENUM;case o.a.ENUM_VALUE_DEFINITION:return u.a.ENUM_VALUE;case o.a.INPUT_OBJECT_TYPE_DEFINITION:case o.a.INPUT_OBJECT_TYPE_EXTENSION:return u.a.INPUT_OBJECT;case o.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===o.a.INPUT_OBJECT_TYPE_DEFINITION?u.a.INPUT_FIELD_DEFINITION:u.a.ARGUMENT_DEFINITION}}(p);h&&-1===d.indexOf(h)&&e.reportError(new a.a('Directive "@'.concat(f,'" may not be used on ').concat(h,"."),n))}else e.reportError(new a.a('Unknown directive "@'.concat(f,'".'),n))}}}},1008:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(908),i=n(914),a=n(932),o=n(918);function u(e){for(var t=Object.create(null),n=e.getSchema(),u=n?n.getDirectives():o.j,s=0;s<u.length;s++){var c=u[s];t[c.name]=!c.isRepeatable}for(var l=e.getDocument().definitions,p=0;p<l.length;p++){var f=l[p];f.kind===i.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=!f.repeatable)}var d=Object.create(null),h=Object.create(null);return{enter:function(n){if(null!=n.directives){var o;if(n.kind===i.a.SCHEMA_DEFINITION||n.kind===i.a.SCHEMA_EXTENSION)o=d;else if(Object(a.d)(n)||Object(a.e)(n)){var u=n.name.value;void 0===(o=h[u])&&(h[u]=o=Object.create(null))}else o=Object.create(null);for(var s=0,c=n.directives;s<c.length;s++){var l=c[s],p=l.name.value;t[p]&&(o[p]?e.reportError(new r.a('The directive "@'.concat(p,'" can only be used once at this location.'),[o[p],l])):o[p]=l)}}}}}},1009:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r,i=n(912),a=n(915),o=n(927),u=n(926),s=n(908),c=n(914),l=n(932),p=n(911);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=e.getSchema(),n=Object.create(null),r=0,f=e.getDocument().definitions;r<f.length;r++){var d=f[r];Object(l.d)(d)&&(n[d.name.value]=d)}return{ScalarTypeExtension:m,ObjectTypeExtension:m,InterfaceTypeExtension:m,UnionTypeExtension:m,EnumTypeExtension:m,InputObjectTypeExtension:m};function m(r){var l,f=r.name.value,d=n[f],m=null===t||void 0===t?void 0:t.getType(f);if(d?l=h[d.kind]:m&&(l=function(e){if(Object(p.R)(e))return c.a.SCALAR_TYPE_EXTENSION;if(Object(p.N)(e))return c.a.OBJECT_TYPE_EXTENSION;if(Object(p.H)(e))return c.a.INTERFACE_TYPE_EXTENSION;if(Object(p.T)(e))return c.a.UNION_TYPE_EXTENSION;if(Object(p.E)(e))return c.a.ENUM_TYPE_EXTENSION;if(Object(p.F)(e))return c.a.INPUT_OBJECT_TYPE_EXTENSION;Object(a.a)(0,"Unexpected type: "+Object(i.a)(e))}(m)),l){if(l!==r.kind){var v=function(e){switch(e){case c.a.SCALAR_TYPE_EXTENSION:return"scalar";case c.a.OBJECT_TYPE_EXTENSION:return"object";case c.a.INTERFACE_TYPE_EXTENSION:return"interface";case c.a.UNION_TYPE_EXTENSION:return"union";case c.a.ENUM_TYPE_EXTENSION:return"enum";case c.a.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}Object(a.a)(0,"Unexpected kind: "+Object(i.a)(e))}(r.kind);e.reportError(new s.a("Cannot extend non-".concat(v,' type "').concat(f,'".'),d?[d,r]:r))}}else{var y=Object.keys(n);t&&(y=y.concat(Object.keys(t.getTypeMap())));var g=Object(u.a)(f,y);e.reportError(new s.a('Cannot extend type "'.concat(f,'" because it is not defined.')+Object(o.a)(g),r.name))}}}var h=(f(r={},c.a.SCALAR_TYPE_DEFINITION,c.a.SCALAR_TYPE_EXTENSION),f(r,c.a.OBJECT_TYPE_DEFINITION,c.a.OBJECT_TYPE_EXTENSION),f(r,c.a.INTERFACE_TYPE_DEFINITION,c.a.INTERFACE_TYPE_EXTENSION),f(r,c.a.UNION_TYPE_DEFINITION,c.a.UNION_TYPE_EXTENSION),f(r,c.a.ENUM_TYPE_DEFINITION,c.a.ENUM_TYPE_EXTENSION),f(r,c.a.INPUT_OBJECT_TYPE_DEFINITION,c.a.INPUT_OBJECT_TYPE_EXTENSION),r)},1010:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var i=n.name.value;return t[i]?e.reportError(new r.a('There can be only one argument named "'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1}}}},1011:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var i=t.name.value;n[i]?e.reportError(new r.a('There can be only one input field named "'.concat(i,'".'),[n[i],t.name])):n[i]=t.name}}}},1012:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return L}));var r=n(1013),i=n(1014),a=n(1015),o=n(1016),u=n(1006),s=n(1017),c=n(1018),l=n(1019),p=n(1020),f=n(1021),d=n(1022),h=n(1023),m=n(1024),v=n(1025),y=n(1026),g=n(1027),b=n(1028),D=n(1007),E=n(1008),C=n(1029),A=n(1010),T=n(1030),x=n(1031),S=n(1032),w=n(1033),k=n(1011),O=n(1e3),F=n(1001),_=n(1002),N=n(1003),I=n(1004),j=n(1005),P=n(1009),B=Object.freeze([r.a,i.a,a.a,o.a,u.a,s.a,c.a,l.a,p.a,f.a,d.a,h.a,m.a,v.a,y.a,g.a,b.a,D.a,E.a,C.b,A.a,T.a,x.b,S.a,w.a,k.a]),L=Object.freeze([O.a,F.a,_.a,N.a,I.a,j.a,u.a,D.a,E.a,P.a,C.a,A.a,k.a,x.a])},1013:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(908),i=n(914),a=n(932);function o(e){return{Document:function(t){for(var n=0,o=t.definitions;n<o.length;n++){var u=o[n];if(!Object(a.b)(u)){var s=u.kind===i.a.SCHEMA_DEFINITION||u.kind===i.a.SCHEMA_EXTENSION?"schema":'"'+u.name.value+'"';e.reportError(new r.a("The ".concat(s," definition is not executable."),u))}}return!1}}}},1014:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null);return{OperationDefinition:function(n){var i=n.name;return i&&(t[i.value]?e.reportError(new r.a('There can be only one operation named "'.concat(i.value,'".'),[t[i.value],i])):t[i.value]=i),!1},FragmentDefinition:function(){return!1}}}},1015:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(908),i=n(914);function a(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===i.a.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new r.a("This anonymous operation must be the only defined operation.",n))}}}},1016:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.a(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}},1017:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(908),i=n(920),a=n(911),o=n(923);function u(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var u=Object(o.a)(e.getSchema(),n);if(u&&!Object(a.D)(u)){var s=Object(i.a)(n);e.reportError(new r.a('Fragment cannot condition on non composite type "'.concat(s,'".'),n))}}},FragmentDefinition:function(t){var n=Object(o.a)(e.getSchema(),t.typeCondition);if(n&&!Object(a.D)(n)){var u=Object(i.a)(t.typeCondition);e.reportError(new r.a('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(u,'".'),t.typeCondition))}}}}},1018:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(908),i=n(920),a=n(911),o=n(923);function u(e){return{VariableDefinition:function(t){var n=Object(o.a)(e.getSchema(),t.type);if(n&&!Object(a.G)(n)){var u=t.variable.name.value,s=Object(i.a)(t.type);e.reportError(new r.a('Variable "$'.concat(u,'" cannot be non-input type "').concat(s,'".'),t.type))}}}}},1019:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(912),i=n(908),a=n(911);function o(e){return{Field:function(t){var n=e.getType(),o=t.selectionSet;if(n)if(Object(a.I)(Object(a.A)(n))){if(o){var u=t.name.value,s=Object(r.a)(n);e.reportError(new i.a('Field "'.concat(u,'" must not have a selection since type "').concat(s,'" has no subfields.'),o))}}else if(!o){var c=t.name.value,l=Object(r.a)(n);e.reportError(new i.a('Field "'.concat(c,'" of type "').concat(l,'" must have a selection of subfields. Did you mean "').concat(c,' { ... }"?'),t))}}}}},1020:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(976),i=n(927),a=n(926),o=n(940),u=n(908),s=n(911);function c(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var c=e.getSchema(),l=t.name.value,p=Object(i.a)("to use an inline fragment on",function(e,t,n){if(!Object(s.C)(t))return[];for(var i=new Set,a=Object.create(null),u=0,c=e.getPossibleTypes(t);u<c.length;u++){var l=c[u];if(l.getFields()[n]){i.add(l),a[l.name]=1;for(var p=0,f=l.getInterfaces();p<f.length;p++){var d,h=f[p];h.getFields()[n]&&(i.add(h),a[h.name]=(null!==(d=a[h.name])&&void 0!==d?d:0)+1)}}}return Object(r.a)(i).sort((function(t,n){var r=a[n.name]-a[t.name];return 0!==r?r:Object(s.H)(t)&&e.isSubType(t,n)?-1:Object(s.H)(n)&&e.isSubType(n,t)?1:Object(o.a)(t.name,n.name)})).map((function(e){return e.name}))}(c,n,l));""===p&&(p=Object(i.a)(function(e,t){if(Object(s.N)(e)||Object(s.H)(e)){var n=Object.keys(e.getFields());return Object(a.a)(t,n)}return[]}(n,l))),e.reportError(new u.a('Cannot query field "'.concat(l,'" on type "').concat(n.name,'".')+p,t))}}}}},1021:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var i=n.name.value;return t[i]?e.reportError(new r.a('There can be only one fragment named "'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1}}}},1022:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new r.a('Unknown fragment "'.concat(n,'".'),t.name))}}}},1023:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var i=Object.create(null),a=0;a<t.length;a++)for(var o=t[a],u=0,s=e.getRecursivelyReferencedFragments(o);u<s.length;u++){i[s[u].name.value]=!0}for(var c=0;c<n.length;c++){var l=n[c],p=l.name.value;!0!==i[p]&&e.reportError(new r.a('Fragment "'.concat(p,'" is never used.'),l))}}}}}},1024:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(912),i=n(908),a=n(911),o=n(923),u=n(953);function s(e){return{InlineFragment:function(t){var n=e.getType(),o=e.getParentType();if(Object(a.D)(n)&&Object(a.D)(o)&&!Object(u.a)(e.getSchema(),n,o)){var s=Object(r.a)(o),c=Object(r.a)(n);e.reportError(new i.a('Fragment cannot be spread here as objects of type "'.concat(s,'" can never be of type "').concat(c,'".'),t))}},FragmentSpread:function(t){var n=t.name.value,s=function(e,t){var n=e.getFragment(t);if(n){var r=Object(o.a)(e.getSchema(),n.typeCondition);if(Object(a.D)(r))return r}}(e,n),c=e.getParentType();if(s&&c&&!Object(u.a)(e.getSchema(),s,c)){var l=Object(r.a)(c),p=Object(r.a)(s);e.reportError(new i.a('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(l,'" can never be of type "').concat(p,'".'),t))}}}}},1025:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return a(e),!1}};function a(o){if(!t[o.name.value]){var u=o.name.value;t[u]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){i[u]=n.length;for(var c=0;c<s.length;c++){var l=s[c],p=l.name.value,f=i[p];if(n.push(l),void 0===f){var d=e.getFragment(p);d&&a(d)}else{var h=n.slice(f),m=h.slice(0,-1).map((function(e){return'"'+e.name.value+'"'})).join(", ");e.reportError(new r.a('Cannot spread fragment "'.concat(p,'" within itself')+(""!==m?" via ".concat(m,"."):"."),h))}n.pop()}i[u]=void 0}}}}},1026:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var i=n.variable.name.value;t[i]?e.reportError(new r.a('There can be only one variable named "$'.concat(i,'".'),[t[i],n.variable.name])):t[i]=n.variable.name}}}},1027:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var i=e.getRecursiveVariableUsages(n),a=0;a<i.length;a++){var o=i[a].node,u=o.name.value;!0!==t[u]&&e.reportError(new r.a(n.name?'Variable "$'.concat(u,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(u,'" is not defined.'),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}},1028:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var i=Object.create(null),a=e.getRecursiveVariableUsages(n),o=0;o<a.length;o++){i[a[o].node.name.value]=!0}for(var u=0,s=t;u<s.length;u++){var c=s[u],l=c.variable.name.value;!0!==i[l]&&e.reportError(new r.a(n.name?'Variable "$'.concat(l,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(l,'" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}},1029:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return f}));var r=n(927),i=n(926),a=n(908),o=n(914),u=n(918);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return c(c({},f(e)),{},{Argument:function(t){var n=e.getArgument(),o=e.getFieldDef(),u=e.getParentType();if(!n&&o&&u){var s=t.name.value,c=o.args.map((function(e){return e.name})),l=Object(i.a)(s,c);e.reportError(new a.a('Unknown argument "'.concat(s,'" on field "').concat(u.name,".").concat(o.name,'".')+Object(r.a)(l),t))}}})}function f(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():u.j,c=0;c<s.length;c++){var l=s[c];t[l.name]=l.args.map((function(e){return e.name}))}for(var p=e.getDocument().definitions,f=0;f<p.length;f++){var d=p[f];if(d.kind===o.a.DIRECTIVE_DEFINITION){var h,m=null!==(h=d.arguments)&&void 0!==h?h:[];t[d.name.value]=m.map((function(e){return e.name.value}))}}return{Directive:function(n){var o=n.name.value,u=t[o];if(n.arguments&&u)for(var s=0,c=n.arguments;s<c.length;s++){var l=c[s],p=l.name.value;if(-1===u.indexOf(p)){var f=Object(i.a)(p,u);e.reportError(new a.a('Unknown argument "'.concat(p,'" on directive "@').concat(o,'".')+Object(r.a)(f),l))}}return!1}}}},1030:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(917),i=n(925),a=n(912),o=n(927),u=n(926),s=n(908),c=n(920),l=n(911);function p(e){return{ListValue:function(t){var n=Object(l.B)(e.getParentInputType());if(!Object(l.J)(n))return f(e,t),!1},ObjectValue:function(t){var n=Object(l.A)(e.getInputType());if(!Object(l.F)(n))return f(e,t),!1;for(var o=Object(i.a)(t.fields,(function(e){return e.name.value})),u=0,c=Object(r.a)(n.getFields());u<c.length;u++){var p=c[u];if(!o[p.name]&&Object(l.Q)(p)){var d=Object(a.a)(p.type);e.reportError(new s.a('Field "'.concat(n.name,".").concat(p.name,'" of required type "').concat(d,'" was not provided.'),t))}}},ObjectField:function(t){var n=Object(l.A)(e.getParentInputType());if(!e.getInputType()&&Object(l.F)(n)){var r=Object(u.a)(t.name.value,Object.keys(n.getFields()));e.reportError(new s.a('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+Object(o.a)(r),t))}},NullValue:function(t){var n=e.getInputType();Object(l.L)(n)&&e.reportError(new s.a('Expected value of type "'.concat(Object(a.a)(n),'", found ').concat(Object(c.a)(t),"."),t))},EnumValue:function(t){return f(e,t)},IntValue:function(t){return f(e,t)},FloatValue:function(t){return f(e,t)},StringValue:function(t){return f(e,t)},BooleanValue:function(t){return f(e,t)}}}function f(e,t){var n=e.getInputType();if(n){var r=Object(l.A)(n);if(Object(l.I)(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=Object(a.a)(n);e.reportError(new s.a('Expected value of type "'.concat(i,'", found ').concat(Object(c.a)(t),"."),t))}}catch(p){var o=Object(a.a)(n);p instanceof s.a?e.reportError(p):e.reportError(new s.a('Expected value of type "'.concat(o,'", found ').concat(Object(c.a)(t),"; ")+p.message,t,void 0,void 0,void 0,p))}else{var u=Object(a.a)(n);e.reportError(new s.a('Expected value of type "'.concat(u,'", found ').concat(Object(c.a)(t),"."),t))}}}},1031:function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h}));var r=n(912),i=n(925),a=n(908),o=n(914),u=n(920),s=n(918),c=n(911);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return p(p({},h(e)),{},{Field:{leave:function(t){var n,o=e.getFieldDef();if(!o)return!1;for(var u=null!==(n=t.arguments)&&void 0!==n?n:[],s=Object(i.a)(u,(function(e){return e.name.value})),l=0,p=o.args;l<p.length;l++){var f=p[l];if(!s[f.name]&&Object(c.P)(f)){var d=Object(r.a)(f.type);e.reportError(new a.a('Field "'.concat(o.name,'" argument "').concat(f.name,'" of type "').concat(d,'" is required, but it was not provided.'),t))}}}}})}function h(e){for(var t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():s.j,p=0;p<l.length;p++){var f=l[p];t[f.name]=Object(i.a)(f.args.filter(c.P),(function(e){return e.name}))}for(var d=e.getDocument().definitions,h=0;h<d.length;h++){var v=d[h];if(v.kind===o.a.DIRECTIVE_DEFINITION){var y,g=null!==(y=v.arguments)&&void 0!==y?y:[];t[v.name.value]=Object(i.a)(g.filter(m),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var o=n.name.value,s=t[o];if(s)for(var l,p=null!==(l=n.arguments)&&void 0!==l?l:[],f=Object(i.a)(p,(function(e){return e.name.value})),d=0,h=Object.keys(s);d<h.length;d++){var m=h[d];if(!f[m]){var v=s[m].type,y=Object(c.S)(v)?Object(r.a)(v):Object(u.a)(v);e.reportError(new a.a('Directive "@'.concat(o,'" argument "').concat(m,'" of type "').concat(y,'" is required, but it was not provided.'),n))}}}}}}function m(e){return e.type.kind===o.a.NON_NULL_TYPE&&null==e.defaultValue}},1032:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(912),i=n(908),a=n(914),o=n(911),u=n(923),s=n(953);function c(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var a=e.getRecursiveVariableUsages(n),o=0;o<a.length;o++){var s=a[o],c=s.node,p=s.type,f=s.defaultValue,d=c.name.value,h=t[d];if(h&&p){var m=e.getSchema(),v=Object(u.a)(m,h.type);if(v&&!l(m,v,h.defaultValue,p,f)){var y=Object(r.a)(v),g=Object(r.a)(p);e.reportError(new i.a('Variable "$'.concat(d,'" of type "').concat(y,'" used in position expecting type "').concat(g,'".'),[h,c]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function l(e,t,n,r,i){if(Object(o.L)(r)&&!Object(o.L)(t)){if(!(null!=n&&n.kind!==a.a.NULL)&&!(void 0!==i))return!1;var u=r.ofType;return Object(s.c)(e,t,u)}return Object(s.c)(e,t,r)}},1033:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(933),i=n(930),a=n(912),o=n(908),u=n(914),s=n(920),c=n(911),l=n(923);function p(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields "'.concat(t,'" conflict because ')+p(n)})).join(" and "):e}function f(e){var t=new E,n=new Map;return{SelectionSet:function(r){for(var a=function(e,t,n,r,a){var o=[],u=g(e,t,r,a),s=u[0],c=u[1];if(function(e,t,n,r,a){for(var o=0,u=Object(i.a)(a);o<u.length;o++){var s=u[o],c=s[0],l=s[1];if(l.length>1)for(var p=0;p<l.length;p++)for(var f=p+1;f<l.length;f++){var d=v(e,n,r,!1,c,l[p],l[f]);d&&t.push(d)}}}(e,o,t,n,s),0!==c.length)for(var l=0;l<c.length;l++){d(e,o,t,n,!1,s,c[l]);for(var p=l+1;p<c.length;p++)h(e,o,t,n,!1,c[l],c[p])}return o}(e,n,t,e.getParentType(),r),u=0;u<a.length;u++){var s=a[u],c=s[0],l=c[0],f=c[1],m=s[1],y=s[2],b=p(f);e.reportError(new o.a('Fields "'.concat(l,'" conflict because ').concat(b,". Use different aliases on the fields to fetch both if this was intentional."),m.concat(y)))}}}}function d(e,t,n,r,i,a,o){var u=e.getFragment(o);if(u){var s=b(e,n,u),c=s[0],l=s[1];if(a!==c){m(e,t,n,r,i,a,c);for(var p=0;p<l.length;p++)d(e,t,n,r,i,a,l[p])}}}function h(e,t,n,r,i,a,o){if(a!==o&&!r.has(a,o,i)){r.add(a,o,i);var u=e.getFragment(a),s=e.getFragment(o);if(u&&s){var c=b(e,n,u),l=c[0],p=c[1],f=b(e,n,s),d=f[0],v=f[1];m(e,t,n,r,i,l,d);for(var y=0;y<v.length;y++)h(e,t,n,r,i,a,v[y]);for(var g=0;g<p.length;g++)h(e,t,n,r,i,p[g],o)}}}function m(e,t,n,r,i,a,o){for(var u=0,s=Object.keys(a);u<s.length;u++){var c=s[u],l=o[c];if(l)for(var p=a[c],f=0;f<p.length;f++)for(var d=0;d<l.length;d++){var h=v(e,n,r,i,c,p[f],l[d]);h&&t.push(h)}}}function v(e,t,n,i,o,u,l){var p=u[0],f=u[1],v=u[2],b=l[0],D=l[1],E=l[2],C=i||p!==b&&Object(c.N)(p)&&Object(c.N)(b);if(!C){var A,T,x=f.name.value,S=D.name.value;if(x!==S)return[[o,'"'.concat(x,'" and "').concat(S,'" are different fields')],[f],[D]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,i,a=Object(r.a)(t,(function(t){return t.name.value===e.name.value}));return!!a&&(n=e.value,i=a.value,Object(s.a)(n)===Object(s.a)(i))}))}(null!==(A=f.arguments)&&void 0!==A?A:[],null!==(T=D.arguments)&&void 0!==T?T:[]))return[[o,"they have differing arguments"],[f],[D]]}var w=null===v||void 0===v?void 0:v.type,k=null===E||void 0===E?void 0:E.type;if(w&&k&&y(w,k))return[[o,'they return conflicting types "'.concat(Object(a.a)(w),'" and "').concat(Object(a.a)(k),'"')],[f],[D]];var O=f.selectionSet,F=D.selectionSet;if(O&&F){var _=function(e,t,n,r,i,a,o,u){var s=[],c=g(e,t,i,a),l=c[0],p=c[1],f=g(e,t,o,u),v=f[0],y=f[1];if(m(e,s,t,n,r,l,v),0!==y.length)for(var b=0;b<y.length;b++)d(e,s,t,n,r,l,y[b]);if(0!==p.length)for(var D=0;D<p.length;D++)d(e,s,t,n,r,v,p[D]);for(var E=0;E<p.length;E++)for(var C=0;C<y.length;C++)h(e,s,t,n,r,p[E],y[C]);return s}(e,t,n,C,Object(c.A)(w),O,Object(c.A)(k),F);return function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(_,o,f,D)}}function y(e,t){return Object(c.J)(e)?!Object(c.J)(t)||y(e.ofType,t.ofType):!!Object(c.J)(t)||(Object(c.L)(e)?!Object(c.L)(t)||y(e.ofType,t.ofType):!!Object(c.L)(t)||!(!Object(c.I)(e)&&!Object(c.I)(t))&&e!==t)}function g(e,t,n,r){var i=t.get(r);if(!i){var a=Object.create(null),o=Object.create(null);D(e,n,r,a,o),i=[a,Object.keys(o)],t.set(r,i)}return i}function b(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Object(l.a)(e.getSchema(),n.typeCondition);return g(e,t,i,n.selectionSet)}function D(e,t,n,r,i){for(var a=0,o=n.selections;a<o.length;a++){var s=o[a];switch(s.kind){case u.a.FIELD:var p=s.name.value,f=void 0;(Object(c.N)(t)||Object(c.H)(t))&&(f=t.getFields()[p]);var d=s.alias?s.alias.value:p;r[d]||(r[d]=[]),r[d].push([t,s,f]);break;case u.a.FRAGMENT_SPREAD:i[s.name.value]=!0;break;case u.a.INLINE_FRAGMENT:var h=s.typeCondition,m=h?Object(l.a)(e.getSchema(),h):t;D(e,m,s.selectionSet,r,i)}}}var E=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,n){var r=this._data[e],i=r&&r[t];return void 0!==i&&(!1!==n||!1===i)},t.add=function(e,t,n){this._pairSetAdd(e,t,n),this._pairSetAdd(t,e,n)},t._pairSetAdd=function(e,t,n){var r=this._data[e];r||(r=Object.create(null),this._data[e]=r),r[t]=n},e}()},1034:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u}));var r=n(919),i=n(908),a=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function o(e){var t=u(e);if(t)throw t;return e}function u(e){return"string"===typeof e||Object(r.a)(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1]?new i.a('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):a.test(e)?void 0:new i.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}},1035:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(914),i=n(928),a=n(977);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===r.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var i=0,a=n.pop().selections;i<a.length;i++){var o=a[i];o.kind===r.a.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),a=0,o=this.getFragmentSpreads(i);a<o.length;a++){var u=o[a].name.value;if(!0!==n[u]){n[u]=!0;var s=this.getFragment(u);s&&(t.push(s),r.push(s.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),s=function(e){function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return o(t,e),t.prototype.getSchema=function(){return this._schema},t}(u),c=function(e){function t(t,n,r,i){var a;return(a=e.call(this,n,i)||this)._schema=t,a._typeInfo=r,a._variableUsages=new Map,a._recursiveVariableUsages=new Map,a}o(t,e);var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new a.a(this._schema);Object(i.c)(e,Object(a.b)(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},n.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(u)},1036:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(915),i=n(908),a=n(911);function o(e){return{Field:function(t){var n=e.getFieldDef(),a=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=a){var o=e.getParentType();null!=o||Object(r.a)(0),e.reportError(new i.a("The field ".concat(o.name,".").concat(n.name," is deprecated. ").concat(a),t))}},Argument:function(t){var n=e.getArgument(),a=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=a){var o=e.getDirective();if(null!=o)e.reportError(new i.a('Directive "@'.concat(o.name,'" argument "').concat(n.name,'" is deprecated. ').concat(a),t));else{var u=e.getParentType(),s=e.getFieldDef();null!=u&&null!=s||Object(r.a)(0),e.reportError(new i.a('Field "'.concat(u.name,".").concat(s.name,'" argument "').concat(n.name,'" is deprecated. ').concat(a),t))}}},ObjectField:function(t){var n=Object(a.A)(e.getParentInputType());if(Object(a.F)(n)){var r=n.getFields()[t.name.value],o=null===r||void 0===r?void 0:r.deprecationReason;null!=o&&e.reportError(new i.a("The input field ".concat(n.name,".").concat(r.name," is deprecated. ").concat(o),t))}},EnumValue:function(t){var n=e.getEnumValue(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){var u=Object(a.A)(e.getInputType());null!=u||Object(r.a)(0),e.reportError(new i.a('The enum value "'.concat(u.name,".").concat(n.name,'" is deprecated. ').concat(o),t))}}}}},1037:function(e,t,n){"use strict";var r=n(913),i=n(1045),a=n(1049),o=n(1050),u=n(1058),s=n(1072),c=n(1085),l=n(979),p=n(1087),f={default:n(1088),zero:n(1089),commonmark:n(1090)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var v=["http:","https:","mailto:"];function y(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return l.encode(l.format(t))}function g(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return l.decode(l.format(t),l.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new u,this.core=new o,this.renderer=new a,this.linkify=new c,this.validateLink=m,this.normalizeLink=y,this.normalizeLinkText=g,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},1038:function(e){e.exports=JSON.parse('{"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":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","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":"\u2305","Barwed":"\u2306","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":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","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":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","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","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","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","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","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":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","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","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","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","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","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","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","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":"\u212f","Escr":"\u2130","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":"\ud835\udcbb","Fscr":"\u2131","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":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","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","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","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","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","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":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","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":"\ud835\udcbe","Iscr":"\u2110","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":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","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":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","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","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","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":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","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","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","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","natural":"\u266e","naturals":"\u2115","natur":"\u266e","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","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","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":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","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":"\ud835\udd5f","Nopf":"\u2115","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","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","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","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","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","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","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":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","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":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","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","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","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","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\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","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","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":"\ud835\udd62","Qopf":"\u211a","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":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","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","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","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","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","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","solbar":"\u233f","solb":"\u29c4","sol":"/","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","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","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":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","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","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","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":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","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","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","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":"\u2191","Uarr":"\u219f","uArr":"\u21d1","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","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","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":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","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":"\u2227","Wedge":"\u22c0","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":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","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":"\xff","Yuml":"\u0178","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":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},1039:function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,u,s,c,l="";for("string"!==typeof t&&(n=t,t=i.defaultChars),"undefined"===typeof n&&(n=!0),c=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),a=0,o=e.length;a<o;a++)if(u=e.charCodeAt(a),n&&37===u&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))l+=e.slice(a,a+3),a+=2;else if(u<128)l+=c[u];else if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&a+1<o&&(s=e.charCodeAt(a+1))>=56320&&s<=57343){l+=encodeURIComponent(e[a]+e[a+1]),a++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[a]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},1040:function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!==typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,a,o,u,s,c="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?c+=n[i]:192===(224&i)&&t+3<r&&128===(192&(a=parseInt(e.slice(t+4,t+6),16)))?(c+=(s=i<<6&1984|63&a)<128?"\ufffd\ufffd":String.fromCharCode(s),t+=3):224===(240&i)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128===(192&a)&&128===(192&o))?(c+=(s=i<<12&61440|a<<6&4032|63&o)<2048||s>=55296&&s<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(s),t+=6):240===(248&i)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),u=parseInt(e.slice(t+10,t+12),16),128===(192&a)&&128===(192&o)&&128===(192&u))?((s=i<<18&1835008|a<<12&258048|o<<6&4032|63&u)<65536||s>1114111?c+="\ufffd\ufffd\ufffd\ufffd":(s-=65536,c+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):c+="\ufffd";return c}))}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},1041:function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},1042:function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(u),c=["%","/","?",";","#"].concat(s),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,a,u,s,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var v=o.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var y=i.exec(m);if(y&&(a=(y=y[0]).toLowerCase(),this.protocol=y,m=m.substr(y.length)),(t||y||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===m.substr(0,2))||y&&d[y]||(m=m.substr(2),this.slashes=!0)),!d[y]&&(s||y&&!h[y])){var g,b,D=-1;for(n=0;n<l.length;n++)-1!==(u=m.indexOf(l[n]))&&(-1===D||u<D)&&(D=u);for(-1!==(b=-1===D?m.lastIndexOf("@"):m.lastIndexOf("@",D))&&(g=m.slice(0,b),m=m.slice(b+1),this.auth=g),D=-1,n=0;n<c.length;n++)-1!==(u=m.indexOf(c[n]))&&(-1===D||u<D)&&(D=u);-1===D&&(D=m.length),":"===m[D-1]&&D--;var E=m.slice(0,D);m=m.slice(D),this.parseHost(E),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var A=this.hostname.split(/\./);for(n=0,r=A.length;n<r;n++){var T=A[n];if(T&&!T.match(p)){for(var x="",S=0,w=T.length;S<w;S++)T.charCodeAt(S)>127?x+="x":x+=T[S];if(!x.match(p)){var k=A.slice(0,n),O=A.slice(n+1),F=T.match(f);F&&(k.push(F[1]),O.unshift(F[2])),O.length&&(m=O.join(".")+m),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var _=m.indexOf("#");-1!==_&&(this.hash=m.substr(_),m=m.slice(0,_));var N=m.indexOf("?");return-1!==N&&(this.search=m.substr(N),m=m.slice(0,N)),m&&(this.pathname=m),h[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},1043:function(e,t,n){"use strict";t.Any=n(980),t.Cc=n(981),t.Cf=n(1044),t.P=n(957),t.Z=n(982)},1044:function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},1045:function(e,t,n){"use strict";t.parseLinkLabel=n(1046),t.parseLinkDestination=n(1047),t.parseLinkTitle=n(1048)},1046:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,u=-1,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(u=e.pos),e.pos=c,u}},1047:function(e,t,n){"use strict";var r=n(913).unescapeAll;e.exports=function(e,t,n){var i,a,o=t,u={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t)))return u;if(60===i)return u;if(62===i)return u.pos=t+1,u.str=r(e.slice(o+1,t)),u.ok=!0,u;92===i&&t+1<n?t+=2:t++}return u}for(a=0;t<n&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===i&&++a>32)return u;if(41===i){if(0===a)break;a--}t++}return o===t||0!==a||(u.str=r(e.slice(o,t)),u.lines=0,u.pos=t,u.ok=!0),u}},1048:function(e,t,n){"use strict";var r=n(913).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,u=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return s;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return s.pos=t+1,s.lines=o,s.str=r(e.slice(u+1,t)),s.ok=!0,s;if(40===i&&41===a)return s;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},1049:function(e,t,n){"use strict";var r=n(913).assign,i=n(913).unescapeAll,a=n(913).escapeHtml,o={};function u(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var u,s,c,l,p,f=e[t],d=f.info?i(f.info).trim():"",h="",m="";return d&&(h=(c=d.split(/(\s+)/g))[0],m=c.slice(2).join("")),0===(u=n.highlight&&n.highlight(f.content,h,m)||a(f.content)).indexOf("<pre")?u+"\n":d?(s=f.attrIndex("class"),l=f.attrs?f.attrs.slice():[],s<0?l.push(["class",n.langPrefix+h]):(l[s]=l[s].slice(),l[s][1]+=" "+n.langPrefix+h),p={attrs:l},"<pre><code"+o.renderAttrs(p)+">"+u+"</code></pre>\n"):"<pre><code"+o.renderAttrs(f)+">"+u+"</code></pre>\n"},o.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return a(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},u.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},u.prototype.renderToken=function(e,t,n){var r,i="",a=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===o.nesting?"</":"<")+o.tag,i+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(i+=" /"),o.block&&(a=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===o.tag)&&(a=!1)),i+=a?">\n":">")},u.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,u=e.length;o<u;o++)"undefined"!==typeof a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},u.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,a=e.length;i<a;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type?r+=this.renderInlineAsText(e[i].children,t,n):"softbreak"===e[i].type&&(r+="\n");return r},u.prototype.render=function(e,t,n){var r,i,a,o="",u=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(a=e[r].type)?o+=this.renderInline(e[r].children,t,n):"undefined"!==typeof u[a]?o+=u[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=u},1050:function(e,t,n){"use strict";var r=n(958),i=[["normalize",n(1051)],["block",n(1052)],["inline",n(1053)],["linkify",n(1054)],["replacements",n(1055)],["smartquotes",n(1056)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},a.prototype.State=n(1057),e.exports=a},1051:function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"\ufffd"),e.src=t}},1052:function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},1053:function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},1054:function(e,t,n){"use strict";var r=n(913).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,u,s,c,l,p,f,d,h,m,v,y,g,b,D,E=e.tokens;if(e.md.options.linkify)for(n=0,a=E.length;n<a;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(m=0,t=(o=E[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(D=s.content,/^<a[>\s]/i.test(D)&&m>0&&m--,i(s.content)&&m++),!(m>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,b=e.md.linkify.match(p),c=[],h=s.level,d=0,l=0;l<b.length;l++)v=b[l].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(g=b[l].text,g=b[l].schema?"mailto:"!==b[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(f=b[l].index)>d&&((u=new e.Token("text","",0)).content=p.slice(d,f),u.level=h,c.push(u)),(u=new e.Token("link_open","a",1)).attrs=[["href",y]],u.level=h++,u.markup="linkify",u.info="auto",c.push(u),(u=new e.Token("text","",0)).content=g,u.level=h,c.push(u),(u=new e.Token("link_close","a",-1)).level=--h,u.markup="linkify",u.info="auto",c.push(u),d=b[l].lastIndex);d<p.length&&((u=new e.Token("text","",0)).content=p.slice(d),u.level=h,c.push(u)),E[n].children=o=r(o,t,c)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},1055:function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,a=/\((c|tm|r|p)\)/gi,o={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function u(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(a,u)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function c(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&c(e.tokens[t].children))}},1056:function(e,t,n){"use strict";var r=n(913).isWhiteSpace,i=n(913).isPunctChar,a=n(913).isMdAsciiPunct,o=/['"]/,u=/['"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,o,c,l,p,f,d,h,m,v,y,g,b,D,E,C,A,T,x,S,w;for(x=[],n=0;n<e.length;n++){for(o=e[n],d=e[n].level,A=x.length-1;A>=0&&!(x[A].level<=d);A--);if(x.length=A+1,"text"===o.type){p=0,f=(c=o.content).length;e:for(;p<f&&(u.lastIndex=p,l=u.exec(c));){if(E=C=!0,p=l.index+1,T="'"===l[0],m=32,l.index-1>=0)m=c.charCodeAt(l.index-1);else for(A=n-1;A>=0&&("softbreak"!==e[A].type&&"hardbreak"!==e[A].type);A--)if(e[A].content){m=e[A].content.charCodeAt(e[A].content.length-1);break}if(v=32,p<f)v=c.charCodeAt(p);else for(A=n+1;A<e.length&&("softbreak"!==e[A].type&&"hardbreak"!==e[A].type);A++)if(e[A].content){v=e[A].content.charCodeAt(0);break}if(y=a(m)||i(String.fromCharCode(m)),g=a(v)||i(String.fromCharCode(v)),b=r(m),(D=r(v))?E=!1:g&&(b||y||(E=!1)),b?C=!1:y&&(D||g||(C=!1)),34===v&&'"'===l[0]&&m>=48&&m<=57&&(C=E=!1),E&&C&&(E=y,C=g),E||C){if(C)for(A=x.length-1;A>=0&&(h=x[A],!(x[A].level<d));A--)if(h.single===T&&x[A].level===d){h=x[A],T?(S=t.md.options.quotes[2],w=t.md.options.quotes[3]):(S=t.md.options.quotes[0],w=t.md.options.quotes[1]),o.content=s(o.content,l.index,w),e[h.token].content=s(e[h.token].content,h.pos,S),p+=w.length-1,h.token===n&&(p+=S.length-1),f=(c=o.content).length,x.length=A;continue e}E?x.push({token:n,pos:l.index,single:T,level:d}):C&&T&&(o.content=s(o.content,l.index,"\u2019"))}else T&&(o.content=s(o.content,l.index,"\u2019"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},1057:function(e,t,n){"use strict";var r=n(959);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},1058:function(e,t,n){"use strict";var r=n(958),i=[["table",n(1059),["paragraph","reference"]],["code",n(1060)],["fence",n(1061),["paragraph","reference","blockquote","list"]],["blockquote",n(1062),["paragraph","reference","blockquote","list"]],["hr",n(1063),["paragraph","reference","blockquote","list"]],["list",n(1064),["paragraph","reference","blockquote"]],["reference",n(1065)],["html_block",n(1066),["paragraph","reference","blockquote"]],["heading",n(1068),["paragraph","reference","blockquote"]],["lheading",n(1069)],["paragraph",n(1070)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}a.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),a=i.length,o=t,u=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!u,e.isEmpty(e.line-1)&&(u=!0),(o=e.line)<n&&e.isEmpty(o)&&(u=!0,o++,e.line=o)}},a.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},a.prototype.State=n(1071),e.exports=a},1059:function(e,t,n){"use strict";var r=n(913).isSpace;function i(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function a(e){var t,n=[],r=0,i=e.length,a=!1,o=0,u="";for(t=e.charCodeAt(r);r<i;)124===t&&(a?(u+=e.substring(o,r-1),o=r):(n.push(u+e.substring(o,r)),u="",o=r+1)),a=92===t,r++,t=e.charCodeAt(r);return n.push(u+e.substring(o)),n}e.exports=function(e,t,n,o){var u,s,c,l,p,f,d,h,m,v,y,g,b,D,E,C,A,T;if(t+2>n)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(A=e.src.charCodeAt(c++))&&45!==A&&58!==A)return!1;if(c>=e.eMarks[f])return!1;if(124!==(T=e.src.charCodeAt(c++))&&45!==T&&58!==T&&!r(T))return!1;if(45===A&&r(T))return!1;for(;c<e.eMarks[f];){if(124!==(u=e.src.charCodeAt(c))&&45!==u&&58!==u&&!r(u))return!1;c++}for(d=(s=i(e,t+1)).split("|"),v=[],l=0;l<d.length;l++){if(!(y=d[l].trim())){if(0===l||l===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;58===y.charCodeAt(y.length-1)?v.push(58===y.charCodeAt(0)?"center":"right"):58===y.charCodeAt(0)?v.push("left"):v.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=a(s)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),0===(h=d.length)||h!==v.length)return!1;if(o)return!0;for(D=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<d.length;l++)m=e.push("th_open","th",1),v[l]&&(m.attrs=[["style","text-align:"+v[l]]]),(m=e.push("inline","",0)).content=d[l].trim(),m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),f=t+2;f<n&&!(e.sCount[f]<e.blkIndent);f++){for(E=!1,l=0,p=C.length;l<p;l++)if(C[l](e,f,n,!0)){E=!0;break}if(E)break;if(!(s=i(e,f).trim()))break;if(e.sCount[f]-e.blkIndent>=4)break;for((d=a(s)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),f===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[f,f+1],l=0;l<h;l++)m=e.push("td_open","td",1),v[l]&&(m.attrs=[["style","text-align:"+v[l]]]),(m=e.push("inline","",0)).content=d[l]?d[l].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return b&&(m=e.push("tbody_close","tbody",-1),b[1]=f),m=e.push("table_close","table",-1),g[1]=f,e.parentType=D,e.line=f,!0}},1060:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(a=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}},1061:function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,a,o,u,s,c,l,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(s=f,(a=(f=e.skipChars(f,i))-s)<3)return!1;if(l=e.src.slice(s,f),o=e.src.slice(f,d),96===i&&o.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&!((f=s=e.bMarks[u]+e.tShift[u])<(d=e.eMarks[u])&&e.sCount[u]<e.blkIndent);)if(e.src.charCodeAt(f)===i&&!(e.sCount[u]-e.blkIndent>=4)&&!((f=e.skipChars(f,i))-s<a)&&!((f=e.skipSpaces(f))<d)){p=!0;break}return a=e.sCount[t],e.line=u+(p?1:0),(c=e.push("fence","code",0)).info=o,c.content=e.getLines(t+1,u,a,!0),c.markup=l,c.map=[t,e.line],!0}},1062:function(e,t,n){"use strict";var r=n(913).isSpace;e.exports=function(e,t,n,i){var a,o,u,s,c,l,p,f,d,h,m,v,y,g,b,D,E,C,A,T,x=e.lineMax,S=e.bMarks[t]+e.tShift[t],w=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(s=d=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,s++,d++,a=!1,D=!0):9===e.src.charCodeAt(S)?(D=!0,(e.bsCount[t]+d)%4===3?(S++,s++,d++,a=!1):a=!0):D=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S<w&&(o=e.src.charCodeAt(S),r(o));)9===o?d+=4-(d+e.bsCount[t]+(a?1:0))%4:d++,S++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(D?1:0),l=S>=w,g=[e.sCount[t]],e.sCount[t]=d-s,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",f=t+1;f<n&&(T=e.sCount[f]<e.blkIndent,!((S=e.bMarks[f]+e.tShift[f])>=(w=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(S++)||T){if(l)break;for(E=!1,u=0,c=C.length;u<c;u++)if(C[u](e,f,n,!0)){E=!0;break}if(E){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),g.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),g.push(e.sCount[f]),e.sCount[f]=-1}else{for(s=d=e.sCount[f]+1,32===e.src.charCodeAt(S)?(S++,s++,d++,a=!1,D=!0):9===e.src.charCodeAt(S)?(D=!0,(e.bsCount[f]+d)%4===3?(S++,s++,d++,a=!1):a=!0):D=!1,h.push(e.bMarks[f]),e.bMarks[f]=S;S<w&&(o=e.src.charCodeAt(S),r(o));)9===o?d+=4-(d+e.bsCount[f]+(a?1:0))%4:d++,S++;l=S>=w,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(D?1:0),g.push(e.sCount[f]),e.sCount[f]=d-s,b.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f]}for(v=e.blkIndent,e.blkIndent=0,(A=e.push("blockquote_open","blockquote",1)).markup=">",A.map=p=[t,0],e.md.block.tokenize(e,t,f),(A=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=y,p[1]=e.line,u=0;u<b.length;u++)e.bMarks[u+t]=h[u],e.tShift[u+t]=b[u],e.sCount[u+t]=g[u],e.bsCount[u+t]=m[u];return e.blkIndent=v,!0}},1063:function(e,t,n){"use strict";var r=n(913).isSpace;e.exports=function(e,t,n,i){var a,o,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(c++))&&45!==a&&95!==a)return!1;for(o=1;c<l;){if((u=e.src.charCodeAt(c++))!==a&&!r(u))return!1;u===a&&o++}return!(o<3)&&(i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a))),!0)}},1064:function(e,t,n){"use strict";var r=n(913).isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=o)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}e.exports=function(e,t,n,r){var o,u,s,c,l,p,f,d,h,m,v,y,g,b,D,E,C,A,T,x,S,w,k,O,F,_,N,I,j=!1,P=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(j=!0),(k=a(e,t))>=0){if(f=!0,F=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(F,k-1)),j&&1!==g)return!1}else{if(!((k=i(e,t))>=0))return!1;f=!1}if(j&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(k-1),r)return!0;for(v=e.tokens.length,f?(I=e.push("ordered_list_open","ol",1),1!==g&&(I.attrs=[["start",g]])):I=e.push("bullet_list_open","ul",1),I.map=m=[t,0],I.markup=String.fromCharCode(y),D=t,O=!1,N=e.md.block.ruler.getRules("list"),A=e.parentType,e.parentType="list";D<n;){for(w=k,b=e.eMarks[D],p=E=e.sCount[D]+k-(e.bMarks[t]+e.tShift[t]);w<b;){if(9===(o=e.src.charCodeAt(w)))E+=4-(E+e.bsCount[D])%4;else{if(32!==o)break;E++}w++}if((l=(u=w)>=b?1:E-p)>4&&(l=1),c=p+l,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(y),I.map=d=[t,0],f&&(I.info=e.src.slice(F,k-1)),S=e.tight,x=e.tShift[t],T=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=u-e.bMarks[t],e.sCount[t]=E,u>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!O||(P=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=x,e.sCount[t]=T,e.tight=S,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(y),D=t=e.line,d[1]=D,u=e.bMarks[t],D>=n)break;if(e.sCount[D]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(_=!1,s=0,h=N.length;s<h;s++)if(N[s](e,D,n,!0)){_=!0;break}if(_)break;if(f){if((k=a(e,D))<0)break;F=e.bMarks[D]+e.tShift[D]}else if((k=i(e,D))<0)break;if(y!==e.src.charCodeAt(k-1))break}return(I=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),m[1]=D,e.line=D,e.parentType=A,P&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}},1065:function(e,t,n){"use strict";var r=n(913).normalizeReference,i=n(913).isSpace;e.exports=function(e,t,n,a){var o,u,s,c,l,p,f,d,h,m,v,y,g,b,D,E,C=0,A=e.bMarks[t]+e.tShift[t],T=e.eMarks[t],x=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(A))return!1;for(;++A<T;)if(93===e.src.charCodeAt(A)&&92!==e.src.charCodeAt(A-1)){if(A+1===T)return!1;if(58!==e.src.charCodeAt(A+1))return!1;break}for(c=e.lineMax,D=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";x<c&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3)&&!(e.sCount[x]<0)){for(b=!1,p=0,f=D.length;p<f;p++)if(D[p](e,x,c,!0)){b=!0;break}if(b)break}for(T=(g=e.getLines(t,x,e.blkIndent,!1).trim()).length,A=1;A<T;A++){if(91===(o=g.charCodeAt(A)))return!1;if(93===o){h=A;break}(10===o||92===o&&++A<T&&10===g.charCodeAt(A))&&C++}if(h<0||58!==g.charCodeAt(h+1))return!1;for(A=h+2;A<T;A++)if(10===(o=g.charCodeAt(A)))C++;else if(!i(o))break;if(!(v=e.md.helpers.parseLinkDestination(g,A,T)).ok)return!1;if(l=e.md.normalizeLink(v.str),!e.md.validateLink(l))return!1;for(u=A=v.pos,s=C+=v.lines,y=A;A<T;A++)if(10===(o=g.charCodeAt(A)))C++;else if(!i(o))break;for(v=e.md.helpers.parseLinkTitle(g,A,T),A<T&&y!==A&&v.ok?(E=v.str,A=v.pos,C+=v.lines):(E="",A=u,C=s);A<T&&(o=g.charCodeAt(A),i(o));)A++;if(A<T&&10!==g.charCodeAt(A)&&E)for(E="",A=u,C=s;A<T&&(o=g.charCodeAt(A),i(o));)A++;return!(A<T&&10!==g.charCodeAt(A))&&(!!(d=r(g.slice(1,h)))&&(a||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[d]&&(e.env.references[d]={title:E,href:l}),e.parentType=m,e.line=t+C+1),!0))}},1066:function(e,t,n){"use strict";var r=n(1067),i=n(983).HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(s=e.src.slice(c,l),i=0;i<a.length&&!a[i][0].test(s);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(c=e.bMarks[o]+e.tShift[o],l=e.eMarks[o],s=e.src.slice(c,l),a[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(u=e.push("html_block","",0)).map=[t,o],u.content=e.getLines(t,o,e.blkIndent,!0),!0}},1067:function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},1068:function(e,t,n){"use strict";var r=n(913).isSpace;e.exports=function(e,t,n,i){var a,o,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(c))||c>=l)return!1;for(o=1,a=e.src.charCodeAt(++c);35===a&&c<l&&o<=6;)o++,a=e.src.charCodeAt(++c);return!(o>6||c<l&&!r(a))&&(i||(l=e.skipSpacesBack(l,c),(u=e.skipCharsBack(l,35,c))>c&&r(e.src.charCodeAt(u-1))&&(l=u),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(c,l).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)}},1069:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,u,s,c,l,p,f,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=c)){l=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,a=0,o=h.length;a<o;a++)if(h[a](e,d,n,!0)){i=!0;break}if(i)break}}return!!l&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(u=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),u.map=[t,e.line],(u=e.push("inline","",0)).content=r,u.map=[t,e.line-1],u.children=[],(u=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},1070:function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,u,s=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(u=e.parentType,e.parentType="paragraph";s<l&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3)&&!(e.sCount[s]<0)){for(r=!1,i=0,a=c.length;i<a;i++)if(c[i](e,s,l,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=u,!0}},1071:function(e,t,n){"use strict";var r=n(959),i=n(913).isSpace;function a(e,t,n,r){var a,o,u,s,c,l,p,f;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,u=s=l=p=0,c=(o=this.src).length;s<c;s++){if(a=o.charCodeAt(s),!f){if(i(a)){l++,9===a?p+=4-p%4:p++;continue}f=!0}10!==a&&s!==c-1||(10!==a&&s++,this.bMarks.push(u),this.eMarks.push(s),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,u=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},a.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},a.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},a.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},a.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},a.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},a.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},a.prototype.getLines=function(e,t,n,r){var a,o,u,s,c,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),a=0;f<t;f++,a++){for(o=0,p=s=this.bMarks[f],c=f+1<t||r?this.eMarks[f]+1:this.eMarks[f];s<c&&o<n;){if(u=this.src.charCodeAt(s),i(u))9===u?o+=4-(o+this.bsCount[f])%4:o++;else{if(!(s-p<this.tShift[f]))break;o++}s++}l[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},a.prototype.Token=r,e.exports=a},1072:function(e,t,n){"use strict";var r=n(958),i=[["text",n(1073)],["newline",n(1074)],["escape",n(1075)],["backticks",n(1076)],["strikethrough",n(984).tokenize],["emphasis",n(985).tokenize],["link",n(1077)],["image",n(1078)],["autolink",n(1079)],["html_inline",n(1080)],["entity",n(1081)]],a=[["balance_pairs",n(1082)],["strikethrough",n(984).postProcess],["emphasis",n(985).postProcess],["text_collapse",n(1083)]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,u=e.cache;if("undefined"===typeof u[r]){if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,u[r]=e.pos}else e.pos=u[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,u=new this.State(e,t,n,r);for(this.tokenize(u),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](u)},o.prototype.State=n(1084),e.exports=o},1073:function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},1074:function(e,t,n){"use strict";var r=n(913).isSpace;e.exports=function(e,t){var n,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},1075:function(e,t,n){"use strict";for(var r=n(913).isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),a++;a<o&&(n=e.src.charCodeAt(a),r(n));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},1076:function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,u,s,c,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;if(s=(i=e.src.slice(n,l)).length,e.backticksScanned&&(e.backticks[s]||0)<=n)return t||(e.pending+=i),e.pos+=s,!0;for(o=u=l;-1!==(o=e.src.indexOf("`",u));){for(u=o+1;u<r&&96===e.src.charCodeAt(u);)u++;if((c=u-o)===s)return t||((a=e.push("code_inline","code",0)).markup=i,a.content=e.src.slice(l,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=u,!0;e.backticks[c]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=s,!0}},1077:function(e,t,n){"use strict";var r=n(913).normalizeReference,i=n(913).isSpace;e.exports=function(e,t){var n,a,o,u,s,c,l,p,f="",d="",h=e.pos,m=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(u=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=u+1)<m&&40===e.src.charCodeAt(c)){for(y=!1,c++;c<m&&(a=e.src.charCodeAt(c),i(a)||10===a);c++);if(c>=m)return!1;if(v=c,(l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(f=e.md.normalizeLink(l.str),e.md.validateLink(f)?c=l.pos:f="",v=c;c<m&&(a=e.src.charCodeAt(c),i(a)||10===a);c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&l.ok)for(d=l.str,c=l.pos;c<m&&(a=e.src.charCodeAt(c),i(a)||10===a);c++);}(c>=m||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if("undefined"===typeof e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?o=e.src.slice(v,c++):c=u+1):c=u+1,o||(o=e.src.slice(s,u)),!(p=e.env.references[r(o)]))return e.pos=h,!1;f=p.href,d=p.title}return t||(e.pos=s,e.posMax=u,e.push("link_open","a",1).attrs=n=[["href",f]],d&&n.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},1078:function(e,t,n){"use strict";var r=n(913).normalizeReference,i=n(913).isSpace;e.exports=function(e,t){var n,a,o,u,s,c,l,p,f,d,h,m,v,y="",g=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=s+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(l>=b)return!1;for(v=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(y=e.md.normalizeLink(f.str),e.md.validateLink(y)?l=f.pos:y=""),v=l;l<b&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&v!==l&&f.ok)for(d=f.str,l=f.pos;l<b&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);else d="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if("undefined"===typeof e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(v=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?u=e.src.slice(v,l++):l=s+1):l=s+1,u||(u=e.src.slice(c,s)),!(p=e.env.references[r(u)]))return e.pos=g,!1;y=p.href,d=p.title}return t||(o=e.src.slice(c,s),e.md.inline.parse(o,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",y],["alt",""]],h.children=m,h.content=o,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},1079:function(e,t,n){"use strict";var r=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,i=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,t){var n,a,o,u,s,c,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(s=e.pos,c=e.posMax;;){if(++l>=c)return!1;if(60===(u=e.src.charCodeAt(l)))return!1;if(62===u)break}return n=e.src.slice(s+1,l),i.test(n)?(a=e.md.normalizeLink(n),!!e.md.validateLink(a)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",a]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(n),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=n.length+2,!0)):!!r.test(n)&&(a=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(a)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",a]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(n),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=n.length+2,!0))}},1080:function(e,t,n){"use strict";var r=n(983).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,o=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=a)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+i[0].length)),e.pos+=i[0].length,!0))))}},1081:function(e,t,n){"use strict";var r=n(978),i=n(913).has,a=n(913).isValidEntityCode,o=n(913).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(c=e.src.slice(l).match(u))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=a(n)?o(n):o(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(l).match(s))&&i(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},1082:function(e,t,n){"use strict";function r(e,t){var n,r,i,a,o,u,s,c,l={},p=t.length;if(p){var f=0,d=-2,h=[];for(n=0;n<p;n++)if(i=t[n],h.push(0),t[f].marker===i.marker&&d===i.token-1||(f=n),d=i.token,i.length=i.length||0,i.close){for(l.hasOwnProperty(i.marker)||(l[i.marker]=[-1,-1,-1,-1,-1,-1]),o=l[i.marker][(i.open?3:0)+i.length%3],u=r=f-h[f]-1;r>o;r-=h[r]+1)if((a=t[r]).marker===i.marker&&a.open&&a.end<0&&(s=!1,(a.close||i.open)&&(a.length+i.length)%3===0&&(a.length%3===0&&i.length%3===0||(s=!0)),!s)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,i.open=!1,a.end=n,a.close=!1,u=-1,d=-2;break}-1!==u&&(l[i.marker][(i.open?3:0)+(i.length||0)%3]=u)}}}e.exports=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(0,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(0,n[t].delimiters)}},1083:function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},1084:function(e,t,n){"use strict";var r=n(959),i=n(913).isWhiteSpace,a=n(913).isPunctChar,o=n(913).isMdAsciiPunct;function u(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}u.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},u.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),a=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],a={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(a),i},u.prototype.scanDelims=function(e,t){var n,r,u,s,c,l,p,f,d,h=e,m=!0,v=!0,y=this.posMax,g=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<y&&this.src.charCodeAt(h)===g;)h++;return u=h-e,r=h<y?this.src.charCodeAt(h):32,p=o(n)||a(String.fromCharCode(n)),d=o(r)||a(String.fromCharCode(r)),l=i(n),(f=i(r))?m=!1:d&&(l||p||(m=!1)),l?v=!1:p&&(f||d||(v=!1)),t?(s=m,c=v):(s=m&&(!v||p),c=v&&(!m||d)),{can_open:s,can_close:c,length:u}},u.prototype.Token=r,e.exports=u},1085:function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var u={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=n(1086)(e.__opts__),r=e.__tlds__.slice();function u(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");var s=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?a(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(a(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?c(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function d(e,t){if(!(this instanceof d))return new d(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||u.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},u,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},d.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,u,s;if(this.re.schema_test.test(e))for((u=this.re.schema_search).lastIndex=0;null!==(t=u.exec(e));)if(i=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},d.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},1086:function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(980).source,t.src_Cc=n(981).source,t.src_Z=n(982).source,t.src_P=n(957).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},1087:function(e,t,n){(function(e,r){var i;!function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var u,s=2147483647,c=36,l=/^xn--/,p=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,m=String.fromCharCode;function v(e){throw new RangeError(d[e])}function y(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+y((e=e.replace(f,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function D(e){return y(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=m(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function C(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=c)e=h(e/35);return h(r+36*e/(e+38))}function A(e){var t,n,r,i,a,o,u,l,p,f,d,m=[],y=e.length,g=0,b=128,E=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&v("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<y;){for(a=g,o=1,u=c;i>=y&&v("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:c)>=c||l>h((s-g)/o))&&v("overflow"),g+=l*o,!(l<(p=u<=E?1:u>=E+26?26:u-E));u+=c)o>h(s/(f=c-p))&&v("overflow"),o*=f;E=C(g-a,t=m.length+1,0==a),h(g/t)>s-b&&v("overflow"),b+=h(g/t),g%=t,m.splice(g++,0,b)}return D(m)}function T(e){var t,n,r,i,a,o,u,l,p,f,d,y,g,D,A,T=[];for(y=(e=b(e)).length,t=128,n=0,a=72,o=0;o<y;++o)(d=e[o])<128&&T.push(m(d));for(r=i=T.length,i&&T.push("-");r<y;){for(u=s,o=0;o<y;++o)(d=e[o])>=t&&d<u&&(u=d);for(u-t>h((s-n)/(g=r+1))&&v("overflow"),n+=(u-t)*g,t=u,o=0;o<y;++o)if((d=e[o])<t&&++n>s&&v("overflow"),d==t){for(l=n,p=c;!(l<(f=p<=a?1:p>=a+26?26:p-a));p+=c)A=l-f,D=c-f,T.push(m(E(f+A%D,0))),l=h(A/D);T.push(m(E(l,0))),a=C(n,g,r==i),n=0,++r}++n,++t}return T.join("")}u={version:"1.4.1",ucs2:{decode:b,encode:D},decode:A,encode:T,toASCII:function(e){return g(e,(function(e){return p.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return u}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(260)(e),n(187))},1088:function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},1089:function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},1090:function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},1091:function(e,t,n){"use strict";var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var a="",o=0,u=0;for(o=i.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}u!==o&&(a+=n.substring(u,o)),u=o+1,a+=t}return u!==o?a+n.substring(u,o):a}},1092:function(e,t,n){"use strict";var r=Reflect.deleteProperty,i=n(1093),a=n(1094),o=function(e){return"object"===typeof e&&null!==e||"function"===typeof e},u=function(e){if(!i(e))throw new TypeError("Object keys must be strings or symbols");if(function(e){return"__proto__"===e||"constructor"===e||"prototype"===e}(e))throw new Error('Cannot set unsafe key: "'.concat(e,'"'))},s=function(e,t,n){var r=function(e){return Array.isArray(e)?e.flat().map(String).join(","):e}(t?function(e,t){if("string"!==typeof e||!t)return e;var n=e+";";return void 0!==t.arrays&&(n+="arrays=".concat(t.arrays,";")),void 0!==t.separator&&(n+="separator=".concat(t.separator,";")),void 0!==t.split&&(n+="split=".concat(t.split,";")),void 0!==t.merge&&(n+="merge=".concat(t.merge,";")),void 0!==t.preservePaths&&(n+="preservePaths=".concat(t.preservePaths,";")),n}(e,t):e);u(r);var i=p.cache.get(r)||n();return p.cache.set(r,i),i},c=function(e,t){return t&&"function"===typeof t.split?t.split(e):"symbol"===typeof e?[e]:Array.isArray(e)?e:s(e,t,(function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"===typeof e&&!1!==r&&/\//.test(e))return[e];for(var i=[],a="",o=function(e){var t;""!==e.trim()&&Number.isInteger(t=Number(e))?i.push(t):i.push(e)},u=0;u<e.length;u++){var s=e[u];"\\"!==s?s!==n?a+=s:(o(a),a=""):a+=e[++u]}return a&&o(a),i}(e,t)}))},l=function(e,t,n,i){if(u(t),void 0===n)r(e,t);else if(i&&i.merge){var o="function"===i.merge?i.merge:Object.assign;o&&a(e[t])&&a(n)?e[t]=o(e[t],n):e[t]=n}else e[t]=n;return e},p=function(e,t,n,r){if(!t||!o(e))return e;for(var i=c(t,r),a=e,s=0;s<i.length;s++){var p=i[s],f=i[s+1];if(u(p),void 0===f){l(a,p,n,r);break}"number"!==typeof f||Array.isArray(a[p])?(o(a[p])||(a[p]={}),a=a[p]):a=a[p]=[]}return e};p.split=c,p.cache=new Map,p.clear=function(){p.cache=new Map},e.exports=p},1093:function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e?null===e:"function"!==typeof e}},1094:function(e,t,n){"use strict";var r=n(1095);function i(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==i(e)&&("function"===typeof(t=e.constructor)&&(!1!==i(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},1095:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},1096:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),n=t.descriptions?"description":"",a=t.specifiedByUrl?"specifiedByUrl":"",o=t.directiveIsRepeatable?"isRepeatable":"",u=t.schemaDescription?n:"";function s(e){return t.inputValueDeprecation?e:""}return"\n query IntrospectionQuery {\n __schema {\n ".concat(u,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(n,"\n ").concat(o,"\n locations\n args").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(n,"\n ").concat(a,"\n fields(includeDeprecated: true) {\n name\n ").concat(n,"\n args").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(n,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(n,"\n type { ...TypeRef }\n defaultValue\n ").concat(s("isDeprecated"),"\n ").concat(s("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}n.d(t,"a",(function(){return a}))},1097:function(e,t,n){var r=n(948),i=n(986);e.exports=function(){"use strict";var e=function(e,t){var n=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return n.loc=t,n},t=function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var o,u=i(n.entries());try{for(u.s();!(o=u.n()).done;){var s=r(o.value,2),c=s[0],l=s[1];try{return{result:l()}}catch(n){0===c&&(e=n)}}}catch(p){u.e(p)}finally{u.f()}return{error:e}},n={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},a={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}},o={},u={};function s(e){return s="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},s(e)}Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e){return"object"==s(e)&&null!==e};var c={};Object.defineProperty(c,"__esModule",{value:!0}),c.SYMBOL_TO_STRING_TAG=c.SYMBOL_ASYNC_ITERATOR=c.SYMBOL_ITERATOR=void 0;var l="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";c.SYMBOL_ITERATOR=l;var p="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";c.SYMBOL_ASYNC_ITERATOR=p;var f="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";c.SYMBOL_TO_STRING_TAG=f;var d={};Object.defineProperty(d,"__esModule",{value:!0}),d.getLocation=function(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,a=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,a=t+1-(n.index+n[0].length);return{line:i,column:a}};var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.printLocation=function(e){return v(e.source,(0,m.getLocation)(e.source,e.start))},h.printSourceLocation=v;var m=d;function v(e,t){var n=e.locationOffset.column-1,r=g(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,u=1===t.line?n:0,s=t.column+u,c="".concat(e.name,":").concat(o,":").concat(s,"\n"),l=r.split(/\r\n|[\n\r]/g),p=l[i];if(p.length>120){for(var f=Math.floor(s/80),d=s%80,h=[],m=0;m<p.length;m+=80)h.push(p.slice(m,m+80));return c+y([["".concat(o),h[0]]].concat(h.slice(1,f+1).map((function(e){return["",e]})),[[" ",g(d-1)+"^"],["",h[f+1]]]))}return c+y([["".concat(o-1),l[i-1]],["".concat(o),p],["",g(s-1)+"^"],["".concat(o+1),l[i+1]]])}function y(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return g(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function g(e){return Array(e+1).join(" ")}function b(e){return b="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},b(e)}Object.defineProperty(o,"__esModule",{value:!0}),o.printError=j,o.GraphQLError=void 0;var D,E=(D=u)&&D.__esModule?D:{default:D},C=c,A=d,T=h;function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){var t="function"==typeof Map?new Map:void 0;return k=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return O(e,arguments,N(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_(r,e)},k(e)}function O(e,t,n){return O=F()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_(i,n.prototype),i},O.apply(null,arguments)}function F(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(u,e);var t,n,r,i,a,o=(t=u,n=F(),function(){var e,r=N(t);if(n){var i=N(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return S(this,e)});function u(e,t,n,r,i,a,s){var c,l,p,f,d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),d=o.call(this,e);var h,m=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,v=n;!v&&m&&(v=null===(h=m[0].loc)||void 0===h?void 0:h.source);var y,g=r;!g&&m&&(g=m.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),g&&0===g.length&&(g=void 0),r&&n?y=r.map((function(e){return(0,A.getLocation)(n,e)})):m&&(y=m.reduce((function(e,t){return t.loc&&e.push((0,A.getLocation)(t.loc.source,t.loc.start)),e}),[]));var b=s;if(null==b&&null!=a){var D=a.extensions;(0,E.default)(D)&&(b=D)}return Object.defineProperties(w(d),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(c=y)&&void 0!==c?c:void 0,enumerable:null!=y},path:{value:null!=i?i:void 0,enumerable:null!=i},nodes:{value:null!=m?m:void 0},source:{value:null!==(l=v)&&void 0!==l?l:void 0},positions:{value:null!==(p=g)&&void 0!==p?p:void 0},originalError:{value:a},extensions:{value:null!==(f=b)&&void 0!==f?f:void 0,enumerable:null!=b}}),null!=a&&a.stack?(Object.defineProperty(w(d),"stack",{value:a.stack,writable:!0,configurable:!0}),S(d)):(Error.captureStackTrace?Error.captureStackTrace(w(d),u):Object.defineProperty(w(d),"stack",{value:Error().stack,writable:!0,configurable:!0}),d)}return r=u,(i=[{key:"toString",value:function(){return j(this)}},{key:C.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}])&&x(r.prototype,i),a&&x(r,a),u}(k(Error));function j(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+(0,T.printLocation)(i.loc))}else if(e.source&&e.locations)for(var a=0,o=e.locations;a<o.length;a++){var u=o[a];t+="\n\n"+(0,T.printSourceLocation)(e.source,u)}return t}o.GraphQLError=I;var P={},B={};Object.defineProperty(B,"__esModule",{value:!0}),B.syntaxError=function(e,t,n){return new L.GraphQLError("Syntax Error: ".concat(n),void 0,e,[t])};var L=o,R={};Object.defineProperty(R,"__esModule",{value:!0}),R.Kind=void 0;var M=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});R.Kind=M;var V={},U={},q={};Object.defineProperty(q,"__esModule",{value:!0}),q.default=function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")};var z={};Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var G="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;z.default=G,Object.defineProperty(U,"__esModule",{value:!0}),U.default=function(e){var t=e.prototype.toJSON;"function"==typeof t||(0,H.default)(0),e.prototype.inspect=t,K.default&&(e.prototype[K.default]=t)};var H=W(q),K=W(z);function W(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(V,"__esModule",{value:!0}),V.isNode=function(e){return null!=e&&"string"==typeof e.kind},V.Token=V.Location=void 0;var $=function(e){return e&&e.__esModule?e:{default:e}}(U),J=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();V.Location=J,(0,$.default)(J);var Q=function(){function e(e,t,n,r,i,a,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();V.Token=Q,(0,$.default)(Q);var Y={};Object.defineProperty(Y,"__esModule",{value:!0}),Y.TokenKind=void 0;var X=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});Y.TokenKind=X;var Z={},ee={};Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=function(e){return re(e,[])};var te=function(e){return e&&e.__esModule?e:{default:e}}(z);function ne(e){return ne="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},ne(e)}function re(e,t){switch(ne(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(te.default)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:re(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],a=0;a<n;++a)i.push(re(e[a],t));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map((function(n){return n+": "+re(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var ie={};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=function(e,t){if(!Boolean(e))throw new Error(t)};var ae={};Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=void 0,function(e){e&&e.__esModule}(ee),ae.default=function(e,t){return e instanceof t},Object.defineProperty(Z,"__esModule",{value:!0}),Z.isSource=function(e){return(0,ce.default)(e,fe)},Z.Source=void 0;var oe=c,ue=le(ee),se=le(ie),ce=le(ae);function le(e){return e&&e.__esModule?e:{default:e}}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var fe=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,se.default)(0,"Body must be a string. Received: ".concat((0,ue.default)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,se.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,se.default)(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:oe.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}])&&pe(t.prototype,n),r&&pe(t,r),e}();Z.Source=fe;var de={};Object.defineProperty(de,"__esModule",{value:!0}),de.DirectiveLocation=void 0;var he=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});de.DirectiveLocation=he;var me={},ve={};function ye(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function ge(e){for(var t,n=!0,r=!0,i=0,a=null,o=0;o<e.length;++o)switch(e.charCodeAt(o)){case 13:10===e.charCodeAt(o+1)&&++o;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===a||i<a)&&(a=i),r=!1}return null!==(t=a)&&void 0!==t?t:0}Object.defineProperty(ve,"__esModule",{value:!0}),ve.dedentBlockStringValue=function(e){var t=e.split(/\r\n|[\n\r]/g),n=ge(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var i=0;i<t.length&&ye(t[i]);)++i;for(var a=t.length;a>i&&ye(t[a-1]);)--a;return t.slice(i,a).join("\n")},ve.getBlockStringIndentation=ge,ve.printBlockString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],o="\\"===e[e.length-1],u=!r||a||o||n,s="";return!u||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,u&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'},Object.defineProperty(me,"__esModule",{value:!0}),me.isPunctuatorTokenKind=function(e){return e===Ee.TokenKind.BANG||e===Ee.TokenKind.DOLLAR||e===Ee.TokenKind.AMP||e===Ee.TokenKind.PAREN_L||e===Ee.TokenKind.PAREN_R||e===Ee.TokenKind.SPREAD||e===Ee.TokenKind.COLON||e===Ee.TokenKind.EQUALS||e===Ee.TokenKind.AT||e===Ee.TokenKind.BRACKET_L||e===Ee.TokenKind.BRACKET_R||e===Ee.TokenKind.BRACE_L||e===Ee.TokenKind.PIPE||e===Ee.TokenKind.BRACE_R},me.Lexer=void 0;var be=B,De=V,Ee=Y,Ce=ve,Ae=function(){function e(e){var t=new De.Token(Ee.TokenKind.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==Ee.TokenKind.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=xe(this,e)}while(e.kind===Ee.TokenKind.COMMENT);return e},e}();function Te(e){return isNaN(e)?Ee.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function xe(e,t){for(var n=e.source,r=n.body,i=r.length,a=t.end;a<i;){var o=r.charCodeAt(a),u=e.line,s=1+a-e.lineStart;switch(o){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===r.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 33:return new De.Token(Ee.TokenKind.BANG,a,a+1,u,s,t);case 35:return we(n,a,u,s,t);case 36:return new De.Token(Ee.TokenKind.DOLLAR,a,a+1,u,s,t);case 38:return new De.Token(Ee.TokenKind.AMP,a,a+1,u,s,t);case 40:return new De.Token(Ee.TokenKind.PAREN_L,a,a+1,u,s,t);case 41:return new De.Token(Ee.TokenKind.PAREN_R,a,a+1,u,s,t);case 46:if(46===r.charCodeAt(a+1)&&46===r.charCodeAt(a+2))return new De.Token(Ee.TokenKind.SPREAD,a,a+3,u,s,t);break;case 58:return new De.Token(Ee.TokenKind.COLON,a,a+1,u,s,t);case 61:return new De.Token(Ee.TokenKind.EQUALS,a,a+1,u,s,t);case 64:return new De.Token(Ee.TokenKind.AT,a,a+1,u,s,t);case 91:return new De.Token(Ee.TokenKind.BRACKET_L,a,a+1,u,s,t);case 93:return new De.Token(Ee.TokenKind.BRACKET_R,a,a+1,u,s,t);case 123:return new De.Token(Ee.TokenKind.BRACE_L,a,a+1,u,s,t);case 124:return new De.Token(Ee.TokenKind.PIPE,a,a+1,u,s,t);case 125:return new De.Token(Ee.TokenKind.BRACE_R,a,a+1,u,s,t);case 34:return 34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)?_e(n,a,u,s,t,e):Fe(n,a,u,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return ke(n,a,o,u,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return Ie(n,a,u,s,t)}throw(0,be.syntaxError)(n,a,Se(o))}var c=e.line,l=1+a-e.lineStart;return new De.Token(Ee.TokenKind.EOF,i,i,c,l,t)}function Se(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(Te(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(Te(e),".")}function we(e,t,n,r,i){var a,o=e.body,u=t;do{a=o.charCodeAt(++u)}while(!isNaN(a)&&(a>31||9===a));return new De.Token(Ee.TokenKind.COMMENT,t,u,n,r,i,o.slice(t+1,u))}function ke(e,t,n,r,i,a){var o=e.body,u=n,s=t,c=!1;if(45===u&&(u=o.charCodeAt(++s)),48===u){if((u=o.charCodeAt(++s))>=48&&u<=57)throw(0,be.syntaxError)(e,s,"Invalid number, unexpected digit after 0: ".concat(Te(u),"."))}else s=Oe(e,s,u),u=o.charCodeAt(s);if(46===u&&(c=!0,u=o.charCodeAt(++s),s=Oe(e,s,u),u=o.charCodeAt(s)),69!==u&&101!==u||(c=!0,43!==(u=o.charCodeAt(++s))&&45!==u||(u=o.charCodeAt(++s)),s=Oe(e,s,u),u=o.charCodeAt(s)),46===u||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(u))throw(0,be.syntaxError)(e,s,"Invalid number, expected digit but got: ".concat(Te(u),"."));return new De.Token(c?Ee.TokenKind.FLOAT:Ee.TokenKind.INT,t,s,r,i,a,o.slice(t,s))}function Oe(e,t,n){var r=e.body,i=t,a=n;if(a>=48&&a<=57){do{a=r.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw(0,be.syntaxError)(e,i,"Invalid number, expected digit but got: ".concat(Te(a),"."))}function Fe(e,t,n,r,i){for(var a,o,u,s,c=e.body,l=t+1,p=l,f=0,d="";l<c.length&&!isNaN(f=c.charCodeAt(l))&&10!==f&&13!==f;){if(34===f)return d+=c.slice(p,l),new De.Token(Ee.TokenKind.STRING,t,l+1,n,r,i,d);if(f<32&&9!==f)throw(0,be.syntaxError)(e,l,"Invalid character within String: ".concat(Te(f),"."));if(++l,92===f){switch(d+=c.slice(p,l-1),f=c.charCodeAt(l)){case 34:d+='"';break;case 47:d+="/";break;case 92:d+="\\";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+="\n";break;case 114:d+="\r";break;case 116:d+="\t";break;case 117:var h=(a=c.charCodeAt(l+1),o=c.charCodeAt(l+2),u=c.charCodeAt(l+3),s=c.charCodeAt(l+4),Ne(a)<<12|Ne(o)<<8|Ne(u)<<4|Ne(s));if(h<0){var m=c.slice(l+1,l+5);throw(0,be.syntaxError)(e,l,"Invalid character escape sequence: \\u".concat(m,"."))}d+=String.fromCharCode(h),l+=4;break;default:throw(0,be.syntaxError)(e,l,"Invalid character escape sequence: \\".concat(String.fromCharCode(f),"."))}p=++l}}throw(0,be.syntaxError)(e,l,"Unterminated string.")}function _e(e,t,n,r,i,a){for(var o=e.body,u=t+3,s=u,c=0,l="";u<o.length&&!isNaN(c=o.charCodeAt(u));){if(34===c&&34===o.charCodeAt(u+1)&&34===o.charCodeAt(u+2))return l+=o.slice(s,u),new De.Token(Ee.TokenKind.BLOCK_STRING,t,u+3,n,r,i,(0,Ce.dedentBlockStringValue)(l));if(c<32&&9!==c&&10!==c&&13!==c)throw(0,be.syntaxError)(e,u,"Invalid character within String: ".concat(Te(c),"."));10===c?(++u,++a.line,a.lineStart=u):13===c?(10===o.charCodeAt(u+1)?u+=2:++u,++a.line,a.lineStart=u):92===c&&34===o.charCodeAt(u+1)&&34===o.charCodeAt(u+2)&&34===o.charCodeAt(u+3)?(l+=o.slice(s,u)+'"""',s=u+=4):++u}throw(0,be.syntaxError)(e,u,"Unterminated string.")}function Ne(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Ie(e,t,n,r,i){for(var a=e.body,o=a.length,u=t+1,s=0;u!==o&&!isNaN(s=a.charCodeAt(u))&&(95===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122);)++u;return new De.Token(Ee.TokenKind.NAME,t,u,n,r,i,a.slice(t,u))}me.Lexer=Ae,Object.defineProperty(P,"__esModule",{value:!0}),P.parse=function(e,t){return new Ue(e,t).parseDocument()},P.parseValue=function(e,t){var n=new Ue(e,t);n.expectToken(Le.TokenKind.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(Le.TokenKind.EOF),r},P.parseType=function(e,t){var n=new Ue(e,t);n.expectToken(Le.TokenKind.SOF);var r=n.parseTypeReference();return n.expectToken(Le.TokenKind.EOF),r},P.Parser=void 0;var je=B,Pe=R,Be=V,Le=Y,Re=Z,Me=de,Ve=me,Ue=function(){function e(e,t){var n=(0,Re.isSource)(e)?e:new Re.Source(e);this._lexer=new Ve.Lexer(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Le.TokenKind.NAME);return{kind:Pe.Kind.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:Pe.Kind.DOCUMENT,definitions:this.many(Le.TokenKind.SOF,this.parseDefinition,Le.TokenKind.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Le.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Le.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Le.TokenKind.BRACE_L))return{kind:Pe.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(Le.TokenKind.NAME)&&(t=this.parseName()),{kind:Pe.Kind.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Le.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Le.TokenKind.PAREN_L,this.parseVariableDefinition,Le.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:Pe.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Le.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Le.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Le.TokenKind.DOLLAR),{kind:Pe.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:Pe.Kind.SELECTION_SET,selections:this.many(Le.TokenKind.BRACE_L,this.parseSelection,Le.TokenKind.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Le.TokenKind.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(Le.TokenKind.COLON)?(e=r,t=this.parseName()):t=r,{kind:Pe.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Le.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Le.TokenKind.PAREN_L,t,Le.TokenKind.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Le.TokenKind.COLON),{kind:Pe.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:Pe.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(Le.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Le.TokenKind.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Le.TokenKind.NAME)?{kind:Pe.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:Pe.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:Pe.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:Pe.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Le.TokenKind.BRACKET_L:return this.parseList(e);case Le.TokenKind.BRACE_L:return this.parseObject(e);case Le.TokenKind.INT:return this._lexer.advance(),{kind:Pe.Kind.INT,value:t.value,loc:this.loc(t)};case Le.TokenKind.FLOAT:return this._lexer.advance(),{kind:Pe.Kind.FLOAT,value:t.value,loc:this.loc(t)};case Le.TokenKind.STRING:case Le.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case Le.TokenKind.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:Pe.Kind.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:Pe.Kind.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:Pe.Kind.NULL,loc:this.loc(t)};default:return{kind:Pe.Kind.ENUM,value:t.value,loc:this.loc(t)}}case Le.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:Pe.Kind.STRING,value:e.value,block:e.kind===Le.TokenKind.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:Pe.Kind.LIST,values:this.any(Le.TokenKind.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Le.TokenKind.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:Pe.Kind.OBJECT,fields:this.any(Le.TokenKind.BRACE_L,(function(){return t.parseObjectField(e)}),Le.TokenKind.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(Le.TokenKind.COLON),{kind:Pe.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Le.TokenKind.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Le.TokenKind.AT),{kind:Pe.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Le.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Le.TokenKind.BRACKET_R),e={kind:Pe.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Le.TokenKind.BANG)?{kind:Pe.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:Pe.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Le.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Le.TokenKind.STRING)||this.peek(Le.TokenKind.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(Le.TokenKind.BRACE_L,this.parseOperationTypeDefinition,Le.TokenKind.BRACE_R);return{kind:Pe.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Le.TokenKind.COLON);var n=this.parseNamedType();return{kind:Pe.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:Pe.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:Pe.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(Le.TokenKind.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(Le.TokenKind.AMP)||this.peek(Le.TokenKind.NAME));return t}return this.delimitedMany(Le.TokenKind.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(Le.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===Le.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Le.TokenKind.BRACE_L,this.parseFieldDefinition,Le.TokenKind.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Le.TokenKind.COLON);var i=this.parseTypeReference(),a=this.parseDirectives(!0);return{kind:Pe.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Le.TokenKind.PAREN_L,this.parseInputValueDef,Le.TokenKind.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Le.TokenKind.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(Le.TokenKind.EQUALS)&&(r=this.parseValueLiteral(!0));var a=this.parseDirectives(!0);return{kind:Pe.Kind.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:a,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:Pe.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:Pe.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(Le.TokenKind.EQUALS)?this.delimitedMany(Le.TokenKind.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:Pe.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Le.TokenKind.BRACE_L,this.parseEnumValueDefinition,Le.TokenKind.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:Pe.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:Pe.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Le.TokenKind.BRACE_L,this.parseInputValueDef,Le.TokenKind.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Le.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(Le.TokenKind.BRACE_L,this.parseOperationTypeDefinition,Le.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:Pe.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:Pe.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:Pe.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:Pe.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Pe.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Pe.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Pe.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Le.TokenKind.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var a=this.parseDirectiveLocations();return{kind:Pe.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(Le.TokenKind.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==Me.DirectiveLocation[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new Be.Location(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,je.syntaxError)(this._lexer.source,t.start,"Expected ".concat(ze(e),", found ").concat(qe(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Le.TokenKind.NAME||t.value!==e)throw(0,je.syntaxError)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(qe(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Le.TokenKind.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return(0,je.syntaxError)(this._lexer.source,t.start,"Unexpected ".concat(qe(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function qe(e){var t=e.value;return ze(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function ze(e){return(0,Ve.isPunctuatorTokenKind)(e)?'"'.concat(e,'"'):e}P.Parser=Ue;var Ge=e,He=t,Ke=n.hasPragma,We=a.locStart,$e=a.locEnd;function Je(e){if(e&&"object"==typeof e)for(var t in delete e.startToken,delete e.endToken,delete e.prev,delete e.next,e)Je(e[t]);return e}var Qe={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0},Ye={parsers:{graphql:{parse:function(e){var t=P.parse,n=He((function(){return t(e,Object.assign({},Qe))}),(function(){return t(e,Object.assign(Object.assign({},Qe),{},{allowLegacySDLImplementsInterfaces:!0}))})),i=n.result,a=n.error;if(!i)throw function(e){if(e instanceof o.GraphQLError){var t=e.message,n=r(e.locations,1)[0];return Ge(t,{start:n})}return e}(a);return i.comments=function(e){for(var t=[],n=e.loc.startToken.next;"<EOF>"!==n.kind;)"Comment"===n.kind&&(Object.assign(n,{column:n.column-1}),t.push(n)),n=n.next;return t}(i),Je(i),i},astFormat:"graphql",hasPragma:Ke,locStart:We,locEnd:$e}}};return Ye}()},1098:function(e,t,n){(function(t){var r=n(12),i=n(1099),a=n(945),o=n(1101),u=n(1102),s=n(1106),c=n(1109),l=n(967),p=n(986),f=n(1110),d=n(948),h=n(1111),m=n(1112);e.exports=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function n(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v={version:"2.5.1"},y={},g={};!function(e){function t(){}function n(e,t,n,r,i){for(var a=0,o=t.length,u=0,s=0;a<o;a++){var c=t[a];if(c.removed){if(c.value=e.join(r.slice(s,s+c.count)),s+=c.count,a&&t[a-1].added){var l=t[a-1];t[a-1]=t[a],t[a]=l}}else{if(!c.added&&i){var p=n.slice(u,u+c.count);p=p.map((function(e,t){var n=r[s+t];return n.length>e.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(u,u+c.count));u+=c.count,c.added||(s+=c.count)}}var f=t[o-1];return o>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[o-2].value+=f.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.callback;"function"==typeof i&&(a=i,i={}),this.options=i;var o=this;function u(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=s+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=s&&d+1>=c)return u([{value:this.join(t),count:t.length}]);function h(){for(var i=-1*l;i<=l;i+=2){var a=void 0,p=f[i-1],d=f[i+1],h=(d?d.newPos:0)-i;p&&(f[i-1]=void 0);var m=p&&p.newPos+1<s,v=d&&0<=h&&h<c;if(m||v){if(!m||v&&p.newPos<d.newPos?(a=r(d),o.pushComponent(a.components,void 0,!0)):((a=p).newPos++,o.pushComponent(a.components,!0,void 0)),h=o.extractCommon(a,t,e,i),a.newPos+1>=s&&h+1>=c)return u(n(o,a.components,t,e,o.useLongestToken));f[i]=a}else f[i]=void 0}l++}if(a)!function e(){setTimeout((function(){if(l>p)return a();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 i=t.length,a=n.length,o=e.newPos,u=o-r,s=0;o+1<i&&u+1<a&&this.equals(t[o+1],n[u+1]);)o++,u++,s++;return s&&e.components.push({count:s}),e.newPos=o,u},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("")}}}(g);var b,D={};Object.defineProperty(D,"__esModule",{value:!0}),D.diffChars=function(e,t,n){return E.diff(e,t,n)},D.characterDiff=void 0;var E=new((b=g)&&b.__esModule?b:{default:b}).default;D.characterDiff=E;var C={},A={};Object.defineProperty(A,"__esModule",{value:!0}),A.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},Object.defineProperty(C,"__esModule",{value:!0}),C.diffWords=function(e,t,n){return n=(0,x.generateOptions)(n,{ignoreWhitespace:!0}),k.diff(e,t,n)},C.diffWordsWithSpace=function(e,t,n){return k.diff(e,t,n)},C.wordDiff=void 0;var T=function(e){return e&&e.__esModule?e:{default:e}}(g),x=A,S=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,w=/\S/,k=new T.default;C.wordDiff=k,k.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!w.test(e)&&!w.test(t)},k.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]&&S.test(t[n])&&S.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var O={};Object.defineProperty(O,"__esModule",{value:!0}),O.diffLines=function(e,t,n){return N.diff(e,t,n)},O.diffTrimmedLines=function(e,t,n){var r=(0,_.generateOptions)(n,{ignoreWhitespace:!0});return N.diff(e,t,r)},O.lineDiff=void 0;var F=function(e){return e&&e.__esModule?e:{default:e}}(g),_=A,N=new F.default;O.lineDiff=N,N.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 i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var I={};Object.defineProperty(I,"__esModule",{value:!0}),I.diffSentences=function(e,t,n){return P.diff(e,t,n)},I.sentenceDiff=void 0;var j=function(e){return e&&e.__esModule?e:{default:e}}(g),P=new j.default;I.sentenceDiff=P,P.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var B={};Object.defineProperty(B,"__esModule",{value:!0}),B.diffCss=function(e,t,n){return R.diff(e,t,n)},B.cssDiff=void 0;var L=function(e){return e&&e.__esModule?e:{default:e}}(g),R=new L.default;B.cssDiff=R,R.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var M=function(e){return e&&e.Math==Math&&e},V=M("object"==typeof globalThis&&globalThis)||M("object"==typeof window&&window)||M("object"==typeof self&&self)||M("object"==typeof e&&e)||function(){return this}()||Function("return this")(),U={},q=function(e){try{return!!e()}catch(e){return!0}},z=!q((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),G=Function.prototype.call,H=G.bind?G.bind(G):function(){return G.apply(G,arguments)},K={},W={}.propertyIsEnumerable,$=Object.getOwnPropertyDescriptor,J=$&&!W.call({1:2},1);K.f=J?function(e){var t=$(this,e);return!!t&&t.enumerable}:W;var Q,Y,X=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Z=Function.prototype,ee=Z.bind,te=Z.call,ne=ee&&ee.bind(te),re=ee?function(e){return e&&ne(te,e)}:function(e){return e&&function(){return te.apply(e,arguments)}},ie=re,ae=ie({}.toString),oe=ie("".slice),ue=function(e){return oe(ae(e),8,-1)},se=re,ce=q,le=ue,pe=V.Object,fe=se("".split),de=ce((function(){return!pe("z").propertyIsEnumerable(0)}))?function(e){return"String"==le(e)?fe(e,""):pe(e)}:pe,he=V.TypeError,me=function(e){if(null==e)throw he("Can't call method on "+e);return e},ve=de,ye=me,ge=function(e){return ve(ye(e))},be=function(e){return"function"==typeof e},De=be,Ee=function(e){return"object"==typeof e?null!==e:De(e)},Ce=V,Ae=be,Te=function(e){return Ae(e)?e:void 0},xe=function(e,t){return arguments.length<2?Te(Ce[e]):Ce[e]&&Ce[e][t]},Se=re({}.isPrototypeOf),we=xe("navigator","userAgent")||"",ke=V,Oe=we,Fe=ke.process,_e=ke.Deno,Ne=Fe&&Fe.versions||_e&&_e.version,Ie=Ne&&Ne.v8;Ie&&(Y=(Q=Ie.split("."))[0]>0&&Q[0]<4?1:+(Q[0]+Q[1])),!Y&&Oe&&(!(Q=Oe.match(/Edge\/(\d+)/))||Q[1]>=74)&&(Q=Oe.match(/Chrome\/(\d+)/))&&(Y=+Q[1]);var je=Y,Pe=je,Be=q,Le=!!Object.getOwnPropertySymbols&&!Be((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41})),Re=Le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Me=xe,Ve=be,Ue=Se,qe=Re,ze=V.Object,Ge=qe?function(e){return"symbol"==typeof e}:function(e){var t=Me("Symbol");return Ve(t)&&Ue(t.prototype,ze(e))},He=V.String,Ke=function(e){try{return He(e)}catch(e){return"Object"}},We=be,$e=Ke,Je=V.TypeError,Qe=function(e){if(We(e))return e;throw Je($e(e)+" is not a function")},Ye=Qe,Xe=function(e,t){var n=e[t];return null==n?void 0:Ye(n)},Ze=H,et=be,tt=Ee,nt=V.TypeError,rt={exports:{}},it=V,at=Object.defineProperty,ot=function(e,t){try{at(it,e,{value:t,configurable:!0,writable:!0})}catch(v){it[e]=t}return t},ut=ot,st="__core-js_shared__",ct=V[st]||ut(st,{}),lt=ct;(rt.exports=function(e,t){return lt[e]||(lt[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var pt=me,ft=V.Object,dt=function(e){return ft(pt(e))},ht=dt,mt=re({}.hasOwnProperty),vt=Object.hasOwn||function(e,t){return mt(ht(e),t)},yt=re,gt=0,bt=Math.random(),Dt=yt(1..toString),Et=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Dt(++gt+bt,36)},Ct=V,At=rt.exports,Tt=vt,xt=Et,St=Le,wt=Re,kt=At("wks"),Ot=Ct.Symbol,Ft=Ot&&Ot.for,_t=wt?Ot:Ot&&Ot.withoutSetter||xt,Nt=function(e){if(!Tt(kt,e)||!St&&"string"!=typeof kt[e]){var t="Symbol."+e;St&&Tt(Ot,e)?kt[e]=Ot[e]:kt[e]=wt&&Ft?Ft(t):_t(t)}return kt[e]},It=H,jt=Ee,Pt=Ge,Bt=Xe,Lt=function(e,t){var n,r;if("string"===t&&et(n=e.toString)&&!tt(r=Ze(n,e)))return r;if(et(n=e.valueOf)&&!tt(r=Ze(n,e)))return r;if("string"!==t&&et(n=e.toString)&&!tt(r=Ze(n,e)))return r;throw nt("Can't convert object to primitive value")},Rt=Nt,Mt=V.TypeError,Vt=Rt("toPrimitive"),Ut=function(e,t){if(!jt(e)||Pt(e))return e;var n,r=Bt(e,Vt);if(r){if(void 0===t&&(t="default"),n=It(r,e,t),!jt(n)||Pt(n))return n;throw Mt("Can't convert object to primitive value")}return void 0===t&&(t="number"),Lt(e,t)},qt=Ge,zt=function(e){var t=Ut(e,"string");return qt(t)?t:t+""},Gt=Ee,Ht=V.document,Kt=Gt(Ht)&&Gt(Ht.createElement),Wt=function(e){return Kt?Ht.createElement(e):{}},$t=Wt,Jt=!z&&!q((function(){return 7!=Object.defineProperty($t("div"),"a",{get:function(){return 7}}).a})),Qt=z,Yt=H,Xt=K,Zt=X,en=ge,tn=zt,nn=vt,rn=Jt,an=Object.getOwnPropertyDescriptor;U.f=Qt?an:function(e,t){if(e=en(e),t=tn(t),rn)try{return an(e,t)}catch(e){}if(nn(e,t))return Zt(!Yt(Xt.f,e,t),e[t])};var on={},un=V,sn=Ee,cn=un.String,ln=un.TypeError,pn=function(e){if(sn(e))return e;throw ln(cn(e)+" is not an object")},fn=z,dn=Jt,hn=pn,mn=zt,vn=V.TypeError,yn=Object.defineProperty;on.f=fn?yn:function(e,t,n){if(hn(e),t=mn(t),hn(n),dn)try{return yn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw vn("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var gn=on,bn=X,Dn=z?function(e,t,n){return gn.f(e,t,bn(1,n))}:function(e,t,n){return e[t]=n,e},En={exports:{}},Cn=be,An=ct,Tn=re(Function.toString);Cn(An.inspectSource)||(An.inspectSource=function(e){return Tn(e)});var xn,Sn,wn,kn=An.inspectSource,On=be,Fn=kn,_n=V.WeakMap,Nn=On(_n)&&/native code/.test(Fn(_n)),In=rt.exports,jn=Et,Pn=In("keys"),Bn=function(e){return Pn[e]||(Pn[e]=jn(e))},Ln={},Rn=Nn,Mn=V,Vn=re,Un=Ee,qn=Dn,zn=vt,Gn=ct,Hn=Bn,Kn=Ln,Wn="Object already initialized",$n=Mn.TypeError,Jn=Mn.WeakMap;if(Rn||Gn.state){var Qn=Gn.state||(Gn.state=new Jn),Yn=Vn(Qn.get),Xn=Vn(Qn.has),Zn=Vn(Qn.set);xn=function(e,t){if(Xn(Qn,e))throw new $n(Wn);return t.facade=e,Zn(Qn,e,t),t},Sn=function(e){return Yn(Qn,e)||{}},wn=function(e){return Xn(Qn,e)}}else{var er=Hn("state");Kn[er]=!0,xn=function(e,t){if(zn(e,er))throw new $n(Wn);return t.facade=e,qn(e,er,t),t},Sn=function(e){return zn(e,er)?e[er]:{}},wn=function(e){return zn(e,er)}}var tr={set:xn,get:Sn,has:wn,enforce:function(e){return wn(e)?Sn(e):xn(e,{})},getterFor:function(e){return function(t){var n;if(!Un(t)||(n=Sn(t)).type!==e)throw $n("Incompatible receiver, "+e+" required");return n}}},nr=z,rr=vt,ir=Function.prototype,ar=nr&&Object.getOwnPropertyDescriptor,or=rr(ir,"name"),ur=or&&"something"===function(){}.name,sr=or&&(!nr||nr&&ar(ir,"name").configurable),cr=V,lr=be,pr=vt,fr=Dn,dr=ot,hr=kn,mr={EXISTS:or,PROPER:ur,CONFIGURABLE:sr}.CONFIGURABLE,vr=tr.get,yr=tr.enforce,gr=String(String).split("String");(En.exports=function(e,t,n,r){var i,a=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet,s=r&&void 0!==r.name?r.name:t;lr(n)&&("Symbol("===String(s).slice(0,7)&&(s="["+String(s).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pr(n,"name")||mr&&n.name!==s)&&fr(n,"name",s),(i=yr(n)).source||(i.source=gr.join("string"==typeof s?s:""))),e!==cr?(a?!u&&e[t]&&(o=!0):delete e[t],o?e[t]=n:fr(e,t,n)):o?e[t]=n:dr(t,n)})(Function.prototype,"toString",(function(){return lr(this)&&vr(this).source||hr(this)}));var br={},Dr=Math.ceil,Er=Math.floor,Cr=function(e){var t=+e;return t!=t||0===t?0:(t>0?Er:Dr)(t)},Ar=Cr,Tr=Math.max,xr=Math.min,Sr=Cr,wr=Math.min,kr=function(e){return e>0?wr(Sr(e),9007199254740991):0},Or=function(e){return kr(e.length)},Fr=ge,_r=function(e,t){var n=Ar(e);return n<0?Tr(n+t,0):xr(n,t)},Nr=Or,Ir=function(e){return function(t,n,r){var i,a=Fr(t),o=Nr(a),u=_r(r,o);if(e&&n!=n){for(;o>u;)if((i=a[u++])!=i)return!0}else for(;o>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}},jr={includes:Ir(!0),indexOf:Ir(!1)},Pr=vt,Br=ge,Lr=jr.indexOf,Rr=Ln,Mr=re([].push),Vr=function(e,t){var n,r=Br(e),i=0,a=[];for(n in r)!Pr(Rr,n)&&Pr(r,n)&&Mr(a,n);for(;t.length>i;)Pr(r,n=t[i++])&&(~Lr(a,n)||Mr(a,n));return a},Ur=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qr=Vr,zr=Ur.concat("length","prototype");br.f=Object.getOwnPropertyNames||function(e){return qr(e,zr)};var Gr={};Gr.f=Object.getOwnPropertySymbols;var Hr=xe,Kr=br,Wr=Gr,$r=pn,Jr=re([].concat),Qr=Hr("Reflect","ownKeys")||function(e){var t=Kr.f($r(e)),n=Wr.f;return n?Jr(t,n(e)):t},Yr=vt,Xr=Qr,Zr=U,ei=on,ti=q,ni=be,ri=/#|\.prototype\./,ii=function(e,t){var n=oi[ai(e)];return n==si||n!=ui&&(ni(t)?ti(t):!!t)},ai=ii.normalize=function(e){return String(e).replace(ri,".").toLowerCase()},oi=ii.data={},ui=ii.NATIVE="N",si=ii.POLYFILL="P",ci=ii,li=V,pi=U.f,fi=Dn,di=En.exports,hi=ot,mi=function(e,t){for(var n=Xr(t),r=ei.f,i=Zr.f,a=0;a<n.length;a++){var o=n[a];Yr(e,o)||r(e,o,i(t,o))}},vi=ci,yi=function(e,t){var n,r,i,a,o,u=e.target,s=e.global,c=e.stat;if(n=s?li:c?li[u]||hi(u,{}):(li[u]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=pi(n,r))&&o.value:n[r],!vi(s?r:u+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;mi(a,i)}(e.sham||i&&i.sham)&&fi(a,"sham",!0),di(n,r,a,e)}},gi={};gi[Nt("toStringTag")]="z";var bi=V,Di="[object z]"===String(gi),Ei=be,Ci=ue,Ai=Nt("toStringTag"),Ti=bi.Object,xi="Arguments"==Ci(function(){return arguments}()),Si=Di?Ci:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Ti(e),Ai))?n:xi?Ci(t):"Object"==(r=Ci(t))&&Ei(t.callee)?"Arguments":r},wi=Si,ki=V.String,Oi=re([].slice),Fi=Math.floor,_i=function e(t,n){var r=t.length,i=Fi(r/2);return r<8?Ni(t,n):Ii(t,e(Oi(t,0,i),n),e(Oi(t,i),n),n)},Ni=function(e,t){for(var n,r,i=e.length,a=1;a<i;){for(r=a,n=e[a];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},Ii=function(e,t,n,r){for(var i=t.length,a=n.length,o=0,u=0;o<i||u<a;)e[o+u]=o<i&&u<a?r(t[o],n[u])<=0?t[o++]:n[u++]:o<i?t[o++]:n[u++];return e},ji=_i,Pi=q,Bi=we.match(/firefox\/(\d+)/i),Li=!!Bi&&+Bi[1],Ri=/MSIE|Trident/.test(we),Mi=we.match(/AppleWebKit\/(\d+)\./),Vi=!!Mi&&+Mi[1],Ui=yi,qi=re,zi=Qe,Gi=dt,Hi=Or,Ki=function(e){if("Symbol"===wi(e))throw TypeError("Cannot convert a Symbol value to a string");return ki(e)},Wi=q,$i=ji,Ji=function(e,t){var n=[][e];return!!n&&Pi((function(){n.call(null,t||function(){throw 1},1)}))},Qi=Li,Yi=Ri,Xi=je,Zi=Vi,ea=[],ta=qi(ea.sort),na=qi(ea.push),ra=Wi((function(){ea.sort(void 0)})),ia=Wi((function(){ea.sort(null)})),aa=Ji("sort"),oa=!Wi((function(){if(Xi)return Xi<70;if(!(Qi&&Qi>3)){if(Yi)return!0;if(Zi)return Zi<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)ea.push({k:t+r,v:n})}for(ea.sort((function(e,t){return t.v-e.v})),r=0;r<ea.length;r++)t=ea[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));Ui({target:"Array",proto:!0,forced:ra||!ia||!aa||!oa},{sort:function(e){void 0!==e&&zi(e);var t=Gi(this);if(oa)return void 0===e?ta(t):ta(t,e);var n,r,i=[],a=Hi(t);for(r=0;r<a;r++)r in t&&na(i,t[r]);for($i(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:Ki(t)>Ki(n)?1:-1}}(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<a;)delete t[r++];return t}});var ua={};Object.defineProperty(ua,"__esModule",{value:!0}),ua.diffJson=function(e,t,n){return fa.diff(e,t,n)},ua.canonicalize=da,ua.jsonDiff=void 0;var sa=function(e){return e&&e.__esModule?e:{default:e}}(g),ca=O;function la(e){return la="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},la(e)}var pa=Object.prototype.toString,fa=new sa.default;function da(e,t,n,r,i){var a,o;for(t=t||[],n=n||[],r&&(e=r(i,e)),a=0;a<t.length;a+=1)if(t[a]===e)return n[a];if("[object Array]"===pa.call(e)){for(t.push(e),o=new Array(e.length),n.push(o),a=0;a<e.length;a+=1)o[a]=da(e[a],t,n,r,i);return t.pop(),n.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),"object"===la(e)&&null!==e){t.push(e),o={},n.push(o);var u,s=[];for(u in e)e.hasOwnProperty(u)&&s.push(u);for(s.sort(),a=0;a<s.length;a+=1)o[u=s[a]]=da(e[u],t,n,r,u);t.pop(),n.pop()}else o=e;return o}ua.jsonDiff=fa,fa.useLongestToken=!0,fa.tokenize=ca.lineDiff.tokenize,fa.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(da(e,null,null,i),i," ")},fa.equals=function(e,t){return sa.default.prototype.equals.call(fa,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var ha={};Object.defineProperty(ha,"__esModule",{value:!0}),ha.diffArrays=function(e,t,n){return va.diff(e,t,n)},ha.arrayDiff=void 0;var ma=function(e){return e&&e.__esModule?e:{default:e}}(g),va=new ma.default;ha.arrayDiff=va,va.tokenize=function(e){return e.slice()},va.join=va.removeEmpty=function(e){return e};var ya={},ga={};Object.defineProperty(ga,"__esModule",{value:!0}),ga.parsePatch=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)||[],i=[],a=0;function o(){var e={};for(i.push(e);a<n.length;){var r=n[a];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var o=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);o&&(e.index=o[1]),a++}for(u(e),u(e),e.hunks=[];a<n.length;){var c=n[a];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(s());else{if(c&&t.strict)throw new Error("Unknown line "+(a+1)+" "+JSON.stringify(c));a++}}}function u(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[a]);if(t){var r="---"===t[1]?"old":"new",i=t[2].split("\t",2),o=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(o)&&(o=o.substr(1,o.length-2)),e[r+"FileName"]=o,e[r+"Header"]=(i[1]||"").trim(),a++}}function s(){var e=a,i=n[a++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),o={oldStart:+i[1],oldLines:void 0===i[2]?1:+i[2],newStart:+i[3],newLines:void 0===i[4]?1:+i[4],lines:[],linedelimiters:[]};0===o.oldLines&&(o.oldStart+=1),0===o.newLines&&(o.newStart+=1);for(var u=0,s=0;a<n.length&&!(0===n[a].indexOf("--- ")&&a+2<n.length&&0===n[a+1].indexOf("+++ ")&&0===n[a+2].indexOf("@@"));a++){var c=0==n[a].length&&a!=n.length-1?" ":n[a][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;o.lines.push(n[a]),o.linedelimiters.push(r[a]||"\n"),"+"===c?u++:"-"===c?s++:" "===c&&(u++,s++)}if(u||1!==o.newLines||(o.newLines=0),s||1!==o.oldLines||(o.oldLines=0),t.strict){if(u!==o.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(s!==o.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return o}for(;a<n.length;)o();return i};var ba={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t,n){var r=!0,i=!1,a=!1,o=1;return function u(){if(r&&!a){if(i?o++:r=!1,e+o<=n)return o;a=!0}if(!i)return a||(r=!0),t<=e-o?-o++:(i=!0,u())}}}(ba),Object.defineProperty(ya,"__esModule",{value:!0}),ya.applyPatch=Ca,ya.applyPatches=function(e,t){"string"==typeof e&&(e=(0,Da.parsePatch)(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var a=Ca(n,i,t);t.patched(i,a,(function(e){if(e)return t.complete(e);r()}))}))}()};var Da=ga,Ea=function(e){return e&&e.__esModule?e:{default:e}}(ba);function Ca(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,Da.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,a=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=t.hunks,s=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],i=r.length>0?r[0]:" ",o=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!s(t+1,a[t],i,o)&&++c>l)return!1;t++}}return!0}for(var h=0;h<u.length;h++){for(var m=u[h],v=a.length-m.oldLines,y=0,g=f+m.oldStart-1,b=(0,Ea.default)(g,p,v);void 0!==y;y=b())if(d(m,g+y)){m.offset=f+=y;break}if(void 0===y)return!1;p=m.offset+m.oldStart+m.oldLines}for(var D=0,E=0;E<u.length;E++){var C=u[E],A=C.oldStart+C.offset+D-1;D+=C.newLines-C.oldLines;for(var T=0;T<C.lines.length;T++){var x=C.lines[T],S=x.length>0?x[0]:" ",w=x.length>0?x.substr(1):x,k=C.linedelimiters[T];if(" "===S)A++;else if("-"===S)a.splice(A,1),o.splice(A,1);else if("+"===S)a.splice(A,0,w),o.splice(A,0,k),A++;else if("\\"===S){var O=C.lines[T-1]?C.lines[T-1][0]:null;"+"===O?r=!0:"-"===O&&(i=!0)}}}if(r)for(;!a[a.length-1];)a.pop(),o.pop();else i&&(a.push(""),o.push("\n"));for(var F=0;F<a.length-1;F++)a[F]=a[F]+o[F];return a.join("")}var Aa={},Ta={};Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.structuredPatch=ka,Ta.formatPatch=Oa,Ta.createTwoFilesPatch=Fa,Ta.createPatch=function(e,t,n,r,i,a){return Fa(e,e,t,n,r,i,a)};var xa=O;function Sa(e){return function(e){if(Array.isArray(e))return wa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wa(e,t):void 0}}(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 wa(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 ka(e,t,n,r,i,a,o){o||(o={}),void 0===o.context&&(o.context=4);var u=(0,xa.diffLines)(n,r,o);function s(e){return e.map((function(e){return" "+e}))}u.push({value:"",lines:[]});for(var c=[],l=0,p=0,f=[],d=1,h=1,m=function(e){var t=u[e],i=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=i,t.added||t.removed){var a;if(!l){var m=u[e-1];l=d,p=h,m&&(f=o.context>0?s(m.lines.slice(-o.context)):[],l-=f.length,p-=f.length)}(a=f).push.apply(a,Sa(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=i.length:d+=i.length}else{if(l)if(i.length<=2*o.context&&e<u.length-2){var v;(v=f).push.apply(v,Sa(s(i)))}else{var y,g=Math.min(i.length,o.context);(y=f).push.apply(y,Sa(s(i.slice(0,g))));var b={oldStart:l,oldLines:d-l+g,newStart:p,newLines:h-p+g,lines:f};if(e>=u.length-2&&i.length<=o.context){var D=/\n$/.test(n),E=/\n$/.test(r),C=0==i.length&&f.length>b.oldLines;!D&&C&&n.length>0&&f.splice(b.oldLines,0,"\"),(D||C)&&E||f.push("\")}c.push(b),l=0,p=0,f=[]}d+=i.length,h+=i.length}},v=0;v<u.length;v++)m(v);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:a,hunks:c}}function Oa(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 Fa(e,t,n,r,i,a,o){return Oa(ka(e,t,n,r,i,a,o))}var _a={};function Na(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}Object.defineProperty(_a,"__esModule",{value:!0}),_a.arrayEqual=function(e,t){return e.length===t.length&&Na(e,t)},_a.arrayStartsWith=Na,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.calcLineCount=Ra,Aa.merge=function(e,t,n){e=Ma(e,n),t=Ma(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(Va(e)?Va(t)?(r.oldFileName=Ua(r,e.oldFileName,t.oldFileName),r.newFileName=Ua(r,e.newFileName,t.newFileName),r.oldHeader=Ua(r,e.oldHeader,t.oldHeader),r.newHeader=Ua(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=[];for(var i=0,a=0,o=0,u=0;i<e.hunks.length||a<t.hunks.length;){var s=e.hunks[i]||{oldStart:1/0},c=t.hunks[a]||{oldStart:1/0};if(qa(s,c))r.hunks.push(za(s,o)),i++,u+=s.newLines-s.oldLines;else if(qa(c,s))r.hunks.push(za(c,u)),a++,o+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(s.oldStart,c.oldStart),oldLines:0,newStart:Math.min(s.newStart+o,c.oldStart+u),newLines:0,lines:[]};Ga(l,s.oldStart,s.lines,c.oldStart,c.lines),a++,i++,r.hunks.push(l)}}return r};var Ia=Ta,ja=ga,Pa=_a;function Ba(e){return function(e){if(Array.isArray(e))return La(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return La(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?La(e,t):void 0}}(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 La(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 Ra(e){var t=Za(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 Ma(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,ja.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,Ia.structuredPatch)(void 0,void 0,t,e)}return e}function Va(e){return e.newFileName&&e.newFileName!==e.oldFileName}function Ua(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function qa(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function za(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function Ga(e,t,n,r,i){var a={offset:t,lines:n,index:0},o={offset:r,lines:i,index:0};for($a(e,a,o),$a(e,o,a);a.index<a.lines.length&&o.index<o.lines.length;){var u,s=a.lines[a.index],c=o.lines[o.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==c[0]&&"+"!==c[0])if("+"===s[0]&&" "===c[0])(u=e.lines).push.apply(u,Ba(Qa(a)));else if("+"===c[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,Ba(Qa(o)))}else"-"===s[0]&&" "===c[0]?Ka(e,a,o):"-"===c[0]&&" "===s[0]?Ka(e,o,a,!0):s===c?(e.lines.push(s),a.index++,o.index++):Wa(e,Qa(a),Qa(o));else Ha(e,a,o)}Ja(e,a),Ja(e,o),Ra(e)}function Ha(e,t,n){var r=Qa(t),i=Qa(n);if(Ya(r)&&Ya(i)){var a,o;if((0,Pa.arrayStartsWith)(r,i)&&Xa(n,r,r.length-i.length))return void(a=e.lines).push.apply(a,Ba(r));if((0,Pa.arrayStartsWith)(i,r)&&Xa(t,i,i.length-r.length))return void(o=e.lines).push.apply(o,Ba(i))}else if((0,Pa.arrayEqual)(r,i)){var u;return void(u=e.lines).push.apply(u,Ba(r))}Wa(e,r,i)}function Ka(e,t,n,r){var i,a=Qa(t),o=function(e,t){for(var n=[],r=[],i=0,a=!1,o=!1;i<t.length&&e.index<e.lines.length;){var u=e.lines[e.index],s=t[i];if("+"===s[0])break;if(a=a||" "!==u[0],r.push(s),i++,"+"===u[0])for(o=!0;"+"===u[0];)n.push(u),u=e.lines[++e.index];s.substr(1)===u.substr(1)?(n.push(u),e.index++):o=!0}if("+"===(t[i]||"")[0]&&a&&(o=!0),o)return n;for(;i<t.length;)r.push(t[i++]);return{merged:r,changes:n}}(n,a);o.merged?(i=e.lines).push.apply(i,Ba(o.merged)):Wa(e,r?o:a,r?a:o)}function Wa(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function $a(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 Ja(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function Qa(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 Ya(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function Xa(e,t,n){for(var r=0;r<n;r++){var i=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+i)return!1}return e.index+=n,!0}function Za(e){var t=0,n=0;return e.forEach((function(e){if("string"!=typeof e){var r=Za(e.mine),i=Za(e.theirs);void 0!==t&&(r.oldLines===i.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===i.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 eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.convertChangesToDMP=function(e){for(var t,n,r=[],i=0;i<e.length;i++)n=(t=e[i]).added?1:t.removed?-1:0,r.push([n,t.value]);return r};var to={};function no(e){var t=e;return(t=(t=(t=t.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}function ro(e){return{type:"concat",parts:e}}function io(e){return{type:"indent",contents:e}}function ao(e,t){return{type:"align",contents:t,n:e}}function oo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}Object.defineProperty(to,"__esModule",{value:!0}),to.convertChangesToXML=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(no(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:function(){return n.diffChars}}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:function(){return r.diffWords}}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:function(){return r.diffWordsWithSpace}}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:function(){return i.diffLines}}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:function(){return i.diffTrimmedLines}}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:function(){return a.diffSentences}}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:function(){return o.diffCss}}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:function(){return u.diffJson}}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:function(){return u.canonicalize}}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:function(){return s.diffArrays}}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:function(){return c.applyPatch}}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:function(){return c.applyPatches}}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:function(){return l.parsePatch}}),Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return p.merge}}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:function(){return f.structuredPatch}}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:function(){return f.createTwoFilesPatch}}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:function(){return f.createPatch}}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:function(){return d.convertChangesToDMP}}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:function(){return h.convertChangesToXML}});var t=function(e){return e&&e.__esModule?e:{default:e}}(g),n=D,r=C,i=O,a=I,o=B,u=ua,s=ha,c=ya,l=ga,p=Aa,f=Ta,d=eo,h=to}(y);var uo={type:"break-parent"},so={type:"line",hard:!0},co={type:"line",hard:!0,literal:!0},lo=ro([so,uo]),po=ro([co,uo]),fo={concat:ro,join:function(e,t){for(var n=[],r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return ro(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:lo,literalline:po,group:oo,conditionalGroup:function(e,t){return oo(e[0],Object.assign(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:uo,ifBreak:function(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:io,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:ao,addAlignmentToDoc:function(e,t,n){var r=e;if(t>0){for(var i=0;i<Math.floor(t/n);++i)r=io(r);r=ao(t%n,r),r=ao(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return ao({type:"root"},e)},dedentToRoot:function(e){return ao(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return ao(-1,e)},hardlineWithoutBreakParent:so,literallineWithoutBreakParent:co,label:function(e,t){return{type:"label",label:e,contents:t}}},ho={exports:{}},mo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,t=void 0!==e&&e,n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,t?void 0:"g")},vo={exports:{}},yo=function(e){return!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)};vo.exports=yo,vo.exports.default=yo;var go=function(e){return"string"==typeof e?e.replace(mo(),""):e},bo=vo.exports,Do=function(){return/\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},Eo=function(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=go(e)).length)return 0;e=e.replace(Do()," ");for(var t=0,n=0;n<e.length;n++){var r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=bo(r)?2:1)}return t};ho.exports=Eo,ho.exports.default=Eo;var Co=function(e){return e[e.length-1]};function Ao(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function To(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xo=ue,So=Array.isArray||function(e){return"Array"==xo(e)},wo=Qe,ko=re(re.bind),Oo=function(e,t){return wo(e),void 0===t?e:ko?ko(e,t):function(){return e.apply(t,arguments)}},Fo=So,_o=Or,No=Oo,Io=V.TypeError,jo=function e(t,n,r,i,a,o,u,s){for(var c,l=a,p=0,f=!!u&&No(u,s);p<i;){if(p in r){if(c=f?f(r[p],p,n):r[p],o>0&&Fo(c))l=e(t,n,c,_o(c),l,o-1)-1;else{if(l>=9007199254740991)throw Io("Exceed the acceptable array length");t[l]=c}l++}p++}return l},Po=jo,Bo=re,Lo=q,Ro=be,Mo=Si,Vo=kn,Uo=function(){},qo=[],zo=xe("Reflect","construct"),Go=/^\s*(?:class|function)\b/,Ho=Bo(Go.exec),Ko=!Go.exec(Uo),Wo=function(e){if(!Ro(e))return!1;try{return zo(Uo,qo,e),!0}catch(e){return!1}},$o=!zo||Lo((function(){var e;return Wo(Wo.call)||!Wo(Object)||!Wo((function(){e=!0}))||e}))?function(e){if(!Ro(e))return!1;switch(Mo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ko||!!Ho(Go,Vo(e))}:Wo,Jo=V,Qo=So,Yo=$o,Xo=Ee,Zo=Nt("species"),eu=Jo.Array,tu=function(e){var t;return Qo(e)&&(t=e.constructor,(Yo(t)&&(t===eu||Qo(t.prototype))||Xo(t)&&null===(t=t[Zo]))&&(t=void 0)),void 0===t?eu:t},nu=function(e,t){return new(tu(e))(0===t?0:t)},ru=Po,iu=Qe,au=dt,ou=Or,uu=nu;yi({target:"Array",proto:!0},{flatMap:function(e){var t,n=au(this),r=ou(n);return iu(e),(t=uu(n,0)).length=ru(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var su={},cu=su,lu=Nt("iterator"),pu=Array.prototype,fu=Si,du=Xe,hu=su,mu=Nt("iterator"),vu=function(e){if(null!=e)return du(e,mu)||du(e,"@@iterator")||hu[fu(e)]},yu=H,gu=Qe,bu=pn,Du=Ke,Eu=vu,Cu=V.TypeError,Au=H,Tu=pn,xu=Xe,Su=Oo,wu=H,ku=pn,Ou=Ke,Fu=function(e){return void 0!==e&&(cu.Array===e||pu[lu]===e)},_u=Or,Nu=Se,Iu=function(e,t){var n=arguments.length<2?Eu(e):t;if(gu(n))return bu(yu(n,e));throw Cu(Du(e)+" is not iterable")},ju=vu,Pu=function(e,t,n){var r,i;Tu(e);try{if(!(r=xu(e,"return"))){if("throw"===t)throw n;return n}r=Au(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return Tu(r),n},Bu=V.TypeError,Lu=function(e,t){this.stopped=e,this.result=t},Ru=Lu.prototype,Mu=zt,Vu=on,Uu=X,qu=function(e,t,n){var r,i,a,o,u,s,c,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),h=Su(t,l),m=function(e){return r&&Pu(r,"normal",e),new Lu(!0,e)},v=function(e){return p?(ku(e),d?h(e[0],e[1],m):h(e[0],e[1])):d?h(e,m):h(e)};if(f)r=e;else{if(!(i=ju(e)))throw Bu(Ou(e)+" is not iterable");if(Fu(i)){for(a=0,o=_u(e);o>a;a++)if((u=v(e[a]))&&Nu(Ru,u))return u;return new Lu(!1)}r=Iu(e,i)}for(s=r.next;!(c=wu(s,r)).done;){try{u=v(c.value)}catch(e){Pu(r,"throw",e)}if("object"==typeof u&&u&&Nu(Ru,u))return u}return new Lu(!1)},zu=function(e,t,n){var r=Mu(t);r in e?Vu.f(e,r,Uu(0,n)):e[r]=n};yi({target:"Object",stat:!0},{fromEntries:function(e){var t={};return qu(e,(function(e,n){zu(t,e,n)}),{AS_ENTRIES:!0}),t}});var Gu=void 0!==Gu?Gu:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Hu(){throw new Error("setTimeout has not been defined")}function Ku(){throw new Error("clearTimeout has not been defined")}var Wu=Hu,$u=Ku;function Ju(e){if(Wu===setTimeout)return setTimeout(e,0);if((Wu===Hu||!Wu)&&setTimeout)return Wu=setTimeout,setTimeout(e,0);try{return Wu(e,0)}catch(n){try{return Wu.call(null,e,0)}catch(n){return Wu.call(this,e,0)}}}"function"==typeof Gu.setTimeout&&(Wu=setTimeout),"function"==typeof Gu.clearTimeout&&($u=clearTimeout);var Qu,Yu=[],Xu=!1,Zu=-1;function es(){Xu&&Qu&&(Xu=!1,Qu.length?Yu=Qu.concat(Yu):Zu=-1,Yu.length&&ts())}function ts(){if(!Xu){var e=Ju(es);Xu=!0;for(var t=Yu.length;t;){for(Qu=Yu,Yu=[];++Zu<t;)Qu&&Qu[Zu].run();Zu=-1,t=Yu.length}Qu=null,Xu=!1,function(e){if($u===clearTimeout)return clearTimeout(e);if(($u===Ku||!$u)&&clearTimeout)return $u=clearTimeout,clearTimeout(e);try{$u(e)}catch(t){try{return $u.call(null,e)}catch(t){return $u.call(this,e)}}}(e)}}function ns(e,t){this.fun=e,this.array=t}function rs(){}ns.prototype.run=function(){this.fun.apply(null,this.array)};var is=rs,as=rs,os=rs,us=rs,ss=rs,cs=rs,ls=rs,ps=Gu.performance||{},fs=ps.now||ps.mozNow||ps.msNow||ps.oNow||ps.webkitNow||function(){return(new Date).getTime()},ds=new Date,hs={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];Yu.push(new ns(e,t)),1!==Yu.length||Xu||Ju(ts)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:is,addListener:as,once:os,off:us,removeListener:ss,removeAllListeners:cs,emit:ls,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*fs.call(ps),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-ds)/1e3}},ms=hs,vs="object"==typeof ms&&ms.env&&ms.env.NODE_DEBUG&&/\bsemver\b/i.test(ms.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).error.apply(e,["SEMVER"].concat(n))}:function(){},ys=vs,gs={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},bs={exports:{}};!function(e,t){var n=gs.MAX_SAFE_COMPONENT_LENGTH,r=ys,i=(t=e.exports={}).re=[],a=t.src=[],o=t.t={},u=0,s=function(e,t,n){var s=u++;r(s,t),o[e]=s,a[s]=t,i[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(a[o.NUMERICIDENTIFIER],")\\.")+"(".concat(a[o.NUMERICIDENTIFIER],")\\.")+"(".concat(a[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(a[o.NUMERICIDENTIFIER],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[o.NUMERICIDENTIFIERLOOSE],"|").concat(a[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(a[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(a[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(a[o.BUILDIDENTIFIER],"(?:\\.").concat(a[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(a[o.MAINVERSION]).concat(a[o.PRERELEASE],"?").concat(a[o.BUILD],"?")),s("FULL","^".concat(a[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(a[o.MAINVERSIONLOOSE]).concat(a[o.PRERELEASELOOSE],"?").concat(a[o.BUILD],"?")),s("LOOSE","^".concat(a[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[o.XRANGEIDENTIFIER],")")+"(?:".concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",a[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(a[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(a[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(bs,bs.exports);var Ds,Es,Cs,As,Ts,xs,Ss=["includePrerelease","loose","rtl"],ws=function(e){return e?"object"!=typeof e?{loose:!0}:Ss.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},ks=/^[0-9]+$/,Os=function(e,t){var n=ks.test(e),r=ks.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},Fs={compareIdentifiers:Os,rcompareIdentifiers:function(e,t){return Os(t,e)}},_s=ys,Ns=gs.MAX_LENGTH,Is=gs.MAX_SAFE_INTEGER,js=bs.exports,Ps=js.re,Bs=js.t,Ls=ws,Rs=Fs.compareIdentifiers,Ms=function(){function e(t,n){if(h(this,e),n=Ls(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>Ns)throw new TypeError("version is longer than ".concat(Ns," characters"));_s("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?Ps[Bs.LOOSE]:Ps[Bs.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Is||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Is||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Is||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<Is)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return m(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(_s("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),Rs(this.major,t.major)||Rs(this.minor,t.minor)||Rs(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],i=t.prerelease[n];if(_s("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Rs(r,i)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],i=t.build[n];if(_s("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Rs(r,i)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}(),Vs=Ms,Us=function(e,t,n){return new Vs(e,n).compare(new Vs(t,n))},qs=Us,zs=function(e,t,n){return qs(e,t,n)<0},Gs=Us,Hs=function(e,t,n){return Gs(e,t,n)>=0},Ks={exports:{}};!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 i=Object.prototype.hasOwnProperty,a=function(e,t){return i.call(e,t)};function o(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return e}var u=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\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,i=e[0].match(l);i&&(r=i[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var o=n.newline,c=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof o,d=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&c&&(e=e.replace(u,"")),t===d-1&&p&&(e=e.replace(s,"")),f&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function d(e,t){for(var n="",r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}function h(e){return a(e,"raw")&&a(e,"length")}var m=function e(t){var n=r(),i=r(),a=o((function r(a){for(var u=[],s=1;s<arguments.length;s++)u[s-1]=arguments[s];if(h(a)){var l=a,v=(u[0]===r||u[0]===m)&&p.test(l[0])&&c.test(l[1]),y=v?i:n,g=y.get(l);return g||(g=f(l,v,t),y.set(l,g)),0===u.length?g[0]:d(g,v?u.slice(1):u)}return e(o(o({},t),a||{}))}),{string:function(e){return f([e],!1,t)[0]}});return a}({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){}}(Ks,Ks.exports);var Ws=Ks.exports.outdent,$s="Config",Js="Editor",Qs="Other",Ys="Global",Xs="Special",Zs={cursorOffset:{since:"1.4.0",category:Xs,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ws(Ds||(Ds=To(["\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:Js},endOfLine:{since:"1.15.0",category:Ys,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:Ws(Es||(Es=To(["\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:Xs,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Qs,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Xs,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Qs},parser:{since:"0.0.10",category:Ys,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return"string"==typeof e||"function"==typeof e},choices:[{value:"flow",description:"Flow"},{value:"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:Ys,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return"string"==typeof e||"object"==typeof e},cliName:"plugin",cliCategory:$s},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ys,description:Ws(Cs||(Cs=To(["\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:function(e){return"string"==typeof e||"object"==typeof e},cliName:"plugin-search-dir",cliCategory:$s},printWidth:{since:"0.0.0",category:Ys,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:Xs,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ws(As||(As=To(["\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:Js},rangeStart:{since:"1.4.0",category:Xs,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ws(Ts||(Ts=To(["\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:Js},requirePragma:{since:"1.7.0",category:Xs,type:"boolean",default:!1,description:Ws(xs||(xs=To(["\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:Qs},tabWidth:{type:"int",category:Ys,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ys,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ys,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."}]}},ec=["cliName","cliCategory","cliDescription"],tc={compare:Us,lt:zs,gte:Hs},nc=function(e,t){return Object.entries(e).map((function(e){var n=d(e,2),r=n[0],i=n[1];return Object.assign(f({},t,r),i)}))},rc=v.version,ic={CATEGORY_CONFIG:$s,CATEGORY_EDITOR:Js,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:Qs,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:Ys,CATEGORY_SPECIAL:Xs,options:Zs}.options;function ac(e,t,n){var r,i=new Set(e.choices.map((function(e){return e.value}))),a=p(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.parsers){var u,s=p(o.parsers);try{var c=function(){var t=u.value;if(!i.has(t)){i.add(t);var r=n.find((function(e){return e.parsers&&e.parsers[t]})),a=o.name;r&&r.name&&(a+=" (plugin: ".concat(r.name,")")),e.choices.push({value:t,description:a})}};for(s.s();!(u=s.n()).done;)c()}catch(l){s.e(l)}finally{s.f()}}}}catch(l){a.e(l)}finally{a.f()}}var oc={getSupportInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,n=void 0===t?[]:t,r=e.showUnreleased,i=void 0!==r&&r,a=e.showDeprecated,o=void 0!==a&&a,u=e.showInternal,s=void 0!==u&&u,c=rc.split("-",1)[0],p=n.flatMap((function(e){return e.languages||[]})).filter(d),f=nc(Object.assign.apply(Object,[{}].concat(l(n.map((function(e){return e.options}))),[ic])),"name").filter((function(e){return d(e)&&h(e)})).sort((function(e,t){return e.name===t.name?0:e.name<t.name?-1:1})).map(m).map((function(e){e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(d).sort((function(e,t){return tc.compare(t.since,e.since)}))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((function(e){return d(e)&&h(e)})),"parser"===e.name&&ac(e,p,n));var t=Object.fromEntries(n.filter((function(t){return t.defaultOptions&&void 0!==t.defaultOptions[e.name]})).map((function(t){return[t.name,t.defaultOptions[e.name]]})));return Object.assign(Object.assign({},e),{},{pluginDefaults:t})}));return{languages:p,options:f};function d(e){return i||!("since"in e)||e.since&&tc.gte(c,e.since)}function h(e){return o||!("deprecated"in e)||e.deprecated&&tc.lt(c,e.deprecated)}function m(e){return s?e:Ao(e,ec)}}},uc=ho.exports,sc=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},cc=Co,lc=oc.getSupportInfo,pc=/[^\x20-\x7F]/;function fc(e){return function(t,n,r){var i=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,o=n;o>=0&&o<a;){var u=t.charAt(o);if(e instanceof RegExp){if(!e.test(u))return o}else if(!e.includes(u))return o;i?o--:o++}return(-1===o||o===a)&&o}}var dc=fc(/\s/),hc=fc(" \t"),mc=fc(",; \t"),vc=fc(/[^\n\r]/);function yc(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(var n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function gc(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?vc(e,t):t)}function bc(e,t,n){var r=n&&n.backwards;if(!1===t)return!1;var i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}function Dc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=hc(e,n.backwards?t-1:t,n);return r!==bc(e,r,n)}function Ec(e,t){for(var n=null,r=t;r!==n;)n=r,r=yc(e,r=mc(e,r)),r=hc(e,r);return!1!==(r=bc(e,r=gc(e,r)))&&Dc(e,r)}function Cc(e,t){for(var n=null,r=t;r!==n;)n=r,r=bc(e,r=gc(e,r=yc(e,r=hc(e,r))));return r}function Ac(e,t,n){return Cc(e,n(t))}function Tc(e,t){for(var n=0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?n=n+t-n%t:n++;return n}function xc(e,t){var n={quote:'"',regex:/"/g,escaped:"""},r={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?r:n,a=i===r?n:r,o=i;return(e.includes(i.quote)||e.includes(a.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(a.regex)||[]).length?a:i),o}function Sc(e,t,n){var r='"'===t?"'":'"',i=e.replace(/\\([\s\S])|(["'])/g,(function(e,i,a){return i===r?i:a===t?"\\"+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)}));return t+i+t}function wc(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",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||"");return n.length>20&&(n=n.slice(0,19)+"\u2026"),t+(n?" "+n:"")}(e)}var kc={inferParserByLanguage:function(e,t){var n=lc({plugins:t.plugins}).languages,r=n.find((function(t){return t.name.toLowerCase()===e}))||n.find((function(t){var n=t.aliases;return Array.isArray(n)&&n.includes(e)}))||n.find((function(t){var n=t.extensions;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},getStringWidth:function(e){return e?pc.test(e)?uc(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(sc(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(sc(t),")+"),"g"));if(null===n)return 0;var r,i=new Map,a=0,o=p(n);try{for(o.s();!(r=o.n()).done;){var u=r.value.length/t.length;i.set(u,!0),u>a&&(a=u)}}catch(c){o.e(c)}finally{o.f()}for(var s=1;s<a;s++)if(!i.get(s))return s;return a+1},getPenultimate:function(e){return e[e.length-2]},getLast:cc,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Cc,getNextNonSpaceNonCommentCharacterIndex:Ac,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Ac(e,t,n))},skip:fc,skipWhitespace:dc,skipSpaces:hc,skipToLineEnd:mc,skipEverythingButNewLine:vc,skipInlineComment:yc,skipTrailingComment:gc,skipNewline:bc,isNextLineEmptyAfterIndex:Ec,isNextLineEmpty:function(e,t,n){return Ec(e,n(t))},isPreviousLineEmpty:function(e,t,n){var r=n(t)-1;return r=bc(e,r=hc(e,r,{backwards:!0}),{backwards:!0}),(r=hc(e,r,{backwards:!0}))!==bc(e,r,{backwards:!0})},hasNewline:Dc,hasNewlineInRange:function(e,t,n){for(var r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return hc(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Tc,getIndentSize:function(e,t){var n=e.lastIndexOf("\n");return-1===n?0:Tc(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:xc,printString:function(e,t){var n=e.slice(1,-1);return Sc(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":xc(n,t.singleQuote?"'":'"').quote,!("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:Sc,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,wc(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),wc(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,wc(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";var 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){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},Oc={guessEndOfLine:function(e){var 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){var 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}var r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}},Fc=Co,_c=fo.literalline,Nc=fo.join,Ic=function(e){return Array.isArray(e)||e&&"concat"===e.type},jc=function(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},Pc={};function Bc(e,t,n,r){for(var i=[e];i.length>0;){var a=i.pop();if(a!==Pc){if(n&&i.push(a,Pc),!t||!1!==t(a))if(Ic(a)||"fill"===a.type)for(var o=jc(a),u=o.length-1;u>=0;--u)i.push(o[u]);else if("if-break"===a.type)a.flatContents&&i.push(a.flatContents),a.breakContents&&i.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(r)for(var s=a.expandedStates.length-1;s>=0;--s)i.push(a.expandedStates[s]);else i.push(a.contents);else a.contents&&i.push(a.contents)}else n(i.pop())}}function Lc(e,t){var n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);var i=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){var n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){var i=e.breakContents&&r(e.breakContents),a=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:i,flatContents:a}))}if("group"===e.type&&e.expandedStates){var o=e.expandedStates.map(r),u=o[0];return t(Object.assign(Object.assign({},e),{},{contents:u,expandedStates:o}))}if(e.contents){var s=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:s}))}return t(e)}(e);return n.set(e,i),i}}function Rc(e,t,n){var r=n,i=!1;return Bc(e,(function(e){var n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function Mc(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Vc(e){if(e.length>0){var t=Fc(e);t.expandedStates||t.break||(t.break="propagated")}return null}function Uc(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var qc=function(e,t){return e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type};function zc(e){if(!e)return e;if(Ic(e)||"fill"===e.type){for(var t=jc(e);t.length>1&&qc.apply(void 0,l(t.slice(-2)));)t.length-=2;if(t.length>0){var n=zc(Fc(t));t[t.length-1]=n}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":var r=zc(e.contents);return Object.assign(Object.assign({},e),{},{contents:r});case"if-break":var i=zc(e.breakContents),a=zc(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:i,flatContents:a})}return e}function Gc(e){return Lc(e,(function(e){return function(e){switch(e.type){case"fill":if(e.parts.every((function(e){return""===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(!Ic(e))return e;var t,n=[],r=p(jc(e));try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i){var a=Ic(i)?jc(i):[i],o=c(a),u=o[0],s=o.slice(1);"string"==typeof u&&"string"==typeof Fc(n)?n[n.length-1]+=u:n.push(u),n.push.apply(n,l(s))}}}catch(f){r.e(f)}finally{r.f()}return 0===n.length?"":1===n.length?n[0]:Array.isArray(e)?n:Object.assign(Object.assign({},e),{},{parts:n})}(e)}))}function Hc(e){for(var t=[],n=e.filter(Boolean);n.length>0;){var r=n.shift();r&&(Ic(r)?n.unshift.apply(n,l(jc(r))):t.length>0&&"string"==typeof Fc(t)&&"string"==typeof r?t[t.length-1]+=r:t.push(r))}return t}function Kc(e){return Nc(arguments.length>1&&void 0!==arguments[1]?arguments[1]:_c,e.split("\n")).parts}function Wc(e){if("line"===e.type)return!0}var $c,Jc={isConcat:Ic,getDocParts:jc,willBreak:function(e){return Rc(e,Mc,!1)},traverseDoc:Bc,findInDoc:Rc,mapDoc:Lc,propagateBreaks:function(e){var t=new Set,n=[];Bc(e,(function(e){if("break-parent"===e.type&&Vc(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&Vc(n)}),!0)},removeLines:function(e){return Lc(e,Uc)},stripTrailingHardline:function(e){return zc(Gc(e))},normalizeParts:Hc,normalizeDoc:function(e){return Lc(e,(function(e){return Array.isArray(e)?Hc(e):e.parts?Object.assign(Object.assign({},e),{},{parts:Hc(e.parts)}):e}))},cleanDoc:Gc,replaceTextEndOfLine:Kc,replaceEndOfLine:function(e){return Lc(e,(function(e){return"string"==typeof e&&e.includes("\n")?Kc(e):e}))},canBreak:function(e){return Rc(e,Wc,!1)}},Qc=kc.getStringWidth,Yc=kc.getLast,Xc=Oc.convertEndOfLineToChars,Zc=fo.fill,el=fo.cursor,tl=fo.indent,nl=Jc.isConcat,rl=Jc.getDocParts;function il(e,t){return ol(e,{type:"indent"},t)}function al(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?ol(e,{type:"dedent"},n):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):ol(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function ol(e,t,n){var r,i="dedent"===t.type?e.queue.slice(0,-1):[].concat(l(e.queue),[t]),a="",o=0,u=0,s=0,c=p(i);try{for(c.s();!(r=c.n()).done;){var f=r.value;switch(f.type){case"indent":m(),n.useTabs?d(1):h(n.tabWidth);break;case"stringAlign":m(),a+=f.n,o+=f.n.length;break;case"numberAlign":u+=1,s+=f.n;break;default:throw new Error("Unexpected type '".concat(f.type,"'"))}}}catch(g){c.e(g)}finally{c.f()}return v(),Object.assign(Object.assign({},e),{},{value:a,length:o,queue:i});function d(e){a+="\t".repeat(e),o+=n.tabWidth*e}function h(e){a+=" ".repeat(e),o+=e}function m(){n.useTabs?(u>0&&d(u),y()):v()}function v(){s>0&&h(s),y()}function y(){u=0,s=0}}function ul(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof Yc(e)&&/^[\t ]*$/.test(Yc(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof Yc(e)){var n=Yc(e).replace(/[\t ]*$/,"");t+=Yc(e).length-n.length,e[e.length-1]=n}return t}function sl(e,t,n,r,i,a){for(var o=t.length,u=[e],s=[];n>=0;)if(0!==u.length){var c=u.pop(),l=d(c,3),p=l[0],f=l[1],h=l[2];if("string"==typeof h)s.push(h),n-=Qc(h);else if(nl(h))for(var m=rl(h),v=m.length-1;v>=0;v--)u.push([p,f,m[v]]);else switch(h.type){case"indent":u.push([il(p,r),f,h.contents]);break;case"align":u.push([al(p,h.n,r),f,h.contents]);break;case"trim":n+=ul(s);break;case"group":if(a&&h.break)return!1;var y=h.break?1:f;u.push([p,y,h.expandedStates&&1===y?Yc(h.expandedStates):h.contents]),h.id&&($c[h.id]=y);break;case"fill":for(var g=h.parts.length-1;g>=0;g--)u.push([p,f,h.parts[g]]);break;case"if-break":case"indent-if-break":var b=h.groupId?$c[h.groupId]:f;if(1===b){var D="if-break"===h.type?h.breakContents:h.negate?h.contents:tl(h.contents);D&&u.push([p,f,D])}if(2===b){var E="if-break"===h.type?h.flatContents:h.negate?tl(h.contents):h.contents;E&&u.push([p,f,E])}break;case"line":switch(f){case 2:if(!h.hard){h.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":i=!0;break;case"line-suffix-boundary":if(i)return!1;break;case"label":u.push([p,f,h.contents])}}else{if(0===o)return!0;u.push(t[o-1]),o--}return!1}var cl={printDocToString:function(e,t){$c={};for(var n=t.printWidth,r=Xc(t.endOfLine),i=0,a=[[{value:"",length:0,queue:[]},1,e]],o=[],u=!1,s=[];a.length>0;){var c=a.pop(),p=d(c,3),f=p[0],h=p[1],m=p[2];if("string"==typeof m){var v="\n"!==r?m.replace(/\n/g,r):m;o.push(v),i+=Qc(v)}else if(nl(m))for(var y=rl(m),g=y.length-1;g>=0;g--)a.push([f,h,y[g]]);else switch(m.type){case"cursor":o.push(el.placeholder);break;case"indent":a.push([il(f,t),h,m.contents]);break;case"align":a.push([al(f,m.n,t),h,m.contents]);break;case"trim":i-=ul(o);break;case"group":switch(h){case 2:if(!u){a.push([f,m.break?1:2,m.contents]);break}case 1:u=!1;var b=[f,2,m.contents],D=n-i,E=s.length>0;if(!m.break&&sl(b,a,D,t,E))a.push(b);else if(m.expandedStates){var C=Yc(m.expandedStates);if(m.break){a.push([f,1,C]);break}for(var A=1;A<m.expandedStates.length+1;A++){if(A>=m.expandedStates.length){a.push([f,1,C]);break}var T=[f,2,m.expandedStates[A]];if(sl(T,a,D,t,E)){a.push(T);break}}}else a.push([f,1,m.contents])}m.id&&($c[m.id]=Yc(a)[1]);break;case"fill":var x=n-i,S=m.parts;if(0===S.length)break;var w=d(S,2),k=w[0],O=w[1],F=[f,2,k],_=[f,1,k],N=sl(F,[],x,t,s.length>0,!0);if(1===S.length){N?a.push(F):a.push(_);break}var I=[f,2,O],j=[f,1,O];if(2===S.length){N?a.push(I,F):a.push(j,_);break}S.splice(0,2);var P=[f,h,Zc(S)];sl([f,2,[k,O,S[0]]],[],x,t,s.length>0,!0)?a.push(P,I,F):N?a.push(P,j,F):a.push(P,j,_);break;case"if-break":case"indent-if-break":var B=m.groupId?$c[m.groupId]:h;if(1===B){var L="if-break"===m.type?m.breakContents:m.negate?m.contents:tl(m.contents);L&&a.push([f,h,L])}if(2===B){var R="if-break"===m.type?m.flatContents:m.negate?tl(m.contents):m.contents;R&&a.push([f,h,R])}break;case"line-suffix":s.push([f,h,m.contents]);break;case"line-suffix-boundary":s.length>0&&a.push([f,h,{type:"line",hard:!0}]);break;case"line":switch(h){case 2:if(!m.hard){m.soft||(o.push(" "),i+=1);break}u=!0;case 1:if(s.length>0){a.push.apply(a,[[f,h,m]].concat(l(s.reverse()))),s=[];break}m.literal?f.root?(o.push(r,f.root.value),i=f.root.length):(o.push(r),i=0):(i-=ul(o),o.push(r+f.value),i=f.length)}break;case"label":a.push([f,h,m.contents])}0===a.length&&s.length>0&&(a.push.apply(a,l(s.reverse())),s=[])}var M=o.indexOf(el.placeholder);if(-1!==M){var V=o.indexOf(el.placeholder,M+1),U=o.slice(0,M).join(""),q=o.slice(M+1,V).join("");return{formatted:U+q+o.slice(V+1).join(""),cursorNodeStart:U.length,cursorNodeText:q}}return{formatted:o.join("")}}},ll=Jc.isConcat,pl=Jc.getDocParts;function fl(e){if(!e)return"";if(ll(e)){var t,n=[],r=p(pl(e));try{for(r.s();!(t=r.n()).done;){var i=t.value;if(ll(i))n.push.apply(n,l(fl(i).parts));else{var a=fl(i);""!==a&&n.push(a)}}}catch(o){r.e(o)}finally{r.f()}return{type:"concat",parts:n}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:fl(e.breakContents),flatContents:fl(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:fl(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(fl)}):"fill"===e.type?{type:"fill",parts:e.parts.map(fl)}:e.contents?Object.assign(Object.assign({},e),{},{contents:fl(e.contents)}):e}var dl={printDocToDebug:function(e){var t=Object.create(null),n=new Set;return function e(t,n,i){if("string"==typeof t)return JSON.stringify(t);if(ll(t)){var a=pl(t).map(e).filter(Boolean);return 1===a.length?a[0]:"[".concat(a.join(", "),"]")}if("line"===t.type){var o=Array.isArray(i)&&i[n+1]&&"break-parent"===i[n+1].type;return t.literal?o?"literalline":"literallineWithoutBreakParent":t.hard?o?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(i)&&i[n-1]&&"line"===i[n-1].type&&i[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){var u=[];t.negate&&u.push("negate: true"),t.groupId&&u.push("groupId: ".concat(r(t.groupId)));var s=u.length>0?", { ".concat(u.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(s,")")}if("group"===t.type){var c=[];t.break&&"propagated"!==t.break&&c.push("shouldBreak: true"),t.id&&c.push("id: ".concat(r(t.id)));var l=c.length>0?", { ".concat(c.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((function(t){return e(t)})).join(","),"]").concat(l,")"):"group(".concat(e(t.contents)).concat(l,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((function(t){return 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)}(fl(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];for(var r=String(e).slice(7,-1)||"symbol",i=0;;i++){var a=r+(i>0?" #".concat(i):"");if(!n.has(a))return n.add(a),t[e]="Symbol.for(".concat(JSON.stringify(a),")")}}}},hl={builders:fo,printer:cl,utils:Jc,debug:dl},ml=n(Object.freeze({__proto__:null,default:{}}));function vl(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var yl=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,gl=function(e){return yl.exec(e).slice(1)};function bl(){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=vl(kl(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Dl(e){var t=El(e),n="/"===Ol(e,-1);return(e=vl(kl(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function El(e){return"/"===e.charAt(0)}function Cl(){return Dl(kl(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Al(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=bl(e).substr(1),t=bl(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),a=Math.min(r.length,i.length),o=a,u=0;u<a;u++)if(r[u]!==i[u]){o=u;break}var s=[];for(u=o;u<r.length;u++)s.push("..");return(s=s.concat(i.slice(o))).join("/")}function Tl(e){var t=gl(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function xl(e,t){var n=gl(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Sl(e){return gl(e)[3]}var wl={extname:Sl,basename:xl,dirname:Tl,sep:"/",delimiter:":",relative:Al,join:Cl,isAbsolute:El,normalize:Dl,resolve:bl};function kl(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 Ol="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)},Fl=n(Object.freeze({__proto__:null,resolve:bl,normalize:Dl,isAbsolute:El,join:Cl,relative:Al,sep:"/",delimiter:":",dirname:Tl,basename:xl,extname:Sl,default:wl})),_l=[],Nl=[],Il="undefined"!=typeof Uint8Array?Uint8Array:Array,jl=!1;function Pl(){jl=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)_l[t]=e[t],Nl[e.charCodeAt(t)]=t;Nl["-".charCodeAt(0)]=62,Nl["_".charCodeAt(0)]=63}function Bl(e,t,n){for(var r,i,a=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],a.push(_l[(i=r)>>18&63]+_l[i>>12&63]+_l[i>>6&63]+_l[63&i]);return a.join("")}function Ll(e){var t;jl||Pl();for(var n=e.length,r=n%3,i="",a=[],o=16383,u=0,s=n-r;u<s;u+=o)a.push(Bl(e,u,u+o>s?s:u+o));return 1===r?(t=e[n-1],i+=_l[t>>2],i+=_l[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=_l[t>>10],i+=_l[t>>4&63],i+=_l[t<<2&63],i+="="),a.push(i),a.join("")}function Rl(e,t,n,r,i){var a,o,u=8*i-r-1,s=(1<<u)-1,c=s>>1,l=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-l)-1,d>>=-l,l+=u;l>0;a=256*a+e[t+p],p+=f,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+e[t+p],p+=f,l-=8);if(0===a)a=1-c;else{if(a===s)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),a-=c}return(d?-1:1)*o*Math.pow(2,a-r)}function Ml(e,t,n,r,i,a){var o,u,s,c=8*a-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-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?(u=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(o++,s/=2),o+p>=l?(u=0,o=l):o+p>=1?(u=(t*s-1)*Math.pow(2,i),o+=p):(u=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+d]=255&u,d+=h,u/=256,i-=8);for(o=o<<i|u,c+=i;c>0;e[n+d]=255&o,d+=h,o/=256,c-=8);e[n+d-h]|=128*m}var Vl={}.toString,Ul=Array.isArray||function(e){return"[object Array]"==Vl.call(e)};function ql(){return Gl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function zl(e,t){if(ql()<t)throw new RangeError("Invalid typed array length");return Gl.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Gl.prototype:(null===e&&(e=new Gl(t)),e.length=t),e}function Gl(e,t,n){if(!(Gl.TYPED_ARRAY_SUPPORT||this instanceof Gl))return new Gl(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 Wl(this,e)}return Hl(this,e,t,n)}function Hl(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");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),Gl.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Gl.prototype:e=$l(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!Gl.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Yl(t,n),i=(e=zl(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(Ql(t)){var n=0|Jl(t.length);return 0===(e=zl(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?zl(e,0):$l(e,t);if("Buffer"===t.type&&Ul(t.data))return $l(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Kl(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 Wl(e,t){if(Kl(t),e=zl(e,t<0?0:0|Jl(t)),!Gl.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function $l(e,t){var n=t.length<0?0:0|Jl(t.length);e=zl(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Jl(e){if(e>=ql())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ql().toString(16)+" bytes");return 0|e}function Ql(e){return!(null==e||!e._isBuffer)}function Yl(e,t){if(Ql(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 Tp(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return xp(e).length;default:if(r)return Tp(e).length;t=(""+t).toLowerCase(),r=!0}}function Xl(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 dp(this,t,n);case"utf8":case"utf-8":return cp(this,t,n);case"ascii":return pp(this,t,n);case"latin1":case"binary":return fp(this,t,n);case"base64":return sp(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hp(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Zl(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ep(e,t,n,r,i){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=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Gl.from(t,r)),Ql(t))return 0===t.length?-1:tp(e,t,n,r,i);if("number"==typeof t)return t&=255,Gl.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):tp(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function tp(e,t,n,r,i){var a,o=1,u=e.length,s=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;o=2,u/=2,s/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=n;a<u;a++)if(c(e,a)===c(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===s)return l*o}else-1!==l&&(a-=a-l),l=-1}else for(n+s>u&&(n=u-s),a=n;a>=0;a--){for(var p=!0,f=0;f<s;f++)if(c(e,a+f)!==c(t,f)){p=!1;break}if(p)return a}return-1}function np(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var u=parseInt(t.substr(2*o,2),16);if(isNaN(u))return o;e[n+o]=u}return o}function rp(e,t,n,r){return Sp(Tp(t,e.length-n),e,n,r)}function ip(e,t,n,r){return Sp(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function ap(e,t,n,r){return ip(e,t,n,r)}function op(e,t,n,r){return Sp(xp(t),e,n,r)}function up(e,t,n,r){return Sp(function(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function sp(e,t,n){return 0===t&&n===e.length?Ll(e):Ll(e.slice(t,n))}function cp(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a,o,u,s,c=e[i],l=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(s=(31&c)<<6|63&a)>127&&(l=s);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(s=(15&c)<<12|(63&a)<<6|63&o)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:a=e[i+1],o=e[i+2],u=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&u)&&(s=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&u)>65535&&s<1114112&&(l=s)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=lp)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=lp));return n}(r)}Gl.TYPED_ARRAY_SUPPORT=void 0===Gu.TYPED_ARRAY_SUPPORT||Gu.TYPED_ARRAY_SUPPORT,Gl.poolSize=8192,Gl._augment=function(e){return e.__proto__=Gl.prototype,e},Gl.from=function(e,t,n){return Hl(null,e,t,n)},Gl.TYPED_ARRAY_SUPPORT&&(Gl.prototype.__proto__=Uint8Array.prototype,Gl.__proto__=Uint8Array),Gl.alloc=function(e,t,n){return function(e,t,n,r){return Kl(t),t<=0?zl(e,t):void 0!==n?"string"==typeof r?zl(e,t).fill(n,r):zl(e,t).fill(n):zl(e,t)}(null,e,t,n)},Gl.allocUnsafe=function(e){return Wl(null,e)},Gl.allocUnsafeSlow=function(e){return Wl(null,e)},Gl.isBuffer=wp,Gl.compare=function(e,t){if(!Ql(e)||!Ql(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},Gl.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}},Gl.concat=function(e,t){if(!Ul(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Gl.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Gl.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!Ql(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},Gl.byteLength=Yl,Gl.prototype._isBuffer=!0,Gl.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)Zl(this,t,t+1);return this},Gl.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)Zl(this,t,t+3),Zl(this,t+1,t+2);return this},Gl.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)Zl(this,t,t+7),Zl(this,t+1,t+6),Zl(this,t+2,t+5),Zl(this,t+3,t+4);return this},Gl.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?cp(this,0,e):Xl.apply(this,arguments)},Gl.prototype.equals=function(e){if(!Ql(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Gl.compare(this,e)},Gl.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+">"},Gl.prototype.compare=function(e,t,n,r,i){if(!Ql(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===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),u=Math.min(a,o),s=this.slice(r,i),c=e.slice(t,n),l=0;l<u;++l)if(s[l]!==c[l]){a=s[l],o=c[l];break}return a<o?-1:o<a?1:0},Gl.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Gl.prototype.indexOf=function(e,t,n){return ep(this,e,t,n,!0)},Gl.prototype.lastIndexOf=function(e,t,n){return ep(this,e,t,n,!1)},Gl.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 i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return np(this,e,t,n);case"utf8":case"utf-8":return rp(this,e,t,n);case"ascii":return ip(this,e,t,n);case"latin1":case"binary":return ap(this,e,t,n);case"base64":return op(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return up(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Gl.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var lp=4096;function pp(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function fp(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function dp(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a<n;++a)i+=Ap(e[a]);return i}function hp(e,t,n){for(var r=e.slice(t,n),i="",a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function mp(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 vp(e,t,n,r,i,a){if(!Ql(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function yp(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function gp(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function bp(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Dp(e,t,n,r,i){return i||bp(e,0,n,4),Ml(e,t,n,r,23,4),n+4}function Ep(e,t,n,r,i){return i||bp(e,0,n,8),Ml(e,t,n,r,52,8),n+8}Gl.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),Gl.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Gl.prototype;else{var i=t-e;n=new Gl(i,void 0);for(var a=0;a<i;++a)n[a]=this[a+e]}return n},Gl.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||mp(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},Gl.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||mp(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},Gl.prototype.readUInt8=function(e,t){return t||mp(e,1,this.length),this[e]},Gl.prototype.readUInt16LE=function(e,t){return t||mp(e,2,this.length),this[e]|this[e+1]<<8},Gl.prototype.readUInt16BE=function(e,t){return t||mp(e,2,this.length),this[e]<<8|this[e+1]},Gl.prototype.readUInt32LE=function(e,t){return t||mp(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Gl.prototype.readUInt32BE=function(e,t){return t||mp(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Gl.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||mp(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},Gl.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||mp(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},Gl.prototype.readInt8=function(e,t){return t||mp(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Gl.prototype.readInt16LE=function(e,t){t||mp(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Gl.prototype.readInt16BE=function(e,t){t||mp(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Gl.prototype.readInt32LE=function(e,t){return t||mp(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Gl.prototype.readInt32BE=function(e,t){return t||mp(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Gl.prototype.readFloatLE=function(e,t){return t||mp(e,4,this.length),Rl(this,e,!0,23,4)},Gl.prototype.readFloatBE=function(e,t){return t||mp(e,4,this.length),Rl(this,e,!1,23,4)},Gl.prototype.readDoubleLE=function(e,t){return t||mp(e,8,this.length),Rl(this,e,!0,52,8)},Gl.prototype.readDoubleBE=function(e,t){return t||mp(e,8,this.length),Rl(this,e,!1,52,8)},Gl.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||vp(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},Gl.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||vp(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},Gl.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,1,255,0),Gl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Gl.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,2,65535,0),Gl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yp(this,e,t,!0),t+2},Gl.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,2,65535,0),Gl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yp(this,e,t,!1),t+2},Gl.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,4,4294967295,0),Gl.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):gp(this,e,t,!0),t+4},Gl.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,4,4294967295,0),Gl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):gp(this,e,t,!1),t+4},Gl.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);vp(this,e,t,n,i-1,-i)}var a=0,o=1,u=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===u&&0!==this[t+a-1]&&(u=1),this[t+a]=(e/o>>0)-u&255;return t+n},Gl.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);vp(this,e,t,n,i-1,-i)}var a=n-1,o=1,u=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===u&&0!==this[t+a+1]&&(u=1),this[t+a]=(e/o>>0)-u&255;return t+n},Gl.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,1,127,-128),Gl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Gl.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,2,32767,-32768),Gl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yp(this,e,t,!0),t+2},Gl.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,2,32767,-32768),Gl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yp(this,e,t,!1),t+2},Gl.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,4,2147483647,-2147483648),Gl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):gp(this,e,t,!0),t+4},Gl.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||vp(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Gl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):gp(this,e,t,!1),t+4},Gl.prototype.writeFloatLE=function(e,t,n){return Dp(this,e,t,!0,n)},Gl.prototype.writeFloatBE=function(e,t,n){return Dp(this,e,t,!1,n)},Gl.prototype.writeDoubleLE=function(e,t,n){return Ep(this,e,t,!0,n)},Gl.prototype.writeDoubleBE=function(e,t,n){return Ep(this,e,t,!1,n)},Gl.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 i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!Gl.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},Gl.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 i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Gl.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 a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var o=Ql(e)?e:Tp(new Gl(e,r).toString()),u=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%u]}return this};var Cp=/[^+\/0-9A-Za-z-_]/g;function Ap(e){return e<16?"0"+e.toString(16):e.toString(16)}function Tp(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.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;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function xp(e){return function(e){var t,n,r,i,a,o;jl||Pl();var u=e.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===e[u-2]?2:"="===e[u-1]?1:0,o=new Il(3*u/4-a),r=a>0?u-4:u;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Nl[e.charCodeAt(t)]<<18|Nl[e.charCodeAt(t+1)]<<12|Nl[e.charCodeAt(t+2)]<<6|Nl[e.charCodeAt(t+3)],o[s++]=i>>16&255,o[s++]=i>>8&255,o[s++]=255&i;return 2===a?(i=Nl[e.charCodeAt(t)]<<2|Nl[e.charCodeAt(t+1)]>>4,o[s++]=255&i):1===a&&(i=Nl[e.charCodeAt(t)]<<10|Nl[e.charCodeAt(t+1)]<<4|Nl[e.charCodeAt(t+2)]>>2,o[s++]=i>>8&255,o[s++]=255&i),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Cp,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Sp(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function wp(e){return null!=e&&(!!e._isBuffer||kp(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&kp(e.slice(0,0))}(e))}function kp(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Op=ml,Fp=function(){function e(t,n){h(this,e),(n=n||{}).readChunk||(n.readChunk=1024),n.newLineCharacter?n.newLineCharacter=n.newLineCharacter.charCodeAt(0):n.newLineCharacter=10,this.fd="number"==typeof t?t:Op.openSync(t,"r"),this.options=n,this.newLineCharacter=n.newLineCharacter,this.reset()}return m(e,[{key:"_searchInBuffer",value:function(e,t){for(var n=-1,r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){Op.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,n=[],r=0,i=0;;){var a=e[r++];if(a===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===a)break}var o=e.slice(i,r);return o.length&&n.push(o),n}},{key:"_readChunk",value:function(e){var t,n=0,r=[];do{var i=new Gl(this.options.readChunk);n+=t=Op.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(i)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var a=Gl.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,a=a.slice(0,n)),n&&(this.linesCache=this._extractLines(a),e&&(this.linesCache[0]=Gl.concat([e,this.linesCache[0]]))),n}},{key:"next",value:function(){if(!this.fd)return!1;var e=!1;return this.eofReached&&0===this.linesCache.length||(this.linesCache.length||this._readChunk(),this.linesCache.length&&(e=this.linesCache.shift())[e.length-1]!==this.newLineCharacter&&this._readChunk(e)&&(e=this.linesCache.shift()),this.eofReached&&0===this.linesCache.length&&this.close(),e&&e[e.length-1]===this.newLineCharacter&&(e=e.slice(0,e.length-1))),e}}]),e}(),_p=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(s(Error)),Np=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(s(Error)),Ip=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(s(Error)),jp=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n)}(s(Error)),Pp={ConfigError:_p,DebugError:Np,UndefinedParserError:Ip,ArgExpansionBailout:jp},Bp={},Lp=function(e,t){return Lp=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])},Lp(e,t)},Rp=function(){return Rp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Rp.apply(this,arguments)};function Mp(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 Vp(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Up(e){return this instanceof Up?(this.v=e,this):new Up(e)}var qp=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Lp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Rp},__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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},__decorate:function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},__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(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function u(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},__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:Mp,__read:Vp,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Vp(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),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,u=a.length;o<u;o++,i++)r[i]=a[o];return r},__await:Up,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof Up?Promise.resolve(n.value.v).then(s,c):l(a[0][2],n)}catch(e){l(a[0][3],e)}var n}function s(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[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,i){t[r]=e[r]?function(t){return(n=!n)?{value:Up(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__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=Mp(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,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(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}}),zp={},Gp={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return"[".concat(t.map((function(t){return e.apiDescriptor.value(t)})).join(", "),"]");var n=Object.keys(t);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(e.apiDescriptor.key(n),": ").concat(e.apiDescriptor.value(t[n]))})).join(", ")," }")},pair:function(t){var n=t.key,r=t.value;return e.apiDescriptor.value(f({},n,r))}}}(Gp),function(e){Object.defineProperty(e,"__esModule",{value:!0}),qp.__exportStar(Gp,e)}(zp);var Hp={},Kp={},Wp={},$p={exports:{}},Jp=/[|\\{}()[\]^$+*?.]/g,Qp=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Jp,"\\$&")},Yp={exports:{}},Xp={exports:{}},Zp={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]},ef={};for(var tf in Zp)Zp.hasOwnProperty(tf)&&(ef[Zp[tf]]=tf);var nf=Xp.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 rf in nf)if(nf.hasOwnProperty(rf)){if(!("channels"in nf[rf]))throw new Error("missing channels property: "+rf);if(!("labels"in nf[rf]))throw new Error("missing channel labels property: "+rf);if(nf[rf].labels.length!==nf[rf].channels)throw new Error("channel and label counts mismatch: "+rf);var af=nf[rf].channels,of=nf[rf].labels;delete nf[rf].channels,delete nf[rf].labels,Object.defineProperty(nf[rf],"channels",{value:af}),Object.defineProperty(nf[rf],"labels",{value:of})}nf.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),u=Math.max(r,i,a),s=u-o;return u===o?t=0:r===u?t=(i-a)/s:i===u?t=2+(a-r)/s:a===u&&(t=4+(r-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+u)/2,[t,100*(u===o?0:n<=.5?s/(u+o):s/(2-u-o)),100*n]},nf.rgb.hsv=function(e){var t,n,r,i,a,o=e[0]/255,u=e[1]/255,s=e[2]/255,c=Math.max(o,u,s),l=c-Math.min(o,u,s),p=function(e){return(c-e)/6/l+.5};return 0===l?i=a=0:(a=l/c,t=p(o),n=p(u),r=p(s),o===c?i=r-n:u===c?i=1/3+t-r:s===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},nf.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[nf.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},nf.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},nf.rgb.keyword=function(e){var t=ef[e];if(t)return t;var n,r,i,a=1/0;for(var o in Zp)if(Zp.hasOwnProperty(o)){var u=(r=e,i=Zp[o],Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2)+Math.pow(r[2]-i[2],2));u<a&&(a=u,n=o)}return n},nf.keyword.rgb=function(e){return Zp[e]},nf.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)]},nf.rgb.lab=function(e){var t=nf.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},nf.hsl.rgb=function(e){var t,n,r,i,a,o=e[0]/360,u=e[1]/100,s=e[2]/100;if(0===u)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+u):s+u-s*u),i=[0,0,0];for(var c=0;c<3;c++)(r=o+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*a;return i},nf.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),(r+n)/2*100]},nf.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),u=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,s,o];case 1:return[u,r,o];case 2:return[o,r,s];case 3:return[o,u,r];case 4:return[s,o,r];case 5:return[r,o,u]}},nf.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,o=e[2]/100,u=Math.max(o,.01);return r=(2-a)*o,n=a*u,[i,100*(n=(n/=(t=(2-a)*u)<=1?t:2-t)||0),100*(r/=2)]},nf.hwb.rgb=function(e){var t,n,r,i,a,o,u,s=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),i=c+r*((n=1-l)-c),t){default:case 6:case 0:a=n,o=i,u=c;break;case 1:a=i,o=n,u=c;break;case 2:a=c,o=n,u=i;break;case 3:a=c,o=i,u=n;break;case 4:a=i,o=c,u=n;break;case 5:a=n,o=c,u=i}return[255*a,255*o,255*u]},nf.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},nf.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.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))]},nf.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))]},nf.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),u=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},nf.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},nf.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)]},nf.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:nf.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},nf.hsv.ansi16=function(e){return nf.rgb.ansi16(nf.hsv.rgb(e),e[2])},nf.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)},nf.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]},nf.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]},nf.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},nf.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]},nf.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),u=a-o;return t=u<=0?0:a===n?(r-i)/u%6:a===r?2+(i-n)/u:4+(n-r)/u+4,t/=6,[360*(t%=1),100*u,100*(u<1?o/(1-u):0)]},nf.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},nf.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},nf.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 i,a=[0,0,0],o=t%1*6,u=o%1,s=1-u;switch(Math.floor(o)){case 0:a[0]=1,a[1]=u,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=u;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=u,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},nf.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]},nf.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]},nf.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)]},nf.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},nf.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},nf.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},nf.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},nf.gray.hsl=nf.gray.hsv=function(e){return[0,0,e[0]]},nf.gray.hwb=function(e){return[0,100,e[0]]},nf.gray.cmyk=function(e){return[0,0,0,e[0]]},nf.gray.lab=function(e){return[e[0],0,0]},nf.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},nf.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var uf=Xp.exports;function sf(e){var t=function(){for(var e={},t=Object.keys(uf),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(),i=Object.keys(uf[r]),a=i.length,o=0;o<a;o++){var u=i[o],s=t[u];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(u))}return t}function cf(e,t){return function(n){return t(e(n))}}function lf(e,t){for(var n=[t[e].parent,e],r=uf[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=cf(uf[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var pf=Xp.exports,ff=function(e){for(var t=sf(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var o=r[a];null!==t[o].parent&&(n[o]=lf(o,t))}return n},df={};Object.keys(pf).forEach((function(e){df[e]={},Object.defineProperty(df[e],"channels",{value:pf[e].channels}),Object.defineProperty(df[e],"labels",{value:pf[e].labels});var t=ff(e);Object.keys(t).forEach((function(n){var r=t[n];df[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,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),df[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 hf,mf=df;function vf(){if(void 0===hf){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])hf="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");hf="LE"}}return hf}function yf(){return void 0!==Gu.location?Gu.location.hostname:""}function gf(){return[]}function bf(){return 0}function Df(){return Number.MAX_VALUE}function Ef(){return Number.MAX_VALUE}function Cf(){return[]}function Af(){return"Browser"}function Tf(){return void 0!==Gu.navigator?Gu.navigator.appVersion:""}function xf(){}function Sf(){}function wf(){return"javascript"}function kf(){return"browser"}function Of(){return"/tmp"}!function(e){var t=mf,n=function(e,n){return function(){var r=e.apply(t,arguments);return"\x1b[".concat(r+n,"m")}},r=function(e,n){return function(){var r=e.apply(t,arguments);return"\x1b[".concat(38+n,";5;").concat(r,"m")}},i=function(e,n){return function(){var r=e.apply(t,arguments);return"\x1b[".concat(38+n,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,a={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]}};a.color.grey=a.color.gray;for(var o=0,u=Object.keys(a);o<u.length;o++){for(var s=u[o],c=a[s],l=0,p=Object.keys(c);l<p.length;l++){var f=p[l],d=c[f];a[f]={open:"\x1b[".concat(d[0],"m"),close:"\x1b[".concat(d[1],"m")},c[f]=a[f],e.set(d[0],d[1])}Object.defineProperty(a,s,{value:c,enumerable:!1}),Object.defineProperty(a,"codes",{value:e,enumerable:!1})}var h=function(e){return e},m=function(e,t,n){return[e,t,n]};a.color.close="\x1b[39m",a.bgColor.close="\x1b[49m",a.color.ansi={ansi:n(h,0)},a.color.ansi256={ansi256:r(h,0)},a.color.ansi16m={rgb:i(m,0)},a.bgColor.ansi={ansi:n(h,10)},a.bgColor.ansi256={ansi256:r(h,10)},a.bgColor.ansi16m={rgb:i(m,10)};for(var v=0,y=Object.keys(t);v<y.length;v++){var g=y[v];if("object"==typeof t[g]){var b=t[g];"ansi16"===g&&(g="ansi"),"ansi16"in b&&(a.color.ansi[g]=n(b.ansi16,0),a.bgColor.ansi[g]=n(b.ansi16,10)),"ansi256"in b&&(a.color.ansi256[g]=r(b.ansi256,0),a.bgColor.ansi256[g]=r(b.ansi256,10)),"rgb"in b&&(a.color.ansi16m[g]=i(b.rgb,0),a.bgColor.ansi16m[g]=i(b.rgb,10))}}return a}})}(Yp);var Ff,_f=Of,Nf={EOL:"\n",arch:wf,platform:kf,tmpdir:_f,tmpDir:Of,networkInterfaces:xf,getNetworkInterfaces:Sf,release:Tf,type:Af,cpus:Cf,totalmem:Ef,freemem:Df,uptime:bf,loadavg:gf,hostname:yf,endianness:vf},If=n(Object.freeze({__proto__:null,endianness:vf,hostname:yf,loadavg:gf,uptime:bf,freemem:Df,totalmem:Ef,cpus:Cf,type:Af,release:Tf,networkInterfaces:xf,getNetworkInterfaces:Sf,arch:wf,platform:kf,tmpDir:Of,tmpdir:_f,EOL:"\n",default:Nf})),jf=If,Pf=function(e,t){t=t||ms.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},Bf=ms.env;function Lf(e){var t=function(e){if(!1===Ff)return 0;if(Pf("color=16m")||Pf("color=full")||Pf("color=truecolor"))return 3;if(Pf("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ff)return 0;var t=Ff?1:0;if("win32"===ms.platform){var n=jf.release().split(".");return Number(ms.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Bf)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Bf}))||"codeship"===Bf.CI_NAME?1:t;if("TEAMCITY_VERSION"in Bf)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Bf.TEAMCITY_VERSION)?1:0;if("truecolor"===Bf.COLORTERM)return 3;if("TERM_PROGRAM"in Bf){var r=parseInt((Bf.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Bf.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Bf.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Bf.TERM)||"COLORTERM"in Bf?1:(Bf.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}Pf("no-color")||Pf("no-colors")||Pf("color=false")?Ff=!1:(Pf("color")||Pf("colors")||Pf("color=true")||Pf("color=always"))&&(Ff=!0),"FORCE_COLOR"in Bf&&(Ff=0===Bf.FORCE_COLOR.length||0!==parseInt(Bf.FORCE_COLOR,10));var Rf={supportsColor:Lf,stdout:Lf(ms.stdout),stderr:Lf(ms.stderr)},Mf=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Vf=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Uf=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,qf=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,zf=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Gf(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):zf.get(e)||e}function Hf(e,t){var n,r,i=[],a=t.trim().split(/\s*,\s*/g),o=p(a);try{for(o.s();!(r=o.n()).done;){var u=r.value;if(isNaN(u)){if(!(n=u.match(Uf)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(qf,(function(e,t,n){return t?Gf(t):n})))}else i.push(Number(u))}}catch(s){o.e(s)}finally{o.f()}return i}function Kf(e){Vf.lastIndex=0;for(var t,n=[];null!==(t=Vf.exec(e));){var r=t[1];if(t[2]){var i=Hf(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function Wf(e,t){var n,r={},i=p(t);try{for(i.s();!(n=i.n()).done;){var a,o=n.value,u=p(o.styles);try{for(u.s();!(a=u.n()).done;){var s=a.value;r[s[0]]=o.inverse?null:s.slice(1)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){i.e(h)}finally{i.f()}for(var c=e,l=0,f=Object.keys(r);l<f.length;l++){var d=f[l];if(Array.isArray(r[d])){if(!(d in c))throw new Error("Unknown Chalk style: ".concat(d));c=r[d].length>0?c[d].apply(c,r[d]):c[d]}}return c}var $f=function(e,t){var n=[],r=[],i=[];if(t.replace(Mf,(function(t,a,o,u,s,c){if(a)i.push(Gf(a));else if(u){var l=i.join("");i=[],r.push(0===n.length?l:Wf(e,n)(l)),n.push({inverse:o,styles:Kf(u)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Wf(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")};!function(e){var t=Qp,n=Yp.exports,r=Rf.stdout,i=$f,a="win32"===ms.platform&&!(ms.env.TERM||"").toLowerCase().startsWith("xterm"),o=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),s=Object.create(null);function c(e,t){t=t||{};var n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){var t={};return c(t,e),t.template=function(){var e=[].slice.call(arguments);return T.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}a&&(n.blue.open="\x1b[94m");for(var f=function(){var e=h[d];n[e].closeRe=new RegExp(t(n[e].close),"g"),s[e]={get:function(){var t=n[e];return C.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},d=0,h=Object.keys(n);d<h.length;d++)f();s.visible={get:function(){return C.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(var m=function(){var e=y[v];u.has(e)||(s[e]={get:function(){var t=this.level;return function(){var r={open:n.color[o[t]][e].apply(null,arguments),close:n.color.close,closeRe:n.color.closeRe};return C.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}})},v=0,y=Object.keys(n.color.ansi);v<y.length;v++)m();n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(var g=function(){var e=D[b];if(u.has(e))return"continue";s["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var r={open:n.bgColor[o[t]][e].apply(null,arguments),close:n.bgColor.close,closeRe:n.bgColor.closeRe};return C.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}},b=0,D=Object.keys(n.bgColor.ansi);b<D.length;b++)g();var E=Object.defineProperties((function(){}),s);function C(e,t,n){var r=function e(){return A.apply(e,arguments)};r._styles=e,r._empty=t;var i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=E,r}function A(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;var o=n.dim.open;a&&this.hasGrey&&(n.dim.open="");var u,s=p(this._styles.slice().reverse());try{for(s.s();!(u=s.n()).done;){var c=u.value;r=(r=c.open+r.replace(c.closeRe,c.open)+c.close).replace(/\r?\n/g,"".concat(c.close,"$&").concat(c.open))}}catch(l){s.e(l)}finally{s.f()}return n.dim.open=o,r}function T(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],a=1;a<t.length;a++)r.push(String(n[a-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[a]));return i(e,r.join(""))}Object.defineProperties(l.prototype,s),e.exports=l(),e.exports.supportsColor=r,e.exports.default=e.exports}($p),Object.defineProperty(Wp,"__esModule",{value:!0});var Jf=$p.exports;Wp.commonDeprecatedHandler=function(e,t,n){var r=n.descriptor,i=["".concat(Jf.default.yellow("string"==typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&i.push("we now treat it as ".concat(Jf.default.blue("string"==typeof t?r.key(t):r.pair(t)))),i.join("; ")+"."},function(e){Object.defineProperty(e,"__esModule",{value:!0}),qp.__exportStar(Wp,e)}(Kp);var Qf={},Yf={};Object.defineProperty(Yf,"__esModule",{value:!0});var Xf=$p.exports;Yf.commonInvalidHandler=function(e,t,n){return["Invalid ".concat(Xf.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Xf.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Xf.default.red(n.descriptor.value(t)),".")].join(" ")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),qp.__exportStar(Yf,e)}(Qf);var Zf={},ed={},td=[],nd=[];Object.defineProperty(ed,"__esModule",{value:!0});var rd=$p.exports,id=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var a,o,u,s,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(i-=c,0===(r-=c))return i;for(var l=0,p=0;l<r;)nd[c+l]=e.charCodeAt(c+l),td[l]=++l;for(;p<i;)for(a=t.charCodeAt(c+p),u=p++,o=p,l=0;l<r;l++)s=a===nd[c+l]?u:u+1,u=td[l],o=td[l]=u>o?s>o?o+1:s:s>u?u+1:s;return o};ed.levenUnknownHandler=function(e,t,n){var r=n.descriptor,i=n.logger,a=n.schemas,o=["Ignored unknown option ".concat(rd.default.yellow(r.pair({key:e,value:t})),".")],u=Object.keys(a).sort().find((function(t){return id(e,t)<3}));u&&o.push("Did you mean ".concat(rd.default.blue(r.key(u)),"?")),i.warn(o.join(" "))},function(e){Object.defineProperty(e,"__esModule",{value:!0}),qp.__exportStar(ed,e)}(Zf),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=qp;t.__exportStar(Kp,e),t.__exportStar(Qf,e),t.__exportStar(Zf,e)}(Hp);var ad={},od={},ud={};Object.defineProperty(ud,"__esModule",{value:!0});var sd=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function cd(e,t){var n,r=new e(t),i=Object.create(r),a=p(sd);try{for(a.s();!(n=a.n()).done;){var o=n.value;o in t&&(i[o]=pd(t[o],r,ld.prototype[o].length))}}catch(u){a.e(u)}finally{a.f()}return i}ud.createSchema=cd;var ld=function(){function e(t){h(this,e),this.name=t.name}return m(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return cd(this,e)}}]),e}();function pd(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e.apply(void 0,l(i.slice(0,n-1)).concat([t],l(i.slice(n-1))))}:function(){return e}}ud.Schema=ld,Object.defineProperty(od,"__esModule",{value:!0});var fd=function(e){o(n,e);var t=u(n);function n(e){var r;return h(this,n),(r=t.call(this,e))._sourceName=e.sourceName,r}return m(n,[{key:"expected",value:function(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function(e,t){return this._sourceName}}]),n}(ud.Schema);od.AliasSchema=fd;var dd={};Object.defineProperty(dd,"__esModule",{value:!0});var hd=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),n}(ud.Schema);dd.AnySchema=hd;var md={};Object.defineProperty(md,"__esModule",{value:!0});var vd=qp,yd=function(e){o(n,e);var t=u(n);function n(e){var r;h(this,n);var i=e.valueSchema,a=e.name,o=void 0===a?i.name:a,u=vd.__rest(e,["valueSchema","name"]);return(r=t.call(this,Object.assign({},u,{name:o})))._valueSchema=i,r}return m(n,[{key:"expected",value:function(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function(e,t){if(!Array.isArray(e))return!1;var n,r=[],i=p(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=t.normalizeValidateResult(this._valueSchema.validate(a,t),a);!0!==o&&r.push(o.value)}}catch(u){i.e(u)}finally{i.f()}return 0===r.length||{value:r}}},{key:"deprecated",value:function(e,t){var n,r=[],i=p(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=t.normalizeDeprecatedResult(this._valueSchema.deprecated(a,t),a);!1!==o&&r.push.apply(r,l(o.map((function(e){return{value:[e.value]}}))))}}catch(u){i.e(u)}finally{i.f()}return r}},{key:"forward",value:function(e,t){var n,r=[],i=p(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=t.normalizeForwardResult(this._valueSchema.forward(a,t),a);r.push.apply(r,l(o.map(gd)))}}catch(u){i.e(u)}finally{i.f()}return r}},{key:"redirect",value:function(e,t){var n,r=[],i=[],a=p(e);try{for(a.s();!(n=a.n()).done;){var o=n.value,u=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in u&&r.push(u.remain),i.push.apply(i,l(u.redirect.map(gd)))}}catch(s){a.e(s)}finally{a.f()}return 0===r.length?{redirect:i}:{redirect:i,remain:r}}},{key:"overlap",value:function(e,t){return e.concat(t)}}]),n}(ud.Schema);function gd(e){return{from:[e.from],to:e.to}}md.ArraySchema=yd;var bd={};Object.defineProperty(bd,"__esModule",{value:!0});var Dd=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(e){return"boolean"==typeof e}}]),n}(ud.Schema);bd.BooleanSchema=Dd;var Ed={},Cd={};function Ad(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}}function Td(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return Ad(e,t)})):[Ad(e,t)]}Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.recordFromArray=function(e,t){var n,r=Object.create(null),i=p(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a[t];if(r[o])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(o)));r[o]=a}}catch(u){i.e(u)}finally{i.f()}return r},Cd.mapFromArray=function(e,t){var n,r=new Map,i=p(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a[t];if(r.has(o))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(o)));r.set(o,a)}}catch(u){i.e(u)}finally{i.f()}return r},Cd.createAutoChecklist=function(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},Cd.partition=function(e,t){var n,r=[],i=[],a=p(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;t(o)?r.push(o):i.push(o)}}catch(u){a.e(u)}finally{a.f()}return[r,i]},Cd.isInt=function(e){return e===Math.floor(e)},Cd.comparePrimitive=function(e,t){if(e===t)return 0;var n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},Cd.normalizeDefaultResult=function(e){return void 0===e?{}:e},Cd.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},Cd.normalizeDeprecatedResult=function(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},Cd.normalizeTransferResult=Ad,Cd.normalizeForwardResult=Td,Cd.normalizeRedirectResult=function(e,t){var n=Td("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}},Object.defineProperty(Ed,"__esModule",{value:!0});var xd=Cd,Sd=function(e){o(n,e);var t=u(n);function n(e){var r;return h(this,n),(r=t.call(this,e))._choices=xd.mapFromArray(e.choices.map((function(e){return e&&"object"==typeof e?e:{value:e}})),"value"),r}return m(n,[{key:"expected",value:function(e){var t=this,n=e.descriptor,r=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(xd.comparePrimitive).map(n.value),i=r.slice(0,-2),a=r.slice(-2);return i.concat(a.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),n}(ud.Schema);Ed.ChoiceSchema=Sd;var wd={},kd={};Object.defineProperty(kd,"__esModule",{value:!0});var Od=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),n}(ud.Schema);kd.NumberSchema=Od,Object.defineProperty(wd,"__esModule",{value:!0});var Fd=Cd,_d=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,t){return!0===t.normalizeValidateResult(i(a(n.prototype),"validate",this).call(this,e,t),e)&&Fd.isInt(e)}}]),n}(kd.NumberSchema);wd.IntegerSchema=_d;var Nd={};Object.defineProperty(Nd,"__esModule",{value:!0});var Id=function(e){o(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),n}(ud.Schema);Nd.StringSchema=Id,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=qp;t.__exportStar(od,e),t.__exportStar(dd,e),t.__exportStar(md,e),t.__exportStar(bd,e),t.__exportStar(Ed,e),t.__exportStar(wd,e),t.__exportStar(kd,e),t.__exportStar(Nd,e)}(ad);var jd={},Pd={};Object.defineProperty(Pd,"__esModule",{value:!0});var Bd=Gp,Ld=Wp,Rd=Qf,Md=ed;Pd.defaultDescriptor=Bd.apiDescriptor,Pd.defaultUnknownHandler=Md.levenUnknownHandler,Pd.defaultInvalidHandler=Rd.commonInvalidHandler,Pd.defaultDeprecatedHandler=Ld.commonDeprecatedHandler,Object.defineProperty(jd,"__esModule",{value:!0});var Vd=Pd,Ud=Cd;jd.normalize=function(e,t,n){return new qd(t,n).normalize(e)};var qd=function(){function e(t,n){h(this,e);var r=n||{},i=r.logger,a=void 0===i?console:i,o=r.descriptor,u=void 0===o?Vd.defaultDescriptor:o,s=r.unknown,c=void 0===s?Vd.defaultUnknownHandler:s,l=r.invalid,p=void 0===l?Vd.defaultInvalidHandler:l,f=r.deprecated,d=void 0===f?Vd.defaultDeprecatedHandler:f;this._utils={descriptor:u,logger:a||{warn:function(){}},schemas:Ud.recordFromArray(t,"name"),normalizeDefaultResult:Ud.normalizeDefaultResult,normalizeDeprecatedResult:Ud.normalizeDeprecatedResult,normalizeForwardResult:Ud.normalizeForwardResult,normalizeRedirectResult:Ud.normalizeRedirectResult,normalizeValidateResult:Ud.normalizeValidateResult},this._unknownHandler=c,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return m(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=Ud.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,n={},r=[e],i=function(){for(;0!==r.length;){var e=r.shift(),i=t._applyNormalization(e,n);r.push.apply(r,l(i))}};i();for(var a=0,o=Object.keys(this._utils.schemas);a<o.length;a++){var u=o[a],s=this._utils.schemas[u];if(!(u in n)){var c=Ud.normalizeDefaultResult(s.default(this._utils));"value"in c&&r.push(f({},u,c.value))}}i();for(var p=0,d=Object.keys(this._utils.schemas);p<d.length;p++){var h=d[p],m=this._utils.schemas[h];h in n&&(n[h]=m.postprocess(n[h],this._utils))}return n}},{key:"_applyNormalization",value:function(e,t){var n,r=this,i=[],a=Ud.partition(Object.keys(e),(function(e){return e in r._utils.schemas})),o=d(a,2),u=o[0],s=o[1],c=p(u);try{var l=function(){var a=n.value,o=r._utils.schemas[a],u=o.preprocess(e[a],r._utils),s=Ud.normalizeValidateResult(o.validate(u,r._utils),u);if(!0!==s){var c=s.value,l=r._invalidHandler(a,c,r._utils);throw"string"==typeof l?new Error(l):l}var d=function(e){var t=e.from,n=e.to;i.push("string"==typeof n?f({},n,t):f({},n.key,n.value))},h=function(e){var t=e.value,n=e.redirectTo,i=Ud.normalizeDeprecatedResult(o.deprecated(t,r._utils),u,!0);if(!1!==i)if(!0===i)r._hasDeprecationWarned(a)||r._utils.logger.warn(r._deprecatedHandler(a,n,r._utils));else{var s,c=p(i);try{for(c.s();!(s=c.n()).done;){var l=s.value.value,f={key:a,value:l};if(!r._hasDeprecationWarned(f)){var d="string"==typeof n?{key:n,value:l}:n;r._utils.logger.warn(r._deprecatedHandler(f,d,r._utils))}}}catch(h){c.e(h)}finally{c.f()}}};Ud.normalizeForwardResult(o.forward(u,r._utils),u).forEach(d);var m=Ud.normalizeRedirectResult(o.redirect(u,r._utils),u);if(m.redirect.forEach(d),"remain"in m){var v=m.remain;t[a]=a in t?o.overlap(t[a],v,r._utils):v,h({value:v})}var y,g=p(m.redirect);try{for(g.s();!(y=g.n()).done;){var b=y.value;h({value:b.from,redirectTo:b.to})}}catch(D){g.e(D)}finally{g.f()}};for(c.s();!(n=c.n()).done;)l()}catch(A){c.e(A)}finally{c.f()}var h,m=p(s);try{for(m.s();!(h=m.n()).done;){var v=h.value,y=e[v],g=this._unknownHandler(v,y,this._utils);if(g)for(var b=0,D=Object.keys(g);b<D.length;b++){var E=D[b],C=f({},E,g[E]);E in this._utils.schemas?i.push(C):Object.assign(t,C)}}}catch(A){m.e(A)}finally{m.f()}return i}}]),e}();jd.Normalizer=qd,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=qp;t.__exportStar(zp,e),t.__exportStar(Hp,e),t.__exportStar(ad,e),t.__exportStar(jd,e),t.__exportStar(ud,e)}(Bp);var zd={exports:{}},Gd=[],Hd=[],Kd=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var r=e.length,i=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;for(var a,o,u,s,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(i-=c,0===(r-=c))return i;for(var l=0,p=0;l<r;)Hd[l]=e.charCodeAt(c+l),Gd[l]=++l;for(;p<i;)for(a=t.charCodeAt(c+p),u=p++,o=p,l=0;l<r;l++)s=a===Hd[l]?u:u+1,u=Gd[l],o=Gd[l]=u>o?s>o?o+1:s:s>u?u+1:s;return o};zd.exports=Kd,zd.exports.default=Kd;for(var Wd={exports:{}},$d={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]},Jd={},Qd=0,Yd=Object.keys($d);Qd<Yd.length;Qd++){var Xd=Yd[Qd];Jd[$d[Xd]]=Xd}for(var Zd={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"]}},eh=Zd,th=0,nh=Object.keys(Zd);th<nh.length;th++){var rh=nh[th];if(!("channels"in Zd[rh]))throw new Error("missing channels property: "+rh);if(!("labels"in Zd[rh]))throw new Error("missing channel labels property: "+rh);if(Zd[rh].labels.length!==Zd[rh].channels)throw new Error("channel and label counts mismatch: "+rh);var ih=Zd[rh],ah=ih.channels,oh=ih.labels;delete Zd[rh].channels,delete Zd[rh].labels,Object.defineProperty(Zd[rh],"channels",{value:ah}),Object.defineProperty(Zd[rh],"labels",{value:oh})}Zd.rgb.hsl=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.min(n,r,i),o=Math.max(n,r,i),u=o-a;o===a?t=0:n===o?t=(r-i)/u:r===o?t=2+(i-n)/u:i===o&&(t=4+(n-r)/u),(t=Math.min(60*t,360))<0&&(t+=360);var s=(a+o)/2;return[t,100*(o===a?0:s<=.5?u/(o+a):u/(2-o-a)),100*s]},Zd.rgb.hsv=function(e){var t,n,r,i,a,o=e[0]/255,u=e[1]/255,s=e[2]/255,c=Math.max(o,u,s),l=c-Math.min(o,u,s),p=function(e){return(c-e)/6/l+.5};return 0===l?(i=0,a=0):(a=l/c,t=p(o),n=p(u),r=p(s),o===c?i=r-n:u===c?i=1/3+t-r:s===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},Zd.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[Zd.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},Zd.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Zd.rgb.keyword=function(e){var t=Jd[e];if(t)return t;for(var n,r,i,a=1/0,o=0,u=Object.keys($d);o<u.length;o++){var s=u[o],c=(i=$d[s],Math.pow((r=e)[0]-i[0],2)+Math.pow(r[1]-i[1],2)+Math.pow(r[2]-i[2],2));c<a&&(a=c,n=s)}return n},Zd.keyword.rgb=function(e){return $d[e]},Zd.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)]},Zd.rgb.lab=function(e){var t=Zd.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},Zd.hsl.rgb=function(e){var t,n,r,i=e[0]/360,a=e[1]/100,o=e[2]/100;if(0===a)return[r=255*o,r,r];for(var u=2*o-(t=o<.5?o*(1+a):o+a-o*a),s=[0,0,0],c=0;c<3;c++)(n=i+1/3*-(c-1))<0&&n++,n>1&&n--,r=6*n<1?u+6*(t-u)*n:2*n<1?t:3*n<2?u+(t-u)*(2/3-n)*6:u,s[c]=255*r;return s},Zd.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),(r+n)/2*100]},Zd.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),u=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,s,o];case 1:return[u,r,o];case 2:return[o,r,s];case 3:return[o,u,r];case 4:return[s,o,r];case 5:return[r,o,u]}},Zd.hsv.hsl=function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100,o=Math.max(a,.01);n=(2-i)*a;var u=(2-i)*o;return t=i*o,[r,100*(t=(t/=u<=1?u:2-u)||0),100*(n/=2)]},Zd.hwb.rgb=function(e){var t,n=e[0]/360,r=e[1]/100,i=e[2]/100,a=r+i;a>1&&(r/=a,i/=a);var o=Math.floor(6*n),u=1-i;t=6*n-o,0!=(1&o)&&(t=1-t);var s,c,l,p=r+t*(u-r);switch(o){default:case 6:case 0:s=u,c=p,l=r;break;case 1:s=p,c=u,l=r;break;case 2:s=r,c=u,l=p;break;case 3:s=r,c=p,l=u;break;case 4:s=p,c=r,l=u;break;case 5:s=u,c=r,l=p}return[255*s,255*c,255*l]},Zd.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Zd.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.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))]},Zd.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))]},Zd.lab.xyz=function(e){var t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;var i=Math.pow(n,3),a=Math.pow(t,3),o=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},Zd.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},Zd.lch.lab=function(e){var t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Zd.rgb.ansi16=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=d(e,3),r=n[0],i=n[1],a=n[2],o=null===t?Zd.rgb.hsv(e)[2]:t;if(0===(o=Math.round(o/50)))return 30;var u=30+(Math.round(a/255)<<2|Math.round(i/255)<<1|Math.round(r/255));return 2===o&&(u+=60),u},Zd.hsv.ansi16=function(e){return Zd.rgb.ansi16(Zd.hsv.rgb(e),e[2])},Zd.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)},Zd.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]},Zd.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]},Zd.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},Zd.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]},Zd.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),u=a-o;return t=u<=0?0:a===n?(r-i)/u%6:a===r?2+(i-n)/u:4+(n-r)/u,t/=6,[360*(t%=1),100*u,100*(u<1?o/(1-u):0)]},Zd.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Zd.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Zd.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 i=[0,0,0],a=t%1*6,o=a%1,u=1-o,s=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return s=(1-n)*r,[255*(n*i[0]+s),255*(n*i[1]+s),255*(n*i[2]+s)]},Zd.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]},Zd.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]},Zd.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)]},Zd.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Zd.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Zd.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Zd.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Zd.gray.hsl=function(e){return[0,0,e[0]]},Zd.gray.hsv=Zd.gray.hsl,Zd.gray.hwb=function(e){return[0,100,e[0]]},Zd.gray.cmyk=function(e){return[0,0,0,e[0]]},Zd.gray.lab=function(e){return[e[0],0,0]},Zd.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},Zd.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var uh=eh;function sh(e){var t=function(){for(var e={},t=Object.keys(uh),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(),i=Object.keys(uh[r]),a=i.length,o=0;o<a;o++){var u=i[o],s=t[u];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(u))}return t}function ch(e,t){return function(n){return t(e(n))}}function lh(e,t){for(var n=[t[e].parent,e],r=uh[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=ch(uh[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var ph=eh,fh=function(e){for(var t=sh(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var o=r[a];null!==t[o].parent&&(n[o]=lh(o,t))}return n},dh={};Object.keys(ph).forEach((function(e){dh[e]={},Object.defineProperty(dh[e],"channels",{value:ph[e].channels}),Object.defineProperty(dh[e],"labels",{value:ph[e].labels});var t=fh(e);Object.keys(t).forEach((function(n){var r=t[n];dh[e][n]=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(null==i)return i;i.length>1&&(n=i);var a=e(n);if("object"==typeof a)for(var o=a.length,u=0;u<o;u++)a[u]=Math.round(a[u]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}(r),dh[e][n].raw=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];return null==i?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var hh=dh;function mh(){return!1}function vh(){throw new Error("tty.ReadStream is not implemented")}function yh(){throw new Error("tty.ReadStream is not implemented")}!function(e){var t,n=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(n+t,"m")}},r=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},i=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}},a=function(e){return e},o=function(e,t,n){return[e,t,n]},u=function(e,t,n){Object.defineProperty(e,t,{get:function(){var r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},s=function(e,n,r,i){void 0===t&&(t=hh);for(var a=i?10:0,o={},u=0,s=Object.entries(t);u<s.length;u++){var c=d(s[u],2),l=c[0],p=c[1],f="ansi16"===l?"ansi":l;l===n?o[f]=e(r,a):"object"==typeof p&&(o[f]=e(p[n],a))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,t={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]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(var c=0,l=Object.entries(t);c<l.length;c++){for(var p=d(l[c],2),f=p[0],h=p[1],m=0,v=Object.entries(h);m<v.length;m++){var y=d(v[m],2),g=y[0],b=y[1];t[g]={open:"\x1b[".concat(b[0],"m"),close:"\x1b[".concat(b[1],"m")},h[g]=t[g],e.set(b[0],b[1])}Object.defineProperty(t,f,{value:h,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",u(t.color,"ansi",(function(){return s(n,"ansi16",a,!1)})),u(t.color,"ansi256",(function(){return s(r,"ansi256",a,!1)})),u(t.color,"ansi16m",(function(){return s(i,"rgb",o,!1)})),u(t.bgColor,"ansi",(function(){return s(n,"ansi16",a,!0)})),u(t.bgColor,"ansi256",(function(){return s(r,"ansi256",a,!0)})),u(t.bgColor,"ansi16m",(function(){return s(i,"rgb",o,!0)})),t}})}(Wd);var gh,bh={isatty:mh,ReadStream:vh,WriteStream:yh},Dh=If,Eh=n(Object.freeze({__proto__:null,isatty:mh,ReadStream:vh,WriteStream:yh,default:bh})),Ch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms.argv,n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},Ah=ms.env;function Th(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function xh(e,t){if(0===gh)return 0;if(Ch("color=16m")||Ch("color=full")||Ch("color=truecolor"))return 3;if(Ch("color=256"))return 2;if(e&&!t&&void 0===gh)return 0;var n=gh||0;if("dumb"===Ah.TERM)return n;if("win32"===ms.platform){var r=Dh.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Ah)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((function(e){return e in Ah}))||"codeship"===Ah.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ah)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ah.TEAMCITY_VERSION)?1:0;if("truecolor"===Ah.COLORTERM)return 3;if("TERM_PROGRAM"in Ah){var i=parseInt((Ah.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ah.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ah.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ah.TERM)||"COLORTERM"in Ah?1:n}Ch("no-color")||Ch("no-colors")||Ch("color=false")||Ch("color=never")?gh=0:(Ch("color")||Ch("colors")||Ch("color=true")||Ch("color=always"))&&(gh=1),"FORCE_COLOR"in Ah&&(gh="true"===Ah.FORCE_COLOR?1:"false"===Ah.FORCE_COLOR?0:0===Ah.FORCE_COLOR.length?1:Math.min(parseInt(Ah.FORCE_COLOR,10),3));var Sh={supportsColor:function(e){return Th(xh(e,e&&e.isTTY))},stdout:Th(xh(!0,Eh.isatty(1))),stderr:Th(xh(!0,Eh.isatty(2)))},wh={stringReplaceAll:function(e,t,n){var r=e.indexOf(t);if(-1===r)return e;var i=t.length,a=0,o="";do{o+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a)}while(-1!==r);return o+=e.substr(a)},stringEncaseCRLFWithFirstIndex:function(e,t,n,r){var i=0,a="";do{var o="\r"===e[r-1];a+=e.substr(i,(o?r-1:r)-i)+t+(o?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return a+=e.substr(i)}},kh=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Oh=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Fh=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,_h=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Nh=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Ih(e){var 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)):Nh.get(e)||e}function jh(e,t){var n,r,i=[],a=t.trim().split(/\s*,\s*/g),o=p(a);try{for(o.s();!(r=o.n()).done;){var u=r.value,s=Number(u);if(Number.isNaN(s)){if(!(n=u.match(Fh)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(_h,(function(e,t,n){return t?Ih(t):n})))}else i.push(s)}}catch(c){o.e(c)}finally{o.f()}return i}function Ph(e){Oh.lastIndex=0;for(var t,n=[];null!==(t=Oh.exec(e));){var r=t[1];if(t[2]){var i=jh(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function Bh(e,t){var n,r={},i=p(t);try{for(i.s();!(n=i.n()).done;){var a,o=n.value,u=p(o.styles);try{for(u.s();!(a=u.n()).done;){var s=a.value;r[s[0]]=o.inverse?null:s.slice(1)}}catch(b){u.e(b)}finally{u.f()}}}catch(b){i.e(b)}finally{i.f()}for(var c=e,f=0,h=Object.entries(r);f<h.length;f++){var m=d(h[f],2),v=m[0],y=m[1];if(Array.isArray(y)){var g;if(!(v in c))throw new Error("Unknown Chalk style: ".concat(v));c=y.length>0?(g=c)[v].apply(g,l(y)):c[v]}}return c}var Lh=function(e,t){var n=[],r=[],i=[];if(t.replace(kh,(function(t,a,o,u,s,c){if(a)i.push(Ih(a));else if(u){var l=i.join("");i=[],r.push(0===n.length?l:Bh(e,n)(l)),n.push({inverse:o,styles:Ph(u)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Bh(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},Rh=Wd.exports,Mh=Sh.stdout,Vh=Sh.stderr,Uh=wh.stringReplaceAll,qh=wh.stringEncaseCRLFWithFirstIndex,zh=Array.isArray,Gh=["ansi","ansi","ansi256","ansi16m"],Hh=Object.create(null),Kh=m((function e(t){return h(this,e),Wh(t)})),Wh=function(e){var t={};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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");var n=Mh?Mh.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return lm.apply(void 0,[t.template].concat(n))},Object.setPrototypeOf(t,$h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Kh,t.template};function $h(e){return Wh(e)}for(var Jh=function(){var e=d(Yh[Qh],2),t=e[0],n=e[1];Hh[t]={get:function(){var e=sm(this,um(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}}},Qh=0,Yh=Object.entries(Rh);Qh<Yh.length;Qh++)Jh();Hh.visible={get:function(){var e=sm(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var Xh=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],Zh=function(){var e=tm[em];Hh[e]={get:function(){var t=this.level;return function(){var n,r=um((n=Rh.color[Gh[t]])[e].apply(n,arguments),Rh.color.close,this._styler);return sm(this,r,this._isEmpty)}}}},em=0,tm=Xh;em<tm.length;em++)Zh();for(var nm=function(){var e=im[rm];Hh["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var n,r=um((n=Rh.bgColor[Gh[t]])[e].apply(n,arguments),Rh.bgColor.close,this._styler);return sm(this,r,this._isEmpty)}}}},rm=0,im=Xh;rm<im.length;rm++)nm();var am,om=Object.defineProperties((function(){}),Object.assign(Object.assign({},Hh),{},{level:{enumerable:!0,get:function(){return this._generator.level},set:function(e){this._generator.level=e}}})),um=function(e,t,n){var r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},sm=function(e,t,n){var r=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return zh(n[0])&&zh(n[0].raw)?cm(e,lm.apply(void 0,[e].concat(n))):cm(e,1===n.length?""+n[0]:n.join(" "))};return Object.setPrototypeOf(r,om),r._generator=e,r._styler=t,r._isEmpty=n,r},cm=function(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(void 0===n)return t;var r=n,i=r.openAll,a=r.closeAll;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=Uh(t,n.close,n.open),n=n.parent;var o=t.indexOf("\n");return-1!==o&&(t=qh(t,a,i,o)),i+t+a},lm=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0];if(!zh(i)||!zh(i.raw))return n.join(" ");for(var a=n.slice(1),o=[i.raw[0]],u=1;u<i.length;u++)o.push(String(a[u-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[u]));return void 0===am&&(am=Lh),am(e,o.join(""))};Object.defineProperties($h.prototype,Hh);var pm=$h();pm.supportsColor=Mh,pm.stderr=$h({level:Vh?Vh.level:0}),pm.stderr.supportsColor=Vh;var fm,dm=pm,hm=["_"],mm=Bp,vm=zd.exports,ym=dm,gm=Co,bm={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return mm.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return!1===n?"--no-".concat(t):!0===n?bm.key(t):""===n?"".concat(bm.key(t)," without an argument"):"".concat(bm.key(t),"=").concat(n)}},Dm=function(e){o(n,e);var t=u(n);function n(e){var r;h(this,n);var i=e.name,a=e.flags;return(r=t.call(this,{name:i,choices:a}))._flags=l(a).sort(),r}return m(n,[{key:"preprocess",value:function(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){var n=this._flags.find((function(t){return vm(t,e)<3}));if(n)return t.logger.warn(["Unknown flag ".concat(ym.yellow(t.descriptor.value(e)),","),"did you mean ".concat(ym.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}},{key:"expected",value:function(){return"a flag"}}]),n}(mm.ChoiceSchema);function Em(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.logger,i=n.isCLI,a=void 0!==i&&i,o=n.passThrough,u=void 0!==o&&o,s=u?Array.isArray(u)?function(e,t){return u.includes(e)?f({},e,t):void 0}:function(e,t){return f({},e,t)}:function(e,t,n){var r=Ao(n.schemas,hm);return mm.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:r}))},c=a?bm:mm.apiDescriptor,l=Cm(t,{isCLI:a}),p=new mm.Normalizer(l,{logger:r,unknown:s,descriptor:c}),d=!1!==r;d&&fm&&(p._hasDeprecationWarned=fm);var h=p.normalize(e);return d&&(fm=p._hasDeprecationWarned),h}function Cm(e,t){var n=t.isCLI,r=[];n&&r.push(mm.AnySchema.create({name:"_"}));var i,a=p(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;r.push(Am(o,{isCLI:n,optionInfos:e})),o.alias&&n&&r.push(mm.AliasSchema.create({name:o.alias,sourceName:o.name}))}}catch(u){a.e(u)}finally{a.f()}return r}function Am(e,t){var n,r=t.isCLI,i=t.optionInfos,a={name:e.name},o={};switch(e.type){case"int":n=mm.IntegerSchema,r&&(a.preprocess=function(e){return Number(e)});break;case"string":case"path":n=mm.StringSchema;break;case"choice":n=mm.ChoiceSchema,a.choices=e.choices.map((function(t){return"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":n=mm.BooleanSchema;break;case"flag":n=Dm,a.flags=i.flatMap((function(e){return[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)}));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?a.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:a.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(o.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(o.deprecated=!0),r&&!e.array){var u=a.preprocess||function(e){return e};a.preprocess=function(e,t,n){return t.preprocess(u(Array.isArray(e)?gm(e):e),n)}}return e.array?mm.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:function(e){return Array.isArray(e)?e:[e]}}:{}),o),{},{valueSchema:n.create(a)})):n.create(Object.assign(Object.assign({},a),o))}var Tm={normalizeApiOptions:function(e,t,n){return Em(e,t,n)},normalizeCliOptions:function(e,t,n){return Em(e,t,Object.assign({isCLI:!0},n))}},xm=kc.isNonEmptyArray;function Sm(e,t){if(!(t||{}).ignoreDecorators){var n=e.declaration&&e.declaration.decorators||e.decorators;if(xm(n))return Sm(n[0])}return e.range?e.range[0]:e.start}function wm(e){return e.range?e.range[1]:e.end}function km(e,t){return Sm(e)===Sm(t)}var Om={locStart:Sm,locEnd:wm,hasSameLocStart:km,hasSameLoc:function(e,t){return km(e,t)&&function(e,t){return wm(e)===wm(t)}(e,t)}},Fm={},_m={},Nm={};Object.defineProperty(Nm,"__esModule",{value:!0}),Nm.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,Nm.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};var Im={},jm={};Object.defineProperty(jm,"__esModule",{value:!0}),jm.isIdentifierStart=qm,jm.isIdentifierChar=zm,jm.isIdentifierName=function(e){for(var t=!0,n=0;n<e.length;n++){var r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){var i=e.charCodeAt(++n);56320==(64512&i)&&(r=65536+((1023&r)<<10)+(1023&i))}if(t){if(t=!1,!qm(r))return!1}else if(!zm(r))return!1}return!t};var Pm="\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\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\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\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\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-\u1711\u171f-\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-\u1b4c\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-\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-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\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",Bm="\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\u0898-\u089f\u08ca-\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\u0c3c\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-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\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-\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",Lm=new RegExp("["+Pm+"]"),Rm=new RegExp("["+Pm+Bm+"]");Pm=Bm=null;var Mm=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,43,17,47,20,28,22,13,52,58,1,3,0,14,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,38,6,186,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,19,72,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,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,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,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Vm=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Um(e,t){for(var n=65536,r=0,i=t.length;r<i;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}return!1}function qm(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Lm.test(String.fromCharCode(e)):Um(e,Mm)))}function zm(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Rm.test(String.fromCharCode(e)):Um(e,Mm)||Um(e,Vm))))}var Gm={};Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.isReservedWord=Qm,Gm.isStrictReservedWord=Ym,Gm.isStrictBindOnlyReservedWord=Xm,Gm.isStrictBindReservedWord=function(e,t){return Ym(e,t)||Xm(e)},Gm.isKeyword=function(e){return Wm.has(e)};var Hm=["implements","interface","let","package","private","protected","public","static","yield"],Km=["eval","arguments"],Wm=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"]),$m=new Set(Hm),Jm=new Set(Km);function Qm(e,t){return t&&"await"===e||"enum"===e}function Ym(e,t){return Qm(e,t)||$m.has(e)}function Xm(e){return Jm.has(e)}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return t.isIdentifierName}}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return t.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return t.isIdentifierStart}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return n.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return n.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return n.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return n.isStrictReservedWord}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return n.isKeyword}});var t=jm,n=Gm}(Im);var Zm,ev={exports:{}},tv=/[|\\{}()[\]^$+*?.]/g,nv=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(tv,"\\$&")},rv=If,iv=function(e,t){t=t||ms.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},av=ms.env;function ov(e){var t=function(e){if(!1===Zm)return 0;if(iv("color=16m")||iv("color=full")||iv("color=truecolor"))return 3;if(iv("color=256"))return 2;if(e&&!e.isTTY&&!0!==Zm)return 0;var t=Zm?1:0;if("win32"===ms.platform){var n=rv.release().split(".");return Number(ms.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in av)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in av}))||"codeship"===av.CI_NAME?1:t;if("TEAMCITY_VERSION"in av)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(av.TEAMCITY_VERSION)?1:0;if("truecolor"===av.COLORTERM)return 3;if("TERM_PROGRAM"in av){var r=parseInt((av.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(av.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(av.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(av.TERM)||"COLORTERM"in av?1:(av.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}iv("no-color")||iv("no-colors")||iv("color=false")?Zm=!1:(iv("color")||iv("colors")||iv("color=true")||iv("color=always"))&&(Zm=!0),"FORCE_COLOR"in av&&(Zm=0===av.FORCE_COLOR.length||0!==parseInt(av.FORCE_COLOR,10));var uv={supportsColor:ov,stdout:ov(ms.stdout),stderr:ov(ms.stderr)},sv=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,cv=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,lv=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,pv=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,fv=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function dv(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):fv.get(e)||e}function hv(e,t){var n,r,i=[],a=t.trim().split(/\s*,\s*/g),o=p(a);try{for(o.s();!(r=o.n()).done;){var u=r.value;if(isNaN(u)){if(!(n=u.match(lv)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(pv,(function(e,t,n){return t?dv(t):n})))}else i.push(Number(u))}}catch(s){o.e(s)}finally{o.f()}return i}function mv(e){cv.lastIndex=0;for(var t,n=[];null!==(t=cv.exec(e));){var r=t[1];if(t[2]){var i=hv(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function vv(e,t){var n,r={},i=p(t);try{for(i.s();!(n=i.n()).done;){var a,o=n.value,u=p(o.styles);try{for(u.s();!(a=u.n()).done;){var s=a.value;r[s[0]]=o.inverse?null:s.slice(1)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){i.e(h)}finally{i.f()}for(var c=e,l=0,f=Object.keys(r);l<f.length;l++){var d=f[l];if(Array.isArray(r[d])){if(!(d in c))throw new Error("Unknown Chalk style: ".concat(d));c=r[d].length>0?c[d].apply(c,r[d]):c[d]}}return c}var yv=function(e,t){var n=[],r=[],i=[];if(t.replace(sv,(function(t,a,o,u,s,c){if(a)i.push(dv(a));else if(u){var l=i.join("");i=[],r.push(0===n.length?l:vv(e,n)(l)),n.push({inverse:o,styles:mv(u)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(vv(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")};!function(e){var t=nv,n=Yp.exports,r=uv.stdout,i=yv,a="win32"===ms.platform&&!(ms.env.TERM||"").toLowerCase().startsWith("xterm"),o=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),s=Object.create(null);function c(e,t){t=t||{};var n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){var t={};return c(t,e),t.template=function(){var e=[].slice.call(arguments);return T.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}a&&(n.blue.open="\x1b[94m");for(var f=function(){var e=h[d];n[e].closeRe=new RegExp(t(n[e].close),"g"),s[e]={get:function(){var t=n[e];return C.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},d=0,h=Object.keys(n);d<h.length;d++)f();s.visible={get:function(){return C.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(var m=function(){var e=y[v];u.has(e)||(s[e]={get:function(){var t=this.level;return function(){var r={open:n.color[o[t]][e].apply(null,arguments),close:n.color.close,closeRe:n.color.closeRe};return C.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}})},v=0,y=Object.keys(n.color.ansi);v<y.length;v++)m();n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(var g=function(){var e=D[b];if(u.has(e))return"continue";s["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var r={open:n.bgColor[o[t]][e].apply(null,arguments),close:n.bgColor.close,closeRe:n.bgColor.closeRe};return C.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}},b=0,D=Object.keys(n.bgColor.ansi);b<D.length;b++)g();var E=Object.defineProperties((function(){}),s);function C(e,t,n){var r=function e(){return A.apply(e,arguments)};r._styles=e,r._empty=t;var i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=E,r}function A(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;var o=n.dim.open;a&&this.hasGrey&&(n.dim.open="");var u,s=p(this._styles.slice().reverse());try{for(s.s();!(u=s.n()).done;){var c=u.value;r=(r=c.open+r.replace(c.closeRe,c.open)+c.close).replace(/\r?\n/g,"".concat(c.close,"$&").concat(c.open))}}catch(l){s.e(l)}finally{s.f()}return n.dim.open=o,r}function T(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],a=1;a<t.length;a++)r.push(String(n[a-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[a]));return i(e,r.join(""))}Object.defineProperties(l.prototype,s),e.exports=l(),e.exports.supportsColor=r,e.exports.default=e.exports}(ev),Object.defineProperty(_m,"__esModule",{value:!0}),_m.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ov(t)?kv(Cv(Fv(t)),e):e},_m.getChalk=Fv,_m.shouldHighlight=Ov;var gv=Nm,bv=Im,Dv=ev.exports,Ev=new Set(["as","async","from","get","of","set"]);function Cv(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}}var Av,Tv=/\r\n|[\n\r\u2028\u2029]/,xv=/^[()[\]{}]$/,Sv=/^[a-z][\w-]*$/i,wv=function(e,t,n){if("name"===e.type){if((0,bv.isKeyword)(e.value)||(0,bv.isStrictReservedWord)(e.value,!0)||Ev.has(e.value))return"keyword";if(Sv.test(e.value)&&("<"===n[t-1]||"</"==n.substr(t-2,2)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return"punctuator"===e.type&&xv.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator"};function kv(e,t){var n,r="",i=p(Av(t));try{var a=function(){var t=n.value,i=t.type,a=t.value,o=e[i];r+=o?a.split(Tv).map((function(e){return o(e)})).join("\n"):a};for(i.s();!(n=i.n()).done;)a()}catch(o){i.e(o)}finally{i.f()}return r}function Ov(e){return!!Dv.supportsColor||e.forceColor}function Fv(e){return e.forceColor?new Dv.constructor({enabled:!0,level:1}):Dv}Av=r.mark((function e(t){var n,i;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=gv.default.exec(t))){e.next=6;break}return i=gv.matchToToken(n),e.next=4,{type:wv(i,n.index,t),value:i.value};case 4:e.next=0;break;case 6:case"end":return e.stop()}}),e)})),Object.defineProperty(Fm,"__esModule",{value:!0}),Fm.codeFrameColumns=Bv,Fm.default=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!Nv){Nv=!0;var i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";ms.emitWarning?ms.emitWarning(i,"DeprecationWarning"):(new Error(i).name="DeprecationWarning",console.warn(new Error(i)))}return Bv(e,{start:{column:n=Math.max(n,0),line:t}},r)};var _v=_m,Nv=!1;function Iv(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var jv=/\r\n|[\n\r\u2028\u2029]/;function Pv(e,t,n){var r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),a=n||{},o=a.linesAbove,u=void 0===o?2:o,s=a.linesBelow,c=void 0===s?3:s,l=r.line,p=r.column,f=i.line,d=i.column,h=Math.max(l-(u+1),0),m=Math.min(t.length,f+c);-1===l&&(h=0),-1===f&&(m=t.length);var v=f-l,y={};if(v)for(var g=0;g<=v;g++){var b=g+l;if(p)if(0===g){var D=t[b-1].length;y[b]=[p,D-p+1]}else if(g===v)y[b]=[0,d];else{var E=t[b-g].length;y[b]=[0,E]}else y[b]=!0}else y[l]=p===d?!p||[p,0]:[p,d-p];return{start:h,end:m,markerLines:y}}function Bv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n.highlightCode||n.forceColor)&&(0,_v.shouldHighlight)(n),i=(0,_v.getChalk)(n),a=Iv(i),o=function(e,t){return r?e(t):t},u=Pv(t,e.split(jv),n),s=u.start,c=u.end,l=u.markerLines,p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=(r?(0,_v.default)(e,n):e).split(jv,c).slice(s,c).map((function(e,t){var r=s+1+t,i=" ".concat(r).slice(-f),u=" ".concat(i," |"),c=l[r],p=!l[r+1];if(c){var d="";if(Array.isArray(c)){var h=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),m=c[1]||1;d=["\n ",o(a.gutter,u.replace(/\d/g," "))," ",h,o(a.marker,"^").repeat(m)].join(""),p&&n.message&&(d+=" "+o(a.message,n.message))}return[o(a.marker,">"),o(a.gutter,u),e.length>0?" ".concat(e):"",d].join("")}return" ".concat(o(a.gutter,u)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(d="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(d)),r?i.reset(d):d}var Lv=Pp.ConfigError,Rv=Om,Mv=Rv.locStart,Vv=Rv.locEnd,Uv=Object.getOwnPropertyNames,qv=Object.getOwnPropertyDescriptor;function zv(e){var t,n={},r=p(e.plugins);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.parsers){var a,o=p(Uv(i.parsers));try{for(o.s();!(a=o.n()).done;){var u=a.value;Object.defineProperty(n,u,qv(i.parsers,u))}}catch(s){o.e(s)}finally{o.f()}}}}catch(s){r.e(s)}finally{r.f()}return n}function Gv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zv(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Mv,locEnd:Vv};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Lv("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Hv={parse:function(e,t){var n=zv(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((function(e){return[e,{enumerable:!0,get:function(){return n[e].parse}}]})))),i=Gv(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){var a=t.loc;if(a){var o=Fm.codeFrameColumns;throw t.codeFrame=o(e,a,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Gv},Kv=ml,Wv=Fl,$v=Fp,Jv=Pp.UndefinedParserError,Qv=oc.getSupportInfo,Yv=Tm,Xv=Hv.resolveParser,Zv={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function ey(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}function ty(e,t){var n=Wv.basename(e).toLowerCase(),r=Qv({plugins:t}).languages.filter((function(e){return null!==e.since})),i=r.find((function(e){return e.extensions&&e.extensions.some((function(e){return n.endsWith(e)}))||e.filenames&&e.filenames.some((function(e){return e.toLowerCase()===n}))}));if(!i&&!n.includes(".")){var a=function(e){if("string"!=typeof e)return"";var t;try{t=Kv.openSync(e,"r")}catch(a){return""}try{var n=new $v(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];var i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(o){return""}finally{try{Kv.closeSync(t)}catch(u){}}}(e);i=r.find((function(e){return e.interpreters&&e.interpreters.includes(a)}))}return i&&i.parsers[0]}var ny={normalize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),r=Qv({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign(Object.assign({},Zv),Object.fromEntries(r.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=ty(n.filepath,n.plugins),!n.parser)throw new Jv("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";var a=Xv(Yv.normalizeApiOptions(n,[r.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=a.astFormat,n.locEnd=a.locEnd,n.locStart=a.locStart;var o=ey(n);n.printer=o.printers[n.astFormat];for(var u=Object.fromEntries(r.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[o.name]})).map((function(e){return[e.name,e.pluginDefaults[o.name]]}))),s=Object.assign(Object.assign({},i),u),c=0,l=Object.entries(s);c<l.length;c++){var p=d(l[c],2),f=p[0],h=p[1];null!==n[f]&&void 0!==n[f]||(n[f]=h)}return"json"===n.parser&&(n.trailingComma="none"),Yv.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Zv)},t))},hiddenDefaults:Zv,inferParser:ty},ry=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter(Boolean);if(!t||"object"!=typeof t)return t;var i,a=n.printer.massageAstNode;i=a&&a.ignoredProperties?a.ignoredProperties:new Set;for(var o={},u=0,s=Object.entries(t);u<s.length;u++){var c=d(s[u],2),l=c[0],p=c[1];i.has(l)||"function"==typeof p||(o[l]=e(p,n,t))}if(a){var f=a(t,o,r);if(null===f)return;if(f)return f}return o},iy="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 ay(e,t){var n={seen:[],stylize:uy};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),py(t)?n.showHidden=t:t&&Cy(n,t),hy(n.showHidden)&&(n.showHidden=!1),hy(n.depth)&&(n.depth=2),hy(n.colors)&&(n.colors=!1),hy(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=oy),sy(n,e,n.depth)}function oy(e,t){var n=ay.styles[t];return n?"\x1b["+ay.colors[n][0]+"m"+e+"\x1b["+ay.colors[n][1]+"m":e}function uy(e,t){return e}function sy(e,t,n){if(e.customInspect&&t&&by(t.inspect)&&t.inspect!==ay&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return dy(r)||(r=sy(e,r,n)),r}var i=function(e,t){if(hy(t))return e.stylize("undefined","undefined");if(dy(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):py(t)?e.stylize(""+t,"boolean"):fy(t)?e.stylize("null","null"):void 0}(e,t);if(i)return i;var a=Object.keys(t),o=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),gy(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return cy(t);if(0===a.length){if(by(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(my(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(yy(t))return e.stylize(Date.prototype.toString.call(t),"date");if(gy(t))return cy(t)}var s,c,l="",p=!1,f=["{","}"];return s=t,Array.isArray(s)&&(p=!0,f=["[","]"]),by(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),my(t)&&(l=" "+RegExp.prototype.toString.call(t)),yy(t)&&(l=" "+Date.prototype.toUTCString.call(t)),gy(t)&&(l=" "+cy(t)),0!==a.length||p&&0!=t.length?n<0?my(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,i){for(var a=[],o=0,u=t.length;o<u;++o)Ay(t,String(o))?a.push(ly(e,t,n,r,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(ly(e,t,n,r,i,!0))})),a}(e,t,n,o,a):a.map((function(r){return ly(e,t,n,o,r,p)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function cy(e){return"["+Error.prototype.toString.call(e)+"]"}function ly(e,t,n,r,i,a){var o,u,s;if((s=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?u=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(u=e.stylize("[Setter]","special")),Ay(r,i)||(o="["+i+"]"),u||(e.seen.indexOf(s.value)<0?(u=fy(n)?sy(e,s.value,null):sy(e,s.value,n-1)).indexOf("\n")>-1&&(u=a?u.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return" "+e})).join("\n")):u=e.stylize("[Circular]","special")),hy(o)){if(a&&i.match(/^\d+$/))return u;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+u}function py(e){return"boolean"==typeof e}function fy(e){return null===e}function dy(e){return"string"==typeof e}function hy(e){return void 0===e}function my(e){return vy(e)&&"[object RegExp]"===Ey(e)}function vy(e){return"object"==typeof e&&null!==e}function yy(e){return vy(e)&&"[object Date]"===Ey(e)}function gy(e){return vy(e)&&("[object Error]"===Ey(e)||e instanceof Error)}function by(e){return"function"==typeof e}function Dy(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Ey(e){return Object.prototype.toString.call(e)}function Cy(e,t){if(!t||!vy(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Ay(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ty(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}ay.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]},ay.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var xy,Sy=Object.prototype.hasOwnProperty,wy=Object.keys||function(e){var t=[];for(var n in e)Sy.call(e,n)&&t.push(n);return t},ky=Array.prototype.slice;function Oy(){return void 0!==xy?xy:xy="foo"===function(){}.name}function Fy(e){return Object.prototype.toString.call(e)}function _y(e){return!wp(e)&&"function"==typeof Gu.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}function Ny(e,t){e||Ry(e,!0,t,"==",My)}var Iy=/\s*function\s+([^\(\s]*)\s*/;function jy(e){if(by(e)){if(Oy())return e.name;var t=e.toString().match(Iy);return t&&t[1]}}function Py(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 By(Ly(e.actual),128)+" "+e.operator+" "+By(Ly(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||Ry;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=jy(t),a=r.indexOf("\n"+i);if(a>=0){var o=r.indexOf("\n",a+1);r=r.substring(o+1)}this.stack=r}}}function By(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function Ly(e){if(Oy()||!by(e))return ay(e);var t=jy(e);return"[Function"+(t?": "+t:"")+"]"}function Ry(e,t,n,r,i){throw new Py({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function My(e,t){e||Ry(e,!0,t,"==",My)}function Vy(e,t,n){e!=t&&Ry(e,t,n,"==",Vy)}function Uy(e,t,n){e==t&&Ry(e,t,n,"!=",Uy)}function qy(e,t,n){Gy(e,t,!1)||Ry(e,t,n,"deepEqual",qy)}function zy(e,t,n){Gy(e,t,!0)||Ry(e,t,n,"deepStrictEqual",zy)}function Gy(e,t,n,r){if(e===t)return!0;if(wp(e)&&wp(t))return 0===Ty(e,t);if(yy(e)&&yy(t))return e.getTime()===t.getTime();if(my(e)&&my(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(_y(e)&&_y(t)&&Fy(e)===Fy(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Ty(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(wp(e)!==wp(t))return!1;var i=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==i&&i===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(Dy(e)||Dy(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=Hy(e),a=Hy(t);if(i&&!a||!i&&a)return!1;if(i)return Gy(e=ky.call(e),t=ky.call(t),n);var o,u,s=wy(e),c=wy(t);if(s.length!==c.length)return!1;for(s.sort(),c.sort(),u=s.length-1;u>=0;u--)if(s[u]!==c[u])return!1;for(u=s.length-1;u>=0;u--)if(!Gy(e[o=s[u]],t[o],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Hy(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function Ky(e,t,n){Gy(e,t,!1)&&Ry(e,t,n,"notDeepEqual",Ky)}function Wy(e,t,n){Gy(e,t,!0)&&Ry(e,t,n,"notDeepStrictEqual",Wy)}function $y(e,t,n){e!==t&&Ry(e,t,n,"===",$y)}function Jy(e,t,n){e===t&&Ry(e,t,n,"!==",Jy)}function Qy(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 Yy(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&Ry(i,n,"Missing expected exception"+r);var a="string"==typeof r,o=!e&&i&&!n;if((!e&&gy(i)&&a&&Qy(i,n)||o)&&Ry(i,n,"Got unwanted exception"+r),e&&i&&n&&!Qy(i,n)||!e&&i)throw i}function Xy(e,t,n){Yy(!0,e,t,n)}function Zy(e,t,n){Yy(!1,e,t,n)}function eg(e){if(e)throw e}Ny.AssertionError=Py,iy(Py,Error),Ny.fail=Ry,Ny.ok=My,Ny.equal=Vy,Ny.notEqual=Uy,Ny.deepEqual=qy,Ny.deepStrictEqual=zy,Ny.notDeepEqual=Ky,Ny.notDeepStrictEqual=Wy,Ny.strictEqual=$y,Ny.notStrictEqual=Jy,Ny.throws=Xy,Ny.doesNotThrow=Zy,Ny.ifError=eg;var tg=n(Object.freeze({__proto__:null,default:Ny,AssertionError:Py,fail:Ry,ok:My,assert:My,equal:Vy,notEqual:Uy,deepEqual:qy,deepStrictEqual:zy,notDeepEqual:Ky,notDeepStrictEqual:Wy,strictEqual:$y,notStrictEqual:Jy,throws:Xy,doesNotThrow:Zy,ifError:eg})),ng=tg,rg=hl.builders,ig=rg.line,ag=rg.hardline,og=rg.breakParent,ug=rg.indent,sg=rg.lineSuffix,cg=rg.join,lg=rg.cursor,pg=kc.hasNewline,fg=kc.skipNewline,dg=kc.skipSpaces,hg=kc.isPreviousLineEmpty,mg=kc.addLeadingComment,vg=kc.addDanglingComment,yg=kc.addTrailingComment,gg=new WeakMap;function bg(e,t,n){if(e){var r=t.printer,i=t.locStart,a=t.locEnd;if(n){if(r.canAttachComment&&r.canAttachComment(e)){var o;for(o=n.length-1;o>=0&&!(i(n[o])<=i(e)&&a(n[o])<=a(e));--o);return void n.splice(o+1,0,e)}}else if(gg.has(e))return gg.get(e);var u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((function(e){var t=d(e,1)[0];return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t})).map((function(e){return d(e,2)[1]}));if(u){n||(n=[],gg.set(e,n));var s,c=p(u);try{for(c.s();!(s=c.n()).done;)bg(s.value,t,n)}catch(l){c.e(l)}finally{c.f()}return n}}}function Dg(e,t,n,r){for(var i,a,o=n.locStart,u=n.locEnd,s=o(t),c=u(t),l=bg(e,n),p=0,f=l.length;p<f;){var d=p+f>>1,h=l[d],m=o(h),v=u(h);if(m<=s&&c<=v)return Dg(h,t,n,h);if(v<=s)i=h,p=d+1;else{if(!(c<=m))throw new Error("Comment location overlaps with node location");a=h,f=d}}if(r&&"TemplateLiteral"===r.type){var y=r.quasis,g=wg(y,t,n);i&&wg(y,i,n)!==g&&(i=null),a&&wg(y,a,n)!==g&&(a=null)}return{enclosingNode:r,precedingNode:i,followingNode:a}}var Eg=function(){return!1},Cg=function(e){return!/[\S\n\u2028\u2029]/.test(e)};function Ag(e,t,n,r){var i=n[r],a=i.comment,o=i.precedingNode,u=t.locStart,s=t.locEnd,c=u(a);if(o)for(var l=r-1;l>=0;l--){var p=n[l],f=p.comment;if(p.precedingNode!==o||!Cg(e.slice(s(f),c)))break;c=u(f)}return pg(e,c,{backwards:!0})}function Tg(e,t,n,r){var i=n[r],a=i.comment,o=i.followingNode,u=t.locStart,s=t.locEnd,c=s(a);if(o)for(var l=r+1;l<n.length;l++){var p=n[l],f=p.comment;if(p.followingNode!==o||!Cg(e.slice(c,u(f))))break;c=s(f)}return pg(e,c)}function xg(e,t,n){var r=e.length;if(0!==r){var i,a=e[0],o=a.precedingNode,u=a.followingNode,s=a.enclosingNode,c=n.printer.getGapRegex&&n.printer.getGapRegex(s)||/^[\s(]*$/,l=n.locStart(u);for(i=r;i>0;--i){var f=e[i-1],h=f.comment,m=f.precedingNode,v=f.followingNode;ng.strictEqual(m,o),ng.strictEqual(v,u);var y=t.slice(n.locEnd(h),l);if(!c.test(y))break;l=n.locStart(h)}var g,b=p(e.entries());try{for(b.s();!(g=b.n()).done;){var D=d(g.value,2),E=D[0],C=D[1].comment;E<i?yg(o,C):mg(u,C)}}catch(S){b.e(S)}finally{b.f()}for(var A=0,T=[o,u];A<T.length;A++){var x=T[A];x.comments&&x.comments.length>1&&x.comments.sort((function(e,t){return n.locStart(e)-n.locStart(t)}))}e.length=0}}function Sg(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function wg(e,t,n){for(var r=n.locStart(t)-1,i=1;i<e.length;++i)if(r<n.locStart(e[i]))return i-1;return 0}function kg(e,t,n){var r=e.getValue();if(!r)return{};var i=r.comments||[];n&&(i=i.filter((function(e){return!n.has(e)})));var a=r===t.cursorNode;if(0===i.length){var o=a?lg:"";return{leading:o,trailing:o}}var u=[],s=[];return e.each((function(){var r=e.getValue();if(!n||!n.has(r)){var i=r.leading,a=r.trailing;i?u.push(function(e,t){var n=e.getValue(),r=[Sg(e,t)],i=t.printer,a=t.originalText,o=t.locStart,u=t.locEnd;if(i.isBlockComment&&i.isBlockComment(n)){var s=pg(a,u(n))?pg(a,o(n),{backwards:!0})?ag:ig:" ";r.push(s)}else r.push(ag);var c=fg(a,dg(a,u(n)));return!1!==c&&pg(a,c)&&r.push(ag),r}(e,t)):a&&s.push(function(e,t){var n=e.getValue(),r=Sg(e,t),i=t.printer,a=t.originalText,o=t.locStart,u=i.isBlockComment&&i.isBlockComment(n);if(pg(a,o(n),{backwards:!0})){var s=hg(a,n,o);return sg([ag,s?ag:"",r])}var c=[" ",r];return u||(c=[sg(c),og]),c}(e,t))}}),"comments"),a&&(u.unshift(lg),s.push(lg)),{leading:u,trailing:s}}var Og={attach:function(e,t,n,r){if(Array.isArray(e)){var i,a=[],o=r.locStart,u=r.locEnd,s=r.printer.handleComments,c=void 0===s?{}:s,f=c.avoidAstMutation,h=c.ownLine,m=void 0===h?Eg:h,v=c.endOfLine,y=void 0===v?Eg:v,g=c.remaining,b=void 0===g?Eg:g,D=e.map((function(i,a){return Object.assign(Object.assign({},Dg(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===a})})),E=p(D.entries());try{for(E.s();!(i=E.n()).done;){var C=d(i.value,2),A=C[0],T=C[1],x=T.comment,S=T.precedingNode,w=T.enclosingNode,k=T.followingNode,O=T.text,F=T.options,_=T.ast,N=T.isLastComment;if("json"===F.parser||"json5"===F.parser||"__js_expression"===F.parser||"__vue_expression"===F.parser){if(o(x)-o(_)<=0){mg(_,x);continue}if(u(x)-u(_)>=0){yg(_,x);continue}}var I=void 0;if(f?I=[T]:(x.enclosingNode=w,x.precedingNode=S,x.followingNode=k,I=[x,O,F,_,N]),Ag(O,F,D,A))x.placement="ownLine",m.apply(void 0,l(I))||(k?mg(k,x):S?yg(S,x):vg(w||_,x));else if(Tg(O,F,D,A))x.placement="endOfLine",y.apply(void 0,l(I))||(S?yg(S,x):k?mg(k,x):vg(w||_,x));else if(x.placement="remaining",b.apply(void 0,l(I)));else if(S&&k){var j=a.length;j>0&&a[j-1].followingNode!==k&&xg(a,O,F),a.push(T)}else S?yg(S,x):k?mg(k,x):vg(w||_,x)}}catch(R){E.e(R)}finally{E.f()}if(xg(a,n,r),!f){var P,B=p(e);try{for(B.s();!(P=B.n()).done;){var L=P.value;delete L.precedingNode,delete L.enclosingNode,delete L.followingNode}}catch(R){B.e(R)}finally{B.f()}}}},printComments:function(e,t,n,r){var i=kg(e,n,r),a=i.leading,o=i.trailing;return a||o?[a,t,o]:t},printCommentsSeparately:kg,printDanglingComments:function(e,t,n,r){var i=[],a=e.getValue();return a&&a.comments?(e.each((function(){var n=e.getValue();n.leading||n.trailing||r&&!r(n)||i.push(Sg(e,t))}),"comments"),0===i.length?"":n?cg(ag,i):ug([ag,cg(ag,i)])):""},getSortedChildNodes:bg,ensureAllCommentsPrinted:function(e){if(e){var t,n=p(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(!r.printed)throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}catch(i){n.e(i)}finally{n.f()}}}},Fg=Co;function _g(e,t){var n=Ng(e.stack,t);return-1===n?null:e.stack[n]}function Ng(e,t){for(var n=e.length-1;n>=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Ig=function(){function e(t){h(this,e),this.stack=[t]}return m(e,[{key:"getName",value:function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function(){return Fg(this.stack)}},{key:"getNode",value:function(){return _g(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getParentNode",value:function(){return _g(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}},{key:"call",value:function(e){for(var t=this.stack,n=t.length,r=Fg(t),i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];for(var u=0,s=a;u<s.length;u++){var c=s[u];r=r[c],t.push(c,r)}var l=e(this);return t.length=n,l}},{key:"callParent",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Ng(this.stack,n+1),i=this.stack.splice(r+1),a=e(this);return(t=this.stack).push.apply(t,l(i)),a}},{key:"each",value:function(e){for(var t=this.stack,n=t.length,r=Fg(t),i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];for(var u=0,s=a;u<s.length;u++){var c=s[u];r=r[c],t.push(c,r)}for(var l=0;l<r.length;++l)t.push(l,r[l]),e(this,l,r),t.length-=2;t.length=n}},{key:"map",value:function(e){for(var t=[],n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return this.each.apply(this,[function(n,r,i){t[r]=e(n,r,i)}].concat(r)),t}},{key:"try",value:function(e){var t=this.stack,n=l(t);try{return e()}finally{t.length=0,t.push.apply(t,n)}}},{key:"match",value:function(){for(var e=this.stack.length-1,t=null,n=this.stack[e--],r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];for(var o=0,u=i;o<u.length;o++){var s=u[o];if(void 0===n)return!1;var c=null;if("number"==typeof t&&(c=t,t=this.stack[e--],n=this.stack[e--]),s&&!s(n,t,c))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}},{key:"findAncestor",value:function(e){for(var t=this.stack.length-1,n=null,r=this.stack[t--];r;){var i=null;if("number"==typeof n&&(i=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,i))return r;n=this.stack[t--],r=this.stack[t--]}}}]),e}(),jg=hl.utils.stripTrailingHardline,Pg=ny.normalize,Bg=Og,Lg={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(function(e,t,i){return function(e,t,n,r){var i=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).stripTrailingHardline,a=void 0!==i&&i,o=Pg(Object.assign(Object.assign(Object.assign({},n),t),{},{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=Hv.parse(e,o),s=u.ast;e=u.text;var c=s.comments;delete s.comments,Bg.attach(c,s,e,o),o[Symbol.for("comments")]=c||[],o[Symbol.for("tokens")]=s.tokens||[];var l=r(s,o);return Bg.ensureAllCommentsPrinted(c),a?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):jg(l):l}(e,t,n,r,i)}),n)}},Rg=Ig,Mg=hl.builders,Vg=Mg.hardline,Ug=Mg.addAlignmentToDoc,qg=hl.utils.propagateBreaks,zg=Og.printComments,Gg=Lg;function Hg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.printer;r.preprocess&&(e=r.preprocess(e,t));var i=new Map,a=new Rg(e),o=u();return n>0&&(o=Ug([Vg,o],n,t.tabWidth)),qg(o),o;function u(e,t){return void 0===e||e===a?s(t):Array.isArray(e)?a.call.apply(a,[function(){return s(t)}].concat(l(e))):a.call((function(){return s(t)}),e)}function s(e){var n=a.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&i.has(n))return i.get(n);var o=Kg(a,t,u,e);return r&&i.set(n,o),o}}function Kg(t,n,r,i){var a,o,u=t.getValue(),s=n.printer;if(s.hasPrettierIgnore&&s.hasPrettierIgnore(t)){var c=function(e,t){var n,r=t.originalText,i=t[Symbol.for("comments")],a=t.locStart,o=t.locEnd,u=a(e),s=o(e),c=new Set,l=p(i);try{for(l.s();!(n=l.n()).done;){var f=n.value;a(f)>=u&&o(f)<=s&&(f.printed=!0,c.add(f))}}catch(d){l.e(d)}finally{l.f()}return{doc:r.slice(u,s),printedComments:c}}(u,n);a=c.doc,o=c.printedComments}else{if(u)try{a=Gg.printSubtree(t,r,n,Hg)}catch(t){if(e.PRETTIER_DEBUG)throw t}a||(a=s.print(t,n,r,i))}return s.willPrintOwnComments&&s.willPrintOwnComments(t,n)||(a=zg(t,a,n,o)),a}var Wg=Hg,$g=tg,Jg=Og;function Qg(e){for(var t=e.length-1;;){var n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function Yg(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,o=n.locStart,u=n.locEnd,s=o(e),c=u(e);if(!(t>c||t<s||"rangeEnd"===a&&t===s||"rangeStart"===a&&t===c)){var f,d=p(Jg.getSortedChildNodes(e,n));try{for(d.s();!(f=d.n()).done;){var h=Yg(f.value,t,n,r,[e].concat(l(i)),a);if(h)return h}}catch(m){d.e(m)}finally{d.f()}return!r||r(e,i[0])?{node:e,parentNodes:i}:void 0}}var Xg=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Zg=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function eb(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":case"__babel_estree":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 Xg.has(t.type);case"graphql":return Zg.has(t.kind);case"vue":return"root"!==t.tag}return!1}var tb={calculateRange:function(e,t,n){var r=t.rangeStart,i=t.rangeEnd,a=t.locStart,o=t.locEnd;$g.ok(i>r);var u=e.slice(r,i).search(/\S/),s=-1===u;if(!s)for(r+=u;i>r&&!/\S/.test(e[i-1]);--i);var c,f,d=Yg(n,r,t,(function(e,n){return eb(t,e,n)}),[],"rangeStart"),h=s?d:Yg(n,i,t,(function(e){return eb(t,e)}),[],"rangeEnd");if(!d||!h)return{rangeStart:0,rangeEnd:0};if(function(e){var t=e.parser;return"json"===t||"json5"===t||"json-stringify"===t}(t)){var m=function(e,t){var n=[e.node].concat(l(e.parentNodes)),r=new Set([t.node].concat(l(t.parentNodes)));return n.find((function(e){return Xg.has(e.type)&&r.has(e)}))}(d,h);c=m,f=m}else{var v=function(e,t,n){var r=n.locStart,i=n.locEnd,a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};var u,s=r(e.node),c=p(Qg(t.parentNodes));try{for(c.s();!(u=c.n()).done;){var l=u.value;if(!(r(l)>=s))break;o=l}}catch(v){c.e(v)}finally{c.f()}var f,d=i(t.node),h=p(Qg(e.parentNodes));try{for(h.s();!(f=h.n()).done;){var m=f.value;if(!(i(m)<=d))break;a=m}}catch(v){h.e(v)}finally{h.f()}return{startNode:a,endNode:o}}(d,h,t);c=v.startNode,f=v.endNode}return{rangeStart:Math.min(a(c),a(f)),rangeEnd:Math.max(o(c),o(f))}},findNodeAtOffset:Yg},nb=y,rb=hl.printer.printDocToString,ib=hl.debug.printDocToDebug,ab=kc.getAlignmentSize,ob=Oc.guessEndOfLine,ub=Oc.convertEndOfLineToChars,sb=Oc.countEndOfLineChars,cb=Oc.normalizeEndOfLine,lb=ny.normalize,pb=ry,fb=Og,db=Hv,hb=Wg,mb=tb,vb=Symbol("cursor");function yb(e,t,n){var r=t.comments;return r&&(delete t.comments,fb.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function gb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};var r=db.parse(e,t),i=r.ast,a=r.text;if(t.cursorOffset>=0){var o=mb.findNodeAtOffset(i,t.cursorOffset,t);o&&o.node&&(t.cursorNode=o.node)}var u=yb(a,i,t),s=hb(i,t,n),c=rb(s,t);if(fb.ensureAllCommentsPrinted(u),n>0){var f=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(f)),c.formatted=f+ub(t.endOfLine)}if(t.cursorOffset>=0){var d,h,m,v,y;if(t.cursorNode&&c.cursorNodeText?(d=t.locStart(t.cursorNode),h=a.slice(d,t.locEnd(t.cursorNode)),m=t.cursorOffset-d,v=c.cursorNodeStart,y=c.cursorNodeText):(d=0,h=a,m=t.cursorOffset,v=0,y=c.formatted),h===y)return{formatted:c.formatted,cursorOffset:v+m,comments:u};var g=l(h);g.splice(m,0,vb);var b,D=l(y),E=nb.diffArrays(g,D),C=v,A=p(E);try{for(A.s();!(b=A.n()).done;){var T=b.value;if(T.removed){if(T.value.includes(vb))break}else C+=T.count}}catch(x){A.e(x)}finally{A.f()}return{formatted:c.formatted,cursorOffset:C,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function bb(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function Db(e,t){var n=t.cursorOffset,r=t.rangeStart,i=t.rangeEnd;return n=bb(e,n,-1),r=bb(e,r,0),i=bb(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function Eb(e,t){var n=Db(e,t),r=n.cursorOffset,i=n.rangeStart,a=n.rangeEnd,o=n.endOfLine,u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),r--,i--,a--),"auto"===o&&(o=ob(e)),e.includes("\r")){var s=function(t){return sb(e.slice(0,Math.max(t,0)),"\r\n")};r-=s(r),i-=s(i),a-=s(a),e=cb(e)}return{hasBOM:u,text:e,options:Db(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:i,rangeEnd:a,endOfLine:o}))}}function Cb(e,t){var n=db.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Ab(e,t){var n,r=Eb(e,lb(t)),i=r.hasBOM,a=r.text,o=r.options;return o.rangeStart>=o.rangeEnd&&""!==a||o.requirePragma&&!Cb(a,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<a.length?n=function(e,t){var n=db.parse(e,t),r=n.ast,i=n.text,a=mb.calculateRange(i,t,r),o=a.rangeStart,u=a.rangeEnd,s=i.slice(o,u),c=Math.min(o,i.lastIndexOf("\n",o)+1),l=i.slice(c,o).match(/^\s*/)[0],p=ab(l,t.tabWidth),f=gb(s,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=u?t.cursorOffset-o:-1,endOfLine:"lf"}),p),d=f.formatted.trimEnd(),h=t.cursorOffset;h>u?h+=d.length-s.length:f.cursorOffset>=0&&(h=f.cursorOffset+o);var m=i.slice(0,o)+d+i.slice(u);if("lf"!==t.endOfLine){var v=ub(t.endOfLine);h>=0&&"\r\n"===v&&(h+=sb(m.slice(0,h),"\n")),m=m.replace(/\n/g,v)}return{formatted:m,cursorOffset:h,comments:f.comments}}(a,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!Cb(a,o)&&(a=o.printer.insertPragma(a)),n=gb(a,o)),i&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Tb={formatWithCursor:Ab,parse:function(e,t,n){var r=Eb(e,lb(t)),i=r.text,a=r.options,o=db.parse(i,a);return n&&(o.ast=pb(o.ast,a)),o},formatAST:function(e,t){t=lb(t);var n=hb(e,t);return rb(n,t)},formatDoc:function(e,t){return Ab(ib(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted},printToDoc:function(e,t){t=lb(t);var n=db.parse(e,t),r=n.ast;return yb(n.text,r,t),hb(r,t)},printDocToString:function(e,t){return rb(e,lb(t))}},xb=kc.getMaxContinuousCount,Sb=kc.getStringWidth,wb=kc.getAlignmentSize,kb=kc.getIndentSize,Ob=kc.skip,Fb=kc.skipWhitespace,_b=kc.skipSpaces,Nb=kc.skipNewline,Ib=kc.skipToLineEnd,jb=kc.skipEverythingButNewLine,Pb=kc.skipInlineComment,Bb=kc.skipTrailingComment,Lb=kc.hasNewline,Rb=kc.hasNewlineInRange,Mb=kc.hasSpaces,Vb=kc.isNextLineEmpty,Ub=kc.isNextLineEmptyAfterIndex,qb=kc.isPreviousLineEmpty,zb=kc.getNextNonSpaceNonCommentCharacterIndex,Gb=kc.makeString,Hb=kc.addLeadingComment,Kb=kc.addDanglingComment,Wb=kc.addTrailingComment,$b={getMaxContinuousCount:xb,getStringWidth:Sb,getAlignmentSize:wb,getIndentSize:kb,skip:Ob,skipWhitespace:Fb,skipSpaces:_b,skipNewline:Nb,skipToLineEnd:Ib,skipEverythingButNewLine:jb,skipInlineComment:Pb,skipTrailingComment:Bb,hasNewline:Lb,hasNewlineInRange:Rb,hasSpaces:Mb,isNextLineEmpty:Vb,isNextLineEmptyAfterIndex:Ub,isPreviousLineEmpty:qb,getNextNonSpaceNonCommentCharacterIndex:zb,makeString:Gb,addLeadingComment:Hb,addDanglingComment:Kb,addTrailingComment:Wb},Jb=["languageId"],Qb=function(e,t){var n=e.languageId,r=Ao(e,Jb);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))},Yb={},Xb={exports:{}};!function(){function e(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 t(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}Xb.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:e,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(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var n;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;n=e.consequent;do{if("IfStatement"===n.type&&null==n.alternate)return!0;n=t(n)}while(n);return!1},trailingStatement:t}}();var Zb={exports:{}};!function(){var e,t,n,r,i,a;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(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-\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]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],r=new Array(128),a=0;a<128;++a)r[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;Zb.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&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?r[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(t){return t<128?r[t]:e.NonAsciiIdentifierStart.test(o(t))},isIdentifierPartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierPart.test(o(t))}}}();var eD={exports:{}};!function(){var e=Zb.exports;function t(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(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 r(e,n){return"null"===e||"true"===e||"false"===e||t(e,n)}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(t){var n,r,i;if(0===t.length)return!1;if(i=t.charCodeAt(0),!e.isIdentifierStartES5(i))return!1;for(n=1,r=t.length;n<r;++n)if(i=t.charCodeAt(n),!e.isIdentifierPartES5(i))return!1;return!0}function o(t){var n,r,i,a,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,n=0,r=t.length;n<r;++n){if(55296<=(i=t.charCodeAt(n))&&i<=56319){if(++n>=r)return!1;if(!(56320<=(a=t.charCodeAt(n))&&a<=57343))return!1;i=1024*(i-55296)+(a-56320)+65536}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}eD.exports={isKeywordES5:t,isKeywordES6:n,isReservedWordES5:r,isReservedWordES6:i,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:o,isIdentifierES5:function(e,t){return a(e)&&!r(e,t)},isIdentifierES6:function(e,t){return o(e)&&!i(e,t)}}}(),Yb.ast=Xb.exports,Yb.code=Zb.exports,Yb.keyword=eD.exports;var tD=Yb.keyword.isIdentifierNameES5,nD=kc.getLast,rD=kc.hasNewline,iD=kc.skipWhitespace,aD=kc.isNonEmptyArray,oD=kc.isNextLineEmptyAfterIndex,uD=kc.getStringWidth,sD=Om.locStart,cD=Om.locEnd,lD=Om.hasSameLocStart,pD="(?:(?=.)\\s)",fD=new RegExp("^".concat(pD,"*:")),dD=new RegExp("^".concat(pD,"*::"));function hD(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function mD(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}var vD=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function yD(e){return e&&vD.has(e.type)}function gD(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function bD(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function DD(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function ED(e){return kD(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function CD(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function AD(e){return"get"===e.kind||"set"===e.kind}function TD(e){return AD(e)||lD(e,e.value)}var xD=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),SD=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"]),wD=/^(?:skip|[fx]?(?:it|describe|test))$/;function kD(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function OD(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function FD(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function _D(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function ND(e){return e.extra?e.extra.raw:e.raw}var ID,jD={"==":!0,"!=":!0,"===":!0,"!==":!0},PD={"*":!0,"/":!0,"%":!0},BD={">>":!0,">>>":!0,"<<":!0},LD={},RD=p([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries());try{for(RD.s();!(ID=RD.n()).done;){var MD,VD=d(ID.value,2),UD=VD[0],qD=VD[1],zD=p(qD);try{for(zD.s();!(MD=zD.n()).done;)v=MD.value,LD[v]=UD}catch(WQ){zD.e(WQ)}finally{zD.f()}}}catch(WQ){RD.e(WQ)}finally{RD.f()}function GD(e){return LD[e]}var HD=new WeakMap;function KD(e){if(HD.has(e))return HD.get(e);var t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push.apply(t,l(e.parameters)):Array.isArray(e.params)&&t.push.apply(t,l(e.params)),e.rest&&t.push(e.rest),HD.set(e,t),t}var WD=new WeakMap;function $D(e){if(WD.has(e))return WD.get(e);var t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),WD.set(e,t),t}function JD(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function QD(e){return e&&(e.prettierIgnore||ZD(e,YD.PrettierIgnore))}var YD={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},XD=function(e,t){if("function"==typeof e&&(t=e,e=0),e||t)return function(n,r,i){return!(e&YD.Leading&&!n.leading||e&YD.Trailing&&!n.trailing||e&YD.Dangling&&(n.leading||n.trailing)||e&YD.Block&&!hD(n)||e&YD.Line&&!mD(n)||e&YD.First&&0!==r||e&YD.Last&&r!==i.length-1||e&YD.PrettierIgnore&&!JD(n)||t&&!t(n))}};function ZD(e,t,n){if(!e||!aD(e.comments))return!1;var r=XD(t,n);return!r||e.comments.some(r)}function eE(e,t,n){if(!e||!Array.isArray(e.comments))return[];var r=XD(t,n);return r?e.comments.filter(r):e.comments}function tE(e){return kD(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var nE={getFunctionParameters:KD,iterateFunctionParametersPath:function(e,t){var n=e.getValue(),r=0,i=function(e){return t(e,r++)};n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:$D,iterateCallArgumentsPath:function(e,t){var n=e.getValue();"ImportExpression"===n.type?(e.call((function(e){return t(e,0)}),"source"),n.attributes&&e.call((function(e){return t(e,1)}),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;var t=KD(e);return t.length>0&&"RestElement"===nD(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},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){var t=e.getParentNode();return"declaration"===e.getName()&&yD(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return aD(e)&&hD(e[0])&&dD.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&aD(e.trailingComments)&&hD(e.trailingComments[0])&&fD.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return CD(t)?QD(t):ZD(t,YD.Leading,(function(t){return rD(e,cD(t))}))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||kD(e)||OD(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((function(t){return e(t,n)}));var r=n(t);return"boolean"==typeof r?r:Object.values(t).some((function(t){return e(t,n)}))},hasIgnoreComment:function(e){return QD(e.getValue())},hasNodeIgnoreComment:QD,identity:function(e){return e},isBinaryish:function(e){return xD.has(e.type)},isBlockComment:hD,isCallLikeExpression:tE,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:mD,isPrettierIgnoreComment:JD,isCallExpression:kD,isMemberExpression:OD,isExportDeclaration:yD,isFlowAnnotationComment:function(e,t){var n=sD(t),r=iD(e,cD(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t,n=0,r=p(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(DD(i)){if((n+=1)>1)return!0}else if(kD(i)){var a,o=p(i.arguments);try{for(o.s();!(a=o.n()).done;)if(DD(a.value))return!0}catch(WQ){o.e(WQ)}finally{o.f()}}}}catch(WQ){r.e(WQ)}finally{r.f()}return!1},isFunctionNotation:TD,isFunctionOrArrowExpression:DD,isGetterOrSetter:AD,isJestEachTemplateLiteral:function(e,t){var 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:CD,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){var t=e.getValue(),n=e.getParentNode();return kD(t)&&kD(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;var r=function(t){return e(t,n+1)},i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&uD(i)>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((function(e){return!e.value.raw.includes("\n")}))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&r(e.value))})):"ArrayExpression"===t.type?t.elements.every((function(e){return null===e||r(e)})):tE(t)?("ImportExpression"===t.type||e(t.callee,n))&&$D(t).every(r):OD(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 OD(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:gD,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&gD(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||TD(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!SD.has(e.type))},isSimpleNumber:FD,isSimpleTemplateLiteral:function(e){var t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");var n=e[t];return 0!==n.length&&n.every((function(e){if(ZD(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(OD(e)){for(var t=e;OD(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(ZD(t=t.object))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:bD,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&bD(e.key)&&ND(e.key).slice(1,-1)===e.key.value&&(tD(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||FD(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&_D(e)||"TaggedTemplateExpression"===e.type&&_D(e.quasi))&&!rD(t,sD(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(ED(t)&&n&&e(n))return DD(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 ED(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&wD.test(t.callee.name)||function(e){return OD(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&wD.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])||bD(t.arguments[0])))return!(t.arguments[2]&&!gD(t.arguments[2]))&&((2===t.arguments.length?DD(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&KD(t.arguments[1]).length<=1)||ED(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!CD(n.expression))return!1;var 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||lD(e,e.typeAnnotation))},isNextLineEmpty:function(e,t){var n=t.originalText;return oD(n,cD(e))},needsHardlineAfterDanglingComment:function(e){if(!ZD(e))return!1;var t=nD(eE(e,YD.Dangling));return t&&!hD(t)},rawText:ND,shouldPrintComma:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(BD[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return GD(t)===GD(e)&&"**"!==e&&(!jD[e]||!jD[t])&&!("%"===t&&PD[e]||"%"===e&&PD[t])&&(t===e||!PD[t]||!PD[e])&&(!BD[e]||!BD[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:GD,hasComment:ZD,getComments:eE,CommentCheckFlags:YD},rE=Co,iE=kc.getStringWidth,aE=kc.getIndentSize,oE=hl.builders,uE=oE.join,sE=oE.hardline,cE=oE.softline,lE=oE.group,pE=oE.indent,fE=oE.align,dE=oE.lineSuffixBoundary,hE=oE.addAlignmentToDoc,mE=hl.printer.printDocToString,vE=hl.utils.mapDoc,yE=nE.isBinaryish,gE=nE.isJestEachTemplateLiteral,bE=nE.isSimpleTemplateLiteral,DE=nE.hasComment,EE=nE.isMemberExpression;function CE(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var AE={printTemplateLiteral:function(e,t,n){var r=e.getValue();if("TemplateLiteral"===r.type&&gE(r,e.getParentNode())){var i=function(e,t,n){var r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some((function(e){return e.length>0}))){t.__inJestEach=!0;var a=e.map(n,"expressions");t.__inJestEach=!1;for(var o=[],u=a.map((function(e){return"${"+mE(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"})),s=[{hasLineBreak:!1,cells:[]}],c=1;c<r.quasis.length;c++){var f=rE(s),h=u[c-1];f.cells.push(h),h.includes("\n")&&(f.hasLineBreak=!0),r.quasis[c].value.raw.includes("\n")&&s.push({hasLineBreak:!1,cells:[]})}var m,v=Math.max.apply(Math,[i.length].concat(l(s.map((function(e){return e.cells.length}))))),y=Array.from({length:v}).fill(0),g=[{cells:i}].concat(l(s.filter((function(e){return e.cells.length>0})))),b=p(g.filter((function(e){return!e.hasLineBreak})));try{for(b.s();!(m=b.n()).done;){var D,E=m.value.cells,C=p(E.entries());try{for(C.s();!(D=C.n()).done;){var A=d(D.value,2),T=A[0],x=A[1];y[T]=Math.max(y[T],iE(x))}}catch(WQ){C.e(WQ)}finally{C.f()}}}catch(WQ){b.e(WQ)}finally{b.f()}return o.push(dE,"`",pE([sE,uE(sE,g.map((function(e){return uE(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(y[n]-iE(t))})))})))]),sE,"`"),o}}(e,n,t);if(i)return i}var a="expressions";"TSTemplateLiteralType"===r.type&&(a="types");var o=[],u=e.map(t,a),s=bE(r);return s&&(u=u.map((function(e){return mE(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted}))),o.push(dE,"`"),e.each((function(e){var i=e.getName();if(o.push(t()),i<u.length){var c=n.tabWidth,l=e.getValue(),p=aE(l.value.raw,c),f=u[i];if(!s){var d=r[a][i];(DE(d)||EE(d)||"ConditionalExpression"===d.type||"SequenceExpression"===d.type||"TSAsExpression"===d.type||yE(d))&&(f=[pE([cE,f]),cE])}var h=0===p&&l.value.raw.endsWith("\n")?fE(Number.NEGATIVE_INFINITY,f):hE(f,p,c);o.push(lE(["${",h,dE,"}"]))}}),"quasis"),o.push("`"),o},printTemplateExpressions:function(e,t){return e.map((function(e){return function(e,t){var n=e.getValue(),r=t();return DE(n)&&(r=lE([pE([cE,r]),cE])),["${",r,dE,"}"]}(e,t)}),"expressions")},escapeTemplateCharacters:function(e,t){return vE(e,(function(e){return"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):CE(e):e}))},uncookTemplateElementValue:CE},TE=hl.builders,xE=TE.indent,SE=TE.softline,wE=TE.literalline,kE=TE.dedentToRoot,OE=AE.escapeTemplateCharacters,FE=function(e,t,n){var r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(e,t){return"\\".repeat(t.length/2)+"`"})),i=function(e){var t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),a=""!==i;a&&(r=r.replace(new RegExp("^".concat(i),"gm"),""));var o=OE(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",a?xE([SE,o]):[wE,kE(o)],SE,"`"]},_E=kc.isNonEmptyArray,NE=hl.builders,IE=NE.indent,jE=NE.hardline,PE=NE.softline,BE=hl.utils,LE=BE.mapDoc,RE=BE.replaceEndOfLine,ME=BE.cleanDoc,VE=AE.printTemplateExpressions,UE=function(e,t,n){var r=e.getValue(),i=r.quasis.map((function(e){return e.value.raw})),a=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";var r=function(e,t){if(!_E(t))return e;var n=0,r=LE(ME(e),(function(e){return"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((function(e,r){return r%2==0?RE(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["`",IE([jE,r]),PE,"`"]}(n(i.reduce((function(e,t,n){return 0===n?t:e+"@prettier-placeholder-"+a+++"-id"+t}),""),{parser:"scss"},{stripTrailingHardline:!0}),r,VE(e,t))},qE=hl.builders,zE=qE.indent,GE=qE.join,HE=qE.hardline,KE=AE.escapeTemplateCharacters,WE=AE.printTemplateExpressions;function $E(e){var t,n=[],r=!1,i=e.map((function(e){return e.trim()})),a=p(i.entries());try{for(a.s();!(t=a.n()).done;){var o=d(t.value,2),u=o[0],s=o[1];""!==s&&(""===i[u-1]&&r?n.push([HE,s]):n.push(s),r=!0)}}catch(WQ){a.e(WQ)}finally{a.f()}return 0===n.length?null:GE(HE,n)}var JE=function(e,t,n){var r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";for(var a=WE(e,t),o=[],u=0;u<i;u++){var s=0===u,c=u===i-1,l=r.quasis[u].value.cooked,p=l.split("\n"),f=p.length,d=a[u],h=f>2&&""===p[0].trim()&&""===p[1].trim(),m=f>2&&""===p[f-1].trim()&&""===p[f-2].trim(),v=p.every((function(e){return/^\s*(?:#[^\n\r]*)?$/.test(e)}));if(!c&&/#[^\n\r]*$/.test(p[f-1]))return null;var y=null;(y=v?$E(p):n(l,{parser:"graphql"},{stripTrailingHardline:!0}))?(y=KE(y,!1),!s&&h&&o.push(""),o.push(y),!c&&m&&o.push("")):s||c||!h||o.push(""),d&&o.push(d)}return["`",zE([HE,GE(HE,o)]),HE,"`"]},QE=hl.builders,YE=QE.indent,XE=QE.line,ZE=QE.hardline,eC=QE.group,tC=hl.utils.mapDoc,nC=AE.printTemplateExpressions,rC=AE.uncookTemplateElementValue,iC=0,aC=function(e,t,n,r,i){var a=i.parser,o=e.getValue(),u=iC;iC=iC+1>>>0;var s=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(u,"_IN_JS")},c=o.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+s(t)})).join(""),l=nC(e,t);if(0===l.length&&0===c.trim().length)return"``";var p=new RegExp(s("(\\d+)"),"g"),f=0,d=n(c,{parser:a,__onHtmlRoot:function(e){f=e.children.length}},{stripTrailingHardline:!0}),h=tC(d,(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(p),i=0;i<n.length;i++){var a=n[i];if(i%2!=0){var o=Number(a);t.push(l[o])}else a&&(a=rC(a),r.__embeddedInHtml&&(a=a.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(a))}return t})),m=/^\s/.test(c)?" ":"",v=/\s$/.test(c)?" ":"",y="ignore"===r.htmlWhitespaceSensitivity?ZE:m&&v?XE:null;return eC(y?["`",YE([y,eC(h)]),y,"`"]:["`",m,f>1?YE(eC(h)):eC(h),v,"`"])},oC=nE.hasComment,uC=nE.CommentCheckFlags,sC=nE.isObjectProperty,cC=FE,lC=UE,pC=JE,fC=aC;function dC(e){return function(e){var 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((function(e){return"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){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return mC(n.object)||vC(n);case"CallExpression":return mC(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(mC(n.callee.object.object)||vC(n.callee.object))||"CallExpression"===n.callee.object.type&&mC(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return sC(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(hC))}(e)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return yC(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 yC(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}(e)?"html":function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return sC(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(hC))}(e)?"angular":function(e){var 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}var hC=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function mC(e){return"Identifier"===e.type&&"styled"===e.name}function vC(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function yC(e,t){return oC(e,uC.Block|uC.Leading,(function(e){return e.value===" ".concat(t," ")}))}var gC=function(e,t,n,r){var i=e.getValue();if("TemplateLiteral"===i.type&&!function(e){return e.quasis.some((function(e){return null===e.value.cooked}))}(i)){var a=dC(e);return a?"markdown"===a?cC(e,t,n):"css"===a?lC(e,t,n):"graphql"===a?pC(e,t,n):"html"===a||"angular"===a?fC(e,t,n,r,{parser:a}):void 0:void 0}},bC=nE.isBlockComment,DC=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),EC=function(e){var t,n=p(e.quasis);try{for(n.s();!(t=n.n()).done;)delete t.value.value}catch(WQ){n.e(WQ)}finally{n.f()}};function CC(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)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"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((function(e){return"jsx"===e.name.name}))){var r,i=p(t.children);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=a.type,u=a.expression;"JSXExpressionContainer"===o&&"TemplateLiteral"===u.type&&EC(u)}}catch(WQ){i.e(WQ)}finally{i.f()}}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&EC(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));var s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){var c,l=e.expression.arguments[0].properties,f=p(t.expression.arguments[0].properties.entries());try{for(f.s();!(c=f.n()).done;){var h=d(c.value,2),m=h[0],v=h[1];switch(l[m].key.name){case"styles":"ArrayExpression"===v.value.type&&EC(v.value.elements[0]);break;case"template":"TemplateLiteral"===v.value.type&&EC(v.value)}}}catch(WQ){f.e(WQ)}finally{f.f()}}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||EC(t.quasi),"TemplateLiteral"===e.type){var y=e.leadingComments&&e.leadingComments.some((function(e){return bC(e)&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}));(y||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&EC(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]}CC.ignoredProperties=DC;var AC=CC,TC={},xC={exports:{}},SC=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}};function wC(){var e=If;return wC=function(){return e},e}function kC(){var e=function(e){return e&&e.__esModule?e:{default:e}}(xC.exports);return kC=function(){return e},e}xC.exports=SC,xC.exports.graceful=function(e){return"string"==typeof e&&SC(e)||"\n"},Object.defineProperty(TC,"__esModule",{value:!0}),TC.extract=function(e){var t=e.match(_C);return t?t[0].trimLeft():""},TC.strip=function(e){var t=e.match(_C);return t&&t[0]?e.substring(t[0].length):e},TC.parse=function(e){return RC(e).pragmas},TC.parseWithComments=RC,TC.print=function(e){var t=e.comments,n=void 0===t?"":t,r=e.pragmas,i=void 0===r?{}:r,a=(0,kC().default)(n)||wC().EOL,o=" *",u=Object.keys(i),s=u.map((function(e){return MC(e,i[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+a})).join("");if(!n){if(0===u.length)return"";if(1===u.length&&!Array.isArray(i[u[0]])){var c=i[u[0]];return"".concat("/**"," ").concat(MC(u[0],c)[0]).concat(" */")}}var l=n.split(a).map((function(e){return"".concat(o," ").concat(e)})).join(a)+a;return"/**"+a+(n?l:"")+(n&&u.length?o+a:"")+s+" */"};var OC=/\*\/$/,FC=/^\/\*\*/,_C=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,NC=/(^|\s+)\/\/([^\r\n]*)/g,IC=/^(\r?\n)+/,jC=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,PC=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,BC=/(\r?\n|^) *\* ?/g,LC=[];function RC(e){var t=(0,kC().default)(e)||wC().EOL;e=e.replace(FC,"").replace(OC,"").replace(BC,"$1");for(var n="";n!==e;)n=e,e=e.replace(jC,"".concat(t,"$1 $2").concat(t));e=e.replace(IC,"").trimRight();for(var r,i=Object.create(null),a=e.replace(PC,"").replace(IC,"").trimRight();r=PC.exec(e);){var o=r[2].replace(NC,"");"string"==typeof i[r[1]]||Array.isArray(i[r[1]])?i[r[1]]=LC.concat(i[r[1]],o):i[r[1]]=o}return{comments:a,pragmas:i}}function MC(e,t){return LC.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}var VC=TC.parseWithComments,UC=TC.strip,qC=TC.extract,zC=TC.print,GC=kc.getShebang,HC=Oc.normalizeEndOfLine;function KC(e){var t=GC(e);t&&(e=e.slice(t.length+1));var n=qC(e),r=VC(n);return{shebang:t,text:e,pragmas:r.pragmas,comments:r.comments}}var WC={hasPragma:function(e){var t=Object.keys(KC(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){var t=KC(e),n=t.shebang,r=t.text,i=t.pragmas,a=t.comments,o=UC(r),u=zC({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(n?"".concat(n,"\n"):"")+HC(u)+(o.startsWith("\n")?"\n":"\n\n")+o}},$C=kc.getLast,JC=kc.hasNewline,QC=kc.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,YC=kc.getNextNonSpaceNonCommentCharacter,XC=kc.hasNewlineInRange,ZC=kc.addLeadingComment,eA=kc.addTrailingComment,tA=kc.addDanglingComment,nA=kc.getNextNonSpaceNonCommentCharacterIndex,rA=kc.isNonEmptyArray,iA=nE.isBlockComment,aA=nE.getFunctionParameters,oA=nE.isPrettierIgnoreComment,uA=nE.isJsxNode,sA=nE.hasFlowShorthandAnnotationComment,cA=nE.hasFlowAnnotationComment,lA=nE.hasIgnoreComment,pA=nE.isCallLikeExpression,fA=nE.getCallArguments,dA=nE.isCallExpression,hA=nE.isMemberExpression,mA=nE.isObjectProperty,vA=nE.getComments,yA=nE.CommentCheckFlags,gA=Om.locStart,bA=Om.locEnd;function DA(e,t){var n=(e.body||e.properties).find((function(e){return"EmptyStatement"!==e.type}));n?ZC(n,t):tA(e,t)}function EA(e,t){"BlockStatement"===e.type?DA(e,t):ZC(e,t)}function CA(e){var t=e.comment,n=e.followingNode;return!(!n||!YA(t))&&(ZC(n,t),!0)}function AA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text;return!(!r||"IfStatement"!==r.type||!i)&&(")"===YC(a,t,bA)?(eA(n,t),!0):n===r.consequent&&i===r.alternate?("BlockStatement"===n.type?eA(n,t):tA(r,t),!0):"BlockStatement"===i.type?(DA(i,t),!0):"IfStatement"===i.type?(EA(i.consequent,t),!0):r.consequent===i&&(ZC(i,t),!0))}function TA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text;return!(!r||"WhileStatement"!==r.type||!i)&&(")"===YC(a,t,bA)?(eA(n,t),!0):"BlockStatement"===i.type?(DA(i,t),!0):r.body===i&&(ZC(i,t),!0))}function xA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return!(!r||"TryStatement"!==r.type&&"CatchClause"!==r.type||!i)&&("CatchClause"===r.type&&n?(eA(n,t),!0):"BlockStatement"===i.type?(DA(i,t),!0):"TryStatement"===i.type?(EA(i.finalizer,t),!0):"CatchClause"===i.type&&(EA(i.body,t),!0))}function SA(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!hA(n)||!r||"Identifier"!==r.type)&&(ZC(n,t),!0)}function wA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text,o=n&&!XC(a,bA(n),gA(t));return!(n&&o||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!i)&&(ZC(i,t),!0)}function kA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!(!mA(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(eA(r.value.left,t),!0)}function OA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;if(r&&("ClassDeclaration"===r.type||"ClassExpression"===r.type||"DeclareClass"===r.type||"DeclareInterface"===r.type||"InterfaceDeclaration"===r.type||"TSInterfaceDeclaration"===r.type)){if(rA(r.decorators)&&(!i||"Decorator"!==i.type))return eA($C(r.decorators),t),!0;if(r.body&&i===r.body)return DA(r.body,t),!0;if(i)for(var a=0,o=["implements","extends","mixins"];a<o.length;a++){var u=o[a];if(r[u]&&i===r[u][0])return!n||n!==r.id&&n!==r.typeParameters&&n!==r.superClass?tA(r,t,u):eA(n,t),!0}}return!1}function FA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.text;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==YC(i,n,bA)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type&&"TSAbstractPropertyDefinition"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(eA(n,t),!0)}function _A(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.text;return"("===YC(i,t,bA)&&!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(eA(n,t),!0)}function NA(e){var t=e.comment,n=e.enclosingNode,r=e.text;if(!n||"ArrowFunctionExpression"!==n.type)return!1;var i=nA(r,t,bA);return!1!==i&&"=>"===r.slice(i,i+2)&&(tA(n,t),!0)}function IA(e){var t=e.comment,n=e.enclosingNode,r=e.text;return")"===YC(r,t,bA)&&(n&&(QA(n)&&0===aA(n).length||pA(n)&&0===fA(n).length)?(tA(n,t),!0):!(!n||"MethodDefinition"!==n.type&&"TSAbstractMethodDefinition"!==n.type||0!==aA(n.value).length)&&(tA(n.value,t),!0))}function jA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&i&&"FunctionTypeParam"!==i.type)return eA(n,t),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&QA(r)&&")"===YC(a,t,bA))return eA(n,t),!0;if(r&&"FunctionDeclaration"===r.type&&i&&"BlockStatement"===i.type){var o=function(){var e=aA(r);if(e.length>0)return QC(a,bA($C(e)));var t=QC(a,bA(r.id));return!1!==t&&QC(a,t+1)}();if(gA(t)>o)return DA(i,t),!0}return!1}function PA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ImportSpecifier"!==n.type)&&(ZC(n,t),!0)}function BA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"LabeledStatement"!==n.type)&&(ZC(n,t),!0)}function LA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ContinueStatement"!==n.type&&"BreakStatement"!==n.type||n.label)&&(eA(n,t),!0)}function RA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!!(dA(r)&&n&&r.callee===n&&r.arguments.length>0)&&(ZC(r.arguments[0],t),!0)}function MA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return!r||"UnionTypeAnnotation"!==r.type&&"TSUnionType"!==r.type?(i&&("UnionTypeAnnotation"===i.type||"TSUnionType"===i.type)&&oA(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1):(oA(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!n&&(eA(n,t),!0))}function VA(e){var t=e.comment,n=e.enclosingNode;return!!mA(n)&&(ZC(n,t),!0)}function UA(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,i=e.ast,a=e.isLastComment;return i&&i.body&&0===i.body.length?(a?tA(i,t):ZC(i,t),!0):n&&"Program"===n.type&&0===n.body.length&&!rA(n.directives)?(a?tA(n,t):ZC(n,t),!0):!(!r||"Program"!==r.type||0!==r.body.length||!n||"ModuleExpression"!==n.type)&&(tA(r,t),!0)}function qA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ForInStatement"!==n.type&&"ForOfStatement"!==n.type)&&(ZC(n,t),!0)}function zA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.text;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&JC(i,bA(t)))&&(eA(n,t),!0)}function GA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"AssignmentPattern"!==n.type)&&(ZC(n,t),!0)}function HA(e){var t=e.comment,n=e.enclosingNode;return!(!n||"TypeAlias"!==n.type)&&(ZC(n,t),!0)}function KA(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!n||"VariableDeclarator"!==n.type&&"AssignmentExpression"!==n.type||!r||"ObjectExpression"!==r.type&&"ArrayExpression"!==r.type&&"TemplateLiteral"!==r.type&&"TaggedTemplateExpression"!==r.type&&!iA(t))&&(ZC(r,t),!0)}function WA(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,i=e.text;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==YC(i,t,bA))&&(eA(n,t),!0)}function $A(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;if(oA(t)&&n&&"TSMappedType"===n.type&&r&&"TSTypeParameter"===r.type&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function JA(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return!(!r||"TSMappedType"!==r.type)&&(i&&"TSTypeParameter"===i.type&&i.name?(ZC(i.name,t),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(eA(n.constraint,t),!0))}function QA(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 YA(e){return iA(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var XA={handleOwnLineComment:function(e){return[$A,jA,SA,AA,TA,xA,OA,PA,qA,MA,UA,zA,GA,FA,BA].some((function(t){return t(e)}))},handleEndOfLineComment:function(e){return[CA,jA,wA,PA,AA,TA,xA,OA,BA,RA,VA,UA,HA,KA].some((function(t){return t(e)}))},handleRemainingComment:function(e){return[$A,AA,TA,kA,IA,FA,UA,NA,_A,JA,LA,WA].some((function(t){return t(e)}))},isTypeCastComment:YA,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===aA(e.value).length&&!e.value.returnType&&!rA(e.value.typeParameters)&&e.value.body)return[].concat(l(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function(e){var t=e.getValue(),n=e.getParentNode();return(t&&(uA(t)||sA(t)||dA(n)&&function(e){return cA(vA(e,yA.Leading))||cA(vA(e,yA.Trailing))}(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!lA(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}},ZA=Co,eT=nE.getFunctionParameters,tT=nE.getLeftSidePathName,nT=nE.hasFlowShorthandAnnotationComment,rT=nE.hasNakedLeftSide,iT=nE.hasNode,aT=nE.isBitwiseOperator,oT=nE.startsWithNoLookaheadToken,uT=nE.shouldFlatten,sT=nE.getPrecedence,cT=nE.isCallExpression,lT=nE.isMemberExpression,pT=nE.isObjectProperty;function fT(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(i)&&dT(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}(i))return!1;if("flow"!==t.parser&&nT(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name))||"left"===r&&"async"===i.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type||"TSNonNullExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return hT(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){for(var a=!1,o=!1,u=i;u;)switch(u.type){case"MemberExpression":o=!0,u=u.object;break;case"CallExpression":if(o||a)return"typescript"!==t.parser;a=!0,u=u.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(oT(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&oT(i,!1))return!0}switch(i.type){case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type)return!0;if("in"===i.operator&&function(e){for(var t=0,n=e.getValue();n;){var r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){var s=e.getParentNode(1);if("BinaryExpression"===s.type&&"|>"===s.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==i.type;case"ConditionalExpression":return"TSAsExpression"===i.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"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":var c=i.operator,l=i.type;if(!c&&"TSTypeAssertion"!==l)return!0;var p=sT(c),f=n.operator,d=sT(f);return d>p||"right"===r&&d===p||d===p&&!uT(f,c)||(d<p&&"%"===c?"+"===f||"-"===f:!!aT(f));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;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!(!i.argument&&"|>"===n.operator);default:return!1}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&&(!i.types||i.types.length>1))return!0;case"TSInferType":if("TSInferType"===i.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&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":var h="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===h.type||"IntersectionTypeAnnotation"===h.type||"ArrayTypeAnnotation"===h.type||"objectType"===r&&("IndexedAccessType"===h.type||"OptionalIndexedAccessType"===h.type)||"NullableTypeAnnotation"===h.type||"FunctionTypeParam"===n.type&&null===n.name&&eT(i).some((function(e){return e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type}));case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){var m=e.getParentNode(1);return"Program"===m.type||"BlockStatement"===m.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":var v=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"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!v||"ForStatement"!==v.type||v.init!==n&&v.update!==n)&&("value"!==r||"Property"!==n.type||!v||"ObjectPattern"!==v.type||!v.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"BinaryExpression":return"|>"!==n.operator||i.extra&&i.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":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":var y=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===y.type&&y.object===n)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type))for(var g=i;g;)switch(g.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":g=g.object;break;case"TaggedTemplateExpression":g=g.tag;break;case"TSNonNullExpression":g=g.expression;break;default:return!1}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&lT(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!i.extra||!i.extra.parenthesized)||"ArrayExpression"===n.type||cT(n)&&n.arguments[r]===i||"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&&!cT(n)&&!pT(n)&&"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 iT(e,(function(e){return"ObjectTypeAnnotation"===e.type&&iT(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}(i)}return!1}function dT(e){var 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(dT);break;case"ObjectProperty":if("value"===r){var i=e.getParentNode(1);return ZA(i.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(dT);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(dT);break;case"UnaryExpression":if(n.prefix)return e.callParent(dT)}return!1}function hT(e,t){var n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!fT(e,t):!(!rT(n)||"ExportDefaultDeclaration"!==r.type&&fT(e,t))&&e.call.apply(e,[function(e){return hT(e,t)}].concat(l(tT(e,n))))}var mT=fT,vT=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},yT=hl.builders,gT=yT.join,bT=yT.line,DT=yT.group,ET=yT.softline,CT=yT.indent,AT={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){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=gT([",",bT],e.map(n,"params"));return 1===e.getValue().params.length?t:["(",CT([ET,DT(t)]),ET,")"]}),"program","body",0):t.__isVueBindings?e.call((function(e){return gT([",",bT],e.map(n,"params"))}),"program","body",0):void 0}},TT=Og.printComments,xT=kc.getLast,ST=hl.builders,wT=ST.join,kT=ST.line,OT=ST.softline,FT=ST.group,_T=ST.indent,NT=ST.align,IT=ST.ifBreak,jT=ST.indentIfBreak,PT=hl.utils,BT=PT.cleanDoc,LT=PT.getDocParts,RT=PT.isConcat,MT=nE.hasLeadingOwnLineComment,VT=nE.isBinaryish,UT=nE.isJsxNode,qT=nE.shouldFlatten,zT=nE.hasComment,GT=nE.CommentCheckFlags,HT=nE.isCallExpression,KT=nE.isMemberExpression,WT=nE.isObjectProperty,$T=nE.isEnabledHackPipeline,JT=0;function QT(e,t,n,r,i){var a=e.getValue();if(!VT(a))return[FT(t())];var o=[];qT(a.operator,a.left.operator)?o=e.call((function(e){return QT(e,t,n,!0,i)}),"left"):o.push(FT(t("left")));var u,s=YT(a),c=("|>"===a.operator||"NGPipeExpression"===a.type||"|"===a.operator&&"__vue_expression"===n.parser)&&!MT(n.originalText,a.right),l="NGPipeExpression"===a.type?"|":a.operator,p="NGPipeExpression"===a.type&&a.arguments.length>0?FT(_T([OT,": ",wT([OT,":",IT(" ")],e.map(t,"arguments").map((function(e){return NT(2,FT(e))})))])):"";if(s)u=[l," ",t("right"),p];else{var f=$T(n)&&"|>"===l?e.call((function(e){return QT(e,t,n,!0,i)}),"right"):t("right");u=[c?kT:"",l,c?" ":kT,f,p]}var d=e.getParentNode(),h=zT(a.left,GT.Trailing|GT.Line),m=h||!(i&&"LogicalExpression"===a.type)&&d.type!==a.type&&a.left.type!==a.type&&a.right.type!==a.type;if(o.push(c?"":" ",m?FT(u,{shouldBreak:h}):u),r&&zT(a)){var v=BT(TT(e,o,n));return RT(v)||"fill"===v.type?LT(v):[v]}return o}function YT(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!UT(e.right))}var XT={printBinaryishExpression:function(e,t,n){var r=e.getValue(),i=e.getParentNode(),a=e.getParentNode(1),o=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),u=$T(t)&&"|>"===r.operator,s=QT(e,n,t,!1,o);if(o)return s;if(u)return FT(s);if(HT(i)&&i.callee===r||"UnaryExpression"===i.type||KT(i)&&!i.computed)return FT([_T([OT].concat(l(s))),OT]);var c="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===a.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===a.type&&1===a.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==a.type&&"ThrowStatement"!==a.type&&!HT(a)||"TemplateLiteral"===i.type,p="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"PropertyDefinition"===i.type||"TSAbstractPropertyDefinition"===i.type||"ClassPrivateProperty"===i.type||WT(i),f=VT(r.left)&&qT(r.operator,r.left.operator);if(c||YT(r)&&!f||!YT(r)&&p)return FT(s);if(0===s.length)return"";var d=UT(r.right),h=s.findIndex((function(e){return"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type})),m=s.slice(0,-1===h?1:h+1),v=s.slice(m.length,d?-1:void 0),y=Symbol("logicalChain-"+ ++JT),g=FT([].concat(l(m),[_T(v)]),{id:y});if(!d)return g;var b=xT(s);return FT([g,jT(b,{groupId:y})])},shouldInlineLogicalExpression:YT},ZT=hl.builders,ex=ZT.join,tx=ZT.line,nx=ZT.group,rx=nE.hasNode,ix=nE.hasComment,ax=nE.getComments,ox=XT.printBinaryishExpression;function ux(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var sx={printAngular:function(e,t,n){var r=e.getValue();if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),ix(r.node)?" //"+ax(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return ox(e,t,n);case"NGChainedExpression":return nx(ex([";",tx],e.map((function(e){return function(e){return rx(e.getValue(),(function(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((function(e,t){return[0===t?"":ux(e.getValue(),t,r)?" ":[";",tx],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":var i=e.getName(),a=e.getParentNode(),o=ux(r,i,a)||(1===i&&("then"===r.key.name||"else"===r.key.name)||2===i&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===a.body[i-1].type&&"then"===a.body[i-1].key.name)&&"NGMicrosyntaxExpression"===a.body[0].type;return[n("key"),o?" ":": ",n("expression")];case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(r.type),"."))}}},cx=Og.printComments,lx=Og.printDanglingComments,px=hl.builders,fx=px.line,dx=px.hardline,hx=px.softline,mx=px.group,vx=px.indent,yx=px.conditionalGroup,gx=px.fill,bx=px.ifBreak,Dx=px.lineSuffixBoundary,Ex=px.join,Cx=hl.utils.willBreak,Ax=kc.getLast,Tx=kc.getPreferredQuote,xx=nE.isJsxNode,Sx=nE.rawText,wx=nE.isLiteral,kx=nE.isCallExpression,Ox=nE.isStringLiteral,Fx=nE.isBinaryish,_x=nE.hasComment,Nx=nE.CommentCheckFlags,Ix=nE.hasNodeIgnoreComment,jx=mT,Px=XA.willPrintOwnComments,Bx=function(e){return""===e||e===fx||e===dx||e===hx};function Lx(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return wx(t)&&!Hx(t)}(r))return[n("openingElement"),n("closingElement")];var i="JSXElement"===r.type?n("openingElement"):n("openingFragment"),a="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[i].concat(l(e.map(n,"children")),[a]);r.children=r.children.map((function(e){return function(e){return"JSXExpressionContainer"===e.type&&wx(e.expression)&&" "===e.expression.value&&!_x(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var o=r.children.some(xx),u=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1,c=Cx(i)||o||s||u,f="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',m=f?" ":bx([h,hx]," "),v=function(e,t,n,r,i){var a=[];return e.each((function(e,t,o){var u=e.getValue();if(wx(u)){var s=Sx(u);if(Hx(u)){var c,l=s.split(qx);if(""===l[0]){if(a.push(""),l.shift(),/\n/.test(l[0])){var f=o[t+1];a.push(Mx(i,l[1],u,f))}else a.push(r);l.shift()}if(""===Ax(l)&&(l.pop(),c=l.pop()),0===l.length)return;var h,m=p(l.entries());try{for(m.s();!(h=m.n()).done;){var v=d(h.value,2),y=v[0],g=v[1];y%2==1?a.push(fx):a.push(g)}}catch(WQ){m.e(WQ)}finally{m.f()}if(void 0!==c)if(/\n/.test(c)){var b=o[t+1];a.push(Mx(i,Ax(a),u,b))}else a.push(r);else{var D=o[t+1];a.push(Rx(i,Ax(a),u,D))}}else/\n/.test(s)?s.match(/\n/g).length>1&&a.push("",dx):a.push("",r)}else{var E=n();a.push(E);var C=o[t+1];if(C&&Hx(C)){var A=Gx(Sx(C)).split(qx)[0];a.push(Rx(i,A,u,C))}else a.push(dx)}}),"children"),a}(e,0,n,m,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),y=r.children.some((function(e){return Hx(e)})),g=v.length-2;g>=0;g--){var b=""===v[g]&&""===v[g+1],D=v[g]===dx&&""===v[g+1]&&v[g+2]===dx,E=(v[g]===hx||v[g]===dx)&&""===v[g+1]&&v[g+2]===m,C=v[g]===m&&""===v[g+1]&&(v[g+2]===hx||v[g+2]===dx),A=v[g]===m&&""===v[g+1]&&v[g+2]===m,T=v[g]===hx&&""===v[g+1]&&v[g+2]===dx||v[g]===dx&&""===v[g+1]&&v[g+2]===hx;D&&y||b||E||A||T?v.splice(g,2):C&&v.splice(g+1,2)}for(;v.length>0&&Bx(Ax(v));)v.pop();for(;v.length>1&&Bx(v[0])&&Bx(v[1]);)v.shift(),v.shift();var x,S=[],w=p(v.entries());try{for(w.s();!(x=w.n()).done;){var k=d(x.value,2),O=k[0],F=k[1];if(F===m){if(1===O&&""===v[O-1]){if(2===v.length){S.push(h);continue}S.push([h,dx]);continue}if(O===v.length-1){S.push(h);continue}if(""===v[O-1]&&v[O-2]===dx){S.push(h);continue}}S.push(F),Cx(F)&&(c=!0)}}catch(WQ){w.e(WQ)}finally{w.f()}var _=y?gx(S):mx(S,{shouldBreak:!0});if(f)return _;var N=mx([i,vx([dx,_]),dx,a]);return c?N:yx([mx([i].concat(l(v),[a])),N])}function Rx(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?hx:dx:hx}function Mx(e,t,n,r){return e?dx:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?dx:hx:dx}function Vx(e,t,n){return function(e,t,n){var 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;var i=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),kx,(function(e){return"JSXExpressionContainer"===e.type})),a=jx(e,n);return mx([a?"":bx("("),vx([hx,t]),hx,a?"":bx(")")],{shouldBreak:i})}(e,cx(e,Lx(e,t,n),t),t)}function Ux(e,t,n){var r=e.getValue();return["{",e.call((function(e){var r=["...",n()],i=e.getValue();return _x(i)&&Px(e)?[vx([hx,cx(e,r,t)]),hx]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}var qx=new RegExp("([ \n\r\t]+)"),zx=new RegExp("[^ \n\r\t]"),Gx=function(e){return e.replace(new RegExp("(?:^"+qx.source+"|"+qx.source+"$)"),"")};function Hx(e){return wx(e)&&(zx.test(Sx(e))||!/\n/.test(Sx(e)))}var Kx={hasJsxIgnoreComment:function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&xx(t)&&xx(n)))return!1;for(var r=null,i=n.children.indexOf(t);i>0;i--){var a=n.children[i-1];if("JSXText"!==a.type||Hx(a)){r=a;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&Ix(r.expression)},printJsx:function(e,t,n){var r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return function(e,t,n){var r=e.getValue(),i=[];if(i.push(n("name")),r.value){var a;if(Ox(r.value)){var o=Sx(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),u=Tx(o,t.jsxSingleQuote?"'":'"'),s=u.escaped,c=u.quote,l=u.regex;a=[c,o=o.replace(l,s),c]}else a=n("value");i.push("=",a)}return i}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return Ex(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return Ex(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return Ux(e,t,n);case"JSXExpressionContainer":return function(e,t,n){var r=e.getValue(),i=e.getParentNode(0),a="JSXEmptyExpression"===r.expression.type||!_x(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||kx(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||xx(i)&&("ConditionalExpression"===r.expression.type||Fx(r.expression)));return mx(a?["{",n("expression"),Dx,"}"]:["{",vx([hx,n("expression")]),hx,Dx,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return Vx(e,t,n);case"JSXOpeningElement":return function(e,t,n){var r=e.getValue(),i=r.name&&_x(r.name)||r.typeParameters&&_x(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!i)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Ox(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&!_x(r.attributes[0]))return mx(["<",n("name"),n("typeParameters")," "].concat(l(e.map(n,"attributes")),[r.selfClosing?" />":">"]));var a=r.attributes.length>0&&_x(Ax(r.attributes),Nx.Trailing),o=0===r.attributes.length&&!i||(t.bracketSameLine||t.jsxBracketSameLine)&&(!i||r.attributes.length>0)&&!a,u=r.attributes&&r.attributes.some((function(e){return e.value&&Ox(e.value)&&e.value.value.includes("\n")}));return mx(["<",n("name"),n("typeParameters"),vx(e.map((function(){return[fx,n()]}),"attributes")),r.selfClosing?fx:o?">":hx,r.selfClosing?"/>":o?"":">"],{shouldBreak:u})}(e,t,n);case"JSXClosingElement":return function(e,t,n){var r=e.getValue(),i=[];i.push("</");var a=n("name");return _x(r.name,Nx.Leading|Nx.Line)?i.push(vx([dx,a]),dx):_x(r.name,Nx.Leading|Nx.Block)?i.push(" ",a):i.push(a),i.push(">"),i}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){var n=e.getValue(),r=_x(n),i=_x(n,Nx.Line),a="JSXOpeningFragment"===n.type;return[a?"<":"</",vx([i?dx:r&&!a?" ":"",lx(e,t,!0)]),i?dx:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){var n=e.getValue(),r=_x(n,Nx.Line);return[lx(e,t,!r),r?dx:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(r.type),"."))}}},Wx=Po,$x=dt,Jx=Or,Qx=Cr,Yx=nu;yi({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=$x(this),n=Jx(t),r=Yx(t,0);return r.length=Wx(r,t,t,n,0,void 0===e?1:Qx(e)),r}});var Xx,Zx=Vr,eS=Ur,tS=Object.keys||function(e){return Zx(e,eS)},nS=on,rS=pn,iS=ge,aS=tS,oS=z?Object.defineProperties:function(e,t){rS(e);for(var n,r=iS(t),i=aS(t),a=i.length,o=0;a>o;)nS.f(e,n=i[o++],r[n]);return e},uS=xe("document","documentElement"),sS=pn,cS=oS,lS=Ur,pS=Ln,fS=uS,dS=Wt,hS=Bn("IE_PROTO"),mS=function(){},vS=function(e){return"<script>"+e+"<\/script>"},yS=function(e){e.write(vS("")),e.close();var t=e.parentWindow.Object;return e=null,t},gS=function(){try{Xx=new ActiveXObject("htmlfile")}catch(e){}gS="undefined"!=typeof document?document.domain&&Xx?yS(Xx):function(){var e,t=dS("iframe");return t.style.display="none",fS.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(vS("document.F=Object")),e.close(),e.F}():yS(Xx);for(var e=lS.length;e--;)delete gS.prototype[lS[e]];return gS()};pS[hS]=!0;var bS=Object.create||function(e,t){var n;return null!==e?(mS.prototype=sS(e),n=new mS,mS.prototype=null,n[hS]=e):n=gS(),void 0===t?n:cS(n,t)},DS=on,ES=Nt("unscopables"),CS=Array.prototype;null==CS[ES]&&DS.f(CS,ES,{configurable:!0,value:bS(null)});var AS=function(e){CS[ES][e]=!0};AS("flat");var TS=kc.isNonEmptyArray,xS=hl.builders,SS=xS.indent,wS=xS.join,kS=xS.line,OS=nE.isFlowAnnotationComment;function FS(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var i=e.getParentNode(),a=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,o="DeclareFunction"===i.type&&i.id===r;return OS(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":a?"!: ":": ",n("typeAnnotation")]}var _S={printOptionalToken:function(e){var 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){var 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){var r=e.getValue();return TS(r.modifiers)?[wS(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:FS,printRestSpread:function(e,t,n){return["...",n("argument"),FS(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:SS([kS,t])}},NS=Og.printDanglingComments,IS=hl.builders,jS=IS.line,PS=IS.softline,BS=IS.hardline,LS=IS.group,RS=IS.indent,MS=IS.ifBreak,VS=IS.fill,US=kc.getLast,qS=kc.hasNewline,zS=nE.shouldPrintComma,GS=nE.hasComment,HS=nE.CommentCheckFlags,KS=nE.isNextLineEmpty,WS=nE.isNumericLiteral,$S=nE.isSignedNumericLiteral,JS=Om.locStart,QS=_S.printOptionalToken,YS=_S.printTypeAnnotation;function XS(e,t){return e.elements.length>1&&e.elements.every((function(e){return e&&(WS(e)||$S(e)&&!GS(e.argument))&&!GS(e,HS.Trailing|HS.Line,(function(e){return!qS(t.originalText,JS(e),{backwards:!0})}))}))}function ZS(e,t,n,r){var i=[],a=[];return e.each((function(e){i.push(a,LS(r())),a=[",",jS],e.getValue()&&KS(e.getValue(),t)&&a.push(PS)}),n),i}function ew(e,t,n,r){var i=[];return e.each((function(e,a,o){var u=a===o.length-1;i.push([n(),u?r:","]),u||i.push(KS(e.getValue(),t)?[BS,BS]:GS(o[a+1],HS.Leading|HS.Line)?BS:jS)}),"elements"),VS(i)}var tw={printArray:function(e,t,n){var r=e.getValue(),i=[],a="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)GS(r,HS.Dangling)?i.push(LS([a,NS(e,t),PS,"]"])):i.push(a,"]");else{var o=US(r.elements),u=!(o&&"RestElement"===o.type),s=null===o,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var i=n[t+1];if(i&&r!==i.type)return!1;var a="ArrayExpression"===r?"elements":"properties";return e[a]&&e[a].length>1})),p=XS(r,t),f=u?s?",":zS(t)?p?MS(",","",{groupId:c}):MS(","):"":"";i.push(LS([a,RS([PS,p?ew(e,t,n,f):[ZS(e,t,"elements",n),f],NS(e,t,!0)]),PS,"]"],{shouldBreak:l,id:c}))}return i.push(QS(e),YS(e,t,n)),i},printArrayItems:ZS,isConciselyPrintedArray:XS},nw=Og.printDanglingComments,rw=kc.getLast,iw=kc.getPenultimate,aw=nE.getFunctionParameters,ow=nE.hasComment,uw=nE.CommentCheckFlags,sw=nE.isFunctionCompositionArgs,cw=nE.isJsxNode,lw=nE.isLongCurriedCallExpression,pw=nE.shouldPrintComma,fw=nE.getCallArguments,dw=nE.iterateCallArgumentsPath,hw=nE.isNextLineEmpty,mw=nE.isCallExpression,vw=nE.isStringLiteral,yw=nE.isObjectProperty,gw=hl.builders,bw=gw.line,Dw=gw.hardline,Ew=gw.softline,Cw=gw.group,Aw=gw.indent,Tw=gw.conditionalGroup,xw=gw.ifBreak,Sw=gw.breakParent,ww=hl.utils.willBreak,kw=Pp.ArgExpansionBailout,Ow=tw.isConciselyPrintedArray;function Fw(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||ow(e))||"ArrayExpression"===e.type&&(e.elements.length>0||ow(e))||"TSTypeAssertion"===e.type&&Fw(e.expression)||"TSAsExpression"===e.type&&Fw(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||_w(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&Fw(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(mw(e.body)||"ConditionalExpression"===e.body.type)||cw(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function _w(e){return"BlockStatement"===e.type&&(e.body.some((function(e){return"EmptyStatement"!==e.type}))||ow(e,uw.Dangling))}var Nw=function(e,t,n){var r=e.getValue(),i="ImportExpression"===r.type,a=fw(r);if(0===a.length)return["(",nw(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===aw(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((function(e){return ow(e)}))}(a))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var o=!1,u=!1,s=a.length-1,c=[];dw(e,(function(e,r){var i=e.getNode(),a=[n()];r===s||(hw(i,t)?(0===r&&(u=!0),o=!0,a.push(",",Dw,Dw)):a.push(",",bw)),c.push(a)}));var p=i||r.callee&&"Import"===r.callee.type||!pw(t,"all")?"":",";function f(){return Cw(["(",Aw([bw].concat(c)),p,bw,")"],{shouldBreak:!0})}if(o||"Decorator"!==e.getParentNode().type&&sw(a))return f();var h=function(e){if(2!==e.length)return!1;var t=d(e,2),n=t[0],r=t[1];return!("ModuleExpression"!==n.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&yw(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&vw(e.properties[0].value)&&"module"===e.properties[0].value.value}(r))||!ow(n)&&("FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!Fw(r)}(a),m=function(e,t){var n=rw(e),r=iw(e);return!ow(n,uw.Leading)&&!ow(n,uw.Trailing)&&Fw(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&Ow(n,t))}(a,t);if(h||m){if(h?c.slice(1).some(ww):c.slice(0,-1).some(ww))return f();var v=[];try{e.try((function(){dw(e,(function(e,t){h&&0===t&&(v=[[n([],{expandFirstArg:!0}),c.length>1?",":"",u?Dw:bw,u?Dw:""]].concat(l(c.slice(1)))),m&&t===s&&(v=[].concat(l(c.slice(0,-1)),[n([],{expandLastArg:!0})]))}))}))}catch(e){if(e instanceof kw)return f();throw e}return[c.some(ww)?Sw:"",Tw([["("].concat(l(v),[")"]),h?["(",Cw(v[0],{shouldBreak:!0})].concat(l(v.slice(1)),[")"]):["("].concat(l(c.slice(0,-1)),[Cw(rw(v),{shouldBreak:!0}),")"]),f()])]}var y=["(",Aw([Ew].concat(c)),xw(p),Ew,")"];return lw(e)?y:Cw(y,{shouldBreak:c.some(ww)||o})},Iw=hl.builders,jw=Iw.softline,Pw=Iw.group,Bw=Iw.indent,Lw=Iw.label,Rw=nE.isNumericLiteral,Mw=nE.isMemberExpression,Vw=nE.isCallExpression,Uw=_S.printOptionalToken;function qw(e,t,n){var r=n("property"),i=e.getValue(),a=Uw(e);return i.computed?!i.property||Rw(i.property)?[a,"[",r,"]"]:Pw([a,"[",Bw([jw,r]),jw,"]"]):[a,".",r]}var zw={printMemberExpression:function(e,t,n){var r,i=e.getValue(),a=e.getParentNode(),o=0;do{r=e.getParentNode(o),o++}while(r&&(Mw(r)||"TSNonNullExpression"===r.type));var u=n("object"),s=qw(e,t,n),c=r&&("NewExpression"===r.type||"BindExpression"===r.type||"AssignmentExpression"===r.type&&"Identifier"!==r.left.type)||i.computed||"Identifier"===i.object.type&&"Identifier"===i.property.type&&!Mw(a)||("AssignmentExpression"===a.type||"VariableDeclarator"===a.type)&&(Vw(i.object)&&i.object.arguments.length>0||"TSNonNullExpression"===i.object.type&&Vw(i.object.expression)&&i.object.expression.arguments.length>0||"member-chain"===u.label);return Lw("member-chain"===u.label?"member-chain":"member",[u,c?s:Pw(Bw([jw,s]))])},printMemberLookup:qw},Gw=Og.printComments,Hw=kc.getLast,Kw=kc.isNextLineEmptyAfterIndex,Ww=kc.getNextNonSpaceNonCommentCharacterIndex,$w=mT,Jw=nE.isCallExpression,Qw=nE.isMemberExpression,Yw=nE.isFunctionOrArrowExpression,Xw=nE.isLongCurriedCallExpression,Zw=nE.isMemberish,ek=nE.isNumericLiteral,tk=nE.isSimpleCallArgument,nk=nE.hasComment,rk=nE.CommentCheckFlags,ik=nE.isNextLineEmpty,ak=Om.locEnd,ok=hl.builders,uk=ok.join,sk=ok.hardline,ck=ok.group,lk=ok.indent,pk=ok.conditionalGroup,fk=ok.breakParent,dk=ok.label,hk=hl.utils.willBreak,mk=Nw,vk=zw.printMemberLookup,yk=_S.printOptionalToken,gk=_S.printFunctionTypeParameters,bk=_S.printBindExpressionCallee,Dk=function(e,t,n){var r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,a=[];function o(e){var n=t.originalText,r=Ww(n,e,ak);return")"===n.charAt(r)?!1!==r&&Kw(n,r+1):ik(e,t)}function u(e){var r=e.getValue();Jw(r)&&(Zw(r.callee)||Jw(r.callee))?(a.unshift({node:r,printed:[Gw(e,[yk(e),gk(e,t,n),mk(e,t,n)],t),o(r)?sk:""]}),e.call((function(e){return u(e)}),"callee")):Zw(r)?(a.unshift({node:r,needsParens:$w(e,t),printed:Gw(e,Qw(r)?vk(e,t,n):bk(e,t,n),t)}),e.call((function(e){return u(e)}),"object")):"TSNonNullExpression"===r.type?(a.unshift({node:r,printed:Gw(e,"!",t)}),e.call((function(e){return u(e)}),"expression")):a.unshift({node:r,printed:n()})}var s=e.getValue();a.unshift({node:s,printed:[yk(e),gk(e,t,n),mk(e,t,n)]}),s.callee&&e.call((function(e){return u(e)}),"callee");for(var c=[],p=[a[0]],f=1;f<a.length&&("TSNonNullExpression"===a[f].node.type||Jw(a[f].node)||Qw(a[f].node)&&a[f].node.computed&&ek(a[f].node.property));++f)p.push(a[f]);if(!Jw(a[0].node))for(;f+1<a.length&&Zw(a[f].node)&&Zw(a[f+1].node);++f)p.push(a[f]);c.push(p),p=[];for(var d=!1;f<a.length;++f){if(d&&Zw(a[f].node)){if(a[f].node.computed&&ek(a[f].node.property)){p.push(a[f]);continue}c.push(p),p=[],d=!1}(Jw(a[f].node)||"ImportExpression"===a[f].node.type)&&(d=!0),p.push(a[f]),nk(a[f].node,rk.Trailing)&&(c.push(p),p=[],d=!1)}function h(e){return/^[A-Z]|^[$_]+$/.test(e)}p.length>0&&c.push(p);var m=c.length>=2&&!nk(c[1][0].node)&&function(e){var n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){var r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(h(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}var a=Hw(e[0]).node;return Qw(a)&&"Identifier"===a.property.type&&(h(a.property.name)||n)}(c);function v(e){var t=e.map((function(e){return e.printed}));return e.length>0&&Hw(e).needsParens?["("].concat(l(t),[")"]):t}var y=c.map(v),g=y,b=m?3:2,D=c.flat(),E=D.slice(1,-1).some((function(e){return nk(e.node,rk.Leading)}))||D.slice(0,-1).some((function(e){return nk(e.node,rk.Trailing)}))||c[b]&&nk(c[b][0].node,rk.Leading);if(c.length<=b&&!E)return Xw(e)?g:ck(g);var C,A=Hw(c[m?1:0]).node,T=!Jw(A)&&o(A),x=[v(c[0]),m?c.slice(1,2).map(v):"",T?sk:"",function(e){return 0===e.length?"":lk(ck([sk,uk(sk,e.map(v))]))}(c.slice(m?2:1))],S=a.map((function(e){return e.node})).filter(Jw);return C=E||S.length>2&&S.some((function(e){return!e.arguments.every((function(e){return tk(e,0)}))}))||y.slice(0,-1).some(hk)||function(){var e=Hw(Hw(c)).node,t=Hw(y);return Jw(e)&&hk(t)&&S.slice(0,-1).some((function(e){return e.arguments.some(Yw)}))}()?ck(x):[hk(g)||T?fk:"",pk([g,x])],dk("member-chain",C)},Ek=hl.builders,Ck=Ek.join,Ak=Ek.group,Tk=mT,xk=nE.getCallArguments,Sk=nE.hasFlowAnnotationComment,wk=nE.isCallExpression,kk=nE.isMemberish,Ok=nE.isStringLiteral,Fk=nE.isTemplateOnItsOwnLine,_k=nE.isTestCall,Nk=nE.iterateCallArgumentsPath,Ik=Dk,jk=Nw,Pk=_S.printOptionalToken,Bk=_S.printFunctionTypeParameters,Lk={printCallExpression:function(e,t,n){var r=e.getValue(),i=e.getParentNode(),a="NewExpression"===r.type,o="ImportExpression"===r.type,u=Pk(e),s=xk(r);if(s.length>0&&(!o&&!a&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){var n=xk(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&Ok(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,i)||1===s.length&&Fk(s[0],t.originalText)||!a&&_k(r,i))){var c=[];return Nk(e,(function(){c.push(n())})),[a?"new ":"",n("callee"),u,Bk(e,t,n),"(",Ck(", ",c),")"]}var l=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&Sk(r.callee.trailingComments);if(l&&(r.callee.trailingComments[0].printed=!0),!o&&!a&&kk(r.callee)&&!e.call((function(e){return Tk(e,t)}),"callee"))return Ik(e,t,n);var p=[a?"new ":"",o?"import":n("callee"),u,l?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",Bk(e,t,n),jk(e,t,n)];return o||wk(r.callee)?Ak(p):p}},Rk=kc.isNonEmptyArray,Mk=kc.getStringWidth,Vk=hl.builders,Uk=Vk.line,qk=Vk.group,zk=Vk.indent,Gk=Vk.indentIfBreak,Hk=hl.utils,Kk=Hk.cleanDoc,Wk=Hk.willBreak,$k=Hk.canBreak,Jk=nE.hasLeadingOwnLineComment,Qk=nE.isBinaryish,Yk=nE.isStringLiteral,Xk=nE.isLiteral,Zk=nE.isNumericLiteral,eO=nE.isCallExpression,tO=nE.isMemberExpression,nO=nE.getCallArguments,rO=nE.rawText,iO=nE.hasComment,aO=nE.isSignedNumericLiteral,oO=nE.isObjectProperty,uO=XT.shouldInlineLogicalExpression,sO=Lk.printCallExpression;function cO(e,t,n,r,i,a){var o=function(e,t,n,r,i){var a=e.getValue(),o=a[i];if(!o)return"only-left";var u=!lO(o);if(e.match(lO,pO,(function(e){return!u||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type})))return u?"ArrowFunctionExpression"===o.type&&"ArrowFunctionExpression"===o.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!u&&lO(o.right)||Jk(t.originalText,o))return"break-after-operator";if("CallExpression"===o.type&&"require"===o.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(pO(e)){var t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((function(e){return oO(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)}))}return!1}(a)||function(e){var t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(e);if(Rk(t)){var n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((function(e){return e[n]||e.default})))return!0}return!1}(a)||function(e){if("VariableDeclarator"!==e.type)return!1;var t=e.id.typeAnnotation;if(!t||!t.typeAnnotation)return!1;var n=dO(t.typeAnnotation);return Rk(n)&&n.length>1&&n.some((function(e){return Rk(dO(e))||"TSConditionalType"===e.type}))}(a)||fO(a)&&$k(r))return"break-lhs";var s=function(e,t,n){if(!oO(e))return!1;var r=3;return"string"==typeof(t=Kk(t))&&Mk(t)<n.tabWidth+r}(a,r,t);return e.call((function(){return function(e,t,n,r){var i=e.getValue();if(Qk(i)&&!uO(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":var a=i.test;return Qk(a)&&!uO(a);case"ClassExpression":return Rk(i.decorators)}if(r)return!1;for(var o=i,u=[];;)if("UnaryExpression"===o.type)o=o.argument,u.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,u.push("expression")}return!(!Yk(o)&&!e.call.apply(e,[function(){return hO(e,t,n)}].concat(u)))}(e,t,n,s)}),i)?"break-after-operator":s||"TemplateLiteral"===o.type||"TaggedTemplateExpression"===o.type||"BooleanLiteral"===o.type||Zk(o)||"ClassExpression"===o.type?"never-break-after-operator":"fluid"}(e,t,n,r,a),u=n(a,{assignmentLayout:o});switch(o){case"break-after-operator":return qk([qk(r),i,qk(zk([Uk,u]))]);case"never-break-after-operator":return qk([qk(r),i," ",u]);case"fluid":var s=Symbol("assignment");return qk([qk(r),i,qk(zk(Uk),{id:s}),Gk(u,{groupId:s})]);case"break-lhs":return qk([r,i," ",qk(u)]);case"chain":return[qk(r),i,Uk,u];case"chain-tail":return[qk(r),i,zk([Uk,u])];case"chain-tail-arrow-chain":return[qk(r),i,u];case"only-left":return r}}function lO(e){return"AssignmentExpression"===e.type}function pO(e){return lO(e)||"VariableDeclarator"===e.type}function fO(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function dO(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function hO(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),a=function(){return hO(e,t,n,!0)};if("TSNonNullExpression"===i.type)return e.call(a,"expression");if(eO(i)){if("member-chain"===sO(e,t,n).label)return!1;var o=nO(i);return!!(0===o.length||1===o.length&&mO(o[0],t))&&!vO(i,n)&&e.call(a,"callee")}return tO(i)?e.call(a,"object"):r&&("Identifier"===i.type||"ThisExpression"===i.type)}function mO(e,t){var n=t.printWidth;if(iO(e))return!1;var r=.25*n;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||aO(e)&&!iO(e.argument))return!0;var i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=r:Yk(e)?rO(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):Xk(e)}function vO(e,t){var n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(Rk(n)){if(n.length>1)return!0;if(1===n.length){var r=n[0];if("TSUnionType"===r.type||"UnionTypeAnnotation"===r.type||"TSIntersectionType"===r.type||"IntersectionTypeAnnotation"===r.type)return!0}var i=e.typeParameters?"typeParameters":"typeArguments";if(Wk(t(i)))return!0}return!1}var yO={printVariableDeclarator:function(e,t,n){return cO(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){var r=e.getValue();return cO(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:cO,isArrowFunctionVariableDeclarator:fO},gO=kc.getNextNonSpaceNonCommentCharacter,bO=Og.printDanglingComments,DO=hl.builders,EO=DO.line,CO=DO.hardline,AO=DO.softline,TO=DO.group,xO=DO.indent,SO=DO.ifBreak,wO=hl.utils,kO=wO.removeLines,OO=wO.willBreak,FO=nE.getFunctionParameters,_O=nE.iterateFunctionParametersPath,NO=nE.isSimpleType,IO=nE.isTestCall,jO=nE.isTypeAnnotationAFunction,PO=nE.isObjectType,BO=nE.isObjectTypePropertyAFunction,LO=nE.hasRestParameter,RO=nE.shouldPrintComma,MO=nE.hasComment,VO=nE.isNextLineEmpty,UO=Om.locEnd,qO=Pp.ArgExpansionBailout,zO=_S.printFunctionTypeParameters;function GO(e){if(!e)return!1;var t=FO(e);if(1!==t.length)return!1;var n=d(t,1)[0];return!MO(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&PO(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&PO(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 HO={printFunctionParameters:function(e,t,n,r,i){var a=e.getValue(),o=FO(a),u=i?zO(e,n,t):"";if(0===o.length)return[u,"(",bO(e,n,!0,(function(e){return")"===gO(n.originalText,e,UO)})),")"];var s=e.getParentNode(),c=IO(s),l=GO(a),p=[];if(_O(e,(function(e,r){var i=r===o.length-1;i&&a.rest&&p.push("..."),p.push(t()),i||(p.push(","),c||l?p.push(" "):VO(o[r],n)?p.push(CO,CO):p.push(EO))})),r){if(OO(u)||OO(p))throw new qO;return TO([kO(u),"(",kO(p),")"])}var f=o.every((function(e){return!e.decorators}));return l&&f||c?[u,"("].concat(p,[")"]):(BO(s)||jO(s)||"TypeAlias"===s.type||"UnionTypeAnnotation"===s.type||"TSUnionType"===s.type||"IntersectionTypeAnnotation"===s.type||"FunctionTypeAnnotation"===s.type&&s.returnType===a)&&1===o.length&&null===o[0].name&&a.this!==o[0]&&o[0].typeAnnotation&&null===a.typeParameters&&NO(o[0].typeAnnotation)&&!a.rest?"always"===n.arrowParens?["("].concat(p,[")"]):p:[u,"(",xO([AO].concat(p)),SO(!LO(a)&&RO(n,"all")?",":""),AO,")"]},shouldHugFunctionParameters:GO,shouldGroupFunctionParameters:function(e,t){var n=function(e){var t;return e.returnType?(t=e.returnType).typeAnnotation&&(t=t.typeAnnotation):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;var r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){var i=r[0];if(i.constraint||i.default)return!1}}return 1===FO(e).length&&(PO(n)||OO(t))}},KO=Og.printComments,WO=Og.printDanglingComments,$O=kc.getLast,JO=kc.isNonEmptyArray,QO=hl.builders,YO=QO.group,XO=QO.join,ZO=QO.line,eF=QO.softline,tF=QO.indent,nF=QO.align,rF=QO.ifBreak,iF=mT,aF=Om.locStart,oF=nE.isSimpleType,uF=nE.isObjectType,sF=nE.hasLeadingOwnLineComment,cF=nE.isObjectTypePropertyAFunction,lF=nE.shouldPrintComma,pF=yO.printAssignment,fF=HO.printFunctionParameters,dF=HO.shouldGroupFunctionParameters,hF=tw.printArrayItems;function mF(e){if(oF(e)||uF(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,n=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===t&&n)return!0}return!1}var vF={printOpaqueType:function(e,t,n){var r=t.semi?";":"",i=e.getValue(),a=[];return a.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&a.push(": ",n("supertype")),i.impltype&&a.push(" = ",n("impltype")),a.push(r),a},printTypeAlias:function(e,t,n){var r=t.semi?";":"",i=e.getValue(),a=[];i.declare&&a.push("declare "),a.push("type ",n("id"),n("typeParameters"));var o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[pF(e,t,n,a," =",o),r]},printIntersectionType:function(e,t,n){for(var r=e.getValue(),i=e.map(n,"types"),a=[],o=!1,u=0;u<i.length;++u)0===u?a.push(i[u]):uF(r.types[u-1])&&uF(r.types[u])?a.push([" & ",o?tF(i[u]):i[u]]):uF(r.types[u-1])||uF(r.types[u])?(u>1&&(o=!0),a.push(" & ",u>1?tF(i[u]):i[u])):a.push(tF([" &",ZO,i[u]]));return YO(a)},printUnionType:function(e,t,n){var r=e.getValue(),i=e.getParentNode(),a=!("TypeParameterInstantiation"===i.type||"TSTypeParameterInstantiation"===i.type||"GenericTypeAnnotation"===i.type||"TSTypeReference"===i.type||"TSTypeAssertion"===i.type||"TupleTypeAnnotation"===i.type||"TSTupleType"===i.type||"FunctionTypeParam"===i.type&&!i.name&&e.getParentNode(1).this!==i||("TypeAlias"===i.type||"VariableDeclarator"===i.type||"TSTypeAliasDeclaration"===i.type)&&sF(t.originalText,r)),o=mF(r),u=e.map((function(e){var r=n();return o||(r=nF(2,r)),KO(e,r,t)}),"types");if(o)return XO(" | ",u);var s=a&&!sF(t.originalText,r),c=[rF([s?ZO:"","| "]),XO([ZO,"| "],u)];return iF(e,t)?YO([tF(c),eF]):"TupleTypeAnnotation"===i.type&&i.types.length>1||"TSTupleType"===i.type&&i.elementTypes.length>1?YO([tF([rF(["(",eF]),c]),eF,rF(")")]):YO(a?tF(c):c)},printFunctionType:function(e,t,n){var r=e.getValue(),i=[],a=e.getParentNode(0),o=e.getParentNode(1),u=e.getParentNode(2),s="TSFunctionType"===r.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&aF(a)===aF(r)||"ObjectTypeCallProperty"===a.type||u&&"DeclareFunction"===u.type),c=s&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),l=c&&s&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===o.type;cF(a)&&(s=!0,c=!0),l&&i.push("(");var p=fF(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[s?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=dF(r,f);return i.push(d?YO(p):p),f&&i.push(f),l&&i.push(")"),YO(i)},printTupleType:function(e,t,n){var r=e.getValue(),i="TSTupleType"===r.type?"elementTypes":"types",a=r[i],o=JO(a),u=o&&"TSRestType"===$O(a).type,s=o?eF:"";return YO(["[",tF([s,hF(e,t,i,n)]),rF(o&&lF(t,"all")&&!u?",":""),WO(e,t,!0),s,"]"])},printIndexedAccessType:function(e,t,n){var r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]},shouldHugType:mF},yF=Og.printDanglingComments,gF=hl.builders,bF=gF.join,DF=gF.line,EF=gF.hardline,CF=gF.softline,AF=gF.group,TF=gF.indent,xF=gF.ifBreak,SF=nE.isTestCall,wF=nE.hasComment,kF=nE.CommentCheckFlags,OF=nE.isTSXFile,FF=nE.shouldPrintComma,_F=nE.getFunctionParameters,NF=nE.isObjectType,IF=kc.createGroupIdMapper,jF=vF.shouldHugType,PF=yO.isArrowFunctionVariableDeclarator,BF=IF("typeParameters");function LF(e,t){var n=e.getValue();if(!wF(n,kF.Dangling))return"";var r=!wF(n,kF.Line),i=yF(e,t,r);return r?i:[i,EF]}var RF={printTypeParameter:function(e,t,n){var r=e.getValue(),i=[],a=e.getParentNode();return"TSMappedType"===a.type?(i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),a.nameType&&i.push(" as ",e.callParent((function(){return n("nameType")}))),i.push("]"),i):(r.variance&&i.push(n("variance")),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default")),i)},printTypeParameters:function(e,t,n,r){var i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return n(r);var a=e.getNode(2),o=a&&SF(a),u=e.match((function(e){return!(1===e[r].length&&NF(e[r][0]))}),void 0,(function(e,t){return"typeAnnotation"===t}),(function(e){return"Identifier"===e.type}),PF);if(!u&&(o||0===i[r].length||1===i[r].length&&("NullableTypeAnnotation"===i[r][0].type||jF(i[r][0]))))return["<",bF(", ",e.map(n,r)),LF(e,t),">"];var s="TSTypeParameterInstantiation"===i.type?"":1===_F(i).length&&OF(t)&&!i[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":FF(t,"all")?xF(","):"";return AF(["<",TF([CF,bF([",",DF],e.map(n,r))]),s,CF,">"],{id:BF(i)})},getTypeParametersGroupId:BF},MF=Og.printComments,VF=kc.printString,UF=kc.printNumber,qF=nE.isNumericLiteral,zF=nE.isSimpleNumber,GF=nE.isStringLiteral,HF=nE.isStringPropSafeToUnquote,KF=nE.rawText,WF=yO.printAssignment,$F=new WeakMap;function JF(e,t,n){var r=e.getNode();if(r.computed)return["[",n("key"),"]"];var i=e.getParentNode(),a=r.key;if("ClassPrivateProperty"===r.type&&"Identifier"===a.type)return["#",n("key")];if("consistent"===t.quoteProps&&!$F.has(i)){var o=(i.properties||i.body||i.members).some((function(e){return!e.computed&&e.key&&GF(e.key)&&!HF(e,t)}));$F.set(i,o)}if(("Identifier"===a.type||qF(a)&&zF(UF(KF(a)))&&String(a.value)===UF(KF(a))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&$F.get(i))){var u=VF(JSON.stringify("Identifier"===a.type?a.name:a.value.toString()),t);return e.call((function(e){return MF(e,u,t)}),"key")}return HF(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!$F.get(i))?e.call((function(e){return MF(e,/^\d/.test(a.value)?UF(a.value):a.value,t)}),"key"):n("key")}var QF={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):WF(e,t,n,JF(e,t,n),":","value")},printPropertyKey:JF},YF=tg,XF=Og.printDanglingComments,ZF=Og.printCommentsSeparately,e_=Co,t_=kc.getNextNonSpaceNonCommentCharacterIndex,n_=hl.builders,r_=n_.line,i_=n_.softline,a_=n_.group,o_=n_.indent,u_=n_.ifBreak,s_=n_.hardline,c_=n_.join,l_=n_.indentIfBreak,p_=hl.utils,f_=p_.removeLines,d_=p_.willBreak,h_=Pp.ArgExpansionBailout,m_=nE.getFunctionParameters,v_=nE.hasLeadingOwnLineComment,y_=nE.isFlowAnnotationComment,g_=nE.isJsxNode,b_=nE.isTemplateOnItsOwnLine,D_=nE.shouldPrintComma,E_=nE.startsWithNoLookaheadToken,C_=nE.isBinaryish,A_=nE.isLineComment,T_=nE.hasComment,x_=nE.getComments,S_=nE.CommentCheckFlags,w_=nE.isCallLikeExpression,k_=nE.isCallExpression,O_=nE.getCallArguments,F_=nE.hasNakedLeftSide,__=nE.getLeftSide,N_=Om.locEnd,I_=HO.printFunctionParameters,j_=HO.shouldGroupFunctionParameters,P_=QF.printPropertyKey,B_=_S.printFunctionTypeParameters;function L_(e,t,n){var r=e.getNode(),i=I_(e,n,t),a=M_(e,n,t),o=j_(r,a),u=[B_(e,t,n),a_([o?a_(i):i,a])];return r.body?u.push(" ",n("body")):u.push(t.semi?";":""),u}function R_(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){var t=m_(e);return!(1!==t.length||e.typeParameters||T_(e,S_.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||T_(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function M_(e,t,n){var r=e.getValue(),i=t("returnType");if(r.returnType&&y_(n.originalText,r.returnType))return[" /*: ",i," */"];var a=[i];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(": "),r.predicate&&a.push(r.returnType?" ":": ",t("predicate")),a}function V_(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[];r.argument&&(function(e,t){if(v_(e.originalText,t))return!0;if(F_(t))for(var n,r=t;n=__(r);)if(r=n,v_(e.originalText,r))return!0;return!1}(t,r.argument)?a.push([" (",o_([s_,n("argument")]),s_,")"]):C_(r.argument)||"SequenceExpression"===r.argument.type?a.push(a_([u_(" ("," "),o_([i_,n("argument")]),i_,u_(")")])):a.push(" ",n("argument")));var o=x_(r),u=e_(o),s=u&&A_(u);return s&&a.push(i),T_(r,S_.Dangling)&&a.push(" ",XF(e,t,!0)),s||a.push(i),a}var U_={printFunction:function(e,t,n,r){var i=e.getValue(),a=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){var o=e.getParentNode();k_(o)&&O_(o).length>1&&(a=!0)}var u=[];"TSDeclareFunction"===i.type&&i.declare&&u.push("declare "),i.async&&u.push("async "),i.generator?u.push("function* "):u.push("function "),i.id&&u.push(t("id"));var s=I_(e,t,n,a),c=M_(e,t,n),l=j_(i,c);return u.push(B_(e,n,t),a_([l?a_(s):s,c]),i.body?" ":"",t("body")),!n.semi||!i.declare&&i.body||u.push(";"),u},printArrowFunction:function(e,t,n,r){var i=e.getValue(),a=[],o=[],u=!1;if(function s(){var c=function(e,t,n,r){var i=[];if(e.getValue().async&&i.push("async "),R_(e,t))i.push(n(["params",0]));else{var a=r&&(r.expandLastArg||r.expandFirstArg),o=M_(e,n,t);if(a){if(d_(o))throw new h_;o=a_(f_(o))}i.push(a_([I_(e,n,t,a,!0),o]))}var u=XF(e,t,!0,(function(e){var n=t_(t.originalText,e,N_);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return u&&i.push(" ",u),i}(e,t,n,r);if(0===a.length)a.push(c);else{var l=ZF(e,t),p=l.leading,f=l.trailing;a.push([p,c]),o.unshift(f)}u=u||i.returnType&&m_(i).length>0||i.typeParameters||m_(i).some((function(e){return"Identifier"!==e.type})),"ArrowFunctionExpression"!==i.body.type||r&&r.expandLastArg?o.unshift(n("body",r)):(i=i.body,e.call(s,"body"))}(),a.length>1)return function(e,t,n,r,i,a){var o=e.getName(),u=e.getParentNode(),s=w_(u)&&"callee"===o,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==a.body.type&&"ObjectExpression"!==a.body.type&&"SequenceExpression"!==a.body.type,p=s&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return"SequenceExpression"===a.body.type&&(i=a_(["(",o_([i_,i]),i_,")"])),a_([a_(o_([s||c?i_:"",a_(c_([" =>",r_],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",l_(l?o_([r_,i]):[" ",i],{groupId:f}),s?u_(i_,"",{groupId:f}):""])}(e,r,a,u,o,i);var s=a;if(s.push(" =>"),!v_(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||g_(i.body)||b_(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return a_([].concat(s,[" ",o]));if("SequenceExpression"===i.body.type)return a_([].concat(s,[a_([" (",o_([i_,o]),i_,")"])]));var c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!T_(i),l=r&&r.expandLastArg&&D_(t,"all"),p="ConditionalExpression"===i.body.type&&!E_(i.body,!1);return a_([].concat(s,[a_([o_([r_,p?u_("","("):"",o,p?u_("",")"):""]),c?[u_(l?",":""),i_]:""])]))},printMethod:function(e,t,n){var r=e.getNode(),i=r.kind,a=r.value||r,o=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(YF.ok("get"===i||"set"===i),o.push(i," ")):a.async&&o.push("async "),a.generator&&o.push("*"),o.push(P_(e,t,n),r.optional||r.key.optional?"?":""),r===a?o.push(L_(e,t,n)):"FunctionExpression"===a.type?o.push(e.call((function(e){return L_(e,t,n)}),"value")):o.push(n("value")),o},printReturnStatement:function(e,t,n){return["return",V_(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",V_(e,t,n)]},printMethodInternal:L_,shouldPrintParamsWithoutParens:R_},q_=kc.isNonEmptyArray,z_=kc.hasNewline,G_=hl.builders,H_=G_.line,K_=G_.hardline,W_=G_.join,$_=G_.breakParent,J_=G_.group,Q_=Om.locStart,Y_=Om.locEnd,X_=nE.getParentExportDeclaration;function Z_(e,t){return e.decorators.some((function(e){return z_(t.originalText,Y_(e))}))}function eN(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;var t=e.declaration&&e.declaration.decorators;return q_(t)&&Q_(e,{ignoreDecorators:!0})>Q_(t[0])}var tN={printDecorators:function(e,t,n){var r=e.getValue(),i=r.decorators;if(q_(i)&&!eN(e.getParentNode())){var a="ClassExpression"===r.type||"ClassDeclaration"===r.type||Z_(r,t);return[X_(e)?K_:a?$_:"",W_(H_,e.map(n,"decorators")),H_]}},printClassMemberDecorators:function(e,t,n){var r=e.getValue();return J_([W_(H_,e.map(n,"decorators")),Z_(r,t)?K_:H_])},printDecoratorsBeforeExport:function(e,t,n){return[W_(K_,e.map(n,"declaration","decorators")),K_]},hasDecoratorsBeforeExport:eN},nN=kc.isNonEmptyArray,rN=kc.createGroupIdMapper,iN=Og.printComments,aN=Og.printDanglingComments,oN=hl.builders,uN=oN.join,sN=oN.line,cN=oN.hardline,lN=oN.softline,pN=oN.group,fN=oN.indent,dN=oN.ifBreak,hN=nE.hasComment,mN=nE.CommentCheckFlags,vN=RF.getTypeParametersGroupId,yN=U_.printMethod,gN=_S.printOptionalToken,bN=_S.printTypeAnnotation,DN=QF.printPropertyKey,EN=yO.printAssignment,CN=tN.printClassMemberDecorators,AN=rN("heritageGroup");function TN(e){return e.typeParameters&&!hN(e.typeParameters,mN.Trailing|mN.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((function(t){return Boolean(e[t])})).length>1}(e)}function xN(e,t,n,r){var i=e.getValue();if(!nN(i[r]))return"";var a=aN(e,t,!0,(function(e){return e.marker===r}));return[TN(i)?dN(" ",sN,{groupId:vN(i.typeParameters)}):sN,a,a&&cN,r,pN(fN([sN,uN([",",sN],e.map(n,r))]))]}function SN(e,t,n){var r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?pN(dN(["(",fN([lN,r]),lN,")"],r)):r}var wN={printClass:function(e,t,n){var r=e.getValue(),i=[];r.declare&&i.push("declare "),r.abstract&&i.push("abstract "),i.push("class");var a,o=r.id&&hN(r.id,mN.Trailing)||r.superClass&&hN(r.superClass)||nN(r.extends)||nN(r.mixins)||nN(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){var c=["extends ",SN(e,t,n),n("superTypeParameters")],l=e.call((function(e){return iN(e,c,t)}),"superClass");o?s.push(sN,pN(l)):s.push(" ",l)}else s.push(xN(e,t,n,"extends"));return s.push(xN(e,t,n,"mixins"),xN(e,t,n,"implements")),o?(a=TN(r)?[].concat(u,[fN(s)]):fN([].concat(u,[s])),i.push(pN(a,{id:AN(r)}))):i.push.apply(i,u.concat(s)),i.push(" ",n("body")),i},printClassMethod:function(e,t,n){var r=e.getValue(),i=[];return nN(r.decorators)&&i.push(CN(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.readonly&&i.push("readonly "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),i.push(yN(e,t,n)),i},printClassProperty:function(e,t,n){var r=e.getValue(),i=[],a=t.semi?";":"";return nN(r.decorators)&&i.push(CN(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractPropertyDefinition"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),r.readonly&&i.push("readonly "),r.variance&&i.push(n("variance")),i.push(DN(e,t,n),gN(e),bN(e,t,n)),[EN(e,t,n,i," =","value"),a]},printHardlineAfterHeritage:function(e){return dN(cN,"",{groupId:AN(e)})}},kN=kc.isNonEmptyArray,ON=hl.builders,FN=ON.join,_N=ON.line,NN=ON.group,IN=ON.indent,jN=ON.ifBreak,PN=nE.hasComment,BN=nE.identity,LN=nE.CommentCheckFlags,RN=RF.getTypeParametersGroupId,MN=_S.printTypeScriptModifiers,VN={printInterface:function(e,t,n){var r=e.getValue(),i=[];r.declare&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",MN(e,t,n)),i.push("interface");var a=[],o=[];"InterfaceTypeAnnotation"!==r.type&&a.push(" ",n("id"),n("typeParameters"));var u=r.typeParameters&&!PN(r.typeParameters,LN.Trailing|LN.Line);return kN(r.extends)&&o.push(u?jN(" ",_N,{groupId:RN(r.typeParameters)}):_N,"extends ",(1===r.extends.length?BN:IN)(FN([",",_N],e.map(n,"extends")))),r.id&&PN(r.id,LN.Trailing)||kN(r.extends)?u?i.push(NN([].concat(a,[IN(o)]))):i.push(NN(IN([].concat(a,o)))):i.push.apply(i,a.concat(o)),i.push(" ",n("body")),NN(i)}},UN=kc.isNonEmptyArray,qN=hl.builders,zN=qN.softline,GN=qN.group,HN=qN.indent,KN=qN.join,WN=qN.line,$N=qN.ifBreak,JN=qN.hardline,QN=Og.printDanglingComments,YN=nE.hasComment,XN=nE.CommentCheckFlags,ZN=nE.shouldPrintComma,eI=nE.needsHardlineAfterDanglingComment,tI=Om.locStart,nI=Om.hasSameLoc,rI=tN.hasDecoratorsBeforeExport,iI=tN.printDecoratorsBeforeExport;function aI(e,t,n){var r=e.getValue();if(!r.source)return"";var i=[];return uI(r,t)||i.push(" from"),i.push(" ",n("source")),i}function oI(e,t,n){var r=e.getValue();if(uI(r,t))return"";var i=[" "];if(UN(r.specifiers)){var a=[],o=[];e.each((function(){var t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)a.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));o.push(n())}}),"specifiers"),i.push(KN(", ",a)),o.length>0&&(a.length>0&&i.push(", "),o.length>1||a.length>0||r.specifiers.some((function(e){return YN(e)}))?i.push(GN(["{",HN([t.bracketSpacing?WN:zN,KN([",",WN],o)]),$N(ZN(t)?",":""),t.bracketSpacing?WN:zN,"}"])):i.push(["{",t.bracketSpacing?" ":""].concat(o,[t.bracketSpacing?" ":"","}"])))}else i.push("{}");return i}function uI(e,t){var n=e.type,r=e.importKind,i=e.source,a=e.specifiers;return"ImportDeclaration"===n&&!UN(a)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(tI(e),tI(i)))}function sI(e,t,n){var r=e.getNode();return UN(r.assertions)?[" assert {",t.bracketSpacing?" ":"",KN(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var cI={printImportDeclaration:function(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[],o=r.importKind;return a.push("import"),o&&"value"!==o&&a.push(" ",o),a.push(oI(e,t,n),aI(e,t,n),sI(e,t,n),i),a},printExportDeclaration:function(e,t,n){var r=e.getValue(),i=[];rI(r)&&i.push(iI(e,t,n));var a=r.type,o=r.exportKind,u=r.declaration;return i.push("export"),(r.default||"ExportDefaultDeclaration"===a)&&i.push(" default"),YN(r,XN.Dangling)&&(i.push(" ",QN(e,t,!0)),eI(r)&&i.push(JN)),u?i.push(" ",n("declaration")):i.push("type"===o?" type":"",oI(e,t,n),aI(e,t,n),sI(e,t,n)),function(e,t){if(!t.semi)return!1;var n=e.type,r=e.declaration,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;var a=r.type;return!(!i||"ClassDeclaration"===a||"FunctionDeclaration"===a||"TSInterfaceDeclaration"===a||"DeclareClass"===a||"DeclareFunction"===a||"TSDeclareFunction"===a||"EnumDeclaration"===a)}(r,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[],o=r.exportKind,u=r.exported;return a.push("export"),"type"===o&&a.push(" type"),a.push(" *"),u&&a.push(" as ",n("exported")),a.push(aI(e,t,n),sI(e,t,n),i),a},printModuleSpecifier:function(e,t,n){var r=e.getNode(),i=r.type,a=[],o="ImportSpecifier"===i?r.importKind:r.exportKind;o&&"value"!==o&&a.push(o," ");var u=i.startsWith("Import"),s=u?"imported":"local",c=u?"local":"exported",l="",p="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?l="*":r[s]&&(l=n(s)),!r[c]||r[s]&&nI(r[s],r[c])||(p=n(c)),a.push(l,l&&p?" as ":"",p),a}},lI=Og.printDanglingComments,pI=hl.builders,fI=pI.line,dI=pI.softline,hI=pI.group,mI=pI.indent,vI=pI.ifBreak,yI=pI.hardline,gI=kc.getLast,bI=kc.hasNewlineInRange,DI=kc.hasNewline,EI=kc.isNonEmptyArray,CI=nE.shouldPrintComma,AI=nE.hasComment,TI=nE.getComments,xI=nE.CommentCheckFlags,SI=nE.isNextLineEmpty,wI=Om.locStart,kI=Om.locEnd,OI=_S.printOptionalToken,FI=_S.printTypeAnnotation,_I=HO.shouldHugFunctionParameters,NI=vF.shouldHugType,II=wN.printHardlineAfterHeritage,jI={printObject:function(e,t,n){var r,i=t.semi?";":"",a=e.getValue();r="TSTypeLiteral"===a.type?"members":"TSInterfaceBody"===a.type?"body":"properties";var o="ObjectTypeAnnotation"===a.type,u=[r];o&&u.push("indexers","callProperties","internalSlots");for(var s=u.map((function(e){return a[e][0]})).sort((function(e,t){return wI(e)-wI(t)}))[0],c=e.getParentNode(0),p=o&&c&&("InterfaceDeclaration"===c.type||"DeclareInterface"===c.type||"DeclareClass"===c.type)&&"body"===e.getName(),f="TSInterfaceBody"===a.type||p||"ObjectPattern"===a.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&&a.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==a.type&&s&&bI(t.originalText,wI(a),wI(s)),d=p?";":"TSInterfaceBody"===a.type||"TSTypeLiteral"===a.type?vI(i,";"):",",h="RecordExpression"===a.type?"#{":a.exact?"{|":"{",m=a.exact?"|}":"}",v=[],y=0,g=u;y<g.length;y++){var b=g[y];e.each((function(e){var t=e.getValue();v.push({node:t,printed:n(),loc:wI(t)})}),b)}u.length>1&&v.sort((function(e,t){return e.loc-t.loc}));var D=[],E=v.map((function(e){var n=[].concat(l(D),[hI(e.printed)]);return D=[d,fI],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!AI(e.node,xI.PrettierIgnore)||D.shift(),SI(e.node,t)&&D.push(yI),n}));if(a.inexact){var C;if(AI(a,xI.Dangling)){var A=AI(a,xI.Line);C=[lI(e,t,!0),A||DI(t.originalText,kI(gI(TI(a))))?yI:fI,"..."]}else C=["..."];E.push([].concat(l(D),l(C)))}var T,x=gI(a[r]),S=!(a.inexact||x&&"RestElement"===x.type||x&&("TSPropertySignature"===x.type||"TSCallSignatureDeclaration"===x.type||"TSMethodSignature"===x.type||"TSConstructSignatureDeclaration"===x.type)&&AI(x,xI.PrettierIgnore));if(0===E.length){if(!AI(a,xI.Dangling))return[h,m,FI(e,t,n)];T=hI([h,lI(e,t),dI,m,OI(e),FI(e,t,n)])}else T=[p&&EI(a.properties)?II(c):"",h,mI([t.bracketSpacing?fI:dI].concat(l(E))),vI(S&&(","!==d||CI(t))?d:""),t.bracketSpacing?fI:dI,m,OI(e),FI(e,t,n)];return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return _I(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||e.match(NI,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return _I(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||!f&&e.match((function(e){return"ObjectPattern"===e.type}),(function(e){return"AssignmentExpression"===e.type||"VariableDeclarator"===e.type}))?T:hI(T,{shouldBreak:f})}},PI=tg,BI=Og.printDanglingComments,LI=kc.printString,RI=kc.printNumber,MI=hl.builders,VI=MI.hardline,UI=MI.softline,qI=MI.group,zI=MI.indent,GI=nE.getParentExportDeclaration,HI=nE.isFunctionNotation,KI=nE.isGetterOrSetter,WI=nE.rawText,$I=nE.shouldPrintComma,JI=Om.locStart,QI=Om.locEnd,YI=wN.printClass,XI=vF.printOpaqueType,ZI=vF.printTypeAlias,ej=vF.printIntersectionType,tj=vF.printUnionType,nj=vF.printFunctionType,rj=vF.printTupleType,ij=vF.printIndexedAccessType,aj=VN.printInterface,oj=RF.printTypeParameter,uj=RF.printTypeParameters,sj=cI.printExportDeclaration,cj=cI.printExportAllDeclaration,lj=tw.printArrayItems,pj=jI.printObject,fj=QF.printPropertyKey,dj=_S.printOptionalToken,hj=_S.printTypeAnnotation,mj=_S.printRestSpread;function vj(e,t){var n=GI(e);return n?(PI.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var yj={printFlow:function(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[];switch(r.type){case"DeclareClass":return vj(e,YI(e,t,n));case"DeclareFunction":return vj(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),i]);case"DeclareModule":return vj(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return vj(e,["module.exports",": ",n("typeAnnotation"),i]);case"DeclareVariable":return vj(e,["var ",n("id"),i]);case"DeclareOpaqueType":return vj(e,XI(e,t,n));case"DeclareInterface":return vj(e,aj(e,t,n));case"DeclareTypeAlias":return vj(e,ZI(e,t,n));case"DeclareExportDeclaration":return vj(e,sj(e,t,n));case"DeclareExportAllDeclaration":return vj(e,cj(e,t,n));case"OpaqueType":return XI(e,t,n);case"TypeAlias":return ZI(e,t,n);case"IntersectionTypeAnnotation":return ej(e,t,n);case"UnionTypeAnnotation":return tj(e,t,n);case"FunctionTypeAnnotation":return nj(e,t,n);case"TupleTypeAnnotation":return rj(e,t,n);case"GenericTypeAnnotation":return[n("id"),uj(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return ij(e,t,n);case"TypeAnnotation":return n("typeAnnotation");case"TypeParameter":return oj(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(r.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===r.type||r.explicitType){var o=null;switch(r.type){case"EnumBooleanBody":o="boolean";break;case"EnumNumberBody":o="number";break;case"EnumStringBody":o="string";break;case"EnumSymbolBody":o="symbol"}a.push("of ",o," ")}if(0!==r.members.length||r.hasUnknownMembers){var u=r.members.length>0?[VI,lj(e,t,"members",n),r.hasUnknownMembers||$I(t)?",":""]:[];a.push(qI(["{",zI([].concat(u,l(r.hasUnknownMembers?[VI,"..."]:[]))),BI(e,t,!0),VI,"}"]))}else a.push(qI(["{",BI(e,t),UI,"}"]));return a;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof r.init?n("init"):String(r.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":var s=r.name?n("name"):e.getParentNode().this===r?"this":"";return[s,dj(e),s?": ":"",n("typeAnnotation")];case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return aj(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":var c=r.kind;return PI.ok("plus"===c||"minus"===c),"plus"===c?"+":"-";case"ObjectTypeCallProperty":return r.static&&a.push("static "),a.push(n("value")),a;case"ObjectTypeIndexer":return[r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":var p="";return r.proto?p="proto ":r.static&&(p="static "),[p,KI(r)?r.kind+" ":"",r.variance?n("variance"):"",fj(e,t,n),dj(e),HI(r)?"":": ",n("value")];case"ObjectTypeAnnotation":return pj(e,t,n);case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",dj(e),r.method?"":": ",n("value")];case"ObjectTypeSpreadProperty":return mj(e,t,n);case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return LI(WI(r),t);case"NumberLiteralTypeAnnotation":PI.strictEqual(typeof r.value,"number");case"BigIntLiteralTypeAnnotation":return r.extra?RI(r.extra.raw):RI(r.raw);case"TypeCastExpression":return["(",n("expression"),hj(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":var f=uj(e,t,n,"params");if("flow"===t.parser){var d=JI(r),h=QI(r),m=t.originalText.lastIndexOf("/*",d),v=t.originalText.indexOf("*/",h);if(-1!==m&&-1!==v){var y=t.originalText.slice(m+2,v).trim();if(y.startsWith("::")&&!y.includes("/*")&&!y.includes("*/"))return["/*:: ",f," */"]}}return f;case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";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(r.type))}}},gj=kc.hasNewlineInRange,bj=nE.isJsxNode,Dj=nE.isBlockComment,Ej=nE.getComments,Cj=nE.isCallExpression,Aj=nE.isMemberExpression,Tj=Om.locStart,xj=Om.locEnd,Sj=hl.builders,wj=Sj.line,kj=Sj.softline,Oj=Sj.group,Fj=Sj.indent,_j=Sj.align,Nj=Sj.ifBreak,Ij=Sj.dedent,jj=Sj.breakParent;function Pj(e,t,n){var r=e.getValue(),i="ConditionalExpression"===r.type,a=i?"alternate":"falseType",o=e.getParentNode(),u=i?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return o.type===r.type&&o[a]===r?_j(2,u):u}var Bj=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),Lj={printTernary:function(e,t,n){var r,i,a=e.getValue(),o="ConditionalExpression"===a.type,u=o?"consequent":"trueType",s=o?"alternate":"falseType",c=o?["test"]:["checkType","extendsType"],p=a[u],f=a[s],d=[],h=!1,m=e.getParentNode(),v=m.type===a.type&&c.some((function(e){return m[e]===a})),y=m.type===a.type&&!v,g=0;do{i=r||a,r=e.getParentNode(g),g++}while(r&&r.type===a.type&&c.every((function(e){return r[e]!==i})));var b=r||m,D=i;if(o&&(bj(a[c[0]])||bj(p)||bj(f)||function(e){for(var t=[e],n=0;n<t.length;n++)for(var r=t[n],i=0,a=["test","consequent","alternate"];i<a.length;i++){var o=r[a[i]];if(bj(o))return!0;"ConditionalExpression"===o.type&&t.push(o)}return!1}(D))){h=!0,y=!0;var E=function(e){return[Nj("("),Fj([kj,e]),kj,Nj(")")]},C=function(e){return"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name};d.push(" ? ",C(p)?n(u):E(n(u))," : ",f.type===a.type||C(f)?n(s):E(n(s)))}else{var A=[wj,"? ",p.type===a.type?Nj("","("):"",_j(2,n(u)),p.type===a.type?Nj("",")"):"",wj,": ",f.type===a.type?n(s):_j(2,n(s))];d.push(m.type!==a.type||m[s]===a||v?A:t.useTabs?Ij(Fj(A)):_j(Math.max(0,t.tabWidth-2),A))}var T=[].concat(l(c.map((function(e){return Ej(a[e])}))),[Ej(p),Ej(f)]).flat().some((function(e){return Dj(e)&&gj(t.originalText,Tj(e),xj(e))})),x=!h&&(Aj(m)||"NGPipeExpression"===m.type&&m.left===a)&&!m.computed,S=function(e){var t=e.getValue();if("ConditionalExpression"!==t.type)return!1;for(var n,r=t,i=0;!n;i++){var a=e.getParentNode(i);Cj(a)&&a.callee===r||Aj(a)&&a.object===r||"TSNonNullExpression"===a.type&&a.expression===r?r=a:"NewExpression"===a.type&&a.callee===r||"TSAsExpression"===a.type&&a.expression===r?(n=e.getParentNode(i+1),r=a):n=a}return r!==t&&n[Bj.get(n.type)]===r}(e),w=function(e){return m===b?Oj(e,{shouldBreak:T}):T?[e,jj]:e}([Pj(e,0,n),y?d:Fj(d),o&&x&&!S?kj:""]);return v||S?Oj([Fj([kj,w]),kj]):w}},Rj=hl.builders.hardline,Mj=mT,Vj=nE.getLeftSidePathName,Uj=nE.hasNakedLeftSide,qj=nE.isJsxNode,zj=nE.isTheOnlyJsxElementInMarkdown,Gj=nE.hasComment,Hj=nE.CommentCheckFlags,Kj=nE.isNextLineEmpty,Wj=U_.shouldPrintParamsWithoutParens;function $j(e,t,n,r){var i=e.getValue(),a=[],o="ClassBody"===i.type,u=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if("EmptyStatement"!==n.type)return n}}(i[r]);return e.each((function(e,r,i){var s=e.getValue();if("EmptyStatement"!==s.type){var c=n();t.semi||o||zj(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return Jj(e,t)}),"expression")}(e,t)?a.push(c):Gj(s,Hj.Leading)?a.push(n([],{needsSemi:!0})):a.push(";",c),!t.semi&&o&&Qj(s)&&function(e,t){var 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){var r=t.key&&t.key.name;if("in"===r||"instanceof"===r)return!0}if(Qj(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":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;var i=t.value?t.value.generator:t.generator;return!(!t.computed&&!i);case"TSIndexSignature":return!0}return!1}(s,i[r+1])&&a.push(";"),s!==u&&(a.push(Rj),Kj(s,t)&&a.push(Rj))}}),r),a}function Jj(e,t){var 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(!Wj(e,t))return!0;break;case"UnaryExpression":var r=n.prefix,i=n.operator;if(r&&("+"===i||"-"===i))return!0;break;case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(qj(n))return!0}return!!Mj(e,t)||!!Uj(n)&&e.call.apply(e,[function(e){return Jj(e,t)}].concat(l(Vj(e,n))))}var Qj=function(e){var t=e.type;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t},Yj={printBody:function(e,t,n){return $j(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return $j(e,t,n,"consequent")}},Xj=Og.printDanglingComments,Zj=kc.isNonEmptyArray,eP=hl.builders,tP=eP.hardline,nP=eP.indent,rP=nE.hasComment,iP=nE.CommentCheckFlags,aP=nE.isNextLineEmpty,oP=wN.printHardlineAfterHeritage,uP=Yj.printBody;function sP(e,t,n){var r=e.getValue(),i=Zj(r.directives),a=r.body.some((function(e){return"EmptyStatement"!==e.type})),o=rP(r,iP.Dangling);if(!i&&!a&&!o)return"";var u=[];if(i&&e.each((function(e,r,i){u.push(n()),(r<i.length-1||a||o)&&(u.push(tP),aP(e.getValue(),t)&&u.push(tP))}),"directives"),a&&u.push(uP(e,t,n)),o&&u.push(Xj(e,t,!0)),"Program"===r.type){var s=e.getParentNode();s&&"ModuleExpression"===s.type||u.push(tP)}return u}var cP={printBlock:function(e,t,n){var r=e.getValue(),i=[];if("StaticBlock"===r.type&&i.push("static "),"ClassBody"===r.type&&Zj(r.body)){var a=e.getParentNode();i.push(oP(a))}i.push("{");var o=sP(e,t,n);if(o)i.push(nP([tP,o]),tP);else{var u=e.getParentNode(),s=e.getParentNode(1);"ArrowFunctionExpression"===u.type||"FunctionExpression"===u.type||"FunctionDeclaration"===u.type||"ObjectMethod"===u.type||"ClassMethod"===u.type||"ClassPrivateMethod"===u.type||"ForStatement"===u.type||"WhileStatement"===u.type||"DoWhileStatement"===u.type||"DoExpression"===u.type||"CatchClause"===u.type&&!s.finalizer||"TSModuleDeclaration"===u.type||"TSDeclareFunction"===u.type||"StaticBlock"===r.type||"ClassBody"===r.type||i.push(tP)}return i.push("}"),i},printBlockBody:sP},lP=Og.printDanglingComments,pP=kc.hasNewlineInRange,fP=hl.builders,dP=fP.join,hP=fP.line,mP=fP.hardline,vP=fP.softline,yP=fP.group,gP=fP.indent,bP=fP.conditionalGroup,DP=fP.ifBreak,EP=nE.isLiteral,CP=nE.getTypeScriptMappedTypeModifier,AP=nE.shouldPrintComma,TP=nE.isCallExpression,xP=nE.isMemberExpression,SP=Om.locStart,wP=Om.locEnd,kP=_S.printOptionalToken,OP=_S.printTypeScriptModifiers,FP=Lj.printTernary,_P=HO.printFunctionParameters,NP=HO.shouldGroupFunctionParameters,IP=AE.printTemplateLiteral,jP=tw.printArrayItems,PP=jI.printObject,BP=wN.printClassProperty,LP=wN.printClassMethod,RP=RF.printTypeParameter,MP=RF.printTypeParameters,VP=QF.printPropertyKey,UP=U_.printFunction,qP=U_.printMethodInternal,zP=VN.printInterface,GP=cP.printBlock,HP=vF.printTypeAlias,KP=vF.printIntersectionType,WP=vF.printUnionType,$P=vF.printFunctionType,JP=vF.printTupleType,QP=vF.printIndexedAccessType,YP={printTypescript:function(e,t,n){var r=e.getValue();if(r.type.startsWith("TS")){if(r.type.endsWith("Keyword"))return r.type.slice(2,-7).toLowerCase();var i=t.semi?";":"",a=[];switch(r.type){case"TSThisType":return"this";case"TSTypeAssertion":var o=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),u=yP(["<",gP([vP,n("typeAnnotation")]),vP,">"]),s=[DP("("),gP([vP,n("expression")]),vP,DP(")")];return o?bP([[u,n("expression")],[u,yP(s,{shouldBreak:!0})],[u,n("expression")]]):yP([u,n("expression")]);case"TSDeclareFunction":return UP(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),i];case"TSModuleBlock":return GP(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return PP(e,t,n);case"TSTypeAliasDeclaration":return HP(e,t,n);case"TSQualifiedName":return dP(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return LP(e,t,n);case"TSAbstractPropertyDefinition":return BP(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return a.push(n("expression")),r.typeParameters&&a.push(n("typeParameters")),a;case"TSTemplateLiteralType":return IP(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 zP(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return MP(e,t,n,"params");case"TSTypeParameter":return RP(e,t,n);case"TSAsExpression":a.push(n("expression")," as ",n("typeAnnotation"));var c=e.getParentNode();return TP(c)&&c.callee===r||xP(c)&&c.object===r?yP([gP([vP].concat(a)),vP]):a;case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.readonly&&a.push("readonly "),a.push(VP(e,t,n),kP(e)),r.typeAnnotation&&a.push(": ",n("typeAnnotation")),r.initializer&&a.push(" = ",n("initializer")),a;case"TSParameterProperty":return r.accessibility&&a.push(r.accessibility+" "),r.export&&a.push("export "),r.static&&a.push("static "),r.override&&a.push("override "),r.readonly&&a.push("readonly "),a.push(n("parameter")),a;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":var l=e.getParentNode(),p=r.parameters.length>1?DP(AP(t)?",":""):"",f=yP([gP([vP,dP([", ",vP],e.map(n,"parameters"))]),p,vP]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?f:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===l.type?i:""];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")]:"",MP(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return QP(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&a.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&a.push("new "),a.push(yP(_P(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){var d="TSConstructorType"===r.type;a.push(d?" => ":": ",n("returnType"),n("typeAnnotation"))}return a;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":var h=pP(t.originalText,SP(r),wP(r));return yP(["{",gP([t.bracketSpacing?hP:vP,r.readonly?[CP(r.readonly,"readonly")," "]:"",OP(e,t,n),n("typeParameter"),r.optional?CP(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),DP(i)]),lP(e,t,!0),t.bracketSpacing?hP:vP,"}"],{shouldBreak:h});case"TSMethodSignature":var m=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";a.push(r.accessibility?[r.accessibility," "]:"",m,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",kP(e));var v=_P(e,n,t,!1,!0),y=r.returnType?"returnType":"typeAnnotation",g=r[y],b=g?n(y):"",D=NP(r,b);return a.push(D?yP(v):v),g&&a.push(": ",yP(b)),yP(a);case"TSNamespaceExportDeclaration":return a.push("export as namespace ",n("id")),t.semi&&a.push(";"),yP(a);case"TSEnumDeclaration":return r.declare&&a.push("declare "),r.modifiers&&a.push(OP(e,t,n)),r.const&&a.push("const "),a.push("enum ",n("id")," "),0===r.members.length?a.push(yP(["{",lP(e,t),vP,"}"])):a.push(yP(["{",gP([mP,jP(e,t,"members",n),AP(t,"es5")?",":""]),lP(e,t,!0),mP,"}"])),a;case"TSEnumMember":return a.push(n("id")),r.initializer&&a.push(" = ",n("initializer")),a;case"TSImportEqualsDeclaration":return r.isExport&&a.push("export "),a.push("import "),r.importKind&&"value"!==r.importKind&&a.push(r.importKind," "),a.push(n("id")," = ",n("moduleReference")),t.semi&&a.push(";"),yP(a);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":var E=e.getParentNode(),C=EP(r.id),A="TSModuleDeclaration"===E.type,T=r.body&&"TSModuleDeclaration"===r.body.type;if(A)a.push(".");else{r.declare&&a.push("declare "),a.push(OP(e,t,n));var x=t.originalText.slice(SP(r),SP(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(x)||a.push(C||/(?:^|\s)module(?:\s|$)/.test(x)?"module ":"namespace ")}return a.push(n("id")),T?a.push(n("body")):r.body?a.push(" ",yP(n("body"))):a.push(i),a;case"TSConditionalType":return FP(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return KP(e,t,n);case"TSUnionType":return WP(e,t,n);case"TSFunctionType":return $P(e,t,n);case"TSTupleType":return JP(e,t,n);case"TSTypeReference":return[n("typeName"),MP(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return qP(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(r.type),"."))}}}},XP=kc.hasNewline,ZP=hl.builders,eB=ZP.join,tB=ZP.hardline,nB=hl.utils.replaceTextEndOfLine,rB=nE.isLineComment,iB=nE.isBlockComment,aB=Om.locStart,oB=Om.locEnd,uB={printComment:function(e,t){var n=e.getValue();if(rB(n))return t.originalText.slice(aB(n),oB(n)).trimEnd();if(iB(n)){if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var r=function(e){var t=e.value.split("\n");return["/*",eB(tB,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())}))),"*/"]}(n);return n.trailing&&!XP(t.originalText,aB(n),{backwards:!0})?[tB,r]:r}var i=oB(n),a="*-/"===t.originalText.slice(i-3,i);return["/*",nB(n.value),a?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}},sB=kc.printString,cB=kc.printNumber;function lB(e){return e.toLowerCase()}function pB(e){var t=e.pattern,n=e.flags;return n=l(n).sort().join(""),"/".concat(t,"/").concat(n)}var fB={printLiteral:function(e,t){var n=e.getNode();switch(n.type){case"RegExpLiteral":return pB(n);case"BigIntLiteral":return lB(n.bigint||n.extra.raw);case"NumericLiteral":return cB(n.extra.raw);case"StringLiteral":return sB(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return cB(n.value)+"m";case"Literal":if(n.regex)return pB(n.regex);if(n.bigint)return lB(n.raw);if(n.decimal)return cB(n.decimal)+"m";var r=n.value;return"number"==typeof r?cB(n.raw):"string"==typeof r?sB(n.raw,t):String(r)}}},dB=Og.printDanglingComments,hB=kc.hasNewline,mB=hl.builders,vB=mB.join,yB=mB.line,gB=mB.hardline,bB=mB.softline,DB=mB.group,EB=mB.indent,CB=hl.utils.replaceTextEndOfLine,AB=gC,TB=AC,xB=WC.insertPragma,SB=XA,wB=mT,kB=vT,OB=nE.hasFlowShorthandAnnotationComment,FB=nE.hasComment,_B=nE.CommentCheckFlags,NB=nE.isTheOnlyJsxElementInMarkdown,IB=nE.isBlockComment,jB=nE.isLineComment,PB=nE.isNextLineEmpty,BB=nE.needsHardlineAfterDanglingComment,LB=nE.rawText,RB=nE.hasIgnoreComment,MB=nE.isCallExpression,VB=nE.isMemberExpression,UB=Om.locStart,qB=Om.locEnd,zB=AT.printHtmlBinding,GB=AT.isVueEventBindingExpression,HB=sx.printAngular,KB=Kx.printJsx,WB=Kx.hasJsxIgnoreComment,$B=yj.printFlow,JB=YP.printTypescript,QB=_S.printOptionalToken,YB=_S.printBindExpressionCallee,XB=_S.printTypeAnnotation,ZB=_S.adjustClause,eL=_S.printRestSpread,tL=cI.printImportDeclaration,nL=cI.printExportDeclaration,rL=cI.printExportAllDeclaration,iL=cI.printModuleSpecifier,aL=Lj.printTernary,oL=AE.printTemplateLiteral,uL=tw.printArray,sL=jI.printObject,cL=wN.printClass,lL=wN.printClassMethod,pL=wN.printClassProperty,fL=QF.printProperty,dL=U_.printFunction,hL=U_.printArrowFunction,mL=U_.printMethod,vL=U_.printReturnStatement,yL=U_.printThrowStatement,gL=Lk.printCallExpression,bL=yO.printVariableDeclarator,DL=yO.printAssignmentExpression,EL=XT.printBinaryishExpression,CL=Yj.printSwitchCaseConsequent,AL=zw.printMemberExpression,TL=cP.printBlock,xL=cP.printBlockBody,SL=uB.printComment,wL=fB.printLiteral,kL=tN.printDecorators;function OL(e,t){var n=LB(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;var i=t.singleQuote?"'":'"';return i+r+i}var FL={preprocess:kB,print:function(e,t,n,r){var i=function(e,t,n,r){var i=e.getValue(),a=t.semi?";":"";if(!i)return"";if("string"==typeof i)return i;for(var o=0,u=[wL,zB,HB,KB,$B,JB];o<u.length;o++){var s=(0,u[o])(e,t,n);if(void 0!==s)return s}var c=[];switch(i.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),gB];case"File":return i.program&&i.program.interpreter&&c.push(n(["program","interpreter"])),c.push(n("program")),c;case"Program":return xL(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return[OL(i.expression,t),a];if("__vue_event_binding"===t.parser){var p=e.getParentNode();if("Program"===p.type&&1===p.body.length&&p.body[0]===i)return[n("expression"),GB(i.expression)?";":""]}return[n("expression"),NB(t,e)?"":a];case"ParenthesizedExpression":return FB(i.expression)||"ObjectExpression"!==i.expression.type&&"ArrayExpression"!==i.expression.type?DB(["(",EB([bB,n("expression")]),bB,")"]):["(",n("expression"),")"];case"AssignmentExpression":return DL(e,t,n);case"VariableDeclarator":return bL(e,t,n);case"BinaryExpression":case"LogicalExpression":return EL(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return AL(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return i.object&&c.push(n("object")),c.push(DB(EB([bB,YB(e,t,n)]))),c;case"Identifier":return[i.name,QB(e),XB(e,t,n)];case"V8IntrinsicIdentifier":return["%",i.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return eL(e,t,n);case"FunctionDeclaration":case"FunctionExpression":return dL(e,n,t,r);case"ArrowFunctionExpression":return hL(e,t,n,r);case"YieldExpression":return c.push("yield"),i.delegate&&c.push("*"),i.argument&&c.push(" ",n("argument")),c;case"AwaitExpression":if(c.push("await"),i.argument){c.push(" ",n("argument"));var f=e.getParentNode();if(MB(f)&&f.callee===i||VB(f)&&f.object===i){c=[EB([bB].concat(l(c))),bB];var d=e.findAncestor((function(e){return"AwaitExpression"===e.type||"BlockStatement"===e.type}));if(!d||"AwaitExpression"!==d.type)return DB(c)}}return c;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return nL(e,t,n);case"ExportAllDeclaration":return rL(e,t,n);case"ImportDeclaration":return tL(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return iL(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return TL(e,t,n);case"ThrowStatement":return yL(e,t,n);case"ReturnStatement":return vL(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return gL(e,t,n);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return sL(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?mL(e,t,n):fL(e,t,n);case"ObjectMethod":return mL(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return uL(e,t,n);case"SequenceExpression":var h=e.getParentNode(0);if("ExpressionStatement"===h.type||"ForStatement"===h.type){var m=[];return e.each((function(e,t){0===t?m.push(n()):m.push(",",EB([yB,n()]))}),"expressions"),DB(m)}return DB(vB([",",yB],e.map(n,"expressions")));case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),a];case"DirectiveLiteral":return OL(i,t);case"UnaryExpression":return c.push(i.operator),/[a-z]$/.test(i.operator)&&c.push(" "),FB(i.argument)?c.push(DB(["(",EB([bB,n("argument")]),bB,")"])):c.push(n("argument")),c;case"UpdateExpression":return c.push(n("argument"),i.operator),i.prefix&&c.reverse(),c;case"ConditionalExpression":return aL(e,t,n);case"VariableDeclaration":var v,y=e.map(n,"declarations"),g=e.getParentNode(),b="ForStatement"===g.type||"ForInStatement"===g.type||"ForOfStatement"===g.type,D=i.declarations.some((function(e){return e.init}));return 1!==y.length||FB(i.declarations[0])?y.length>0&&(v=EB(y[0])):v=y[0],c=[i.declare?"declare ":"",i.kind,v?[" ",v]:"",EB(y.slice(1).map((function(e){return[",",D&&!b?gB:yB,e]})))],b&&g.body!==i||c.push(a),DB(c);case"WithStatement":return DB(["with (",n("object"),")",ZB(i.body,n("body"))]);case"IfStatement":var E=ZB(i.consequent,n("consequent")),C=DB(["if (",DB([EB([bB,n("test")]),bB]),")",E]);if(c.push(C),i.alternate){var A=FB(i.consequent,_B.Trailing|_B.Line)||BB(i),T="BlockStatement"===i.consequent.type&&!A;c.push(T?" ":gB),FB(i,_B.Dangling)&&c.push(dB(e,t,!0),A?gB:" "),c.push("else",DB(ZB(i.alternate,n("alternate"),"IfStatement"===i.alternate.type)))}return c;case"ForStatement":var x=ZB(i.body,n("body")),S=dB(e,t,!0),w=S?[S,bB]:"";return i.init||i.test||i.update?[w,DB(["for (",DB([EB([bB,n("init"),";",yB,n("test"),";",yB,n("update")]),bB]),")",x])]:[w,DB(["for (;;)",x])];case"WhileStatement":return DB(["while (",DB([EB([bB,n("test")]),bB]),")",ZB(i.body,n("body"))]);case"ForInStatement":return DB(["for (",n("left")," in ",n("right"),")",ZB(i.body,n("body"))]);case"ForOfStatement":return DB(["for",i.await?" await":""," (",n("left")," of ",n("right"),")",ZB(i.body,n("body"))]);case"DoWhileStatement":var k=ZB(i.body,n("body"));return c=[DB(["do",k])],"BlockStatement"===i.body.type?c.push(" "):c.push(gB),c.push("while (",DB([EB([bB,n("test")]),bB]),")",a),c;case"DoExpression":return[i.async?"async ":"","do ",n("body")];case"BreakStatement":return c.push("break"),i.label&&c.push(" ",n("label")),c.push(a),c;case"ContinueStatement":return c.push("continue"),i.label&&c.push(" ",n("label")),c.push(a),c;case"LabeledStatement":return"EmptyStatement"===i.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),i.handler?[" ",n("handler")]:"",i.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(i.param){var O=FB(i.param,(function(e){return!IB(e)||e.leading&&hB(t.originalText,qB(e))||e.trailing&&hB(t.originalText,UB(e),{backwards:!0})})),F=n("param");return["catch ",O?["(",EB([bB,F]),bB,") "]:["(",F,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[DB(["switch (",EB([bB,n("discriminant")]),bB,")"])," {",i.cases.length>0?EB([gB,vB(gB,e.map((function(e,r,i){var a=e.getValue();return[n(),r!==i.length-1&&PB(a,t)?gB:""]}),"cases"))]):"",gB,"}"];case"SwitchCase":i.test?c.push("case ",n("test"),":"):c.push("default:");var _=i.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(_.length>0){var N=CL(e,t,n);c.push(1===_.length&&"BlockStatement"===_[0].type?[" ",N]:EB([gB,N]))}return c;case"DebuggerStatement":return["debugger",a];case"ClassDeclaration":case"ClassExpression":return cL(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return lL(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return pL(e,t,n);case"TemplateElement":return CB(i.value.raw);case"TemplateLiteral":return oL(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return c.push("#!",i.value,gB),PB(i,t)&&c.push(gB),c;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":c.push("module {");var I=n("body");return I&&c.push(EB([gB,I]),gB),c.push("}"),c;default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i)return"";var a=e.getValue(),o=a.type;if("ClassMethod"===o||"ClassPrivateMethod"===o||"ClassProperty"===o||"PropertyDefinition"===o||"TSAbstractPropertyDefinition"===o||"ClassPrivateProperty"===o||"MethodDefinition"===o||"TSAbstractMethodDefinition"===o||"TSDeclareMethod"===o)return i;var u=kL(e,t,n);if(u)return DB([].concat(l(u),[i]));if(!wB(e,t))return r&&r.needsSemi?[";",i]:i;var s=[r&&r.needsSemi?";(":"(",i];if(OB(a)){var c=d(a.trailingComments,1)[0];s.push(" /*",c.value.trimStart(),"*/"),c.printed=!0}return s.push(")"),s},embed:AB,insertPragma:xB,massageAstNode:TB,hasPrettierIgnore:function(e){return RB(e)||WB(e)},willPrintOwnComments:SB.willPrintOwnComments,canAttachComment:function(e){return e.type&&!IB(e)&&!jB(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:SL,isBlockComment:IB,handleComments:{avoidAstMutation:!0,ownLine:SB.handleOwnLineComment,endOfLine:SB.handleEndOfLineComment,remaining:SB.handleRemainingComment},getCommentChildNodes:SB.getCommentChildNodes},_L=hl.builders,NL=_L.hardline,IL=_L.indent,jL=_L.join,PL=vT,BL=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function LL(e,t){var n=e.type;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;var r,i=p(e.elements.entries());try{for(i.s();!(r=i.n()).done;){var a=d(r.value,2),o=a[0];null===a[1]&&t.elements.splice(o,0,{type:"NullLiteral"})}}catch(WQ){i.e(WQ)}finally{i.f()}}else t.key={type:"StringLiteral",value:e.key.name}}LL.ignoredProperties=BL;var RL={preprocess:PL,print:function(e,t,n){var r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),NL];case"ArrayExpression":if(0===r.elements.length)return"[]";var i=e.map((function(){return null===e.getValue()?"null":n()}),"elements");return["[",IL([NL,jL([",",NL],i)]),NL,"]"];case"ObjectExpression":return 0===r.properties.length?"{}":["{",IL([NL,jL([",",NL],e.map(n,"properties"))]),NL,"}"];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":var a=e.getParentNode();return a&&"ObjectProperty"===a.type&&a.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:LL},ML="Common",VL={bracketSpacing:{since:"0.0.0",category:ML,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:ML,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:ML,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."}]},bracketSameLine:{since:"2.4.0",category:ML,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."}},UL="JavaScript",qL={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},zL={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},GL={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},HL={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",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},KL={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","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},WL={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},$L=Qb,JL=FL,QL=RL,YL={arrowParens:{since:"1.9.0",category:UL,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`"}]},bracketSameLine:VL.bracketSameLine,bracketSpacing:VL.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:UL,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:UL,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:VL.singleQuote,jsxSingleQuote:{since:"1.15.0",category:UL,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:UL,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:UL,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)."}]}},XL=[$L(qL,(function(e){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[].concat(l(e.interpreters),["zx"]),extensions:[].concat(l(e.extensions.filter((function(e){return".jsx"!==e}))),[".wxs"])}})),$L(qL,(function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),$L(qL,(function(){return{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}})),$L(zL,(function(e){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],extensions:[].concat(l(e.extensions),[".mts",".cts"])}})),$L(GL,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),$L(HL,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),$L(HL,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((function(e){return".jsonl"!==e}))}})),$L(KL,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(l(e.filenames),[".eslintrc"])}})),$L(WL,(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],ZL={languages:XL,options:YL,printers:{estree:JL,"estree-json":QL},parsers:void 0},eR=kc.isFrontMatterNode,tR=Co,nR=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function rR(e,t,n){if(eR(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||eR(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&tR(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,(function(e,t,n){var r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}rR.ignoredProperties=nR;var iR=rR,aR=hl.builders,oR=aR.hardline,uR=aR.markAsRoot,sR=function(e,t){if("yaml"===e.lang){var n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return uR([e.startDelimiter,oR,r,r?oR:"",e.endDelimiter])}},cR=hl.builders.hardline,lR=sR,pR=function(e,t,n){var r=e.getValue();if("front-matter"===r.type){var i=lR(r,n);return i?[i,cR]:""}},fR=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s"),dR=function(e){var t=e.match(fR);if(!t)return{content:e};var n=t.groups,r=n.startDelimiter,i=n.language,a=n.value,o=void 0===a?"":a,u=n.endDelimiter,s=i.trim()||"yaml";if("+++"===r&&(s="toml"),"yaml"!==s&&r!==u)return{content:e};var c=d(t,1)[0];return{frontMatter:{type:"front-matter",lang:s,value:o,startDelimiter:r,endDelimiter:u,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}},hR=WC,mR=dR,vR={hasPragma:function(e){return hR.hasPragma(mR(e).content)},insertPragma:function(e){var t=mR(e),n=t.frontMatter,r=t.content;return(n?n.raw+"\n\n":"")+hR.insertPragma(r)}},yR=kc.isNonEmptyArray,gR=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"]),bR=new Set(["import","use","forward"]);function DR(e,t){for(var n,r=Array.isArray(t)?t:[t],i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function ER(e,t){var n=DR(e,t);return-1===n?null:e.getParentNode(n)}function CR(e){return"value-operator"===e.type&&"*"===e.value}function AR(e){return"value-operator"===e.type&&"/"===e.value}function TR(e){return"value-operator"===e.type&&"+"===e.value}function xR(e){return"value-operator"===e.type&&"-"===e.value}function SR(e){return"value-operator"===e.type&&"%"===e.value}function wR(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function kR(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&wR(e.groups[0])}function OR(e){return e&&"value-colon"===e.type}var FR={getAncestorCounter:DR,getAncestorNode:ER,getPropOfDeclNode:function(e){var t=ER(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(yR(e))for(var 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(yR(e))for(var 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){var n=ER(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){var t=ER(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){var n=Array.isArray(t)?t:[t],r=ER(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){var t=e.getValue(),n=ER(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){var n=ER(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){var n=e.getParentNode();if(!n)return!1;var r=n.nodes;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:CR,isDivisionNode:AR,isAdditionNode:TR,isSubtractionNode:xR,isModuloNode:SR,isMathOperatorNode:function(e){return CR(e)||AR(e)||TR(e)||xR(e)||SR(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:wR,isKeyValuePairInParenGroupNode:kR,isKeyInValuePairNode:function(e,t){if(!wR(t))return!1;var n=t.groups,r=n.indexOf(e);return-1!==r&&OR(n[r+1])},isSCSSMapItemNode:function(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!(kR(t)||n&&kR(n)))return!1;var r=ER(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!kR(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:OR,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&gR.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((function(n,r,i){return n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":"")}),"")+(t.close&&t.close.value?t.close.value:"");var 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-")},isModuleRuleName:function(e){return bR.has(e)},isConfigurationNode:function(e,t){if(!e.open||"("!==e.open.value||!e.close||")"!==e.close.value||e.groups.some((function(e){return"value-comma_group"!==e.type})))return!1;if("value-comma_group"===t.type){var n=t.groups.indexOf(e)-1,r=t.groups[n];if(r&&"value-word"===r.type&&"with"===r.value)return!0}return!1},isParenGroupNode:function(e){return"value-paren_group"===e.type&&e.open&&"("===e.open.value&&e.close&&")"===e.close.value}},_R=function(e,t){for(var n=0,r=0;r<e.line-1;++r)n=t.indexOf("\n",n)+1;return n+e.column},NR=kc.getLast,IR=kc.skipEverythingButNewLine;function jR(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?_R(e.source.start,t)-1:null}function PR(e,t){if("css-comment"===e.type&&e.inline)return IR(t,e.source.startOffset);var n=e.nodes&&NR(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?_R(e.source.end,t):null}function BR(e,t,n){for(var r in e.source&&(e.source.startOffset=jR(e,n)+t,e.source.endOffset=PR(e,n)+t),e){var i=e[r];"source"!==r&&i&&"object"==typeof i&&BR(i,t,n)}}function LR(e){var 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 RR={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){for(var r in t.source&&(t.source.startOffset=jR(t,n),t.source.endOffset=PR(t,n)),t){var i=t[r];"source"!==r&&i&&"object"==typeof i&&("value-root"===i.type||"value-unknown"===i.type?BR(i,LR(t),i.text||i.value):e(i,n))}},replaceQuotesInInlineComments:function(e){for(var t,n="initial",r="initial",i=!1,a=[],o=0;o<e.length;o++){var u=e[o];switch(n){case"initial":if("'"===u){n="single-quotes";continue}if('"'===u){n="double-quotes";continue}if(("u"===u||"U"===u)&&"url("===e.slice(o,o+4).toLowerCase()){n="url",o+=3;continue}if("*"===u&&"/"===e[o-1]){n="comment-block";continue}if("/"===u&&"/"===e[o-1]){n="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===u&&"\\"!==e[o-1]&&(n=r,r="initial"),"\n"===u||"\r"===u)return e;continue;case"double-quotes":if('"'===u&&"\\"!==e[o-1]&&(n=r,r="initial"),"\n"===u||"\r"===u)return e;continue;case"url":if(")"===u&&(n="initial"),"\n"===u||"\r"===u)return e;if("'"===u){n="single-quotes",r="url";continue}if('"'===u){n="double-quotes",r="url";continue}continue;case"comment-block":"/"===u&&"*"===e[o-1]&&(n="initial");continue;case"comment-inline":'"'!==u&&"'"!==u&&"*"!==u||(i=!0),"\n"!==u&&"\r"!==u||(i&&a.push([t,o]),n="initial",i=!1);continue}}for(var s=0,c=a;s<c.length;s++){var l=d(c[s],2),p=l[0],f=l[1];e=e.slice(0,p)+e.slice(p,f).replace(/["'*]/g," ")+e.slice(f)}return e}},MR=Co,VR=kc.printNumber,UR=kc.printString,qR=kc.hasNewline,zR=kc.isFrontMatterNode,GR=kc.isNextLineEmpty,HR=kc.isNonEmptyArray,KR=hl.builders,WR=KR.join,$R=KR.line,JR=KR.hardline,QR=KR.softline,YR=KR.group,XR=KR.fill,ZR=KR.indent,eM=KR.dedent,tM=KR.ifBreak,nM=KR.breakParent,rM=hl.utils,iM=rM.removeLines,aM=rM.getDocParts,oM=iR,uM=pR,sM=vR.insertPragma,cM=FR.getAncestorNode,lM=FR.getPropOfDeclNode,pM=FR.maybeToLowerCase,fM=FR.insideValueFunctionNode,dM=FR.insideICSSRuleNode,hM=FR.insideAtRuleNode,mM=FR.insideURLFunctionInImportAtRuleNode,vM=FR.isKeyframeAtRuleKeywords,yM=FR.isWideKeywords,gM=FR.isSCSS,bM=FR.isLastNode,DM=FR.isLessParser,EM=FR.isSCSSControlDirectiveNode,CM=FR.isDetachedRulesetDeclarationNode,AM=FR.isRelationalOperatorNode,TM=FR.isEqualityOperatorNode,xM=FR.isMultiplicationNode,SM=FR.isDivisionNode,wM=FR.isAdditionNode,kM=FR.isSubtractionNode,OM=FR.isMathOperatorNode,FM=FR.isEachKeywordNode,_M=FR.isForKeywordNode,NM=FR.isURLFunctionNode,IM=FR.isIfElseKeywordNode,jM=FR.hasComposesNode,PM=FR.hasParensAroundNode,BM=FR.hasEmptyRawBefore,LM=FR.isKeyValuePairNode,RM=FR.isKeyInValuePairNode,MM=FR.isDetachedRulesetCallNode,VM=FR.isTemplatePlaceholderNode,UM=FR.isTemplatePropNode,qM=FR.isPostcssSimpleVarNode,zM=FR.isSCSSMapItemNode,GM=FR.isInlineValueCommentNode,HM=FR.isHashNode,KM=FR.isLeftCurlyBraceNode,WM=FR.isRightCurlyBraceNode,$M=FR.isWordNode,JM=FR.isColonNode,QM=FR.isMediaAndSupportsKeywords,YM=FR.isColorAdjusterFuncNode,XM=FR.lastLineHasInlineComment,ZM=FR.isAtWordPlaceholderNode,eV=FR.isConfigurationNode,tV=FR.isParenGroupNode,nV=RR.locStart,rV=RR.locEnd;function iV(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function aV(e,t,n){var r=[];return e.each((function(e,i,a){var o=a[i-1];if(o&&"css-comment"===o.type&&"prettier-ignore"===o.text.trim()){var u=e.getValue();r.push(t.originalText.slice(nV(u),rV(u)))}else r.push(n());i!==a.length-1&&("css-comment"===a[i+1].type&&!qR(t.originalText,nV(a[i+1]),{backwards:!0})&&!zR(a[i])||"css-atrule"===a[i+1].type&&"else"===a[i+1].name&&"css-comment"!==a[i].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?$R:JR),GR(t.originalText,e.getValue(),rV)&&!zR(a[i])&&r.push(JR)))}),"nodes"),r}var oV=/(["'])(?:(?!\1)(?:(?!\\)[\s\S])|\\[\s\S])*\1/g,uV=new RegExp(oV.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 sV(e,t){return e.replace(oV,(function(e){return UR(e,t)}))}function cV(e,t){var n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function lV(e){return e.replace(uV,(function(e,t,n,r,i){return!n&&r?pV(r)+pM(i||""):e}))}function pV(e){return VR(e).replace(/\.0(?=$|e)/,"")}var fV={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return[r.raw,JR];case"css-root":var i=aV(e,t,n),a=r.raws.after.trim();return[i,a?" ".concat(a):"",aM(i).length>0?JR:""];case"css-comment":var o=r.inline||r.raws.inline,u=t.originalText.slice(nV(r),rV(r));return o?u.trimEnd():u;case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&XM(r.selector.value)?$R:" ","{",r.nodes.length>0?ZR([JR,aV(e,t,n)]):"",JR,"}",CM(r)?";":""]:";"];case"css-decl":var s=e.getParentNode(),c=r.raws.between.trim(),p=":"===c,f=jM(r)?iM(n("value")):n("value");return!p&&XM(c)&&(f=ZR([JR,eM(f)])),[r.raws.before.replace(/[\s;]/g,""),dM(e)?r.prop:pM(r.prop),c.startsWith("//")?" ":"",c,r.extend?"":" ",DM(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",f,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?[" {",ZR([QR,aV(e,t,n)]),QR,"}"]:UM(r)&&!s.raws.semicolon&&";"!==t.originalText[rV(r)-1]?"":t.__isHTMLStyleAttribute&&bM(e,r)?tM(";"):";"];case"css-atrule":var d=e.getParentNode(),h=VM(r)&&!d.raws.semicolon&&";"!==t.originalText[rV(r)-1];if(DM(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",h?"":";"];if(r.function)return[r.name,n("params"),h?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",ZR([r.nodes.length>0?QR:"",aV(e,t,n)]),QR,"}"]:"",h?"":";"]}return["@",MM(r)||r.name.endsWith(":")?r.name:pM(r.name),r.params?[MM(r)?"":VM(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[JR,JR]:/^\s*\n/.test(r.raws.afterName)?JR:" ":" ",n("params")]:"",r.selector?ZR([" ",n("selector")]):"",r.value?YR([" ",n("value"),EM(r)?PM(r)?" ":$R:""]):"else"===r.name?" ":"",r.nodes?[EM(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&XM(r.selector.value)||!r.selector&&"string"==typeof r.params&&XM(r.params)?$R:" ","{",ZR([r.nodes.length>0?QR:"",aV(e,t,n)]),QR,"}"]:h?"":";"];case"media-query-list":var m=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||m.push(n())}),"nodes"),YR(ZR(WR($R,m)));case"media-query":return[WR(" ",e.map(n,"nodes")),bM(e,r)?"":","];case"media-type":case"media-value":return lV(sV(r.value,t));case"media-feature-expression":return r.nodes?["("].concat(l(e.map(n,"nodes")),[")"]):r.value;case"media-feature":return pM(sV(r.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[r.value," "];case"media-keyword":case"selector-string":return sV(r.value,t);case"media-url":return sV(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return r.value;case"selector-root":return YR([hM(e,"custom-selector")?[cM(e,"css-atrule").customSelector,$R]:"",WR([",",hM(e,["extend","custom-selector","nest"])?$R:JR],e.map(n,"nodes"))]);case"selector-selector":return YR(ZR(e.map(n,"nodes")));case"selector-tag":var v=e.getParentNode(),y=v&&v.nodes.indexOf(r),g=y&&v.nodes[y-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===g.type?r.value:lV(vM(e,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",lV(sV(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?cV(sV(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){var b=e.getParentNode();return["selector-selector"===b.type&&b.nodes[0]===r?"":$R,r.value,bM(e,r)?"":" "]}return[r.value.trim().startsWith("(")?$R:"",lV(sV(r.value.trim(),t))||$R];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[pM(r.value),HR(r.nodes)?["(",WR(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":var D=cM(e,"css-rule");if(D&&D.isSCSSNesterProperty)return lV(sV(pM(r.value),t));var E=e.getParentNode();if(E.raws&&E.raws.selector){var C=nV(E),A=C+E.raws.selector.length;return t.originalText.slice(C,A).trim()}var T=e.getParentNode(1);if("value-paren_group"===E.type&&T&&"value-func"===T.type&&"selector"===T.value){var x=nV(E.open)+1,S=rV(E.close)-1,w=t.originalText.slice(x,S).trim();return XM(w)?[nM,w]:w}return r.value;case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(nV(r),rV(r));case"value-comma_group":for(var k=e.getParentNode(),O=e.getParentNode(1),F=lM(e),_=F&&"value-value"===k.type&&("grid"===F||F.startsWith("grid-template")),N=cM(e,"css-atrule"),I=N&&EM(N),j=r.groups.some((function(e){return GM(e)})),P=e.map(n,"groups"),B=[],L=fM(e,"url"),R=!1,M=!1,V=0;V<r.groups.length;++V){B.push(P[V]);var U=r.groups[V-1],q=r.groups[V],z=r.groups[V+1],G=r.groups[V+2];if(L)(z&&wM(z)||wM(q))&&B.push(" ");else if((!hM(e,"forward")||"value-word"!==q.type||!q.value||void 0===U||"value-word"!==U.type||"as"!==U.value||"value-operator"!==z.type||"*"!==z.value)&&z&&("value-word"!==q.type||!q.value.endsWith("-")||!ZM(z))){var H="value-string"===q.type&&q.value.startsWith("#{"),K=R&&"value-string"===z.type&&z.value.endsWith("}");if(H||K)R=!R;else if(!R&&!JM(q)&&!JM(z)&&("value-atword"!==q.type||""!==q.value)&&"~"!==q.value&&!(q.value&&q.value.includes("\\")&&z&&"value-comment"!==z.type)&&(!U||!U.value||U.value.indexOf("\\")!==U.value.length-1||"value-operator"!==q.type||"/"!==q.value)&&"\\"!==q.value&&!qM(q,z)&&!(HM(q)||KM(q)||WM(z)||KM(z)&&BM(z)||WM(q)&&BM(z))&&("--"!==q.value||!HM(z))){var W=OM(q),$=OM(z);if((!(W&&HM(z)||$&&WM(q))||!BM(z))&&(U||!SM(q))&&!(fM(e,"calc")&&(wM(q)||wM(z)||kM(q)||kM(z))&&BM(z))){var J=(wM(q)||kM(q))&&0===V&&("value-number"===z.type||z.isHex)&&O&&YM(O)&&!BM(z),Q=G&&"value-func"===G.type||G&&$M(G)||"value-func"===q.type||$M(q),Y="value-func"===z.type||$M(z)||U&&"value-func"===U.type||U&&$M(U);if(xM(z)||xM(q)||fM(e,"calc")||J||!(SM(z)&&!Q||SM(q)&&!Y||wM(z)&&!Q||wM(q)&&!Y||kM(z)||kM(q))||!(BM(z)||W&&(!U||U&&OM(U))))if(GM(q)){if("value-paren_group"===k.type){B.push(eM(JR));continue}B.push(JR)}else I&&(TM(z)||AM(z)||IM(z)||FM(q)||_M(q))||N&&"namespace"===N.name.toLowerCase()?B.push(" "):_?q.source&&z.source&&q.source.start.line!==z.source.start.line?(B.push(JR),M=!0):B.push(" "):$?B.push(" "):z&&"..."===z.value||ZM(q)&&ZM(z)&&rV(q)===nV(z)||(ZM(q)&&tV(z)&&rV(q)===nV(z.open)?B.push(QR):"with"===q.value&&tV(z)?B.push(" "):B.push($R))}}}}return j&&B.push(nM),M&&B.unshift(JR),I?YR(ZR(B)):mM(e)?YR(XR(B)):YR(ZR(XR(B)));case"value-paren_group":var X=e.getParentNode();if(X&&NM(X)&&(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"):"",WR(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){for(var Z=e.map(n,"groups"),ee=[],te=0;te<Z.length;te++)0!==te&&ee.push([",",$R]),ee.push(Z[te]);return YR(ZR(XR(ee)))}var ne=zM(e),re=MR(r.groups),ie=re&&"value-comment"===re.type,ae=RM(r,X),oe=eV(r,X),ue=oe||ne&&!ae,se=oe||ae,ce=YR([r.open?n("open"):"",ZR([QR,WR([",",$R],e.map((function(e){var t=e.getValue(),r=n();if(LM(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){var i=aM(r.contents.contents);return i[1]=YR(i[1]),YR(eM(r))}return r}),"groups"))]),tM(!ie&&gM(t.parser,t.originalText)&&ne&&iV(t)?",":""),QR,r.close?n("close"):""],{shouldBreak:ue});return se?eM(ce):ce;case"value-func":return[r.value,hM(e,"supports")&&QM(r)?" ":"",n("group")];case"value-number":return[pV(r.value),pM(r.unit)];case"value-word":return r.isColor&&r.isHex||yM(r.value)?r.value.toLowerCase():r.value;case"value-colon":var le=e.getParentNode(),pe=le&&le.groups.indexOf(r),fe=pe&&le.groups[pe-1];return[r.value,fe&&"string"==typeof fe.value&&"\\"===MR(fe.value)||fM(e,"url")?"":$R];case"value-string":return UR(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:uM,insertPragma:sM,massageAstNode:oM},dV={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},hV={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},mV={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},vV=Qb,yV=fV,gV={singleQuote:VL.singleQuote},bV=[vV({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(function(e){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(l(e.extensions),[".wxss"])}})),vV(dV,(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}})),vV(hV,(function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}})),vV(mV,(function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}}))],DV={languages:bV,options:gV,printers:{postcss:yV},parsers:void 0},EV={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function CV(e,t){if("TextNode"===e.type){var 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}CV.ignoredProperties=new Set(["loc","selfClosing"]);var AV=CV,TV=Co,xV=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 SV(e){return wV(e,["TextNode"])&&!/\S/.test(e.chars)}function wV(e,t){return e&&t.includes(e.type)}function kV(e,t){return wV(e.getParentNode(0),t)}function OV(e,t){var n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],a=i.indexOf(n);return-1!==a&&i[a+t]}function FV(e){return OV(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function _V(e){return OV(e,1)}function NV(e){return wV(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var IV={getNextNode:_V,getPreviousNode:FV,hasPrettierIgnore:function(e){var t=e.getValue(),n=FV(e,2);return NV(t)||NV(n)},isLastNodeOfSiblings:function(e){var t=e.getValue(),n=e.getParentNode(0);return!(!kV(e,["ElementNode"])||TV(n.children)!==t)||!(!kV(e,["Block"])||TV(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return wV(_V(e),t)},isNodeOfSomeType:wV,isParentOfSomeType:kV,isPreviousNodeOfSomeType:function(e,t){return wV(FV(e),t)},isVoid:function(e){return function(e){return wV(e,["ElementNode"])&&"string"==typeof e.tag&&":"!==e.tag[0]&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((function(e){return SV(e)}))||xV.has(e.tag)},isWhitespaceNode:SV},jV=hl.builders,PV=jV.dedent,BV=jV.fill,LV=jV.group,RV=jV.hardline,MV=jV.ifBreak,VV=jV.indent,UV=jV.join,qV=jV.line,zV=jV.softline,GV=hl.utils,HV=GV.getDocParts,KV=GV.replaceTextEndOfLine,WV=kc.getPreferredQuote,$V=kc.isNonEmptyArray,JV=EV.locStart,QV=EV.locEnd,YV=AV,XV=IV.getNextNode,ZV=IV.getPreviousNode,eU=IV.hasPrettierIgnore,tU=IV.isLastNodeOfSiblings,nU=IV.isNextNodeOfSomeType,rU=IV.isNodeOfSomeType,iU=IV.isParentOfSomeType,aU=IV.isPreviousNodeOfSomeType,oU=IV.isVoid,uU=IV.isWhitespaceNode;function sU(e,t){return JV(e)-JV(t)}function cU(e,t,n){var r=e.getValue().children.every((function(e){return uU(e)}));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((function(e,r){var i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[zV,i]:i}),"children")}function lU(e){return oU(e)?MV([zV,"/>"],[" />",zV]):MV([zV,">"],">")}function pU(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function fU(e){var t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function dU(e){return[pU(e),e.closeStrip.open?"~":"","/"]}function hU(e){var t=fU(e);return[e.closeStrip.close?"~":"",t]}function mU(e){return[pU(e),e.inverseStrip.open?"~":""]}function vU(e){var t=fU(e);return[e.inverseStrip.close?"~":"",t]}function yU(e,t){var n=e.getValue(),r=function(e){return[pU(e),e.openStrip.open?"~":"","#"]}(n),i=function(e){var t=fU(e);return[e.openStrip.close?"~":"",t]}(n),a=[_U(e,t)],o=NU(e,t);if(o&&a.push(qV,o),$V(n.program.blockParams)){var u=IU(n.program);a.push(qV,u)}return LV([r,VV(a),zV,i])}function gU(e,t){return["ignore"===t.htmlWhitespaceSensitivity?RV:"",mU(e),"else",vU(e)]}function bU(e,t){var n=e.getParentNode(1);return[mU(n),"else if ",NU(e,t),vU(n)]}function DU(e,t,n){var r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[EU(r)?zV:RV,dU(r),t("path"),hU(r)]:[dU(r),t("path"),hU(r)]}function EU(e){return rU(e,["BlockStatement"])&&e.program.body.every((function(e){return uU(e)}))}function CU(e){return rU(e,["BlockStatement"])&&e.inverse}function AU(e,t,n){if(EU(e.getValue()))return"";var r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?VV([RV,r]):VV(r)}function TU(e,t,n){var r=e.getValue(),i=t("inverse"),a="ignore"===n.htmlWhitespaceSensitivity?[RV,i]:i;return function(e){return CU(e)&&1===e.inverse.body.length&&rU(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?a:CU(r)?[gU(r,n),VV(a)]:""}function xU(e){return HV(UV(qV,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function SU(e){return(e="string"==typeof e?e:"").split("\n").length-1}function wU(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(RV)}function kU(e,t){var n=WV(e,t),r=n.quote,i=n.regex;return[r,e.replace(i,"\\".concat(r)),r]}function OU(e,t){var n=_U(e,t),r=NU(e,t);return r?VV([n,qV,LV(r)]):n}function FU(e,t){var n=_U(e,t),r=NU(e,t);return r?[VV([n,qV,r]),zV]:n}function _U(e,t){return t("path")}function NU(e,t){var n=e.getValue(),r=[];if(n.params.length>0){var i=e.map(t,"params");r.push.apply(r,l(i))}if(n.hash&&n.hash.pairs.length>0){var a=t("hash");r.push(a)}return 0===r.length?"":UV(qV,r)}function IU(e){return["as |",e.blockParams.join(" "),"|"]}var jU={print:function(e,t,n){var r=e.getValue();if(!r)return"";if(eU(e))return t.originalText.slice(JV(r),QV(r));var i=t.singleQuote?"'":'"';switch(r.type){case"Block":case"Program":case"Template":return LV(e.map(n,"body"));case"ElementNode":var a=LV(function(e,t){var n,r=e.getValue(),i=["attributes","modifiers","comments"].filter((function(e){return $V(r[e])})),a=i.flatMap((function(e){return r[e]})).sort(sU),o=p(i);try{for(o.s();!(n=o.n()).done;){var u=n.value;e.each((function(e){var n=a.indexOf(e.getValue());a.splice(n,1,[qV,t()])}),u)}}catch(WQ){o.e(WQ)}finally{o.f()}return $V(r.blockParams)&&a.push(qV,IU(r)),["<",r.tag,VV(a),lU(r)]}(e,n)),o="ignore"===t.htmlWhitespaceSensitivity&&nU(e,["ElementNode"])?zV:"";if(oU(r))return[a,o];var u=["</",r.tag,">"];return 0===r.children.length?[a,VV(u),o]:"ignore"===t.htmlWhitespaceSensitivity?[a,VV(cU(e,t,n)),RV,VV(u),o]:[a,VV(LV(cU(e,t,n))),VV(u),o];case"BlockStatement":var s=e.getParentNode(1);return s&&s.inverse&&1===s.inverse.body.length&&s.inverse.body[0]===r&&"if"===s.inverse.body[0].path.parts[0]?[bU(e,n),AU(e,n,t),TU(e,n,t)]:[yU(e,n),LV([AU(e,n,t),TU(e,n,t),DU(e,n,t)])];case"ElementModifierStatement":return LV(["{{",FU(e,n),"}}"]);case"MustacheStatement":return LV([pU(r),FU(e,n),fU(r)]);case"SubExpression":return LV(["(",OU(e,n),zV,")"]);case"AttrNode":var c="TextNode"===r.value.type;if(c&&""===r.value.chars&&JV(r.value)===QV(r.value))return r.name;var f=c?WV(r.value.chars,i).quote:"ConcatStatement"===r.value.type?WV(r.value.parts.filter((function(e){return"TextNode"===e.type})).map((function(e){return e.chars})).join(""),i).quote:"",h=n("value");return[r.name,"=",f,"class"===r.name&&f?LV(VV(h)):h,f];case"ConcatStatement":return e.map(n,"parts");case"Hash":return UV(qV,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":var m=r.chars.replace(/{{/g,"\\{{"),v=function(e){for(var t=0;t<2;t++){var n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(v){if("class"===v){var y=m.trim().split(/\s+/).join(" "),g=!1,b=!1;return iU(e,["ConcatStatement"])&&(aU(e,["MustacheStatement"])&&/^\s/.test(m)&&(g=!0),nU(e,["MustacheStatement"])&&/\s$/.test(m)&&""!==y&&(b=!0)),[g?qV:"",y,b?qV:""]}return KV(m)}var D=/^[\t\n\f\r ]*$/.test(m),E=!ZV(e),C=!XV(e);if("ignore"!==t.htmlWhitespaceSensitivity){var A=/^[\t\n\f\r ]*/,T=/[\t\n\f\r ]*$/,x=C&&iU(e,["Template"]),S=E&&iU(e,["Template"]);if(D){if(S||x)return"";var w=[qV],k=SU(m);return k&&(w=wU(k)),tU(e)&&(w=w.map((function(e){return PV(e)}))),w}var O=m.match(A),F=d(O,1)[0],_=m.match(T),N=d(_,1)[0],I=[];if(F){I=[qV];var j=SU(F);j&&(I=wU(j)),m=m.replace(A,"")}var P=[];if(N){if(!x){P=[qV];var B=SU(N);B&&(P=wU(B)),tU(e)&&(P=P.map((function(e){return PV(e)})))}m=m.replace(T,"")}return[].concat(l(I),[BV(xU(m))],l(P))}var L=SU(m),R=function(e){return SU(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(m),M=function(e){return SU(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(m);if((E||C)&&D&&iU(e,["Block","ElementNode","Template"]))return"";D&&L?(R=Math.min(L,2),M=0):(nU(e,["BlockStatement","ElementNode"])&&(M=Math.max(M,1)),aU(e,["BlockStatement","ElementNode"])&&(R=Math.max(R,1)));var V="",U="";return 0===M&&nU(e,["MustacheStatement"])&&(U=" "),0===R&&aU(e,["MustacheStatement"])&&(V=" "),E&&(R=0,V=""),C&&(M=0,U=""),m=m.replace(/^[\t\n\f\r ]+/g,V).replace(/[\t\n\f\r ]+$/,U),[].concat(l(wU(R)),[BV(xU(m))],l(wU(M)));case"MustacheCommentStatement":var q=JV(r),z=QV(r),G="~"===t.originalText.charAt(q+2),H="~"===t.originalText.charAt(z-3),K=r.value.includes("}}")?"--":"";return["{{",G?"~":"","!",K,r.value,K,H?"~":"","}}"];case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":if(function(e){for(var t=0,n=e.getParentNode(t);n&&rU(n,["SubExpression"]);)t++,n=e.getParentNode(t);return!!(n&&rU(e.getParentNode(t+1),["ConcatStatement"])&&rU(e.getParentNode(t+2),["AttrNode"]))}(e)){var W=t.singleQuote?'"':"'";return kU(r.value,W)}return kU(r.value,i);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:YV},PU=jU,BU={languages:[Qb({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],printers:{glimmer:PU},parsers:void 0},LU={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},RU={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}},MU=hl.builders,VU=MU.join,UU=MU.hardline,qU=MU.line,zU=MU.softline,GU=MU.group,HU=MU.indent,KU=MU.ifBreak,WU=kc.isNextLineEmpty,$U=kc.isNonEmptyArray,JU=LU.insertPragma,QU=RU.locStart,YU=RU.locEnd;function XU(e,t,n){if(0===n.directives.length)return"";var r=VU(qU,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?GU([qU,r]):[" ",GU(HU([zU,r]))]}function ZU(e,t,n){var r=e.getValue().length;return e.map((function(e,i){var a=n();return WU(t.originalText,e.getValue(),YU)&&i<r-1?[a,UU]:a}))}function eq(e,t,n){for(var r=[],i=e.getNode().interfaces,a=e.map((function(e){return n(e)}),"interfaces"),o=0;o<i.length;o++){var u=i[o];r.push(a[o]);var s=i[o+1];if(s){var c=t.originalText.slice(u.loc.end,s.loc.start),l=c.includes("#"),p=c.replace(/#.*/g,"").trim();r.push(","===p?",":" &",l?qU:" ")}}return r}function tq(){}tq.ignoredProperties=new Set(["loc","comments"]);var nq={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":var i=[];return e.each((function(e,r,a){i.push(n()),r!==a.length-1&&(i.push(UU),WU(t.originalText,e.getValue(),YU)&&i.push(UU))}),"definitions"),[].concat(i,[UU]);case"OperationDefinition":var a="{"!==t.originalText[QU(r)],o=Boolean(r.name);return[a?r.operation:"",a&&o?[" ",n("name")]:"",a&&!o&&$U(r.variableDefinitions)?" ":"",$U(r.variableDefinitions)?GU(["(",HU([zU,VU([KU("",", "),zU],e.map(n,"variableDefinitions"))]),zU,")"]):"",XU(e,n,r),r.selectionSet&&(a||o)?" ":"",n("selectionSet")];case"FragmentDefinition":return["fragment ",n("name"),$U(r.variableDefinitions)?GU(["(",HU([zU,VU([KU("",", "),zU],e.map(n,"variableDefinitions"))]),zU,")"]):""," on ",n("typeCondition"),XU(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"selections"))]),UU,"}"];case"Field":return GU([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?GU(["(",HU([zU,VU([KU("",", "),zU],e.call((function(e){return ZU(e,t,n)}),"arguments"))]),zU,")"]):"",XU(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":return r.block?['"""',UU,VU(UU,r.value.replace(/"""/g,"\\$&").split("\n")),UU,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return GU(["[",HU([zU,VU([KU("",", "),zU],e.map(n,"values"))]),zU,"]"]);case"ObjectValue":return GU(["{",t.bracketSpacing&&r.fields.length>0?" ":"",HU([zU,VU([KU("",", "),zU],e.map(n,"fields"))]),zU,KU("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?GU(["(",HU([zU,VU([KU("",", "),zU],e.call((function(e){return ZU(e,t,n)}),"arguments"))]),zU,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",XU(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?UU:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements "].concat(l(eq(e,t,n))):"",XU(e,n,r),r.fields.length>0?[" {",HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"fields"))]),UU,"}"]:""];case"FieldDefinition":return[n("description"),r.description?UU:"",n("name"),r.arguments.length>0?GU(["(",HU([zU,VU([KU("",", "),zU],e.call((function(e){return ZU(e,t,n)}),"arguments"))]),zU,")"]):"",": ",n("type"),XU(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?UU:"","directive ","@",n("name"),r.arguments.length>0?GU(["(",HU([zU,VU([KU("",", "),zU],e.call((function(e){return ZU(e,t,n)}),"arguments"))]),zU,")"]):"",r.repeatable?" repeatable":""," on ",VU(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?UU:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),XU(e,n,r),r.values.length>0?[" {",HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"values"))]),UU,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?UU:"",n("name"),XU(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?UU:qU:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",XU(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?UU:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),XU(e,n,r),r.fields.length>0?[" {",HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"fields"))]),UU,"}"]:""];case"SchemaDefinition":return["schema",XU(e,n,r)," {",r.operationTypes.length>0?HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"operationTypes"))]):"",UU,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?UU:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements "].concat(l(eq(e,t,n))):"",XU(e,n,r),r.fields.length>0?[" {",HU([UU,VU(UU,e.call((function(e){return ZU(e,t,n)}),"fields"))]),UU,"}"]:""];case"FragmentSpread":return["...",n("name"),XU(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",XU(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return GU([n("description"),r.description?UU:"",GU(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),XU(e,n,r),r.types.length>0?[" =",KU(""," "),HU([KU([qU," "]),VU([qU,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?UU:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),XU(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:tq,hasPrettierIgnore:function(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))},insertPragma:JU,printComment:function(e){var 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}},rq=nq,iq={bracketSpacing:VL.bracketSpacing},aq={languages:[Qb({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:iq,printers:{graphql:rq},parsers:void 0},oq={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},uq=kc.getLast,sq=oq.locStart,cq=oq.locEnd,lq={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]"},pq=lq.cjkPattern,fq=lq.kPattern,dq=lq.punctuationPattern,hq=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],mq=[].concat(hq,["tableCell","paragraph","heading"]),vq=new RegExp(fq),yq=new RegExp(dq);function gq(e,t){var n=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),r=d(n,4);return{numberText:r[1],marker:r[2],leadingSpaces:r[3]}}var bq={mapAst:function(e,t){return function e(n,r,i){var a=Object.assign({},t(n,r,i));return a.children&&(a.children=a.children.map((function(t,n){return e(t,n,[a].concat(l(i)))}))),a}(e,null,[])},splitText:function(e,t){var n,r="non-cjk",i="cj-letter",a="cjk-punctuation",o=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(pq,")\n(").concat(pq,")"),"g"),"$1$2")).split(/([\t\n ]+)/),s=p(u.entries());try{for(s.s();!(n=s.n()).done;){var c=d(n.value,2),l=c[0],f=c[1];if(l%2!=1){if(0!==l&&l!==u.length-1||""!==f){var h,m=f.split(new RegExp("(".concat(pq,")"))),v=p(m.entries());try{for(v.s();!(h=v.n()).done;){var y=d(h.value,2),g=y[0],b=y[1];(0!==g&&g!==m.length-1||""!==b)&&(g%2!=0?D(yq.test(b)?{type:"word",value:b,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:b,kind:vq.test(b)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==b&&D({type:"word",value:b,kind:r,hasLeadingPunctuation:yq.test(b[0]),hasTrailingPunctuation:yq.test(uq(b))}))}}catch(WQ){v.e(WQ)}finally{v.f()}}}else o.push({type:"whitespace",value:/\n/.test(f)?"\n":" "})}}catch(WQ){s.e(WQ)}finally{s.f()}return o;function D(e){var t,n,u=uq(o);u&&"word"===u.type&&(u.kind===r&&e.kind===i&&!u.hasTrailingPunctuation||u.kind===i&&e.kind===r&&!e.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(t=r,n=a,u.kind===t&&e.kind===n||u.kind===n&&e.kind===t||[u.value,e.value].some((function(e){return/\u3000/.test(e)}))||o.push({type:"whitespace",value:""}))),o.push(e)}},punctuationPattern:dq,getFencedCodeBlockValue:function(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:gq,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;var n=Number(gq(e.children[0],t.originalText).numberText),r=Number(gq(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){var i=Number(gq(e.children[2],t.originalText).numberText);return 1===r&&1===i}return 1===r},INLINE_NODE_TYPES:hq,INLINE_NODE_WRAPPER_TYPES:mq,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;var t=e.children[0];return t&&sq(e)===sq(t)&&cq(e)===cq(t)}},Dq=kc.inferParserByLanguage,Eq=kc.getMaxContinuousCount,Cq=hl.builders,Aq=Cq.hardline,Tq=Cq.markAsRoot,xq=hl.utils.replaceEndOfLine,Sq=sR,wq=bq.getFencedCodeBlockValue,kq=function(e,t,n,r){var i=e.getValue();if("code"===i.type&&null!==i.lang){var a=Dq(i.lang,r);if(a){var o=r.__inJsTemplate?"~":"`",u=o.repeat(Math.max(3,Eq(i.value,o)+1)),s={parser:a};"tsx"===i.lang&&(s.filepath="dummy.tsx");var c=n(wq(i,r.originalText),s,{stripTrailingHardline:!0});return Tq([u,i.lang,i.meta?" "+i.meta:"",Aq,xq(c),Aq,u])}}switch(i.type){case"front-matter":return Sq(i,n);case"importExport":return[n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),Aq];case"jsx":return n("<$>".concat(i.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},Oq=dR,Fq=["format","prettier"];function _q(e){var t="@(".concat(Fq.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\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 Nq={startWithPragma:_q,hasPragma:function(e){return _q(Oq(e).content.trimStart())},insertPragma:function(e){var t=Oq(e),n="\x3c!-- @".concat(Fq[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)}},Iq=Co,jq=bq.getOrderedListItemInfo,Pq=bq.mapAst,Bq=bq.splitText,Lq=/^(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/;function Rq(e,t,n){return Pq(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var i=Iq(e);return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e}),[]);return Object.assign(Object.assign({},e),{},{children:r})}))}var Mq=function(e,t){return e=function(e,t){return Pq(e,(function(e){return"text"===e.type&&"*"!==e.value&&"_"!==e.value&&Lq.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e}))}(e,t),e=function(e,t){return Pq(e,(function(e,n,r){if("code"===e.type){var i=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=i,i)for(var a=0;a<r.length;a++){var o=r[a];if(o.hasIndentedCodeblock)break;"list"===o.type&&(o.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return Pq(e,(function(e){return"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})}))}(e=function(e){return Rq(e,(function(e,t){return"text"===e.type&&"text"===t.type}),(function(e,t){return{type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e)),t),e=function(e,t){return Pq(e,(function(e,t,n){if("list"===e.type&&e.children.length>0){for(var i=0;i<n.length;i++){var a=n[i];if("list"===a.type&&!a.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;var r=d(e.children,2),i=r[0],a=r[1];if(jq(i,t.originalText).leadingSpaces.length>1)return!0;var o=n(i);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(a)&&(o%t.tabWidth==0||jq(a,t.originalText).leadingSpaces.length>1))}}(e,t),e=function(e,t){return Pq(e,(function(e,n,r){var i=d(r,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===i.type&&(0===n&&(a=a.trimStart()),n===i.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:Bq(a,t)}}))}(e,t),function(e){return Rq(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return Pq(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})}))}(e))},Vq=kc.isFrontMatterNode,Uq=Nq.startWithPragma,qq=new Set(["position","raw"]);function zq(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||Vq(n.children[0])&&n.children[1]===e)&&"html"===e.type&&Uq(e.value)?null:void 0)}zq.ignoredProperties=qq;var Gq=zq,Hq=kc.getLast,Kq=kc.getMinNotPresentContinuousCount,Wq=kc.getMaxContinuousCount,$q=kc.getStringWidth,Jq=kc.isNonEmptyArray,Qq=hl.builders,Yq=Qq.breakParent,Xq=Qq.join,Zq=Qq.line,ez=Qq.literalline,tz=Qq.markAsRoot,nz=Qq.hardline,rz=Qq.softline,iz=Qq.ifBreak,az=Qq.fill,oz=Qq.align,uz=Qq.indent,sz=Qq.group,cz=Qq.hardlineWithoutBreakParent,lz=hl.utils,pz=lz.normalizeDoc,fz=lz.replaceTextEndOfLine,dz=hl.printer.printDocToString,hz=kq,mz=Nq.insertPragma,vz=oq.locStart,yz=oq.locEnd,gz=Mq,bz=Gq,Dz=bq.getFencedCodeBlockValue,Ez=bq.hasGitDiffFriendlyOrderedList,Cz=bq.splitText,Az=bq.punctuationPattern,Tz=bq.INLINE_NODE_TYPES,xz=bq.INLINE_NODE_WRAPPER_TYPES,Sz=bq.isAutolink,wz=new Set(["importExport"]),kz=["heading","tableCell","link","wikiLink"],Oz=new Set(["listItem","definition","footnoteDefinition"]);function Fz(e,t,n,r){var i=e.getValue(),a=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[a,Bz(e,t,n,{processor:function(e,i){if(0===i&&"list"!==e.getValue().type)return oz(" ".repeat(a.length),n());var o=" ".repeat(function(e,t,n){return e<t?t:e>n?n:e}(t.tabWidth-r.length,0,3));return[o,oz(o,n())]}})]}function _z(e,t){return function(e,t,n){var r,i=-1,a=p(t.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.type===e.type&&n(o)?i++:i=-1,o===e)return i}}catch(WQ){a.e(WQ)}finally{a.f()}}(e,t,(function(t){return t.ordered===e.ordered}))}function Nz(e,t){for(var n,r=Array.isArray(t)?t:[t],i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function Iz(e,t){var n=Nz(e,t);return-1===n?null:e.getParentNode(n)}function jz(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return nz;var r="always"===n.proseWrap&&!Iz(e,kz);return""!==t?r?Zq:" ":r?rz:""}function Pz(e,t,n){var r,i=[],a=null,o=e.getValue().children,u=p(o.entries());try{for(u.s();!(r=u.n()).done;){var s=d(r.value,2),c=s[0],l=s[1];switch(Rz(l)){case"start":null===a&&(a={index:c,offset:l.position.end.offset});break;case"end":null!==a&&(i.push({start:a,end:{index:c,offset:l.position.start.offset}}),a=null)}}}catch(WQ){u.e(WQ)}finally{u.f()}return Bz(e,t,n,{processor:function(e,r){if(i.length>0){var a=i[0];if(r===a.start.index)return[o[a.start.index].value,t.originalText.slice(a.start.offset,a.end.offset),o[a.end.index].value];if(a.start.index<r&&r<a.end.index)return!1;if(r===a.end.index)return i.shift(),!1}return n()}})}function Bz(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.postprocessor,o=i.processor||function(){return n()},u=e.getValue(),s=[];return e.each((function(e,n){var i=e.getValue(),a=o(e,n);if(!1!==a){var c={parts:s,prevNode:r,parentNode:u,options:t};Mz(i,c)&&(s.push(nz),r&&wz.has(r.type)||(Vz(i,c)||Uz(i,c))&&s.push(nz),Uz(i,c)&&s.push(nz)),s.push(a),r=i}}),"children"),a?a(s):s}function Lz(e){for(var t=e;Jq(t.children);)t=Hq(t.children);return t}function Rz(e){var t,n;return"html"===e.type?t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/):("esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))),!!t&&(t[1]?t[1]:"next")}function Mz(e,t){var n=0===t.parts.length,r=Tz.includes(e.type),i="html"===e.type&&xz.includes(t.parentNode.type);return!n&&!r&&!i}function Vz(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type&&Oz.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,a="next"===Rz(t.prevNode),o="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,u="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||a||o||u)}function Uz(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function qz(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" "].concat(l(Array.isArray(t)?t:[t]));return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function zz(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+zz(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var n=e.split("'").length-1,r=e.split('"').length-1,i=n>r?'"':r>n||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}var Gz={preprocess:gz,print:function(e,t,n){var r=e.getValue();if(function(e){var t=Iz(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return Cz(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":jz(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?"":[pz(Pz(e,t,n)),wz.has(Lz(r).type)?"":nz];case"paragraph":return Bz(e,t,n,{postprocessor:az});case"sentence":return Bz(e,t,n);case"word":var i=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(Az,")(_+)"),"(_+)(".concat(Az,"|$)")].join("|"),"g"),(function(e,t,n,r,i){return(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_")})),a=function(e,t,n){return"sentence"===e.type&&0===n},o=function(e,t,n){return Sz(e.children[n-1])};return i!==r.value&&(e.match(void 0,a,o)||e.match(void 0,a,(function(e,t,n){return"emphasis"===e.type&&0===n}),o))&&(i=i.replace(/^(\\?[*_])+/,(function(e){return e.replace(/\\/g,"")}))),i;case"whitespace":var u=e.getParentNode(),s=u.children.indexOf(r),c=u.children[s+1],p=c&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(c.value)?"never":t.proseWrap;return jz(e,r.value,{proseWrap:p});case"emphasis":var f;if(Sz(r.children[0]))f=t.originalText[r.position.start.offset];else{var d=e.getParentNode(),h=d.children.indexOf(r),m=d.children[h-1],v=d.children[h+1];f=m&&"sentence"===m.type&&m.children.length>0&&"word"===Hq(m.children).type&&!Hq(m.children).hasTrailingPunctuation||v&&"sentence"===v.type&&v.children.length>0&&"word"===v.children[0].type&&!v.children[0].hasLeadingPunctuation||Iz(e,"emphasis")?"*":"_"}return[f,Bz(e,t,n),f];case"strong":return["**",Bz(e,t,n),"**"];case"delete":return["~~",Bz(e,t,n),"~~"];case"inlineCode":var y=Kq(r.value,"`"),g="`".repeat(y||1),b=y&&!/^\s/.test(r.value)?" ":"";return[g,b,r.value,b,g];case"wikiLink":return["[[","preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[r.position.start.offset]){case"<":var D="mailto:";return["<",r.url.startsWith(D)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+D.length)!==D?r.url.slice(D.length):r.url,">"];case"[":return["[",Bz(e,t,n),"](",qz(r.url,")"),zz(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return[""),zz(r.title,t),")"];case"blockquote":return["> ",oz("> ",Bz(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",Bz(e,t,n)];case"code":if(r.isIndented){var E=" ".repeat(4);return oz(E,[E].concat(l(fz(r.value,nz))))}var C=t.__inJsTemplate?"~":"`",A=C.repeat(Math.max(3,Wq(r.value,C)+1));return[A,r.lang||"",r.meta?" "+r.meta:"",nz].concat(l(fz(Dz(r,t.originalText),nz)),[nz,A]);case"html":var T=e.getParentNode(),x="root"===T.type&&Hq(T.children)===r?r.value.trimEnd():r.value,S=/^<!\x2D\x2D[\s\S]*\x2D\x2D>$/.test(x);return fz(x,S?nz:tz(ez));case"list":var w=_z(r,e.getParentNode()),k=Ez(r,t);return Bz(e,t,n,{processor:function(e,i){var a=function(){var e=r.ordered?(0===i?r.start:k?1:r.start+i)+(w%2==0?". ":") "):w%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){var n=r();return e+" ".repeat(n>=4?0:n);function r(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),o=e.getValue();return 2===o.children.length&&"html"===o.children[1].type&&o.children[0].position.start.column!==o.children[1].position.start.column?[a,Fz(e,t,n,a)]:[a,oz(" ".repeat(a.length),Fz(e,t,n,a))]}});case"thematicBreak":var O=Nz(e,"list");return-1===O?"---":_z(e.getParentNode(O),e.getParentNode(O+1))%2==0?"***":"---";case"linkReference":return["[",Bz(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":return"full"===r.referenceType?["![",r.alt||"","][",r.identifier,"]"]:["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];case"definition":var F="always"===t.proseWrap?Zq:" ";return sz(["[",r.identifier,"]:",uz([F,qz(r.url),null===r.title?"":[F,zz(r.title,t,!1)]])]);case"footnote":return["[^",Bz(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":var _=e.getParentNode().children[e.getName()+1],N=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,"]: ",N?Bz(e,t,n):sz([oz(" ".repeat(4),Bz(e,t,n,{processor:function(e,t){return 0===t?sz([rz,n()]):n()}})),_&&"footnoteDefinition"===_.type?rz:""])];case"table":return function(e,t,n){var r=e.getValue(),i=[],a=e.map((function(e){return e.map((function(e,r){var a=dz(n(),t).formatted,o=$q(a);return i[r]=Math.max(i[r]||3,o),{text:a,width:o}}),"children")}),"children"),o=s(!1);if("never"!==t.proseWrap)return[Yq,o];var u=s(!0);return[Yq,sz(iz(u,o))];function s(e){var t=[l(a[0],e),c(e)];return a.length>1&&t.push(Xq(cz,a.slice(1).map((function(t){return l(t,e)})))),Xq(cz,t)}function c(e){var t=i.map((function(t,n){var i=r.align[n],a="center"===i||"left"===i?":":"-",o="center"===i||"right"===i?":":"-",u=e?"-":"-".repeat(t-2);return"".concat(a).concat(u).concat(o)}));return"| ".concat(t.join(" | ")," |")}function l(e,t){var n=e.map((function(e,n){var a=e.text,o=e.width;if(t)return a;var u=i[n]-o,s=r.align[n],c=0;"right"===s?c=u:"center"===s&&(c=Math.floor(u/2));var l=u-c;return"".concat(" ".repeat(c)).concat(a).concat(" ".repeat(l))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return Bz(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",tz(ez)]:["\\",nz];case"liquidNode":return fz(r.value,nz);case"importExport":return[r.value,nz];case"esComment":return["{/* ",r.value," */}"];case"jsx":return r.value;case"math":return["$$",nz,r.value?[].concat(l(fz(r.value,nz)),[nz]):"","$$"];case"inlineMath":return t.originalText.slice(vz(r),yz(r));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:hz,massageAstNode:bz,hasPrettierIgnore:function(e){var t=Number(e.getName());return 0!==t&&"next"===Rz(e.getParentNode().children[t-1])},insertPragma:mz},Hz={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},Kz=Qb,Wz=Gz,$z={proseWrap:VL.proseWrap,singleQuote:VL.singleQuote},Jz=[Kz(Hz,(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(l(e.filenames),["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),Kz(Hz,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],Qz={languages:Jz,options:$z,printers:{mdast:Wz},parsers:void 0},Yz=kc.isFrontMatterNode,Xz=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function Zz(e,t){return"text"===e.type||"comment"===e.type||Yz(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}Zz.ignoredProperties=Xz;var eG=Zz,tG=["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"],nG={"*":["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"]},rG=kc.inferParserByLanguage,iG=kc.isFrontMatterNode,aG=hl.builders,oG=aG.line,uG=aG.hardline,sG=aG.join,cG=hl.utils,lG=cG.getDocParts,pG=cG.replaceTextEndOfLine,fG={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"},dG=fG.CSS_DISPLAY_TAGS,hG=fG.CSS_DISPLAY_DEFAULT,mG=fG.CSS_WHITE_SPACE_TAGS,vG=fG.CSS_WHITE_SPACE_DEFAULT,yG=TG(tG),gG=function(e,t){for(var n=Object.create(null),r=0,i=Object.entries(e);r<i.length;r++){var a=d(i[r],2),o=a[0],u=a[1];n[o]=t(u,o)}return n}(nG,TG),bG=new Set(["\t","\n","\f","\r"," "]),DG=function(e){return e.replace(/[\t\n\f\r ]+$/,"")},EG=function(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(DG(e))},CG=function(e){return e.split(/[\t\n\f\r ]+/)},AG=function(e){return e.match(/^[\t\n\f\r ]*/)[0]};function TG(e){var t,n=Object.create(null),r=p(e);try{for(r.s();!(t=r.n()).done;)n[t.value]=!0}catch(WQ){r.e(WQ)}finally{r.f()}return n}function xG(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||BG(e)&&("script"===e.name||"style"===e.name))}function SG(e){return LG(e).startsWith("pre")}function wG(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 kG(e){return NG(e)||"element"===e.type&&"br"===e.fullName||OG(e)}function OG(e){return FG(e)&&_G(e)}function FG(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 _G(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 NG(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function IG(e){var t=e.attrMap,n=t.type,r=t.lang;return"module"===n||"text/javascript"===n||"text/babel"===n||"application/javascript"===n||"jsx"===r?"babel":"application/x-typescript"===n||"ts"===r||"tsx"===r?"typescript":"text/markdown"===n?"markdown":"text/html"===n?"html":n&&(n.endsWith("json")||n.endsWith("importmap"))?"json":"text/x-handlebars-template"===n?"glimmer":void 0}function jG(e){return"block"===e||"list-item"===e||e.startsWith("table")}function PG(e){return LG(e).startsWith("pre")}function BG(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function LG(e){return"element"===e.type&&(!e.namespace||BG(e))&&mG[e.name]||vG}function RG(e){var t,n=Number.POSITIVE_INFINITY,r=p(e.split("\n"));try{for(r.s();!(t=r.n()).done;){var i=t.value;if(0!==i.length){if(!bG.has(i[0]))return 0;var a=AG(i).length;i.length!==a&&a<n&&(n=a)}}}catch(WQ){r.e(WQ)}finally{r.f()}return n===Number.POSITIVE_INFINITY?0:n}function MG(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:RG(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")}var VG=new Set(["template","style","script"]);function UG(e,t){return qG(e,t)&&!VG.has(e.fullName)}function qG(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function zG(e,t){return qG(e,t)&&(UG(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var GG={HTML_ELEMENT_ATTRIBUTES:gG,HTML_TAGS:yG,htmlTrim:function(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(DG(e))},htmlTrimPreserveIndentation:EG,hasHtmlWhitespace:function(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function(e){var t=e.match(/^([\t\n\f\r ]*)([\s\S]*?)([\t\n\f\r ]*)$/),n=d(t,4),r=n[1],i=n[2];return{leadingWhitespace:r,trailingWhitespace:n[3],text:i}},canHaveInterpolation:function(e){return e.children&&!xG(e)},countChars:function(e,t){for(var n=0,r=0;r<e.length;r++)e[r]===t&&n++;return n},countParents:function(e,t){for(var n=0,r=e.stack.length-1;r>=0;r--){var i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:MG,forceBreakChildren:wG,forceBreakContent:function(e){return wG(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&FG(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||_G(e.lastChild))},forceNextEmptyLine:function(e){return iG(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){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var n=e;n;){if(t(n))return!0;n=n.parent}return!1}(e,(function(e){return"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||BG(e))&&dG[e.name]||hG}},getNodeCssStyleWhiteSpace:LG,hasPrettierIgnore:function(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){var t=e.attrMap.lang;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&zG(e,t)?IG(e)||!("src"in e.attrMap)&&rG(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?IG(e):"babel"},isVueCustomBlock:UG,isVueNonHtmlBlock:zG,isVueSlotAttribute:function(e){var t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){var n=e.parent;if(!qG(n,t))return!1;var r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return!(jG(t=e.cssDisplay)||"inline-block"===t||xG(e));var t},isIndentationSensitiveNode:SG,isLeadingSpaceSensitiveNode:function(e,t){var n=function(){return!iG(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!PG(e.parent)||!(!e.prev&&("root"===e.parent.type||PG(e)&&e.parent||xG(e.parent)||UG(e.parent,t)||(n=e.parent.cssDisplay,jG(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!jG(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:PG,isScriptLikeTag:xG,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!iG(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!PG(e.parent)||!(!e.next&&("root"===e.parent.type||PG(e)&&e.parent||xG(e.parent)||UG(e.parent,t)||(n=e.parent.cssDisplay,jG(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!jG(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return xG(e)||"interpolation"===e.type||SG(e)},isUnknownNamespace:BG,preferHardlineAsLeadingSpaces:function(e){return NG(e)||e.prev&&kG(e.prev)||OG(e)},preferHardlineAsTrailingSpaces:kG,shouldPreserveContent:function(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!PG(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!zG(e,t)||xG(e)||"interpolation"===e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?pG(t):pG(MG(EG(t)),uG):lG(sG(oG,CG(t)))}},HG={},KG={};!function(e){function t(t){return e.$0<=t&&t<=e.$9}Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||t(n)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}(KG);var WG={},$G={};Object.defineProperty($G,"__esModule",{value:!0});var JG=function(){function e(t,n,r){h(this,e),this.filePath=t,this.name=n,this.members=r}return m(e,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),e}();$G.StaticSymbol=JG,$G.StaticSymbolCache=function(){function e(){h(this,e),this.cache=new Map}return m(e,[{key:"get",value:function(e,t,n){var r=(n=n||[]).length?".".concat(n.join(".")):"",i='"'.concat(e,'".').concat(t).concat(r),a=this.cache.get(i);return a||(a=new JG(e,t,n),this.cache.set(i,a)),a}}]),e}();var QG={};Object.defineProperty(QG,"__esModule",{value:!0});var YG=/-+([a-z0-9])/g;function XG(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function ZG(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===nH}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}QG.dashCaseToCamelCase=function(e){return e.replace(YG,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))},QG.splitAtColon=function(e,t){return XG(e,":",t)},QG.splitAtPeriod=function(e,t){return XG(e,".",t)},QG.visitValue=ZG,QG.isDefined=function(e){return null!=e},QG.noUndefined=function(e){return void 0===e?null:e},QG.ValueTransformer=function(){function e(){h(this,e)}return m(e,[{key:"visitArray",value:function(e,t){var n=this;return e.map((function(e){return ZG(e,n,t)}))}},{key:"visitStringMap",value:function(e,t){var n=this,r={};return Object.keys(e).forEach((function(i){r[i]=ZG(e[i],n,t)})),r}},{key:"visitPrimitive",value:function(e,t){return e}},{key:"visitOther",value:function(e,t){return e}}]),e}(),QG.SyncAsync={assertSync:function(e){if(rH(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,t){return rH(e)?e.then(t):t(e)},all:function(e){return e.some(rH)?Promise.all(e):e}},QG.error=function(e){throw new Error("Internal Error: ".concat(e))},QG.syntaxError=function(e,t){var n=Error(e);return n[eH]=!0,t&&(n[tH]=t),n};var eH="ngSyntaxError",tH="ngParseErrors";QG.isSyntaxError=function(e){return e[eH]},QG.getParseErrors=function(e){return e[tH]||[]},QG.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var nH=Object.getPrototypeOf({});function rH(e){return!!e&&"function"==typeof e.then}QG.utf8Encode=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){var i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-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},QG.stringify=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";var n=t.toString();if(null==n)return""+n;var r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},QG.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},QG.isPromise=rH,QG.Version=function(){function e(t){h(this,e),this.full=t;var n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}return m(e)}();var iH="undefined"!=typeof window&&window,aH="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,oH=void 0!==e&&e||iH||aH;QG.global=oH,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=$G,n=QG,r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var a,o=0;function u(e){if(!e||!e.reference)return null;var r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;var a=n.stringify(r);return a.indexOf("(")>=0?(a="anonymous_".concat(o++),r.__anonymousType=a):a=i(a),a}e.identifierName=u,e.identifierModuleUrl=function(e){var r=e.reference;return r instanceof t.StaticSymbol?r.filePath:"./".concat(n.stringify(r))},e.viewClassName=function(e,t){return"View_".concat(u({reference:e}),"_").concat(t)},e.rendererTypeName=function(e){return"RenderType_".concat(u({reference:e}))},e.hostViewClassName=function(e){return"HostView_".concat(u({reference:e}))},e.componentFactoryName=function(e){return"".concat(u({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=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(e){return null!=e.value?i(e.value):u(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},e.CompileStylesheetMetadata=function(){function e(){h(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.moduleUrl,r=t.styles,i=t.styleUrls;this.moduleUrl=n||null,this.styles=c(r),this.styleUrls=c(i)}return m(e)}(),e.CompileTemplateMetadata=function(){function e(t){h(this,e);var n=t.encapsulation,r=t.template,i=t.templateUrl,a=t.htmlAst,o=t.styles,u=t.styleUrls,s=t.externalStylesheets,p=t.animations,f=t.ngContentSelectors,d=t.interpolation,m=t.isInline,v=t.preserveWhitespaces;if(this.encapsulation=n,this.template=r,this.templateUrl=i,this.htmlAst=a,this.styles=c(o),this.styleUrls=c(u),this.externalStylesheets=c(s),this.animations=p?l(p):[],this.ngContentSelectors=f||[],d&&2!=d.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=m,this.preserveWhitespaces=v}return m(e,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),e}();var s=function(){function e(t){h(this,e);var n=t.isHost,r=t.type,i=t.isComponent,a=t.selector,o=t.exportAs,u=t.changeDetection,s=t.inputs,l=t.outputs,p=t.hostListeners,f=t.hostProperties,d=t.hostAttributes,m=t.providers,v=t.viewProviders,y=t.queries,g=t.guards,b=t.viewQueries,D=t.entryComponents,E=t.template,C=t.componentViewType,A=t.rendererType,T=t.componentFactory;this.isHost=!!n,this.type=r,this.isComponent=i,this.selector=a,this.exportAs=o,this.changeDetection=u,this.inputs=s,this.outputs=l,this.hostListeners=p,this.hostProperties=f,this.hostAttributes=d,this.providers=c(m),this.viewProviders=c(v),this.queries=c(y),this.guards=g,this.viewQueries=c(b),this.entryComponents=c(D),this.template=E,this.componentViewType=C,this.rendererType=A,this.componentFactory=T}return m(e,[{key:"toSummary",value:function(){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}}}],[{key:"create",value:function(t){var i=t.isHost,a=t.type,o=t.isComponent,u=t.selector,s=t.exportAs,c=t.changeDetection,l=t.inputs,p=t.outputs,f=t.host,d=t.providers,h=t.viewProviders,m=t.queries,v=t.guards,y=t.viewQueries,g=t.entryComponents,b=t.template,D=t.componentViewType,E=t.rendererType,C=t.componentFactory,A={},T={},x={};null!=f&&Object.keys(f).forEach((function(e){var t=f[e],n=e.match(r);null===n?x[e]=t:null!=n[1]?T[n[1]]=t:null!=n[2]&&(A[n[2]]=t)}));var S={};null!=l&&l.forEach((function(e){var t=n.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));var w={};return null!=p&&p.forEach((function(e){var t=n.splitAtColon(e,[e,e]);w[t[0]]=t[1]})),new e({isHost:i,type:a,isComponent:!!o,selector:u,exportAs:s,changeDetection:c,inputs:S,outputs:w,hostListeners:A,hostProperties:T,hostAttributes:x,providers:d,viewProviders:h,queries:m,guards:v,viewQueries:y,entryComponents:g,template:b,componentViewType:D,rendererType:E,componentFactory:C})}}]),e}();function c(e){return e||[]}function l(e){return e.reduce((function(e,t){var n=Array.isArray(t)?l(t):t;return e.concat(n)}),[])}function p(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.CompileDirectiveMetadata=s,e.CompilePipeMetadata=function(){function e(t){h(this,e);var n=t.type,r=t.name,i=t.pure;this.type=n,this.name=r,this.pure=!!i}return m(e,[{key:"toSummary",value:function(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),e}(),e.CompileShallowModuleMetadata=function(){function e(){h(this,e)}return m(e)}(),e.CompileNgModuleMetadata=function(){function e(t){h(this,e);var n=t.type,r=t.providers,i=t.declaredDirectives,a=t.exportedDirectives,o=t.declaredPipes,u=t.exportedPipes,s=t.entryComponents,l=t.bootstrapComponents,p=t.importedModules,f=t.exportedModules,d=t.schemas,m=t.transitiveModule,v=t.id;this.type=n||null,this.declaredDirectives=c(i),this.exportedDirectives=c(a),this.declaredPipes=c(o),this.exportedPipes=c(u),this.providers=c(r),this.entryComponents=c(s),this.bootstrapComponents=c(l),this.importedModules=c(p),this.exportedModules=c(f),this.schemas=c(d),this.id=v||null,this.transitiveModule=m||null}return m(e,[{key:"toSummary",value:function(){var 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}}}]),e}(),e.TransitiveCompileNgModuleMetadata=function(){function e(){h(this,e),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=[]}return m(e,[{key:"addProvider",value:function(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),e}(),e.ProviderMeta=function(){function e(t,n){h(this,e);var r=n.useClass,i=n.useValue,a=n.useExisting,o=n.useFactory,u=n.deps,s=n.multi;this.token=t,this.useClass=r||null,this.useValue=i,this.useExisting=a,this.useFactory=o||null,this.dependencies=u||null,this.multi=!!s}return m(e)}(),e.flatten=l,e.templateSourceUrl=function(e,n,r){var i;return i=r.isInline?n.type.reference instanceof t.StaticSymbol?"".concat(n.type.reference.filePath,".").concat(n.type.reference.name,".html"):"".concat(u(e),"/").concat(u(n.type),".html"):r.templateUrl,n.type.reference instanceof t.StaticSymbol?i:p(i)},e.sharedStylesheetJitUrl=function(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return p("css/".concat(t).concat(r,".ngstyle.js"))},e.ngModuleJitUrl=function(e){return p("".concat(u(e.type),"/module.ngfactory.js"))},e.templateJitUrl=function(e,t){return p("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}}(WG),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=KG,n=WG,r=function(){function e(t,n,r,i){h(this,e),this.file=t,this.offset=n,this.line=r,this.col=i}return m(e,[{key:"toString",value:function(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(n){for(var r=this.file.content,i=r.length,a=this.offset,o=this.line,u=this.col;a>0&&n<0;)if(a--,n++,r.charCodeAt(a)==t.$LF){o--;var s=r.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));u=s>0?a-s:a}else u--;for(;a<i&&n>0;){var c=r.charCodeAt(a);a++,n--,c==t.$LF?(o++,u=0):u++}return new e(this.file,a,o,u)}},{key:"getContext",value:function(e,t){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,a=0,o=0;a<e&&r>0&&(a++,"\n"!=n[--r]||++o!=t););for(a=0,o=0;a<e&&i<n.length-1&&(a++,"\n"!=n[++i]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}}]),e}();e.ParseLocation=r;var i=m((function e(t,n){h(this,e),this.content=t,this.url=n}));e.ParseSourceFile=i;var a,o=function(){function e(t,n){h(this,e);var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=t,this.end=n,this.details=r}return m(e,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),e}();e.ParseSourceSpan=o,e.EMPTY_PARSE_LOCATION=new r(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new o(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(a=e.ParseErrorLevel||(e.ParseErrorLevel={})),e.ParseError=function(){function e(t,n){h(this,e);var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ERROR;this.span=t,this.msg=n,this.level=r}return m(e,[{key:"contextualMessage",value:function(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(a[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),e}(),e.typeSourceSpan=function(e,t){var a=n.identifierModuleUrl(t),u=null!=a?"in ".concat(e," ").concat(n.identifierName(t)," in ").concat(a):"in ".concat(e," ").concat(n.identifierName(t)),s=new i("",u);return new o(new r(s,-1,-1,-1),new r(s,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,n){var a="in ".concat(e," ").concat(t," in ").concat(n),u=new i("",a);return new o(new r(u,-1,-1,-1),new r(u,-1,-1,-1))}}(HG);var uH=HG.ParseSourceSpan,sH=Co,cH=GG.htmlTrim,lH=GG.getLeadingAndTrailingHtmlWhitespace,pH=GG.hasHtmlWhitespace,fH=GG.canHaveInterpolation,dH=GG.getNodeCssStyleDisplay,hH=GG.isDanglingSpaceSensitiveNode,mH=GG.isIndentationSensitiveNode,vH=GG.isLeadingSpaceSensitiveNode,yH=GG.isTrailingSpaceSensitiveNode,gH=GG.isWhitespaceSensitiveNode,bH=[function(e){e.walk((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var t=c(e.children),n=t[0],r=t.slice(1);e.setChildren(1===n.value.length?r:[n.clone({value:n.value.slice(1)})].concat(l(r)))}}))},function(e){var t=function(e){return"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};e.walk((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],i=0;i<e.children.length;i++){var a=e.children[i];if(!n[i+1])if(n[i]){var o=a.prev,u=a.firstChild,s=new uH(o.sourceSpan.start,u.sourceSpan.end),c=new uH(s.start,a.sourceSpan.end);r.push(a.clone({condition:o.condition,sourceSpan:c,startSourceSpan:s,children:a.children.slice(1)}))}else r.push(a)}e.setChildren(r)}}}))},function(e){return function(e,t,n){e.walk((function(e){if(e.children){var r=e.children.map(t);if(r.some(Boolean)){for(var i=[],a=0;a<e.children.length;a++){var o=e.children[a];if("text"===o.type||r[a]){var u="text"===o.type?o:o.clone({type:"text",value:n(o)});if(0!==i.length&&"text"===sH(i).type){var s=i.pop();i.push(s.clone({value:s.value+u.value,sourceSpan:new uH(s.sourceSpan.start,u.sourceSpan.end)}))}else i.push(u)}else i.push(o)}e.setChildren(i)}}}))}(e,(function(e){return"cdata"===e.type}),(function(e){return"<![CDATA[".concat(e.value,"]]>")}))},function(e,t){if("html"!==t.parser){var n=/\{\{([\s\S]+?)\}\}/;e.walk((function(e){if(fH(e)){var t,r=[],i=p(e.children);try{for(i.s();!(t=i.n()).done;){var a=t.value;if("text"===a.type)for(var o=a.sourceSpan.start,u=null,s=a.value.split(n),c=0;c<s.length;c++,o=u){var l=s[c];c%2!=0?(u=o.moveBy(l.length+4),r.push({type:"interpolation",sourceSpan:new uH(o,u),children:0===l.length?[]:[{type:"text",value:l,sourceSpan:new uH(o.moveBy(2),u.moveBy(-2))}]})):(u=o.moveBy(l.length),l.length>0&&r.push({type:"text",value:l,sourceSpan:new uH(o,u)}))}else r.push(a)}}catch(WQ){i.e(WQ)}finally{i.f()}e.setChildren(r)}}))}},function(e){e.walk((function(e){if(e.children){if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===cH(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);var t=gH(e),n=mH(e);e.setChildren(e.children.flatMap((function(e){if("text"!==e.type||t)return e;var n=[],r=lH(e.value),i=r.leadingWhitespace,a=r.text,o=r.trailingWhitespace;return i&&n.push(DH),a&&n.push({type:"text",value:a,sourceSpan:new uH(e.sourceSpan.start.moveBy(i.length),e.sourceSpan.end.moveBy(-o.length))}),o&&n.push(DH),n})).map((function(e,t,n){if(e!==DH)return Object.assign(Object.assign({},e),{},{hasLeadingSpaces:n[t-1]===DH,hasTrailingSpaces:n[t+1]===DH})})).filter(Boolean)),e.isWhitespaceSensitive=t,e.isIndentationSensitive=n}}))},function(e,t){e.walk((function(e){return Object.assign(e,{cssDisplay:dH(e,t)})}))},function(e){e.walk((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){e.walk((function(e){return"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){e.walk((function(e){e.children&&(0!==e.children.length?e.setChildren(e.children.map((function(e){return Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:vH(e,t),isTrailingSpaceSensitive:yH(e,t)})})).map((function(e,t,n){return Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))):e.isDanglingSpaceSensitive=hH(e))}))},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!pH(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};e.walk((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],i=0;i<e.children.length;i++){var a=e.children[i];if(n[i]){var o=r.pop(),u=e.children[++i],s=u.isTrailingSpaceSensitive,c=u.hasTrailingSpaces;r.push(o.clone({value:o.value+"<".concat(a.rawName,">")+a.firstChild.value+"</".concat(a.rawName,">")+u.value,sourceSpan:new uH(o.sourceSpan.start,u.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:c}))}else r.push(a)}e.setChildren(r)}}}))}],DH={type:"whitespace"},EH=function(e,t){var n,r=e.map((function(e){return e})),i=p(bH);try{for(i.s();!(n=i.n()).done;)(0,n.value)(r,t)}catch(WQ){i.e(WQ)}finally{i.f()}return r},CH={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},AH={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}},TH=tg,xH=kc.isNonEmptyArray,SH=hl.builders,wH=SH.indent,kH=SH.join,OH=SH.line,FH=SH.softline,_H=hl.utils.replaceTextEndOfLine,NH=AH.locStart,IH=AH.locEnd,jH=GG.isTextLikeNode,PH=GG.getLastDescendant,BH=GG.isPreLikeNode,LH=GG.hasPrettierIgnore,RH=GG.shouldPreserveContent;function MH(e,t){return e.lastChild&&$H(e.lastChild)?"":[UH(e,t),zH(e,t)]}function VH(e,t){return(e.next?KH(e.next):WH(e.parent))?"":[GH(e,t),qH(e,t)]}function UH(e,t){return WH(e)?GH(e.lastChild,t):""}function qH(e,t){return $H(e)?zH(e.parent,t):JH(e)?tK(e.next):""}function zH(e,t){if(TH(!e.isSelfClosing),HH(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function GH(e,t){if(HH(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 HH(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(LH(e)||RH(e.parent,t))}function KH(e){return e.prev&&"docType"!==e.prev.type&&!jH(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function WH(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!jH(PH(e.lastChild))&&!BH(e)}function $H(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&jH(PH(e))}function JH(e){return e.next&&!jH(e.next)&&jH(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function QH(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function YH(e,t,n){var r=e.getValue();if(!xH(r.attrs))return r.isSelfClosing?" ":"";var i=r.prev&&"comment"===r.prev.type&&function(e){var t=e.trim().match(/^prettier\x2Dignore\x2Dattribute(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+([\s\S]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))}(r.prev.value),a="boolean"==typeof i?function(){return i}:Array.isArray(i)?function(e){return i.includes(e.rawName)}:function(){return!1},o=e.map((function(e){var r=e.getValue();return a(r)?_H(t.originalText.slice(NH(r),IH(r))):n()}),"attrs"),u="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,s=[wH([u?" ":OH,kH(OH,o)])];return r.firstChild&&QH(r.firstChild)||r.isSelfClosing&&WH(r.parent)||u?s.push(r.isSelfClosing?" ":""):s.push(t.bracketSameLine?r.isSelfClosing?" ":"":r.isSelfClosing?OH:FH),s}function XH(e){return e.firstChild&&QH(e.firstChild)?"":nK(e)}function ZH(e,t){return e.prev&&JH(e.prev)?"":[eK(e,t),tK(e)]}function eK(e,t){return QH(e)?nK(e.parent):KH(e)?GH(e.prev,t):""}function tK(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 nK(e){switch(TH(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}var rK={printClosingTag:function(e,t){return[e.isSelfClosing?"":MH(e,t),VH(e,t)]},printClosingTagStart:MH,printClosingTagStartMarker:zH,printClosingTagEndMarker:GH,printClosingTagSuffix:qH,printClosingTagEnd:VH,needsToBorrowLastChildClosingTagEndMarker:WH,needsToBorrowParentClosingTagStartMarker:$H,needsToBorrowPrevClosingTagEndMarker:KH,printOpeningTag:function(e,t,n){var r=e.getValue();return[ZH(r,t),YH(e,t,n),r.isSelfClosing?"":XH(r)]},printOpeningTagStart:ZH,printOpeningTagPrefix:eK,printOpeningTagStartMarker:tK,printOpeningTagEndMarker:nK,needsToBorrowNextOpeningTagStartMarker:JH,needsToBorrowParentOpeningTagEndMarker:QH},iK={exports:{}};!function(t){var n,r;n=e,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 i(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var a,o,u,s,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,v=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,g=[];;){if(i(f),y>=l)return g;a=i(d),o=[],","===a.slice(-1)?(a=a.replace(h,""),D()):b()}function b(){for(i(p),u="",s="in descriptor";;){if(c=e.charAt(y),"in descriptor"===s)if(r(c))u&&(o.push(u),u="",s="after descriptor");else{if(","===c)return y+=1,u&&o.push(u),void D();if("("===c)u+=c,s="in parens";else{if(""===c)return u&&o.push(u),void D();u+=c}}else if("in parens"===s)if(")"===c)u+=c,s="in descriptor";else{if(""===c)return o.push(u),void D();u+=c}else if("after descriptor"===s)if(r(c));else{if(""===c)return void D();s="in descriptor",y-=1}y+=1}}function D(){var t,r,i,u,s,c,l,p,f,d=!1,h={};for(u=0;u<o.length;u++)c=(s=o[u])[s.length-1],l=s.substring(0,s.length-1),p=parseInt(l,10),f=parseFloat(l),m.test(l)&&"w"===c?((t||r)&&(d=!0),0===p?d=!0:t=p):v.test(l)&&"x"===c?((t||r||i)&&(d=!0),f<0?d=!0:r=f):m.test(l)&&"h"===c?((i||r)&&(d=!0),0===p?d=!0:i=p):d=!0;d?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(h.url=a,t&&(h.w=t),r&&(h.d=r),i&&(h.h=i),g.push(h))}}},t.exports?t.exports=r():n.parseSrcset=r()}(iK);var aK=iK.exports,oK=hl.builders,uK=oK.ifBreak,sK=oK.join,cK=oK.line,lK={printImgSrcset:function(e){var t=aK(e,{logger:{error:function(e){throw new Error(e)}}}),n=t.some((function(e){return e.w})),r=t.some((function(e){return e.h}));if(n+r+t.some((function(e){return e.d}))>1)throw new Error("Mixed descriptor in srcset is not supported");var i=n?"w":r?"h":"d",a=n?"w":r?"h":"x",o=function(e){return Math.max.apply(Math,l(e))},u=t.map((function(e){return e.url})),s=o(u.map((function(e){return e.length}))),c=t.map((function(e){return e[i]})).map((function(e){return e?e.toString():""})),p=c.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),f=o(p);return sK([",",cK],u.map((function(e,t){var n=[e],r=c[t];if(r){var i=s-e.length+1,o=f-p[t],u=" ".repeat(i+o);n.push(uK(u," "),r+a)}return n})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}},pK=hl.builders.group,fK={isVueEventBindingExpression:function(e){var 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){var n=function(e){var t=/([\s\S]*?)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+(in|of)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+([\s\S]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(i){var a={};a.for=i[3].trim();var o=i[1].trim().replace(r,""),u=o.match(n);return u?(a.alias=o.replace(n,""),a.iterator1=u[1].trim(),u[2]&&(a.iterator2=u[2].trim())):a.alias=o,{left:"".concat([a.alias,a.iterator1,a.iterator2].filter(Boolean).join(",")),operator:i[2],right:a.for}}}(e),r=n.left,i=n.operator,a=n.right;return[pK(t("function _(".concat(r,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(a,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},dK=rK.needsToBorrowParentClosingTagStartMarker,hK=rK.printClosingTagStartMarker,mK=rK.needsToBorrowLastChildClosingTagEndMarker,vK=rK.printClosingTagEndMarker,yK=rK.needsToBorrowParentOpeningTagEndMarker,gK=rK.printOpeningTagEndMarker,bK=function(e,t){var n=e.startSourceSpan.end.offset;e.firstChild&&yK(e.firstChild)&&(n-=gK(e).length);var r=e.endSourceSpan.start.offset;return e.lastChild&&dK(e.lastChild)?r+=hK(e,t).length:mK(e)&&(r-=vK(e.lastChild,t).length),t.originalText.slice(n,r)},DK=hl.builders,EK=DK.breakParent,CK=DK.group,AK=DK.hardline,TK=DK.indent,xK=DK.line,SK=DK.fill,wK=DK.softline,kK=hl.utils,OK=kK.mapDoc,FK=kK.replaceTextEndOfLine,_K=sR,NK=rK.printClosingTag,IK=rK.printClosingTagSuffix,jK=rK.needsToBorrowPrevClosingTagEndMarker,PK=rK.printOpeningTagPrefix,BK=rK.printOpeningTag,LK=lK.printImgSrcset,RK=lK.printClassNames,MK=fK.printVueFor,VK=fK.printVueBindings,UK=fK.isVueEventBindingExpression,qK=GG.isScriptLikeTag,zK=GG.isVueNonHtmlBlock,GK=GG.inferScriptParser,HK=GG.htmlTrimPreserveIndentation,KK=GG.dedentString,WK=GG.unescapeQuoteEntities,$K=GG.isVueSlotAttribute,JK=GG.isVueSfcBindingsAttribute,QK=GG.getTextValueParts,YK=bK;function XK(e,t,n){var r=function(t){return new RegExp(t.join("|")).test(e.fullName)},i=function(){return WK(e.value)},a=!1,o=function(e,t){var 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)||(a=!0)},u=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return CK([TK([wK,e]),t?wK:""])},s=function(e){return a?function(e){return CK(e)}(e):u(e)},c=function(e,n){return t(e,Object.assign({__onHtmlBindingRoot:o,__embeddedInHtml:!0},n),{stripTrailingHardline:!0})};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return u(LK(i()));if("class"===e.fullName&&!n.parentParser){var l=i();if(!l.includes("{{"))return RK(l)}if("style"===e.fullName&&!n.parentParser){var f=i();if(!f.includes("{{"))return u(c(f,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return MK(i(),c);if($K(e)||JK(e,n))return VK(i(),c);var h=["^:","^v-bind:"],m=["^v-"];if(r(["^@","^v-on:"])){var v=i();return s(c(v,{parser:UK(v)?"__js_expression":"__vue_event_binding"}))}if(r(h))return s(c(i(),{parser:"__vue_expression"}));if(r(m))return s(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){var y=function(e,t){return c(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"}))},g=["^\\*"],b=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],D=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return s(y(i(),{parser:"__ng_action"}));if(r(b))return s(y(i(),{parser:"__ng_binding"}));if(r(D)){var E=i().trim();return u(SK(QK(e,E)),!E.includes("@@"))}if(r(g))return s(y(i(),{parser:"__ng_directive"}));var C=/\{\{([\s\S]+?)\}\}/,A=i();if(C.test(A)){var T,x=[],S=p(A.split(C).entries());try{for(S.s();!(T=S.n()).done;){var w=d(T.value,2),k=w[0],O=w[1];if(k%2==0)x.push(FK(O));else try{x.push(CK(["{{",TK([xK,y(O,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),xK,"}}"]))}catch(F){x.push("{{",FK(O),"}}")}}}catch(WQ){S.e(WQ)}finally{S.f()}return CK(x)}}return null}var ZK=function(e,t,n,r){var i=e.getValue();switch(i.type){case"element":if(qK(i)||"interpolation"===i.type)return;if(!i.isSelfClosing&&zK(i,r)){var a=GK(i,r);if(!a)return;var o=YK(i,r),u=/^\s*$/.test(o),s="";return u||(u=""===(s=n(HK(o),{parser:a,__embeddedInHtml:!0},{stripTrailingHardline:!0}))),[PK(i,r),CK(BK(e,r,t)),u?"":AK,s,u?"":AK,NK(i,r),IK(i,r)]}break;case"text":if(qK(i.parent)){var c=GK(i.parent);if(c){var l="markdown"===c?KK(i.value.replace(/^[^\S\n]*?\n/,"")):i.value,p={parser:c,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===c){var f="script",d=i.parent.attrMap;d&&("module"===d.type||"text/babel"===d.type&&"module"===d["data-type"])&&(f="module"),p.__babelSourceType=f}return[EK,PK(i,r),n(l,p,{stripTrailingHardline:!0}),IK(i,r)]}}else if("interpolation"===i.parent.type){var h={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(h.parser="__ng_interpolation",h.trailingComma="none"):"vue"===r.parser?h.parser="__vue_expression":h.parser="__js_expression",[TK([xK,n(i.value,h,{stripTrailingHardline:!0})]),i.parent.next&&jK(i.parent.next)?" ":xK]}break;case"attribute":if(!i.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value];if("lwc"===r.parser&&/^\{[\s\S]*\}$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value];var m=XK(i,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})}),r);if(m)return[i.rawName,'="',CK(OK(m,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"'];break;case"front-matter":return _K(i,n)}},eW=hl.builders,tW=eW.breakParent,nW=eW.group,rW=eW.ifBreak,iW=eW.line,aW=eW.softline,oW=eW.hardline,uW=hl.utils.replaceTextEndOfLine,sW=AH.locStart,cW=AH.locEnd,lW=GG.forceBreakChildren,pW=GG.forceNextEmptyLine,fW=GG.isTextLikeNode,dW=GG.hasPrettierIgnore,hW=GG.preferHardlineAsLeadingSpaces,mW=rK.printOpeningTagPrefix,vW=rK.needsToBorrowNextOpeningTagStartMarker,yW=rK.printOpeningTagStartMarker,gW=rK.needsToBorrowPrevClosingTagEndMarker,bW=rK.printClosingTagEndMarker,DW=rK.printClosingTagSuffix,EW=rK.needsToBorrowParentClosingTagStartMarker;function CW(e,t,n){var r=e.getValue();return dW(r)?[mW(r,t)].concat(l(uW(t.originalText.slice(sW(r)+(r.prev&&vW(r.prev)?yW(r).length:0),cW(r)-(r.next&&gW(r.next)?bW(r,t).length:0)))),[DW(r,t)]):n()}function AW(e,t){return fW(e)&&fW(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?hW(t)?oW:iW:"":hW(t)?oW:aW:vW(e)&&(dW(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&gW(t)?"":!t.isLeadingSpaceSensitive||hW(t)||gW(t)&&e.lastChild&&EW(e.lastChild)&&e.lastChild.lastChild&&EW(e.lastChild.lastChild)?oW:t.hasLeadingSpaces?iW:aW}var TW={printChildren:function(e,t,n){var r=e.getValue();if(lW(r))return[tW].concat(l(e.map((function(e){var r=e.getValue(),i=r.prev?AW(r.prev,r):"";return[i?[i,pW(r.prev)?oW:""]:"",CW(e,t,n)]}),"children")));var i=r.children.map((function(){return Symbol("")}));return e.map((function(e,r){var a=e.getValue();if(fW(a)){if(a.prev&&fW(a.prev)){var o=AW(a.prev,a);if(o)return pW(a.prev)?[oW,oW,CW(e,t,n)]:[o,CW(e,t,n)]}return CW(e,t,n)}var u=[],s=[],c=[],l=[],p=a.prev?AW(a.prev,a):"",f=a.next?AW(a,a.next):"";return p&&(pW(a.prev)?u.push(oW,oW):p===oW?u.push(oW):fW(a.prev)?s.push(p):s.push(rW("",aW,{groupId:i[r-1]}))),f&&(pW(a)?fW(a.next)&&l.push(oW,oW):f===oW?fW(a.next)&&l.push(oW):c.push(f)),[].concat(u,[nW([].concat(s,[nW([CW(e,t,n)].concat(c),{id:i[r]})]))],l)}),"children")}},xW=hl.builders,SW=xW.breakParent,wW=xW.dedentToRoot,kW=xW.group,OW=xW.ifBreak,FW=xW.indentIfBreak,_W=xW.indent,NW=xW.line,IW=xW.softline,jW=hl.utils.replaceTextEndOfLine,PW=bK,BW=GG.shouldPreserveContent,LW=GG.isScriptLikeTag,RW=GG.isVueCustomBlock,MW=GG.countParents,VW=GG.forceBreakContent,UW=rK.printOpeningTagPrefix,qW=rK.printOpeningTag,zW=rK.printClosingTagSuffix,GW=rK.printClosingTag,HW=rK.needsToBorrowPrevClosingTagEndMarker,KW=rK.needsToBorrowLastChildClosingTagEndMarker,WW=TW.printChildren,$W={printElement:function(e,t,n){var r=e.getValue();if(BW(r,t))return[UW(r,t),kW(qW(e,t,n))].concat(l(jW(PW(r,t))),l(GW(r,t)),[zW(r,t)]);var i,a=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),u=function(i){return kW([kW(qW(e,t,n),{id:o}),i,GW(r,t)])};return 0===r.children.length?u(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?NW:""):u([VW(r)?SW:"",(i=[a?OW(IW,"",{groupId:o}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?NW:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?wW(IW):IW,WW(e,t,n)],a?FW(i,{groupId:o}):!LW(r)&&!RW(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?_W(i):i),(r.next?HW(r.next):KW(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":a?OW(IW,"",{groupId:o}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?NW:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*MW(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(r.lastChild.value)?"":IW])}},JW=hl.builders,QW=JW.fill,YW=JW.group,XW=JW.hardline,ZW=JW.literalline,e$=hl.utils,t$=e$.cleanDoc,n$=e$.getDocParts,r$=e$.isConcat,i$=e$.replaceTextEndOfLine,a$=eG,o$=GG.countChars,u$=GG.unescapeQuoteEntities,s$=GG.getTextValueParts,c$=EH,l$=CH.insertPragma,p$=AH.locStart,f$=AH.locEnd,d$=ZK,h$=rK.printClosingTagSuffix,m$=rK.printClosingTagEnd,v$=rK.printOpeningTagPrefix,y$=rK.printOpeningTagStart,g$=$W.printElement,b$=TW.printChildren,D$={preprocess:c$,print:function(e,t,n){var r=e.getValue();switch(r.type){case"front-matter":return i$(r.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[YW(b$(e,t,n)),XW];case"element":case"ieConditionalComment":return g$(e,t,n);case"ieConditionalStartComment":case"ieConditionalEndComment":return[y$(r),m$(r)];case"interpolation":return[y$(r,t)].concat(l(e.map(n,"children")),[m$(r,t)]);case"text":if("interpolation"===r.parent.type){var i=/\n[^\S\n]*?$/,a=i.test(r.value),o=a?r.value.replace(i,""):r.value;return[].concat(l(i$(o)),[a?XW:""])}var u=t$([v$(r,t)].concat(l(s$(r)),[h$(r,t)]));return r$(u)||"fill"===u.type?QW(n$(u)):u;case"docType":return[YW([y$(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),m$(r,t)];case"comment":return[v$(r,t)].concat(l(i$(t.originalText.slice(p$(r),f$(r)),ZW)),[h$(r,t)]);case"attribute":if(null===r.value)return r.rawName;var s=u$(r.value),c=o$(s,"'")<o$(s,'"')?"'":'"';return[r.rawName,"=",c].concat(l(i$('"'===c?s.replace(/"/g,"""):s.replace(/'/g,"'"))),[c]);default:throw new Error("Unexpected node type ".concat(r.type))}},insertPragma:l$,massageAstNode:a$,embed:d$},E$="HTML",C$={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},A$={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},T$=Qb,x$=D$,S$={bracketSameLine:VL.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:E$,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:E$,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},w$=[T$(C$,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),T$(C$,(function(e){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(l(e.extensions),[".mjml"])}})),T$(C$,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),T$(A$,(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],k$={languages:w$,printers:{html:x$},options:S$,parsers:void 0},O$={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)}},F$={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},_$=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))},N$=kc.getLast,I$=kc.isNonEmptyArray;function j$(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function P$(e){return"prettier-ignore"===e.value.trim()}function B$(e){return e&&I$(e.leadingComments)}function L$(e){return e&&I$(e.middleComments)}function R$(e){return e&&e.indicatorComment}function M$(e){return e&&e.trailingComment}function V$(e){return e&&I$(e.endComments)}function U$(e){var t,n,r=[],i=p(e.split(/( +)/));try{for(i.s();!(n=i.n()).done;){var a=n.value;" "!==a?" "===t?r.push(a):r.push((r.pop()||"")+a):void 0===t&&r.unshift(""),t=a}}catch(WQ){i.e(WQ)}finally{i.f()}return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}var q$={getLast:N$,getAncestorCount:function(e,t){for(var n=0,r=e.stack.length-1,i=0;i<r;i++){var a=e.stack[i];j$(a)&&t(a)&&n++}return n},isNode:j$,isEmptyNode:function(e){return!I$(e.children)&&!function(e){return B$(e)||L$(e)||R$(e)||M$(e)||V$(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(Object.assign({},t),{},{children:t.children.map((function(r){return e(r,n,t)}))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){for(var n=0,r=t.length,i=e.position.end.offset-1;i<r;i++){var a=t[i];if("\n"===a&&n++,1===n&&/\S/.test(a))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var t=e.stack.length,n=1;n<t;n++){var r=e.stack[n],i=e.stack[n-1];if(Array.isArray(i)&&"number"==typeof r&&r!==i.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){var n=t.parentIndent,r=t.isLastDescendant,i=t.options,a=e.position.start.line===e.position.end.line?"":i.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^(?:(?!\n)[\s\S])*?\n([\s\S]*)$/)[1],o=null===e.indent?function(e){return e?e[1].length:Number.POSITIVE_INFINITY}(a.match(/^( *)\S/m)):e.indent-1+n,u=a.split("\n").map((function(e){return e.slice(o)}));return"preserve"===i.proseWrap||"blockLiteral"===e.type?s(u.map((function(e){return 0===e.length?[]:[e]}))):s(u.map((function(e){return 0===e.length?[]:U$(e)})).reduce((function(e,t,n){return 0!==n&&u[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(N$(e))?[].concat(l(e.slice(0,-1)),[[].concat(l(N$(e)),l(t))]):[].concat(l(e),[t])}),[]).map((function(e){return e.reduce((function(e,t){return e.length>0&&/\s$/.test(N$(e))?[].concat(l(e.slice(0,-1)),[N$(e)+" "+t]):[].concat(l(e),[t])}),[])})).map((function(e){return"never"===i.proseWrap?[e.join(" ")]:e})));function s(t){if("keep"===e.chomping)return 0===N$(t).length?t.slice(0,-1):t;for(var n=0,i=t.length-1;i>=0&&0===t[i].length;i--)n++;return 0===n?t:n>=2&&!r?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){var r=t.split("\n").map((function(e,t,n){return 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((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:U$(e)})).reduce((function(t,n,i){return 0!==i&&r[i-1].length>0&&n.length>0&&("quoteDouble"!==e||!N$(N$(t)).endsWith("\\"))?[].concat(l(t.slice(0,-1)),[[].concat(l(N$(t)),l(n))]):[].concat(l(t),[n])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return I$(t.children)?e(N$(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var n=e.getParentNode();return V$(n.head)&&P$(N$(n.head.endComments))}return B$(t)&&P$(N$(t.leadingComments))},hasLeadingComments:B$,hasMiddleComments:L$,hasIndicatorComment:R$,hasTrailingComment:M$,hasEndComments:V$},z$=q$.defineShortcut,G$=q$.mapNode;function H$(e){switch(e.type){case"document":z$(e,"head",(function(){return e.children[0]})),z$(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":z$(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":z$(e,"key",(function(){return e.children[0]})),z$(e,"value",(function(){return e.children[1]}))}return e}var K$=function(e){return G$(e,H$)},W$=hl.builders,$$=W$.softline,J$=W$.align,Q$=q$.hasEndComments,Y$=q$.isNextLineEmpty,X$=q$.isNode,Z$=new WeakMap;function eJ(e){return Q$(e)&&!X$(e,["documentHead","documentBody","flowMapping","flowSequence"])}var tJ={alignWithSpaces:function(e,t){return J$(" ".repeat(e),t)},shouldPrintEndComments:eJ,printNextEmptyLine:function(e,t){var n,r=e.getValue(),i=e.stack[0];return Z$.has(i)?n=Z$.get(i):(n=new Set,Z$.set(i,n)),n.has(r.position.end.line)||(n.add(r.position.end.line),!Y$(r,t)||eJ(e.getParentNode()))?"":$$}},nJ=hl.builders,rJ=nJ.ifBreak,iJ=nJ.line,aJ=nJ.softline,oJ=nJ.hardline,uJ=nJ.join,sJ=q$.isEmptyNode,cJ=q$.getLast,lJ=q$.hasEndComments,pJ=tJ.printNextEmptyLine,fJ=tJ.alignWithSpaces;function dJ(e,t,n){var r=e.getValue(),i="flowMapping"===r.type,a=i?"{":"[",o=i?"}":"]",u=aJ;i&&r.children.length>0&&n.bracketSpacing&&(u=iJ);var s=cJ(r.children),c=s&&"flowMappingItem"===s.type&&sJ(s.key)&&sJ(s.value);return[a,fJ(n.tabWidth,[u,hJ(e,t,n),"none"===n.trailingComma?"":rJ(","),lJ(r)?[oJ,uJ(oJ,e.map(t,"endComments"))]:""]),c?"":u,o]}function hJ(e,t,n){var r=e.getValue();return e.map((function(e,i){return[t(),i===r.children.length-1?"":[",",iJ,r.children[i].position.start.line!==r.children[i+1].position.start.line?pJ(e,n.originalText):""]]}),"children")}var mJ={printFlowMapping:dJ,printFlowSequence:dJ},vJ=hl.builders,yJ=vJ.conditionalGroup,gJ=vJ.group,bJ=vJ.hardline,DJ=vJ.ifBreak,EJ=vJ.join,CJ=vJ.line,AJ=q$.hasLeadingComments,TJ=q$.hasMiddleComments,xJ=q$.hasTrailingComment,SJ=q$.hasEndComments,wJ=q$.isNode,kJ=q$.isEmptyNode,OJ=q$.isInlineNode,FJ=tJ.alignWithSpaces;function _J(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 NJ=function(e,t,n,r,i){var a=e.key,o=e.value,u=kJ(a),s=kJ(o);if(u&&s)return": ";var c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(s)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!_J(a.content,i)||xJ(a.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",FJ(2,c)]:[c,l,":"];var p=r("value");if(u)return[": ",FJ(2,p)];if(AJ(o)||!OJ(a.content))return["? ",FJ(2,c),bJ,EJ("",n.map(r,"value","leadingComments").map((function(e){return[e,bJ]}))),": ",FJ(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}}(a.content)&&!AJ(a.content)&&!TJ(a.content)&&!xJ(a.content)&&!SJ(a)&&!AJ(o.content)&&!TJ(o.content)&&!SJ(o)&&_J(o.content,i))return[c,l,": ",p];var f=Symbol("mappingKey"),d=gJ([DJ("? "),gJ(FJ(2,c),{id:f})]),h=[bJ,": ",FJ(2,p)],m=[l,":"];AJ(o.content)||SJ(o)&&o.content&&!wJ(o.content,["mapping","sequence"])||"mapping"===t.type&&xJ(a.content)&&OJ(o.content)||wJ(o.content,["mapping","sequence"])&&null===o.content.tag&&null===o.content.anchor?m.push(bJ):o.content&&m.push(CJ),m.push(p);var v=FJ(i.tabWidth,m);return!_J(a.content,i)||AJ(a.content)||TJ(a.content)||SJ(a)?yJ([[d,DJ(h,v,{groupId:f})]]):yJ([[c,v]])},IJ=hl.builders,jJ=IJ.dedent,PJ=IJ.dedentToRoot,BJ=IJ.fill,LJ=IJ.hardline,RJ=IJ.join,MJ=IJ.line,VJ=IJ.literalline,UJ=IJ.markAsRoot,qJ=hl.utils.getDocParts,zJ=q$.getAncestorCount,GJ=q$.getBlockValueLineContents,HJ=q$.hasIndicatorComment,KJ=q$.isLastDescendantNode,WJ=q$.isNode,$J=tJ.alignWithSpaces,JJ=function(e,t,n){var r=e.getValue(),i=zJ(e,(function(e){return WJ(e,["sequence","mapping"])})),a=KJ(e),o=["blockFolded"===r.type?">":"|"];null!==r.indent&&o.push(r.indent.toString()),"clip"!==r.chomping&&o.push("keep"===r.chomping?"+":"-"),HJ(r)&&o.push(" ",t("indicatorComment"));var u,s=GJ(r,{parentIndent:i,isLastDescendant:a,options:n}),c=[],l=p(s.entries());try{for(l.s();!(u=l.n()).done;){var f=d(u.value,2),h=f[0],m=f[1];0===h&&c.push(LJ),c.push(BJ(qJ(RJ(MJ,m)))),h!==s.length-1?c.push(0===m.length?LJ:UJ(VJ)):"keep"===r.chomping&&a&&c.push(PJ(0===m.length?LJ:VJ))}}catch(WQ){l.e(WQ)}finally{l.f()}return null===r.indent?o.push(jJ($J(n.tabWidth,c))):o.push(PJ($J(r.indent-1+i,c))),o},QJ=hl.builders,YJ=QJ.breakParent,XJ=QJ.fill,ZJ=QJ.group,eQ=QJ.hardline,tQ=QJ.join,nQ=QJ.line,rQ=QJ.lineSuffix,iQ=QJ.literalline,aQ=hl.utils,oQ=aQ.getDocParts,uQ=aQ.replaceTextEndOfLine,sQ=kc.isPreviousLineEmpty,cQ=O$.insertPragma,lQ=O$.isPragma,pQ=F$.locStart,fQ=_$,dQ=q$.getFlowScalarLineContents,hQ=q$.getLastDescendantNode,mQ=q$.hasLeadingComments,vQ=q$.hasMiddleComments,yQ=q$.hasTrailingComment,gQ=q$.hasEndComments,bQ=q$.hasPrettierIgnore,DQ=q$.isLastDescendantNode,EQ=q$.isNode,CQ=q$.isInlineNode,AQ=K$,TQ=tJ.alignWithSpaces,xQ=tJ.printNextEmptyLine,SQ=tJ.shouldPrintEndComments,wQ=mJ.printFlowMapping,kQ=mJ.printFlowSequence,OQ=NJ,FQ=JJ;function _Q(e,t){return yQ(e)||t&&(t.head.children.length>0||gQ(t.head))}function NQ(e,t,n){var r=dQ(e,t,n);return tQ(eQ,r.map((function(e){return XJ(oQ(tQ(nQ,e)))})))}var IQ={preprocess:AQ,embed:fQ,print:function(e,t,n){var r=e.getValue(),i=[];"mappingValue"!==r.type&&mQ(r)&&i.push([tQ(eQ,e.map(n,"leadingComments")),eQ]);var a=r.tag,o=r.anchor;a&&i.push(n("tag")),a&&o&&i.push(" "),o&&i.push(n("anchor"));var u="";EQ(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!DQ(e)&&(u=xQ(e,t.originalText)),(a||o)&&(EQ(r,["sequence","mapping"])&&!vQ(r)?i.push(eQ):i.push(" ")),vQ(r)&&i.push([1===r.middleComments.length?"":eQ,tQ(eQ,e.map(n,"middleComments")),eQ]);var s=e.getParentNode();return bQ(e)?i.push(uQ(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),iQ)):i.push(ZJ(function(e,t,n,r,i){switch(e.type){case"root":var a=e.children,o=[];n.each((function(e,t){var n=a[t],r=a[t+1];0!==t&&o.push(eQ),o.push(i()),_Q(n,r)?(o.push(eQ,"..."),yQ(n)&&o.push(" ",i("trailingComment"))):r&&!yQ(r.head)&&o.push(eQ,"---")}),"children");var u=hQ(e);return EQ(u,["blockLiteral","blockFolded"])&&"keep"===u.chomping||o.push(eQ),o;case"document":var s=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(pQ(e),pQ(e)+4))||e.head.children.length>0||gQ(e.head)||yQ(e.head)?"head":!_Q(e,t)&&!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&s.push(i("head")),yQ(e.head)?s.push(["---"," ",i(["head","trailingComment"])]):s.push("---")),function(e){return e.body.children.length>0||gQ(e.body)}(e)&&s.push(i("body")),tQ(eQ,s);case"documentHead":return tQ(eQ,[].concat(l(n.map(i,"children")),l(n.map(i,"endComments"))));case"documentBody":var c=e.children,p=e.endComments,f="";if(c.length>0&&p.length>0){var d=hQ(e);EQ(d,["blockFolded","blockLiteral"])?"keep"!==d.chomping&&(f=[eQ,eQ]):f=eQ}return[tQ(eQ,n.map(i,"children")),f,tQ(eQ,n.map(i,"endComments"))];case"directive":return["%",tQ(" ",[e.name].concat(l(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 NQ(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var h="'",m='"',v=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&v.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(v)){var y="quoteDouble"===e.type?m:h;return[y,NQ(e.type,v,r),y]}if(v.includes(m))return[h,NQ(e.type,"quoteDouble"===e.type?v.replace(/\\"/g,m).replace(/'/g,h.repeat(2)):v,r),h];if(v.includes(h))return[m,NQ(e.type,"quoteSingle"===e.type?v.replace(/''/g,h):v,r),m];var g=r.singleQuote?h:m;return[g,NQ(e.type,v,r),g];case"blockFolded":case"blockLiteral":return FQ(n,i,r);case"mapping":case"sequence":return tQ(eQ,n.map(i,"children"));case"sequenceItem":return["- ",TQ(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return OQ(e,t,n,i,r);case"flowMapping":return wQ(n,i,r);case"flowSequence":return kQ(n,i,r);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(r,s,e,t,n))),yQ(r)&&!EQ(r,["document","documentHead"])&&i.push(rQ(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===s.type&&"mapping"===e.getParentNode(2).type&&CQ(r)?"":YJ,n("trailingComment")])),SQ(r)&&i.push(TQ("sequenceItem"===r.type?2:0,[eQ,tQ(eQ,e.map((function(e){return[sQ(t.originalText,e.getValue(),pQ)?eQ:"",n()]}),"endComments"))])),i.push(u),i},massageAstNode:function(e,t){if(EQ(t))switch(delete t.position,t.type){case"comment":if(lQ(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:cQ},jQ=IQ,PQ={bracketSpacing:VL.bracketSpacing,singleQuote:VL.singleQuote,proseWrap:VL.proseWrap},BQ=[Qb({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},(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(l(e.filenames.filter((function(e){return"yarn.lock"!==e}))),[".prettierrc",".stylelintrc"])}}))],LQ=[ZL,DV,BU,aq,Qz,k$,{languages:BQ,printers:{yaml:jQ},options:PQ,parsers:void 0}],RQ=v.version,MQ=Tb,VQ=oc.getSupportInfo,UQ=$b,qQ=LQ,zQ=hl;function GQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r[t]||{},o=a.plugins||[];return r[t]=Object.assign(Object.assign({},a),{},{plugins:[].concat(qQ,l(Array.isArray(o)?o:Object.values(o)))}),e.apply(void 0,r)}}var HQ=GQ(MQ.formatWithCursor),KQ={formatWithCursor:HQ,format:function(e,t){return HQ(e,t).formatted},check:function(e,t){return HQ(e,t).formatted===e},doc:zQ,getSupportInfo:GQ(VQ,0),version:RQ,util:UQ,__debug:{parse:GQ(MQ.parse),formatAST:GQ(MQ.formatAST),formatDoc:GQ(MQ.formatDoc),printToDoc:GQ(MQ.printToDoc),printDocToString:GQ(MQ.printDocToString)}};return KQ}()}).call(this,n(187))},1099:function(e,t,n){var r=n(1100);function i(t,n,a){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(n):a.value}},i(t,n,a||t)}e.exports=i},1100:function(e,t,n){var r=n(945);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},1101:function(e,t,n){var r=n(961);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},1102:function(e,t,n){var r=n(945),i=n(987),a=n(1103);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}}},1103:function(e,t,n){var r=n(1104),i=n(1105);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},1104:function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},1105:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},1106:function(e,t,n){var r=n(945),i=n(961),a=n(1107),o=n(1108);function u(t){var n="function"===typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!a(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return o(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},u(t)}e.exports=u},1107:function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},1108:function(e,t,n){var r=n(961),i=n(987);function a(t,n,o){return i()?e.exports=a=Reflect.construct:e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},a.apply(null,arguments)}e.exports=a},1109:function(e,t,n){var r=n(964),i=n(968),a=n(936),o=n(966);e.exports=function(e){return r(e)||i(e)||a(e)||o()}},1110:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},1111:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},1112:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},1113:function(e,t,n){},1120:function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(908),o=n(920),u=n(942),s=n(1096),c=n(1128),l=n(928),p=n(365),f=n.n(p),d=n(929),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e){function t(t){var n=e.call(this,t)||this;return n._onClick=function(){n.props.isRunning?n.props.onStop():n.props.onRun()},n._onOptionSelected=function(e){n.setState({optionsOpen:!1}),n.props.onRun(e.name&&e.name.value)},n._onOptionsOpen=function(e){var t=!0,r=e.currentTarget;n.setState({highlight:null,optionsOpen:!0});var i=function(e){var a;t&&e.target===r?t=!1:(document.removeEventListener("mouseup",i),i=null,e.currentTarget&&(null===(a=r.parentNode)||void 0===a?void 0:a.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||n.setState({optionsOpen:!1}))};document.addEventListener("mouseup",i)},n.state={optionsOpen:!1,highlight:null},n}return h(t,e),t.prototype.render=function(){var e,t=this,n=this.props.operations||[],r=this.state.optionsOpen,a=n&&n.length>1,o=null;if(a&&r){var u=this.state.highlight;o=i.a.createElement("ul",{className:"execute-options"},n.map((function(e,n){var r=e.name?e.name.value:"<Unnamed "+e.operation+">";return i.a.createElement("li",{key:r+"-"+n,className:e===u?"selected":void 0,onMouseOver:function(){return t.setState({highlight:e})},onMouseOut:function(){return t.setState({highlight:null})},onMouseUp:function(){return t._onOptionSelected(e)}},r)})))}!this.props.isRunning&&a||(e=this._onClick);var s=function(){};this.props.isRunning||!a||r||(s=this._onOptionsOpen);var c=this.props.isRunning?i.a.createElement("path",{d:"M 10 10 L 23 10 L 23 23 L 10 23 z"}):i.a.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"});return i.a.createElement("div",{className:"execute-button-wrap"},i.a.createElement("button",{type:"button",className:"execute-button",onMouseDown:s,onClick:e,title:"Execute Query (Ctrl-Enter)"},i.a.createElement("svg",{width:"34",height:"34"},c)),o)},t}(i.a.Component),v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function y(e){if("string"===e.type){var t=e.string.slice(1).slice(0,-1).trim();try{var n=window.location;return new URL(t,n.protocol+"//"+n.host)}catch(r){return}}}var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._node=null,t.state={width:null,height:null,src:null,mime:null},t}return v(t,e),t.shouldRender=function(e){var t=y(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)},t.prototype.componentDidMount=function(){this._updateMetadata()},t.prototype.componentDidUpdate=function(){this._updateMetadata()},t.prototype.render=function(){var e,t=this,n=null;if(null!==this.state.width&&null!==this.state.height){var r=this.state.width+"x"+this.state.height;null!==this.state.mime&&(r+=" "+this.state.mime),n=i.a.createElement("div",null,r)}return i.a.createElement("div",null,i.a.createElement("img",{onLoad:function(){return t._updateMetadata()},ref:function(e){t._node=e},src:null===(e=y(this.props.token))||void 0===e?void 0:e.href}),n)},t.prototype._updateMetadata=function(){var e=this;if(this._node){var t=this._node.naturalWidth,n=this._node.naturalHeight,r=this._node.src;r!==this.state.src&&(this.setState({src:r}),fetch(r,{method:"HEAD"}).then((function(t){e.setState({mime:t.headers.get("Content-Type")})}))),t===this.state.width&&n===this.state.height||this.setState({height:n,width:t})}},t}(i.a.Component),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(t){var n=e.call(this,t)||this;return n.handleClick=function(){try{n.props.onClick(),n.setState({error:null})}catch(e){n.setState({error:e})}},n.state={error:null},n}return b(t,e),t.prototype.render=function(){var e=this.state.error;return i.a.createElement("button",{className:"toolbar-button"+(e?" error":""),onClick:this.handleClick,title:e?e.message:this.props.title,"aria-invalid":e?"true":"false"},this.props.label)},t}(i.a.Component);function E(e){var t=e.children;return i.a.createElement("div",{className:"toolbar-button-group"},t)}var C=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(e){function t(t){var n=e.call(this,t)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){x(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}return C(t,e),t.prototype.componentWillUnmount=function(){this._release()},t.prototype.render=function(){var e=this,t=this.state.visible;return i.a.createElement("a",{className:"toolbar-menu toolbar-button",onClick:this.handleOpen.bind(this),onMouseDown:x,ref:function(t){t&&(e._node=t)},title:this.props.title},this.props.label,i.a.createElement("svg",{width:"14",height:"8"},i.a.createElement("path",{fill:"#666",d:"M 5 1.5 L 14 1.5 L 9.5 7 z"})),i.a.createElement("ul",{className:"toolbar-menu-items"+(t?" open":"")},this.props.children))},t.prototype._subscribe=function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener("click",this._listener))},t.prototype._release=function(){this._listener&&(document.removeEventListener("click",this._listener),this._listener=null)},t.prototype.handleClick=function(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())},t}(i.a.Component),T=function(e){var t=e.onSelect,n=e.title,r=e.label;return i.a.createElement("li",{onMouseOver:function(e){e.currentTarget.className="hover"},onMouseOut:function(e){e.currentTarget.className=""},onMouseDown:x,onMouseUp:t,title:n},r)};function x(e){e.preventDefault()}var S=n(956),w=n.n(S),k=Array.from({length:11},(function(e,t){return String.fromCharCode(8192+t)})).concat(["\u2028","\u2029","\u202f","\xa0"]),O=new RegExp("["+k.join("")+"]","g");function F(e){return e.replace(O," ")}var _,N=n(911),I=n(1091),j=n.n(I),P=new w.a;function B(e,t,r){n.e(0).then(n.t.bind(null,910,7)).then((function(e){var n,i;e.default.on(t,"select",(function(e,t){if(!n){var a,o=t.parentNode;(n=document.createElement("div")).className="CodeMirror-hint-information",o.appendChild(n),(i=document.createElement("div")).className="CodeMirror-hint-deprecation",o.appendChild(i),o.addEventListener("DOMNodeRemoved",a=function(e){e.target===o&&(o.removeEventListener("DOMNodeRemoved",a),n=null,i=null,a=null)})}var u=e.description?P.render(e.description):"Self descriptive.",s=e.type?'<span class="infoType">'+L(e.type)+"</span>":"";if(n.innerHTML='<div class="content">'+("<p>"===u.slice(0,3)?"<p>"+s+u.slice(3):s+u)+"</div>",e&&i&&e.deprecationReason){var c=e.deprecationReason?P.render(e.deprecationReason):"";i.innerHTML='<span class="deprecation-label">Deprecated</span>'+c,i.style.display="block"}else i&&(i.style.display="none");r&&r(n)}))}))}function L(e){return e instanceof N.e?L(e.ofType)+"!":e instanceof N.d?"["+L(e.ofType)+"]":'<a class="typeName">'+j()(e.name)+"</a>"}var R=!1;"object"===typeof window&&(R="MacIntel"===window.navigator.platform);var M=((_={})[R?"Cmd-F":"Ctrl-F"]="findPersistent",_["Cmd-G"]="findPersistent",_["Ctrl-G"]="findPersistent",_["Ctrl-Left"]="goSubwordLeft",_["Ctrl-Right"]="goSubwordRight",_["Alt-Left"]="goGroupLeft",_["Alt-Right"]="goGroupRight",_),V=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},U=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},q=[Promise.all([n.e(0),n.e(27)]).then(n.t.bind(null,988,7)),Promise.all([n.e(0),n.e(26)]).then(n.t.bind(null,990,7)),Promise.all([n.e(0),n.e(25)]).then(n.t.bind(null,1136,7)),Promise.all([n.e(0),n.e(7)]).then(n.t.bind(null,1137,7)),Promise.all([n.e(0),n.e(5)]).then(n.t.bind(null,1138,7)),Promise.all([n.e(0),n.e(28)]).then(n.t.bind(null,1139,7)),Promise.all([n.e(0),n.e(8)]).then(n.t.bind(null,946,7)),Promise.all([n.e(0),n.e(4)]).then(n.t.bind(null,1140,7)),Promise.all([n.e(0),n.e(6)]).then(n.t.bind(null,947,7)),Promise.all([n.e(0),n.e(3)]).then(n.t.bind(null,1141,7))];function z(e,t){return V(this,void 0,void 0,(function(){var r,i;return U(this,(function(a){switch(a.label){case 0:return[4,n.e(0).then(n.t.bind(null,910,7))];case 1:return r=a.sent().default,i=!1===(null===t||void 0===t?void 0:t.useCommonAddons)?e:q.concat(e),[4,Promise.all(i.map((function(e){return e})))];case 2:return a.sent(),[2,r]}}))}))}var G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H=function(){return H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},H.apply(this,arguments)},K=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},W=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},$=new w.a,J=/^[a-zA-Z0-9_@(]$/,Q=function(e){function t(t){var r=e.call(this,t)||this;return r.editor=null,r.ignoreChangeEvent=!1,r._node=null,r.addonModules=function(){return[Promise.all([n.e(0),n.e(24)]).then(n.t.bind(null,1129,7)),Promise.all([n.e(0),n.e(2)]).then(n.t.bind(null,1130,7)),Promise.all([n.e(0),n.e(17)]).then(n.t.bind(null,1131,7)),Promise.all([n.e(0),n.e(20)]).then(n.t.bind(null,1132,7)),Promise.all([n.e(0),n.e(1),n.e(13)]).then(n.t.bind(null,1133,7)),Promise.all([n.e(0),n.e(1),n.e(14)]).then(n.t.bind(null,1134,7)),Promise.all([n.e(0),n.e(15)]).then(n.t.bind(null,1135,7))]},r._onKeyUp=function(e,t){J.test(t.key)&&r.editor&&r.editor.execCommand("autocomplete")},r._onEdit=function(){!r.ignoreChangeEvent&&r.editor&&(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue))},r._onHasCompletion=function(e,t){B(0,t,r.props.onHintInformationRender)},r.cachedValue=t.value||"",r}return G(t,e),t.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t&&(t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion),t.on("beforeChange",e._onBeforeChange))})).catch(console.error)},t.prototype.componentDidUpdate=function(e){this.ignoreChangeEvent=!0;var t=!1;this.props.schema!==e.schema&&this.editor&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,t=!0),this.props.externalFragments!==e.externalFragments&&this.editor&&(this.editor.options.lint.externalFragments=this.props.externalFragments,this.editor.options.hintOptions.externalFragments=this.props.externalFragments,t=!0),t&&this.CodeMirror.signal(this.editor,"change",this.editor),this.props.value!==e.value&&this.props.value!==this.cachedValue&&this.editor&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion))},t.prototype.render=function(){var e=this;return i.a.createElement("section",{className:"query-editor","aria-label":"Query Editor",ref:function(t){e._node=t}})},t.prototype.initializeEditor=function(){var e,t,n,r;return K(this,void 0,void 0,(function(){var i,a,o,u=this;return W(this,(function(s){switch(s.label){case 0:return a=this,[4,z(this.addonModules())];case 1:return i=a.CodeMirror=s.sent(),[2,o=this.editor=i(this._node,{value:null!==(e=this.props.value)&&void 0!==e?e:"",lineNumbers:!0,tabSize:2,foldGutter:{minFoldSize:4},mode:"graphql",theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",lint:{schema:this.props.schema,validationRules:null!==(t=this.props.validationRules)&&void 0!==t?t:null,externalFragments:null===(n=this.props)||void 0===n?void 0:n.externalFragments},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1,container:this._node,externalFragments:null===(r=this.props)||void 0===r?void 0:r.externalFragments},info:{schema:this.props.schema,renderDescription:function(e){return $.render(e)},onClick:function(e){return u.props.onClickReference&&u.props.onClickReference(e)}},jump:{schema:this.props.schema,onClick:function(e){return u.props.onClickReference&&u.props.onClickReference(e)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:H(H({"Cmd-Space":function(){return o.showHint({completeSingle:!0,container:u._node})},"Ctrl-Space":function(){return o.showHint({completeSingle:!0,container:u._node})},"Alt-Space":function(){return o.showHint({completeSingle:!0,container:u._node})},"Shift-Space":function(){return o.showHint({completeSingle:!0,container:u._node})},"Shift-Alt-Space":function(){return o.showHint({completeSingle:!0,container:u._node})},"Cmd-Enter":function(){u.props.onRunQuery&&u.props.onRunQuery()},"Ctrl-Enter":function(){u.props.onRunQuery&&u.props.onRunQuery()},"Shift-Ctrl-C":function(){u.props.onCopyQuery&&u.props.onCopyQuery()},"Shift-Ctrl-P":function(){u.props.onPrettifyQuery&&u.props.onPrettifyQuery()},"Shift-Ctrl-F":function(){u.props.onPrettifyQuery&&u.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){u.props.onMergeQuery&&u.props.onMergeQuery()}},M),{"Cmd-S":function(){u.props.onRunQuery},"Ctrl-S":function(){u.props.onRunQuery}})})]}}))}))},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t.prototype._onBeforeChange=function(e,t){if("paste"===t.origin){var n=t.text.map(F);t.update(t.from,t.to,n)}},t}(i.a.Component),Y=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),X=function(){return X=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},X.apply(this,arguments)},Z=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},ee=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},te=function(e){function t(t){var r=e.call(this,t)||this;return r.editor=null,r._node=null,r.ignoreChangeEvent=!1,r.addonModules=function(){return[Promise.all([n.e(0),n.e(1),n.e(16)]).then(n.t.bind(null,1142,7)),Promise.all([n.e(0),n.e(1),n.e(18)]).then(n.t.bind(null,1143,7)),Promise.all([n.e(0),n.e(23)]).then(n.t.bind(null,1144,7))]},r._onKeyUp=function(e,t){var n=t.keyCode;r.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&r.editor.execCommand("autocomplete")},r._onEdit=function(){r.editor&&(r.ignoreChangeEvent||(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue)))},r._onHasCompletion=function(e,t){B(0,t,r.props.onHintInformationRender)},r.cachedValue=t.value||"",r}return Y(t,e),t.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion)})).catch(console.error)},t.prototype.componentDidUpdate=function(e){if(this.editor&&this.CodeMirror){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,"change",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||"";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement("div",{className:"codemirrorWrap",style:{position:this.props.active?"relative":"absolute",visibility:this.props.active?"visible":"hidden"},ref:function(t){e._node=t}})},t.prototype.initializeEditor=function(){return Z(this,void 0,void 0,(function(){var e,t=this;return ee(this,(function(n){switch(n.label){case 0:return e=this,[4,z(this.addonModules())];case 1:return e.CodeMirror=n.sent(),[2,this.editor=this.CodeMirror(this._node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:X({"Cmd-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Ctrl-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Alt-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Shift-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Cmd-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Shift-Ctrl-P":function(){t.props.onPrettifyQuery&&t.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){t.props.onMergeQuery&&t.props.onMergeQuery()}},M)})]}}))}))},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component),ne=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),re=function(){return re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},re.apply(this,arguments)},ie=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},ae=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},oe=function(e){function t(t){var r=e.call(this,t)||this;return r.editor=null,r._node=null,r.ignoreChangeEvent=!1,r.addonModules=function(){return[Promise.all([n.e(0),n.e(29)]).then(n.t.bind(null,1145,7))]},r._onKeyUp=function(e,t){var n=t.keyCode;r.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&r.editor.execCommand("autocomplete")},r._onEdit=function(){r.editor&&(r.ignoreChangeEvent||(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue)))},r._onHasCompletion=function(e,t){B(0,t,r.props.onHintInformationRender)},r.cachedValue=t.value||"",r}return ne(t,e),t.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion)})).catch(console.error)},t.prototype.componentDidUpdate=function(e){if(this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||"";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},t.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion),this.editor=null)},t.prototype.render=function(){var e=this;return i.a.createElement("div",{className:"codemirrorWrap",style:{position:this.props.active?"relative":"absolute",visibility:this.props.active?"visible":"hidden"},ref:function(t){e._node=t}})},t.prototype.initializeEditor=function(){return ie(this,void 0,void 0,(function(){var e,t=this;return ae(this,(function(n){switch(n.label){case 0:return e=this,[4,z(this.addonModules())];case 1:return e.CodeMirror=n.sent(),[2,this.editor=this.CodeMirror(this._node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",foldGutter:{minFoldSize:4},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:re({"Cmd-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Ctrl-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Alt-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Shift-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Cmd-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Shift-Ctrl-P":function(){t.props.onPrettifyQuery&&t.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){t.props.onMergeQuery&&t.props.onMergeQuery()}},M)})]}}))}))},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component),ue=n(42),se=n.n(ue),ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),le=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},pe=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.viewer=null,t._node=null,t.allAddons=function(){return[Promise.all([n.e(0),n.e(5)]).then(n.t.bind(null,1138,7)),Promise.all([n.e(0),n.e(7)]).then(n.t.bind(null,1137,7)),Promise.all([n.e(0),n.e(6)]).then(n.t.bind(null,947,7)),Promise.all([n.e(0),n.e(2)]).then(n.t.bind(null,1130,7)),Promise.all([n.e(0),n.e(8)]).then(n.t.bind(null,946,7)),Promise.all([n.e(0),n.e(4)]).then(n.t.bind(null,1140,7)),Promise.all([n.e(0),n.e(3)]).then(n.t.bind(null,1141,7)),Promise.all([n.e(0),n.e(21)]).then(n.t.bind(null,1146,7))]},t}return ce(t,e),t.prototype.componentDidMount=function(){this.initializeEditor()},t.prototype.shouldComponentUpdate=function(e){return this.props.value!==e.value},t.prototype.componentDidUpdate=function(){this.viewer&&this.viewer.setValue(this.props.value||"")},t.prototype.componentWillUnmount=function(){this.viewer=null},t.prototype.render=function(){var e=this;return i.a.createElement("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:function(t){t&&(e.props.registerRef(t),e._node=t)}})},t.prototype.initializeEditor=function(){return le(this,void 0,void 0,(function(){var e,t,r,a;return pe(this,(function(o){switch(o.label){case 0:return[4,z(this.allAddons(),{useCommonAddons:!1})];case 1:return e=o.sent(),t=this.props.ResultsTooltip,r=this.props.ImagePreview,t||r?[4,Promise.all([n.e(0),n.e(22)]).then(n.t.bind(null,989,7))]:[3,3];case 2:o.sent(),a=document.createElement("div"),e.registerHelper("info","graphql-results",(function(e,n,o,u){var s=[];return t&&s.push(i.a.createElement(t,{pos:u})),r&&"function"===typeof r.shouldRender&&r.shouldRender(e)&&s.push(i.a.createElement(r,{token:e})),s.length?(se.a.render(i.a.createElement("div",null,s),a),a):(se.a.unmountComponentAtNode(a),null)})),o.label=3;case 3:return this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||"",readOnly:!0,theme:this.props.editorTheme||"graphiql",mode:"graphql-results",keyMap:"sublime",foldGutter:{minFoldSize:4},gutters:["CodeMirror-foldgutter"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:M}),[2]}}))}))},t.prototype.getCodeMirror=function(){return this.viewer},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(i.a.Component);function de(e){var t=e.onClick?e.onClick:function(){return null};return he(e.type,t)}function he(e,t){return e instanceof N.e?i.a.createElement("span",null,he(e.ofType,t),"!"):e instanceof N.d?i.a.createElement("span",null,"[",he(e.ofType,t),"]"):i.a.createElement("a",{className:"type-name",onClick:function(n){n.preventDefault(),t(e,n)},href:"#"},null===e||void 0===e?void 0:e.name)}var me=n(951);function ve(e){var t,n=e.field;return"defaultValue"in n&&void 0!==n.defaultValue?i.a.createElement("span",null," = ",i.a.createElement("span",{className:"arg-default-value"},(t=Object(me.a)(n.defaultValue,n.type))?Object(o.a)(t):"")):null}function ye(e){var t=e.arg,n=e.onClickType,r=e.showDefaultValue;return i.a.createElement("span",{className:"arg"},i.a.createElement("span",{className:"arg-name"},t.name),": ",i.a.createElement(de,{type:t.type,onClick:n}),!1!==r&&i.a.createElement(ve,{field:t}))}function ge(e){var t=e.directive;return i.a.createElement("span",{className:"doc-category-item",id:t.name.value},"@",t.name.value)}var be=new w.a({breaks:!0,linkify:!0});function De(e){var t=e.markdown,n=e.className;return t?i.a.createElement("div",{className:n,dangerouslySetInnerHTML:{__html:be.render(t)}}):i.a.createElement("div",null)}var Ee=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o};function Ce(e){var t,n,r,a=e.field,o=e.onClickType,u=Ee(i.a.useState(!1),2),s=u[0],c=u[1];if(a&&"args"in a&&a.args.length>0){t=i.a.createElement("div",{id:"doc-args",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"arguments"),a.args.filter((function(e){return!e.deprecationReason})).map((function(e){return i.a.createElement("div",{key:e.name,className:"doc-category-item"},i.a.createElement("div",null,i.a.createElement(ye,{arg:e,onClickType:o})),i.a.createElement(De,{className:"doc-value-description",markdown:e.description}),e&&"deprecationReason"in e&&i.a.createElement(De,{className:"doc-deprecation",markdown:null===e||void 0===e?void 0:e.deprecationReason}))})));var l=a.args.filter((function(e){return Boolean(e.deprecationReason)}));l.length>0&&(n=i.a.createElement("div",{id:"doc-deprecated-args",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"deprecated arguments"),s?l.map((function(e,t){return i.a.createElement("div",{key:t},i.a.createElement("div",null,i.a.createElement(ye,{arg:e,onClickType:o})),i.a.createElement(De,{className:"doc-value-description",markdown:e.description}),e&&"deprecationReason"in e&&i.a.createElement(De,{className:"doc-deprecation",markdown:null===e||void 0===e?void 0:e.deprecationReason}))})):i.a.createElement("button",{className:"show-btn",onClick:function(){return c(!s)}},"Show deprecated arguments...")))}return a&&a.astNode&&a.astNode.directives&&a.astNode.directives.length>0&&(r=i.a.createElement("div",{id:"doc-directives",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"directives"),a.astNode.directives.map((function(e){return i.a.createElement("div",{key:e.name.value,className:"doc-category-item"},i.a.createElement("div",null,i.a.createElement(ge,{directive:e})))})))),i.a.createElement("div",null,i.a.createElement(De,{className:"doc-type-description",markdown:(null===a||void 0===a?void 0:a.description)||"No Description"}),a&&"deprecationReason"in a&&i.a.createElement(De,{className:"doc-deprecation",markdown:null===a||void 0===a?void 0:a.deprecationReason}),i.a.createElement("div",{className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"type"),i.a.createElement(de,{type:null===a||void 0===a?void 0:a.type,onClick:o})),t,r,n)}function Ae(e){var t=e.schema,n=e.onClickType,r=t.getQueryType(),a=t.getMutationType&&t.getMutationType(),o=t.getSubscriptionType&&t.getSubscriptionType();return i.a.createElement("div",null,i.a.createElement(De,{className:"doc-type-description",markdown:t.description||"A GraphQL schema provides a root type for each kind of operation."}),i.a.createElement("div",{className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"root types"),i.a.createElement("div",{className:"doc-category-item"},i.a.createElement("span",{className:"keyword"},"query"),": ",i.a.createElement(de,{type:r,onClick:n})),a&&i.a.createElement("div",{className:"doc-category-item"},i.a.createElement("span",{className:"keyword"},"mutation"),": ",i.a.createElement(de,{type:a,onClick:n})),o&&i.a.createElement("div",{className:"doc-category-item"},i.a.createElement("span",{className:"keyword"},"subscription"),": ",i.a.createElement(de,{type:o,onClick:n}))))}function Te(e,t){var n;return function(){for(var r=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];n&&window.clearTimeout(n),n=window.setTimeout((function(){n=null,t.apply(r,i)}),e)}}var xe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Se=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){var t=e.currentTarget.value;n.setState({value:t}),n.debouncedOnSearch(t)},n.handleClear=function(){n.setState({value:""}),n.props.onSearch("")},n.state={value:t.value||""},n.debouncedOnSearch=Te(200,n.props.onSearch),n}return xe(t,e),t.prototype.render=function(){return i.a.createElement("label",{className:"search-box"},i.a.createElement("div",{className:"search-box-icon","aria-hidden":"true"},"\u26b2"),i.a.createElement("input",{value:this.state.value,onChange:this.handleChange,type:"text",placeholder:this.props.placeholder,"aria-label":this.props.placeholder}),this.state.value&&i.a.createElement("button",{className:"search-box-clear",onClick:this.handleClear,"aria-label":"Clear search input"},"\u2715"))},t}(i.a.Component),we=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ke=function(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.")},Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return we(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue},t.prototype.render=function(){var e,t,n=this.props.searchValue,r=this.props.withinType,a=this.props.schema,o=this.props.onClickType,u=this.props.onClickField,s=[],c=[],l=[],p=a.getTypeMap(),f=Object.keys(p);r&&(f=f.filter((function(e){return e!==r.name}))).unshift(r.name);var d=function(e){if(s.length+c.length+l.length>=100)return"break";var t=p[e];if(r!==t&&_e(e,n)&&c.push(i.a.createElement("div",{className:"doc-category-item",key:e},i.a.createElement(de,{type:t,onClick:o}))),t&&"getFields"in t){var a=t.getFields();Object.keys(a).forEach((function(c){var p,f=a[c];if(!_e(c,n)){if(!("args"in f)||!f.args.length)return;if(0===(p=f.args.filter((function(e){return _e(e.name,n)}))).length)return}var d=i.a.createElement("div",{className:"doc-category-item",key:e+"."+c},r!==t&&[i.a.createElement(de,{key:"type",type:t,onClick:o}),"."],i.a.createElement("a",{className:"field-name",onClick:function(e){return u(f,t,e)}},f.name),p&&["(",i.a.createElement("span",{key:"args"},p.map((function(e){return i.a.createElement(ye,{key:e.name,arg:e,onClickType:o,showDefaultValue:!1})}))),")"]);r===t?s.push(d):l.push(d)}))}};try{for(var h=ke(f),m=h.next();!m.done;m=h.next()){if("break"===d(m.value))break}}catch(v){e={error:v}}finally{try{m&&!m.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}return s.length+c.length+l.length===0?i.a.createElement("span",{className:"doc-alert-text"},"No results found."):r&&c.length+l.length>0?i.a.createElement("div",null,s,i.a.createElement("div",{className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"other results"),c,l)):i.a.createElement("div",{className:"doc-search-items"},s,c,l)},t}(i.a.Component),Fe=Oe;function _e(e,t){try{var n=t.replace(/[^_0-9A-Za-z]/g,(function(e){return"\\"+e}));return-1!==e.search(new RegExp(n,"i"))}catch(r){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var Ne=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(e){function t(t){var n=e.call(this,t)||this;return n.handleShowDeprecated=function(){return n.setState({showDeprecated:!0})},n.state={showDeprecated:!1},n}return Ne(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated},t.prototype.render=function(){var e,t,n,r,a,o=this.props.schema,u=this.props.type,s=this.props.onClickType,c=this.props.onClickField,l=null,p=[];if(u instanceof N.h?(l="possible types",p=o.getPossibleTypes(u)):u instanceof N.c?(l="implementations",p=o.getPossibleTypes(u)):u instanceof N.f&&(l="implements",p=u.getInterfaces()),p&&p.length>0&&(e=i.a.createElement("div",{id:"doc-types",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},l),p.map((function(e){return i.a.createElement("div",{key:e.name,className:"doc-category-item"},i.a.createElement(de,{type:e,onClick:s}))})))),u&&"getFields"in u){var f=u.getFields(),d=Object.keys(f).map((function(e){return f[e]}));t=i.a.createElement("div",{id:"doc-fields",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"fields"),d.filter((function(e){return!e.deprecationReason})).map((function(e){return i.a.createElement(je,{key:e.name,type:u,field:e,onClickType:s,onClickField:c})})));var h=d.filter((function(e){return Boolean(e.deprecationReason)}));h.length>0&&(n=i.a.createElement("div",{id:"doc-deprecated-fields",className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"deprecated fields"),this.state.showDeprecated?h.map((function(e){return i.a.createElement(je,{key:e.name,type:u,field:e,onClickType:s,onClickField:c})})):i.a.createElement("button",{className:"show-btn",onClick:this.handleShowDeprecated},"Show deprecated fields...")))}if(u instanceof N.a){var m=u.getValues();r=i.a.createElement("div",{className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"values"),m.filter((function(e){return Boolean(!e.deprecationReason)})).map((function(e){return i.a.createElement(Pe,{key:e.name,value:e})})));var v=m.filter((function(e){return Boolean(e.deprecationReason)}));v.length>0&&(a=i.a.createElement("div",{className:"doc-category"},i.a.createElement("div",{className:"doc-category-title"},"deprecated values"),this.state.showDeprecated?v.map((function(e){return i.a.createElement(Pe,{key:e.name,value:e})})):i.a.createElement("button",{className:"show-btn",onClick:this.handleShowDeprecated},"Show deprecated values...")))}return i.a.createElement("div",null,i.a.createElement(De,{className:"doc-type-description",markdown:"description"in u&&u.description||"No Description"}),u instanceof N.f&&e,t,n,r,a,!(u instanceof N.f)&&e)},t}(i.a.Component);function je(e){var t=e.type,n=e.field,r=e.onClickType,a=e.onClickField;return i.a.createElement("div",{className:"doc-category-item"},i.a.createElement("a",{className:"field-name",onClick:function(e){return a(n,t,e)}},n.name),"args"in n&&n.args&&n.args.length>0&&["(",i.a.createElement("span",{key:"args"},n.args.filter((function(e){return!e.deprecationReason})).map((function(e){return i.a.createElement(ye,{key:e.name,arg:e,onClickType:r})}))),")"],": ",i.a.createElement(de,{type:n.type,onClick:r}),i.a.createElement(ve,{field:n}),n.description&&i.a.createElement(De,{className:"field-short-description",markdown:n.description}),"deprecationReason"in n&&n.deprecationReason&&i.a.createElement(De,{className:"doc-deprecation",markdown:n.deprecationReason}))}function Pe(e){var t=e.value;return i.a.createElement("div",{className:"doc-category-item"},i.a.createElement("div",{className:"enum-value"},t.name),i.a.createElement(De,{className:"doc-value-description",markdown:t.description}),t.deprecationReason&&i.a.createElement(De,{className:"doc-deprecation",markdown:t.deprecationReason}))}var Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Le.apply(this,arguments)},Re={name:"Schema",title:"Documentation Explorer"},Me=function(e){function t(t){var n=e.call(this,t)||this;return n.handleNavBackClick=function(){n.state.navStack.length>1&&n.setState({navStack:n.state.navStack.slice(0,-1)})},n.handleClickType=function(e){n.showDoc(e)},n.handleClickField=function(e){n.showDoc(e)},n.handleSearch=function(e){n.showSearch(e)},n.state={navStack:[Re]},n}return Be(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack||this.props.schemaErrors!==e.schemaErrors},t.prototype.render=function(){var e,t=this.props,n=t.schema,r=t.schemaErrors,a=this.state.navStack,o=a[a.length-1];e=r?i.a.createElement("div",{className:"error-container"},"Error fetching schema"):void 0===n?i.a.createElement("div",{className:"spinner-container"},i.a.createElement("div",{className:"spinner"})):n?o.search?i.a.createElement(Fe,{searchValue:o.search,withinType:o.def,schema:n,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===a.length?i.a.createElement(Ae,{schema:n,onClickType:this.handleClickType}):Object(N.S)(o.def)?i.a.createElement(Ie,{schema:n,type:o.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):i.a.createElement(Ce,{field:o.def,onClickType:this.handleClickType}):i.a.createElement("div",{className:"error-container"},"No Schema Available");var u,s=1===a.length||Object(N.S)(o.def)&&"getFields"in o.def;return a.length>1&&(u=a[a.length-2].name),i.a.createElement("section",{className:"doc-explorer",key:o.name,"aria-label":"Documentation Explorer"},i.a.createElement("div",{className:"doc-explorer-title-bar"},u&&i.a.createElement("button",{className:"doc-explorer-back",onClick:this.handleNavBackClick,"aria-label":"Go back to "+u},u),i.a.createElement("div",{className:"doc-explorer-title"},o.title||o.name),i.a.createElement("div",{className:"doc-explorer-rhs"},this.props.children)),i.a.createElement("div",{className:"doc-explorer-contents"},s&&i.a.createElement(Se,{value:o.search,placeholder:"Search "+o.name+"...",onSearch:this.handleSearch}),e))},t.prototype.showDoc=function(e){var t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})},t.prototype.showDocForReference=function(e){e&&"Type"===e.kind?this.showDoc(e.type):"Field"===e.kind||"Argument"===e.kind&&e.field?this.showDoc(e.field):"EnumValue"===e.kind&&e.type&&this.showDoc(e.type)},t.prototype.showSearch=function(e){var t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]=Le(Le({},n),{search:e}),this.setState({navStack:t})},t.prototype.reset=function(){this.setState({navStack:[Re]})},t}(i.a.Component),Ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=function(e){function t(t){var n=e.call(this,t)||this;return n.state={editable:!1},n.editField=null,n}return Ve(t,e),t.prototype.render=function(){var e,t=this,n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split("\n").filter((function(e){return 0!==e.indexOf("#")})).join("")),r=this.props.favorite?"\u2605":"\u2606";return i.a.createElement("li",{className:this.state.editable?"editable":void 0},this.state.editable?i.a.createElement("input",{type:"text",defaultValue:this.props.label,ref:function(e){t.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:"Type a label"}):i.a.createElement("button",{className:"history-label",onClick:this.handleClick.bind(this)},n),i.a.createElement("button",{onClick:this.handleEditClick.bind(this),"aria-label":"Edit label"},"\u270e"),i.a.createElement("button",{className:this.props.favorite?"favorited":void 0,onClick:this.handleStarClick.bind(this),"aria-label":this.props.favorite?"Remove favorite":"Add favorite"},r))},t.prototype.handleClick=function(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)},t.prototype.handleStarClick=function(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)},t.prototype.handleFieldBlur=function(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)},t.prototype.handleFieldKeyDown=function(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))},t.prototype.handleEditClick=function(e){var t=this;e.stopPropagation(),this.setState({editable:!0},(function(){t.editField&&t.editField.focus()}))},t}(i.a.Component),qe=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},ze=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(qe(arguments[t]));return e},Ge=function(){function e(e,t,n){void 0===n&&(n=null),this.key=e,this.storage=t,this.maxSize=n,this.items=this.fetchAll()}return Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.contains=function(e){return this.items.some((function(t){return t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName}))},e.prototype.edit=function(e){var t=this.items.findIndex((function(t){return t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName}));-1!==t&&(this.items.splice(t,1,e),this.save())},e.prototype.delete=function(e){var t=this.items.findIndex((function(t){return t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName}));-1!==t&&(this.items.splice(t,1),this.save())},e.prototype.fetchRecent=function(){return this.items[this.items.length-1]},e.prototype.fetchAll=function(){var e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]},e.prototype.push=function(e){var t,n=ze(this.items,[e]);this.maxSize&&n.length>this.maxSize&&n.shift();for(var r=0;r<5;r++){var i=this.storage.set(this.key,JSON.stringify(((t={})[this.key]=n,t)));if(i&&i.error){if(!i.isQuotaError||!this.maxSize)return;n.shift()}else this.items=n}},e.prototype.save=function(){var e;this.storage.set(this.key,JSON.stringify(((e={})[this.key]=this.items,e)))},e}(),He=function(){return He=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},He.apply(this,arguments)},Ke=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},We=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ke(arguments[t]));return e},$e=function(e,t){var n=this;this.storage=e,this.maxHistoryLength=t,this.shouldSaveQuery=function(e,t,n,r){if(!e)return!1;try{Object(u.a)(e)}catch(i){return!1}if(e.length>1e5)return!1;if(!r)return!0;if(JSON.stringify(e)===JSON.stringify(r.query)){if(JSON.stringify(t)===JSON.stringify(r.variables)){if(JSON.stringify(n)===JSON.stringify(r.headers))return!1;if(n&&!r.headers)return!1}if(t&&!r.variables)return!1}return!0},this.fetchAllQueries=function(){var e=n.history.fetchAll(),t=n.favorite.fetchAll();return e.concat(t)},this.updateHistory=function(e,t,r,i){if(n.shouldSaveQuery(e,t,r,n.history.fetchRecent())){n.history.push({query:e,variables:t,headers:r,operationName:i});var a=n.history.items,o=n.favorite.items;n.queries=a.concat(o)}},this.toggleFavorite=function(e,t,r,i,a,o){var u={query:e,variables:t,headers:r,operationName:i,label:a};n.favorite.contains(u)?o&&(u.favorite=!1,n.favorite.delete(u)):(u.favorite=!0,n.favorite.push(u)),n.queries=We(n.history.items,n.favorite.items)},this.editLabel=function(e,t,r,i,a,o){var u={query:e,variables:t,headers:r,operationName:i,label:a};o?n.favorite.edit(He(He({},u),{favorite:o})):n.history.edit(u),n.queries=We(n.history.items,n.favorite.items)},this.history=new Ge("queries",this.storage,this.maxHistoryLength),this.favorite=new Ge("favorites",this.storage,null),this.queries=this.fetchAllQueries()},Je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qe=function(){return Qe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Qe.apply(this,arguments)},Ye=function(e){function t(t){var n=e.call(this,t)||this;n.onUpdateHistory=function(e,t,r,i){n.historyStore.updateHistory(e,t,r,i),n.setState({queries:n.historyStore.queries})},n.onHandleEditLabel=function(e,t,r,i,a,o){n.historyStore.editLabel(e,t,r,i,a,o),n.setState({queries:n.historyStore.queries})},n.onToggleFavorite=function(e,t,r,i,a,o){n.historyStore.toggleFavorite(e,t,r,i,a,o),n.setState({queries:n.historyStore.queries})},n.historyStore=new $e(n.props.storage,n.props.maxHistoryLength);var r=n.historyStore.queries;return n.state={queries:r},n}return Je(t,e),t.prototype.render=function(){var e=this,t=this.state.queries.slice().reverse().map((function(t,n){return i.a.createElement(Ue,Qe({handleEditLabel:e.onHandleEditLabel,handleToggleFavorite:e.onToggleFavorite,key:n+":"+(t.label||t.query),onSelect:e.props.onSelectQuery},t))}));return i.a.createElement("section",{"aria-label":"History"},i.a.createElement("div",{className:"history-title-bar"},i.a.createElement("div",{className:"history-title"},"History"),i.a.createElement("div",{className:"doc-explorer-rhs"},this.props.children)),i.a.createElement("ul",{className:"history-contents"},t))},t}(i.a.Component),Xe=function(){function e(){this.sizes=[]}return e.prototype.updateSizes=function(e){var t=this;e.forEach((function(e,n){if(e){var r=e.getClientHeight();if(n<=t.sizes.length&&r!==t.sizes[n]){var i=e.getCodeMirror();i&&i.setSize(null,null)}t.sizes[n]=r}}))},e}();var Ze=function(){function e(e){this.storage=e||("undefined"!==typeof window?window.localStorage:null)}return e.prototype.get=function(e){if(this.storage){var t=this.storage.getItem("graphiql:"+e);if("null"===t||"undefined"===t)return this.storage.removeItem("graphiql:"+e),null;if(t)return t}return null},e.prototype.set=function(e,t){var n=!1,r=null;if(this.storage){var i="graphiql:"+e;if(t)try{this.storage.setItem(i,t)}catch(a){r=a,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}(this.storage,a)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}},e}();function et(e,t,n){if(n&&!(n.length<1)){var r=n.map((function(e){return e.name&&e.name.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){var i=e.map((function(e){return e.name&&e.name.value})).indexOf(t);if(-1!==i&&i<r.length)return r[i]}return r[0]}}function tt(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}var nt=n(977),rt=n(914);function it(e,t,n){var r,i=[];if(!e||!t)return{insertions:i,result:t};try{r=Object(u.a)(t)}catch(c){return{insertions:i,result:t}}var a=n||at,s=new nt.a(e);return Object(l.c)(r,{leave:function(e){s.leave(e)},enter:function(e){if(s.enter(e),"Field"===e.kind&&!e.selectionSet){var n=ot(function(e){if(e)return e}(s.getType()),a);if(n&&e.loc){var r=function(e,t){var n=t,r=t;for(;n;){var i=e.charCodeAt(n-1);if(10===i||13===i||8232===i||8233===i)break;n--,9!==i&&11!==i&&12!==i&&32!==i&&160!==i&&(r=n)}return e.substring(n,r)}(t,e.loc.start);i.push({index:e.loc.end,string:" "+Object(o.a)(n).replace(/\n/g,"\n"+r)})}}}}),{insertions:i,result:ut(t,i)}}function at(e){if(!("getFields"in e))return[];var t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];var n=[];return Object.keys(t).forEach((function(e){Object(N.I)(t[e].type)&&n.push(e)})),n}function ot(e,t){var n=Object(N.A)(e);if(e&&!Object(N.I)(e)){var r=t(n);if(Array.isArray(r)&&0!==r.length&&"getFields"in n)return{kind:rt.a.SELECTION_SET,selections:r.map((function(e){var r=n.getFields()[e],i=r?r.type:null;return{kind:rt.a.FIELD,name:{kind:rt.a.NAME,value:e},selectionSet:ot(i,t)}}))}}}function ut(e,t){if(0===t.length)return e;var n="",r=0;return t.forEach((function(t){var i=t.index,a=t.string;n+=e.slice(r,i)+a,r=i})),n+=e.slice(r)}function st(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t}function ct(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}var lt=function(){return lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)},pt=function(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.")},ft=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},dt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ft(arguments[t]));return e};function ht(e,t,n){var r,i,a,o=n?Object(N.A)(n).name:null,u=[],s=[];try{for(var c=pt(t),l=c.next();!l.done;l=c.next()){var p=l.value;if("FragmentSpread"===p.kind){var f=p.name.value;if(!p.directives||0===p.directives.length){if(s.indexOf(f)>=0)continue;s.push(f)}var d=e[p.name.value];if(d){var h=d.typeCondition,m=d.directives,v=d.selectionSet;p={kind:rt.a.INLINE_FRAGMENT,typeCondition:h,directives:m,selectionSet:v}}}if(p.kind===rt.a.INLINE_FRAGMENT&&(!p.directives||0===(null===(a=p.directives)||void 0===a?void 0:a.length))){var y=p.typeCondition?p.typeCondition.name.value:null;if(!y||y===o){u.push.apply(u,dt(ht(e,p.selectionSet.selections,n)));continue}}u.push(p)}}catch(g){r={error:g}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return u}function mt(e,t){var n,r,i=t?new nt.a(t):null,a=Object.create(null);try{for(var o=pt(e.definitions),u=o.next();!u.done;u=o.next()){var s=u.value;s.kind===rt.a.FRAGMENT_DEFINITION&&(a[s.name.value]=s)}}catch(p){n={error:p}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}var c={SelectionSet:function(e){var t=i?i.getParentType():null,n=e.selections;return n=function(e,t){var n,r,i=new Map,a=[];try{for(var o=pt(e),u=o.next();!u.done;u=o.next()){var s=u.value;if("Field"===s.kind){var c=t(s),l=i.get(c);if(s.directives&&s.directives.length){var p=lt({},s);a.push(p)}else l&&l.selectionSet&&s.selectionSet?l.selectionSet.selections=dt(l.selectionSet.selections,s.selectionSet.selections):l||(p=lt({},s),i.set(c,p),a.push(p))}else a.push(s)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}(n=ht(a,n,t),(function(e){return e.alias?e.alias.value:e.name.value})),lt(lt({},e),{selections:n})},FragmentDefinition:function(){return null}};return Object(l.c)(e,i?Object(nt.b)(i,c):c)}var vt=n(1092),yt=n.n(vt),gt=n(954),bt=function(){return bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},bt.apply(this,arguments)};function Dt(e){return i.a.createElement("div",{role:"button","aria-pressed":!1,className:"close","aria-label":"Close Tab",title:"Close Tab",onClick:function(t){t.stopPropagation(),e.onClick()}})}function Et(e){return i.a.createElement("button",bt({},e.tabProps,{role:"tab",type:"button","aria-selected":e.isActive,title:e.title,className:"tab"+(e.isActive?" active":""),onClick:e.onSelect}),e.title,e.isCloseable?i.a.createElement(Dt,{onClick:function(){return e.onClose()}}):null)}function Ct(e){return i.a.createElement("button",{onClick:e.onClick,className:"tab-add",title:"Create new tab"},i.a.createElement("span",null,"+"))}function At(e){return i.a.createElement("div",bt({role:"tablist",className:"tabs"},e.tabsProps),e.children)}function Tt(e){var t,n=/^(?!.*#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/.exec(e);return null!==(t=null===n||void 0===n?void 0:n[2])&&void 0!==t?t:"<untitled>"}function xt(e){var t,n,r;return[null!==(t=e.query)&&void 0!==t?t:"",null!==(n=e.variables)&&void 0!==n?n:"",null!==(r=e.headers)&&void 0!==r?r:""].join("|")}function St(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}var wt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),kt=function(){return kt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},kt.apply(this,arguments)},Ot=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},Ft=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},_t=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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Nt=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="function"===typeof Pt?Pt(e):e[Symbol.iterator](),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,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},It=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},jt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(It(arguments[t]));return e},Pt=function(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.")};if(parseInt(i.a.version.slice(0,2),10)<16)throw Error(["GraphiQL 0.18.0 and after is not compatible with React 15 or below.","If you are using a CDN source (jsdelivr, unpkg, etc), follow this example:","https://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49"].join("\n"));var Bt=function(e){return JSON.stringify(e,null,2)},Lt=function(e){return e instanceof a.a?e.toString():e instanceof Error?function(e){return kt(kt({},e),{message:e.message,stack:e.stack})}(e):e},Rt=function(e){function t(n){var r,i,a,c,l,p,h,m,v,y,g,b=e.call(this,n)||this;if(b._editorQueryID=0,b.safeSetState=function(e,t){b.componentIsMounted&&b.setState(e,t)},b.persistTabsState=function(){var e,t;b.props.tabs&&(b._storage.set("tabState",JSON.stringify(b.state.tabs,(function(e,t){return"response"===e||b.state.shouldPersistHeaders&&"headers"===e?void 0:t}))),"object"===typeof b.props.tabs&&(null===(t=(e=b.props.tabs).onTabChange)||void 0===t||t.call(e,b.state.tabs)))},b.makeHandleOnSelectTab=function(e){return function(){b.handleStopQuery(),b.setState((function(t){return function(e,t){var n=t.tabs.activeTabIndex,r=t.tabs.tabs.map((function(e,r){return r!==n?e:kt(kt({},e),{query:t.query,variables:t.variables,operationName:t.operationName,headers:t.headers,response:t.response,hash:xt({query:t.query,variables:t.variables,headers:t.headers})})})),i=t.tabs.tabs[e];return kt(kt({},t),{query:i.query,variables:i.variables,operationName:i.operationName,headers:i.headers,response:i.response,tabs:kt(kt({},t.tabs),{tabs:r,activeTabIndex:e})})}(e,t)}),(function(){b.persistTabsState(),b.state.query&&b.handleEditQuery(b.state.query)}))}},b.makeHandleOnCloseTab=function(e){return function(){b.state.tabs.activeTabIndex===e&&b.handleStopQuery(),b.setState((function(t){return function(e,t){var n=t.tabs.activeTabIndex>0?t.tabs.activeTabIndex-1:0,r=kt(kt({},t.tabs),{activeTabIndex:n,tabs:t.tabs.tabs.filter((function(t,n){return e!==n}))}),i=r.tabs[n];return kt(kt({},t),{query:i.query,variables:i.variables,operationName:i.operationName,headers:i.headers,response:i.response,tabs:r})}(e,t)}),b.persistTabsState)}},b.handleOnAddTab=function(){b.setState((function(e){return function(e){var t=e.tabs.activeTabIndex,n={id:St(),title:"<untitled>",headers:"",variables:"",query:"",operationName:"",response:"",hash:xt({query:"",variables:"",headers:""})},r=e.tabs.tabs.map((function(n,r){return r!==t?n:kt(kt({},n),{headers:e.headers,variables:e.variables,query:e.query,operationName:e.operationName,response:e.response})}));return kt(kt({},e),{headers:n.headers,variables:n.variables,query:n.query,operationName:n.operationName,response:n.response,tabs:kt(kt({},e.tabs),{activeTabIndex:e.tabs.tabs.length,tabs:jt(r,[n])})})}(e)}),b.persistTabsState)},b.handleClickReference=function(e){b.setState({docExplorerOpen:!0},(function(){b.docExplorerComponent&&b.docExplorerComponent.showDocForReference(e)})),b._storage.set("docExplorerOpen",JSON.stringify(b.state.docExplorerOpen))},b.handleRunQuery=function(e){return Ot(b,void 0,void 0,(function(){var n,r,i,a,o,u,s,c,l,p=this;return Ft(this,(function(f){switch(f.label){case 0:this._editorQueryID++,n=this._editorQueryID,r=this.autoCompleteLeafs()||this.state.query,i=this.state.variables,a=this.state.headers,o=this.state.shouldPersistHeaders,u=this.state.operationName,e&&e!==u&&(u=e,this.handleEditOperationName(u)),f.label=1;case 1:return f.trys.push([1,3,,4]),this.setState({isWaitingForResponse:!0,response:void 0,operationName:u}),this._storage.set("operationName",u),this._queryHistory?this._queryHistory.onUpdateHistory(r,i,a,u):this._historyStore&&this._historyStore.updateHistory(r,i,a,u),s={data:{}},[4,this._fetchQuery(r,i,a,u,o,(function(e){var r,i;if(n===p._editorQueryID){var a=!!Array.isArray(e)&&e;if(!a&&"string"!==typeof e&&null!==e&&"hasNext"in e&&(a=[e]),a){var o={data:s.data},u=jt((null===s||void 0===s?void 0:s.errors)||[],a.map((function(e){return e.errors})).flat().filter(Boolean));u.length&&(o.errors=u);try{for(var c=Pt(a),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.path,h=f.data,m=(f.errors,_t(f,["path","data","errors"]));if(d){if(!h)throw new Error("Expected part to contain a data property, but got "+f);yt()(o.data,d,h,{merge:!0})}else h&&(o.data=f.data);s=kt(kt({},o),m)}}catch(y){r={error:y}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}p.setState({isWaitingForResponse:!1,response:t.formatResult(s)})}else{var v=t.formatResult(e);p.setState((function(e){return kt(kt({},e),{tabs:kt(kt({},e.tabs),{tabs:e.tabs.tabs.map((function(t,n){return n!==e.tabs.activeTabIndex?t:kt(kt({},t),{response:v})}))}),isWaitingForResponse:!1,response:v})}),p.persistTabsState)}}}))];case 2:return c=f.sent(),this.setState({subscription:c}),[3,4];case 3:return l=f.sent(),this.setState({isWaitingForResponse:!1,response:l.message}),[3,4];case 4:return[2]}}))}))},b.handleStopQuery=function(){var e=b.state.subscription;b.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()},b.handlePrettifyQuery=function(){var e,t,n,r=b.getQueryEditor(),i=null!==(e=null===r||void 0===r?void 0:r.getValue())&&void 0!==e?e:"",a=Object(o.a)(Object(u.a)(i));a!==i&&(null===r||void 0===r||r.setValue(a));var s=b.getVariableEditor(),c=null!==(t=null===s||void 0===s?void 0:s.getValue())&&void 0!==t?t:"";try{var l=JSON.stringify(JSON.parse(c),null,2);l!==c&&(null===s||void 0===s||s.setValue(l))}catch(p){}var f=b.getHeaderEditor(),d=null!==(n=null===f||void 0===f?void 0:f.getValue())&&void 0!==n?n:"";try{var m=JSON.stringify(JSON.parse(d),null,2);m!==d&&(null===f||void 0===f||f.setValue(m))}catch(h){}},b.handleMergeQuery=function(){var e=b.getQueryEditor();if(e.getValue()){var t=b.state.documentAST;e.setValue(Object(o.a)(mt(t,b.state.schema)))}},b.handleEditQuery=Te(100,(function(e){var t=b._updateQueryFacts(e,b.state.operationName,b.state.operations,b.state.schema);if(b.setState((function(n){return kt(kt(kt(kt({},n),{query:e}),t),{tabs:Qt(e,n.tabs,null===t||void 0===t?void 0:t.operationName)})}),b.persistTabsState),b._storage.set("query",e),b.props.onEditQuery)return b.props.onEditQuery(e,null===t||void 0===t?void 0:t.documentAST)})),b.handleCopyQuery=function(){var e=b.getQueryEditor(),t=e&&e.getValue();if(t)return f()(t),b.props.onCopyQuery?b.props.onCopyQuery(t):void 0},b._updateQueryFacts=function(e,t,n,r){var i=Object(d.getOperationFacts)(r,e);if(i){var a=et(n,t,i.operations),o=b.props.onEditOperationName;return o&&a&&t!==a&&o(a),kt({operationName:a},i)}},b.handleEditVariables=function(e){b.setState((function(t){return kt(kt({},t),{variables:e,tabs:Jt(e,t.tabs)})}),b.persistTabsState),Te(500,(function(){return b._storage.set("variables",e)}))(),b.props.onEditVariables&&b.props.onEditVariables(e)},b.handleEditHeaders=function(e){b.setState((function(t){return kt(kt({},t),{headers:e,tabs:$t(e,t.tabs)})}),b.persistTabsState),b.props.shouldPersistHeaders&&Te(500,(function(){return b._storage.set("headers",e)}))(),b.props.onEditHeaders&&b.props.onEditHeaders(e)},b.handleEditOperationName=function(e){var t=b.props.onEditOperationName;t&&t(e)},b.handleHintInformationRender=function(e){var t;e.addEventListener("click",b._onClickHintInformation),e.addEventListener("DOMNodeRemoved",t=function(){e.removeEventListener("DOMNodeRemoved",t),e.removeEventListener("click",b._onClickHintInformation)})},b.handleEditorRunQuery=function(){b._runQueryAtCursor()},b._onClickHintInformation=function(e){if((null===e||void 0===e?void 0:e.currentTarget)&&"className"in e.currentTarget&&"typeName"===e.currentTarget.className){var t=e.currentTarget.innerHTML,n=b.state.schema;if(n){var r=n.getType(t);r&&(b.setState({docExplorerOpen:!0},(function(){b.docExplorerComponent&&b.docExplorerComponent.showDoc(r)})),Te(500,(function(){return b._storage.set("docExplorerOpen",JSON.stringify(b.state.docExplorerOpen))}))())}}},b.handleToggleDocs=function(){"function"===typeof b.props.onToggleDocs&&b.props.onToggleDocs(!b.state.docExplorerOpen),b._storage.set("docExplorerOpen",JSON.stringify(!b.state.docExplorerOpen)),b.setState({docExplorerOpen:!b.state.docExplorerOpen})},b.handleToggleHistory=function(){"function"===typeof b.props.onToggleHistory&&b.props.onToggleHistory(!b.state.historyPaneOpen),b._storage.set("historyPaneOpen",JSON.stringify(!b.state.historyPaneOpen)),b.setState({historyPaneOpen:!b.state.historyPaneOpen})},b.handleSelectHistoryQuery=function(e,t,n,r){e&&b.handleEditQuery(e),t&&b.handleEditVariables(t),n&&b.handleEditHeaders(n),r&&b.handleEditOperationName(r)},b.handleResizeStart=function(e){if(b._didClickDragBar(e)){e.preventDefault();var t=e.clientX-st(e.target),n=function(e){if(0===e.buttons)return r();var n=b.editorBarComponent,i=e.clientX-st(n)-t,a=n.clientWidth-i;b.setState({editorFlex:i/a}),Te(500,(function(){return b._storage.set("editorFlex",JSON.stringify(b.state.editorFlex))}))()},r=function(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),n=null,r=null};document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)}},b.handleResetResize=function(){b.setState({editorFlex:1}),b._storage.set("editorFlex",JSON.stringify(b.state.editorFlex))},b.handleDocsResizeStart=function(e){e.preventDefault();var t=b.state.docExplorerWidth,n=e.clientX-st(e.target),r=function(e){if(0===e.buttons)return i();var t=b.graphiqlContainer,r=e.clientX-st(t)-n,a=t.clientWidth-r;a<100?("function"===typeof b.props.onToggleDocs&&b.props.onToggleDocs(!b.state.docExplorerOpen),b._storage.set("docExplorerOpen",JSON.stringify(b.state.docExplorerOpen)),b.setState({docExplorerOpen:!1})):(b.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(a,650)}),Te(500,(function(){return b._storage.set("docExplorerWidth",JSON.stringify(b.state.docExplorerWidth))}))()),b._storage.set("docExplorerOpen",JSON.stringify(b.state.docExplorerOpen))},i=function(){b.state.docExplorerOpen||(b.setState({docExplorerWidth:t}),Te(500,(function(){return b._storage.set("docExplorerWidth",JSON.stringify(b.state.docExplorerWidth))}))()),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i),r=null,i=null};document.addEventListener("mousemove",r),document.addEventListener("mouseup",i)},b.handleDocsResetResize=function(){b.setState({docExplorerWidth:350}),Te(500,(function(){return b._storage.set("docExplorerWidth",JSON.stringify(b.state.docExplorerWidth))}))()},b.handleTabClickPropogation=function(e){e.preventDefault(),e.stopPropagation()},b.handleOpenHeaderEditorTab=function(e){b.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})},b.handleOpenVariableEditorTab=function(e){b.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})},b.handleSecondaryEditorResizeStart=function(e){e.preventDefault();var t=!1,n=b.state.secondaryEditorOpen,r=b.state.secondaryEditorHeight,i=e.clientY-ct(e.target),a=function(e){if(0===e.buttons)return o();t=!0;var n=b.editorBarComponent,a=e.clientY-ct(n)-i,u=n.clientHeight-a;u<60?b.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):b.setState({secondaryEditorOpen:!0,secondaryEditorHeight:u}),Te(500,(function(){return b._storage.set("secondaryEditorHeight",JSON.stringify(b.state.secondaryEditorHeight))}))()},o=function(){t||b.setState({secondaryEditorOpen:!n}),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",o),a=null,o=null};document.addEventListener("mousemove",a),document.addEventListener("mouseup",o)},"function"!==typeof n.fetcher)throw new TypeError("GraphiQL requires a fetcher function.");b._storage=new Ze(n.storage);var D=null!==(l=n.maxHistoryLength)&&void 0!==l?l:20;b._historyStore=new $e(b._storage,D),b.componentIsMounted=!1;var E,C=void 0!==n.query?n.query:b._storage.get("query")?b._storage.get("query"):void 0!==n.defaultQuery?n.defaultQuery:qt,A=Object(d.getOperationFacts)(n.schema,C),T=void 0!==n.variables?n.variables:b._storage.get("variables"),x=void 0!==n.headers?n.headers:b._storage.get("headers"),S=void 0!==n.operationName?n.operationName:et(void 0,b._storage.get("operationName"),A&&A.operations),w=n.docExplorerOpen||!1;b._storage.get("docExplorerOpen")&&(w="true"===b._storage.get("docExplorerOpen")),E=void 0!==n.defaultVariableEditorOpen?n.defaultVariableEditorOpen:void 0!==n.defaultSecondaryEditorOpen?n.defaultSecondaryEditorOpen:Boolean(T||x);var k=null===(p=n.headerEditorEnabled)||void 0===p||p,O=null!==(h=n.shouldPersistHeaders)&&void 0!==h&&h,F=n.schema,_=n.response,N=void 0;if(F&&!b.props.dangerouslyAssumeSchemaIsValid){var I=Object(gt.b)(F);I&&I.length>0&&(_=t.formatError(I),F=void 0,N=I)}b._introspectionQuery=Object(s.a)({schemaDescription:null!==(m=n.schemaDescription)&&void 0!==m?m:void 0,inputValueDeprecation:null!==(v=n.inputValueDeprecation)&&void 0!==v?v:void 0}),b._introspectionQueryName=null!==(y=n.introspectionQueryName)&&void 0!==y?y:"IntrospectionQuery",b._introspectionQuerySansSubscriptions=b._introspectionQuery.replace("subscriptionType { name }","");var j,P=xt({query:C,variables:T,headers:x}),B={id:St(),hash:P,title:null!==S&&void 0!==S?S:"<untitled>",query:C,variables:T,headers:x,operationName:S,response:void 0},L=null;if(b.props.tabs&&(L=b._storage.get("tabState")),null===L)j={activeTabIndex:0,tabs:[B]};else{j=JSON.parse(L);var R=!1;try{for(var M=Pt(j.tabs),V=M.next();!V.done;V=M.next()){(H=V.value).query=H.query,H.variables=H.variables,H.headers=O?H.headers:void 0,H.response=void 0,H.operationName=void 0,H.id=St(),H.hash=xt(H),H.hash===P&&(R=!0)}}catch(K){r={error:K}}finally{try{V&&!V.done&&(i=M.return)&&i.call(M)}finally{if(r)throw r.error}}!1===R&&(j.tabs.push(B),j.activeTabIndex=j.tabs.length-1)}var U=j.tabs[0],q=0;try{for(var z=Pt(j.tabs),G=z.next();!G.done;G=z.next()){var H;if((H=G.value).hash===P){j.activeTabIndex=q,U=H;break}q++}}catch(W){a={error:W}}finally{try{G&&!G.done&&(c=z.return)&&c.call(z)}finally{if(a)throw a.error}}return b.state=kt({tabs:j,schema:F,query:null===U||void 0===U?void 0:U.query,variables:null===U||void 0===U?void 0:U.variables,headers:null===U||void 0===U?void 0:U.headers,operationName:null===U||void 0===U?void 0:U.operationName,response:null!==(g=null===U||void 0===U?void 0:U.response)&&void 0!==g?g:_,docExplorerOpen:w,schemaErrors:N,editorFlex:Number(b._storage.get("editorFlex"))||1,secondaryEditorOpen:E,secondaryEditorHeight:Number(b._storage.get("secondaryEditorHeight"))||200,variableEditorActive:"true"!==b._storage.get("variableEditorActive")&&!n.headerEditorEnabled||"true"!==b._storage.get("headerEditorActive"),headerEditorActive:"true"===b._storage.get("headerEditorActive"),headerEditorEnabled:k,shouldPersistHeaders:O,historyPaneOpen:"true"===b._storage.get("historyPaneOpen")||!1,docExplorerWidth:Number(b._storage.get("docExplorerWidth"))||350,isWaitingForResponse:!1,subscription:null,maxHistoryLength:D},A),b}return wt(t,e),t.formatResult=function(e){return JSON.stringify(e,null,2)},t.prototype.componentDidMount=function(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new Xe,"undefined"!==typeof window&&(window.g=this)},t.prototype.UNSAFE_componentWillMount=function(){this.componentIsMounted=!1},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this,n=this.state.schema,r=this.state.query,i=this.state.variables,a=this.state.headers,o=this.state.operationName,u=this.state.response;if(void 0!==e.schema&&(n=e.schema),void 0!==e.query&&this.props.query!==e.query&&(r=e.query),void 0!==e.variables&&this.props.variables!==e.variables&&(i=e.variables),void 0!==e.headers&&this.props.headers!==e.headers&&(a=e.headers),void 0!==e.operationName&&(o=e.operationName),void 0!==e.response&&(u=e.response),r&&n&&(n!==this.state.schema||r!==this.state.query||o!==this.state.operationName)){if(!this.props.dangerouslyAssumeSchemaIsValid){var s=Object(gt.b)(n);s&&s.length>0&&(this.handleSchemaErrors(s),n=void 0)}var c=this._updateQueryFacts(r,o,this.state.operations,n);void 0!==c&&(o=c.operationName,this.setState(c))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(n=void 0),this._storage.set("operationName",o),this.setState({schema:n,query:r,variables:i,headers:a,operationName:o,response:u},(function(){void 0===t.state.schema&&(t.docExplorerComponent&&t.docExplorerComponent.reset(),t.fetchSchema())}))},t.prototype.componentDidUpdate=function(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])},t.prototype.render=function(){var e,n=this,r=i.a.Children.toArray(this.props.children),a=tt(r,(function(e){return Wt(e,t.Logo)}))||i.a.createElement(t.Logo,null),o=tt(r,(function(e){return Wt(e,t.Toolbar)}))||i.a.createElement(t.Toolbar,null,i.a.createElement(D,{onClick:this.handlePrettifyQuery,title:"Prettify Query (Shift-Ctrl-P)",label:"Prettify"}),i.a.createElement(D,{onClick:this.handleMergeQuery,title:"Merge Query (Shift-Ctrl-M)",label:"Merge"}),i.a.createElement(D,{onClick:this.handleCopyQuery,title:"Copy Query (Shift-Ctrl-C)",label:"Copy"}),i.a.createElement(D,{onClick:this.handleToggleHistory,title:"Show History",label:"History"}),(null===(e=this.props.toolbar)||void 0===e?void 0:e.additionalContent)?this.props.toolbar.additionalContent:null),u=tt(r,(function(e){return Wt(e,t.Footer)})),s={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:"block",width:this.state.docExplorerWidth},l="docExplorerWrap"+(this.state.docExplorerWidth<200?" doc-explorer-narrow":""),p={display:this.state.historyPaneOpen?"block":"none",width:"230px",zIndex:7},f=this.state.secondaryEditorOpen,d={height:f?this.state.secondaryEditorHeight:void 0},h=this.state.tabs;return i.a.createElement("div",{ref:function(e){n.graphiqlContainer=e},"data-testid":"graphiql-container",className:"graphiql-container"},this.state.historyPaneOpen&&i.a.createElement("div",{className:"historyPaneWrap",style:p},i.a.createElement(Ye,{ref:function(e){n._queryHistory=e},operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,maxHistoryLength:this.state.maxHistoryLength,queryID:this._editorQueryID},i.a.createElement("button",{className:"docExplorerHide",onClick:this.handleToggleHistory,"aria-label":"Close History"},"\u2715"))),i.a.createElement("div",{className:"editorWrap"},i.a.createElement("div",{className:"topBarWrap"},this.props.beforeTopBarContent,i.a.createElement("div",{className:"topBar"},a,i.a.createElement(m,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),o),!this.state.docExplorerOpen&&i.a.createElement("button",{className:"docExplorerShow",onClick:this.handleToggleDocs,"aria-label":"Open Documentation Explorer"},"Docs")),this.props.tabs?i.a.createElement(At,{tabsProps:{"aria-label":"Select active operation"}},h.tabs.map((function(e,t){return i.a.createElement(Et,{key:e.id,isActive:t===h.activeTabIndex,title:e.title,isCloseable:h.tabs.length>1,onSelect:n.makeHandleOnSelectTab(t),onClose:n.makeHandleOnCloseTab(t),tabProps:{"aria-controls":"sessionWrap",id:"session-tab-"+t}})})),i.a.createElement(Ct,{onClick:this.handleOnAddTab})):null,i.a.createElement("div",{ref:function(e){n.editorBarComponent=e},role:"tabpanel",id:"sessionWrap",className:"editorBar","aria-labelledby":"session-tab-"+h.activeTabIndex,onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},i.a.createElement("div",{className:"queryWrap",style:s},i.a.createElement(Q,{ref:function(e){n.queryEditorComponent=e},schema:this.state.schema,validationRules:this.props.validationRules,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,externalFragments:this.props.externalFragments}),i.a.createElement("section",{className:"variable-editor secondary-editor",style:d,"aria-label":this.state.variableEditorActive?"Query Variables":"Request Headers"},i.a.createElement("div",{className:"secondary-editor-title variable-editor-title",id:"secondary-editor-title",style:{cursor:f?"row-resize":"n-resize"},onMouseDown:this.handleSecondaryEditorResizeStart},i.a.createElement("div",{className:"variable-editor-title-text"+(this.state.variableEditorActive?" active":""),onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},"Query Variables"),this.state.headerEditorEnabled&&i.a.createElement("div",{style:{marginLeft:"20px"},className:"variable-editor-title-text"+(this.state.headerEditorActive?" active":""),onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},"Request Headers")),i.a.createElement(te,{ref:function(e){n.variableEditorComponent=e},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.variableEditorActive}),this.state.headerEditorEnabled&&i.a.createElement(oe,{ref:function(e){n.headerEditorComponent=e},value:this.state.headers,onEdit:this.handleEditHeaders,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.headerEditorActive}))),i.a.createElement("div",{className:"resultWrap"},this.state.isWaitingForResponse&&i.a.createElement("div",{className:"spinner-container"},i.a.createElement("div",{className:"spinner"})),i.a.createElement(fe,{registerRef:function(e){n.resultViewerElement=e},ref:function(e){n.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:g}),u))),this.state.docExplorerOpen&&i.a.createElement("div",{className:l,style:c},i.a.createElement("div",{className:"docExplorerResizer",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),i.a.createElement(Me,{ref:function(e){n.docExplorerComponent=e},schemaErrors:this.state.schemaErrors,schema:this.state.schema},i.a.createElement("button",{className:"docExplorerHide",onClick:this.handleToggleDocs,"aria-label":"Close Documentation Explorer"},"\u2715"))))},t.prototype.getQueryEditor=function(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()},t.prototype.getVariableEditor=function(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null},t.prototype.getHeaderEditor=function(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null},t.prototype.refresh=function(){this.queryEditorComponent&&this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent&&this.variableEditorComponent.getCodeMirror().refresh(),this.headerEditorComponent&&this.headerEditorComponent.getCodeMirror().refresh(),this.resultComponent&&this.resultComponent.getCodeMirror().refresh()},t.prototype.autoCompleteLeafs=function(){var e=it(this.state.schema,this.state.query,this.props.getDefaultFieldNames),t=e.insertions,n=e.result;if(t&&t.length>0){var r=this.getQueryEditor();r&&r.operation((function(){var e=r.getCursor(),i=r.indexFromPos(e);r.setValue(n||"");var a=0,o=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+a),r.posFromIndex(t+(a+=n.length)),{className:"autoInsertedLeaf",clearOnEnter:!0,title:"Automatically added leaf fields"})}));setTimeout((function(){return o.forEach((function(e){return e.clear()}))}),7e3);var u=i;t.forEach((function(e){var t=e.index,n=e.string;t<i&&(u+=n.length)})),r.setCursor(r.posFromIndex(u))}))}return n},t.prototype.fetchSchema=function(){var e=this,n=this.props.fetcher,r={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders),documentAST:this.state.documentAST};try{this.state.headers&&this.state.headers.trim().length>2?r.headers=JSON.parse(this.state.headers):this.props.headers&&(r.headers=JSON.parse(this.props.headers))}catch(a){return void this.setState({response:"Introspection failed as headers are invalid."})}var i=Kt(n({query:this._introspectionQuery,operationName:this._introspectionQueryName},r));zt(i)?i.then((function(t){if("string"!==typeof t&&"data"in t)return t;var a=Kt(n({query:e._introspectionQuerySansSubscriptions,operationName:e._introspectionQueryName},r));if(!zt(i))throw new Error("Fetcher did not return a Promise for introspection.");return a})).then((function(n){var r,i;if(void 0===e.state.schema)if(n&&n.data&&"__schema"in(null===n||void 0===n?void 0:n.data)){var a=Object(c.a)(n.data);if(!e.props.dangerouslyAssumeSchemaIsValid){var o=Object(gt.b)(a);o&&o.length>0&&(a=void 0,e.handleSchemaErrors(o))}if(a){var u=Object(d.getOperationFacts)(a,e.state.query);e.safeSetState(kt(kt({schema:a},u),{schemaErrors:void 0})),null===(i=(r=e.props).onSchemaChange)||void 0===i||i.call(r,a)}}else{var s="string"===typeof n?n:t.formatResult(n);e.handleSchemaErrors([s])}})).catch((function(t){e.handleSchemaErrors([t])})):this.setState({response:"Fetcher did not return a Promise for introspection."})},t.prototype.handleSchemaErrors=function(e){this.safeSetState({response:e?t.formatError(e):void 0,schema:void 0,schemaErrors:e})},t.prototype._fetchQuery=function(e,n,r,i,a,s){return Ot(this,void 0,void 0,(function(){var c,p,f,h,m,v,y=this;return Ft(this,(function(g){c=this.props.fetcher,p=null,f=null;try{p=n&&""!==n.trim()?JSON.parse(n):null}catch(b){throw new Error("Variables are invalid JSON: "+b.message+".")}if("object"!==typeof p)throw new Error("Variables are not a JSON object.");try{f=r&&""!==r.trim()?JSON.parse(r):null}catch(b){throw new Error("Headers are invalid JSON: "+b.message+".")}if("object"!==typeof f)throw new Error("Headers are not a JSON object.");return this.props.externalFragments&&(h=new Map,Array.isArray(this.props.externalFragments)?this.props.externalFragments.forEach((function(e){h.set(e.name.value,e)})):Object(l.c)(Object(u.a)(this.props.externalFragments,{}),{FragmentDefinition:function(e){h.set(e.name.value,e)}}),(m=Object(d.getFragmentDependenciesForAST)(this.state.documentAST,h)).length>0&&(e+="\n"+m.map((function(e){return Object(o.a)(e)})).join("\n"))),v=c({query:e,variables:p,operationName:i},{headers:f,shouldPersistHeaders:a,documentAST:this.state.documentAST}),[2,Promise.resolve(v).then((function(e){return Gt(e)?e.subscribe({next:s,error:function(e){y.safeSetState({isWaitingForResponse:!1,response:e?t.formatError(e):void 0,subscription:null})},complete:function(){y.safeSetState({isWaitingForResponse:!1,subscription:null})}}):Ht(e)?(Ot(y,void 0,void 0,(function(){var n,r,i,a,o,u,c;return Ft(this,(function(l){switch(l.label){case 0:l.trys.push([0,13,,14]),l.label=1;case 1:l.trys.push([1,6,7,12]),n=Nt(e),l.label=2;case 2:return[4,n.next()];case 3:if((r=l.sent()).done)return[3,5];i=r.value,s(i),l.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return a=l.sent(),u={error:a},[3,12];case 7:return l.trys.push([7,,10,11]),r&&!r.done&&(c=n.return)?[4,c.call(n)]:[3,9];case 8:l.sent(),l.label=9;case 9:return[3,11];case 10:if(u)throw u.error;return[7];case 11:return[7];case 12:return this.safeSetState({isWaitingForResponse:!1,subscription:null}),[3,14];case 13:return o=l.sent(),this.safeSetState({isWaitingForResponse:!1,response:o?t.formatError(o):void 0,subscription:null}),[3,14];case 14:return[2]}}))})),{unsubscribe:function(){var t,n;return null===(n=(t=e[Symbol.asyncIterator]()).return)||void 0===n?void 0:n.call(t)}}):(s(e),null)})).catch((function(e){return y.safeSetState({isWaitingForResponse:!1,response:e?t.formatError(e):void 0}),null}))]}))}))},t.prototype._runQueryAtCursor=function(){if(this.state.subscription)this.handleStopQuery();else{var e,t=this.state.operations;if(t){var n=this.getQueryEditor();if(n&&n.hasFocus())for(var r=n.getCursor(),i=n.indexFromPos(r),a=0;a<t.length;a++){var o=t[a];if(o.loc&&o.loc.start<=i&&o.loc.end>=i){e=o.name&&o.name.value;break}}}this.handleRunQuery(e)}},t.prototype._didClickDragBar=function(e){if(0!==e.button||e.ctrlKey)return!1;var t=e.target;if(0!==t.className.indexOf("CodeMirror-gutter"))return!1;for(var n=this.resultViewerElement;t;){if(t===n)return!0;t=t.parentNode}return!1},t.formatError=function(e){return Array.isArray(e)?Bt({errors:e.map((function(e){return Lt(e)}))}):Bt({errors:Lt(e)})},t.Logo=Mt,t.Toolbar=Vt,t.Footer=Ut,t.QueryEditor=Q,t.VariableEditor=te,t.HeaderEditor=oe,t.ResultViewer=fe,t.Button=D,t.ToolbarButton=D,t.Group=E,t.Menu=A,t.MenuItem=T,t}(i.a.Component);function Mt(e){return i.a.createElement("div",{className:"title"},e.children||i.a.createElement("span",null,"Graph",i.a.createElement("em",null,"i"),"QL"))}function Vt(e){return i.a.createElement("div",{className:"toolbar",role:"toolbar","aria-label":"Editor Commands"},e.children)}function Ut(e){return i.a.createElement("div",{className:"footer"},e.children)}Mt.displayName="GraphiQLLogo",Vt.displayName="GraphiQLToolbar",Ut.displayName="GraphiQLFooter";var qt='# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that start\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Prettify Query: Shift-Ctrl-P (or press the prettify button above)\n#\n# Merge Query: Shift-Ctrl-M (or press the merge button above)\n#\n# Run Query: Ctrl-Enter (or press the play button above)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n\n';function zt(e){return"object"===typeof e&&"function"===typeof e.then}function Gt(e){return"object"===typeof e&&"subscribe"in e&&"function"===typeof e.subscribe}function Ht(e){return"object"===typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function Kt(e){return Promise.resolve(e).then((function(e){return Ht(e)?(n=e,new Promise((function(e,t){var r,i=null===(r=("return"in n?n:n[Symbol.asyncIterator]()).return)||void 0===r?void 0:r.bind(n);("next"in n?n:n[Symbol.asyncIterator]()).next.bind(n)().then((function(t){e(t.value),null===i||void 0===i||i()})).catch((function(e){t(e)}))}))):Gt(e)?(t=e,new Promise((function(e,n){var r=t.subscribe({next:function(t){e(t),r.unsubscribe()},error:n,complete:function(){n(new Error("no value resolved"))}})}))):e;var t,n}))}function Wt(e,t){var n;return!(!(null===(n=null===e||void 0===e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}function $t(e,t){return kt(kt({},t),{tabs:t.tabs.map((function(n,r){return r!==t.activeTabIndex?n:kt(kt({},n),{headers:e,hash:xt({query:n.query,headers:e,variables:n.variables})})}))})}function Jt(e,t){return kt(kt({},t),{tabs:t.tabs.map((function(n,r){return r!==t.activeTabIndex?n:kt(kt({},n),{variables:e,hash:xt({query:n.query,headers:n.headers,variables:e})})}))})}function Qt(e,t,n){return kt(kt({},t),{tabs:t.tabs.map((function(r,i){return i!==t.activeTabIndex?r:kt(kt({},r),{title:null!==n&&void 0!==n?n:Tt(e),query:e,hash:xt({query:e,headers:r.headers,variables:r.variables})})}))})}var Yt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Xt=function(){return Xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xt.apply(this,arguments)};!function(e){function t(t){var n=e.call(this,t)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){en(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}Yt(t,e),t.prototype.componentWillUnmount=function(){this._release()},t.prototype.render=function(){var e,t=this,n=this.state.visible,r=i.a.Children.map(this.props.children,(function(n,r){if(!function(e){return!(!e||"object"!==typeof e||!("props"in e))}(n))return null;e&&!n.props.selected||(e=n);var a=n.props.onSelect||t.props.onSelect&&t.props.onSelect.bind(null,n.props.value,r);return i.a.createElement(Zt,Xt({},n.props,{onSelect:a}))}));return i.a.createElement("a",{className:"toolbar-select toolbar-button",onClick:this.handleOpen.bind(this),onMouseDown:en,ref:function(e){t._node=e},title:this.props.title},null===e||void 0===e?void 0:e.props.label,i.a.createElement("svg",{width:"13",height:"10"},i.a.createElement("path",{fill:"#666",d:"M 5 5 L 13 5 L 9 1 z"}),i.a.createElement("path",{fill:"#666",d:"M 5 6 L 13 6 L 9 10 z"})),i.a.createElement("ul",{className:"toolbar-select-options"+(n?" open":"")},r))},t.prototype._subscribe=function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener("click",this._listener))},t.prototype._release=function(){this._listener&&(document.removeEventListener("click",this._listener),this._listener=null)},t.prototype.handleClick=function(e){this._node!==e.target&&(en(e),this.setState({visible:!1}),this._release())}}(i.a.Component);function Zt(e){var t=e.onSelect,n=e.label,r=e.selected;return i.a.createElement("li",{onMouseOver:function(e){e.currentTarget.className="hover"},onMouseOut:function(e){e.currentTarget.className=""},onMouseDown:en,onMouseUp:t},n,r&&i.a.createElement("svg",{width:"13",height:"13"},i.a.createElement("polygon",{points:"4.851,10.462 0,5.611 2.314,3.297 4.851,5.835\n 10.686,0 13,2.314 4.851,10.462"})))}function en(e){e.preventDefault()}t.a=Rt},1121:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(12),i=n.n(r),a=n(928),o=n(23);function u(e){this.wrapped=e}function s(e){return new u(e)}function c(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof u;Promise.resolve(s?o.wrapped:o).then((function(e){s?r("return"===t?"return":"next",e):i(a.done?"return":"normal",e)}),(function(e){r("throw",e)}))}catch(c){i("throw",c)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise((function(a,o){var u={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=u:(t=n=u,r(e,i))}))},"function"!==typeof e.return&&(this.return=void 0)}function l(e){return function(){return new c(e.apply(this,arguments))}}"function"===typeof Symbol&&Symbol.asyncIterator&&(c.prototype[Symbol.asyncIterator]=function(){return this}),c.prototype.next=function(e){return this._invoke("next",e)},c.prototype.throw=function(e){return this._invoke("throw",e)},c.prototype.return=function(e){return this._invoke("return",e)};var p="\r\n\r\n",f=new TextDecoder;function d(e,t,n){return h.apply(this,arguments)}function h(){return(h=l(r.mark((function e(t,n,i){var a,o,u,c,l,d,h,m,v,y,g,b,D,E,C,A,T;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=t.getReader(),o=!i||!i.multiple,u="",c=!0,l=[],e.prev=2;case 3:return e.next=5,s(a.read());case 5:if((d=e.sent).done){e.next=46;break}h=f.decode(d.value),m=h.indexOf(n),v=u.length,u+=h,~m?v+=m:v=u.indexOf(n),l=[];case 12:if(!~v){e.next=41;break}if(y=u.substring(0,v),g=u.substring(v+n.length),!c){e.next=19;break}c=!1,e.next=37;break;case 19:for(b={},D=y.indexOf(p),E=u.slice(0,D).toString().trim().split(/\r\n/),C=void 0;C=E.shift();)C=C.split(": "),b[C.shift().toLowerCase()]=C.join(": ");if(A=y.substring(D+p.length,y.lastIndexOf("\r\n")),T=!1,(C=b["content-type"])&&~C.indexOf("application/json"))try{A=JSON.parse(A),T=!0}catch(r){}if(C={headers:b,body:A,json:T},!o){e.next=34;break}return e.next=32,C;case 32:e.next=35;break;case 34:l.push(C);case 35:if("--"!==g.substring(0,2)){e.next=37;break}return e.abrupt("break",46);case 37:v=(u=g).indexOf(n),e.next=12;break;case 41:if(!l.length){e.next=44;break}return e.next=44,l;case 44:e.next=3;break;case 46:if(e.prev=46,!l.length){e.next=50;break}return e.next=50,l;case 50:return a.releaseLock(),e.finish(46);case 52:case"end":return e.stop()}}),e,null,[[2,,46,52]])})))).apply(this,arguments)}function m(e,t){return v.apply(this,arguments)}function v(){return(v=Object(o.a)(r.mark((function e(t,n){var i,a;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok&&t.body&&!t.bodyUsed){e.next=2;break}return e.abrupt("return",t);case 2:if((i=t.headers.get("content-type"))&&~i.indexOf("multipart/mixed")){e.next=5;break}return e.abrupt("return",t);case 5:return a=i.indexOf("boundary="),e.abrupt("return",d(t.body,"--".concat(~a?i.substring(a+9).trim().replace(/['"]/g,""):"-"),n));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var y=n(992);function g(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var b=Symbol(),D=Symbol();var E=function(e){var t=function(){var e=!0,t=[],n=g(),i=g(),a=function(){var e=l(r.mark((function e(){var a;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.length>0)){e.next=6;break}return e.next=4,t.shift();case 4:e.next=13;break;case 6:return e.next=8,s(Promise.race([n.promise,i.promise]));case 8:if((a=e.sent)!==b){e.next=11;break}return e.abrupt("break",15);case 11:if(a===D){e.next=13;break}throw a;case 13:e.next=0;break;case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),o=a.return.bind(a);a.return=function(){return e=!1,i.resolve(b),o.apply(void 0,arguments)};var u=a.throw.bind(a);return a.throw=function(t){return e=!1,i.resolve(t),u(t)},{pushValue:function(r){!1!==e&&(t.push(r),n.resolve(D),n=g())},asyncIterableIterator:a}}(),n=t.pushValue,i=t.asyncIterableIterator,a=e({next:function(e){n(e)},complete:function(){i.return()},error:function(e){i.throw(e)}}),o=i.return,u=void 0;return i.return=function(){return void 0===u&&(a(),u=o()),u},i};function C(e){return"object"===typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in e)}var A=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},x=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="function"===typeof __values?__values(e):e[Symbol.iterator](),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,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},S=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof T?Promise.resolve(n.value.v).then(s,c):l(a[0][2],n)}catch(r){l(a[0][3],r)}var n}function s(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}},w=function(e){return function(t){return E((function(n){return e.subscribe(t,Object.assign(Object.assign({},n),{error:function(e){e instanceof Error?n.error(e):e instanceof CloseEvent?n.error(new Error("Socket closed with event ".concat(e.code," ").concat(e.reason||"").trim())):n.error(new Error(e.map((function(e){return e.message})).join(", ")))}}))}))}},k=function(e){if(e.wsClient)return w(e.wsClient);if(e.subscriptionUrl)return function(e,t){var n;try{return n=Object(y.createClient)({url:e,connectionParams:t}),w(n)}catch(r){console.error("Error creating websocket client for:\n".concat(e,"\n\n").concat(r))}}(e.subscriptionUrl,e.wsConnectionParams);var t,n=e.legacyClient||e.legacyWsClient;return n?(t=n,function(e){var n=t.request(e);return E((function(e){return n.subscribe(e).unsubscribe}))}):void 0};function O(e){var t;if("undefined"!==typeof window&&window.fetch&&(t=window.fetch),null!==(null===e||void 0===e?void 0:e.enableIncrementalDelivery)&&!1===e.enableIncrementalDelivery||(e.enableIncrementalDelivery=!0),e.fetch&&(t=e.fetch),!t)throw Error("No valid fetcher implementation available");var n=function(e,t){return function(n,r){return A(void 0,void 0,void 0,i.a.mark((function a(){var o;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t(e.url,{method:"POST",body:JSON.stringify(n),headers:Object.assign(Object.assign({"content-type":"application/json"},e.headers),null===r||void 0===r?void 0:r.headers)});case 2:return o=i.sent,i.abrupt("return",o.json());case 4:case"end":return i.stop()}}),a)})))}}(e,t),r=k(e),o=e.enableIncrementalDelivery?function(e,t){return function(n,r){return S(this,arguments,i.a.mark((function a(){var o,u,s,c,l,p,f;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,T(t(e.url,{method:"POST",body:JSON.stringify(n),headers:Object.assign(Object.assign({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),null===r||void 0===r?void 0:r.headers)}).then((function(e){return m(e,{multiple:!0})})));case 2:if(C(s=i.sent)){i.next=13;break}return i.t0=T,i.next=7,T(s.json());case 7:return i.next=9,i.sent;case 9:return i.t1=i.sent,i.next=12,(0,i.t0)(i.t1);case 12:return i.abrupt("return",i.sent);case 13:i.prev=13,c=x(s);case 15:return i.next=17,T(c.next());case 17:if((l=i.sent).done){i.next=29;break}if(!(p=l.value).some((function(e){return!e.json}))){i.next=23;break}throw f=p.map((function(e){return"Headers::\n".concat(e.headers,"\n\nBody::\n").concat(e.body)})),new Error("Expected multipart chunks to be of json type. got:\n".concat(f));case 23:return i.next=25,T(p.map((function(e){return e.body})));case 25:return i.next=27,i.sent;case 27:i.next=15;break;case 29:i.next=34;break;case 31:i.prev=31,i.t2=i.catch(13),o={error:i.t2};case 34:if(i.prev=34,i.prev=35,!l||l.done||!(u=c.return)){i.next=39;break}return i.next=39,T(u.call(c));case 39:if(i.prev=39,!o){i.next=42;break}throw o.error;case 42:return i.finish(39);case 43:return i.finish(34);case 44:case"end":return i.stop()}}),a,null,[[13,31,34,44],[35,,39,43]])})))}}(e,t):n;return function(t,i){if("IntrospectionQuery"===t.operationName)return(e.schemaFetcher||n)(t,i);if(function(e,t){var n=!1;return Object(a.c)(e,{OperationDefinition:function(e){var r;t===(null===(r=e.name)||void 0===r?void 0:r.value)&&"subscription"===e.operation&&(n=!0)}}),n}(null===i||void 0===i?void 0:i.documentAST,t.operationName)){if(!r)throw Error("Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ".concat(e.subscriptionUrl?"Provided URL ".concat(e.subscriptionUrl," failed"):"Please provide subscriptionUrl, wsClient or legacyClient option first."));return r(t)}return o(t,i)}}},1128:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(917),i=n(912),a=n(919),o=n(939),u=n(922),s=n(942),c=n(934),l=n(918),p=n(924),f=n(916),d=n(911),h=n(960);function m(e,t){Object(u.a)(e)&&Object(u.a)(e.__schema)||Object(a.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(Object(i.a)(e),"."));for(var n=e.__schema,m=Object(o.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case f.TypeKind.SCALAR:return r=e,new d.g({name:r.name,description:r.description,specifiedByUrl:r.specifiedByUrl});case f.TypeKind.OBJECT:return n=e,new d.f({name:n.name,description:n.description,interfaces:function(){return w(n)},fields:function(){return k(n)}});case f.TypeKind.INTERFACE:return t=e,new d.c({name:t.name,description:t.description,interfaces:function(){return w(t)},fields:function(){return k(t)}});case f.TypeKind.UNION:return function(e){if(!e.possibleTypes){var t=Object(i.a)(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new d.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(x)}})}(e);case f.TypeKind.ENUM:return function(e){if(!e.enumValues){var t=Object(i.a)(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new d.a({name:e.name,description:e.description,values:Object(o.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case f.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=Object(i.a)(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new d.b({name:e.name,description:e.description,fields:function(){return F(e.inputFields)}})}(e)}var t;var n;var r;var a=Object(i.a)(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(a,"."))}(e)})),v=0,y=[].concat(p.g,f.introspectionTypes);v<y.length;v++){var g=y[v];m[g.name]&&(m[g.name]=g)}var b=n.queryType?x(n.queryType):null,D=n.mutationType?x(n.mutationType):null,E=n.subscriptionType?x(n.subscriptionType):null,C=n.directives?n.directives.map((function(e){if(!e.args){var t=Object(i.a)(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var n=Object(i.a)(e);throw new Error("Introspection result missing directive locations: ".concat(n,"."))}return new l.c({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:F(e.args)})})):[];return new c.a({description:n.description,query:b,mutation:D,subscription:E,types:Object(r.a)(m),directives:C,assumeValid:null===t||void 0===t?void 0:t.assumeValid});function A(e){if(e.kind===f.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new d.d(A(t))}if(e.kind===f.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error("Decorated type deeper than introspection query.");var r=A(n);return new d.e(Object(d.t)(r))}return T(e)}function T(e){var t=e.name;if(!t)throw new Error("Unknown type reference: ".concat(Object(i.a)(e),"."));var n=m[t];if(!n)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return n}function x(e){return Object(d.u)(T(e))}function S(e){return Object(d.o)(T(e))}function w(e){if(null===e.interfaces&&e.kind===f.TypeKind.INTERFACE)return[];if(!e.interfaces){var t=Object(i.a)(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(S)}function k(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat(Object(i.a)(e),"."));return Object(o.a)(e.fields,(function(e){return e.name}),O)}function O(e){var t=A(e.type);if(!Object(d.O)(t)){var n=Object(i.a)(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(n,"."))}if(!e.args){var r=Object(i.a)(e);throw new Error("Introspection result missing field args: ".concat(r,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:F(e.args)}}function F(e){return Object(o.a)(e,(function(e){return e.name}),_)}function _(e){var t=A(e.type);if(!Object(d.G)(t)){var n=Object(i.a)(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(n,"."))}var r=null!=e.defaultValue?Object(h.a)(Object(s.c)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}},908:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return D}));var r=n(922),i=n(921),a=n(971),o=n(998);function u(e){return u="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},u(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){var t="function"===typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return h(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},d(e)}function h(e,t,n){return h=m()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&v(i,n.prototype),i},h.apply(null,arguments)}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(d,e);var t,n,o,u=function(e){var t=m();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}(d);function d(e,t,n,i,o,l,h){var m,v,y,g;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(g=u.call(this,e)).name="GraphQLError",g.originalError=null!==l&&void 0!==l?l:void 0,g.nodes=b(Array.isArray(t)?t:t?[t]:void 0);for(var D=[],E=0,C=null!==(A=g.nodes)&&void 0!==A?A:[];E<C.length;E++){var A,T=C[E].loc;null!=T&&D.push(T)}D=b(D),g.source=null!==n&&void 0!==n?n:null===(m=D)||void 0===m?void 0:m[0].source,g.positions=null!==i&&void 0!==i?i:null===(v=D)||void 0===v?void 0:v.map((function(e){return e.start})),g.locations=i&&n?i.map((function(e){return Object(a.a)(n,e)})):null===(y=D)||void 0===y?void 0:y.map((function(e){return Object(a.a)(e.source,e.start)})),g.path=null!==o&&void 0!==o?o:void 0;var x=null===l||void 0===l?void 0:l.extensions;return null==h&&Object(r.a)(x)?g.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},x):g.extensions=null!==h&&void 0!==h?h:{},Object.defineProperties(f(g),{message:{enumerable:!0},locations:{enumerable:null!=g.locations},path:{enumerable:null!=g.path},extensions:{enumerable:null!=g.extensions&&Object.keys(g.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==l&&void 0!==l&&l.stack?(Object.defineProperty(f(g),"stack",{value:l.stack,writable:!0,configurable:!0}),p(g)):(Error.captureStackTrace?Error.captureStackTrace(f(g),d):Object.defineProperty(f(g),"stack",{value:Error().stack,writable:!0,configurable:!0}),g)}return t=d,(n=[{key:"toString",value:function(){return D(this)}},{key:i.c,get:function(){return"Object"}}])&&l(t.prototype,n),o&&l(t,o),d}(d(Error));function b(e){return void 0===e||0===e.length?void 0:e}function D(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+Object(o.a)(i.loc))}else if(e.source&&e.locations)for(var a=0,u=e.locations;a<u.length;a++){var s=u[a];t+="\n\n"+Object(o.b)(e.source,s)}return t}},911:function(e,t,n){"use strict";n.d(t,"S",(function(){return A})),n.d(t,"x",(function(){return T})),n.d(t,"R",(function(){return x})),n.d(t,"w",(function(){return S})),n.d(t,"N",(function(){return w})),n.d(t,"u",(function(){return k})),n.d(t,"H",(function(){return O})),n.d(t,"o",(function(){return F})),n.d(t,"T",(function(){return _})),n.d(t,"y",(function(){return N})),n.d(t,"E",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"F",(function(){return P})),n.d(t,"m",(function(){return B})),n.d(t,"J",(function(){return L})),n.d(t,"q",(function(){return R})),n.d(t,"L",(function(){return M})),n.d(t,"s",(function(){return V})),n.d(t,"G",(function(){return U})),n.d(t,"n",(function(){return q})),n.d(t,"O",(function(){return z})),n.d(t,"v",(function(){return G})),n.d(t,"I",(function(){return H})),n.d(t,"p",(function(){return K})),n.d(t,"D",(function(){return W})),n.d(t,"k",(function(){return $})),n.d(t,"C",(function(){return J})),n.d(t,"j",(function(){return Q})),n.d(t,"d",(function(){return Y})),n.d(t,"e",(function(){return X})),n.d(t,"U",(function(){return Z})),n.d(t,"z",(function(){return ee})),n.d(t,"M",(function(){return te})),n.d(t,"t",(function(){return ne})),n.d(t,"B",(function(){return re})),n.d(t,"K",(function(){return ie})),n.d(t,"r",(function(){return ae})),n.d(t,"A",(function(){return oe})),n.d(t,"g",(function(){return ce})),n.d(t,"f",(function(){return le})),n.d(t,"i",(function(){return me})),n.d(t,"P",(function(){return ve})),n.d(t,"c",(function(){return ye})),n.d(t,"h",(function(){return ge})),n.d(t,"a",(function(){return De})),n.d(t,"b",(function(){return Ce})),n.d(t,"Q",(function(){return Te}));var r=n(930),i=n(921),a=n(912),o=n(925),u=n(970),s=n(950),c=n(919),l=n(939),p=n(938),f=n(927),d=n(922);function h(e){return e}var m=n(949),v=n(926),y=n(908),g=n(914),b=n(920),D=n(997);function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function A(e){return x(e)||w(e)||O(e)||_(e)||I(e)||P(e)||L(e)||M(e)}function T(e){if(!A(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL type."));return e}function x(e){return Object(p.a)(e,ce)}function S(e){if(!x(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Scalar type."));return e}function w(e){return Object(p.a)(e,le)}function k(e){if(!w(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Object type."));return e}function O(e){return Object(p.a)(e,ye)}function F(e){if(!O(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Interface type."));return e}function _(e){return Object(p.a)(e,ge)}function N(e){if(!_(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Union type."));return e}function I(e){return Object(p.a)(e,De)}function j(e){if(!I(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Enum type."));return e}function P(e){return Object(p.a)(e,Ce)}function B(e){if(!P(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Input Object type."));return e}function L(e){return Object(p.a)(e,Y)}function R(e){if(!L(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL List type."));return e}function M(e){return Object(p.a)(e,X)}function V(e){if(!M(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL Non-Null type."));return e}function U(e){return x(e)||I(e)||P(e)||Z(e)&&U(e.ofType)}function q(e){if(!U(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL input type."));return e}function z(e){return x(e)||w(e)||O(e)||_(e)||I(e)||Z(e)&&z(e.ofType)}function G(e){if(!z(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL output type."));return e}function H(e){return x(e)||I(e)}function K(e){if(!H(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL leaf type."));return e}function W(e){return w(e)||O(e)||_(e)}function $(e){if(!W(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL composite type."));return e}function J(e){return O(e)||_(e)}function Q(e){if(!J(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL abstract type."));return e}function Y(e){if(!(this instanceof Y))return new Y(e);this.ofType=T(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return L(e)||M(e)}function ee(e){if(!Z(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL wrapping type."));return e}function te(e){return A(e)&&!M(e)}function ne(e){if(!te(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL nullable type."));return e}function re(e){if(e)return M(e)?e.ofType:e}function ie(e){return x(e)||w(e)||O(e)||_(e)||I(e)||P(e)}function ae(e){if(!ie(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL named type."));return e}function oe(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function ue(e){return"function"===typeof e?e():e}function se(e){return e&&e.length>0?e:void 0}Y.prototype.toString=function(){return"["+String(this.ofType)+"]"},Y.prototype.toJSON=function(){return this.toString()},Object.defineProperty(Y.prototype,i.c,{get:function(){return"GraphQLList"}}),Object(m.a)(Y),X.prototype.toString=function(){return String(this.ofType)+"!"},X.prototype.toJSON=function(){return this.toString()},Object.defineProperty(X.prototype,i.c,{get:function(){return"GraphQLNonNull"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e,t){return i(Object(D.a)(e,t))},this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),"string"===typeof e.name||Object(c.a)(0,"Must provide name."),null==e.specifiedByUrl||"string"===typeof e.specifiedByUrl||Object(c.a)(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(Object(a.a)(e.specifiedByUrl),".")),null==e.serialize||"function"===typeof e.serialize||Object(c.a)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"===typeof e.parseValue&&"function"===typeof e.parseLiteral||Object(c.a)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLScalarType"}}]),e}();Object(m.a)(ce);var le=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),this._fields=fe.bind(void 0,e),this._interfaces=pe.bind(void 0,e),"string"===typeof e.name||Object(c.a)(0,"Must provide name."),null==e.isTypeOf||"function"===typeof e.isTypeOf||Object(c.a)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(Object(a.a)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLObjectType"}}]),e}();function pe(e){var t,n=null!==(t=ue(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),n}function fe(e){var t=ue(e.fields);return de(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(u.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field config must be an object.")),!("isDeprecated"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"===typeof t.resolve||Object(c.a)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(Object(a.a)(t.resolve),"."));var o=null!==(i=t.args)&&void 0!==i?i:{};de(o)||Object(c.a)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var u=Object(r.a)(o).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&Object(s.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:u,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(u.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(l.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return M(e.type)&&void 0===e.defaultValue}Object(m.a)(le);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),this._fields=fe.bind(void 0,e),this._interfaces=pe.bind(void 0,e),"string"===typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(a.a)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLInterfaceType"}}]),e}();Object(m.a)(ye);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),this._types=be.bind(void 0,e),"string"===typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(a.a)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"===typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLUnionType"}}]),e}();function be(e){var t=ue(e.types);return Array.isArray(t)||Object(c.a)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}Object(m.a)(ge);var De=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,"".concat(t," values must be an object with value names as keys.")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(Object(a.a)(r),".")),!("isDeprecated"in r)||Object(c.a)(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(s.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(o.a)(this._values,(function(e){return e.name})),"string"===typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new y.a('Enum "'.concat(this.name,'" cannot represent value: ').concat(Object(a.a)(e)));return t.name},t.parseValue=function(e){if("string"!==typeof e){var t=Object(a.a)(e);throw new y.a('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+Ee(this,t))}var n=this.getValue(e);if(null==n)throw new y.a('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+Ee(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==g.a.ENUM){var n=Object(b.a)(e);throw new y.a('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(n,".")+Ee(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(b.a)(e);throw new y.a('Value "'.concat(i,'" does not exist in "').concat(this.name,'" enum.')+Ee(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(l.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLEnumType"}}]),e}();function Ee(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(f.a)("the enum value",r)}Object(m.a)(De);var Ce=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=se(e.extensionASTNodes),this._fields=Ae.bind(void 0,e),"string"===typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=Object(u.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},C(e,[{key:i.c,get:function(){return"GraphQLInputObjectType"}}]),e}();function Ae(e){var t=ue(e.fields);return de(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(u.a)(t,(function(t,n){return!("resolve"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode}}))}function Te(e){return M(e.type)&&void 0===e.defaultValue}Object(m.a)(Ce)},912:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(969);function i(e){return i="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},i(e)}function a(e){return o(e,[])}function o(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==i){var a=i.call(e);if(a!==e)return"string"===typeof a?a:o(a,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],a=0;a<n;++a)i.push(o(e[a],t));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";var r=n.map((function(n){return n+": "+o(e[n],t)}));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},913:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(u.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=n(978);var p=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function h(e){return d[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var v=n(957);t.lib={},t.lib.mdurl=n(979),t.lib.ucmicro=n(1043),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(u,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return i(l,t)?l[t]:35===t.charCodeAt(0)&&c.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(f,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},914:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},915:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,"a",(function(){return r}))},916:function(e,t,n){"use strict";n.r(t),n.d(t,"__Schema",(function(){return p})),n.d(t,"__Directive",(function(){return f})),n.d(t,"__DirectiveLocation",(function(){return d})),n.d(t,"__Type",(function(){return h})),n.d(t,"__Field",(function(){return m})),n.d(t,"__InputValue",(function(){return v})),n.d(t,"__EnumValue",(function(){return y})),n.d(t,"TypeKind",(function(){return g})),n.d(t,"__TypeKind",(function(){return b})),n.d(t,"SchemaMetaFieldDef",(function(){return D})),n.d(t,"TypeMetaFieldDef",(function(){return E})),n.d(t,"TypeNameMetaFieldDef",(function(){return C})),n.d(t,"introspectionTypes",(function(){return A})),n.d(t,"isIntrospectionType",(function(){return T}));var r=n(917),i=n(912),a=n(915),o=n(920),u=n(941),s=n(951),c=n(924),l=n(911),p=new l.f({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:c.e,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new l.e(new l.d(new l.e(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new l.e(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new l.e(new l.d(new l.e(f))),resolve:function(e){return e.getDirectives()}}}}}),f=new l.f({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new l.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:new l.e(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:new l.e(new l.d(new l.e(d))),resolve:function(e){return e.locations}},args:{type:new l.e(new l.d(new l.e(v))),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}}}}}),d=new l.a({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:u.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:u.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:u.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:u.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:u.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:u.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:u.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:u.a.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:u.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:u.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:u.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:u.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:u.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:u.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:u.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:u.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:u.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:u.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:u.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new l.f({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new l.e(b),resolve:function(e){return Object(l.R)(e)?g.SCALAR:Object(l.N)(e)?g.OBJECT:Object(l.H)(e)?g.INTERFACE:Object(l.T)(e)?g.UNION:Object(l.E)(e)?g.ENUM:Object(l.F)(e)?g.INPUT_OBJECT:Object(l.J)(e)?g.LIST:Object(l.L)(e)?g.NON_NULL:void Object(a.a)(0,'Unexpected type: "'.concat(Object(i.a)(e),'".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:c.e,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new l.d(new l.e(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.N)(e)||Object(l.H)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new l.d(new l.e(h)),resolve:function(e){if(Object(l.N)(e)||Object(l.H)(e))return e.getInterfaces()}},possibleTypes:{type:new l.d(new l.e(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(l.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:new l.d(new l.e(y)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.E)(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new l.d(new l.e(v)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.F)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new l.f({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new l.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:new l.e(new l.d(new l.e(v))),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}},type:{type:new l.e(h),resolve:function(e){return e.type}},isDeprecated:{type:new l.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new l.f({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new l.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:new l.e(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(s.a)(n,t);return r?Object(o.a)(r):null}},isDeprecated:{type:new l.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=new l.f({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new l.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:new l.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),g=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),b=new l.a({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:g.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:g.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:g.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:g.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:g.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:g.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:g.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:g.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),D={name:"__schema",type:new l.e(p),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},E={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new l.e(c.e),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},C={name:"__typename",type:new l.e(c.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},A=Object.freeze([p,f,d,h,m,v,y,b]);function T(e){return A.some((function(t){var n=t.name;return e.name===n}))}},917:function(e,t,n){"use strict";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},918:function(e,t,n){"use strict";n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return D})),n.d(t,"b",(function(){return E})),n.d(t,"f",(function(){return C})),n.d(t,"j",(function(){return A})),n.d(t,"i",(function(){return T}));var r=n(930),i=n(921),a=n(912),o=n(950),u=n(919),s=n(938),c=n(922),l=n(949),p=n(941),f=n(924),d=n(911);function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e){return Object(s.a)(e,y)}function v(e){if(!m(e))throw new Error("Expected ".concat(Object(a.a)(e)," to be a GraphQL directive."));return e}var y=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Object(o.a)(e.extensions),this.astNode=e.astNode,e.name||Object(u.a)(0,"Directive must be named."),Array.isArray(e.locations)||Object(u.a)(0,"@".concat(e.name," locations must be an Array."));var i=null!==(n=e.args)&&void 0!==n?n:{};Object(c.a)(i)&&!Array.isArray(i)||Object(u.a)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Object(r.a)(i).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&Object(o.a)(n.extensions),astNode:n.astNode}}))}var t,n,a,s=e.prototype;return s.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(d.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},s.toString=function(){return"@"+this.name},s.toJSON=function(){return this.toString()},t=e,(n=[{key:i.c,get:function(){return"GraphQLDirective"}}])&&h(t.prototype,n),a&&h(t,a),e}();Object(l.a)(y);var g=new y({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:new d.e(f.a),description:"Included when true."}}}),b=new y({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:new d.e(f.a),description:"Skipped when true."}}}),D="No longer supported",E=new y({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[p.a.FIELD_DEFINITION,p.a.ARGUMENT_DEFINITION,p.a.INPUT_FIELD_DEFINITION,p.a.ENUM_VALUE],args:{reason:{type:f.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:D}}}),C=new y({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[p.a.SCALAR],args:{url:{type:new d.e(f.e),description:"The URL that specifies the behaviour of this scalar."}}}),A=Object.freeze([g,b,E,C]);function T(e){return A.some((function(t){return t.name===e.name}))}},919:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,"a",(function(){return r}))},920:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(928),i=n(931);function a(e){return Object(r.c)(e,{leave:o})}var o={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return s(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=l("(",s(e.variableDefinitions,", "),")"),i=s(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?s([t,s([n,r]),i,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+l(" = ",r)+l(" ",s(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet,o=l("",t,": ")+n,u=o+l("(",s(r,", "),")");return u.length>80&&(u=o+l("(\n",p(s(r,"\n")),"\n)")),s([u,s(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",s(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return s(["...",l("on ",t),s(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(l("(",s(r,", "),")")," ")+"on ".concat(n," ").concat(l("",s(i," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+s(e.values,", ")+"]"},ObjectValue:function(e){return"{"+s(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",s(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:u((function(e){var t=e.directives,n=e.operationTypes;return s(["schema",s(t," "),c(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:u((function(e){return s(["scalar",e.name,s(e.directives," ")]," ")})),ObjectTypeDefinition:u((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["type",t,l("implements ",s(n," & ")),s(r," "),c(i)]," ")})),FieldDefinition:u((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?l("(\n",p(s(n,"\n")),"\n)"):l("(",s(n,", "),")"))+": "+r+l(" ",s(i," "))})),InputValueDefinition:u((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return s([t+": "+n,l("= ",r),s(i," ")]," ")})),InterfaceTypeDefinition:u((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["interface",t,l("implements ",s(n," & ")),s(r," "),c(i)]," ")})),UnionTypeDefinition:u((function(e){var t=e.name,n=e.directives,r=e.types;return s(["union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")})),EnumTypeDefinition:u((function(e){var t=e.name,n=e.directives,r=e.values;return s(["enum",t,s(n," "),c(r)]," ")})),EnumValueDefinition:u((function(e){return s([e.name,s(e.directives," ")]," ")})),InputObjectTypeDefinition:u((function(e){var t=e.name,n=e.directives,r=e.fields;return s(["input",t,s(n," "),c(r)]," ")})),DirectiveDefinition:u((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(d(n)?l("(\n",p(s(n,"\n")),"\n)"):l("(",s(n,", "),")"))+(r?" repeatable":"")+" on "+s(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return s(["extend schema",s(t," "),c(n)]," ")},ScalarTypeExtension:function(e){return s(["extend scalar",e.name,s(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["extend type",t,l("implements ",s(n," & ")),s(r," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["extend interface",t,l("implements ",s(n," & ")),s(r," "),c(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return s(["extend union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return s(["extend enum",t,s(n," "),c(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return s(["extend input",t,s(n," "),c(r)]," ")}};function u(e){return function(t){return s([t.description,e(t)],"\n")}}function s(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function c(e){return l("{\n",p(s(e,"\n")),"\n}")}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function p(e){return l(" ",e.replace(/\n/g,"\n "))}function f(e){return-1!==e.indexOf("\n")}function d(e){return null!=e&&e.some(f)}},921:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r="function"===typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",i="function"===typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",a="function"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},922:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){return"object"==r(e)&&null!==e}n.d(t,"a",(function(){return i}))},923:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(912),i=n(915),a=n(914),o=n(911);function u(e,t){var n;return t.kind===a.a.LIST_TYPE?(n=u(e,t.type))&&new o.d(n):t.kind===a.a.NON_NULL_TYPE?(n=u(e,t.type))&&new o.e(n):t.kind===a.a.NAMED_TYPE?e.getType(t.name.value):void Object(i.a)(0,"Unexpected type node: "+Object(r.a)(t))}},924:function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return g})),n.d(t,"g",(function(){return b})),n.d(t,"f",(function(){return D}));var r=n(972),i=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e},a=n(912),o=n(922),u=n(914),s=n(920),c=n(908),l=n(911),p=2147483647,f=-2147483648;var d=new l.g({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var t=m(e);if("boolean"===typeof t)return t?1:0;var n=t;if("string"===typeof t&&""!==t&&(n=Number(t)),!i(n))throw new c.a("Int cannot represent non-integer value: ".concat(Object(a.a)(t)));if(n>p||n<f)throw new c.a("Int cannot represent non 32-bit signed integer value: "+Object(a.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a("Int cannot represent non-integer value: ".concat(Object(a.a)(e)));if(e>p||e<f)throw new c.a("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==u.a.INT)throw new c.a("Int cannot represent non-integer value: ".concat(Object(s.a)(e)),e);var t=parseInt(e.value,10);if(t>p||t<f)throw new c.a("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}});var h=new l.g({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var t=m(e);if("boolean"===typeof t)return t?1:0;var n=t;if("string"===typeof t&&""!==t&&(n=Number(t)),!Object(r.a)(n))throw new c.a("Float cannot represent non numeric value: ".concat(Object(a.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a("Float cannot represent non numeric value: ".concat(Object(a.a)(e)));return e},parseLiteral:function(e){if(e.kind!==u.a.FLOAT&&e.kind!==u.a.INT)throw new c.a("Float cannot represent non numeric value: ".concat(Object(s.a)(e)),e);return parseFloat(e.value)}});function m(e){if(Object(o.a)(e)){if("function"===typeof e.valueOf){var t=e.valueOf();if(!Object(o.a)(t))return t}if("function"===typeof e.toJSON)return e.toJSON()}return e}var v=new l.g({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=m(e);if("string"===typeof t)return t;if("boolean"===typeof t)return t?"true":"false";if(Object(r.a)(t))return t.toString();throw new c.a("String cannot represent value: ".concat(Object(a.a)(e)))},parseValue:function(e){if("string"!==typeof e)throw new c.a("String cannot represent a non string value: ".concat(Object(a.a)(e)));return e},parseLiteral:function(e){if(e.kind!==u.a.STRING)throw new c.a("String cannot represent a non string value: ".concat(Object(s.a)(e)),e);return e.value}});var y=new l.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=m(e);if("boolean"===typeof t)return t;if(Object(r.a)(t))return 0!==t;throw new c.a("Boolean cannot represent a non boolean value: ".concat(Object(a.a)(t)))},parseValue:function(e){if("boolean"!==typeof e)throw new c.a("Boolean cannot represent a non boolean value: ".concat(Object(a.a)(e)));return e},parseLiteral:function(e){if(e.kind!==u.a.BOOLEAN)throw new c.a("Boolean cannot represent a non boolean value: ".concat(Object(s.a)(e)),e);return e.value}});var g=new l.g({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=m(e);if("string"===typeof t)return t;if(i(t))return String(t);throw new c.a("ID cannot represent value: ".concat(Object(a.a)(e)))},parseValue:function(e){if("string"===typeof e)return e;if(i(e))return e.toString();throw new c.a("ID cannot represent value: ".concat(Object(a.a)(e)))},parseLiteral:function(e){if(e.kind!==u.a.STRING&&e.kind!==u.a.INT)throw new c.a("ID cannot represent a non-string and non-integer value: "+Object(s.a)(e),e);return e.value}}),b=Object.freeze([v,d,h,y,g]);function D(e){return b.some((function(t){var n=t.name;return e.name===n}))}},925:function(e,t,n){"use strict";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,"a",(function(){return r}))},926:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(940);function i(e,t){for(var n=Object.create(null),i=new a(e),o=Math.floor(.4*e.length)+1,u=0;u<t.length;u++){var s=t[u],c=i.measure(s,o);void 0!==c&&(n[s]=c)}return Object.keys(n).sort((function(e,t){var i=n[e]-n[t];return 0!==i?i:Object(r.a)(e,t)}))}var a=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=o(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=o(n),i=this._inputArray;if(r.length<i.length){var a=r;r=i,i=a}var u=r.length,s=i.length;if(!(u-s>t)){for(var c=this._rows,l=0;l<=s;l++)c[0][l]=l;for(var p=1;p<=u;p++){for(var f=c[(p-1)%3],d=c[p%3],h=d[0]=p,m=1;m<=s;m++){var v=r[p-1]===i[m-1]?0:1,y=Math.min(f[m]+1,d[m-1]+1,f[m-1]+v);if(p>1&&m>1&&r[p-1]===i[m-2]&&r[p-2]===i[m-1]){var g=c[(p-2)%3][m-2];y=Math.min(y,g+1)}y<h&&(h=y),d[m]=y}if(h>t)return}var b=c[u%3][s];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},927:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));function r(e,t){var n="string"===typeof e?[e,t]:[void 0,e],r=n[0],i=" Did you mean ";r&&(i+=r+" ");var a=n[1].map((function(e){return'"'.concat(e,'"')}));switch(a.length){case 0:return"";case 1:return i+a[0]+"?";case 2:return i+a[0]+" or "+a[1]+"?"}var o=a.slice(0,5),u=o.pop();return i+o.join(", ")+", or "+u+"?"}},928:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(912),i=n(937),a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=Object.freeze({});function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,u=void 0,s=Array.isArray(e),l=[e],p=-1,f=[],d=void 0,h=void 0,m=void 0,v=[],y=[],g=e;do{var b=++p===l.length,D=b&&0!==f.length;if(b){if(h=0===y.length?void 0:v[v.length-1],d=m,m=y.pop(),D){if(s)d=d.slice();else{for(var E={},C=0,A=Object.keys(d);C<A.length;C++){var T=A[C];E[T]=d[T]}d=E}for(var x=0,S=0;S<f.length;S++){var w=f[S][0],k=f[S][1];s&&(w-=x),s&&null===k?(d.splice(w,1),x++):d[w]=k}}p=u.index,l=u.keys,f=u.edits,s=u.inArray,u=u.prev}else{if(h=m?s?p:l[p]:void 0,null===(d=m?m[h]:g)||void 0===d)continue;m&&v.push(h)}var O,F=void 0;if(!Array.isArray(d)){if(!Object(i.c)(d))throw new Error("Invalid AST Node: ".concat(Object(r.a)(d),"."));var _=c(t,d.kind,b);if(_){if((F=_.call(t,d,h,m,v,y))===o)break;if(!1===F){if(!b){v.pop();continue}}else if(void 0!==F&&(f.push([h,F]),!b)){if(!Object(i.c)(F)){v.pop();continue}d=F}}}if(void 0===F&&D&&f.push([h,d]),b)v.pop();else u={inArray:s,index:p,keys:l,edits:f,prev:u},l=(s=Array.isArray(d))?d:null!==(O=n[d.kind])&&void 0!==O?O:[],p=-1,f=[],m&&y.push(m),m=d}while(void 0!==u);return 0!==f.length&&(g=f[f.length-1][1]),g}function s(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!1);if(i){var a=i.apply(e[r],arguments);if(!1===a)t[r]=n;else if(a===o)t[r]=o;else if(void 0!==a)return a}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!0);if(i){var a=i.apply(e[r],arguments);if(a===o)t[r]=o;else if(void 0!==a&&!1!==a)return a}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&"function"===typeof r)return r;var i=n?r.leave:r.enter;if("function"===typeof i)return i}else{var a=n?e.leave:e.enter;if(a){if("function"===typeof a)return a;var o=a[t];if("function"===typeof o)return o}}}},929:function(e,t,n){"use strict";n.r(t),n.d(t,"getAutocompleteSuggestions",(function(){return Ze})),n.d(t,"getDefinitionQueryResultForDefinitionNode",(function(){return nn})),n.d(t,"getDefinitionQueryResultForFragmentSpread",(function(){return tn})),n.d(t,"getDefinitionQueryResultForNamedType",(function(){return en})),n.d(t,"getDefinitionState",(function(){return a})),n.d(t,"getDiagnostics",(function(){return dn})),n.d(t,"getFieldDef",(function(){return o})),n.d(t,"getFragmentDefinitions",(function(){return nt})),n.d(t,"getHoverInformation",(function(){return En})),n.d(t,"getOutline",(function(){return bn})),n.d(t,"getRange",(function(){return yn})),n.d(t,"getTokenAtPosition",(function(){return rt})),n.d(t,"getTypeInfo",(function(){return ot})),n.d(t,"getVariableCompletions",(function(){return tt})),n.d(t,"SEVERITY",(function(){return ln})),n.d(t,"DIAGNOSTIC_SEVERITY",(function(){return pn})),n.d(t,"canUseDirective",(function(){return at})),n.d(t,"SuggestionCommand",(function(){return Xe})),n.d(t,"validateQuery",(function(){return hn})),n.d(t,"onlineParser",(function(){return qe})),n.d(t,"ParseRules",(function(){return Me})),n.d(t,"CharacterStream",(function(){return _e})),n.d(t,"RuleKinds",(function(){return Ye})),n.d(t,"LexRules",(function(){return Re})),n.d(t,"isIgnored",(function(){return Le})),n.d(t,"p",(function(){return Pe})),n.d(t,"list",(function(){return Ie})),n.d(t,"t",(function(){return je})),n.d(t,"opt",(function(){return Ne})),n.d(t,"CompletionItemKind",(function(){return Fn})),n.d(t,"FileChangeTypeKind",(function(){return _n})),n.d(t,"getASTNodeAtPosition",(function(){return Dt})),n.d(t,"getFragmentDependencies",(function(){return pt})),n.d(t,"getFragmentDependenciesForAST",(function(){return ft})),n.d(t,"getOperationASTFacts",(function(){return Kt})),n.d(t,"getOperationFacts",(function(){return Wt})),n.d(t,"getQueryFacts",(function(){return $t})),n.d(t,"getVariablesJSONSchema",(function(){return bt})),n.d(t,"offsetToPosition",(function(){return Tt})),n.d(t,"pointToOffset",(function(){return Et})),n.d(t,"Position",(function(){return At})),n.d(t,"collectVariables",(function(){return Ht})),n.d(t,"validateWithCustomRules",(function(){return zt})),n.d(t,"Range",(function(){return Ct}));var r=n(911),i=n(916);function a(e){var t;return u(e,(function(e){switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function o(e,t,n){return n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t?i.SchemaMetaFieldDef:n===i.TypeMetaFieldDef.name&&e.getQueryType()===t?i.TypeMetaFieldDef:n===i.TypeNameMetaFieldDef.name&&Object(r.D)(t)?i.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function u(e,t){for(var n=[],r=e;r&&r.kind;)n.push(r),r=r.prevState;for(var i=n.length-1;i>=0;i--)t(n[i])}function s(e){for(var t=Object.keys(e),n=t.length,r=new Array(n),i=0;i<n;++i)r[i]=e[t[i]];return r}function c(e,t){return function(e,t){if(!t)return l(e,(function(e){return!e.isDeprecated}));return l(l(e.map((function(e){return{proximity:f(p(e.label),t),entry:e}})),(function(e){return e.proximity<=2})),(function(e){return!e.entry.isDeprecated})).sort((function(e,t){return(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length})).map((function(e){return e.entry}))}(t,p(e.string))}function l(e,t){var n=e.filter(t);return 0===n.length?e:n}function p(e){return e.toLowerCase().replace(/\W/g,"")}function f(e,t){var n=function(e,t){var n,r,i=[],a=e.length,o=t.length;for(n=0;n<=a;n++)i[n]=[n];for(r=1;r<=o;r++)i[0][r]=r;for(n=1;n<=a;n++)for(r=1;r<=o;r++){var u=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+u),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+u))}return i[a][o]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}var d,h,m,v,y,g,b,D,E,C,A,T,x,S,w,k,O,F,_,N,I,j,P,B,L,R,M,V,U=n(50);!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(d||(d={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(h||(h={})),(v=m||(m={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=h.MAX_VALUE),t===Number.MAX_VALUE&&(t=h.MAX_VALUE),{line:e,character:t}},v.is=function(e){var t=e;return Ee.objectLiteral(t)&&Ee.uinteger(t.line)&&Ee.uinteger(t.character)},(g=y||(y={})).create=function(e,t,n,r){if(Ee.uinteger(e)&&Ee.uinteger(t)&&Ee.uinteger(n)&&Ee.uinteger(r))return{start:m.create(e,t),end:m.create(n,r)};if(m.is(e)&&m.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},g.is=function(e){var t=e;return Ee.objectLiteral(t)&&m.is(t.start)&&m.is(t.end)},function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return Ee.defined(t)&&y.is(t.range)&&(Ee.string(t.uri)||Ee.undefined(t.uri))}}(b||(b={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return Ee.defined(t)&&y.is(t.targetRange)&&Ee.string(t.targetUri)&&(y.is(t.targetSelectionRange)||Ee.undefined(t.targetSelectionRange))&&(y.is(t.originSelectionRange)||Ee.undefined(t.originSelectionRange))}}(D||(D={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return Ee.numberRange(t.red,0,1)&&Ee.numberRange(t.green,0,1)&&Ee.numberRange(t.blue,0,1)&&Ee.numberRange(t.alpha,0,1)}}(E||(E={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return y.is(t.range)&&E.is(t.color)}}(C||(C={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return Ee.string(t.label)&&(Ee.undefined(t.textEdit)||N.is(t))&&(Ee.undefined(t.additionalTextEdits)||Ee.typedArray(t.additionalTextEdits,N.is))}}(A||(A={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(T||(T={})),function(e){e.create=function(e,t,n,r,i){var a={startLine:e,endLine:t};return Ee.defined(n)&&(a.startCharacter=n),Ee.defined(r)&&(a.endCharacter=r),Ee.defined(i)&&(a.kind=i),a},e.is=function(e){var t=e;return Ee.uinteger(t.startLine)&&Ee.uinteger(t.startLine)&&(Ee.undefined(t.startCharacter)||Ee.uinteger(t.startCharacter))&&(Ee.undefined(t.endCharacter)||Ee.uinteger(t.endCharacter))&&(Ee.undefined(t.kind)||Ee.string(t.kind))}}(x||(x={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return Ee.defined(t)&&b.is(t.location)&&Ee.string(t.message)}}(S||(S={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(w||(w={})),function(e){e.Unnecessary=1,e.Deprecated=2}(k||(k={})),function(e){e.is=function(e){var t=e;return void 0!==t&&null!==t&&Ee.string(t.href)}}(O||(O={})),function(e){e.create=function(e,t,n,r,i,a){var o={range:e,message:t};return Ee.defined(n)&&(o.severity=n),Ee.defined(r)&&(o.code=r),Ee.defined(i)&&(o.source=i),Ee.defined(a)&&(o.relatedInformation=a),o},e.is=function(e){var t,n=e;return Ee.defined(n)&&y.is(n.range)&&Ee.string(n.message)&&(Ee.number(n.severity)||Ee.undefined(n.severity))&&(Ee.integer(n.code)||Ee.string(n.code)||Ee.undefined(n.code))&&(Ee.undefined(n.codeDescription)||Ee.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Ee.string(n.source)||Ee.undefined(n.source))&&(Ee.undefined(n.relatedInformation)||Ee.typedArray(n.relatedInformation,S.is))}}(F||(F={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return Ee.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.string(t.title)&&Ee.string(t.command)}}(_||(_={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return Ee.objectLiteral(t)&&Ee.string(t.newText)&&y.is(t.range)}}(N||(N={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&Ee.objectLiteral(t)&&Ee.string(t.label)&&(Ee.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Ee.string(t.description)||void 0===t.description)}}(I||(I={})),function(e){e.is=function(e){return"string"===typeof e}}(j||(j={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return N.is(t)&&(I.is(t.annotationId)||j.is(t.annotationId))}}(P||(P={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return Ee.defined(t)&&G.is(t.textDocument)&&Array.isArray(t.edits)}}(B||(B={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&Ee.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ee.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ee.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||j.is(t.annotationId))}}(L||(L={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&Ee.string(t.oldUri)&&Ee.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ee.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ee.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||j.is(t.annotationId))}}(R||(R={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&Ee.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ee.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ee.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||j.is(t.annotationId))}}(M||(M={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return Ee.string(e.kind)?L.is(e)||R.is(e)||M.is(e):B.is(e)})))}}(V||(V={}));var q,z,G,H,K,W,$,J,Q,Y,X,Z,ee,te,ne,re,ie,ae,oe,ue,se,ce,le,pe,fe,de,he,me,ve,ye,ge=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=N.insert(e,t):j.is(n)?(i=n,r=P.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=P.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=N.replace(e,t):j.is(n)?(i=n,r=P.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=P.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=N.del(e):j.is(t)?(r=t,n=P.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=P.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),be=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(j.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new be(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(B.is(e)){var n=new ge(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new ge(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(G.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new ge(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new ge(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new be,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,a;if(I.is(t)||j.is(t)?r=t:n=t,void 0===r?i=L.create(e,n):(a=j.is(r)?r:this._changeAnnotations.manage(r),i=L.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),void 0!==a)return a},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,a,o;if(I.is(n)||j.is(n)?i=n:r=n,void 0===i?a=R.create(e,t,r):(o=j.is(i)?i:this._changeAnnotations.manage(i),a=R.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(a),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,a;if(I.is(t)||j.is(t)?r=t:n=t,void 0===r?i=M.create(e,n):(a=j.is(r)?r:this._changeAnnotations.manage(r),i=M.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),void 0!==a)return a}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.string(t.uri)}}(q||(q={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.string(t.uri)&&Ee.integer(t.version)}}(z||(z={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.string(t.uri)&&(null===t.version||Ee.integer(t.version))}}(G||(G={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.string(t.uri)&&Ee.string(t.languageId)&&Ee.integer(t.version)&&Ee.string(t.text)}}(H||(H={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(K||(K={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(K||(K={})),function(e){e.is=function(e){var t=e;return Ee.objectLiteral(e)&&K.is(t.kind)&&Ee.string(t.value)}}(W||(W={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}($||($={})),function(e){e.PlainText=1,e.Snippet=2}(J||(J={})),function(e){e.Deprecated=1}(Q||(Q={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&Ee.string(t.newText)&&y.is(t.insert)&&y.is(t.replace)}}(Y||(Y={})),function(e){e.asIs=1,e.adjustIndentation=2}(X||(X={})),function(e){e.create=function(e){return{label:e}}}(Z||(Z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(ee||(ee={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return Ee.string(t)||Ee.objectLiteral(t)&&Ee.string(t.language)&&Ee.string(t.value)}}(te||(te={})),function(e){e.is=function(e){var t=e;return!!t&&Ee.objectLiteral(t)&&(W.is(t.contents)||te.is(t.contents)||Ee.typedArray(t.contents,te.is))&&(void 0===e.range||y.is(e.range))}}(ne||(ne={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(re||(re={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return Ee.defined(t)&&(i.documentation=t),Ee.defined(n)?i.parameters=n:i.parameters=[],i}}(ie||(ie={})),function(e){e.Text=1,e.Read=2,e.Write=3}(ae||(ae={})),function(e){e.create=function(e,t){var n={range:e};return Ee.number(t)&&(n.kind=t),n}}(oe||(oe={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(ue||(ue={})),function(e){e.Deprecated=1}(se||(se={})),function(e){e.create=function(e,t,n,r,i){var a={name:e,kind:t,location:{uri:r,range:n}};return i&&(a.containerName=i),a}}(ce||(ce={})),function(e){e.create=function(e,t,n,r,i,a){var o={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==a&&(o.children=a),o},e.is=function(e){var t=e;return t&&Ee.string(t.name)&&Ee.number(t.kind)&&y.is(t.range)&&y.is(t.selectionRange)&&(void 0===t.detail||Ee.string(t.detail))&&(void 0===t.deprecated||Ee.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(le||(le={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(pe||(pe={})),function(e){e.create=function(e,t){var n={diagnostics:e};return void 0!==t&&null!==t&&(n.only=t),n},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.typedArray(t.diagnostics,F.is)&&(void 0===t.only||Ee.typedArray(t.only,Ee.string))}}(fe||(fe={})),function(e){e.create=function(e,t,n){var r={title:e},i=!0;return"string"===typeof t?(i=!1,r.kind=t):_.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&Ee.string(t.title)&&(void 0===t.diagnostics||Ee.typedArray(t.diagnostics,F.is))&&(void 0===t.kind||Ee.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||_.is(t.command))&&(void 0===t.isPreferred||Ee.boolean(t.isPreferred))&&(void 0===t.edit||V.is(t.edit))}}(de||(de={})),function(e){e.create=function(e,t){var n={range:e};return Ee.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return Ee.defined(t)&&y.is(t.range)&&(Ee.undefined(t.command)||_.is(t.command))}}(he||(he={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return Ee.defined(t)&&Ee.uinteger(t.tabSize)&&Ee.boolean(t.insertSpaces)}}(me||(me={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return Ee.defined(t)&&y.is(t.range)&&(Ee.undefined(t.target)||Ee.string(t.target))}}(ve||(ve={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&y.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ye||(ye={}));var De;!function(e){function t(e,n){if(e.length<=1)return e;var r=e.length/2|0,i=e.slice(0,r),a=e.slice(r);t(i,n),t(a,n);for(var o=0,u=0,s=0;o<i.length&&u<a.length;){var c=n(i[o],a[u]);e[s++]=c<=0?i[o++]:a[u++]}for(;o<i.length;)e[s++]=i[o++];for(;u<a.length;)e[s++]=a[u++];return e}e.create=function(e,t,n,r){return new Ce(e,t,n,r)},e.is=function(e){var t=e;return!!(Ee.defined(t)&&Ee.string(t.uri)&&(Ee.undefined(t.languageId)||Ee.string(t.languageId))&&Ee.uinteger(t.lineCount)&&Ee.func(t.getText)&&Ee.func(t.positionAt)&&Ee.func(t.offsetAt))},e.applyEdits=function(e,n){for(var r=e.getText(),i=t(n,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),a=r.length,o=i.length-1;o>=0;o--){var u=i[o],s=e.offsetAt(u.range.start),c=e.offsetAt(u.range.end);if(!(c<=a))throw new Error("Overlapping edit");r=r.substring(0,s)+u.newText+r.substring(c,r.length),a=s}return r}}(De||(De={}));var Ee,Ce=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return m.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var a=n-1;return m.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(Ee||(Ee={}));var Ae=n(914),Te=n(941),xe=n(928),Se=n(942),we=n(924),ke=n(953),Oe=n(85),Fe=n(86),_e=function(){function e(t){var n=this;Object(Oe.a)(this,e),this.getStartOfToken=function(){return n._start},this.getCurrentPosition=function(){return n._pos},this.eol=function(){return n._sourceText.length===n._pos},this.sol=function(){return 0===n._pos},this.peek=function(){return n._sourceText.charAt(n._pos)?n._sourceText.charAt(n._pos):null},this.next=function(){var e=n._sourceText.charAt(n._pos);return n._pos++,e},this.eat=function(e){if(n._testNextCharacter(e))return n._start=n._pos,n._pos++,n._sourceText.charAt(n._pos-1)},this.eatWhile=function(e){var t=n._testNextCharacter(e),r=!1;for(t&&(r=t,n._start=n._pos);t;)n._pos++,t=n._testNextCharacter(e),r=!0;return r},this.eatSpace=function(){return n.eatWhile(/[\s\u00a0]/)},this.skipToEnd=function(){n._pos=n._sourceText.length},this.skipTo=function(e){n._pos=e},this.match=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=null,a=null;if("string"===typeof e){var o=new RegExp(e,r?"i":"g");a=o.test(n._sourceText.substr(n._pos,e.length)),i=e}else e instanceof RegExp&&(i=(a=n._sourceText.slice(n._pos).match(e))&&a[0]);return!(null==a||!("string"===typeof e||a instanceof Array&&n._sourceText.startsWith(a[0],n._pos)))&&(t&&(n._start=n._pos,i&&i.length&&(n._pos+=i.length)),a)},this.backUp=function(e){n._pos-=e},this.column=function(){return n._pos},this.indentation=function(){var e=n._sourceText.match(/\s*/),t=0;if(e&&0!==e.length)for(var r=e[0],i=0;r.length>i;)9===r.charCodeAt(i)?t+=2:t++,i++;return t},this.current=function(){return n._sourceText.slice(n._start,n._pos)},this._start=0,this._pos=0,this._sourceText=t}return Object(Fe.a)(e,[{key:"_testNextCharacter",value:function(e){var t=this._sourceText.charAt(this._pos);return"string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t)}}]),e}();function Ne(e){return{ofRule:e}}function Ie(e,t){return{ofRule:e,isList:!0,separator:t}}function je(e,t){return{style:t,match:function(t){return t.kind===e}}}function Pe(e,t){return{style:t||"punctuation",match:function(t){return"Punctuation"===t.kind&&t.value===e}}}var Be,Le=function(e){return" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||"\xa0"===e},Re={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},Me={Document:[Ie("Definition")],Definition:function(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return Ae.a.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[Ve("query"),Ne(Ue("def")),Ne("VariableDefinitions"),Ie("Directive"),"SelectionSet"],Mutation:[Ve("mutation"),Ne(Ue("def")),Ne("VariableDefinitions"),Ie("Directive"),"SelectionSet"],Subscription:[Ve("subscription"),Ne(Ue("def")),Ne("VariableDefinitions"),Ie("Directive"),"SelectionSet"],VariableDefinitions:[Pe("("),Ie("VariableDefinition"),Pe(")")],VariableDefinition:["Variable",Pe(":"),"Type",Ne("DefaultValue")],Variable:[Pe("$","variable"),Ue("variable")],DefaultValue:[Pe("="),"Value"],SelectionSet:[Pe("{"),Ie("Selection"),Pe("}")],Selection:function(e,t){return"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[Ue("property"),Pe(":"),Ue("qualifier"),Ne("Arguments"),Ie("Directive"),Ne("SelectionSet")],Field:[Ue("property"),Ne("Arguments"),Ie("Directive"),Ne("SelectionSet")],Arguments:[Pe("("),Ie("Argument"),Pe(")")],Argument:[Ue("attribute"),Pe(":"),"Value"],FragmentSpread:[Pe("..."),Ue("def"),Ie("Directive")],InlineFragment:[Pe("..."),Ne("TypeCondition"),Ie("Directive"),"SelectionSet"],FragmentDefinition:[Ve("fragment"),Ne(function(e,t){var n=e.match;return e.match=function(e){var r=!1;return n&&(r=n(e)),r&&t.every((function(t){return t.match&&!t.match(e)}))},e}(Ue("def"),[Ve("on")])),"TypeCondition",Ie("Directive"),"SelectionSet"],TypeCondition:[Ve("on"),"NamedType"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[je("Number","number")],StringValue:[{style:"string",match:function(e){return"String"===e.kind},update:function(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[je("Name","builtin")],NullValue:[je("Name","keyword")],EnumValue:[Ue("string-2")],ListValue:[Pe("["),Ie("Value"),Pe("]")],ObjectValue:[Pe("{"),Ie("ObjectField"),Pe("}")],ObjectField:[Ue("attribute"),Pe(":"),"Value"],Type:function(e){return"["===e.value?"ListType":"NonNullType"},ListType:[Pe("["),"Type",Pe("]"),Ne(Pe("!"))],NonNullType:["NamedType",Ne(Pe("!"))],NamedType:[(Be="atom",{style:Be,match:function(e){return"Name"===e.kind},update:function(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[Pe("@","meta"),Ue("meta"),Ne("Arguments")],DirectiveDef:[Ve("directive"),Pe("@","meta"),Ue("meta"),Ne("ArgumentsDef"),Ve("on"),Ie("DirectiveLocation",Pe("|"))],InterfaceDef:[Ve("interface"),Ue("atom"),Ne("Implements"),Ie("Directive"),Pe("{"),Ie("FieldDef"),Pe("}")],Implements:[Ve("implements"),Ie("NamedType",Pe("&"))],DirectiveLocation:[Ue("string-2")],SchemaDef:[Ve("schema"),Ie("Directive"),Pe("{"),Ie("OperationTypeDef"),Pe("}")],OperationTypeDef:[Ue("keyword"),Pe(":"),Ue("atom")],ScalarDef:[Ve("scalar"),Ue("atom"),Ie("Directive")],ObjectTypeDef:[Ve("type"),Ue("atom"),Ne("Implements"),Ie("Directive"),Pe("{"),Ie("FieldDef"),Pe("}")],FieldDef:[Ue("property"),Ne("ArgumentsDef"),Pe(":"),"Type",Ie("Directive")],ArgumentsDef:[Pe("("),Ie("InputValueDef"),Pe(")")],InputValueDef:[Ue("attribute"),Pe(":"),"Type",Ne("DefaultValue"),Ie("Directive")],UnionDef:[Ve("union"),Ue("atom"),Ie("Directive"),Pe("="),Ie("UnionMember",Pe("|"))],UnionMember:["NamedType"],EnumDef:[Ve("enum"),Ue("atom"),Ie("Directive"),Pe("{"),Ie("EnumValueDef"),Pe("}")],EnumValueDef:[Ue("string-2"),Ie("Directive")],InputDef:[Ve("input"),Ue("atom"),Ie("Directive"),Pe("{"),Ie("InputValueDef"),Pe("}")],ExtendDef:[Ve("extend"),"ObjectTypeDef"]};function Ve(e){return{style:"keyword",match:function(t){return"Name"===t.kind&&t.value===e}}}function Ue(e){return{style:e,match:function(e){return"Name"===e.kind},update:function(e,t){e.name=t.value}}}function qe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:function(e){return e.eatWhile(Le)},lexRules:Re,parseRules:Me,editorConfig:{}};return{startState:function(){var t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return Ke(e.parseRules,t,Ae.a.DOCUMENT),t},token:function(t,n){return ze(t,n,e)}}}function ze(e,t,n){if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");var r=n.lexRules,i=n.parseRules,a=n.eatWhitespace,o=n.editorConfig;if(t.rule&&0===t.rule.length?We(t):t.needsAdvance&&(t.needsAdvance=!1,$e(t,!0)),e.sol()){var u=o&&o.tabSize||2;t.indentLevel=Math.floor(e.indentation()/u)}if(a(e))return"ws";var s=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++){var i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(r,e);if(!s)return e.match(/\S+/)||e.match(/\s/),Ke(He,t,"Invalid"),"invalidchar";if("Comment"===s.kind)return Ke(He,t,"Comment"),"comment";var c=Ge({},t);if("Punctuation"===s.kind)if(/^[{([]/.test(s.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(s.value)){var l=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&l.length>0&&l[l.length-1]<t.indentLevel&&(t.indentLevel=l[l.length-1])}for(;t.rule;){var p="function"===typeof t.rule?0===t.step?t.rule(s,e):null:t.rule[t.step];if(t.needsSeperator&&(p=p&&(null===p||void 0===p?void 0:p.separator)),p){if(p.ofRule&&(p=p.ofRule),"string"===typeof p){Ke(i,t,p);continue}if(p.match&&p.match(s))return p.update&&p.update(t,s),"Punctuation"===s.kind?$e(t,!0):t.needsAdvance=!0,p.style}Qe(t)}return Ge(t,c),Ke(He,t,"Invalid"),"invalidchar"}function Ge(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}var He={Invalid:[],Comment:[]};function Ke(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function We(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function $e(e,t){if(Je(e)&&e.rule){var n=e.rule[e.step];if(n.separator){var r=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&r.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)We(e),e.rule&&(Je(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function Je(e){var t=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function Qe(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)We(e);e.rule&&$e(e,!1)}var Ye=Object.assign(Object.assign({},Ae.a),{ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"}),Xe={command:"editor.action.triggerSuggest",title:"Suggestions"};function Ze(e,t,n,o,u,l){var p,f=Object.assign(Object.assign({},l),{schema:e}),d=o||rt(t,n),h="Invalid"===d.state.kind?d.state.prevState:d.state;if(!h)return[];var m=h.kind,v=h.step,y=ot(e,d.state);if(m===Ye.DOCUMENT)return c(d,[{label:"query",kind:$.Function},{label:"mutation",kind:$.Function},{label:"subscription",kind:$.Function},{label:"fragment",kind:$.Function},{label:"{",kind:$.Constructor}]);if(m===Ye.IMPLEMENTS||m===Ye.NAMED_TYPE&&(null===(p=h.prevState)||void 0===p?void 0:p.kind)===Ye.IMPLEMENTS)return function(e,t,n,i,a){if(t.needsSeperator)return[];var o=s(n.getTypeMap()).filter(r.H),u=o.map((function(e){return e.name})),l=new Set;it(i,(function(e,t){var i,o,s,c,p;if(t.name&&(t.kind!==Ye.INTERFACE_DEF||u.includes(t.name)||l.add(t.name),t.kind===Ye.NAMED_TYPE&&(null===(i=t.prevState)||void 0===i?void 0:i.kind)===Ye.IMPLEMENTS))if(a.interfaceDef){if(null===(o=a.interfaceDef)||void 0===o?void 0:o.getInterfaces().find((function(e){return e.name===t.name})))return;var f=n.getType(t.name),d=null===(s=a.interfaceDef)||void 0===s?void 0:s.toConfig();a.interfaceDef=new r.c(Object.assign(Object.assign({},d),{interfaces:[].concat(Object(U.a)(d.interfaces),[f||new r.c({name:t.name,fields:{}})])}))}else if(a.objectTypeDef){if(null===(c=a.objectTypeDef)||void 0===c?void 0:c.getInterfaces().find((function(e){return e.name===t.name})))return;var h=n.getType(t.name),m=null===(p=a.objectTypeDef)||void 0===p?void 0:p.toConfig();a.objectTypeDef=new r.f(Object.assign(Object.assign({},m),{interfaces:[].concat(Object(U.a)(m.interfaces),[h||new r.c({name:t.name,fields:{}})])}))}}));var p=a.interfaceDef||a.objectTypeDef,f=((null===p||void 0===p?void 0:p.getInterfaces())||[]).map((function(e){return e.name})),d=o.concat(Object(U.a)(l).map((function(e){return{name:e}}))).filter((function(e){var t=e.name;return t!==(null===p||void 0===p?void 0:p.name)&&!f.includes(t)}));return c(e,d.map((function(e){var t={label:e.name,kind:$.Interface,type:e};return(null===e||void 0===e?void 0:e.description)&&(t.documentation=e.description),t})))}(d,h,e,t,y);if(m===Ye.SELECTION_SET||m===Ye.FIELD||m===Ye.ALIASED_FIELD)return function(e,t,n){var a;if(t.parentType){var o=t.parentType,u=[];return"getFields"in o&&(u=s(o.getFields())),Object(r.D)(o)&&u.push(i.TypeNameMetaFieldDef),o===(null===(a=null===n||void 0===n?void 0:n.schema)||void 0===a?void 0:a.getQueryType())&&u.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),c(e,u.map((function(e,t){var n,i={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:$.Field,type:e.type},a=function(e){var t=e.type;if(Object(r.D)(t))return et;if(Object(r.J)(t)&&Object(r.D)(t.ofType))return et;if(Object(r.L)(t)){if(Object(r.D)(t.ofType))return et;if(Object(r.J)(t.ofType)&&Object(r.D)(t.ofType.ofType))return et}return null}(e);return a&&(i.insertText=e.name+a,i.insertTextFormat=J.Snippet,i.command=Xe),i})))}return[]}(d,y,f);if(m===Ye.ARGUMENTS||m===Ye.ARGUMENT&&0===v){var g=y.argDefs;if(g)return c(d,g.map((function(e){var t;return{label:e.name,insertText:e.name+": ",command:Xe,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:$.Variable,type:e.type}})))}if((m===Ye.OBJECT_VALUE||m===Ye.OBJECT_FIELD&&0===v)&&y.objectFieldDefs){var b=s(y.objectFieldDefs),D=m===Ye.OBJECT_VALUE?$.Value:$.Field;return c(d,b.map((function(e){var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:D,type:e.type}})))}if(m===Ye.ENUM_VALUE||m===Ye.LIST_VALUE&&1===v||m===Ye.OBJECT_FIELD&&2===v||m===Ye.ARGUMENT&&2===v)return function(e,t,n,i){var a=Object(r.A)(t.inputType),o=tt(n,i,e).filter((function(e){return e.detail===a.name}));if(a instanceof r.a)return c(e,a.getValues().map((function(e){var t;return{label:e.name,detail:String(a),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:$.EnumMember,type:a}})).concat(o));if(a===we.a)return c(e,o.concat([{label:"true",detail:String(we.a),documentation:"Not false.",kind:$.Variable,type:we.a},{label:"false",detail:String(we.a),documentation:"Not true.",kind:$.Variable,type:we.a}]));return o}(d,y,t,e);if(m===Ye.VARIABLE&&1===v){var E=Object(r.A)(y.inputType);return c(d,tt(t,e,d).filter((function(e){return e.detail===(null===E||void 0===E?void 0:E.name)})))}return m===Ye.TYPE_CONDITION&&1===v||m===Ye.NAMED_TYPE&&null!=h.prevState&&h.prevState.kind===Ye.TYPE_CONDITION?function(e,t,n,i){var a;if(t.parentType)if(Object(r.C)(t.parentType)){var o=Object(r.j)(t.parentType),u=n.getPossibleTypes(o),l=Object.create(null);u.forEach((function(e){e.getInterfaces().forEach((function(e){l[e.name]=e}))})),a=u.concat(s(l))}else a=[t.parentType];else{a=s(n.getTypeMap()).filter(r.D)}return c(e,a.map((function(e){var t=Object(r.A)(e);return{label:String(e),documentation:t&&t.description||"",kind:$.Field}})))}(d,y,e):m===Ye.FRAGMENT_SPREAD&&1===v?function(e,t,n,i,o){if(!i)return[];var u=n.getTypeMap(),s=a(e.state),l=nt(i);o&&o.length>0&&l.push.apply(l,Object(U.a)(o));var p=l.filter((function(e){return u[e.typeCondition.name.value]&&!(s&&s.kind===Ye.FRAGMENT_DEFINITION&&s.name===e.name.value)&&Object(r.D)(t.parentType)&&Object(r.D)(u[e.typeCondition.name.value])&&Object(ke.a)(n,t.parentType,u[e.typeCondition.name.value])}));return c(e,p.map((function(e){return{label:e.name.value,detail:String(u[e.typeCondition.name.value]),documentation:"fragment ".concat(e.name.value," on ").concat(e.typeCondition.name.value),kind:$.Field,type:u[e.typeCondition.name.value]}})))}(d,y,e,t,Array.isArray(u)?u:function(e){var t=[];return e&&Object(xe.c)(Object(Se.a)(e),{FragmentDefinition:function(e){t.push(e)}}),t}(u)):m===Ye.VARIABLE_DEFINITION&&2===v||m===Ye.LIST_TYPE&&1===v||m===Ye.NAMED_TYPE&&h.prevState&&(h.prevState.kind===Ye.VARIABLE_DEFINITION||h.prevState.kind===Ye.LIST_TYPE||h.prevState.kind===Ye.NON_NULL_TYPE)?function(e,t,n){var i=s(t.getTypeMap()).filter(r.G);return c(e,i.map((function(e){return{label:e.name,documentation:e.description,kind:$.Variable}})))}(d,e):m===Ye.DIRECTIVE?function(e,t,n,r){if(t.prevState&&t.prevState.kind){return c(e,n.getDirectives().filter((function(e){return at(t.prevState,e)})).map((function(e){return{label:e.name,documentation:e.description||"",kind:$.Function}})))}return[]}(d,h,e):[]}var et=" {\n $1\n}";function tt(e,t,n){var r,i=null,a=Object.create({});return it(e,(function(e,o){if((null===o||void 0===o?void 0:o.kind)===Ye.VARIABLE&&o.name&&(i=o.name),(null===o||void 0===o?void 0:o.kind)===Ye.NAMED_TYPE&&i){var u=function(e,t){var n,r,i,a,o,u,s,c,l,p;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(i=null===(r=e.prevState)||void 0===r?void 0:r.prevState)||void 0===i?void 0:i.kind)===t?e.prevState.prevState:(null===(u=null===(o=null===(a=e.prevState)||void 0===a?void 0:a.prevState)||void 0===o?void 0:o.prevState)||void 0===u?void 0:u.kind)===t?e.prevState.prevState.prevState:(null===(p=null===(l=null===(c=null===(s=e.prevState)||void 0===s?void 0:s.prevState)||void 0===c?void 0:c.prevState)||void 0===l?void 0:l.prevState)||void 0===p?void 0:p.kind)===t?e.prevState.prevState.prevState.prevState:void 0}(o,Ye.TYPE);(null===u||void 0===u?void 0:u.type)&&(r=t.getType(null===u||void 0===u?void 0:u.type))}i&&r&&(a[i]||(a[i]={detail:r.toString(),insertText:"$"===n.string?i:"$"+i,label:i,type:r,kind:$.Variable},i=null,r=null))})),s(a)}function nt(e){var t=[];return it(e,(function(e,n){n.kind===Ye.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:Ye.FRAGMENT_DEFINITION,name:{kind:Ae.a.NAME,value:n.name},selectionSet:{kind:Ye.SELECTION_SET,selections:[]},typeCondition:{kind:Ye.NAMED_TYPE,name:{kind:Ae.a.NAME,value:n.type}}})})),t}function rt(e,t){var n=null,r=null,i=null,a=it(e,(function(e,a,o,u){if(u===t.line&&e.getCurrentPosition()>=t.character)return n=o,r=Object.assign({},a),i=e.current(),"BREAK"}));return{start:a.start,end:a.end,string:i||a.string,state:r||a.state,style:n||a.style}}function it(e,t){for(var n=e.split("\n"),r=qe(),i=r.startState(),a="",o=new _e(""),u=0;u<n.length;u++){for(o=new _e(n[u]);!o.eol();){if("BREAK"===t(o,i,a=r.token(o,i),u))break}t(o,i,a,u),i.kind||(i=r.startState())}return{start:o.getStartOfToken(),end:o.getCurrentPosition(),string:o.current(),state:i,style:a}}function at(e,t){if(!e||!e.kind)return!1;var n=e.kind,r=t.locations;switch(n){case Ye.QUERY:return-1!==r.indexOf(Te.a.QUERY);case Ye.MUTATION:return-1!==r.indexOf(Te.a.MUTATION);case Ye.SUBSCRIPTION:return-1!==r.indexOf(Te.a.SUBSCRIPTION);case Ye.FIELD:case Ye.ALIASED_FIELD:return-1!==r.indexOf(Te.a.FIELD);case Ye.FRAGMENT_DEFINITION:return-1!==r.indexOf(Te.a.FRAGMENT_DEFINITION);case Ye.FRAGMENT_SPREAD:return-1!==r.indexOf(Te.a.FRAGMENT_SPREAD);case Ye.INLINE_FRAGMENT:return-1!==r.indexOf(Te.a.INLINE_FRAGMENT);case Ye.SCHEMA_DEF:return-1!==r.indexOf(Te.a.SCHEMA);case Ye.SCALAR_DEF:return-1!==r.indexOf(Te.a.SCALAR);case Ye.OBJECT_TYPE_DEF:return-1!==r.indexOf(Te.a.OBJECT);case Ye.FIELD_DEF:return-1!==r.indexOf(Te.a.FIELD_DEFINITION);case Ye.INTERFACE_DEF:return-1!==r.indexOf(Te.a.INTERFACE);case Ye.UNION_DEF:return-1!==r.indexOf(Te.a.UNION);case Ye.ENUM_DEF:return-1!==r.indexOf(Te.a.ENUM);case Ye.ENUM_VALUE:return-1!==r.indexOf(Te.a.ENUM_VALUE);case Ye.INPUT_DEF:return-1!==r.indexOf(Te.a.INPUT_OBJECT);case Ye.INPUT_VALUE_DEF:switch(e.prevState&&e.prevState.kind){case Ye.ARGUMENTS_DEF:return-1!==r.indexOf(Te.a.ARGUMENT_DEFINITION);case Ye.INPUT_DEF:return-1!==r.indexOf(Te.a.INPUT_FIELD_DEFINITION)}}return!1}function ot(e,t){var n,i,a,s,c,l,p,f,d,h,m;return u(t,(function(t){switch(t.kind){case Ye.QUERY:case"ShortQuery":h=e.getQueryType();break;case Ye.MUTATION:h=e.getMutationType();break;case Ye.SUBSCRIPTION:h=e.getSubscriptionType();break;case Ye.INLINE_FRAGMENT:case Ye.FRAGMENT_DEFINITION:t.type&&(h=e.getType(t.type));break;case Ye.FIELD:case Ye.ALIASED_FIELD:h&&t.name?(c=d?o(e,d,t.name):null,h=c?c.type:null):c=null;break;case Ye.SELECTION_SET:d=Object(r.A)(h);break;case Ye.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case Ye.INTERFACE_DEF:t.name&&(p=null,m=new r.c({name:t.name,interfaces:[],fields:{}}));break;case Ye.OBJECT_TYPE_DEF:t.name&&(m=null,p=new r.f({name:t.name,interfaces:[],fields:{}}));break;case Ye.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case Ye.FIELD:i=c&&c.args;break;case Ye.DIRECTIVE:i=a&&a.args;break;case Ye.ALIASED_FIELD:var u=t.prevState&&t.prevState.name;if(!u){i=null;break}var v=d?o(e,d,u):null;if(!v){i=null;break}i=v.args;break;default:i=null}else i=null;break;case Ye.ARGUMENT:if(i)for(var y=0;y<i.length;y++)if(i[y].name===t.name){n=i[y];break}l=n&&n.type;break;case Ye.ENUM_VALUE:var g=Object(r.A)(l);s=g instanceof r.a?g.getValues().find((function(e){return e.value===t.name})):null;break;case Ye.LIST_VALUE:var b=Object(r.B)(l);l=b instanceof r.d?b.ofType:null;break;case Ye.OBJECT_VALUE:var D=Object(r.A)(l);f=D instanceof r.b?D.getFields():null;break;case Ye.OBJECT_FIELD:var E=t.name&&f?f[t.name]:null;l=E&&E.type;break;case Ye.NAMED_TYPE:t.name&&(h=e.getType(t.name))}})),{argDef:n,argDefs:i,directiveDef:a,enumValue:s,fieldDef:c,inputType:l,objectFieldDefs:f,parentType:d,type:h,interfaceDef:m,objectTypeDef:p}}var ut=n(12),st=n.n(ut),ct=n(999),lt=n.n(ct),pt=function(e,t){if(!t)return[];var n;try{n=Object(Se.a)(e)}catch(r){return[]}return ft(n,t)},ft=function(e,t){if(!t)return[];var n=new Map,r=new Set;Object(xe.c)(e,{FragmentDefinition:function(e){n.set(e.name.value,!0)},FragmentSpread:function(e){r.has(e.name.value)||r.add(e.name.value)}});var i=new Set;r.forEach((function(e){!n.has(e)&&t.has(e)&&i.add(lt()(t.get(e)))}));var a=[];return i.forEach((function(e){Object(xe.c)(e,{FragmentSpread:function(e){!r.has(e.name.value)&&t.get(e.name.value)&&(i.add(lt()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||a.push(e)})),a},dt=n(10);function ht(e,t){e.push(t)}function mt(e,t){Object(r.L)(t)?(mt(e,t.ofType),ht(e,"!")):Object(r.J)(t)?(ht(e,"["),mt(e,t.ofType),ht(e,"]")):ht(e,t.name)}function vt(e,t){var n=[];return t&&ht(n,"```graphql\n"),mt(n,e),t&&ht(n,"\n```"),n.join("")}var yt={Int:"integer",String:"string",Float:"number",ID:"string",Boolean:"boolean",DateTime:"string"};function gt(e,t){var n,i=!1,a=Object.create(null),o=Object.create(null);if("defaultValue"in e&&void 0!==e.defaultValue&&(a.default=e.defaultValue),Object(r.E)(e)&&(a.type="string",a.enum=e.getValues().map((function(e){return e.name}))),Object(r.R)(e)&&(a.type=null!==(n=yt[e.name])&&void 0!==n?n:"any"),Object(r.J)(e)){a.type="array";var u=gt(e.ofType,t),s=u.definition,c=u.definitions;s.$ref?a.items={$ref:s.$ref}:a.items=s,c&&Object.keys(c).forEach((function(e){o[e]=c[e]}))}if(Object(r.L)(e)){i=!0;var l=gt(e.ofType,t),p=l.definition,f=l.definitions;a=p,f&&Object.keys(f).forEach((function(e){o[e]=f[e]}))}if(Object(r.F)(e)){a.$ref="#/definitions/".concat(e.name);var d=e.getFields(),h={type:"object",properties:{},required:[]};e.description?(h.description=e.description+"\n"+vt(e),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(h.markdownDescription=e.description+"\n"+vt(e,!0))):(h.description=vt(e),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(h.markdownDescription=vt(e,!0))),Object.keys(d).forEach((function(e){var n=d[e],r=gt(n.type,t),i=r.required,a=r.definition,u=r.definitions,s=gt(n,t).definition;h.properties[e]=Object.assign(Object.assign({},a),s);var c=vt(n.type);if(h.properties[e].description=n.description?n.description+"\n"+c:c,null===t||void 0===t?void 0:t.useMarkdownDescription){var l=vt(n.type,!0);h.properties[e].markdownDescription=n.description?n.description+"\n"+l:l}i&&h.required.push(e),u&&Object.keys(u).map((function(e){o[e]=u[e]}))})),o[e.name]=h}return"description"in e&&!Object(r.R)(e)&&e.description&&!a.description?(a.description=e.description+"\n"+vt(e),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(a.markdownDescription=e.description+"\n"+vt(e,!0))):(a.description=vt(e),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(a.markdownDescription=vt(e,!0))),{required:i,definition:a,definitions:o}}function bt(e,t){var n={$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{},required:[]};return e&&Object.entries(e).forEach((function(e){var r,i=Object(dt.a)(e,2),a=i[0],o=gt(i[1],t),u=o.definition,s=o.required,c=o.definitions;n.properties[a]=u,s&&(null===(r=n.required)||void 0===r||r.push(a)),c&&(n.definitions=Object.assign(Object.assign({},null===n||void 0===n?void 0:n.definitions),c))})),n}function Dt(e,t,n){var r,i=Et(e,n);return Object(xe.c)(t,{enter:function(e){if(!("Name"!==e.kind&&e.loc&&e.loc.start<=i&&i<=e.loc.end))return!1;r=e},leave:function(e){if(e.loc&&e.loc.start<=i&&i<=e.loc.end)return!1}}),r}function Et(e,t){var n=e.split("\n").slice(0,t.line);return t.character+n.map((function(e){return e.length+1})).reduce((function(e,t){return e+t}),0)}var Ct=function(){function e(t,n){var r=this;Object(Oe.a)(this,e),this.containsPosition=function(e){return r.start.line===e.line?r.start.character<=e.character:r.end.line===e.line?r.end.character>=e.character:r.start.line<=e.line&&r.end.line>=e.line},this.start=t,this.end=n}return Object(Fe.a)(e,[{key:"setStart",value:function(e,t){this.start=new At(e,t)}},{key:"setEnd",value:function(e,t){this.end=new At(e,t)}}]),e}(),At=function(){function e(t,n){var r=this;Object(Oe.a)(this,e),this.lessThanOrEqualTo=function(e){return r.line<e.line||r.line===e.line&&r.character<=e.character},this.line=t,this.character=n}return Object(Fe.a)(e,[{key:"setLine",value:function(e){this.line=e}},{key:"setCharacter",value:function(e){this.character=e}}]),e}();function Tt(e,t){var n=e.slice(0,t),r=n.split("\n").length-1,i=n.lastIndexOf("\n");return new At(r,t-i-1)}var xt=n(1e3),St=n(1001),wt=n(1002),kt=n(1003),Ot=n(1004),Ft=n(1005),_t=n(1006),Nt=n(1007),It=n(1008),jt=n(1009),Pt=n(1010),Bt=n(1011),Lt=n(1012),Rt=n(1023),Mt=n(1013),Vt=n(1022),Ut=n(944),qt=[xt.a,St.a,wt.a,kt.a,Ot.a,Ft.a,_t.a,Nt.a,It.a,jt.a,Pt.a,Bt.a];function zt(e,t,n,r,i){var a=Lt.a.filter((function(e){return e!==Rt.a&&e!==Mt.a&&(!r||e!==Vt.a)}));return n&&Array.prototype.push.apply(a,n),i&&Array.prototype.push.apply(a,qt),Object(Ut.c)(e,t,a).filter((function(e){if(-1!==e.message.indexOf("Unknown directive")&&e.nodes){var t=e.nodes[0];if(t&&t.kind===Ae.a.DIRECTIVE){var n=t.name.value;if("arguments"===n||"argumentDefinitions"===n)return!1}}return!0}))}var Gt=n(923);function Ht(e,t){var n=Object.create(null);return t.definitions.forEach((function(t){if("OperationDefinition"===t.kind){var r=t.variableDefinitions;r&&r.forEach((function(t){var r=t.variable,i=t.type,a=Object(Gt.a)(e,i);a?n[r.name.value]=a:i.kind===Ae.a.NAMED_TYPE&&"Float"===i.name.value&&(n[r.name.value]=we.b)}))}})),n}function Kt(e,t){var n=t?Ht(t,e):void 0,r=[];return Object(xe.c)(e,{OperationDefinition:function(e){r.push(e)}}),{variableToType:n,operations:r}}function Wt(e,t){if(t)try{var n=Object(Se.a)(t);return Object.assign(Object.assign({},Kt(n,e)),{documentAST:n})}catch(r){return}}var $t=Wt,Jt=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))},Qt="GraphQL";function Yt(e,t){if(!e)throw new Error(t)}function Xt(e,t){var n=t.loc;return Yt(n,"Expected ASTNode to have a location."),function(e,t){var n=Tt(e,t.start),r=Tt(e,t.end);return new Ct(n,r)}(e,n)}function Zt(e,t){var n=t.loc;return Yt(n,"Expected ASTNode to have a location."),Tt(e,n.start)}function en(e,t,n){return Jt(this,void 0,void 0,st.a.mark((function r(){var i,a,o;return st.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(a=n.filter((function(e){var t=e.definition;return t.name&&t.name.value===i}))).length){r.next=4;break}throw Error("Definition not found for GraphQL type ".concat(i));case 4:return o=a.map((function(e){return an(e.filePath||"",e.content,e.definition)})),r.abrupt("return",{definitions:o,queryRange:o.map((function(n){return Xt(e,t)}))});case 6:case"end":return r.stop()}}),r)})))}function tn(e,t,n){return Jt(this,void 0,void 0,st.a.mark((function r(){var i,a,o;return st.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.name.value,0!==(a=n.filter((function(e){return e.definition.name.value===i}))).length){r.next=4;break}throw Error("Definition not found for GraphQL fragment ".concat(i));case 4:return o=a.map((function(e){return rn(e.filePath||"",e.content,e.definition)})),r.abrupt("return",{definitions:o,queryRange:o.map((function(n){return Xt(e,t)}))});case 6:case"end":return r.stop()}}),r)})))}function nn(e,t,n){return{definitions:[rn(e,t,n)],queryRange:n.name?[Xt(t,n.name)]:[]}}function rn(e,t,n){var r=n.name;if(!r)throw Error("Expected ASTNode to have a Name.");return{path:e,position:Zt(t,n),range:Xt(t,n),name:r.value||"",language:Qt,projectRoot:e}}function an(e,t,n){var r=n.name;return Yt(r,"Expected ASTNode to have a Name."),{path:e,position:Zt(t,n),range:Xt(t,n),name:r.value||"",language:Qt,projectRoot:e}}var on,un=n(52),sn=n(920),cn=n(1036),ln={Error:"Error",Warning:"Warning",Information:"Information",Hint:"Hint"},pn=(on={},Object(un.a)(on,ln.Error,1),Object(un.a)(on,ln.Warning,2),Object(un.a)(on,ln.Information,3),Object(un.a)(on,ln.Hint,4),on),fn=function(e,t){if(!e)throw new Error(t)};function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=null;i&&(e+="string"===typeof i?"\n\n"+i:"\n\n"+i.reduce((function(e,t){return e+=Object(sn.a)(t)+"\n\n"}),""));try{a=Object(Se.a)(e)}catch(u){var o=yn(u.locations[0],e);return[{severity:pn.Error,message:u.message,source:"GraphQL: Syntax",range:o}]}return hn(a,t,n,r)}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(!t)return[];var i=mn(zt(t,e,n,r),(function(e){return vn(e,pn.Error,"Validation")})),a=mn(Object(Ut.c)(t,e,[cn.a]),(function(e){return vn(e,pn.Warning,"Deprecation")}));return i.concat(a)}function mn(e,t){return Array.prototype.concat.apply([],e.map(t))}function vn(e,t,n){if(!e.nodes)return[];var r=[];return e.nodes.forEach((function(i){var a="Variable"!==i.kind&&"name"in i&&void 0!==i.name?i.name:"variable"in i&&void 0!==i.variable?i.variable:i;if(a){fn(e.locations,"GraphQL validation error requires locations.");var o=e.locations[0],u=function(e){var t=e.loc;return fn(t,"Expected ASTNode to have a location."),t}(a),s=o.column+(u.end-u.start);r.push({source:"GraphQL: ".concat(n),message:e.message,severity:t,range:new Ct(new At(o.line-1,o.column-1),new At(o.line-1,s))})}})),r}function yn(e,t){var n=qe(),r=n.startState(),i=t.split("\n");fn(i.length>=e.line,"Query text must have more lines than where the error happened");for(var a=null,o=0;o<e.line;o++)for(a=new _e(i[o]);!a.eol();){if("invalidchar"===n.token(a,r))break}fn(a,"Expected Parser stream to be available.");var u=e.line-1,s=a.getStartOfToken(),c=a.getCurrentPosition();return new Ct(new At(u,s),new At(u,c))}var gn=Ae.a.INLINE_FRAGMENT;function bn(e){var t;try{t=Object(Se.a)(e)}catch(r){return null}var n=function(e){var t=function(t){return{representativeName:t.name,startPosition:Tt(e,t.loc.start),endPosition:Tt(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]}};return{Field:function(e){var n=e.alias?[Dn("plain",e.alias),Dn("plain",": ")]:[];return n.push(Dn("plain",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword",e.operation),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},Document:function(e){return e.definitions},SelectionSet:function(e){return function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r],r);Array.isArray(i)?n.push.apply(n,Object(U.a)(i)):n.push(i)}return n}(e.selections,(function(e){return e.kind===gn?e.selectionSet:e}))},Name:function(e){return e.value},FragmentDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword","fragment"),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},InterfaceTypeDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword","interface"),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},EnumTypeDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword","enum"),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},EnumValueDefinition:function(e){return Object.assign({tokenizedText:[Dn("plain",e.name)]},t(e))},ObjectTypeDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword","type"),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},InputObjectTypeDefinition:function(e){return Object.assign({tokenizedText:[Dn("keyword","input"),Dn("whitespace"," "),Dn("class-name",e.name)]},t(e))},FragmentSpread:function(e){return Object.assign({tokenizedText:[Dn("plain","..."),Dn("class-name",e.name)]},t(e))},InputValueDefinition:function(e){return Object.assign({tokenizedText:[Dn("plain",e.name)]},t(e))},FieldDefinition:function(e){return Object.assign({tokenizedText:[Dn("plain",e.name)]},t(e))},InlineFragment:function(e){return e.selectionSet}}}(e);return{outlineTrees:Object(xe.c)(t,{leave:function(e){return void 0!==n&&e.kind in n?n[e.kind](e):null}})}}function Dn(e,t){return{kind:e,value:t}}function En(e,t,n,r,i){var a=r||rt(t,n);if(!e||!a||!a.state)return"";var o=a.state,u=o.kind,s=o.step,c=ot(e,a.state),l=Object.assign(Object.assign({},i),{schema:e});if("Field"===u&&0===s&&c.fieldDef||"AliasedField"===u&&2===s&&c.fieldDef){var p=[];return Cn(p,l),function(e,t,n){Tn(e,t,n),Sn(e,t,n,t.type)}(p,c,l),An(p,l),kn(p,l,c.fieldDef),p.join("").trim()}if("Directive"===u&&1===s&&c.directiveDef){var f=[];return Cn(f,l),xn(f,c,l),An(f,l),kn(f,l,c.directiveDef),f.join("").trim()}if("Argument"===u&&0===s&&c.argDef){var d=[];return Cn(d,l),function(e,t,n){t.directiveDef?xn(e,t,n):t.fieldDef&&Tn(e,t,n);if(!t.argDef)return;var r=t.argDef.name;On(e,"("),On(e,r),Sn(e,t,n,t.inputType),On(e,")")}(d,c,l),An(d,l),kn(d,l,c.argDef),d.join("").trim()}if("EnumValue"===u&&c.enumValue&&"description"in c.enumValue){var h=[];return Cn(h,l),function(e,t,n){if(!t.enumValue)return;var r=t.enumValue.name;wn(e,t,n,t.inputType),On(e,"."),On(e,r)}(h,c,l),An(h,l),kn(h,l,c.enumValue),h.join("").trim()}if("NamedType"===u&&c.type&&"description"in c.type){var m=[];return Cn(m,l),wn(m,c,l,c.type),An(m,l),kn(m,l,c.type),m.join("").trim()}return""}function Cn(e,t){t.useMarkdown&&On(e,"```graphql\n")}function An(e,t){t.useMarkdown&&On(e,"\n```")}function Tn(e,t,n){if(t.fieldDef){var r=t.fieldDef.name;"__"!==r.slice(0,2)&&(wn(e,t,n,t.parentType),On(e,".")),On(e,r)}}function xn(e,t,n){t.directiveDef&&On(e,"@"+t.directiveDef.name)}function Sn(e,t,n,r){On(e,": "),wn(e,t,n,r)}function wn(e,t,n,i){i&&(i instanceof r.e?(wn(e,t,n,i.ofType),On(e,"!")):i instanceof r.d?(On(e,"["),wn(e,t,n,i.ofType),On(e,"]")):On(e,i.name))}function kn(e,t,n){if(n){var r="string"===typeof n.description?n.description:null;r&&(On(e,"\n\n"),On(e,r)),function(e,t,n){if(!n)return;var r=n.deprecationReason?n.deprecationReason:null;if(!r)return;On(e,"\n\n"),On(e,"Deprecated: "),On(e,r)}(e,0,n)}}function On(e,t){e.push(t)}var Fn,_n={Created:1,Changed:2,Deleted:3};!function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Fn||(Fn={}))},930:function(e,t,n){"use strict";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},931:function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=a(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var o=0;o<t.length&&i(t[o]);)++o;for(var u=t.length;u>o&&i(t[u-1]);)--u;return t.slice(o,u).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function a(e){for(var t,n=!0,r=!0,i=0,a=null,o=0;o<e.length;++o)switch(e.charCodeAt(o)){case 13:10===e.charCodeAt(o+1)&&++o;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===a||i<a)&&(a=i),r=!1}return null!==(t=a)&&void 0!==t?t:0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],o="\\"===e[e.length-1],u=!r||a||o||n,s="";return!u||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,u&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}))},932:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"i",(function(){return u})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"h",(function(){return p})),n.d(t,"e",(function(){return f}));var r=n(914);function i(e){return a(e)||c(e)||p(e)}function a(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function o(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function u(e){return e.kind===r.a.VARIABLE||e.kind===r.a.INT||e.kind===r.a.FLOAT||e.kind===r.a.STRING||e.kind===r.a.BOOLEAN||e.kind===r.a.NULL||e.kind===r.a.ENUM||e.kind===r.a.LIST||e.kind===r.a.OBJECT}function s(e){return e.kind===r.a.NAMED_TYPE||e.kind===r.a.LIST_TYPE||e.kind===r.a.NON_NULL_TYPE}function c(e){return e.kind===r.a.SCHEMA_DEFINITION||l(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function l(e){return e.kind===r.a.SCALAR_TYPE_DEFINITION||e.kind===r.a.OBJECT_TYPE_DEFINITION||e.kind===r.a.INTERFACE_TYPE_DEFINITION||e.kind===r.a.UNION_TYPE_DEFINITION||e.kind===r.a.ENUM_TYPE_DEFINITION||e.kind===r.a.INPUT_OBJECT_TYPE_DEFINITION}function p(e){return e.kind===r.a.SCHEMA_EXTENSION||f(e)}function f(e){return e.kind===r.a.SCALAR_TYPE_EXTENSION||e.kind===r.a.OBJECT_TYPE_EXTENSION||e.kind===r.a.INTERFACE_TYPE_EXTENSION||e.kind===r.a.UNION_TYPE_EXTENSION||e.kind===r.a.ENUM_TYPE_EXTENSION||e.kind===r.a.INPUT_OBJECT_TYPE_EXTENSION}},933:function(e,t,n){"use strict";var r=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}};t.a=r},934:function(e,t,n){"use strict";n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return g}));var r=n(933),i=n(976),a=n(917),o=n(921),u=n(912),s=n(950),c=n(919),l=n(938),p=n(922),f=n(916),d=n(918),h=n(911);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e){return Object(l.a)(e,g)}function y(e){if(!v(e))throw new Error("Expected ".concat(Object(u.a)(e)," to be a GraphQL schema."));return e}var g=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,Object(p.a)(e)||Object(c.a)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||Object(c.a)(0,'"types" must be Array if provided but got: '.concat(Object(u.a)(e.types),".")),!e.directives||Array.isArray(e.directives)||Object(c.a)(0,'"directives" must be Array if provided but got: '+"".concat(Object(u.a)(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:d.j;var n=new Set(e.types);if(null!=e.types)for(var r=0,a=e.types;r<a.length;r++){var o=a[r];n.delete(o),b(o,n)}null!=this._queryType&&b(this._queryType,n),null!=this._mutationType&&b(this._mutationType,n),null!=this._subscriptionType&&b(this._subscriptionType,n);for(var l=0,m=this._directives;l<m.length;l++){var v=m[l];if(Object(d.h)(v))for(var y=0,g=v.args;y<g.length;y++){b(g[y].type,n)}}b(f.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var D=0,E=Object(i.a)(n);D<E.length;D++){var C=E[D];if(null!=C){var A=C.name;if(A||Object(c.a)(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[A])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(A,'".'));if(this._typeMap[A]=C,Object(h.H)(C))for(var T=0,x=C.getInterfaces();T<x.length;T++){var S=x[T];if(Object(h.H)(S)){var w=this._implementationsMap[S.name];void 0===w&&(w=this._implementationsMap[S.name]={objects:[],interfaces:[]}),w.interfaces.push(C)}}else if(Object(h.N)(C))for(var k=0,O=C.getInterfaces();k<O.length;k++){var F=O[k];if(Object(h.H)(F)){var _=this._implementationsMap[F.name];void 0===_&&(_=this._implementationsMap[F.name]={objects:[],interfaces:[]}),_.objects.push(C)}}}}}var t,n,l,v=e.prototype;return v.getQueryType=function(){return this._queryType},v.getMutationType=function(){return this._mutationType},v.getSubscriptionType=function(){return this._subscriptionType},v.getTypeMap=function(){return this._typeMap},v.getType=function(e){return this.getTypeMap()[e]},v.getPossibleTypes=function(e){return Object(h.T)(e)?e.getTypes():this.getImplementations(e).objects},v.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!==t&&void 0!==t?t:{objects:[],interfaces:[]}},v.isPossibleType=function(e,t){return this.isSubType(e,t)},v.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),Object(h.T)(e))for(var r=0,i=e.getTypes();r<i.length;r++){n[i[r].name]=!0}else{for(var a=this.getImplementations(e),o=0,u=a.objects;o<u.length;o++){n[u[o].name]=!0}for(var s=0,c=a.interfaces;s<c.length;s++){n[c[s].name]=!0}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},v.getDirectives=function(){return this._directives},v.getDirective=function(e){return Object(r.a)(this.getDirectives(),(function(t){return t.name===e}))},v.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object(a.a)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:o.c,get:function(){return"GraphQLSchema"}}])&&m(t.prototype,n),l&&m(t,l),e}();function b(e,t){var n=Object(h.A)(e);if(!t.has(n))if(t.add(n),Object(h.T)(n))for(var r=0,i=n.getTypes();r<i.length;r++){b(i[r],t)}else if(Object(h.N)(n)||Object(h.H)(n)){for(var o=0,u=n.getInterfaces();o<u.length;o++){b(u[o],t)}for(var s=0,c=Object(a.a)(n.getFields());s<c.length;s++){var l=c[s];b(l.type,t);for(var p=0,f=l.args;p<f.length;p++){b(f[p].type,t)}}}else if(Object(h.F)(n))for(var d=0,m=Object(a.a)(n.getFields());d<m.length;d++){b(m[d].type,t)}return t}},936:function(e,t,n){var r=n(965);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},937:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(949),i=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();Object(r.a)(i);var a=function(){function e(e,t,n,r,i,a,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function o(e){return null!=e&&"string"===typeof e.kind}Object(r.a)(a)},938:function(e,t,n){"use strict";t.a=function(e,t){return e instanceof t}},939:function(e,t,n){"use strict";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,"a",(function(){return r}))},940:function(e,t,n){"use strict";function r(e,t){for(var n=0,r=0;n<e.length&&r<t.length;){var o=e.charCodeAt(n),u=t.charCodeAt(r);if(a(o)&&a(u)){var s=0;do{++n,s=10*s+o-i,o=e.charCodeAt(n)}while(a(o)&&s>0);var c=0;do{++r,c=10*c+u-i,u=t.charCodeAt(r)}while(a(u)&&c>0);if(s<c)return-1;if(s>c)return 1}else{if(o<u)return-1;if(o>u)return 1;++n,++r}}return e.length-t.length}n.d(t,"a",(function(){return r}));var i=48;function a(e){return!isNaN(e)&&i<=e&&e<=57}},941:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},942:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return f}));var r=n(975),i=n(914),a=n(937),o=n(943),u=n(973),s=n(941),c=n(974);function l(e,t){return new d(e,t).parseDocument()}function p(e,t){var n=new d(e,t);n.expectToken(o.a.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(o.a.EOF),r}function f(e,t){var n=new d(e,t);n.expectToken(o.a.SOF);var r=n.parseTypeReference();return n.expectToken(o.a.EOF),r}var d=function(){function e(e,t){var n=Object(u.b)(e)?e:new u.a(e);this._lexer=new c.a(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(o.a.NAME);return{kind:i.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:i.a.DOCUMENT,definitions:this.many(o.a.SOF,this.parseDefinition,o.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(o.a.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(o.a.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(o.a.BRACE_L))return{kind:i.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(o.a.NAME)&&(t=this.parseName()),{kind:i.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(o.a.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(o.a.PAREN_L,this.parseVariableDefinition,o.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.a.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(o.a.DOLLAR),{kind:i.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:i.a.SELECTION_SET,selections:this.many(o.a.BRACE_L,this.parseSelection,o.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(o.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(o.a.COLON)?(e=r,t=this.parseName()):t=r,{kind:i.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.a.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.a.PAREN_L,t,o.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(o.a.COLON),{kind:i.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:i.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(o.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(o.a.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(o.a.NAME)?{kind:i.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:i.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:i.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:i.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case o.a.BRACKET_L:return this.parseList(e);case o.a.BRACE_L:return this.parseObject(e);case o.a.INT:return this._lexer.advance(),{kind:i.a.INT,value:t.value,loc:this.loc(t)};case o.a.FLOAT:return this._lexer.advance(),{kind:i.a.FLOAT,value:t.value,loc:this.loc(t)};case o.a.STRING:case o.a.BLOCK_STRING:return this.parseStringLiteral();case o.a.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:i.a.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:i.a.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:i.a.NULL,loc:this.loc(t)};default:return{kind:i.a.ENUM,value:t.value,loc:this.loc(t)}}case o.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:i.a.STRING,value:e.value,block:e.kind===o.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:i.a.LIST,values:this.any(o.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),o.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:i.a.OBJECT,fields:this.any(o.a.BRACE_L,(function(){return t.parseObjectField(e)}),o.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(o.a.COLON),{kind:i.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(o.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(o.a.AT),{kind:i.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(o.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(o.a.BRACKET_R),e={kind:i.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(o.a.BANG)?{kind:i.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:i.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===o.a.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(o.a.STRING)||this.peek(o.a.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(o.a.BRACE_L,this.parseOperationTypeDefinition,o.a.BRACE_R);return{kind:i.a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(o.a.COLON);var n=this.parseNamedType();return{kind:i.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:i.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:i.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:a,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(o.a.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(o.a.AMP)||this.peek(o.a.NAME));return t}return this.delimitedMany(o.a.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(o.a.BRACE_L)&&this._lexer.lookahead().kind===o.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(o.a.BRACE_L,this.parseFieldDefinition,o.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(o.a.COLON);var a=this.parseTypeReference(),u=this.parseDirectives(!0);return{kind:i.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:a,directives:u,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(o.a.PAREN_L,this.parseInputValueDef,o.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(o.a.COLON);var r,a=this.parseTypeReference();this.expectOptionalToken(o.a.EQUALS)&&(r=this.parseValueLiteral(!0));var u=this.parseDirectives(!0);return{kind:i.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:a,defaultValue:r,directives:u,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:i.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:a,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),a=this.parseUnionMemberTypes();return{kind:i.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:a,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(o.a.EQUALS)?this.delimitedMany(o.a.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),a=this.parseEnumValuesDefinition();return{kind:i.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:a,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(o.a.BRACE_L,this.parseEnumValueDefinition,o.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:i.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),a=this.parseInputFieldsDefinition();return{kind:i.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:a,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(o.a.BRACE_L,this.parseInputValueDef,o.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===o.a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(o.a.BRACE_L,this.parseOperationTypeDefinition,o.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:i.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:i.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),a=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===a.length)throw this.unexpected();return{kind:i.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:a,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),a=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===a.length)throw this.unexpected();return{kind:i.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:a,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.a.AT);var n=this.parseName(),r=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var u=this.parseDirectiveLocations();return{kind:i.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:a,locations:u,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(o.a.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==s.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new a.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Object(r.a)(this._lexer.source,t.start,"Expected ".concat(m(e),", found ").concat(h(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==o.a.NAME||t.value!==e)throw Object(r.a)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(h(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===o.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!==e&&void 0!==e?e:this._lexer.token;return Object(r.a)(this._lexer.source,t.start,"Unexpected ".concat(h(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function h(e){var t=e.value;return m(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function m(e){return Object(c.b)(e)?'"'.concat(e,'"'):e}},943:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},944:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d}));var r=n(919),i=n(908),a=n(928),o=n(954),u=n(977),s=n(1012),c=n(1035);function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.a,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new u.a(e),p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(r.a)(0,"Must provide document."),Object(o.a)(e);var f=Object.freeze({}),d=[],h=new c.b(e,t,l,(function(e){if(null!=p.maxErrors&&d.length>=p.maxErrors)throw d.push(new i.a("Too many validation errors, error limit reached. Validation aborted.")),f;d.push(e)})),m=Object(a.d)(n.map((function(e){return e(h)})));try{Object(a.c)(t,Object(u.b)(l,m))}catch(v){if(v!==f)throw v}return d}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.b,r=[],i=new c.a(e,t,(function(e){r.push(e)})),o=n.map((function(e){return e(i)}));return Object(a.c)(e,Object(a.d)(o)),r}function f(e){var t=p(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}function d(e,t){var n=p(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join("\n\n"))}},945:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},948:function(e,t,n){var r=n(964),i=n(993),a=n(936),o=n(966);e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||o()}},949:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(915),i=n(969);function a(e){var t=e.prototype.toJSON;"function"===typeof t||Object(r.a)(0),e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}},950:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(930);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);n<i.length;n++){var a=i[n],o=a[0],u=a[1];t[o]=u}return t}},951:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(972),i=n(917),a=n(912),o=n(915),u=n(922),s=n(952),c=n(914),l=n(924),p=n(911);function f(e,t){if(Object(p.L)(t)){var n=f(e,t.ofType);return(null===n||void 0===n?void 0:n.kind)===c.a.NULL?null:n}if(null===e)return{kind:c.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var h=t.ofType,m=Object(s.a)(e);if(null!=m){for(var v=[],y=0;y<m.length;y++){var g=f(m[y],h);null!=g&&v.push(g)}return{kind:c.a.LIST,values:v}}return f(e,h)}if(Object(p.F)(t)){if(!Object(u.a)(e))return null;for(var b=[],D=0,E=Object(i.a)(t.getFields());D<E.length;D++){var C=E[D],A=f(e[C.name],C.type);A&&b.push({kind:c.a.OBJECT_FIELD,name:{kind:c.a.NAME,value:C.name},value:A})}return{kind:c.a.OBJECT,fields:b}}if(Object(p.I)(t)){var T=t.serialize(e);if(null==T)return null;if("boolean"===typeof T)return{kind:c.a.BOOLEAN,value:T};if("number"===typeof T&&Object(r.a)(T)){var x=String(T);return d.test(x)?{kind:c.a.INT,value:x}:{kind:c.a.FLOAT,value:x}}if("string"===typeof T)return Object(p.E)(t)?{kind:c.a.ENUM,value:T}:t===l.c&&d.test(T)?{kind:c.a.INT,value:T}:{kind:c.a.STRING,value:T};throw new TypeError("Cannot convert value to AST: ".concat(Object(a.a)(T),"."))}Object(o.a)(0,"Unexpected input type: "+Object(a.a)(t))}var d=/^-?(?:0|[1-9][0-9]*)$/},952:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(921);function i(e){return i="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},i(e)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==i(e))return null;if(Array.isArray(e))return e.map(t);var n=e[r.b];if("function"===typeof n){for(var a,o=n.call(e),u=[],s=0;!(a=o.next()).done;++s)u.push(t(a.value,s));return u}var c=e.length;if("number"===typeof c&&c>=0&&c%1===0){for(var l=[],p=0;p<c;++p){if(!Object.prototype.hasOwnProperty.call(e,p))return null;l.push(t(e[String(p)],p))}return l}return null}},953:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(911);function i(e,t){return e===t||(Object(r.L)(e)&&Object(r.L)(t)||!(!Object(r.J)(e)||!Object(r.J)(t)))&&i(e.ofType,t.ofType)}function a(e,t,n){return t===n||(Object(r.L)(n)?!!Object(r.L)(t)&&a(e,t.ofType,n.ofType):Object(r.L)(t)?a(e,t.ofType,n):Object(r.J)(n)?!!Object(r.J)(t)&&a(e,t.ofType,n.ofType):!Object(r.J)(t)&&(Object(r.C)(n)&&(Object(r.H)(t)||Object(r.N)(t))&&e.isSubType(n,t)))}function o(e,t,n){return t===n||(Object(r.C)(t)?Object(r.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!Object(r.C)(n)&&e.isSubType(n,t))}},954:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n(933),i=n(917),a=n(912),o=n(908),u=n(955),s=n(1034),c=n(953),l=n(934),p=n(916),f=n(918),d=n(911);function h(e){if(Object(l.b)(e),e.__validationErrors)return e.__validationErrors;var t=new v(e);!function(e){var t=e.schema,n=t.getQueryType();if(n){if(!Object(d.N)(n)){var r;e.reportError("Query root type must be Object type, it cannot be ".concat(Object(a.a)(n),"."),null!==(r=y(t,"query"))&&void 0!==r?r:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);var i,o=t.getMutationType();o&&!Object(d.N)(o)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(Object(a.a)(o),"."),null!==(i=y(t,"mutation"))&&void 0!==i?i:o.astNode);var u,s=t.getSubscriptionType();s&&!Object(d.N)(s)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(Object(a.a)(s),"."),null!==(u=y(t,"subscription"))&&void 0!==u?u:s.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(Object(f.h)(r)){g(e,r);for(var i=0,o=r.args;i<o.length;i++){var u,s=o[i];if(g(e,s),Object(d.G)(s.type)||e.reportError("The type of @".concat(r.name,"(").concat(s.name,":) must be Input Type ")+"but got: ".concat(Object(a.a)(s.type),"."),s.astNode),Object(d.P)(s)&&null!=s.deprecationReason)e.reportError("Required argument @".concat(r.name,"(").concat(s.name,":) cannot be deprecated."),[F(s.astNode),null===(u=s.astNode)||void 0===u?void 0:u.type])}}else e.reportError("Expected directive but got: ".concat(Object(a.a)(r),"."),null===r||void 0===r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return a;function a(o){if(!t[o.name]){t[o.name]=!0,r[o.name]=n.length;for(var u=Object(i.a)(o.getFields()),s=0;s<u.length;s++){var c=u[s];if(Object(d.L)(c.type)&&Object(d.F)(c.type.ofType)){var l=c.type.ofType,p=r[l.name];if(n.push(c),void 0===p)a(l);else{var f=n.slice(p),h=f.map((function(e){return e.name})).join(".");e.reportError('Cannot reference Input Object "'.concat(l.name,'" within itself through a series of non-null fields: "').concat(h,'".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}}(e),n=e.schema.getTypeMap(),r=0,o=Object(i.a)(n);r<o.length;r++){var u=o[r];Object(d.K)(u)?(Object(p.isIntrospectionType)(u)||g(e,u),Object(d.N)(u)||Object(d.H)(u)?(b(e,u),D(e,u)):Object(d.T)(u)?A(e,u):Object(d.E)(u)?T(e,u):Object(d.F)(u)&&(x(e,u),t(u))):e.reportError("Expected GraphQL named type but got: ".concat(Object(a.a)(u),"."),u.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function m(e){var t=h(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}var v=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new o.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function y(e,t){for(var n=w(e,(function(e){return e.operationTypes})),r=0;r<n.length;r++){var i=n[r];if(i.operation===t)return i.type}}function g(e,t){var n=Object(s.b)(t.name);n&&e.addError(Object(u.a)(n,t.astNode))}function b(e,t){var n=Object(i.a)(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),S(t));for(var r=0;r<n.length;r++){var o,u=n[r];if(g(e,u),!Object(d.O)(u.type))e.reportError("The type of ".concat(t.name,".").concat(u.name," must be Output Type ")+"but got: ".concat(Object(a.a)(u.type),"."),null===(o=u.astNode)||void 0===o?void 0:o.type);for(var s=0,c=u.args;s<c.length;s++){var l,p,f=c[s],h=f.name;if(g(e,f),!Object(d.G)(f.type))e.reportError("The type of ".concat(t.name,".").concat(u.name,"(").concat(h,":) must be Input ")+"Type but got: ".concat(Object(a.a)(f.type),"."),null===(l=f.astNode)||void 0===l?void 0:l.type);if(Object(d.P)(f)&&null!=f.deprecationReason)e.reportError("Required argument ".concat(t.name,".").concat(u.name,"(").concat(h,":) cannot be deprecated."),[F(f.astNode),null===(p=f.astNode)||void 0===p?void 0:p.type])}}}function D(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(d.H)(o)?t!==o?n[o.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(o.name," once."),k(t,o)):(n[o.name]=!0,C(e,t,o),E(e,t,o)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),k(t,o)):e.reportError("Type ".concat(Object(a.a)(t)," must only implement Interface types, ")+"it cannot implement ".concat(Object(a.a)(o),"."),k(t,o))}}function E(e,t,n){for(var o=t.getFields(),u=0,s=Object(i.a)(n.getFields());u<s.length;u++){var l=s[u],p=l.name,f=o[p];if(f){var h,m;if(!Object(c.c)(e.schema,f.type,l.type))e.reportError("Interface field ".concat(n.name,".").concat(p," expects type ")+"".concat(Object(a.a)(l.type)," but ").concat(t.name,".").concat(p," ")+"is type ".concat(Object(a.a)(f.type),"."),[null===(h=l.astNode)||void 0===h?void 0:h.type,null===(m=f.astNode)||void 0===m?void 0:m.type]);for(var v=function(i,o){var u,s,l=o[i],d=l.name,h=Object(r.a)(f.args,(function(e){return e.name===d}));if(!h)return e.reportError("Interface field argument ".concat(n.name,".").concat(p,"(").concat(d,":) expected but ").concat(t.name,".").concat(p," does not provide it."),[l.astNode,f.astNode]),"continue";Object(c.b)(l.type,h.type)||e.reportError("Interface field argument ".concat(n.name,".").concat(p,"(").concat(d,":) ")+"expects type ".concat(Object(a.a)(l.type)," but ")+"".concat(t.name,".").concat(p,"(").concat(d,":) is type ")+"".concat(Object(a.a)(h.type),"."),[null===(u=l.astNode)||void 0===u?void 0:u.type,null===(s=h.astNode)||void 0===s?void 0:s.type])},y=0,g=l.args;y<g.length;y++)v(y,g);for(var b=function(i,a){var o=a[i],u=o.name;!Object(r.a)(l.args,(function(e){return e.name===u}))&&Object(d.P)(o)&&e.reportError("Object field ".concat(t.name,".").concat(p," includes required argument ").concat(u," that is missing from the Interface field ").concat(n.name,".").concat(p,"."),[o.astNode,l.astNode])},D=0,E=f.args;D<E.length;D++)b(D,E)}else e.reportError("Interface field ".concat(n.name,".").concat(p," expected but ").concat(t.name," does not provide it."),[l.astNode].concat(S(t)))}}function C(e,t,n){for(var r=t.getInterfaces(),i=0,a=n.getInterfaces();i<a.length;i++){var o=a[i];-1===r.indexOf(o)&&e.reportError(o===t?"Type ".concat(t.name," cannot implement ").concat(n.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(o.name," because it is implemented by ").concat(n.name,"."),[].concat(k(n,o),k(t,n)))}}function A(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),S(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),O(t,o.name)):(r[o.name]=!0,Object(d.N)(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat(Object(a.a)(o),"."),O(t,String(o))))}}function T(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),S(t));for(var r=0;r<n.length;r++){var i=n[r],a=i.name;g(e,i),"true"!==a&&"false"!==a&&"null"!==a||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(a,"."),i.astNode)}}function x(e,t){var n=Object(i.a)(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),S(t));for(var r=0;r<n.length;r++){var o,u,s=n[r];if(g(e,s),!Object(d.G)(s.type))e.reportError("The type of ".concat(t.name,".").concat(s.name," must be Input Type ")+"but got: ".concat(Object(a.a)(s.type),"."),null===(o=s.astNode)||void 0===o?void 0:o.type);if(Object(d.Q)(s)&&null!=s.deprecationReason)e.reportError("Required input field ".concat(t.name,".").concat(s.name," cannot be deprecated."),[F(s.astNode),null===(u=s.astNode)||void 0===u?void 0:u.type])}}function S(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!==n&&void 0!==n?n:[]}function w(e,t){for(var n=[],r=0,i=S(e);r<i.length;r++){var a,o=i[r];n=n.concat(null!==(a=t(o))&&void 0!==a?a:[])}return n}function k(e,t){return w(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function O(e,t){return w(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}function F(e){var t;return null===e||void 0===e||null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return e.name.value===f.b.name}))}},955:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(912),i=n(908);function a(e,t,n){var a,o=e instanceof Error?e:new Error("Unexpected error value: "+Object(r.a)(e));return Array.isArray(o.path)?o:new i.a(o.message,null!==(a=o.nodes)&&void 0!==a?a:t,o.source,o.positions,n,o)}},956:function(e,t,n){"use strict";e.exports=n(1037)},957:function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\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\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\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-\u2E4E\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\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},958:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},959:function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},960:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(917),i=n(925),a=n(912),o=n(915),u=n(914),s=n(911);function c(e,t,n){if(e){if(e.kind===u.a.VARIABLE){var p=e.name.value;if(null==n||void 0===n[p])return;var f=n[p];if(null===f&&Object(s.L)(t))return;return f}if(Object(s.L)(t)){if(e.kind===u.a.NULL)return;return c(e,t.ofType,n)}if(e.kind===u.a.NULL)return null;if(Object(s.J)(t)){var d=t.ofType;if(e.kind===u.a.LIST){for(var h=[],m=0,v=e.values;m<v.length;m++){var y=v[m];if(l(y,n)){if(Object(s.L)(d))return;h.push(null)}else{var g=c(y,d,n);if(void 0===g)return;h.push(g)}}return h}var b=c(e,d,n);if(void 0===b)return;return[b]}if(Object(s.F)(t)){if(e.kind!==u.a.OBJECT)return;for(var D=Object.create(null),E=Object(i.a)(e.fields,(function(e){return e.name.value})),C=0,A=Object(r.a)(t.getFields());C<A.length;C++){var T=A[C],x=E[T.name];if(x&&!l(x.value,n)){var S=c(x.value,T.type,n);if(void 0===S)return;D[T.name]=S}else if(void 0!==T.defaultValue)D[T.name]=T.defaultValue;else if(Object(s.L)(T.type))return}return D}if(Object(s.I)(t)){var w;try{w=t.parseLiteral(e,n)}catch(k){return}if(void 0===w)return;return w}Object(o.a)(0,"Unexpected input type: "+Object(a.a)(t))}}function l(e,t){return e.kind===u.a.VARIABLE&&(null==t||void 0===t[e.name.value])}},961:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},964:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},965:function(e,t){e.exports=function(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}},966:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},967:function(e,t,n){var r=n(994),i=n(968),a=n(936),o=n(995);e.exports=function(e){return r(e)||i(e)||a(e)||o()}},968:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},969:function(e,t,n){"use strict";var r="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},970:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(930);function i(e,t){for(var n=Object.create(null),i=0,a=Object(r.a)(e);i<a.length;i++){var o=a[i],u=o[0],s=o[1];n[u]=t(s,u)}return n}},971:function(e,t,n){"use strict";function r(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,a=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,a=t+1-(n.index+n[0].length);return{line:i,column:a}}n.d(t,"a",(function(){return r}))},972:function(e,t,n){"use strict";var r=Number.isFinite||function(e){return"number"===typeof e&&isFinite(e)};t.a=r},973:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(921),i=n(912),a=n(919),o=n(938);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"===typeof e||Object(a.a)(0,"Body must be a string. Received: ".concat(Object(i.a)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(a.a)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Object(a.a)(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,o;return t=e,(n=[{key:r.c,get:function(){return"Source"}}])&&u(t.prototype,n),o&&u(t,o),e}();function c(e){return Object(o.a)(e,s)}},974:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return s}));var r=n(975),i=n(937),a=n(943),o=n(931),u=function(){function e(e){var t=new i.b(a.a.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==a.a.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=l(this,e)}while(e.kind===a.a.COMMENT);return e},e}();function s(e){return e===a.a.BANG||e===a.a.DOLLAR||e===a.a.AMP||e===a.a.PAREN_L||e===a.a.PAREN_R||e===a.a.SPREAD||e===a.a.COLON||e===a.a.EQUALS||e===a.a.AT||e===a.a.BRACKET_L||e===a.a.BRACKET_R||e===a.a.BRACE_L||e===a.a.PIPE||e===a.a.BRACE_R}function c(e){return isNaN(e)?a.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function l(e,t){for(var n=e.source,o=n.body,u=o.length,s=t.end;s<u;){var c=o.charCodeAt(s),l=e.line,h=1+s-e.lineStart;switch(c){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++e.line,e.lineStart=s;continue;case 13:10===o.charCodeAt(s+1)?s+=2:++s,++e.line,e.lineStart=s;continue;case 33:return new i.b(a.a.BANG,s,s+1,l,h,t);case 35:return f(n,s,l,h,t);case 36:return new i.b(a.a.DOLLAR,s,s+1,l,h,t);case 38:return new i.b(a.a.AMP,s,s+1,l,h,t);case 40:return new i.b(a.a.PAREN_L,s,s+1,l,h,t);case 41:return new i.b(a.a.PAREN_R,s,s+1,l,h,t);case 46:if(46===o.charCodeAt(s+1)&&46===o.charCodeAt(s+2))return new i.b(a.a.SPREAD,s,s+3,l,h,t);break;case 58:return new i.b(a.a.COLON,s,s+1,l,h,t);case 61:return new i.b(a.a.EQUALS,s,s+1,l,h,t);case 64:return new i.b(a.a.AT,s,s+1,l,h,t);case 91:return new i.b(a.a.BRACKET_L,s,s+1,l,h,t);case 93:return new i.b(a.a.BRACKET_R,s,s+1,l,h,t);case 123:return new i.b(a.a.BRACE_L,s,s+1,l,h,t);case 124:return new i.b(a.a.PIPE,s,s+1,l,h,t);case 125:return new i.b(a.a.BRACE_R,s,s+1,l,h,t);case 34:return 34===o.charCodeAt(s+1)&&34===o.charCodeAt(s+2)?v(n,s,l,h,t,e):m(n,s,l,h,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return d(n,s,c,l,h,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return g(n,s,l,h,t)}throw Object(r.a)(n,s,p(c))}var y=e.line,b=1+s-e.lineStart;return new i.b(a.a.EOF,u,u,y,b,t)}function p(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(c(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(c(e),".")}function f(e,t,n,r,o){var u,s=e.body,c=t;do{u=s.charCodeAt(++c)}while(!isNaN(u)&&(u>31||9===u));return new i.b(a.a.COMMENT,t,c,n,r,o,s.slice(t+1,c))}function d(e,t,n,o,u,s){var l=e.body,p=n,f=t,d=!1;if(45===p&&(p=l.charCodeAt(++f)),48===p){if((p=l.charCodeAt(++f))>=48&&p<=57)throw Object(r.a)(e,f,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else f=h(e,f,p),p=l.charCodeAt(f);if(46===p&&(d=!0,p=l.charCodeAt(++f),f=h(e,f,p),p=l.charCodeAt(f)),69!==p&&101!==p||(d=!0,43!==(p=l.charCodeAt(++f))&&45!==p||(p=l.charCodeAt(++f)),f=h(e,f,p),p=l.charCodeAt(f)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw Object(r.a)(e,f,"Invalid number, expected digit but got: ".concat(c(p),"."));return new i.b(d?a.a.FLOAT:a.a.INT,t,f,o,u,s,l.slice(t,f))}function h(e,t,n){var i=e.body,a=t,o=n;if(o>=48&&o<=57){do{o=i.charCodeAt(++a)}while(o>=48&&o<=57);return a}throw Object(r.a)(e,a,"Invalid number, expected digit but got: ".concat(c(o),"."))}function m(e,t,n,o,u){for(var s,l,p,f,d=e.body,h=t+1,m=h,v=0,g="";h<d.length&&!isNaN(v=d.charCodeAt(h))&&10!==v&&13!==v;){if(34===v)return g+=d.slice(m,h),new i.b(a.a.STRING,t,h+1,n,o,u,g);if(v<32&&9!==v)throw Object(r.a)(e,h,"Invalid character within String: ".concat(c(v),"."));if(++h,92===v){switch(g+=d.slice(m,h-1),v=d.charCodeAt(h)){case 34:g+='"';break;case 47:g+="/";break;case 92:g+="\\";break;case 98:g+="\b";break;case 102:g+="\f";break;case 110:g+="\n";break;case 114:g+="\r";break;case 116:g+="\t";break;case 117:var b=(s=d.charCodeAt(h+1),l=d.charCodeAt(h+2),p=d.charCodeAt(h+3),f=d.charCodeAt(h+4),y(s)<<12|y(l)<<8|y(p)<<4|y(f));if(b<0){var D=d.slice(h+1,h+5);throw Object(r.a)(e,h,"Invalid character escape sequence: \\u".concat(D,"."))}g+=String.fromCharCode(b),h+=4;break;default:throw Object(r.a)(e,h,"Invalid character escape sequence: \\".concat(String.fromCharCode(v),"."))}m=++h}}throw Object(r.a)(e,h,"Unterminated string.")}function v(e,t,n,u,s,l){for(var p=e.body,f=t+3,d=f,h=0,m="";f<p.length&&!isNaN(h=p.charCodeAt(f));){if(34===h&&34===p.charCodeAt(f+1)&&34===p.charCodeAt(f+2))return m+=p.slice(d,f),new i.b(a.a.BLOCK_STRING,t,f+3,n,u,s,Object(o.a)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw Object(r.a)(e,f,"Invalid character within String: ".concat(c(h),"."));10===h?(++f,++l.line,l.lineStart=f):13===h?(10===p.charCodeAt(f+1)?f+=2:++f,++l.line,l.lineStart=f):92===h&&34===p.charCodeAt(f+1)&&34===p.charCodeAt(f+2)&&34===p.charCodeAt(f+3)?(m+=p.slice(d,f)+'"""',d=f+=4):++f}throw Object(r.a)(e,f,"Unterminated string.")}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function g(e,t,n,r,o){for(var u=e.body,s=u.length,c=t+1,l=0;c!==s&&!isNaN(l=u.charCodeAt(c))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++c;return new i.b(a.a.NAME,t,c,n,r,o,u.slice(t,c))}},975:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(908);function i(e,t,n){return new r.a("Syntax Error: ".concat(n),void 0,e,[t])}},976:function(e,t,n){"use strict";var r=n(921),i=Array.from||function(e,t,n){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i=e[r.b];if("function"===typeof i){for(var a,o=i.call(e),u=[],s=0;!(a=o.next()).done;++s)if(u.push(t.call(n,a.value,s)),s>9999999)throw new TypeError("Near-infinite iteration.");return u}var c=e.length;if("number"===typeof c&&c>=0&&c%1===0){for(var l=[],p=0;p<c;++p)Object.prototype.hasOwnProperty.call(e,p)&&l.push(t.call(n,e[p],p));return l}return[]};t.a=i},977:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(933),i=n(914),a=n(937),o=n(928),u=n(911),s=n(916),c=n(923),l=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!==t&&void 0!==t?t:p,n&&(Object(u.G)(n)&&this._inputTypeStack.push(n),Object(u.D)(n)&&this._parentTypeStack.push(n),Object(u.O)(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case i.a.SELECTION_SET:var n=Object(u.A)(this.getType());this._parentTypeStack.push(Object(u.D)(n)?n:void 0);break;case i.a.FIELD:var a,o,s=this.getParentType();s&&(a=this._getFieldDef(t,s,e))&&(o=a.type),this._fieldDefStack.push(a),this._typeStack.push(Object(u.O)(o)?o:void 0);break;case i.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.a.OPERATION_DEFINITION:var l;switch(e.operation){case"query":l=t.getQueryType();break;case"mutation":l=t.getMutationType();break;case"subscription":l=t.getSubscriptionType()}this._typeStack.push(Object(u.N)(l)?l:void 0);break;case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:var p=e.typeCondition,f=p?Object(c.a)(t,p):Object(u.A)(this.getType());this._typeStack.push(Object(u.O)(f)?f:void 0);break;case i.a.VARIABLE_DEFINITION:var d=Object(c.a)(t,e.type);this._inputTypeStack.push(Object(u.G)(d)?d:void 0);break;case i.a.ARGUMENT:var h,m,v,y=null!==(h=this.getDirective())&&void 0!==h?h:this.getFieldDef();y&&(m=Object(r.a)(y.args,(function(t){return t.name===e.name.value})))&&(v=m.type),this._argument=m,this._defaultValueStack.push(m?m.defaultValue:void 0),this._inputTypeStack.push(Object(u.G)(v)?v:void 0);break;case i.a.LIST:var g=Object(u.B)(this.getInputType()),b=Object(u.J)(g)?g.ofType:g;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(u.G)(b)?b:void 0);break;case i.a.OBJECT_FIELD:var D,E,C=Object(u.A)(this.getInputType());Object(u.F)(C)&&(E=C.getFields()[e.name.value])&&(D=E.type),this._defaultValueStack.push(E?E.defaultValue:void 0),this._inputTypeStack.push(Object(u.G)(D)?D:void 0);break;case i.a.ENUM:var A,T=Object(u.A)(this.getInputType());Object(u.E)(T)&&(A=T.getValue(e.value)),this._enumValue=A}},t.leave=function(e){switch(e.kind){case i.a.SELECTION_SET:this._parentTypeStack.pop();break;case i.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.a.DIRECTIVE:this._directive=null;break;case i.a.OPERATION_DEFINITION:case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.LIST:case i.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.ENUM:this._enumValue=null}},e}();function p(e,t,n){var r=n.name.value;return r===s.SchemaMetaFieldDef.name&&e.getQueryType()===t?s.SchemaMetaFieldDef:r===s.TypeMetaFieldDef.name&&e.getQueryType()===t?s.TypeMetaFieldDef:r===s.TypeNameMetaFieldDef.name&&Object(u.D)(t)?s.TypeNameMetaFieldDef:Object(u.N)(t)||Object(u.H)(t)?t.getFields()[r]:void 0}function f(e,t){return{enter:function(n){e.enter(n);var r=Object(o.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(a.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(o.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}},978:function(e,t,n){"use strict";e.exports=n(1038)},979:function(e,t,n){"use strict";e.exports.encode=n(1039),e.exports.decode=n(1040),e.exports.format=n(1041),e.exports.parse=n(1042)},980:function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},981:function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},982:function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},983:function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=a,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},984:function(e,t,n){"use strict";function r(e,t){var n,r,i,a,o,u=[],s=t.length;for(n=0;n<s;n++)126===(i=t[n]).marker&&-1!==i.end&&(a=t[i.end],(o=e.tokens[i.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[a.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&u.push(a.token-1));for(;u.length;){for(r=(n=u.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(o=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=o)}}e.exports.tokenize=function(e,t){var n,r,i,a,o=e.pos,u=e.src.charCodeAt(o);if(t)return!1;if(126!==u)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(u),i<2)return!1;for(i%2&&(e.push("text","",0).content=a,i--),n=0;n<i;n+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}},985:function(e,t,n){"use strict";function r(e,t){var n,r,i,a,o,u;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],u=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),(a=e.tokens[r.token]).type=u?"strong_open":"em_open",a.tag=u?"strong":"em",a.nesting=1,a.markup=u?o+o:o,a.content="",(a=e.tokens[i.token]).type=u?"strong_close":"em_close",a.tag=u?"strong":"em",a.nesting=-1,a.markup=u?o+o:o,a.content="",u&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}},986:function(e,t,n){var r=n(936);e.exports=function(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw o}}}}},987:function(e,t){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},992:function(e,t,n){(function(e){var r,i=n(948),a=n(967),o=n(12),u=n(996);r=function(t){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){return"object"===typeof e&&null!==e}function s(e,t){return n.call(e,t)}function c(e,t){return n.call(e,t)&&r(e[t])}function l(e,t){return n.call(e,t)&&"string"===typeof e[t]}function p(e,t){return e.length<124?e:t}var f,d,h="graphql-transport-ws";function m(e){if(r(e)){if(!l(e,"type"))return!1;switch(e.type){case t.MessageType.ConnectionInit:case t.MessageType.ConnectionAck:case t.MessageType.Ping:case t.MessageType.Pong:return!s(e,"payload")||void 0===e.payload||r(e.payload);case t.MessageType.Subscribe:return l(e,"id")&&c(e,"payload")&&(!s(e.payload,"operationName")||void 0===e.payload.operationName||null===e.payload.operationName||"string"===typeof e.payload.operationName)&&l(e.payload,"query")&&(!s(e.payload,"variables")||void 0===e.payload.variables||null===e.payload.variables||c(e.payload,"variables"))&&(!s(e.payload,"extensions")||void 0===e.payload.extensions||null===e.payload.extensions||c(e.payload,"extensions"));case t.MessageType.Next:return l(e,"id")&&c(e,"payload");case t.MessageType.Error:return l(e,"id")&&(n=e.payload,Array.isArray(n)&&n.length>0&&n.every((function(e){return"message"in e})));case t.MessageType.Complete:return l(e,"id");default:return!1}}var n;return!1}function v(e,t){if(m(e))return e;if("string"!==typeof e)throw new Error("Message not parsable");var n=JSON.parse(e,t);if(!m(n))throw new Error("Invalid message");return n}function y(e,t){if(!m(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e,t)}function g(e){return r(e)&&"code"in e&&"reason"in e}t.CloseCode=void 0,(f=t.CloseCode||(t.CloseCode={}))[f.InternalServerError=4500]="InternalServerError",f[f.InternalClientError=4005]="InternalClientError",f[f.BadRequest=4400]="BadRequest",f[f.BadResponse=4004]="BadResponse",f[f.Unauthorized=4401]="Unauthorized",f[f.Forbidden=4403]="Forbidden",f[f.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",f[f.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",f[f.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",f[f.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",f[f.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",t.MessageType=void 0,(d=t.MessageType||(t.MessageType={})).ConnectionInit="connection_init",d.ConnectionAck="connection_ack",d.Ping="ping",d.Pong="pong",d.Subscribe="subscribe",d.Next="next",d.Error="error",d.Complete="complete",t.DEPRECATED_GRAPHQL_WS_PROTOCOL="graphql-ws",t.GRAPHQL_TRANSPORT_WS_PROTOCOL=h,t.createClient=function(n){var r,s,c=n.url,l=n.connectionParams,f=n.lazy,d=void 0===f||f,m=n.onNonLazyError,b=void 0===m?console.error:m,D=n.lazyCloseTimeout,E=void 0===D?0:D,C=n.keepAlive,A=void 0===C?0:C,T=n.disablePong,x=n.connectionAckWaitTimeout,S=void 0===x?0:x,w=n.retryAttempts,k=void 0===w?5:w,O=n.retryWait,F=void 0===O?function(){var e=u(o.mark((function e(t){var n,r;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=1e3,r=0;r<t;r++)n*=2;return e.next=4,new Promise((function(e){return setTimeout(e,n+Math.floor(2700*Math.random()+300))}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():O,_=n.isFatalConnectionProblem,N=void 0===_?function(e){return!g(e)}:_,I=n.on,j=n.webSocketImpl,P=n.generateID,B=void 0===P?function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}:P,L=n.jsonMessageReplacer,R=n.jsonMessageReviver;if(j){if(!("function"===typeof(s=j)&&"constructor"in s&&"CLOSED"in s&&"CLOSING"in s&&"CONNECTING"in s&&"OPEN"in s))throw new Error("Invalid WebSocket implementation provided");r=j}else"undefined"!==typeof WebSocket?r=WebSocket:"undefined"!==typeof e?r=e.WebSocket||e.MozWebSocket:"undefined"!==typeof window&&(r=window.WebSocket||window.MozWebSocket);if(!r)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");var M=r,V=function(){var e=function(){var e={};return{on:function(t,n){return e[t]=n,function(){delete e[t]}},emit:function(t){var n;"id"in t&&(null===(n=e[t.id])||void 0===n||n.call(e,t))}}}(),t={connecting:(null===I||void 0===I?void 0:I.connecting)?[I.connecting]:[],opened:(null===I||void 0===I?void 0:I.opened)?[I.opened]:[],connected:(null===I||void 0===I?void 0:I.connected)?[I.connected]:[],ping:(null===I||void 0===I?void 0:I.ping)?[I.ping]:[],pong:(null===I||void 0===I?void 0:I.pong)?[I.pong]:[],message:(null===I||void 0===I?void 0:I.message)?[e.emit,I.message]:[e.emit],closed:(null===I||void 0===I?void 0:I.closed)?[I.closed]:[],error:(null===I||void 0===I?void 0:I.error)?[I.error]:[]};return{onMessage:e.on,on:function(e,n){var r=t[e];return r.push(n),function(){r.splice(r.indexOf(n),1)}},emit:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0,u=a(t[e]);o<u.length;o++){var s=u[o];s.apply(void 0,r)}}}}();function U(e){var t=[V.on("error",(function(n){t.forEach((function(e){return e()})),e(n)})),V.on("closed",(function(n){t.forEach((function(e){return e()})),e(n)}))]}var q,z=0,G=!1,H=0,K=!1;function W(){return $.apply(this,arguments)}function $(){return($=u(o.mark((function e(){var n,r,a,s,f,d;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null!==q&&void 0!==q?q:q=new Promise((function(e,n){return u(o.mark((function r(){var i,a,s,f,d;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(f=function(){isFinite(A)&&A>0&&(clearTimeout(s),s=setTimeout((function(){i.readyState===M.OPEN&&(i.send(y({type:t.MessageType.Ping})),V.emit("ping",!1,void 0))}),A))},!G){r.next=8;break}return r.next=4,F(H);case 4:if(z){r.next=7;break}return q=void 0,r.abrupt("return",n({code:1e3,reason:"All Subscriptions Gone"}));case 7:H++;case 8:if(V.emit("connecting"),r.t0=M,"function"!==typeof c){r.next=16;break}return r.next=13,c();case 13:r.t1=r.sent,r.next=17;break;case 16:r.t1=c;case 17:r.t2=r.t1,r.t3=h,i=new r.t0(r.t2,r.t3),U((function(e){q=void 0,clearTimeout(a),clearTimeout(s),n(e),g(e)&&4499===e.code&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)})),i.onerror=function(e){return V.emit("error",e)},i.onclose=function(e){return V.emit("closed",e)},i.onopen=u(o.mark((function e(){var n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,V.emit("opened",i),"function"!==typeof l){e.next=8;break}return e.next=5,l();case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=l;case 9:if(n=e.t0,i.readyState===M.OPEN){e.next=12;break}return e.abrupt("return");case 12:i.send(y(n?{type:t.MessageType.ConnectionInit,payload:n}:{type:t.MessageType.ConnectionInit},L)),isFinite(S)&&S>0&&(a=setTimeout((function(){i.close(t.CloseCode.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")}),S)),f(),e.next=21;break;case 17:e.prev=17,e.t1=e.catch(0),V.emit("error",e.t1),i.close(t.CloseCode.InternalClientError,p(e.t1 instanceof Error?e.t1.message:new Error(e.t1).message,"Internal client error"));case 21:case"end":return e.stop()}}),e,null,[[0,17]])}))),d=!1,i.onmessage=function(n){var r=n.data;try{var o=v(r,R);if(V.emit("message",o),"ping"===o.type||"pong"===o.type)return V.emit(o.type,!0,o.payload),void("pong"===o.type?f():T||(i.send(y(o.payload?{type:t.MessageType.Pong,payload:o.payload}:{type:t.MessageType.Pong})),V.emit("pong",!1,o.payload)));if(d)return;if(o.type!==t.MessageType.ConnectionAck)throw new Error("First message cannot be of type ".concat(o.type));clearTimeout(a),d=!0,V.emit("connected",i,o.payload),G=!1,H=0,e([i,new Promise((function(e,t){return U(t)}))])}catch(u){i.onmessage=null,V.emit("error",u),i.close(t.CloseCode.BadResponse,p(u instanceof Error?u.message:new Error(u).message,"Bad response"))}};case 26:case"end":return r.stop()}}),r)})))()}));case 2:if(n=e.sent,r=i(n,2),a=r[0],s=r[1],a.readyState!==M.CLOSING){e.next=9;break}return e.next=9,s;case 9:return f=function(){},d=new Promise((function(e){return f=e})),e.abrupt("return",[a,f,Promise.race([d.then((function(){if(!z){var e=function(){return a.close(1e3,"Normal Closure")};isFinite(E)&&E>0?setTimeout((function(){z||a.readyState!==M.OPEN||e()}),E):e()}})),s])]);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){if(g(e)&&(n=e.code,![1e3,1001,1006,1005,1012,1013,1013].includes(n)&&n>=1e3&&n<=1999||[t.CloseCode.InternalServerError,t.CloseCode.InternalClientError,t.CloseCode.BadRequest,t.CloseCode.BadResponse,t.CloseCode.Unauthorized,t.CloseCode.SubprotocolNotAcceptable,t.CloseCode.SubscriberAlreadyExists,t.CloseCode.TooManyInitialisationRequests].includes(e.code)))throw e;var n;if(K)return!1;if(g(e)&&1e3===e.code)return z>0;if(!k||H>=k)throw e;if(N(e))throw e;return G=!0}return d||u(o.mark((function e(){var t,n,r;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:z++;case 1:return e.prev=1,e.next=4,W();case 4:return t=e.sent,n=i(t,3),r=n[2],e.next=9,r;case 9:e.next=21;break;case 11:if(e.prev=11,e.t0=e.catch(1),e.prev=13,J(e.t0)){e.next=16;break}return e.abrupt("return");case 16:e.next=21;break;case 18:return e.prev=18,e.t1=e.catch(13),e.abrupt("return",null===b||void 0===b?void 0:b(e.t1));case 21:e.next=1;break;case 23:case"end":return e.stop()}}),e,null,[[1,11],[13,18]])})))(),{on:V.on,subscribe:function(e,n){var r=B(),a=!1,s=!1,c=function(){z--,a=!0};return u(o.mark((function u(){var l;return o.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:z++;case 1:return u.prev=1,u.delegateYield(o.mark((function u(){var l,p,f,d,h,m;return o.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,W();case 2:if(l=o.sent,p=i(l,3),f=p[0],d=p[1],h=p[2],!a){o.next=9;break}return o.abrupt("return",{v:d()});case 9:return m=V.onMessage(r,(function(e){switch(e.type){case t.MessageType.Next:return void n.next(e.payload);case t.MessageType.Error:return s=!0,a=!0,n.error(e.payload),void c();case t.MessageType.Complete:return a=!0,void c()}})),f.send(y({id:r,type:t.MessageType.Subscribe,payload:e},L)),c=function(){a||f.readyState!==M.OPEN||f.send(y({id:r,type:t.MessageType.Complete},L)),z--,a=!0,d()},o.next=14,h.finally(m);case 14:return o.abrupt("return",{v:void 0});case 15:case"end":return o.stop()}}),u)}))(),"t0",3);case 3:if("object"!==typeof(l=u.t0)){u.next=6;break}return u.abrupt("return",l.v);case 6:u.next=12;break;case 8:if(u.prev=8,u.t1=u.catch(1),J(u.t1)){u.next=12;break}return u.abrupt("return");case 12:u.next=1;break;case 14:case"end":return u.stop()}}),u,null,[[1,8]])})))().then((function(){s||n.complete()})).catch((function(e){n.error(e)})),function(){a||c()}},dispose:function(){return u(o.mark((function e(){var t;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(K=!0,!q){e.next=8;break}return e.next=4,q;case 4:t=e.sent,i(t,1)[0].close(1e3,"Normal Closure");case 8:case"end":return e.stop()}}),e)})))()},terminate:function(){q&&V.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}},t.isMessage=m,t.parseMessage=v,t.stringifyMessage=y,Object.defineProperty(t,"__esModule",{value:!0})},r(t)}).call(this,n(187))},993:function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,u=e[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw a}}return n}}},994:function(e,t,n){var r=n(965);e.exports=function(e){if(Array.isArray(e))return r(e)}},995:function(e,t){e.exports=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.")}},996:function(e,t){function n(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function u(e){n(o,i,a,u,s,"next",e)}function s(e){n(o,i,a,u,s,"throw",e)}u(void 0)}))}}},997:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(912),i=n(915),a=n(939),o=n(914);function u(e,t){switch(e.kind){case o.a.NULL:return null;case o.a.INT:return parseInt(e.value,10);case o.a.FLOAT:return parseFloat(e.value);case o.a.STRING:case o.a.ENUM:case o.a.BOOLEAN:return e.value;case o.a.LIST:return e.values.map((function(e){return u(e,t)}));case o.a.OBJECT:return Object(a.a)(e.fields,(function(e){return e.name.value}),(function(e){return u(e.value,t)}));case o.a.VARIABLE:return null===t||void 0===t?void 0:t[e.name.value]}Object(i.a)(0,"Unexpected value node: "+Object(r.a)(e))}},998:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(971);function i(e){return a(e.source,Object(r.a)(e.source,e.start))}function a(e,t){var n=e.locationOffset.column-1,r=u(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,s=t.line+a,c=1===t.line?n:0,l=t.column+c,p="".concat(e.name,":").concat(s,":").concat(l,"\n"),f=r.split(/\r\n|[\n\r]/g),d=f[i];if(d.length>120){for(var h=Math.floor(l/80),m=l%80,v=[],y=0;y<d.length;y+=80)v.push(d.slice(y,y+80));return p+o([["".concat(s),v[0]]].concat(v.slice(1,h+1).map((function(e){return["",e]})),[[" ",u(m-1)+"^"],["",v[h+1]]]))}return p+o([["".concat(s-1),f[i-1]],["".concat(s),d],["",u(l-1)+"^"],["".concat(s+1),f[i+1]]])}function o(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return u(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function u(e){return Array(e+1).join(" ")}},999:function(e,t,n){"use strict";function r(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,"__esModule",{value:!0})}}]);
|