postgraphile 4.13.0 → 5.0.0-0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/LICENSE.md +15 -20
  3. package/README.md +15 -170
  4. package/dist/cli-run.d.ts +3 -0
  5. package/dist/cli-run.d.ts.map +1 -0
  6. package/dist/cli-run.js +7 -0
  7. package/dist/cli-run.js.map +1 -0
  8. package/dist/cli.d.ts +21 -0
  9. package/dist/cli.d.ts.map +1 -0
  10. package/dist/cli.js +199 -0
  11. package/dist/cli.js.map +1 -0
  12. package/dist/index.d.ts +14 -0
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +88 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/plugins/PgV4BehaviorPlugin.d.ts +11 -0
  17. package/dist/plugins/PgV4BehaviorPlugin.d.ts.map +1 -0
  18. package/dist/plugins/PgV4BehaviorPlugin.js +73 -0
  19. package/dist/plugins/PgV4BehaviorPlugin.js.map +1 -0
  20. package/dist/plugins/PgV4InflectionPlugin.d.ts +11 -0
  21. package/dist/plugins/PgV4InflectionPlugin.d.ts.map +1 -0
  22. package/dist/plugins/PgV4InflectionPlugin.js +91 -0
  23. package/dist/plugins/PgV4InflectionPlugin.js.map +1 -0
  24. package/dist/plugins/PgV4NoIgnoreIndexes.d.ts +2 -0
  25. package/dist/plugins/PgV4NoIgnoreIndexes.d.ts.map +1 -0
  26. package/dist/plugins/PgV4NoIgnoreIndexes.js +72 -0
  27. package/dist/plugins/PgV4NoIgnoreIndexes.js.map +1 -0
  28. package/dist/plugins/PgV4SmartTagsPlugin.d.ts +11 -0
  29. package/dist/plugins/PgV4SmartTagsPlugin.d.ts.map +1 -0
  30. package/dist/plugins/PgV4SmartTagsPlugin.js +190 -0
  31. package/dist/plugins/PgV4SmartTagsPlugin.js.map +1 -0
  32. package/dist/presets/amber.d.ts +5 -0
  33. package/dist/presets/amber.d.ts.map +1 -0
  34. package/dist/presets/amber.js +38 -0
  35. package/dist/presets/amber.js.map +1 -0
  36. package/dist/presets/v4.d.ts +34 -0
  37. package/dist/presets/v4.d.ts.map +1 -0
  38. package/dist/presets/v4.js +142 -0
  39. package/dist/presets/v4.js.map +1 -0
  40. package/dist/schema.d.ts +34 -0
  41. package/dist/schema.d.ts.map +1 -0
  42. package/dist/schema.js +82 -0
  43. package/dist/schema.js.map +1 -0
  44. package/package.json +79 -154
  45. package/build/assets/favicon.ico.d.ts +0 -3
  46. package/build/assets/favicon.ico.js +0 -6
  47. package/build/assets/graphiql.html.d.ts +0 -2
  48. package/build/assets/graphiql.html.js +0 -6
  49. package/build/index.d.ts +0 -8
  50. package/build/index.js +0 -34
  51. package/build/interfaces.d.ts +0 -163
  52. package/build/interfaces.js +0 -3
  53. package/build/plugins.d.ts +0 -3
  54. package/build/plugins.js +0 -53
  55. package/build/postgraphile/cli.d.ts +0 -3
  56. package/build/postgraphile/cli.js +0 -541
  57. package/build/postgraphile/extendedFormatError.d.ts +0 -9
  58. package/build/postgraphile/extendedFormatError.js +0 -51
  59. package/build/postgraphile/http/createPostGraphileHttpRequestHandler.d.ts +0 -11
  60. package/build/postgraphile/http/createPostGraphileHttpRequestHandler.js +0 -976
  61. package/build/postgraphile/http/frameworks.d.ts +0 -110
  62. package/build/postgraphile/http/frameworks.js +0 -258
  63. package/build/postgraphile/http/liveSubscribe.d.ts +0 -22
  64. package/build/postgraphile/http/liveSubscribe.js +0 -89
  65. package/build/postgraphile/http/mapAsyncIterator.d.ts +0 -15
  66. package/build/postgraphile/http/mapAsyncIterator.js +0 -71
  67. package/build/postgraphile/http/setupServerSentEvents.d.ts +0 -9
  68. package/build/postgraphile/http/setupServerSentEvents.js +0 -51
  69. package/build/postgraphile/http/subscriptions.d.ts +0 -7
  70. package/build/postgraphile/http/subscriptions.js +0 -411
  71. package/build/postgraphile/index.d.ts +0 -5
  72. package/build/postgraphile/index.js +0 -14
  73. package/build/postgraphile/pluginHook.d.ts +0 -104
  74. package/build/postgraphile/pluginHook.js +0 -100
  75. package/build/postgraphile/postgraphile.d.ts +0 -20
  76. package/build/postgraphile/postgraphile.js +0 -332
  77. package/build/postgraphile/postgraphilerc.d.ts +0 -2
  78. package/build/postgraphile/postgraphilerc.js +0 -16
  79. package/build/postgraphile/schema/exportPostGraphileSchema.d.ts +0 -6
  80. package/build/postgraphile/schema/exportPostGraphileSchema.js +0 -45
  81. package/build/postgraphile/shutdownActions.d.ts +0 -41
  82. package/build/postgraphile/shutdownActions.js +0 -87
  83. package/build/postgraphile/withPostGraphileContext.d.ts +0 -55
  84. package/build/postgraphile/withPostGraphileContext.js +0 -457
  85. package/build/postgres/inventory/pgClientFromContext.d.ts +0 -8
  86. package/build/postgres/inventory/pgClientFromContext.js +0 -21
  87. package/build-turbo/assets/favicon.ico.d.ts +0 -3
  88. package/build-turbo/assets/favicon.ico.js +0 -6
  89. package/build-turbo/assets/graphiql.html.d.ts +0 -2
  90. package/build-turbo/assets/graphiql.html.js +0 -6
  91. package/build-turbo/index.d.ts +0 -8
  92. package/build-turbo/index.js +0 -34
  93. package/build-turbo/interfaces.d.ts +0 -163
  94. package/build-turbo/interfaces.js +0 -3
  95. package/build-turbo/plugins.d.ts +0 -3
  96. package/build-turbo/plugins.js +0 -53
  97. package/build-turbo/postgraphile/cli.d.ts +0 -3
  98. package/build-turbo/postgraphile/cli.js +0 -572
  99. package/build-turbo/postgraphile/extendedFormatError.d.ts +0 -9
  100. package/build-turbo/postgraphile/extendedFormatError.js +0 -61
  101. package/build-turbo/postgraphile/http/createPostGraphileHttpRequestHandler.d.ts +0 -11
  102. package/build-turbo/postgraphile/http/createPostGraphileHttpRequestHandler.js +0 -984
  103. package/build-turbo/postgraphile/http/frameworks.d.ts +0 -110
  104. package/build-turbo/postgraphile/http/frameworks.js +0 -258
  105. package/build-turbo/postgraphile/http/liveSubscribe.d.ts +0 -22
  106. package/build-turbo/postgraphile/http/liveSubscribe.js +0 -89
  107. package/build-turbo/postgraphile/http/mapAsyncIterator.d.ts +0 -15
  108. package/build-turbo/postgraphile/http/mapAsyncIterator.js +0 -71
  109. package/build-turbo/postgraphile/http/setupServerSentEvents.d.ts +0 -9
  110. package/build-turbo/postgraphile/http/setupServerSentEvents.js +0 -51
  111. package/build-turbo/postgraphile/http/subscriptions.d.ts +0 -7
  112. package/build-turbo/postgraphile/http/subscriptions.js +0 -410
  113. package/build-turbo/postgraphile/index.d.ts +0 -5
  114. package/build-turbo/postgraphile/index.js +0 -14
  115. package/build-turbo/postgraphile/pluginHook.d.ts +0 -104
  116. package/build-turbo/postgraphile/pluginHook.js +0 -100
  117. package/build-turbo/postgraphile/postgraphile.d.ts +0 -20
  118. package/build-turbo/postgraphile/postgraphile.js +0 -337
  119. package/build-turbo/postgraphile/postgraphilerc.d.ts +0 -2
  120. package/build-turbo/postgraphile/postgraphilerc.js +0 -16
  121. package/build-turbo/postgraphile/schema/exportPostGraphileSchema.d.ts +0 -6
  122. package/build-turbo/postgraphile/schema/exportPostGraphileSchema.js +0 -45
  123. package/build-turbo/postgraphile/shutdownActions.d.ts +0 -41
  124. package/build-turbo/postgraphile/shutdownActions.js +0 -87
  125. package/build-turbo/postgraphile/withPostGraphileContext.d.ts +0 -55
  126. package/build-turbo/postgraphile/withPostGraphileContext.js +0 -466
  127. package/build-turbo/postgres/inventory/pgClientFromContext.d.ts +0 -8
  128. package/build-turbo/postgres/inventory/pgClientFromContext.js +0 -21
  129. package/cli.js +0 -6
  130. package/index.js +0 -5
  131. package/isTurbo.js +0 -11
  132. package/plugins.d.ts +0 -1
  133. package/plugins.js +0 -5
  134. package/sponsors.json +0 -151
@@ -1,2 +0,0 @@
1
- declare const _default: "<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/><title>PostGraphile GraphiQL</title><meta name=\"robots\" content=\"noindex\"/><script src=\"https://unpkg.com/prettier@1.13.0/standalone.js\"></script><script src=\"https://unpkg.com/prettier@1.13.0/parser-graphql.js\"></script></head><body><div id=\"root\"></div><script>!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=264)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return k})),n.d(t,\"x\",(function(){return T})),n.d(t,\"R\",(function(){return O})),n.d(t,\"w\",(function(){return C})),n.d(t,\"N\",(function(){return S})),n.d(t,\"u\",(function(){return _})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return A})),n.d(t,\"T\",(function(){return D})),n.d(t,\"y\",(function(){return I})),n.d(t,\"E\",(function(){return L})),n.d(t,\"l\",(function(){return j})),n.d(t,\"F\",(function(){return M})),n.d(t,\"m\",(function(){return F})),n.d(t,\"J\",(function(){return R})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return q})),n.d(t,\"n\",(function(){return B})),n.d(t,\"O\",(function(){return z})),n.d(t,\"v\",(function(){return H})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return Q})),n.d(t,\"D\",(function(){return W})),n.d(t,\"k\",(function(){return K})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),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 oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Ee})),n.d(t,\"b\",(function(){return xe})),n.d(t,\"Q\",(function(){return Te}));var r=n(37),i=n(19),o=n(4),a=n(25),s=n(40),l=n(27),c=n(8),u=n(34),f=n(29),p=n(26),d=n(22);function h(e){return e}var m=n(32),v=n(28),g=n(3),y=n(2),b=n(13),E=n(137);function w(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 x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function k(e){return O(e)||S(e)||N(e)||D(e)||L(e)||M(e)||R(e)||V(e)}function T(e){if(!k(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL type.\"));return e}function O(e){return Object(f.a)(e,ce)}function C(e){if(!O(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Scalar type.\"));return e}function S(e){return Object(f.a)(e,ue)}function _(e){if(!S(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Object type.\"));return e}function N(e){return Object(f.a)(e,ge)}function A(e){if(!N(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Interface type.\"));return e}function D(e){return Object(f.a)(e,ye)}function I(e){if(!D(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Union type.\"));return e}function L(e){return Object(f.a)(e,Ee)}function j(e){if(!L(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Enum type.\"));return e}function M(e){return Object(f.a)(e,xe)}function F(e){if(!M(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Input Object type.\"));return e}function R(e){return Object(f.a)(e,$)}function P(e){if(!R(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL List type.\"));return e}function V(e){return Object(f.a)(e,X)}function U(e){if(!V(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function q(e){return O(e)||L(e)||M(e)||Z(e)&&q(e.ofType)}function B(e){if(!q(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL input type.\"));return e}function z(e){return O(e)||S(e)||N(e)||D(e)||L(e)||Z(e)&&z(e.ofType)}function H(e){if(!z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL output type.\"));return e}function G(e){return O(e)||L(e)}function Q(e){if(!G(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL leaf type.\"));return e}function W(e){return S(e)||N(e)||D(e)}function K(e){if(!W(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL composite type.\"));return e}function Y(e){return N(e)||D(e)}function J(e){if(!Y(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL abstract type.\"));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=T(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return R(e)||V(e)}function ee(e){if(!Z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL wrapping type.\"));return e}function te(e){return k(e)&&!V(e)}function ne(e){if(!te(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL nullable type.\"));return e}function re(e){if(e)return V(e)?e.ofType:e}function ie(e){return O(e)||S(e)||N(e)||D(e)||L(e)||M(e)}function oe(e){if(!ie(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL named type.\"));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return\"function\"==typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},$.prototype.toJSON=function(){return this.toString()},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),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(E.a)(e,t))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(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(o.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()},x(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.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(o.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()},x(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(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 pe(e){var t=se(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(s.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(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).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(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.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(u.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 V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.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(o.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()},x(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(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(o.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()},x(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(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)(ye);var Ee=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(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(o.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(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.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 g.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!=typeof e){var t=Object(o.a)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+we(this,t))}var n=this.getValue(e);if(null==n)throw new g.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==y.a.ENUM){var n=Object(b.a)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+we(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(b.a)(e);throw new g.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.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()},x(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function we(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Ee);var xe=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=ke.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(s.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()},x(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function ke(e){var t=se(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(s.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(l.a)(t.extensions),astNode:t.astNode}}))}function Te(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(xe)},function(e,t,n){\"use strict\";e.exports=n(175)},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\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(22),i=n(19),o=n(70),a=n(97);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})(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 c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e){var t=\"function\"==typeof Map?new Map:void 0;return(f=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 p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function p(e,t,n){return(p=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function d(){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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=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&&h(e,t)}(v,e);var t,n,a,s,f,p=(t=v,n=d(),function(){var e,r=m(t);if(n){var i=m(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return c(this,e)});function v(e,t,n,i,a,s,l){var f,d,h,m,g;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,v),g=p.call(this,e);var y,b=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,E=n;!E&&b&&(E=null===(y=b[0].loc)||void 0===y?void 0:y.source);var w,x=i;!x&&b&&(x=b.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),x&&0===x.length&&(x=void 0),i&&n?w=i.map((function(e){return Object(o.a)(n,e)})):b&&(w=b.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var k=l;if(null==k&&null!=s){var T=s.extensions;Object(r.a)(T)&&(k=T)}return Object.defineProperties(u(g),{name:{value:\"GraphQLError\"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(f=w)&&void 0!==f?f:void 0,enumerable:null!=w},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=b?b:void 0},source:{value:null!==(d=E)&&void 0!==d?d:void 0},positions:{value:null!==(h=x)&&void 0!==h?h:void 0},originalError:{value:s},extensions:{value:null!==(m=k)&&void 0!==m?m:void 0,enumerable:null!=k}}),null!=s&&s.stack?(Object.defineProperty(u(g),\"stack\",{value:s.stack,writable:!0,configurable:!0}),c(g)):(Error.captureStackTrace?Error.captureStackTrace(u(g),v):Object.defineProperty(u(g),\"stack\",{value:Error().stack,writable:!0,configurable:!0}),g)}return a=v,(s=[{key:\"toString\",value:function(){return g(this)}},{key:i.c,get:function(){return\"Object\"}}])&&l(a.prototype,s),f&&l(a,f),v}(f(Error));function g(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(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var l=s[o];t+=\"\\n\\n\"+Object(a.b)(e.source,l)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(69);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})(e)}function o(e){return a(e,[])}function a(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 o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,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=[],o=0;o<n;++o)i.push(a(e[o],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)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},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\"})},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"CharacterStream\",(function(){return r})),n.d(t,\"LexRules\",(function(){return f})),n.d(t,\"ParseRules\",(function(){return p})),n.d(t,\"isIgnored\",(function(){return u})),n.d(t,\"butNot\",(function(){return a})),n.d(t,\"list\",(function(){return o})),n.d(t,\"opt\",(function(){return i})),n.d(t,\"p\",(function(){return l})),n.d(t,\"t\",(function(){return s})),n.d(t,\"onlineParser\",(function(){return v})),n.d(t,\"AdditionalRuleKinds\",(function(){return T})),n.d(t,\"RuleKinds\",(function(){return O}));class r{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;if(\"string\"==typeof e){i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e}else e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]);return!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function i(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function a(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function l(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}var c=n(2);const u=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\" \"===e,f={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:/^#.*/},p={Document:[o(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return c.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:[h(\"query\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Mutation:[h(\"mutation\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Subscription:[h(\"subscription\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[l(\"(\"),o(\"VariableDefinition\"),l(\")\")],VariableDefinition:[\"Variable\",l(\":\"),\"Type\",i(\"DefaultValue\")],Variable:[l(\"$\",\"variable\"),m(\"variable\")],DefaultValue:[l(\"=\"),\"Value\"],SelectionSet:[l(\"{\"),o(\"Selection\"),l(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[m(\"property\"),l(\":\"),m(\"qualifier\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Field:[m(\"property\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Arguments:[l(\"(\"),o(\"Argument\"),l(\")\")],Argument:[m(\"attribute\"),l(\":\"),\"Value\"],FragmentSpread:[l(\"...\"),m(\"def\"),o(\"Directive\")],InlineFragment:[l(\"...\"),i(\"TypeCondition\"),o(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[h(\"fragment\"),i(a(m(\"def\"),[h(\"on\")])),\"TypeCondition\",o(\"Directive\"),\"SelectionSet\"],TypeCondition:[h(\"on\"),\"NamedType\"],Value(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:[s(\"Number\",\"number\")],StringValue:[{style:\"string\",match:e=>\"String\"===e.kind,update(e,t){t.value.startsWith('\"\"\"')&&(e.inBlockstring=!t.value.slice(3).endsWith('\"\"\"'))}}],BooleanValue:[s(\"Name\",\"builtin\")],NullValue:[s(\"Name\",\"keyword\")],EnumValue:[m(\"string-2\")],ListValue:[l(\"[\"),o(\"Value\"),l(\"]\")],ObjectValue:[l(\"{\"),o(\"ObjectField\"),l(\"}\")],ObjectField:[m(\"attribute\"),l(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[l(\"[\"),\"Type\",l(\"]\"),i(l(\"!\"))],NonNullType:[\"NamedType\",i(l(\"!\"))],NamedType:[(d=\"atom\",{style:d,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[l(\"@\",\"meta\"),m(\"meta\"),i(\"Arguments\")],DirectiveDef:[h(\"directive\"),l(\"@\",\"meta\"),m(\"meta\"),i(\"ArgumentsDef\"),h(\"on\"),o(\"DirectiveLocation\",l(\"|\"))],InterfaceDef:[h(\"interface\"),m(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],Implements:[h(\"implements\"),o(\"NamedType\",l(\"&\"))],DirectiveLocation:[m(\"string-2\")],SchemaDef:[h(\"schema\"),o(\"Directive\"),l(\"{\"),o(\"OperationTypeDef\"),l(\"}\")],OperationTypeDef:[m(\"keyword\"),l(\":\"),m(\"atom\")],ScalarDef:[h(\"scalar\"),m(\"atom\"),o(\"Directive\")],ObjectTypeDef:[h(\"type\"),m(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],FieldDef:[m(\"property\"),i(\"ArgumentsDef\"),l(\":\"),\"Type\",o(\"Directive\")],ArgumentsDef:[l(\"(\"),o(\"InputValueDef\"),l(\")\")],InputValueDef:[m(\"attribute\"),l(\":\"),\"Type\",i(\"DefaultValue\"),o(\"Directive\")],UnionDef:[h(\"union\"),m(\"atom\"),o(\"Directive\"),l(\"=\"),o(\"UnionMember\",l(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[h(\"enum\"),m(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"EnumValueDef\"),l(\"}\")],EnumValueDef:[m(\"string-2\"),o(\"Directive\")],InputDef:[h(\"input\"),m(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"InputValueDef\"),l(\"}\")],ExtendDef:[h(\"extend\"),\"ObjectTypeDef\"]};var d;function h(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function m(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}function v(e={eatWhitespace:e=>e.eatWhile(u),lexRules:f,parseRules:p,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return b(e.parseRules,t,c.a.DOCUMENT),t},token:(t,n)=>function(e,t,n){if(t.inBlockstring)return e.match(/.*\"\"\"/)?(t.inBlockstring=!1,\"string\"):(e.skipToEnd(),\"string\");const{lexRules:r,parseRules:i,eatWhitespace:o,editorConfig:a}=n;t.rule&&0===t.rule.length?E(t):t.needsAdvance&&(t.needsAdvance=!1,w(t,!0));if(e.sol()){const n=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return\"ws\";const s=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const 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/),b(y,t,\"Invalid\"),\"invalidchar\"}if(\"Comment\"===s.kind)return b(y,t,\"Comment\"),\"comment\";const l=g({},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)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(s,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&(null==n?void 0:n.separator)),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){b(i,t,n);continue}if(n.match&&n.match(s))return n.update&&n.update(t,s),\"Punctuation\"===s.kind?w(t,!0):t.needsAdvance=!0,n.style}k(t)}return g(t,l),b(y,t,\"Invalid\"),\"invalidchar\"}(t,n,e)}}function g(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const y={Invalid:[],Comment:[]};function b(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 E(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 w(e,t){if(x(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)E(e),e.rule&&(x(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function x(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function k(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)E(e);e.rule&&w(e,!1)}const T={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\"},O=Object.assign(Object.assign({},c.a),T)},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\"})},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),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 g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return E})),n.d(t,\"TypeMetaFieldDef\",(function(){return w})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return x})),n.d(t,\"introspectionTypes\",(function(){return k})),n.d(t,\"isIntrospectionType\",(function(){return T}));var r=n(12),i=n(4),o=n(11),a=n(13),s=n(7),l=n(50),c=n(10),u=n(0),f=new u.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 u.e(new u.d(new u.e(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:new u.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 u.e(new u.d(new u.e(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.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 u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:new u.e(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:new u.e(new u.d(new u.e(d))),resolve:function(e){return e.locations}},args:{type:new u.e(new u.d(new u.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 u.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:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.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 u.e(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.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 u.d(new u.e(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new u.d(new u.e(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:new u.d(new u.e(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:new u.d(new u.e(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new u.d(new u.e(v)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.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 u.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 u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:new u.e(new u.d(new u.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 u.e(h),resolve:function(e){return e.type}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.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 u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:new u.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(l.a)(n,t);return r?Object(a.a)(r):null}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),g=new u.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 u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),E={name:\"__schema\",type:new u.e(f),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},w={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:new u.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},x={name:\"__typename\",type:new u.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},k=Object.freeze([f,p,d,h,m,v,g,b]);function T(e){return k.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.d(t,\"d\",(function(){return f})),n.d(t,\"b\",(function(){return p})),n.d(t,\"e\",(function(){return h})),n.d(t,\"a\",(function(){return m})),n.d(t,\"c\",(function(){return v})),n.d(t,\"g\",(function(){return g})),n.d(t,\"f\",(function(){return y}));var r=n(52),i=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},o=n(4),a=n(22),s=n(2),l=n(13),c=n(3),u=n(0);var f=new u.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=d(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(o.a)(t)));if(n>2147483647||n<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \"+Object(o.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.a.INT)throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(l.a)(e)),e);var t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e.value),e);return t}});var p=new u.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=d(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(o.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.FLOAT&&e.kind!==s.a.INT)throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(l.a)(e)),e);return parseFloat(e.value)}});function d(e){if(Object(a.a)(e)){if(\"function\"==typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if(\"function\"==typeof e.toJSON)return e.toJSON()}return e}var h=new u.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=d(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(o.a)(e)))},parseValue:function(e){if(\"string\"!=typeof e)throw new c.a(\"String cannot represent a non string value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.STRING)throw new c.a(\"String cannot represent a non string value: \".concat(Object(l.a)(e)),e);return e.value}});var m=new u.g({name:\"Boolean\",description:\"The `Boolean` scalar type represents `true` or `false`.\",serialize:function(e){var t=d(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(o.a)(t)))},parseValue:function(e){if(\"boolean\"!=typeof e)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.BOOLEAN)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(l.a)(e)),e);return e.value}});var v=new u.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=d(e);if(\"string\"==typeof t)return t;if(i(t))return String(t);throw new c.a(\"ID cannot represent value: \".concat(Object(o.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(o.a)(e)))},parseLiteral:function(e){if(e.kind!==s.a.STRING&&e.kind!==s.a.INT)throw new c.a(\"ID cannot represent a non-string and non-integer value: \"+Object(l.a)(e),e);return e.value}}),g=Object.freeze([h,f,p,m,v]);function y(e){return g.some((function(t){var n=t.name;return e.name===n}))}},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}))},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},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(24),i=n(36);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+u(\" = \",r)+u(\" \",l(i,\" \"))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=u(\"\",t,\": \")+n,s=a+u(\"(\",l(r,\", \"),\")\");return s.length>80&&(s=a+u(\"(\\n\",f(l(r,\"\\n\")),\"\\n)\")),l([s,l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+u(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",u(\"on \",t),l(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(u(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(u(\"\",l(i,\" \"),\" \"))+o},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\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+u(\"(\",l(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l([\"schema\",l(t,\" \"),c(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+\": \"+r+u(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,u(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),c(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),c(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),c(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),c(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),c(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function c(e){return u(\"{\\n\",f(l(e,\"\\n\")),\"\\n}\")}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return null!=t&&\"\"!==t?e+t+n:\"\"}function f(e){return u(\" \",e.replace(/\\n/g,\"\\n \"))}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return null!=e&&e.some(p)}},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return le})),n.d(t,\"graphqlSync\",(function(){return ce})),n.d(t,\"GraphQLSchema\",(function(){return fe.a})),n.d(t,\"GraphQLDirective\",(function(){return E.c})),n.d(t,\"GraphQLScalarType\",(function(){return w.g})),n.d(t,\"GraphQLObjectType\",(function(){return w.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return w.c})),n.d(t,\"GraphQLUnionType\",(function(){return w.h})),n.d(t,\"GraphQLEnumType\",(function(){return w.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return w.b})),n.d(t,\"GraphQLList\",(function(){return w.d})),n.d(t,\"GraphQLNonNull\",(function(){return w.e})),n.d(t,\"specifiedScalarTypes\",(function(){return pe.g})),n.d(t,\"GraphQLInt\",(function(){return pe.d})),n.d(t,\"GraphQLFloat\",(function(){return pe.b})),n.d(t,\"GraphQLString\",(function(){return pe.e})),n.d(t,\"GraphQLBoolean\",(function(){return pe.a})),n.d(t,\"GraphQLID\",(function(){return pe.c})),n.d(t,\"specifiedDirectives\",(function(){return E.j})),n.d(t,\"GraphQLIncludeDirective\",(function(){return E.d})),n.d(t,\"GraphQLSkipDirective\",(function(){return E.e})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return E.b})),n.d(t,\"GraphQLSpecifiedByDirective\",(function(){return E.f})),n.d(t,\"TypeKind\",(function(){return b.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return E.a})),n.d(t,\"introspectionTypes\",(function(){return b.introspectionTypes})),n.d(t,\"__Schema\",(function(){return b.__Schema})),n.d(t,\"__Directive\",(function(){return b.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return b.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return b.__Type})),n.d(t,\"__Field\",(function(){return b.__Field})),n.d(t,\"__InputValue\",(function(){return b.__InputValue})),n.d(t,\"__EnumValue\",(function(){return b.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return b.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return b.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return b.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return b.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return fe.c})),n.d(t,\"isDirective\",(function(){return E.h})),n.d(t,\"isType\",(function(){return w.S})),n.d(t,\"isScalarType\",(function(){return w.R})),n.d(t,\"isObjectType\",(function(){return w.N})),n.d(t,\"isInterfaceType\",(function(){return w.H})),n.d(t,\"isUnionType\",(function(){return w.T})),n.d(t,\"isEnumType\",(function(){return w.E})),n.d(t,\"isInputObjectType\",(function(){return w.F})),n.d(t,\"isListType\",(function(){return w.J})),n.d(t,\"isNonNullType\",(function(){return w.L})),n.d(t,\"isInputType\",(function(){return w.G})),n.d(t,\"isOutputType\",(function(){return w.O})),n.d(t,\"isLeafType\",(function(){return w.I})),n.d(t,\"isCompositeType\",(function(){return w.D})),n.d(t,\"isAbstractType\",(function(){return w.C})),n.d(t,\"isWrappingType\",(function(){return w.U})),n.d(t,\"isNullableType\",(function(){return w.M})),n.d(t,\"isNamedType\",(function(){return w.K})),n.d(t,\"isRequiredArgument\",(function(){return w.P})),n.d(t,\"isRequiredInputField\",(function(){return w.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return pe.f})),n.d(t,\"isIntrospectionType\",(function(){return b.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return E.i})),n.d(t,\"assertSchema\",(function(){return fe.b})),n.d(t,\"assertDirective\",(function(){return E.g})),n.d(t,\"assertType\",(function(){return w.x})),n.d(t,\"assertScalarType\",(function(){return w.w})),n.d(t,\"assertObjectType\",(function(){return w.u})),n.d(t,\"assertInterfaceType\",(function(){return w.o})),n.d(t,\"assertUnionType\",(function(){return w.y})),n.d(t,\"assertEnumType\",(function(){return w.l})),n.d(t,\"assertInputObjectType\",(function(){return w.m})),n.d(t,\"assertListType\",(function(){return w.q})),n.d(t,\"assertNonNullType\",(function(){return w.s})),n.d(t,\"assertInputType\",(function(){return w.n})),n.d(t,\"assertOutputType\",(function(){return w.v})),n.d(t,\"assertLeafType\",(function(){return w.p})),n.d(t,\"assertCompositeType\",(function(){return w.k})),n.d(t,\"assertAbstractType\",(function(){return w.j})),n.d(t,\"assertWrappingType\",(function(){return w.z})),n.d(t,\"assertNullableType\",(function(){return w.t})),n.d(t,\"assertNamedType\",(function(){return w.r})),n.d(t,\"getNullableType\",(function(){return w.B})),n.d(t,\"getNamedType\",(function(){return w.A})),n.d(t,\"validateSchema\",(function(){return l.b})),n.d(t,\"assertValidSchema\",(function(){return l.a})),n.d(t,\"Token\",(function(){return de.b})),n.d(t,\"Source\",(function(){return he.a})),n.d(t,\"Location\",(function(){return de.a})),n.d(t,\"getLocation\",(function(){return me.a})),n.d(t,\"printLocation\",(function(){return ve.a})),n.d(t,\"printSourceLocation\",(function(){return ve.b})),n.d(t,\"Lexer\",(function(){return ge.a})),n.d(t,\"TokenKind\",(function(){return ye.a})),n.d(t,\"parse\",(function(){return a.a})),n.d(t,\"parseValue\",(function(){return a.c})),n.d(t,\"parseType\",(function(){return a.b})),n.d(t,\"print\",(function(){return S.a})),n.d(t,\"visit\",(function(){return be.c})),n.d(t,\"visitInParallel\",(function(){return be.d})),n.d(t,\"getVisitFn\",(function(){return be.b})),n.d(t,\"BREAK\",(function(){return be.a})),n.d(t,\"Kind\",(function(){return y.a})),n.d(t,\"DirectiveLocation\",(function(){return Ee.a})),n.d(t,\"isDefinitionNode\",(function(){return we.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return we.b})),n.d(t,\"isSelectionNode\",(function(){return we.c})),n.d(t,\"isValueNode\",(function(){return we.i})),n.d(t,\"isTypeNode\",(function(){return we.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return we.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return we.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return we.h})),n.d(t,\"isTypeExtensionNode\",(function(){return we.e})),n.d(t,\"execute\",(function(){return V})),n.d(t,\"executeSync\",(function(){return U})),n.d(t,\"defaultFieldResolver\",(function(){return ae})),n.d(t,\"defaultTypeResolver\",(function(){return oe})),n.d(t,\"responsePathAsArray\",(function(){return m})),n.d(t,\"getDirectiveValues\",(function(){return R})),n.d(t,\"subscribe\",(function(){return Se})),n.d(t,\"createSourceEventStream\",(function(){return Ae})),n.d(t,\"validate\",(function(){return s.c})),n.d(t,\"ValidationContext\",(function(){return De.b})),n.d(t,\"specifiedRules\",(function(){return Ie.a})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Le.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return je.a})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return Me.a})),n.d(t,\"KnownArgumentNamesRule\",(function(){return Fe.b})),n.d(t,\"KnownDirectivesRule\",(function(){return Re.a})),n.d(t,\"KnownFragmentNamesRule\",(function(){return Pe.a})),n.d(t,\"KnownTypeNamesRule\",(function(){return Ve.a})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Ue.a})),n.d(t,\"NoFragmentCyclesRule\",(function(){return qe.a})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Be.a})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return ze.a})),n.d(t,\"NoUnusedVariablesRule\",(function(){return He.a})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return Ge.a})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return Qe.a})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return We.b})),n.d(t,\"ScalarLeafsRule\",(function(){return Ke.a})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return Ye.a})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return Je.a})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return $e.a})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return Xe.a})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return Ze.a})),n.d(t,\"UniqueOperationNamesRule\",(function(){return et.a})),n.d(t,\"UniqueVariableNamesRule\",(function(){return tt.a})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return nt.a})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return rt.a})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return it.a})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return ot.a})),n.d(t,\"UniqueOperationTypesRule\",(function(){return at.a})),n.d(t,\"UniqueTypeNamesRule\",(function(){return st.a})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return lt.a})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return ct.a})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return ut.a})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return ft.a})),n.d(t,\"NoDeprecatedCustomRule\",(function(){return pt.a})),n.d(t,\"NoSchemaIntrospectionCustomRule\",(function(){return dt})),n.d(t,\"GraphQLError\",(function(){return v.a})),n.d(t,\"syntaxError\",(function(){return ht.a})),n.d(t,\"locatedError\",(function(){return g.a})),n.d(t,\"printError\",(function(){return v.b})),n.d(t,\"formatError\",(function(){return mt.a})),n.d(t,\"getIntrospectionQuery\",(function(){return vt.a})),n.d(t,\"getOperationAST\",(function(){return gt.a})),n.d(t,\"getOperationRootType\",(function(){return k})),n.d(t,\"introspectionFromSchema\",(function(){return Et})),n.d(t,\"buildClientSchema\",(function(){return wt.a})),n.d(t,\"buildASTSchema\",(function(){return Lt})),n.d(t,\"buildSchema\",(function(){return jt})),n.d(t,\"getDescription\",(function(){return It})),n.d(t,\"extendSchema\",(function(){return St})),n.d(t,\"lexicographicSortSchema\",(function(){return Ut})),n.d(t,\"printSchema\",(function(){return Gt})),n.d(t,\"printType\",(function(){return Jt})),n.d(t,\"printIntrospectionSchema\",(function(){return Qt})),n.d(t,\"typeFromAST\",(function(){return x.a})),n.d(t,\"valueFromAST\",(function(){return _.a})),n.d(t,\"valueFromASTUntyped\",(function(){return an.a})),n.d(t,\"astFromValue\",(function(){return Ht.a})),n.d(t,\"TypeInfo\",(function(){return sn.a})),n.d(t,\"visitWithTypeInfo\",(function(){return sn.b})),n.d(t,\"coerceInputValue\",(function(){return I})),n.d(t,\"concatAST\",(function(){return ln})),n.d(t,\"separateOperations\",(function(){return cn})),n.d(t,\"stripIgnoredCharacters\",(function(){return pn})),n.d(t,\"isEqualType\",(function(){return hn.b})),n.d(t,\"isTypeSubTypeOf\",(function(){return hn.c})),n.d(t,\"doTypesOverlap\",(function(){return hn.a})),n.d(t,\"assertValidName\",(function(){return mn.a})),n.d(t,\"isValidNameError\",(function(){return mn.b})),n.d(t,\"BreakingChangeType\",(function(){return bn})),n.d(t,\"DangerousChangeType\",(function(){return En})),n.d(t,\"findBreakingChanges\",(function(){return wn})),n.d(t,\"findDangerousChanges\",(function(){return xn})),n.d(t,\"findDeprecatedUsages\",(function(){return Mn}));var r=\"15.6.1\",i=Object.freeze({major:15,minor:6,patch:1,preReleaseTag:null});function o(e){return\"function\"==typeof(null==e?void 0:e.then)}var a=n(33),s=n(48),l=n(43),c=n(4);var u=n(11),f=n(8),p=n(22),d=n(58);function h(e,t,n){return{prev:e,key:t,typename:n}}function m(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var v=n(3),g=n(41),y=n(2),b=n(9),E=n(16),w=n(0),x=n(23);function k(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new v.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new v.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new v.a(\"Schema is not configured for subscriptions.\",t);return i}throw new v.a(\"Can only have query, mutation and subscription operations.\",t)}var T=n(38),O=n(25);function C(e){return e.map((function(e){return\"number\"==typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}var S=n(13),_=n(51),N=n(12),A=n(26),D=n(28);function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L;return j(e,t,n)}function L(e,t,n){var r=\"Invalid value \"+Object(c.a)(t);throw e.length>0&&(r+=' at \"value'.concat(C(e),'\"')),n.message=r+\": \"+n.message,n}function j(e,t,n,r){if(Object(w.L)(t))return null!=e?j(e,t.ofType,n,r):void n(m(r),e,new v.a('Expected non-nullable type \"'.concat(Object(c.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(w.J)(t)){var i=t.ofType,o=Object(d.a)(e,(function(e,t){var o=h(r,t,void 0);return j(e,i,n,o)}));return null!=o?o:[j(e,i,n,r)]}if(Object(w.F)(t)){if(!Object(p.a)(e))return void n(m(r),e,new v.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var a={},s=t.getFields(),l=0,f=Object(N.a)(s);l<f.length;l++){var g=f[l],y=e[g.name];if(void 0!==y)a[g.name]=j(y,g.type,n,h(r,g.name,t.name));else if(void 0!==g.defaultValue)a[g.name]=g.defaultValue;else if(Object(w.L)(g.type)){var b=Object(c.a)(g.type);n(m(r),e,new v.a('Field \"'.concat(g.name,'\" of required type \"').concat(b,'\" was not provided.')))}}for(var E=0,x=Object.keys(e);E<x.length;E++){var k=x[E];if(!s[k]){var T=Object(D.a)(k,Object.keys(t.getFields()));n(m(r),e,new v.a('Field \"'.concat(k,'\" is not defined by type \"').concat(t.name,'\".')+Object(A.a)(T)))}}return a}if(Object(w.I)(t)){var O;try{O=t.parseValue(e)}catch(i){return void(i instanceof v.a?n(m(r),e,i):n(m(r),e,new v.a('Expected type \"'.concat(t.name,'\". ')+i.message,void 0,void 0,void 0,void 0,i)))}return void 0===O&&n(m(r),e,new v.a('Expected type \"'.concat(t.name,'\".'))),O}Object(u.a)(0,\"Unexpected input type: \"+Object(c.a)(t))}function M(e,t,n,r){var i=[],o=null==r?void 0:r.maxErrors;try{var a=function(e,t,n,r){for(var i={},o=function(o){var a=t[o],s=a.variable.name.value,l=Object(x.a)(e,a.type);if(!Object(w.G)(l)){var u=Object(S.a)(a.type);return r(new v.a('Variable \"$'.concat(s,'\" expected value of type \"').concat(u,'\" which cannot be used as an input type.'),a.type)),\"continue\"}if(!P(n,s)){if(a.defaultValue)i[s]=Object(_.a)(a.defaultValue,l);else if(Object(w.L)(l)){var f=Object(c.a)(l);r(new v.a('Variable \"$'.concat(s,'\" of required type \"').concat(f,'\" was not provided.'),a))}return\"continue\"}var p=n[s];if(null===p&&Object(w.L)(l)){var d=Object(c.a)(l);return r(new v.a('Variable \"$'.concat(s,'\" of non-null type \"').concat(d,'\" must not be null.'),a)),\"continue\"}i[s]=I(p,l,(function(e,t,n){var i='Variable \"$'.concat(s,'\" got invalid value ')+Object(c.a)(t);e.length>0&&(i+=' at \"'.concat(s).concat(C(e),'\"')),r(new v.a(i+\"; \"+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a<t.length;a++)o(a);return i}(e,t,n,(function(e){if(null!=o&&i.length>=o)throw new v.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:a}}catch(e){i.push(e)}return{errors:i}}function F(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],a=Object(O.a)(o,(function(e){return e.name.value})),s=0,l=e.args;s<l.length;s++){var u=l[s],f=u.name,p=u.type,d=a[f];if(d){var h=d.value,m=h.kind===y.a.NULL;if(h.kind===y.a.VARIABLE){var g=h.name.value;if(null==n||!P(n,g)){if(void 0!==u.defaultValue)i[f]=u.defaultValue;else if(Object(w.L)(p))throw new v.a('Argument \"'.concat(f,'\" of required type \"').concat(Object(c.a)(p),'\" ')+'was provided the variable \"$'.concat(g,'\" which was not provided a runtime value.'),h);continue}m=null==n[g]}if(m&&Object(w.L)(p))throw new v.a('Argument \"'.concat(f,'\" of non-null type \"').concat(Object(c.a)(p),'\" ')+\"must not be null.\",h);var b=Object(_.a)(h,p,n);if(void 0===b)throw new v.a('Argument \"'.concat(f,'\" has invalid value ').concat(Object(S.a)(h),\".\"),h);i[f]=b}else if(void 0!==u.defaultValue)i[f]=u.defaultValue;else if(Object(w.L)(p))throw new v.a('Argument \"'.concat(f,'\" of required type \"').concat(Object(c.a)(p),'\" ')+\"was not provided.\",t)}return i}function R(e,t,n){var r=t.directives&&Object(T.a)(t.directives,(function(t){return t.name.value===e.name}));if(r)return F(e,r,n)}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function V(e,t,n,r,i,o,a,s){return q(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function U(e){var t=q(e);if(o(t))throw new Error(\"GraphQL execution failed to complete synchronously.\");return t}function q(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver;B(t,n,a);var u=z(t,n,r,i,a,s,l,c);if(Array.isArray(u))return{errors:u};var f=function(e,t,n){var r=k(e.schema,t),i=G(e,r,t.selectionSet,Object.create(null),Object.create(null));try{var a=\"mutation\"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(a,s){var l=i[s],c=h(r,s,t.name),u=K(e,t,n,l,c);return void 0===u?a:o(u)?u.then((function(e){return a[s]=e,a})):(a[s]=u,a)},l=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,void 0,i):H(e,r,n,void 0,i);return o(a)?a.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):a}catch(t){return e.errors.push(t),null}}(u,u.operation,r);return function e(t,n){if(o(n))return n.then((function(n){return e(t,n)}));return 0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(u,f)}function B(e,t,n){t||Object(f.a)(0,\"Must provide document.\"),Object(l.a)(e),null==n||Object(p.a)(n)||Object(f.a)(0,\"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.\")}function z(e,t,n,r,i,o,a,s){for(var l,c,u,f=Object.create(null),p=0,d=t.definitions;p<d.length;p++){var h=d[p];switch(h.kind){case y.a.OPERATION_DEFINITION:if(null==o){if(void 0!==u)return[new v.a(\"Must provide operation name if query contains multiple operations.\")];u=h}else(null===(l=h.name)||void 0===l?void 0:l.value)===o&&(u=h);break;case y.a.FRAGMENT_DEFINITION:f[h.name.value]=h}}if(!u)return null!=o?[new v.a('Unknown operation named \"'.concat(o,'\".'))]:[new v.a(\"Must provide an operation.\")];var m=M(e,null!==(c=u.variableDefinitions)&&void 0!==c?c:[],null!=i?i:{},{maxErrors:50});return m.errors?m.errors:{schema:e,fragments:f,rootValue:n,contextValue:r,operation:u,variableValues:m.coerced,fieldResolver:null!=a?a:ae,typeResolver:null!=s?s:oe,errors:[]}}function H(e,t,n,r,i){for(var a,s,l,c=Object.create(null),u=!1,f=0,p=Object.keys(i);f<p.length;f++){var d=p[f],m=K(e,t,n,i[d],h(r,d,t.name));void 0!==m&&(c[d]=m,o(m)&&(u=!0))}return u?(a=c,s=Object.keys(a),l=s.map((function(e){return a[e]})),Promise.all(l).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):c}function G(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case y.a.FIELD:if(!Q(e,s))continue;var l=(f=s).alias?f.alias.value:f.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case y.a.INLINE_FRAGMENT:if(!Q(e,s)||!W(e,s,t))continue;G(e,t,s.selectionSet,r,i);break;case y.a.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!Q(e,s))continue;i[c]=!0;var u=e.fragments[c];if(!u||!W(e,u,t))continue;G(e,t,u.selectionSet,r,i)}}var f;return r}function Q(e,t){var n=R(E.e,t,e.variableValues);if(!0===(null==n?void 0:n.if))return!1;var r=R(E.d,t,e.variableValues);return!1!==(null==r?void 0:r.if)}function W(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=Object(x.a)(e.schema,r);return i===n||!!Object(w.C)(i)&&e.schema.isSubType(i,n)}function K(e,t,n,r,i){var a,s=r[0].name.value,l=se(e.schema,t,s);if(l){var c=l.type,u=null!==(a=l.resolve)&&void 0!==a?a:e.fieldResolver,f=Y(e,l,r,t,i);try{var p,d=u(n,F(l,r[0],e.variableValues),e.contextValue,f);return p=o(d)?d.then((function(t){return $(e,c,r,f,i,t)})):$(e,c,r,f,i,d),o(p)?p.then(void 0,(function(t){return J(Object(g.a)(t,r,m(i)),c,e)})):p}catch(t){return J(Object(g.a)(t,r,m(i)),c,e)}}}function Y(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function J(e,t,n){if(Object(w.L)(t))throw e;return n.errors.push(e),null}function $(e,t,n,r,i,a){if(a instanceof Error)throw a;if(Object(w.L)(t)){var s=$(e,t.ofType,n,r,i,a);if(null===s)throw new Error(\"Cannot return null for non-nullable field \".concat(r.parentType.name,\".\").concat(r.fieldName,\".\"));return s}return null==a?null:Object(w.J)(t)?function(e,t,n,r,i,a){var s=t.ofType,l=!1,c=Object(d.a)(a,(function(t,a){var c=h(i,a,void 0);try{var u;return u=o(t)?t.then((function(t){return $(e,s,n,r,c,t)})):$(e,s,n,r,c,t),o(u)?(l=!0,u.then(void 0,(function(t){return J(Object(g.a)(t,n,m(c)),s,e)}))):u}catch(t){return J(Object(g.a)(t,n,m(c)),s,e)}}));if(null==c)throw new v.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));return l?Promise.all(c):c}(e,t,n,r,i,a):Object(w.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(c.a)(e),'\" but ')+\"received: \".concat(Object(c.a)(t)));return n}(t,a):Object(w.C)(t)?function(e,t,n,r,i,a){var s,l=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,u=l(a,c,r,t);if(o(u))return u.then((function(o){return Z(e,X(o,e,t,n,r,a),n,r,i,a)}));return Z(e,X(u,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,a):Object(w.N)(t)?Z(e,t,n,r,i,a):void Object(u.a)(0,\"Cannot complete value of unexpected output type: \"+Object(c.a)(t))}function X(e,t,n,r,i,o){if(null==e)throw new v.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\". Either the \"').concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);var a=Object(w.K)(e)?e.name:e;if(\"string\"!=typeof a)throw new v.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(c.a)(o),', received \"').concat(Object(c.a)(e),'\".'));var s=t.schema.getType(a);if(null==s)throw new v.a('Abstract type \"'.concat(n.name,'\" was resolve to a type \"').concat(a,'\" that does not exist inside schema.'),r);if(!Object(w.N)(s))throw new v.a('Abstract type \"'.concat(n.name,'\" was resolve to a non-object type \"').concat(a,'\".'),r);if(!t.schema.isSubType(n,s))throw new v.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function Z(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw ee(t,a,n);return te(e,t,n,i,a)}));if(!s)throw ee(t,a,n)}return te(e,t,n,i,a)}function ee(e,t,n){return new v.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(c.a)(t),\".\"),n)}function te(e,t,n,r,i){return H(e,t,i,r,ie(e,t,n))}var ne,re,ie=(ne=function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=G(e,t,a.selectionSet,r,i))}return r},function(e,t,n){re||(re=new WeakMap);var r,i=re.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,re.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=ne(e,t,n);return r.set(n,a),a});var oe=function(e,t,n,r){if(Object(p.a)(e)&&\"string\"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var l=i[s];if(l.isTypeOf){var c=l.isTypeOf(e,t,n);if(o(c))a[s]=c;else if(c)return l.name}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t].name})):void 0},ae=function(e,t,n,r){if(Object(p.a)(e)||\"function\"==typeof e){var i=e[r.fieldName];return\"function\"==typeof i?e[r.fieldName](t,n,r):i}};function se(e,t,n){return n===b.SchemaMetaFieldDef.name&&e.getQueryType()===t?b.SchemaMetaFieldDef:n===b.TypeMetaFieldDef.name&&e.getQueryType()===t?b.TypeMetaFieldDef:n===b.TypeNameMetaFieldDef.name?b.TypeNameMetaFieldDef:t.getFields()[n]}function le(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(c){return c(1===l.length?ue(e):ue({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function ce(e,t,n,r,i,a,s,l){var c=ue(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(c))throw new Error(\"GraphQL execution failed to complete synchronously.\");return c}function ue(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,c=e.variableValues,u=e.operationName,f=e.fieldResolver,p=e.typeResolver,d=Object(l.b)(n);if(d.length>0)return{errors:d};try{t=Object(a.a)(r)}catch(e){return{errors:[e]}}var h=Object(s.c)(n,t);return h.length>0?{errors:h}:V({schema:n,document:t,rootValue:i,contextValue:o,variableValues:c,operationName:u,fieldResolver:f,typeResolver:p})}var fe=n(39),pe=n(10),de=n(18),he=n(62),me=n(70),ve=n(97),ge=n(63),ye=n(5),be=n(24),Ee=n(7),we=n(31),xe=n(19);function ke(e){return\"function\"==typeof(null==e?void 0:e[xe.a])}function Te(e,t,n){var r,i,o,a,s,l,c=e[xe.a].call(e);function u(e){return e.done?e:Oe(e.value,t).then(Ce,i)}if(\"function\"==typeof c.return&&(r=c.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var f=n;o=function(e){return Oe(e,f).then(Ce,i)}}return a={next:function(){return c.next().then(u,o)},return:function(){return r?r.call(c).then(u,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"==typeof c.throw?c.throw(e).then(u,o):Promise.reject(e).catch(i)}},s=xe.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Oe(e,t){return new Promise((function(n){return n(t(e))}))}function Ce(e){return{value:e,done:!1}}function Se(e,t,n,r,i,o,a,s){return Ne(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function _e(e){if(e instanceof v.a)return{errors:[e]};throw e}function Ne(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=Ae(t,n,r,i,o,a,l),u=function(e){return V({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return c.then((function(e){return ke(e)?Te(e,u,_e):e}))}function Ae(e,t,n,r,i,o,a){return B(e,t,i),new Promise((function(s){var l=z(e,t,n,r,i,o,a);s(Array.isArray(l)?{errors:l}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,i=e.rootValue,o=k(t,n),a=G(e,o,n.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],l=a[s],u=l[0].name.value,f=se(t,o,u);if(!f)throw new v.a('The subscription field \"'.concat(u,'\" is not defined.'),l);var p=h(void 0,s,o.name),d=Y(e,f,l,o,p);return new Promise((function(t){var n,o=F(f,l[0],r),a=e.contextValue;t((null!==(n=f.subscribe)&&void 0!==n?n:e.fieldResolver)(i,o,a,d))})).then((function(e){if(e instanceof Error)throw Object(g.a)(e,l,m(p));if(!ke(e))throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(c.a)(e),\".\"));return e}),(function(e){throw Object(g.a)(e,l,m(p))}))}(l))})).catch(_e)}var De=n(106),Ie=n(98),Le=n(133),je=n(141),Me=n(138),Fe=n(102),Re=n(100),Pe=n(143),Ve=n(99),Ue=n(135),qe=n(146),Be=n(148),ze=n(144),He=n(149),Ge=n(152),Qe=n(145),We=n(104),Ke=n(140),Ye=n(136),Je=n(103),$e=n(101),Xe=n(142),Ze=n(105),et=n(134),tt=n(147),nt=n(150),rt=n(139),it=n(151),ot=n(153),at=n(154),st=n(155),lt=n(156),ct=n(157),ut=n(158),ft=n(159),pt=n(164);function dt(e){return{Field:function(t){var n=Object(w.A)(e.getType());n&&Object(b.isIntrospectionType)(n)&&e.reportError(new v.a('GraphQL introspection has been disabled, but the requested query contained the field \"'.concat(t.name.value,'\".'),t))}}}var ht=n(30),mt=n(266),vt=n(107),gt=n(275);function yt(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 bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){bt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),r=U({schema:e,document:Object(a.a)(Object(vt.a)(n))});return!r.errors&&r.data||Object(u.a)(0),r.data}var wt=n(267),xt=n(40),kt=n(36);function Tt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Ct(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t,n){Object(fe.b)(e),null!=t&&t.kind===y.a.DOCUMENT||Object(f.a)(0,\"Must provide valid Document AST.\"),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&Object(s.b)(t,e);var r=e.toConfig(),i=_t(r,t,n);return r===i?e:new fe.a(i)}function _t(e,t,n){for(var r,i,o,a,s,l=[],f=Object.create(null),p=[],d=[],h=0,m=t.definitions;h<m.length;h++){var v=m[h];if(v.kind===y.a.SCHEMA_DEFINITION)s=v;else if(v.kind===y.a.SCHEMA_EXTENSION)d.push(v);else if(Object(we.d)(v))l.push(v);else if(Object(we.e)(v)){var g=v.name.value,x=f[g];f[g]=x?x.concat([v]):[v]}else v.kind===y.a.DIRECTIVE_DEFINITION&&p.push(v)}if(0===Object.keys(f).length&&0===l.length&&0===p.length&&0===d.length&&null==s)return e;for(var k=Object.create(null),T=0,O=e.types;T<O.length;T++){var C=O[T];k[C.name]=F(C)}for(var S=0;S<l.length;S++){var A,D=l[S],I=D.name.value;k[I]=null!==(A=Nt[I])&&void 0!==A?A:K(D)}var L=Ot(Ot({query:e.query&&M(e.query),mutation:e.mutation&&M(e.mutation),subscription:e.subscription&&M(e.subscription)},s&&V([s])),V(d));return Ot(Ot({description:null===(r=s)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},L),{},{types:Object(N.a)(k),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new E.c(Ot(Ot({},t),{},{args:Object(xt.a)(t.args,P)}))})),p.map((function(e){var t=e.locations.map((function(e){return e.value}));return new E.c({name:e.name.value,description:It(e,n),locations:t,isRepeatable:e.repeatable,args:z(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(o=s)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(a=null==n?void 0:n.assumeValid)&&void 0!==a&&a});function j(e){return Object(w.J)(e)?new w.d(j(e.ofType)):Object(w.L)(e)?new w.e(j(e.ofType)):M(e)}function M(e){return k[e.name]}function F(e){return Object(b.isIntrospectionType)(e)||Object(pe.f)(e)?e:Object(w.R)(e)?function(e){for(var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[],i=n.specifiedByUrl,o=0;o<r.length;o++){var a,s=r[o];i=null!==(a=Dt(s))&&void 0!==a?a:i}return new w.g(Ot(Ot({},n),{},{specifiedByUrl:i,extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(w.N)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new w.f(Ot(Ot({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(M),Q(r))},fields:function(){return Ot(Ot({},Object(xt.a)(n.fields,R)),B(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(w.H)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new w.c(Ot(Ot({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(M),Q(r))},fields:function(){return Ot(Ot({},Object(xt.a)(n.fields,R)),B(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(w.T)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new w.h(Ot(Ot({},n),{},{types:function(){return[].concat(e.getTypes().map(M),W(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(w.E)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[e.name])&&void 0!==t?t:[];return new w.a(Ot(Ot({},n),{},{values:Ot(Ot({},n.values),G(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(w.F)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new w.b(Ot(Ot({},n),{},{fields:function(){return Ot(Ot({},Object(xt.a)(n.fields,(function(e){return Ot(Ot({},e),{},{type:j(e.type)})}))),H(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):void Object(u.a)(0,\"Unexpected type: \"+Object(c.a)(e))}function R(e){return Ot(Ot({},e),{},{type:j(e.type),args:Object(xt.a)(e.args,P)})}function P(e){return Ot(Ot({},e),{},{type:j(e.type)})}function V(e){for(var t={},n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=U(a.type)}return t}function U(e){var t,n=e.name.value,r=null!==(t=Nt[n])&&void 0!==t?t:k[n];if(void 0===r)throw new Error('Unknown type: \"'.concat(n,'\".'));return r}function q(e){return e.kind===y.a.LIST_TYPE?new w.d(q(e.type)):e.kind===y.a.NON_NULL_TYPE?new w.e(q(e.type)):U(e)}function B(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:q(s.type),description:It(s,n),args:z(s.arguments),deprecationReason:At(s),astNode:s}}return t}function z(e){for(var t=null!=e?e:[],r=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=q(o.type);r[o.name.value]={type:a,description:It(o,n),defaultValue:Object(_.a)(o.defaultValue,a),deprecationReason:At(o),astNode:o}}return r}function H(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],l=q(s.type);t[s.name.value]={type:l,description:It(s,n),defaultValue:Object(_.a)(s.defaultValue,l),deprecationReason:At(s),astNode:s}}return t}function G(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].values)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:It(s,n),deprecationReason:At(s),astNode:s}}return t}function Q(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].interfaces)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(U(a))}return t}function W(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].types)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(U(a))}return t}function K(e){var t,r=e.name.value,i=It(e,n),o=null!==(t=f[r])&&void 0!==t?t:[];switch(e.kind){case y.a.OBJECT_TYPE_DEFINITION:var a=o,s=[e].concat(a);return new w.f({name:r,description:i,interfaces:function(){return Q(s)},fields:function(){return B(s)},astNode:e,extensionASTNodes:a});case y.a.INTERFACE_TYPE_DEFINITION:var l=o,p=[e].concat(l);return new w.c({name:r,description:i,interfaces:function(){return Q(p)},fields:function(){return B(p)},astNode:e,extensionASTNodes:l});case y.a.ENUM_TYPE_DEFINITION:var d=o,h=[e].concat(d);return new w.a({name:r,description:i,values:G(h),astNode:e,extensionASTNodes:d});case y.a.UNION_TYPE_DEFINITION:var m=o,v=[e].concat(m);return new w.h({name:r,description:i,types:function(){return W(v)},astNode:e,extensionASTNodes:m});case y.a.SCALAR_TYPE_DEFINITION:var g=o;return new w.g({name:r,description:i,specifiedByUrl:Dt(e),astNode:e,extensionASTNodes:g});case y.a.INPUT_OBJECT_TYPE_DEFINITION:var b=o,E=[e].concat(b);return new w.b({name:r,description:i,fields:function(){return H(E)},astNode:e,extensionASTNodes:b})}Object(u.a)(0,\"Unexpected type definition node: \"+Object(c.a)(e))}}var Nt=Object(O.a)(pe.g.concat(b.introspectionTypes),(function(e){return e.name}));function At(e){var t=R(E.b,e);return null==t?void 0:t.reason}function Dt(e){var t=R(E.f,e);return null==t?void 0:t.url}function It(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;null!=r&&r.kind===ye.a.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var i=String(r.value);n.push(i),r=r.prev}return n.length>0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(kt.a)(\"\\n\"+n)}}function Lt(e,t){null!=e&&e.kind===y.a.DOCUMENT||Object(f.a)(0,\"Must provide valid Document AST.\"),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&Object(s.a)(e);var n=_t({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,i=n.types;r<i.length;r++){var o=i[r];switch(o.name){case\"Query\":n.query=o;break;case\"Mutation\":n.mutation=o;break;case\"Subscription\":n.subscription=o}}for(var a=n.directives,l=function(e){var t=E.j[e];a.every((function(e){return e.name!==t.name}))&&a.push(t)},c=0;c<E.j.length;c++)l(c);return new fe.a(n)}function jt(e,t){return Lt(Object(a.a)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}var Mt=n(34),Ft=n(47);function Rt(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){Vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(e){var t=e.toConfig(),n=Object(Mt.a)(Bt(t.types),(function(e){return e.name}),(function(e){if(Object(w.R)(e)||Object(b.isIntrospectionType)(e))return e;if(Object(w.N)(e)){var t=e.toConfig();return new w.f(Pt(Pt({},t),{},{interfaces:function(){return l(t.interfaces)},fields:function(){return s(t.fields)}}))}if(Object(w.H)(e)){var n=e.toConfig();return new w.c(Pt(Pt({},n),{},{interfaces:function(){return l(n.interfaces)},fields:function(){return s(n.fields)}}))}if(Object(w.T)(e)){var i=e.toConfig();return new w.h(Pt(Pt({},i),{},{types:function(){return l(i.types)}}))}if(Object(w.E)(e)){var o=e.toConfig();return new w.a(Pt(Pt({},o),{},{values:qt(o.values)}))}if(Object(w.F)(e)){var a=e.toConfig();return new w.b(Pt(Pt({},a),{},{fields:function(){return qt(a.fields,(function(e){return Pt(Pt({},e),{},{type:r(e.type)})}))}}))}Object(u.a)(0,\"Unexpected type: \"+Object(c.a)(e))}));return new fe.a(Pt(Pt({},t),{},{types:Object(N.a)(n),directives:Bt(t.directives).map((function(e){var t=e.toConfig();return new E.c(Pt(Pt({},t),{},{locations:zt(t.locations,(function(e){return e})),args:a(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return Object(w.J)(e)?new w.d(r(e.ofType)):Object(w.L)(e)?new w.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function a(e){return qt(e,(function(e){return Pt(Pt({},e),{},{type:r(e.type)})}))}function s(e){return qt(e,(function(e){return Pt(Pt({},e),{},{type:r(e.type),args:a(e.args)})}))}function l(e){return Bt(e).map(i)}}function qt(e,t){for(var n=Object.create(null),r=zt(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function Bt(e){return zt(e,(function(e){return e.name}))}function zt(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return Object(Ft.a)(r,i)}))}var Ht=n(50);function Gt(e,t){return Kt(e,(function(e){return!Object(E.i)(e)}),Wt,t)}function Qt(e,t){return Kt(e,E.i,b.isIntrospectionType,t)}function Wt(e){return!Object(pe.f)(e)&&!Object(b.isIntrospectionType)(e)}function Kt(e,t,n,r){var i=e.getDirectives().filter(t),o=Object(N.a)(e.getTypeMap()).filter(n);return[Yt(e)].concat(i.map((function(e){return function(e,t){return rn(t,e)+\"directive @\"+e.name+en(t,e.args)+(e.isRepeatable?\" repeatable\":\"\")+\" on \"+e.locations.join(\" | \")}(e,r)})),o.map((function(e){return Jt(e,r)}))).filter(Boolean).join(\"\\n\\n\")+\"\\n\"}function Yt(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&\"Query\"!==t.name)return!1;var n=e.getMutationType();if(n&&\"Mutation\"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&\"Subscription\"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push(\" query: \".concat(n.name));var r=e.getMutationType();r&&t.push(\" mutation: \".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(\" subscription: \".concat(i.name)),rn({},e)+\"schema {\\n\".concat(t.join(\"\\n\"),\"\\n}\")}}function Jt(e,t){return Object(w.R)(e)?function(e,t){return rn(t,e)+\"scalar \".concat(e.name)+function(e){if(null==e.specifiedByUrl)return\"\";var t=e.specifiedByUrl,n=Object(Ht.a)(t,pe.e);return n||Object(u.a)(0,\"Unexpected null value returned from `astFromValue` for specifiedByUrl\"),\" @specifiedBy(url: \"+Object(S.a)(n)+\")\"}(e)}(e,t):Object(w.N)(e)?function(e,t){return rn(t,e)+\"type \".concat(e.name)+$t(e)+Xt(t,e)}(e,t):Object(w.H)(e)?function(e,t){return rn(t,e)+\"interface \".concat(e.name)+$t(e)+Xt(t,e)}(e,t):Object(w.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?\" = \"+n.join(\" | \"):\"\";return rn(t,e)+\"union \"+e.name+r}(e,t):Object(w.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return rn(t,e,\" \",!n)+\" \"+e.name+nn(e.deprecationReason)}));return rn(t,e)+\"enum \".concat(e.name)+Zt(n)}(e,t):Object(w.F)(e)?function(e,t){var n=Object(N.a)(e.getFields()).map((function(e,n){return rn(t,e,\" \",!n)+\" \"+tn(e)}));return rn(t,e)+\"input \".concat(e.name)+Zt(n)}(e,t):void Object(u.a)(0,\"Unexpected type: \"+Object(c.a)(e))}function $t(e){var t=e.getInterfaces();return t.length?\" implements \"+t.map((function(e){return e.name})).join(\" & \"):\"\"}function Xt(e,t){return Zt(Object(N.a)(t.getFields()).map((function(t,n){return rn(e,t,\" \",!n)+\" \"+t.name+en(e,t.args,\" \")+\": \"+String(t.type)+nn(t.deprecationReason)})))}function Zt(e){return 0!==e.length?\" {\\n\"+e.join(\"\\n\")+\"\\n}\":\"\"}function en(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(tn).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return rn(e,t,\" \"+n,!r)+\" \"+n+tn(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function tn(e){var t=Object(Ht.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(S.a)(t))),n+nn(e.deprecationReason)}function nn(e){if(null==e)return\"\";var t=Object(Ht.a)(e,pe.e);return t&&e!==E.a?\" @deprecated(reason: \"+Object(S.a)(t)+\")\":\" @deprecated\"}function rn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null==e?void 0:e.commentDescriptions))return on(i,n,r);var o=i.length>70,a=Object(kt.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function on(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var an=n(137),sn=n(45);function ln(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t=t.concat(r.definitions)}return{kind:\"Document\",definitions:t}}function cn(e){for(var t=[],n=Object.create(null),r=0,i=e.definitions;r<i.length;r++){var o=i[r];switch(o.kind){case y.a.OPERATION_DEFINITION:t.push(o);break;case y.a.FRAGMENT_DEFINITION:n[o.name.value]=fn(o.selectionSet)}}for(var a=Object.create(null),s=function(r){for(var i=t[r],o=new Set,s=0,l=fn(i.selectionSet);s<l.length;s++){var c=l[s];un(o,n,c)}var u=i.name?i.name.value:\"\";a[u]={kind:y.a.DOCUMENT,definitions:e.definitions.filter((function(e){return e===i||e.kind===y.a.FRAGMENT_DEFINITION&&o.has(e.name.value)}))}},l=0;l<t.length;l++)s(l);return a}function un(e,t,n){if(!e.has(n)){e.add(n);var r=t[n];if(void 0!==r)for(var i=0;i<r.length;i++){un(e,t,r[i])}}}function fn(e){var t=[];return Object(be.c)(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function pn(e){for(var t=Object(he.b)(e)?e:new he.a(e),n=t.body,r=new ge.a(t),i=\"\",o=!1;r.advance().kind!==ye.a.EOF;){var a=r.token,s=a.kind,l=!Object(ge.b)(a.kind);o&&(l||a.kind===ye.a.SPREAD)&&(i+=\" \");var c=n.slice(a.start,a.end);s===ye.a.BLOCK_STRING?i+=dn(c):i+=c,o=l}return i}function dn(e){var t=e.slice(3,-3),n=Object(kt.a)(t);Object(kt.b)(n)>0&&(n=\"\\n\"+n);var r=n[n.length-1];return('\"'===r&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===r)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}var hn=n(42),mn=n(160);function vn(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 gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(n),!0).forEach((function(t){yn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bn=Object.freeze({TYPE_REMOVED:\"TYPE_REMOVED\",TYPE_CHANGED_KIND:\"TYPE_CHANGED_KIND\",TYPE_REMOVED_FROM_UNION:\"TYPE_REMOVED_FROM_UNION\",VALUE_REMOVED_FROM_ENUM:\"VALUE_REMOVED_FROM_ENUM\",REQUIRED_INPUT_FIELD_ADDED:\"REQUIRED_INPUT_FIELD_ADDED\",IMPLEMENTED_INTERFACE_REMOVED:\"IMPLEMENTED_INTERFACE_REMOVED\",FIELD_REMOVED:\"FIELD_REMOVED\",FIELD_CHANGED_KIND:\"FIELD_CHANGED_KIND\",REQUIRED_ARG_ADDED:\"REQUIRED_ARG_ADDED\",ARG_REMOVED:\"ARG_REMOVED\",ARG_CHANGED_KIND:\"ARG_CHANGED_KIND\",DIRECTIVE_REMOVED:\"DIRECTIVE_REMOVED\",DIRECTIVE_ARG_REMOVED:\"DIRECTIVE_ARG_REMOVED\",REQUIRED_DIRECTIVE_ARG_ADDED:\"REQUIRED_DIRECTIVE_ARG_ADDED\",DIRECTIVE_REPEATABLE_REMOVED:\"DIRECTIVE_REPEATABLE_REMOVED\",DIRECTIVE_LOCATION_REMOVED:\"DIRECTIVE_LOCATION_REMOVED\"}),En=Object.freeze({VALUE_ADDED_TO_ENUM:\"VALUE_ADDED_TO_ENUM\",TYPE_ADDED_TO_UNION:\"TYPE_ADDED_TO_UNION\",OPTIONAL_INPUT_FIELD_ADDED:\"OPTIONAL_INPUT_FIELD_ADDED\",OPTIONAL_ARG_ADDED:\"OPTIONAL_ARG_ADDED\",IMPLEMENTED_INTERFACE_ADDED:\"IMPLEMENTED_INTERFACE_ADDED\",ARG_DEFAULT_VALUE_CHANGE:\"ARG_DEFAULT_VALUE_CHANGE\"});function wn(e,t){return kn(e,t).filter((function(e){return e.type in bn}))}function xn(e,t){return kn(e,t).filter((function(e){return e.type in En}))}function kn(e,t){return[].concat(function(e,t){for(var n=[],r=jn(Object(N.a)(e.getTypeMap()),Object(N.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:bn.TYPE_REMOVED,description:Object(pe.f)(a)?\"Standard scalar \".concat(a.name,\" was removed because it is not referenced anymore.\"):\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];Object(w.E)(u)&&Object(w.E)(f)?n.push.apply(n,Cn(u,f)):Object(w.T)(u)&&Object(w.T)(f)?n.push.apply(n,On(u,f)):Object(w.F)(u)&&Object(w.F)(f)?n.push.apply(n,Tn(u,f)):Object(w.N)(u)&&Object(w.N)(f)||Object(w.H)(u)&&Object(w.H)(f)?n.push.apply(n,_n(u,f).concat(Sn(u,f))):u.constructor!==f.constructor&&n.push({type:bn.TYPE_CHANGED_KIND,description:\"\".concat(u.name,\" changed from \")+\"\".concat(In(u),\" to \").concat(In(f),\".\")})}return n}(e,t),function(e,t){for(var n=[],r=jn(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:bn.DIRECTIVE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var c=l[s],u=c[0],f=c[1],p=jn(u.args,f.args),d=0,h=p.added;d<h.length;d++){var m=h[d];Object(w.P)(m)&&n.push({type:bn.REQUIRED_DIRECTIVE_ARG_ADDED,description:\"A required arg \".concat(m.name,\" on directive \").concat(u.name,\" was added.\")})}for(var v=0,g=p.removed;v<g.length;v++){var y=g[v];n.push({type:bn.DIRECTIVE_ARG_REMOVED,description:\"\".concat(y.name,\" was removed from \").concat(u.name,\".\")})}u.isRepeatable&&!f.isRepeatable&&n.push({type:bn.DIRECTIVE_REPEATABLE_REMOVED,description:\"Repeatable flag was removed from \".concat(u.name,\".\")});for(var b=0,E=u.locations;b<E.length;b++){var x=E[b];-1===f.locations.indexOf(x)&&n.push({type:bn.DIRECTIVE_LOCATION_REMOVED,description:\"\".concat(x,\" was removed from \").concat(u.name,\".\")})}}return n}(e,t))}function Tn(e,t){for(var n=[],r=jn(Object(N.a)(e.getFields()),Object(N.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(w.Q)(a)?n.push({type:bn.REQUIRED_INPUT_FIELD_ADDED,description:\"A required field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")}):n.push({type:En.OPTIONAL_INPUT_FIELD_ADDED,description:\"An optional field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:bn.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(c.name,\" was removed.\")})}for(var u=0,f=r.persisted;u<f.length;u++){var p=f[u],d=p[0],h=p[1];Dn(d.type,h.type)||n.push({type:bn.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(d.name,\" changed type from \")+\"\".concat(String(d.type),\" to \").concat(String(h.type),\".\")})}return n}function On(e,t){for(var n=[],r=jn(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:En.TYPE_ADDED_TO_UNION,description:\"\".concat(a.name,\" was added to union type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:bn.TYPE_REMOVED_FROM_UNION,description:\"\".concat(c.name,\" was removed from union type \").concat(e.name,\".\")})}return n}function Cn(e,t){for(var n=[],r=jn(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:En.VALUE_ADDED_TO_ENUM,description:\"\".concat(a.name,\" was added to enum type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:bn.VALUE_REMOVED_FROM_ENUM,description:\"\".concat(c.name,\" was removed from enum type \").concat(e.name,\".\")})}return n}function Sn(e,t){for(var n=[],r=jn(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:En.IMPLEMENTED_INTERFACE_ADDED,description:\"\".concat(a.name,\" added to interfaces implemented by \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:bn.IMPLEMENTED_INTERFACE_REMOVED,description:\"\".concat(e.name,\" no longer implements interface \").concat(c.name,\".\")})}return n}function _n(e,t){for(var n=[],r=jn(Object(N.a)(e.getFields()),Object(N.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:bn.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];n.push.apply(n,Nn(e,u,f)),An(u.type,f.type)||n.push({type:bn.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(u.name,\" changed type from \")+\"\".concat(String(u.type),\" to \").concat(String(f.type),\".\")})}return n}function Nn(e,t,n){for(var r=[],i=jn(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:bn.ARG_REMOVED,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(s.name,\" was removed.\")})}for(var l=0,c=i.persisted;l<c.length;l++){var u=c[l],f=u[0],p=u[1];if(Dn(f.type,p.type)){if(void 0!==f.defaultValue)if(void 0===p.defaultValue)r.push({type:En.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" defaultValue was removed.\")});else{var d=Ln(f.defaultValue,f.type),h=Ln(p.defaultValue,p.type);d!==h&&r.push({type:En.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed defaultValue from \").concat(d,\" to \").concat(h,\".\")})}}else r.push({type:bn.ARG_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed type from \")+\"\".concat(String(f.type),\" to \").concat(String(p.type),\".\")})}for(var m=0,v=i.added;m<v.length;m++){var g=v[m];Object(w.P)(g)?r.push({type:bn.REQUIRED_ARG_ADDED,description:\"A required arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")}):r.push({type:En.OPTIONAL_ARG_ADDED,description:\"An optional arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")})}return r}function An(e,t){return Object(w.J)(e)?Object(w.J)(t)&&An(e.ofType,t.ofType)||Object(w.L)(t)&&An(e,t.ofType):Object(w.L)(e)?Object(w.L)(t)&&An(e.ofType,t.ofType):Object(w.K)(t)&&e.name===t.name||Object(w.L)(t)&&An(e,t.ofType)}function Dn(e,t){return Object(w.J)(e)?Object(w.J)(t)&&Dn(e.ofType,t.ofType):Object(w.L)(e)?Object(w.L)(t)&&Dn(e.ofType,t.ofType)||!Object(w.L)(t)&&Dn(e.ofType,t):Object(w.K)(t)&&e.name===t.name}function In(e){return Object(w.R)(e)?\"a Scalar type\":Object(w.N)(e)?\"an Object type\":Object(w.H)(e)?\"an Interface type\":Object(w.T)(e)?\"a Union type\":Object(w.E)(e)?\"an Enum type\":Object(w.F)(e)?\"an Input type\":void Object(u.a)(0,\"Unexpected type: \"+Object(c.a)(e))}function Ln(e,t){var n=Object(Ht.a)(e,t);null!=n||Object(u.a)(0);var r=Object(be.c)(n,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort((function(e,t){return Object(Ft.a)(e.name.value,t.name.value)})),gn(gn({},e),{},{fields:t})}});return Object(S.a)(r)}function jn(e,t){for(var n=[],r=[],i=[],o=Object(O.a)(e,(function(e){return e.name})),a=Object(O.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],c=a[l.name];void 0===c?r.push(l):i.push([l,c])}for(var u=0;u<t.length;u++){var f=t[u];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function Mn(e,t){return Object(s.c)(e,t,[pt.a])}},function(e,t,n){e.exports=function(){\"use strict\";var e=navigator.userAgent,t=navigator.platform,n=/gecko\\/\\d/i.test(e),r=/MSIE \\d/.test(e),i=/Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(e),o=/Edge\\/(\\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\\//.test(e),c=l&&/Qt\\/\\d+\\.\\d+/.test(e),u=!o&&/Chrome\\//.test(e),f=/Opera\\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(e),h=/PhantomJS/.test(e),m=p&&(/Mobile\\/\\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\\bCrOS\\b/.test(e),E=/win/i.test(t),w=f&&e.match(/Version\\/(\\d*\\.\\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,l=!0);var x=y&&(c||f&&(null==w||w<12.11)),k=n||a&&s>=9;function T(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var O,C=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:\"\")}};function S(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function _(e,t){return S(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),\"string\"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function A(e,t,n,r){var i=N(e,t,n,r);return i.setAttribute(\"role\",\"presentation\"),i}function D(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function L(e,t){var n=e.className;T(t).test(n)||(e.className+=(n?\" \":\"\")+t)}function j(e,t){for(var n=e.split(\" \"),r=0;r<n.length;r++)n[r]&&!T(n[r]).test(t)&&(t+=\" \"+n[r]);return t}O=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd(\"character\",n),r.moveStart(\"character\",t),r};var M=function(e){e.select()};function F(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function P(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\\s\\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf(\"\\t\",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}V.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},V.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var q={toString:function(){return\"CodeMirror.Pass\"}},B={scroll:!1},z={origin:\"*mouse\"},H={origin:\"+move\"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(\"\\t\",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var Q=[\"\"];function W(e){for(;Q.length<=e;)Q.push(K(Q)+\" \");return Q[e]}function K(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&R(t,n),n}var X=/[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;function Z(e){return/\\w/.test(e)||e>\"€\"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf(\"\\\\w\")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&\"before\"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&\"before\"!=n?r=i:ae=i)}return null!=r?r:ae}var le=function(){var e=/[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var c,u=a.length,f=[],p=0;p<u;++p)f.push((c=a.charCodeAt(p))<=247?\"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\".charAt(c):1424<=c&&c<=1524?\"R\":1536<=c&&c<=1785?\"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\".charAt(c-1536):1774<=c&&c<=2220?\"r\":8192<=c&&c<=8203?\"w\":8204==c?\"b\":\"L\");for(var d=0,h=l;d<u;++d){var m=f[d];\"m\"==m?f[d]=h:h=m}for(var v=0,g=l;v<u;++v){var y=f[v];\"1\"==y&&\"r\"==g?f[v]=\"n\":n.test(y)&&(g=y,\"r\"==y&&(f[v]=\"R\"))}for(var b=1,E=f[0];b<u-1;++b){var w=f[b];\"+\"==w&&\"1\"==E&&\"1\"==f[b+1]?f[b]=\"1\":\",\"!=w||E!=f[b+1]||\"1\"!=E&&\"n\"!=E||(f[b]=E),E=w}for(var x=0;x<u;++x){var k=f[x];if(\",\"==k)f[x]=\"N\";else if(\"%\"==k){var T=void 0;for(T=x+1;T<u&&\"%\"==f[T];++T);for(var O=x&&\"!\"==f[x-1]||T<u&&\"1\"==f[T]?\"1\":\"N\",C=x;C<T;++C)f[C]=O;x=T-1}}for(var S=0,_=l;S<u;++S){var N=f[S];\"L\"==_&&\"1\"==N?f[S]=\"L\":n.test(N)&&(_=N)}for(var A=0;A<u;++A)if(t.test(f[A])){var D=void 0;for(D=A+1;D<u&&t.test(f[D]);++D);for(var I=\"L\"==(A?f[A-1]:l),L=I==(\"L\"==(D<u?f[D]:l))?I?\"L\":\"R\":l,j=A;j<D;++j)f[j]=L;A=D-1}for(var M,F=[],R=0;R<u;)if(r.test(f[R])){var P=R;for(++R;R<u&&r.test(f[R]);++R);F.push(new o(0,P,R))}else{var V=R,U=F.length,q=\"rtl\"==s?1:0;for(++R;R<u&&\"L\"!=f[R];++R);for(var B=V;B<R;)if(i.test(f[B])){V<B&&(F.splice(U,0,new o(1,V,B)),U+=q);var z=B;for(++B;B<R&&i.test(f[B]);++B);F.splice(U,0,new o(2,z,B)),U+=q,V=B}else++B;V<R&&F.splice(U,0,new o(1,V,R))}return\"ltr\"==s&&(1==F[0].level&&(M=a.match(/^\\s+/))&&(F[0].from=M[0].length,F.unshift(new o(0,0,M[0].length))),1==K(F).level&&(M=a.match(/\\s+$/))&&(K(F).to-=M[0].length,F.push(new o(0,u-M[0].length,u)))),\"rtl\"==s?F.reverse():F}}();function ce(e,t){var n=e.order;return null==n&&(n=e.order=le(e.text,t)),n}var ue=[],fe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(\"on\"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||ue).concat(n)}};function pe(e,t){return e._handlers&&e._handlers[t]||ue}function de(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(\"on\"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return\"string\"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),he(e,n||t.type,e,t),we(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function ge(e,t){return pe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ee(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function we(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function xe(e){be(e),Ee(e)}function ke(e){return e.target||e.srcElement}function Te(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Oe,Ce,Se=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function _e(e){if(null==Oe){var t=N(\"span\",\"​\");_(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?N(\"span\",\"​\"):N(\"span\",\" \",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=Ce)return Ce;var t=_(e,document.createTextNode(\"AخA\")),n=O(t,0,1).getBoundingClientRect(),r=O(t,1,2).getBoundingClientRect();return S(e),!(!n||n.left==n.right)&&(Ce=r.right-n.right<3)}var Ae,De=3!=\"\\n\\nb\".split(/\\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(\"\\n\",t);-1==i&&(i=e.length);var o=e.slice(t,\"\\r\"==e.charAt(i-1)?i-1:i),a=o.indexOf(\"\\r\");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\\r\\n?|\\n/)},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},Le=\"oncopy\"in(Ae=N(\"div\"))||(Ae.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof Ae.oncopy),je=null,Me={},Fe={};function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Me[e]=t}function Pe(e){if(\"string\"==typeof e&&Fe.hasOwnProperty(e))e=Fe[e];else if(e&&\"string\"==typeof e.name&&Fe.hasOwnProperty(e.name)){var t=Fe[e.name];\"string\"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(e))return Pe(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Pe(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Ve(e,t){t=Pe(t);var n=Me[t.name];if(!n)return Ve(e,\"text/plain\");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r[\"_\"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function qe(e,t){R(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function Be(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function ze(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function He(e,t,n){return!e.startState||e.startState(t,n)}var Ge=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Qe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error(\"There is no line \"+(t+e.first)+\" in the document.\");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function We(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Ke(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Je(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function $e(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Xe(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,Qe(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,Qe(e,t.line).text.length)}function lt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}Ge.prototype.eol=function(){return this.pos>=this.string.length},Ge.prototype.sol=function(){return this.pos==this.lineStart},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(\"string\"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ge.prototype.skipToEnd=function(){this.pos=this.string.length},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ge.prototype.backUp=function(e){this.pos-=e},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=P(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.indentation=function(){return P(this.string,null,this.tabSize)-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.match=function(e,t,n){if(\"string\"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ft(e,t,n,r){var i=[e.state.modeGen],o={};Et(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Et(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+\" \":\"\")+\"overlay \"+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function pt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=dt(e,Je(t)),i=t.text.length>e.options.maxHighlightLength&&Be(e.doc.mode,r.state),o=ft(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ut(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Qe(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ct?c.lookAhead:0)<=o.modeFrontier))return s;var u=P(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&Qe(r,o-1).stateAfter,s=a?ut.fromSaved(r,a,o):new ut(r,He(r.mode),o);return r.iter(o,t,(function(n){ht(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function ht(e,t,n,r){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,n);for(o.start=o.pos=r||0,\"\"==t&&mt(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=ze(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=ze(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error(\"Mode \"+e.name+\" failed to advance stream.\")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,\"\"),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ut.fromSaved=function(e,t,n){return t instanceof ct?new ut(e,Be(e.mode,t.state),n,t.lookAhead):new ut(e,Be(e.mode,t),n)},ut.prototype.save=function(e){var t=!1!==e?Be(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Qe(a,(t=st(a,t)).line),c=dt(e,t.line,n),u=new Ge(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=vt(s,u,c.state),r&&o.push(new gt(u,i,Be(a.mode,c.state)));return r?o:new gt(u,i,c.state)}function bt(e,t){if(e)for(;;){var n=e.match(/(?:^|\\s+)line-(background-)?(\\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?\"bgClass\":\"textClass\";null==t[r]?t[r]=n[2]:new RegExp(\"(?:^|\\\\s)\"+n[2]+\"(?:$|\\\\s)\").test(t[r])||(t[r]+=\" \"+n[2])}return e}function Et(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ge(t,e.options.tabSize,r),p=e.options.addModeClass&&[null];for(\"\"==t&&bt(mt(n,r.state),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&ht(e,t,r,f.pos),f.pos=t.length,l=null):l=bt(vt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||u!=l){for(;c<f.start;)i(c=Math.min(f.start,c+5e3),u);u=l}f.start=f.pos}for(;c<f.pos;){var h=Math.min(f.pos,c+5e3);i(h,u),c=h}}var wt=!1,xt=!1;function kt(e,t,n){this.marker=e,this.from=t,this.to=n}function Tt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Ot(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Ct(e,t){if(t.full)return null;var n=Xe(e,t.from.line)&&Qe(e,t.from.line).markedSpans,r=Xe(e,t.to.line)&&Qe(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&\"bookmark\"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new kt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&\"bookmark\"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new kt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=K(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=Tt(l,p.marker);d?c&&(p.to=null==d.to?null:d.to+u):p.to=i}}if(l)for(var h=0;h<l.length;++h){var m=l[h];null!=m.to&&(m.to+=u),null==m.from?Tt(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=St(s)),l&&l!=s&&(l=St(l));var v=[s];if(!c){var g,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(g||(g=[])).push(new kt(s[b].marker,null,null));for(var E=0;E<y;++E)v.push(g);v.push(l)}return v}function St(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function _t(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Nt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function At(e){return e.inclusiveLeft?-1:0}function Dt(e){return e.inclusiveRight?1:0}function It(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||At(e)-At(t);if(o)return-o;var a=tt(r.to,i.to)||Dt(e)-Dt(t);return a||t.id-e.id}function Lt(e,t){var n,r=xt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||It(n,i.marker)<0)&&(n=i.marker);return n}function jt(e){return Lt(e,!0)}function Mt(e){return Lt(e,!1)}function Ft(e,t){var n,r=xt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||It(n,o.marker)<0)&&(n=o.marker)}return n}function Rt(e,t,n,r,i){var o=Qe(e,t),a=xt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=tt(c.from,n)||At(l.marker)-At(i),f=tt(c.to,r)||Dt(l.marker)-Dt(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.to,n)>=0:tt(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.from,r)<=0:tt(c.from,r)<0)))return!0}}}function Pt(e){for(var t;t=jt(e);)e=t.find(-1,!0).line;return e}function Vt(e,t){var n=Qe(e,t),r=Pt(n);return n==r?t:Je(r)}function Ut(e,t){if(t>e.lastLine())return t;var n,r=Qe(e,t);if(!qt(e,r))return t;for(;n=Mt(r);)r=n.find(1,!0).line;return Je(r)+1}function qt(e,t){var n=xt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Bt(e,t,r))return!0}}function Bt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return Bt(e,r.line,Tt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&Bt(e,t,i))return!0}function zt(e){for(var t=0,n=(e=Pt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function Ht(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=jt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Mt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Gt(e){var t=e.display,n=e.doc;t.maxLine=Qe(n,n.first),t.maxLineLength=Ht(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=Ht(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Qt=function(e,t,n){this.text=e,Nt(this,t),this.height=n?n(this):1};function Wt(e){e.parent=null,_t(e)}Qt.prototype.lineNo=function(){return Je(this)},ye(Qt);var Kt={},Yt={};function Jt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Yt:Kt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function $t(e,t){var n=A(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:A(\"pre\",[n],\"CodeMirror-line\"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(\"lineWrapping\")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Zt,Ne(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,pt(e,o,t!=e.display.externalMeasured&&Je(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=j(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=j(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(_e(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\\bcm-tab\\b/.test(s.className)||s.querySelector&&s.querySelector(\".cm-tab\"))&&(r.content.className=\"cm-tab-wrap-hack\")}return he(e,\"renderLine\",e,t.line,r.pre),r.pre.className&&(r.textClass=j(r.pre.className,r.textClass||\"\")),r}function Xt(e){var t=N(\"span\",\"•\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Zt(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r=\"\",i=0;i<e.length;i++){var o=e.charAt(i);\" \"!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=\" \"),r+=o,n=\" \"==o}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){c=document.createDocumentFragment();for(var d=0;;){f.lastIndex=d;var h=f.exec(t),m=h?h.index-d:t.length-d;if(m){var v=document.createTextNode(u.slice(d,d+m));a&&s<9?c.appendChild(N(\"span\",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var g=void 0;if(\"\\t\"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(g=c.appendChild(N(\"span\",W(b),\"cm-tab\"))).setAttribute(\"role\",\"presentation\"),g.setAttribute(\"cm-text\",\"\\t\"),e.col+=b}else\"\\r\"==h[0]||\"\\n\"==h[0]?((g=c.appendChild(N(\"span\",\"\\r\"==h[0]?\"␍\":\"␤\",\"cm-invalidchar\"))).setAttribute(\"cm-text\",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute(\"cm-text\",h[0]),a&&s<9?c.appendChild(N(\"span\",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||o||l){var E=n||\"\";r&&(E+=r),i&&(E+=i);var w=N(\"span\",[c],E,o);if(l)for(var x in l)l.hasOwnProperty(x)&&\"style\"!=x&&\"class\"!=x&&w.setAttribute(x,l[x]);return e.content.appendChild(w)}e.content.appendChild(c)}}function en(e,t){return function(n,r,i,o,a,s,l){i=i?i+\" cm-force-border\":\"cm-force-border\";for(var c=n.pos,u=c+r.length;;){for(var f=void 0,p=0;p<t.length&&!((f=t[p]).to>c&&f.from<=c);p++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function tn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement(\"span\"))),i.setAttribute(\"cm-marker\",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,p,d=i.length,h=0,m=1,v=\"\",g=0;;){if(g==h){l=c=u=s=\"\",p=null,f=null,g=1/0;for(var y=[],b=void 0,E=0;E<r.length;++E){var w=r[E],x=w.marker;if(\"bookmark\"==x.type&&w.from==h&&x.widgetNode)y.push(x);else if(w.from<=h&&(null==w.to||w.to>h||x.collapsed&&w.to==h&&w.from==h)){if(null!=w.to&&w.to!=h&&g>w.to&&(g=w.to,c=\"\"),x.className&&(l+=\" \"+x.className),x.css&&(s=(s?s+\";\":\"\")+x.css),x.startStyle&&w.from==h&&(u+=\" \"+x.startStyle),x.endStyle&&w.to==g&&(b||(b=[])).push(x.endStyle,w.to),x.title&&((p||(p={})).title=x.title),x.attributes)for(var k in x.attributes)(p||(p={}))[k]=x.attributes[k];x.collapsed&&(!f||It(f.marker,x)<0)&&(f=w)}else w.from>h&&g>w.from&&(g=w.from)}if(b)for(var T=0;T<b.length;T+=2)b[T+1]==g&&(c+=\" \"+b[T]);if(!f||f.from==h)for(var O=0;O<y.length;++O)tn(t,0,y[O]);if(f&&(f.from||0)==h){if(tn(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;for(var C=Math.min(d,g);;){if(v){var S=h+v.length;if(!f){var _=S>C?v.slice(0,C-h):v;t.addToken(t,_,a?a+l:l,u,h+_.length==g?c:\"\",s,p)}if(S>=C){v=v.slice(C-h),h=C;break}h=S,u=\"\"}v=i.slice(o,o=n[m++]),a=Jt(n[m++],t.cm.options)}}else for(var N=1;N<n.length;N+=2)t.addToken(t,i.slice(o,o=n[N]),Jt(n[N+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Mt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Je(K(this.rest))-n+1:1,this.node=this.text=null,this.hidden=qt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,Qe(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function ln(e,t){var n=pe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],setTimeout(cn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function cn(){var e=sn;sn=null;for(var t=0;t<e.length;++t)e[t]()}function un(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];\"text\"==o?dn(e,t):\"gutter\"==o?mn(e,t,n,r):\"class\"==o?hn(e,t):\"widget\"==o&&vn(e,t,r)}t.changes=null}function fn(e){return e.node==e.text&&(e.node=N(\"div\",null,null,\"position: relative\"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function pn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):$t(e,t)}function dn(e,t){var n=t.text.className,r=pn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,hn(e,t)):n&&(t.text.className=n)}function hn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+\" \"+(t.line.bgClass||\"\"):t.line.bgClass;if(n&&(n+=\" CodeMirror-linebackground\"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=fn(t);t.background=r.insertBefore(N(\"div\",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?fn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className=\"\");var n=t.textClass?t.textClass+\" \"+(t.line.textClass||\"\"):t.line.textClass;t.text.className=n||\"\"}function mn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=fn(t);t.gutterBackground=N(\"div\",null,\"CodeMirror-gutter-background \"+t.line.gutterClass,\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px; width: \"+r.gutterTotalWidth+\"px\"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=fn(t),s=t.gutter=N(\"div\",null,\"CodeMirror-gutter-wrapper\",\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px\");if(s.setAttribute(\"aria-hidden\",\"true\"),e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=\" \"+t.line.gutterClass),!e.options.lineNumbers||o&&o[\"CodeMirror-linenumbers\"]||(t.lineNumber=s.appendChild(N(\"div\",Ze(e.options,n),\"CodeMirror-linenumber CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[\"CodeMirror-linenumbers\"]+\"px; width: \"+e.display.lineNumInnerWidth+\"px\"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(N(\"div\",[u],\"CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[c]+\"px; width: \"+r.gutterWidth[c]+\"px\"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=T(\"CodeMirror-linewidget\"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function gn(e,t,n,r){var i=pn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=fn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=N(\"div\",[l.node],\"CodeMirror-linewidget\"+(l.className?\" \"+l.className:\"\"));l.handleMouseEvents||c.setAttribute(\"cm-ignore-events\",\"true\"),En(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),ln(l,\"redraw\")}}function En(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+\"px\",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+\"px\"),t.style.width=i+\"px\"}e.coverGutter&&(t.style.zIndex=5,t.style.position=\"relative\",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+\"px\"))}function wn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!D(document.body,e.node)){var n=\"position: relative;\";e.coverGutter&&(n+=\"margin-left: -\"+t.display.gutters.offsetWidth+\"px;\"),e.noHScroll&&(n+=\"width: \"+t.display.wrapper.clientWidth+\"px;\"),_(t.display.measure,N(\"div\",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function xn(e,t){for(var n=ke(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&\"true\"==n.getAttribute(\"cm-ignore-events\")||n.parentNode==e.sizer&&n!=e.mover)return!0}function kn(e){return e.lineSpace.offsetTop}function Tn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function On(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=_(e.measure,N(\"pre\",\"x\",\"CodeMirror-line-like\")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Cn(e){return 50-e.display.nativeBarWidth}function Sn(e){return e.display.scroller.clientWidth-Cn(e)-e.display.barWidth}function _n(e){return e.display.scroller.clientHeight-Cn(e)-e.display.barHeight}function Nn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Je(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function An(e,t,n,r){return Ln(e,In(e,t),n,r)}function Dn(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ur(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function In(e,t){var n=Je(t),r=Dn(e,n);r&&!r.text?r=null:r&&r.changes&&(un(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Je(t=Pt(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=$t(e,r);return r.text=i.pre,_(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ln(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||\"\");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Sn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Fn(t.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&re(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Rn(O(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,f=\"right\"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=je)return je;var t=_(e,N(\"span\",\"x\")),n=t.getBoundingClientRect(),r=O(t,0,1).getBoundingClientRect();return je=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+ir(e.display),top:h.top,bottom:h.bottom}:Mn}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(g<y[b]);b++);var E=b?y[b-1]:0,w=y[b],x={left:(\"right\"==f?i.right:i.left)-t.rect.left,right:(\"left\"==f?i.left:i.right)-t.rect.left,top:E,bottom:w};return i.left||i.right||(x.bogus=!0),e.options.singleCursorHeightPerLine||(x.rtop=m,x.rbottom=v),x}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var jn,Mn={left:0,right:0,top:0,bottom:0};function Fn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a=\"left\"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a=\"right\";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Rn(e,t){var n=Mn;if(\"left\"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Pn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Vn(e){e.display.externalMeasure=null,S(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Pn(e.display.view[t])}function Un(e){Vn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function qn(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Bn(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function zn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=wn(e.widgets[n]));return t}function Hn(e,t,n,r,i){if(!i){var o=zn(t);n.top+=o,n.bottom+=o}if(\"line\"==r)return n;r||(r=\"local\");var a=zt(t);if(\"local\"==r?a+=kn(e.display):a-=e.display.viewOffset,\"page\"==r||\"window\"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+(\"window\"==r?0:Bn());var l=s.left+(\"window\"==r?0:qn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function Gn(e,t,n){if(\"div\"==n)return t;var r=t.left,i=t.top;if(\"page\"==n)r-=qn(),i-=Bn();else if(\"local\"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Qn(e,t,n,r,i){return r||(r=Qe(e.doc,t.line)),Hn(e,r,An(e,r,t.ch,i),n)}function Wn(e,t,n,r,i,o){function a(t,a){var s=Ln(e,i,t,a?\"right\":\"left\",o);return a?s.left=s.right:s.right=s.left,Hn(e,r,s,n)}r=r||Qe(e.doc,t.line),i||(i=In(e,r));var s=ce(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c=\"before\"):l<=0&&(l=0,c=\"after\"),!s)return a(\"before\"==c?l-1:l,\"before\"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,c),p=ae,d=u(l,f,\"before\"==c);return null!=p&&(d.other=u(l,p,\"before\"!=c)),d}function Kn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=Qe(e.doc,t.line),i=zt(r)+kn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Yn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Jn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Yn(r.first,0,null,-1,-1);var i=$e(r,n),o=r.first+r.size-1;if(i>o)return Yn(r.first+r.size-1,Qe(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Qe(r,i);;){var s=er(e,a,i,t,n),l=Ft(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Qe(r,i=c.line)}}function $n(e,t,n,r){r-=zn(t);var i=t.text.length,o=oe((function(t){return Ln(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Ln(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=In(e,t)),$n(e,t,n,Hn(e,t,Ln(e,n,r),\"line\").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=zt(t);var o=In(e,t),a=zn(t),s=0,l=t.text.length,c=!0,u=ce(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?nr:tr)(e,t,n,o,u,r,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var p,d,h=null,m=null,v=oe((function(t){var n=Ln(e,o,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left<m.right-r,b=y==c;v=h+(b?0:1),d=b?\"after\":\"before\",p=y?m.left:m.right}else{c||v!=l&&v!=s||v++,d=0==v?\"after\":v==t.text.length?\"before\":Ln(e,o,v-(c?1:0)).bottom+a<=i==c?\"after\":\"before\";var E=Wn(e,et(n,v,d),\"line\",t,o);p=E.left,g=i<E.top?-1:i>=E.bottom?1:0}return Yn(n,v=ie(t.text,v,1),d,g,r-p)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],c=1!=l.level;return Zn(Wn(e,et(n,c?l.to:l.from,c?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Wn(e,et(n,c?l.from:l.to,c?\"after\":\"before\"),\"line\",t,r);Zn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function nr(e,t,n,r,i,o,a){var s=$n(e,t,r,a),l=s.begin,c=s.end;/\\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=c||d.to<=l)){var h=Ln(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=h<o?o-h+1e9:h-o;(!u||f>m)&&(u=d,f=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==jn){jn=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)jn.appendChild(document.createTextNode(\"x\")),jn.appendChild(N(\"br\"));jn.appendChild(document.createTextNode(\"x\"))}_(e.measure,jn);var n=jn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),S(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");_(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(qt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function lr(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ye(e,t)}))}function cr(e,t,n,r){var i=e.display;if(!n&&\"true\"==ke(t).getAttribute(\"cm-not-content\"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Jn(e,o,a);if(r&&c.xRel>0&&(l=Qe(e.doc,c.line).text).length==c.ch){var u=P(l,l.length,e.options.tabSize)-l.length;c=et(c.line,Math.max(0,Math.round((o-On(e.display).left)/ir(e.display))-u))}return c}function ur(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function fr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)xt&&Vt(e.doc,t)<i.viewTo&&dr(e);else if(n<=i.viewFrom)xt&&Ut(e.doc,n+r)>i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=hr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=hr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=hr(e,t,t,-1),l=hr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):dr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function pr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[ur(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hr(e,t,n,r){var i,o=ur(e,t),a=e.display.view;if(!xt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Vt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),l||Er(e,s,o)}}return r}function yr(e,t,n){var r=Wn(e,t,\"div\",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(N(\"div\",\" \",\"CodeMirror-cursor\"));if(i.style.left=r.left+\"px\",i.style.top=r.top+\"px\",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+\"px\",/\\bcm-fat-cursor\\b/.test(e.getWrapperElement().className)){var o=Qn(e,t,\"div\",null,null);o.right-o.left>0&&(i.style.width=o.right-o.left+\"px\")}if(r.other){var a=n.appendChild(N(\"div\",\" \",\"CodeMirror-cursor CodeMirror-secondarycursor\"));a.style.display=\"\",a.style.left=r.other.left+\"px\",a.style.top=r.other.top+\"px\",a.style.height=.85*(r.other.bottom-r.other.top)+\"px\"}}function br(e,t){return e.top-t.top||e.left-t.left}function Er(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=On(e.display),s=a.left,l=Math.max(r.sizerWidth,Sn(e)-r.sizer.offsetLeft)-a.right,c=\"ltr\"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N(\"div\",null,\"CodeMirror-selected\",\"position: absolute; left: \"+e+\"px;\\n top: \"+t+\"px; width: \"+(null==n?l-e:n)+\"px;\\n height: \"+(r-t)+\"px\"))}function f(t,n,r){var o,a,f=Qe(i,t),p=f.text.length;function d(n,r){return Qn(e,et(t,n),\"div\",f,r)}function h(t,n,r){var i=Xn(e,f,null,t),o=\"ltr\"==n==(\"after\"==r)?\"left\":\"right\";return d(\"after\"==r?i.begin:i.end-(/\\s/.test(f.text.charAt(i.end-1))?2:1),o)[o]}var m=ce(f,i.direction);return function(e,t,n,r){if(!e)return r(t,n,\"ltr\",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?\"rtl\":\"ltr\",o),i=!0)}i||r(t,n,\"ltr\")}(m,n||0,null==r?p:r,(function(e,t,i,f){var v=\"ltr\"==i,g=d(e,v?\"left\":\"right\"),y=d(t-1,v?\"right\":\"left\"),b=null==n&&0==e,E=null==r&&t==p,w=0==f,x=!m||f==m.length-1;if(y.top-g.top<=3){var k=(c?E:b)&&x,T=(c?b:E)&&w?s:(v?g:y).left,O=k?l:(v?y:g).right;u(T,g.top,O-T,g.bottom)}else{var C,S,_,N;v?(C=c&&b&&w?s:g.left,S=c?l:h(e,i,\"before\"),_=c?s:h(t,i,\"after\"),N=c&&E&&x?l:y.right):(C=c?h(e,i,\"before\"):s,S=!c&&b&&w?l:g.right,_=!c&&E&&x?s:y.left,N=c?h(t,i,\"after\"):l),u(C,g.top,S-C,g.bottom),g.bottom<y.top&&u(s,g.bottom,null,y.top),u(_,y.top,N-_,y.bottom)}(!o||br(g,o)<0)&&(o=g),br(y,o)<0&&(o=y),(!a||br(g,a)<0)&&(a=g),br(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Qe(i,p.line),m=Qe(i,d.line),v=Pt(h)==Pt(m),g=f(p.line,p.ch,v?h.text.length+1:null).end,y=f(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(u(g.right,g.top,null,g.bottom),u(s,y.top,y.left,y.bottom)):u(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&u(s,g.bottom,null,y.top)}n.appendChild(o)}function wr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility=\"\",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Or(e),t.cursorDiv.style.visibility=(n=!n)?\"\":\"hidden\"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility=\"hidden\")}}function xr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Tr(e))}function kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Or(e))}),100)}function Tr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),\"nocursor\"!=e.options.readOnly&&(e.state.focused||(he(e,\"focus\",e,t),e.state.focused=!0,L(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),wr(e))}function Or(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,C(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Cr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l<t.view.length;l++){var c=t.view[l],u=e.options.lineWrapping,f=void 0,p=0;if(!c.hidden){if(i+=c.line.height,a&&s<8){var d=c.node.offsetTop+c.node.offsetHeight;f=d-n,n=d}else{var h=c.node.getBoundingClientRect();f=h.bottom-h.top,!u&&c.text.firstChild&&(p=c.text.firstChild.getBoundingClientRect().right-h.left-1)}var m=c.line.height-f;if((m>.005||m<-.005)&&(i<r&&(o-=m),Ye(c.line,f),Sr(c.line),c.rest))for(var v=0;v<c.rest.length;v++)Sr(c.rest[v]);if(p>e.display.sizerWidth){var g=Math.ceil(p/ir(e.display));g>e.display.maxLineLength&&(e.display.maxLineLength=g,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function Sr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function _r(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-kn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=$e(t,r),a=$e(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=$e(t,zt(Qe(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=$e(t,zt(Qe(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Nr(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=_n(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Tn(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.options.fixedGutter?0:n.gutters.offsetWidth,p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-f,d=Sn(e)-n.gutters.offsetWidth,h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.left<p?a.scrollLeft=Math.max(0,t.left+f-(h?0:10)):t.right>d+p-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function Ar(e,t){null!=t&&(Lr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Dr(e){Lr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ir(e,t,n){null==t&&null==n||Lr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Lr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Kn(e,t.from),Kn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Nr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ir(e,i.scrollLeft,i.scrollTop)}function Mr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Fr(e,t,!0),n&&li(e),ri(e,100))}function Fr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Tn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Cn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Vr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Vr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Vr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Vr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Vr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Vr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Vr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ur=function(){};function qr(e,t){t||(t=Pr(e));var n=e.display.barWidth,r=e.display.barHeight;Br(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Cr(e),Br(e,Pr(e)),n=e.display.barWidth,r=e.display.barHeight}function Br(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var zr={native:Vr,null:Ur};function Hr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&C(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new zr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Mr(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Gr=0;function Qr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gr,markArrays:null},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Wr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{an=null,t(n)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Kr(t[n]);for(var r=0;r<t.length;r++)Yr(t[r]);for(var i=0;i<t.length;i++)Jr(t[i]);for(var o=0;o<t.length;o++)$r(t[o]);for(var a=0;a<t.length;a++)Xr(t[a])}(e)}))}function Kr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Cn(e)+\"px\",t.sizer.style.marginBottom=-t.nativeBarWidth+\"px\",t.sizer.style.borderRightWidth=Cn(e)+\"px\",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Jr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Cr(t),e.barMeasure=Pr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=An(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Cn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Sn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function $r(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft<t.doc.scrollLeft&&Rr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==I();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&qr(t,e.barMeasure),e.updatedDisplay&&ui(t,e.barMeasure),e.selectionChanged&&wr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&xr(e.cm)}function Xr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Fr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Rr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,\"scrollCursorIntoView\")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"​\",null,\"position: absolute;\\n top: \"+(t.top-n.viewOffset-kn(e.display))+\"px;\\n height: \"+(t.bottom-t.top+Cn(e)+n.barHeight)+\"px;\\n left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==t.sticky?et(t.line,t.ch+1,\"before\"):t,t=t.ch?et(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t);for(var o=0;o<5;o++){var a=!1,s=Wn(e,t),l=n&&n!=t?Wn(e,n):s,c=Nr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Mr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Rr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||he(i[a],\"hide\");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&he(o[s],\"unhide\");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&he(t,\"changes\",t,e.changeObjs),e.update&&e.update.finish()}function Zr(e,t){if(e.curOp)return t();Qr(e);try{return t()}finally{Wr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Qr(e);try{return t.apply(e,arguments)}finally{Wr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Qr(this);try{return e.apply(this,arguments)}finally{Wr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Qr(t);try{return e.apply(this,arguments)}finally{Wr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,F(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Be(t.mode,r.state):null,l=ft(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&ht(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Zr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],\"text\")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=_r(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Sn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return dr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;pi(e)&&(dr(e),t.dims=or(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),xt&&(o=Vt(e.doc,o),a=Ut(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(ur(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=zt(Qe(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var c=mr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=I();if(!t||!D(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&D(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,f=0;f<c.length;f++){var p=c[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(U(p.changes,\"gutter\")>-1&&(d=!1),un(e,p,u,n)),d&&(S(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Ze(e.options,u)))),a=p.node.nextSibling}else{var h=gn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&D(document.body,e.anchorNode)&&D(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),S(n.cursorDiv),S(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Sn(e))r&&(t.visible=_r(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Tn(e.display)-_n(e),n.top)}),t.visible=_r(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;Cr(e);var i=Pr(e);vr(e),qr(e,i),ui(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){Cr(e),si(e,n);var r=Pr(e);vr(e),qr(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\",ln(e,\"gutterChanged\",e)}function ui(e,t){e.display.sizer.style.minHeight=t.docHeight+\"px\",e.display.heightForcer.style.top=t.docHeight+\"px\",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Cn(e)+\"px\"}function fi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+\"px\")}}function pi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Ze(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(N(\"div\",[N(\"div\",n)],\"CodeMirror-linenumber CodeMirror-gutter-elt\")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width=\"\",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+\"px\",ci(e.display),!0}return!1}function di(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if(\"string\"!=typeof o&&(a=o.style,o=o.className),\"CodeMirror-linenumbers\"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:\"CodeMirror-linenumbers\",style:null}),n}function hi(e){var t=e.gutters,n=e.gutterSpecs;S(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(N(\"div\",null,\"CodeMirror-gutter \"+o));a&&(s.style.cssText=a),\"CodeMirror-linenumbers\"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+\"px\")}t.style.display=n.length?\"\":\"none\",ci(e)}function mi(e){hi(e.display),fr(e),fi(e)}function vi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=N(\"div\",null,\"CodeMirror-scrollbar-filler\"),o.scrollbarFiller.setAttribute(\"cm-not-content\",\"true\"),o.gutterFiller=N(\"div\",null,\"CodeMirror-gutter-filler\"),o.gutterFiller.setAttribute(\"cm-not-content\",\"true\"),o.lineDiv=A(\"div\",null,\"CodeMirror-code\"),o.selectionDiv=N(\"div\",null,null,\"position: relative; z-index: 1\"),o.cursorDiv=N(\"div\",null,\"CodeMirror-cursors\"),o.measure=N(\"div\",null,\"CodeMirror-measure\"),o.lineMeasure=N(\"div\",null,\"CodeMirror-measure\"),o.lineSpace=A(\"div\",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,\"position: relative; outline: none\");var c=A(\"div\",[o.lineSpace],\"CodeMirror-lines\");o.mover=N(\"div\",[c],null,\"position: relative\"),o.sizer=N(\"div\",[o.mover],\"CodeMirror-sizer\"),o.sizerWidth=null,o.heightForcer=N(\"div\",null,null,\"position: absolute; height: 50px; width: 1px;\"),o.gutters=N(\"div\",null,\"CodeMirror-gutters\"),o.lineGutter=null,o.scroller=N(\"div\",[o.sizer,o.heightForcer,o.gutters],\"CodeMirror-scroll\"),o.scroller.setAttribute(\"tabIndex\",\"-1\"),o.wrapper=N(\"div\",[o.scrollbarFiller,o.gutterFiller,o.scroller],\"CodeMirror\"),o.wrapper.setAttribute(\"translate\",\"no\"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=di(i.gutters,i.lineNumbers),hi(o),r.init(o)}oi.prototype.signal=function(e,t){ge(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var gi=0,yi=null;function bi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Ei(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function wi(e,t){var r=bi(t),i=r.x,o=r.y,a=yi;0===t.deltaMode&&(i=t.deltaX,o=t.deltaY,a=1);var s=e.display,c=s.scroller,u=c.scrollWidth>c.clientWidth,p=c.scrollHeight>c.clientHeight;if(i&&u||o&&p){if(o&&y&&l)e:for(var d=t.target,h=s.view;d!=c;d=d.parentNode)for(var m=0;m<h.length;m++)if(h[m].node==d){e.display.currentWheelTarget=d;break e}if(i&&!n&&!f&&null!=a)return o&&p&&Mr(e,Math.max(0,c.scrollTop+o*a)),Rr(e,Math.max(0,c.scrollLeft+i*a)),(!o||o&&p)&&be(t),void(s.wheelStartX=null);if(o&&null!=a){var v=o*a,g=e.doc.scrollTop,b=g+s.wrapper.clientHeight;v<0?g=Math.max(0,g+v-50):b=Math.min(e.doc.height,b+v+50),li(e,{top:g,bottom:b})}gi<20&&0!==t.deltaMode&&(null==s.wheelStartX?(s.wheelStartX=c.scrollLeft,s.wheelStartY=c.scrollTop,s.wheelDX=i,s.wheelDY=o,setTimeout((function(){if(null!=s.wheelStartX){var e=c.scrollLeft-s.wheelStartX,t=c.scrollTop-s.wheelStartY,n=t&&s.wheelDY&&t/s.wheelDY||e&&s.wheelDX&&e/s.wheelDX;s.wheelStartX=s.wheelStartY=null,n&&(yi=(yi*gi+n)/(gi+1),++gi)}}),200)):(s.wheelDX+=i,s.wheelDY+=o))}}a?yi=-.53:n?yi=15:u?yi=-.7:p&&(yi=-1/3);var xi=function(e,t){this.ranges=e,this.primIndex=t};xi.prototype.primary=function(){return this.ranges[this.primIndex]},xi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},xi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ki(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new xi(e,this.primIndex)},xi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},xi.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var ki=function(e,t){this.anchor=e,this.head=t};function Ti(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ot(s.from(),a.from()),u=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new ki(f?u:c,f?c:u))}}return new xi(t,n)}function Oi(e,t){return new xi([new ki(e,t||e)],0)}function Ci(e){return e.text?et(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Si(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Ci(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Ci(t).ch-t.to.ch),et(n,r)}function _i(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new ki(Si(i.anchor,t),Si(i.head,t)))}return Ti(e.cm,n,e.sel.primIndex)}function Ni(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Ai(e){e.doc.mode=Ve(e.options,e.doc.modeOption),Di(e)}function Di(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&fr(e)}function Ii(e,t){return 0==t.from.ch&&0==t.to.ch&&\"\"==K(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Li(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),_t(e),Nt(e,n);var i=r?r(e):1;i!=e.height&&Ye(e,i)}(e,n,i,r),ln(e,\"change\",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Qt(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Qe(e,s.line),f=Qe(e,l.line),p=K(c),d=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ii(e,t)){var m=a(0,c.length-1);o(f,f.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),d);else{var v=a(1,c.length-1);v.push(new Qt(p+u.text.slice(l.ch),d,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,p+f.text.slice(l.ch),d);var g=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}ln(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Mi(e,t){if(t.cm)throw new Error(\"This document is already in use.\");e.doc=t,t.cm=e,lr(e),Ai(e),Fi(e),e.options.direction=t.direction,e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fr(e)}function Fi(e){(\"rtl\"==e.doc.direction?L:C)(e.display.lineDiv,\"CodeMirror-rtl\")}function Ri(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Pi(e,t){var n={from:rt(t.from),to:Ci(t),text:We(e,t.from,t.to)};return zi(e,n,t.from.line,t.to.line+1),ji(e,(function(e){return zi(e,n,t.from.line,t.to.line+1)}),!0),n}function Vi(e){for(;e.length&&K(e).ranges;)e.pop()}function Ui(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(\"+\"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Vi(e.done),K(e.done)):e.done.length&&!K(e.done).ranges?K(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}(i,i.lastOp==r)))a=K(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=Ci(t):o.changes.push(Pi(e,t));else{var l=K(i.done);for(l&&l.ranges||Bi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function qi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,K(i.done),t))?i.done[i.done.length-1]=t:Bi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Vi(i.undone)}function Bi(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function zi(e,t,n,r){var i=t[\"spans_\"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t[\"spans_\"+e.id]={}))[o]=n.markedSpans),++o}))}function Hi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Gi(e,t){var n=function(e,t){var n=t[\"spans_\"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Hi(n[i]));return r}(e,t),r=Ct(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Qi(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?xi.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\\d+)$/))&&U(t,Number(u[1]))>-1&&(K(s)[f]=c[f],delete c[f])}}}return r}function Wi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new ki(i,t)}return new ki(n||t,t)}function Ki(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Zi(e,new xi([Wi(e.sel.primary(),t,n,i)],0),r)}function Yi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Wi(e.sel.ranges[o],t[o],null,i);Zi(e,Ti(e.cm,r,e.sel.primIndex),n)}function Ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Zi(e,Ti(e.cm,i,e.sel.primIndex),r)}function $i(e,t,n,r){Zi(e,Oi(t,n),r)}function Xi(e,t,n){var r=e.history.done,i=K(r);i&&i.ranges?(r[r.length-1]=t,eo(e,t,n)):Zi(e,t,n)}function Zi(e,t,n){eo(e,t,n),qi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function eo(e,t,n){(ge(e,\"beforeSelectionChange\")||e.cm&&ge(e.cm,\"beforeSelectionChange\"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new ki(st(e,t[n].anchor),st(e,t[n].head))},origin:n&&n.origin};return he(e,\"beforeSelectionChange\",e,r),e.cm&&he(e.cm,\"beforeSelectionChange\",e.cm,r),r.ranges!=t.ranges?Ti(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,ro(e,t,r,!0)),n&&!1===n.scroll||!e.cm||\"nocursor\"==e.cm.getOption(\"readOnly\")||Dr(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),ln(e,\"cursorActivity\",e))}function no(e){to(e,ro(e,e.sel,null,!1))}function ro(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=oo(e,a.anchor,s&&s.anchor,n,r),c=oo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new ki(l,c))}return i?Ti(e.cm,i,t.primIndex):t}function io(e,t,n,r,i){var o=Qe(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c=\"selectLeft\"in l?!l.selectLeft:l.inclusiveLeft,u=\"selectRight\"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(f=ao(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=tt(f,n))&&(r<0?p<0:p>0))return io(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?c:u)&&(d=ao(e,d,r,d.line==t.line?o:null)),d?io(e,d,t,r,i):null}}return t}function oo(e,t,n,r,i){var o=r||1,a=io(e,t,n,o,i)||!i&&io(e,t,n,o,!0)||io(e,t,n,-o,i)||!i&&io(e,t,n,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function ao(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||Qe(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function so(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),B)}function lo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=st(e,t)),n&&(r.to=st(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),he(e,\"beforeChange\",e,r),e.cm&&he(e.cm,\"beforeChange\",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function co(e,t,n){if(e.cm){if(!e.cm.curOp)return ei(e.cm,co)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"))||(t=lo(e,t,!0))){var r=wt&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(tt(c.to,s.from)<0||tt(c.from,s.to)>0)){var u=[l,1],f=tt(c.from,s.from),p=tt(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)uo(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=tt(t.from,t.to)){var n=_i(e,t);Ui(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,Ct(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(yo(e.history,t),r.push(e.history)),ho(e,t,null,Ct(e,t))}))}}function fo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Bi(i,l),n&&!i.equals(e.sel))return void Zi(e,i,{clearRedo:!1});a=i}var u=[];Bi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"),p=function(n){var r=i.changes[n];if(r.origin=t,f&&!lo(e,r,!1))return s.length=0,{};u.push(Pi(e,r));var o=n?_i(e,r):K(s);ho(e,r,o,Gi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:Ci(r)});var a=[];ji(e,(function(e,t){t||-1!=U(a,e.history)||(yo(e.history,r),a.push(e.history)),ho(e,r,null,Gi(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new xi(Y(e.sel.ranges,(function(e){return new ki(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){fr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)pr(e.cm,r,\"gutter\")}}function ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(e,t,n,r);if(t.to.line<e.first)po(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);po(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[K(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Qe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=We(e,t.from,t.to),n||(n=_i(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Je(Pt(Qe(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Li(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=Ht(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Qe(e,r).stateAfter;if(i&&(!(i instanceof ct)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fr(e):o.line!=a.line||1!=t.text.length||Ii(e.doc,t)?fr(e,o.line,a.line+1,c):pr(e,o.line,\"text\");var u=ge(e,\"changes\"),f=ge(e,\"change\");if(f||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ln(e,\"change\",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Li(e,t,r),eo(e,n,B),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function mo(e,t,n,r,i){var o;r||(r=n),tt(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),\"string\"==typeof t&&(t=e.splitLines(t)),co(e,{from:n,to:r,text:t,origin:i})}function vo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function go(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)vo(o.ranges[s].anchor,t,n,r),vo(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=et(c.from.line+r,c.from.ch),c.to=et(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function yo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;go(e.done,n,r,i),go(e.undone,n,r,i)}function bo(e,t,n,r){var i=t,o=t;return\"number\"==typeof t?o=Qe(e,at(e,t)):i=Je(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function Eo(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function wo(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}ki.prototype.from=function(){return ot(this.anchor,this.head)},ki.prototype.to=function(){return it(this.anchor,this.head)},ki.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Eo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Wt(i),ln(i,\"delete\")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},wo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Eo))){var s=[];this.collapse(s),this.children=[new Eo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new Eo(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new wo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=U(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new wo(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var xo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function ko(e,t,n){zt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Ar(e,n)}xo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Je(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=wn(this);Ye(n,Math.max(0,n.height-o)),e&&(Zr(e,(function(){ko(e,n,-o),pr(e,r,\"widget\")})),ln(e,\"lineWidgetCleared\",e,this,r))}},xo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=wn(this)-t;i&&(qt(this.doc,r)||Ye(r,r.height+i),n&&Zr(n,(function(){n.curOp.forceUpdate=!0,ko(n,r,i),ln(n,\"lineWidgetChanged\",n,e,Je(r))})))},ye(xo);var To=0,Oo=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++To};function Co(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=R(r)).shared=!1;var o=[Co(e,t,n,r,i)],a=o[0],s=r.widgetNode;return ji(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Co(e,st(e,t),st(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=K(o)})),new So(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,Co)(e,t,n,r,i);var o=new Oo(e,i),a=tt(t,n);if(r&&R(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=A(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");xt=!0}o.addToHistory&&Ui(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&Pt(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(r,0),function(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}(r,new kt(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){qt(e,t)&&Ye(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(wt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++To,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)pr(c,u,\"text\");o.atomic&&no(c.doc),ln(c,\"markerAdded\",c,o)}return o}Oo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Qr(e),ge(this,\"clear\")){var n=this.find();n&&ln(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Tt(a.markedSpans,this);e&&!this.collapsed?pr(e,Je(a),\"text\"):e&&(null!=s.to&&(i=Je(a)),null!=s.from&&(r=Je(a))),a.markedSpans=Ot(a.markedSpans,s),null==s.from&&this.collapsed&&!qt(this.doc,a)&&e&&Ye(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Pt(this.lines[l]),u=Ht(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&fr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&no(e.doc)),e&&ln(e,\"markerCleared\",e,this,r,i),t&&Wr(e),this.parent&&this.parent.clear()}},Oo.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Tt(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Je(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Je(o),a.to),1==e))return r}return n&&{from:n,to:r}},Oo.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Zr(r,(function(){var i=t.line,o=Je(t.line),a=Dn(r,o);if(a&&(Pn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!qt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=wn(n)-s;l&&Ye(i,i.height+l)}ln(r,\"markerChanged\",r,e)}))},Oo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Oo.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(Oo);var So=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function _o(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function No(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];ji(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}So.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ln(this,\"clear\")}},So.prototype.find=function(e,t){return this.primary.find(e,t)},ye(So);var Ao=0,Do=function(e,t,n,r,i){if(!(this instanceof Do))return new Do(e,t,n,r,i);null==n&&(n=0),wo.call(this,[new Eo([new Qt(\"\",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=et(n,0);this.sel=Oi(o),this.history=new Ri(null),this.id=++Ao,this.modeOption=t,this.lineSep=r,this.direction=\"rtl\"==i?\"rtl\":\"ltr\",this.extend=!1,\"string\"==typeof e&&(e=this.splitLines(e)),Li(this,{from:o,to:o,text:e}),Zi(this,Oi(o),B)};Do.prototype=$(wo.prototype,{constructor:Do,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ke(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;co(this,{from:t,to:et(n,Qe(this,n).text.length),text:this.splitLines(e),origin:\"setValue\",full:!0},!0),this.cm&&Ir(this.cm,0,0),Zi(this,Oi(t),B)})),replaceRange:function(e,t,n,r){mo(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=We(this,st(this,e),st(this,t));return!1===n?r:\"\"===n?r.join(\"\"):r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Xe(this,e))return Qe(this,e)},getLineNumber:function(e){return Je(e)},getLineHandleVisualStart:function(e){return\"number\"==typeof e&&(e=Qe(this,e)),Pt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||\"head\"==e?t.head:\"anchor\"==e?t.anchor:\"end\"==e||\"to\"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ni((function(e,t,n){$i(this,st(this,\"number\"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){$i(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Ki(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){Yi(this,lt(this,e),t)})),extendSelectionsBy:ni((function(e,t){Yi(this,lt(this,Y(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new ki(st(this,e[i].anchor),st(this,e[i].head||e[i].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Zi(this,Ti(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new ki(st(this,e),st(this,t||e))),Zi(this,Ti(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=We(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=We(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||\"+input\")},replaceSelections:ni((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&\"end\"!=t&&function(e,t,n){for(var r=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ni(s.from,i,o),c=Ni(Ci(s),i,o);if(i=s.to,o=c,\"around\"==n){var u=e.sel.ranges[a],f=tt(u.head,u.anchor)<0;r[a]=new ki(f?c:l,f?l:c)}else r[a]=new ki(l,l)}return new xi(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)co(this,r[l]);s?Xi(this,s):this.cm&&Dr(this.cm)})),undo:ni((function(){fo(this,\"undo\")})),redo:ni((function(){fo(this,\"redo\")})),undoSelection:ni((function(){fo(this,\"undo\",!0)})),redoSelection:ni((function(){fo(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Ri(this.history),ji(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Qi(this.history.done),undone:Qi(this.history.undone)}},setHistory:function(e){var t=this.history=new Ri(this.history);t.done=Qi(e.done.slice(0),null,!0),t.undone=Qi(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return bo(this,e,\"gutter\",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&bo(t,n,\"gutter\",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if(\"number\"==typeof e){if(!Xe(this,e))return null;if(t=e,!(e=Qe(this,e)))return null}else if(null==(t=Je(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\";if(e[r]){if(T(n).test(e[r]))return!1;e[r]+=\" \"+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(T(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?\" \":\"\")+i.slice(a)||null}return!0}))})),addLineWidget:ni((function(e,t,n){return function(e,t,n,r){var i=new xo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),bo(e,t,\"widget\",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!qt(e,t)){var r=zt(t)<e.scrollTop;Ye(t,t.height+wn(i)),r&&Ar(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&ln(o,\"lineWidgetAdded\",o,i,\"number\"==typeof t?t:Je(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return Co(this,st(this,e),st(this,t),n,n&&n.type||\"range\")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return Co(this,e=st(this,e),e,n,\"bookmark\")},findMarksAt:function(e){var t=[],n=Qe(this,(e=st(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new Do(Ke(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Do(Ke(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=Co(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,_o(this)),r},unlinkDoc:function(e){if(e instanceof Sa&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),No(_o(this));break}if(e.history==this.history){var n=[e.id];ji(e,(function(e){return n.push(e.id)}),!0),e.history=new Ri(null),e.history.done=Qi(this.history.done,n),e.history.undone=Qi(this.history.undone,n)}},iterLinkedDocs:function(e){ji(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):De(e)},lineSeparator:function(){return this.lineSep||\"\\n\"},setDirection:ni((function(e){var t;\"rtl\"!=e&&(e=\"ltr\"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Zr(t=this.cm,(function(){Fi(t),fr(t)})))}))}),Do.prototype.eachLine=Do.prototype.iter;var Io=0;function Lo(e){var t=this;if(jo(t),!me(t,e)&&!xn(t.display,e)){be(e),a&&(Io=+new Date);var n=cr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&ei(t,(function(){var e={from:n=st(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:\"paste\"};co(t.doc,e),Xi(t.doc,Oi(st(t.doc,n),st(t.doc,Ci(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),eo(t.doc,Oi(n,n)),p)for(var d=0;d<p.length;++d)mo(t.doc,\"\",p[d].anchor,p[d].head,\"drag\");t.replaceSelection(f,\"around\",\"paste\"),t.display.input.focus()}}catch(e){}}}}function jo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Mo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName(\"CodeMirror\"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Fo=!1;function Ro(){var e;Fo||(fe(window,\"resize\",(function(){null==e&&(e=setTimeout((function(){e=null,Mo(Po)}),100))})),fe(window,\"blur\",(function(){return Mo(Or)})),Fo=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Vo={3:\"Pause\",8:\"Backspace\",9:\"Tab\",13:\"Enter\",16:\"Shift\",17:\"Ctrl\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Esc\",32:\"Space\",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"Left\",38:\"Up\",39:\"Right\",40:\"Down\",44:\"PrintScrn\",45:\"Insert\",46:\"Delete\",59:\";\",61:\"=\",91:\"Mod\",92:\"Mod\",93:\"Mod\",106:\"*\",107:\"=\",109:\"-\",110:\".\",111:\"/\",145:\"ScrollLock\",173:\"-\",186:\";\",187:\"=\",188:\",\",189:\"-\",190:\".\",191:\"/\",192:\"`\",219:\"[\",220:\"\\\\\",221:\"]\",222:\"'\",224:\"Mod\",63232:\"Up\",63233:\"Down\",63234:\"Left\",63235:\"Right\",63272:\"Delete\",63273:\"Home\",63275:\"End\",63276:\"PageUp\",63277:\"PageDown\",63302:\"Insert\"},Uo=0;Uo<10;Uo++)Vo[Uo+48]=Vo[Uo+96]=String(Uo);for(var qo=65;qo<=90;qo++)Vo[qo]=String.fromCharCode(qo);for(var Bo=1;Bo<=12;Bo++)Vo[Bo+111]=Vo[Bo+63235]=\"F\"+Bo;var zo={};function Ho(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error(\"Unrecognized modifier name: \"+s);r=!0}}return t&&(e=\"Alt-\"+e),n&&(e=\"Ctrl-\"+e),i&&(e=\"Cmd-\"+e),r&&(e=\"Shift-\"+e),e}function Go(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if(\"...\"==r){delete e[n];continue}for(var i=Y(n.split(\" \"),Ho),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(\" \"),a=r):(s=i.slice(0,o+1).join(\" \"),a=\"...\");var l=t[s];if(l){if(l!=a)throw new Error(\"Inconsistent bindings for \"+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Qo(e,t,n,r){var i=(t=Jo(t)).call?t.call(e,r):t[e];if(!1===i)return\"nothing\";if(\"...\"===i)return\"multi\";if(null!=i&&n(i))return\"handled\";if(t.fallthrough){if(\"[object Array]\"!=Object.prototype.toString.call(t.fallthrough))return Qo(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Qo(e,t.fallthrough[o],n,r);if(a)return a}}}function Wo(e){var t=\"string\"==typeof e?e:Vo[e.keyCode];return\"Ctrl\"==t||\"Alt\"==t||\"Shift\"==t||\"Mod\"==t}function Ko(e,t,n){var r=e;return t.altKey&&\"Alt\"!=r&&(e=\"Alt-\"+e),(x?t.metaKey:t.ctrlKey)&&\"Ctrl\"!=r&&(e=\"Ctrl-\"+e),(x?t.ctrlKey:t.metaKey)&&\"Mod\"!=r&&(e=\"Cmd-\"+e),!n&&t.shiftKey&&\"Shift\"!=r&&(e=\"Shift-\"+e),e}function Yo(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Vo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Ko(n,e,t))}function Jo(e){return\"string\"==typeof e?zo[e]:e}function $o(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,K(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Zr(e,(function(){for(var t=r.length-1;t>=0;t--)mo(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Dr(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?\"after\":\"before\")}function ea(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var c=In(t,n);a=i<0?n.text.length-1:0;var u=Ln(t,c,a).top;a=oe((function(e){return Ln(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,l)}}return new et(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}zo.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},zo.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},zo.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},zo.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},zo.default=y?zo.macDefault:zo.pcDefault;var ta={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),B)},killLine:function(e){return $o(e,(function(t){if(t.empty()){var n=Qe(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return $o(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return $o(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5;return{from:e.coordsChar({left:0,top:n},\"div\"),to:t.from()}}))},delWrappedLineRight:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head.line)}),{origin:\"+move\",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:\"+move\",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=Qe(e.doc,t),r=function(e){for(var t;t=Mt(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Je(r)),ea(!0,e,n,t,-1)}(e,t.head.line)}),{origin:\"+move\",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\")}),H)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:0,top:n},\"div\")}),H)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5,r=e.coordsChar({left:0,top:n},\"div\");return r.ch<e.getLine(r.line).search(/\\S/)?ra(e,t.head):r}),H)},goLineUp:function(e){return e.moveV(-1,\"line\")},goLineDown:function(e){return e.moveV(1,\"line\")},goPageUp:function(e){return e.moveV(-1,\"page\")},goPageDown:function(e){return e.moveV(1,\"page\")},goCharLeft:function(e){return e.moveH(-1,\"char\")},goCharRight:function(e){return e.moveH(1,\"char\")},goColumnLeft:function(e){return e.moveH(-1,\"column\")},goColumnRight:function(e){return e.moveH(1,\"column\")},goWordLeft:function(e){return e.moveH(-1,\"word\")},goGroupRight:function(e){return e.moveH(1,\"group\")},goGroupLeft:function(e){return e.moveH(-1,\"group\")},goWordRight:function(e){return e.moveH(1,\"word\")},delCharBefore:function(e){return e.deleteH(-1,\"codepoint\")},delCharAfter:function(e){return e.deleteH(1,\"char\")},delWordBefore:function(e){return e.deleteH(-1,\"word\")},delWordAfter:function(e){return e.deleteH(1,\"word\")},delGroupBefore:function(e){return e.deleteH(-1,\"group\")},delGroupAfter:function(e){return e.deleteH(1,\"group\")},indentAuto:function(e){return e.indentSelection(\"smart\")},indentMore:function(e){return e.indentSelection(\"add\")},indentLess:function(e){return e.indentSelection(\"subtract\")},insertTab:function(e){return e.replaceSelection(\"\\t\")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=P(e.getLine(o.line),o.ch,r);t.push(W(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection(\"add\"):e.execCommand(\"insertTab\")},transposeChars:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Qe(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Qe(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new ki(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Dr(e)}))},openLine:function(e){return e.replaceSelection(\"\\n\",\"start\")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function na(e,t){var n=Qe(e.doc,t),r=Pt(n);return r!=n&&(t=Je(r)),ea(!0,e,r,t,1)}function ra(e,t){var n=na(e,t.line),r=Qe(e.doc,n.line),i=ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return et(n.line,a?0:o,n.sticky)}return n}function ia(e,t,n){if(\"string\"==typeof t&&!(t=ta[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=q}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var oa=new V;function aa(e,t,n,r){var i=e.state.keySeq;if(i){if(Wo(t))return\"handled\";if(/\\'$/.test(t)?e.state.keySeq=null:oa.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),sa(e,i+\" \"+t,n,r))return!0}return sa(e,t,n,r)}function sa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Qo(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Qo(t,e.options.extraKeys,n,e)||Qo(t,e.options.keyMap,n,e)}(e,t,r);return\"multi\"==i&&(e.state.keySeq=t),\"handled\"==i&&ln(e,\"keyHandled\",e,t,n),\"handled\"!=i&&\"multi\"!=i||(be(n),wr(e)),!!i}function la(e,t){var n=Yo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?aa(e,\"Shift-\"+n,t,(function(t){return ia(e,t,!0)}))||aa(e,n,t,(function(t){if(\"string\"==typeof t?/^go[A-Z]/.test(t):t.motion)return ia(e,t)})):aa(e,n,t,(function(t){return ia(e,t)})))}var ca=null;function ua(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=I(),me(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=la(t,e);f&&(ca=i?r:null,i||88!=r||Le||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection(\"\",null,\"cut\")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand(\"cut\"),18!=r||/\\bCodeMirror-crosshair\\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(C(t,\"CodeMirror-crosshair\"),de(document,\"keyup\",n),de(document,\"mouseover\",n))}L(t,\"CodeMirror-crosshair\"),fe(document,\"keyup\",n),fe(document,\"mouseover\",n)}(t)}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||xn(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ca)return ca=null,void be(e);if(!f||e.which&&!(e.which<10)||!la(t,e)){var i=String.fromCharCode(null==r?n:r);\"\\b\"!=i&&(function(e,t,n){return aa(e,\"'\"+n+\"'\",t,(function(t){return ia(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,ha,ma=function(e,t,n){this.time=e,this.pos=t,this.button=n};function va(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,xn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ba(t,e)){var r=cr(t,e),i=Te(e),o=r?function(e,t){var n=+new Date;return ha&&ha.compare(n,e,t)?(da=ha=null,\"triple\"):da&&da.compare(n,e,t)?(ha=new ma(n,e,t),da=null,\"double\"):(da=new ma(n,e,t),ha=null,\"single\")}(r,i):\"single\";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o=\"Click\";return\"double\"==r?o=\"Double\"+o:\"triple\"==r&&(o=\"Triple\"+o),aa(e,Ko(o=(1==t?\"Left\":2==t?\"Middle\":\"Right\")+o,i),i,(function(t){if(\"string\"==typeof t&&(t=ta[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=q}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(F(xr,e),0):e.curOp.focus=I();var i,o=function(e,t,n){var r=e.getOption(\"configureMouse\"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?\"rectangle\":\"single\"==t?\"char\":\"double\"==t?\"word\":\"line\"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&Se&&!e.isReadOnly()&&\"single\"==n&&(i=c.contains(t))>-1&&(tt((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=ei(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:kr(e)),de(i.wrapper.ownerDocument,\"mouseup\",c),de(i.wrapper.ownerDocument,\"mousemove\",u),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",c),o||(be(t),r.addNew||Ki(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,fe(i.wrapper.ownerDocument,\"mouseup\",c),fe(i.wrapper.ownerDocument,\"mousemove\",u),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,r,t,o):function(e,t,n,r){a&&kr(e);var i=e.display,o=e.doc;be(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new ki(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(s=new ki(n,n)),n=cr(e,t,!0,!0),l=-1;else{var f=ga(e,n,r.unit);s=r.extend?Wi(s,f.anchor,f.head,r.extend):f}r.addNew?-1==l?(l=u.length,Zi(o,Ti(e,u.concat([s]),l),{scroll:!1,origin:\"*mouse\"})):u.length>1&&u[l].empty()&&\"char\"==r.unit&&!r.extend?(Zi(o,Ti(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:\"*mouse\"}),c=o.sel):Ji(o,l,s,z):(l=0,Zi(o,new xi([s],0),z),c=o.sel);var p=n;function d(t){if(0!=tt(p,t))if(p=t,\"rectangle\"==r.unit){for(var i=[],a=e.options.tabSize,u=P(Qe(o,n.line).text,n.ch,a),f=P(Qe(o,t.line).text,t.ch,a),d=Math.min(u,f),h=Math.max(u,f),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Qe(o,m).text,y=G(g,d,a);d==h?i.push(new ki(et(m,y),et(m,y))):g.length>y&&i.push(new ki(et(m,y),et(m,G(g,h,a))))}i.length||i.push(new ki(n,n)),Zi(o,Ti(e,c.ranges.slice(0,l).concat(i),l),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,E=s,w=ga(e,t,r.unit),x=E.anchor;tt(w.anchor,x)>0?(b=w.head,x=ot(E.from(),w.anchor)):(b=w.anchor,x=it(E.to(),w.head));var k=c.ranges.slice(0);k[l]=function(e,t){var n=t.anchor,r=t.head,i=Qe(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var p=o[c+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new ki(new et(n.line,h,m),r)}(e,new ki(st(o,x),b)),Zi(o,Ti(e,k,l),z)}}var h=i.wrapper.getBoundingClientRect(),m=0;function v(t){e.state.selectingText=!1,m=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",g),de(i.wrapper.ownerDocument,\"mouseup\",y),o.history.lastSelOrigin=null}var g=ei(e,(function(t){0!==t.buttons&&Te(t)?function t(n){var a=++m,s=cr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=tt(s,p)){e.curOp.focus=I(),d(s);var l=_r(i,o);(s.line>=l.to||s.line<l.from)&&setTimeout(ei(e,(function(){m==a&&t(n)})),150)}else{var c=n.clientY<h.top?-20:n.clientY>h.bottom?20:0;c&&setTimeout(ei(e,(function(){m==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):v(t)})),y=ei(e,v);e.state.selectingText=y,fe(i.wrapper.ownerDocument,\"mousemove\",g),fe(i.wrapper.ownerDocument,\"mouseup\",y)}(e,r,t,o)}(t,r,o,e):ke(e)==n.scroller&&be(e):2==i?(r&&Ki(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(k?t.display.input.onContextMenu(e):kr(t)))}}function ga(e,t,n){if(\"char\"==n)return new ki(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new ki(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new ki(r.from,r.to)}function ya(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return we(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return he(e,n,e,$e(e.doc,o),e.display.gutterSpecs[l].className,t),we(t)}}function ba(e,t){return ya(e,t,\"gutterClick\",!0)}function Ea(e,t){xn(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ya(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||k||e.display.input.onContextMenu(t)}function wa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Un(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var xa={toString:function(){return\"CodeMirror.Init\"}},ka={},Ta={};function Oa(e,t,n){if(!t!=!(n&&n!=xa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function Ca(e){e.options.lineWrapping?(L(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(C(e.display.wrapper,\"CodeMirror-wrap\"),Gt(e)),lr(e),fr(e),Un(e),setTimeout((function(){return qr(e)}),100)}function Sa(e,t){var n=this;if(!(this instanceof Sa))return new Sa(e,t);this.options=t=t?R(t):{},R(ka,t,!1);var r=t.value;\"string\"==typeof r?r=new Do(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Sa.inputStyles[t.inputStyle](this),o=this.display=new vi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,wa(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),Hr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",ei(e,va)),fe(t.scroller,\"dblclick\",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=cr(e,t);if(n&&!ba(e,t)&&!xn(e.display,t)){be(t);var r=e.findWordAt(n);Ki(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return Ea(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||Ea(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ba(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!xn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new ki(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new ki(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Mr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return wi(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return wi(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||xe(t)},over:function(t){me(e,t)||(function(e,t){var n=cr(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),_(e.display.dragCursor,r)}}(e,t),xe(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Io<100))xe(t);else if(!me(e,t)&&!xn(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,Lo),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return fa.call(e,t)})),fe(l,\"keydown\",ei(e,ua)),fe(l,\"keypress\",ei(e,pa)),fe(l,\"focus\",(function(t){return Tr(e,t)})),fe(l,\"blur\",(function(t){return Or(e,t)}))}(this),Ro(),Qr(this),this.curOp.forceUpdate=!0,Mi(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Tr(n)}),20):Or(this),Ta)Ta.hasOwnProperty(c)&&Ta[c](this,t[c],xa);pi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<_a.length;++u)_a[u](this);Wr(this),l&&t.lineWrapping&&\"optimizelegibility\"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering=\"auto\")}Sa.defaults=ka,Sa.optionHandlers=Ta;var _a=[];function Na(e,t,n,r){var i,o=e.doc;null==n&&(n=\"add\"),\"smart\"==n&&(o.mode.indent?i=dt(e,t).state:n=\"prev\");var a=e.options.tabSize,s=Qe(o,t),l=P(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\\s*/)[0];if(r||/\\S/.test(s.text)){if(\"smart\"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==q||c>150)){if(!r)return;n=\"prev\"}}else c=0,n=\"not\";\"prev\"==n?c=t>o.first?P(Qe(o,t-1).text,null,a):0:\"add\"==n?c=l+e.options.indentUnit:\"subtract\"==n?c=l-e.options.indentUnit:\"number\"==typeof n&&(c=l+n),c=Math.max(0,c);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,f+=\"\\t\";if(p<c&&(f+=W(c-p)),f!=u)return mo(o,f,et(t,0),et(t,u.length),\"+input\"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var m=o.sel.ranges[h];if(m.head.line==t&&m.head.ch<u.length){var v=et(t,u.length);Ji(o,h,new ki(v,v));break}}}Sa.defineInitHook=function(e){return _a.push(e)};var Aa=null;function Da(e){Aa=e}function Ia(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s=\"paste\"==i||e.state.pasteIncoming>a,l=De(t),c=null;if(s&&r.ranges.length>1)if(Aa&&Aa.text.join(\"\\n\")==t){if(r.ranges.length%Aa.text.length==0){c=[];for(var u=0;u<Aa.text.length;u++)c.push(o.splitLines(Aa.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=r.ranges.length-1;p>=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=et(h.line,h.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(Qe(o,m.line).text.length,m.ch+K(l).length)):s&&Aa&&Aa.lineWise&&Aa.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=et(h.line,0)));var v={from:h,to:m,text:c?c[p%c.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};co(e.doc,v),ln(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Dr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function La(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zr(t,(function(){return Ia(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Na(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Qe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Na(e,i.head.line,\"smart\"));a&&ln(e,\"electricInput\",e,i.head.line)}}}function Ma(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Fa(e,t,n,r){e.setAttribute(\"autocorrect\",n?\"\":\"off\"),e.setAttribute(\"autocapitalize\",r?\"\":\"off\"),e.setAttribute(\"spellcheck\",!!t)}function Ra(){var e=N(\"textarea\",null,null,\"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none\"),t=N(\"div\",[e],null,\"overflow: hidden; position: relative; width: 3px; height: 0px;\");return l?e.style.width=\"1000px\":e.setAttribute(\"wrap\",\"off\"),m&&(e.style.border=\"1px solid black\"),Fa(e),t}function Pa(e,t,n,r,i){var o=t,a=n,s=Qe(e,t.line),l=i&&\"rtl\"==e.direction?-n:n;function c(o){var a,c;if(\"codepoint\"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var f=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new et(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(f?2:1))),-n)}}else a=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Zo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Zo(t,n,r);var s,l=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||In(e,t),Xn(e,t,s,n)):{begin:0,end:t.text.length}},u=c(\"before\"==n.sticky?l(n,-1):n.ch);if(\"rtl\"==e.doc.direction||1==a.level){var f=1==a.level==r<0,p=l(n,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var d=f?\"before\":\"after\";return new et(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,l(e,1),\"before\"):new et(n.line,e,\"after\")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,c(v)))?null:m}(e.cm,s,t,n):Zo(s,t,n);if(null==a){if(o||(c=t.line+l)<e.first||c>=e.first+e.size||(t=new et(c,t.ch,t.sticky),!(s=Qe(e,c))))return!1;t=ea(i,e.cm,s,t.line,l)}else t=a;return!0}if(\"char\"==r||\"codepoint\"==r)c();else if(\"column\"==r)c(!0);else if(\"word\"==r||\"group\"==r)for(var u=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),u&&u!=m){n<0&&(n=1,c(),t.sticky=\"after\");break}if(m&&(u=m),n>0&&!c(!d))break}var v=oo(e,t,o,a,!0);return nt(o,v)&&(v.hitSide=!0),v}function Va(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Jn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ua=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function qa(e,t){var n=Dn(e,t.line);if(!n||n.hidden)return null;var r=Qe(e.doc,t.line),i=Nn(n,r,t.line),o=ce(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Fn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function Ba(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ba(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return Ha(o,t,n)}}function Ha(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!D(r,t))return Ba(et(Je(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?K(e.rest):e.line;return Ba(et(Je(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=Je(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),et(u,f)}}}var f=u(a,s,n);if(f)return Ba(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(f=u(p,p.firstChild,0))return Ba(et(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(f=u(h,h.firstChild,-1))return Ba(et(f.line,f.ch+m),i);m+=h.textContent.length}}Ua.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\\bCodeMirror-(?:line)?widget\\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Da({lineWise:!1,text:r.getSelections()}),\"cut\"==e.type&&r.replaceSelection(\"\",null,\"cut\");else{if(!r.options.lineWiseCopyCut)return;var t=Ma(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,B),r.replaceSelection(\"\",null,\"cut\")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Aa.text.join(\"\\n\");if(e.clipboardData.setData(\"Text\",a),e.clipboardData.getData(\"Text\")==a)return void e.preventDefault()}var s=Ra(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Aa.text.join(\"\\n\");var c=I();M(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}i.contentEditable=!0,Fa(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),fe(i,\"paste\",(function(e){!o(e)||me(r,e)||La(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),fe(i,\"compositionstart\",(function(e){t.composing={data:e.data,done:!1}})),fe(i,\"compositionupdate\",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),fe(i,\"compositionend\",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),fe(i,\"touchstart\",(function(){return n.forceCompositionEnd()})),fe(i,\"input\",(function(){t.composing||t.readFromDOMSoon()})),fe(i,\"copy\",a),fe(i,\"cut\",a)},Ua.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute(\"aria-label\",e):this.div.removeAttribute(\"aria-label\")},Ua.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=I()==this.div,e},Ua.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ua.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ua.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=za(t,e.anchorNode,e.anchorOffset),s=za(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&qa(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&qa(t,o);if(!u){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(c&&u){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=O(c.node,c.offset,u.offset,u.node)}catch(e){}d&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ua.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ua.prototype.showMultipleSelections=function(e){_(this.cm.display.cursorDiv,e.cursors),_(this.cm.display.selectionDiv,e.selection)},Ua.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ua.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return D(this.div,t)},Ua.prototype.focus=function(){\"nocursor\"!=this.cm.options.readOnly&&(this.selectionInEditor()&&I()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ua.prototype.blur=function(){this.div.blur()},Ua.prototype.getField=function(){return this.div},Ua.prototype.supportsTouch=function(){return!0},Ua.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout((function(){return e.pollSelection()}),20):Zr(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}))},Ua.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ua.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:\"keydown\",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=za(t,e.anchorNode,e.anchorOffset),r=za(t,e.focusNode,e.focusOffset);n&&r&&Zr(t,(function(){Zi(t.doc,Oi(n,r),B),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ua.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=et(a.line-1,Qe(r.doc,a.line-1).length)),s.ch==Qe(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=ur(r,a.line))?(t=Je(i.view[0].line),n=i.view[0].node):(t=Je(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=ur(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Je(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function u(e){e&&(c(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void u(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(et(r,0),et(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&u(We(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m<t.childNodes.length;m++)f(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0)}else 3==t.nodeType&&u(t.nodeValue.replace(/\\u200b/g,\"\").replace(/\\u00a0/g,\" \"));var v}for(;f(t),t!=n;)t=t.nextSibling,l=!1;return o}(r,n,c,t,l)),p=We(r.doc,et(t,0),et(l,Qe(r.doc,l).text.length));f.length>1&&p.length>1;)if(K(f)==K(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);d<g&&m.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=K(f),b=K(p),E=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));h<E&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var w=et(t,d),x=et(l,p.length?K(p).length-h:0);return f.length>1||f[0]||tt(w,x)?(mo(r.doc,f,w,x,\"+input\"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ua.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zr(this.cm,(function(){return fr(e.cm)}))},Ua.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Ua.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Ia)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ua.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Ga=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ga.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Da({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ma(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,B):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),M(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||La(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!xn(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){xn(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ga.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Wn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ga.prototype.showSelection=function(e){var t=this.cm.display;_(t.cursorDiv,e.cursors),_(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ga.prototype.getField=function(){return this.textarea},Ga.prototype.supportsTouch=function(){return!1},Ga.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur()},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ga.prototype.receivedFocus=function(){this.slowPoll()},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ga.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"​\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Zr(t,(function(){Ia(t,i.slice(l),r.length-l,null,e.composing?\"*compose\":null),i.length>1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ga.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ga.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=cr(n,e),c=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Zi)(n.doc,Oi(o),B);var u,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),k){xe(e);var m=function(){de(window,\"mouseup\",m),setTimeout(g,20)};fe(window,\"mouseup\",m)}else setTimeout(g,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"​\"+(e?i.value:\"\");i.value=\"⇚\",i.value=o,t.prevInput=e?\"\":\"​\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"​\"==t.prevInput?ei(n,so)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e,this.textarea.readOnly=!!e},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=xa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=xa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Ai(e)}),!0),n(\"indentUnit\",2,Ai,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Di(e),Un(e),fr(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=xa&&e.refresh()})),n(\"specialCharPlaceholder\",Xt,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!E),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){wa(e),mi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Jo(t),i=n!=xa&&Jo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,Ca,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return qr(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){Hr(e),qr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=di(e.options.gutters,t),mi(e)}),!0),n(\"firstLineNumber\",1,mi,!0),n(\"lineNumberFormatter\",(function(e){return e}),mi,!0),n(\"showCursorWhenSelecting\",!1,vr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(Or(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,Oa),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,vr,!0),n(\"singleCursorHeightPerLine\",!0,vr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Di,!0),n(\"addModeClass\",!1,Di,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Di,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(Sa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&ei(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Jo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ti((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error(\"Overlays may not be stateful.\");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,fr(this)})),removeOverlay:ti((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||\"string\"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void fr(this)}})),indentLine:ti((function(e,t,n){\"string\"!=typeof t&&\"number\"!=typeof t&&(t=null==t?this.options.smartIndent?\"smart\":\"prev\":t?\"add\":\"subtract\"),Xe(this.doc,e)&&Na(this,e,t,n)})),indentSelection:ti((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Na(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Dr(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Na(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Ji(this.doc,r,new ki(o,c[r].to()),B)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=pt(this,Qe(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf(\"overlay \"):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if(\"string\"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return dt(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Wn(this,null==e?n.head:\"object\"==typeof e?st(this.doc,e):e?n.from():n.to(),t||\"page\")},charCoords:function(e,t){return Qn(this,st(this.doc,e),t||\"page\")},coordsChar:function(e,t){return Jn(this,(e=Gn(this,e,t||\"page\")).left,e.top)},lineAtHeight:function(e,t){return e=Gn(this,{top:e,left:0},t||\"page\").top,$e(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if(\"number\"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Qe(this.doc,e)}else r=e;return Hn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-zt(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Wn(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),l.sizer.appendChild(t),\"over\"==r)c=e.top;else if(\"above\"==r||\"near\"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?u=0:\"middle\"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+\"px\"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Nr(o,a)).scrollTop&&Mr(o,s.scrollTop),null!=s.scrollLeft&&Rr(o,s.scrollLeft))},triggerOnKeyDown:ti(ua),triggerOnKeyPress:ti(pa),triggerOnKeyUp:fa,triggerOnMouseDown:ti(va),execCommand:function(e){if(ta.hasOwnProperty(e))return ta[e].call(null,this)},triggerElectric:ti((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Pa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Pa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),H)})),deleteH:ti((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection(\"\",null,\"+delete\"):$o(this,(function(n){var i=Pa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var l=Wn(this,a,\"div\");if(null==o?o=l.left:l.left=o,(a=Va(this,l,i,n)).hitSide)break}return a},moveV:ti((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Wn(n,a.head,\"div\");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Va(n,s,e,t);return\"page\"==t&&a==r.sel.primary()&&Ar(n,Qn(n,l,\"div\").top-s.top),l}),H),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Qe(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,\"wordChars\");\"before\"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\\s/.test(o)?function(e){return/\\s/.test(e)}:function(e){return!/\\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new ki(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,\"CodeMirror-overwrite\"):C(this.display.cursorDiv,\"CodeMirror-overwrite\"),he(this,\"overwriteToggle\",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Ir(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Cn(this)-this.display.barHeight,width:e.scrollWidth-Cn(this)-this.display.barWidth,clientHeight:_n(this),clientWidth:Sn(this)}},scrollIntoView:ti((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):\"number\"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Lr(e),e.curOp.scrollToPos=t}(this,e):jr(this,e.from,e.to,e.margin)})),setSize:ti((function(e,t){var n=this,r=function(e){return\"number\"==typeof e||/^\\d+$/.test(String(e))?e+\"px\":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Vn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pr(n,i,\"widget\");break}++i})),this.curOp.forceUpdate=!0,he(this,\"refresh\",this)})),operation:function(e){return Zr(this,e)},startOperation:function(){return Qr(this)},endOperation:function(){return Wr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;fr(this),this.curOp.forceUpdate=!0,Un(this),Ir(this,this.doc.scrollLeft,this.doc.scrollTop),ci(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&lr(this),he(this,\"refresh\",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Mi(this,e),Un(this),this.display.input.reset(),Ir(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ln(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Sa);var Qa=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Wa in Do.prototype)Do.prototype.hasOwnProperty(Wa)&&U(Qa,Wa)<0&&(Sa.prototype[Wa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Do.prototype[Wa]));return ye(Do),Sa.inputStyles={textarea:Ga,contenteditable:Ua},Sa.defineMode=function(e){Sa.defaults.mode||\"null\"==e||(Sa.defaults.mode=e),Re.apply(this,arguments)},Sa.defineMIME=function(e,t){Fe[e]=t},Sa.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),Sa.defineMIME(\"text/plain\",\"null\"),Sa.defineExtension=function(e,t){Sa.prototype[e]=t},Sa.defineDocExtension=function(e,t){Do.prototype[e]=t},Sa.fromTextArea=function(e,t){if((t=t?R(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=Sa((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=Ei,e.Doc=Do,e.splitLines=De,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=q,e.signal=he,e.Line=Qt,e.changeEnd=Ci,e.scrollbarModel=zr,e.Pos=et,e.cmpPos=tt,e.modes=Me,e.mimeModes=Fe,e.resolveMode=Pe,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=qe,e.copyState=Be,e.startState=He,e.innerMode=ze,e.commands=ta,e.keyMap=zo,e.keyName=Yo,e.isModifierKey=Wo,e.lookupKey=Qo,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=So,e.TextMarker=Oo,e.LineWidget=xo,e.e_preventDefault=be,e.e_stopPropagation=Ee,e.e_stop=xe,e.addClass=L,e.contains=D,e.rmClass=C,e.keyNames=Vo}(Sa),Sa.version=\"5.63.3\",Sa}()},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 g})),n.d(t,\"d\",(function(){return y})),n.d(t,\"e\",(function(){return b})),n.d(t,\"a\",(function(){return E})),n.d(t,\"b\",(function(){return w})),n.d(t,\"f\",(function(){return x})),n.d(t,\"j\",(function(){return k})),n.d(t,\"i\",(function(){return T}));var r=n(37),i=n(19),o=n(4),a=n(27),s=n(8),l=n(29),c=n(22),u=n(32),f=n(7),p=n(10),d=n(0);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(l.a)(e,g)}function v(e){if(!m(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL directive.\"));return e}var g=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(a.a)(e.extensions),this.astNode=e.astNode,e.name||Object(s.a)(0,\"Directive must be named.\"),Array.isArray(e.locations)||Object(s.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(s.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(a.a)(n.extensions),astNode:n.astNode}}))}var t,n,o,l=e.prototype;return l.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}},l.toString=function(){return\"@\"+this.name},l.toJSON=function(){return this.toString()},t=e,(n=[{key:i.c,get:function(){return\"GraphQLDirective\"}}])&&h(t.prototype,n),o&&h(t,o),e}();Object(u.a)(g);var y=new g({name:\"include\",description:\"Directs the executor to include this field or fragment only when the `if` argument is true.\",locations:[f.a.FIELD,f.a.FRAGMENT_SPREAD,f.a.INLINE_FRAGMENT],args:{if:{type:new d.e(p.a),description:\"Included when true.\"}}}),b=new g({name:\"skip\",description:\"Directs the executor to skip this field or fragment when the `if` argument is true.\",locations:[f.a.FIELD,f.a.FRAGMENT_SPREAD,f.a.INLINE_FRAGMENT],args:{if:{type:new d.e(p.a),description:\"Skipped when true.\"}}}),E=\"No longer supported\",w=new g({name:\"deprecated\",description:\"Marks an element of a GraphQL schema as no longer supported.\",locations:[f.a.FIELD_DEFINITION,f.a.ARGUMENT_DEFINITION,f.a.INPUT_FIELD_DEFINITION,f.a.ENUM_VALUE],args:{reason:{type:p.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:E}}}),x=new g({name:\"specifiedBy\",description:\"Exposes a URL that specifies the behaviour of this scalar.\",locations:[f.a.SCALAR],args:{url:{type:new d.e(p.e),description:\"The URL that specifies the behaviour of this scalar.\"}}}),k=Object.freeze([y,b,w,x]);function T(e){return k.some((function(t){return t.name===e.name}))}},function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(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 a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,l=new RegExp(s.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(112);var f=/[&<>\"]/,p=/[&<>\"]/g,d={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"};function h(e){return d[e]}var m=/[.?*+^$[\\]\\\\(){}|-]/g;var v=n(87);t.lib={},t.lib.mdurl=n(113),t.lib.ucmicro=n(189),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(s,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return f.test(e)?e.replace(p,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,\" \"),\"Ṿ\"===\"ẞ\".toLowerCase()&&(e=e.replace(/ẞ/g,\"ß\")),e.toLowerCase().toUpperCase()}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(32),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 o=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&\"string\"==typeof e.kind}Object(r.a)(o)},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 o}));var r=\"function\"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:\"@@iterator\",i=\"function\"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:\"@@toStringTag\"},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}},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}},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})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(11),o=n(2),a=n(0);function s(e,t){var n;return t.kind===o.a.LIST_TYPE?(n=s(e,t.type))&&new a.d(n):t.kind===o.a.NON_NULL_TYPE?(n=s(e,t.type))&&new a.e(n):t.kind===o.a.NAMED_TYPE?e.getType(t.name.value):void Object(i.a)(0,\"Unexpected type node: \"+Object(r.a)(t))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(4),i=n(18),o={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\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===u.length,E=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),E){if(l)d=d.slice();else{for(var w={},x=0,k=Object.keys(d);x<k.length;x++){var T=k[x];w[T]=d[T]}d=w}for(var O=0,C=0;C<p.length;C++){var S=p[C][0],_=p[C][1];l&&(S-=O),l&&null===_?(d.splice(S,1),O++):d[S]=_}}f=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else{if(h=m?l?f:u[f]:void 0,null==(d=m?m[h]:y))continue;m&&v.push(h)}var N,A=void 0;if(!Array.isArray(d)){if(!Object(i.c)(d))throw new Error(\"Invalid AST Node: \".concat(Object(r.a)(d),\".\"));var D=c(t,d.kind,b);if(D){if((A=D.call(t,d,h,m,v,g))===a)break;if(!1===A){if(!b){v.pop();continue}}else if(void 0!==A&&(p.push([h,A]),!b)){if(!Object(i.c)(A)){v.pop();continue}d=A}}}if(void 0===A&&E&&p.push([h,d]),b)v.pop();else s={inArray:l,index:f,keys:u,edits:p,prev:s},u=(l=Array.isArray(d))?d:null!==(N=n[d.kind])&&void 0!==N?N:[],f=-1,p=[],m&&g.push(m),m=d}while(void 0!==s);return 0!==p.length&&(y=p[p.length-1][1]),y}function l(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 o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},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 o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}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 o=n?e.leave:e.enter;if(o){if(\"function\"==typeof o)return o;var a=o[t];if(\"function\"==typeof a)return a}}}},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}))},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 o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(37);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 o=i[n],a=o[0],s=o[1];t[a]=s}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(47);function i(e,t){for(var n=Object.create(null),i=new o(e),a=Math.floor(.4*e.length)+1,s=0;s<t.length;s++){var l=t[s],c=i.measure(l,a);void 0!==c&&(n[l]=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 o=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=a(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=a(n),i=this._inputArray;if(r.length<i.length){var o=r;r=i,i=o}var s=r.length,l=i.length;if(!(s-l>t)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var f=1;f<=s;f++){for(var p=c[(f-1)%3],d=c[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=c[(f-2)%3][m-2];g=Math.min(g,y+1)}g<h&&(h=g),d[m]=g}if(h>t)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function a(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},function(e,t,n){\"use strict\";t.a=function(e,t){return e instanceof t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e,t,n){return new r.a(\"Syntax Error: \".concat(n),void 0,e,[t])}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a})),n.d(t,\"i\",(function(){return s})),n.d(t,\"f\",(function(){return l})),n.d(t,\"g\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"h\",(function(){return f})),n.d(t,\"e\",(function(){return p}));var r=n(2);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function a(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function s(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 l(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||u(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function u(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 f(e){return e.kind===r.a.SCHEMA_EXTENSION||p(e)}function p(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}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(11),i=n(69);function o(e){var t=e.prototype.toJSON;\"function\"==typeof t||Object(r.a)(0),e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u})),n.d(t,\"c\",(function(){return f})),n.d(t,\"b\",(function(){return p}));var r=n(30),i=n(2),o=n(18),a=n(5),s=n(62),l=n(7),c=n(63);function u(e,t){return new d(e,t).parseDocument()}function f(e,t){var n=new d(e,t);n.expectToken(a.a.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(a.a.EOF),r}function p(e,t){var n=new d(e,t);n.expectToken(a.a.SOF);var r=n.parseTypeReference();return n.expectToken(a.a.EOF),r}var d=function(){function e(e,t){var n=Object(s.b)(e)?e:new s.a(e);this._lexer=new c.a(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(a.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(a.a.SOF,this.parseDefinition,a.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(a.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(a.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(a.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(a.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(a.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(a.a.PAREN_L,this.parseVariableDefinition,a.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.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(a.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(a.a.BRACE_L,this.parseSelection,a.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(a.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(a.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(a.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(a.a.PAREN_L,t,a.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.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(a.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.a.SPREAD);var t=this.expectOptionalKeyword(\"on\");return!t&&this.peek(a.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 a.a.BRACKET_L:return this.parseList(e);case a.a.BRACE_L:return this.parseObject(e);case a.a.INT:return this._lexer.advance(),{kind:i.a.INT,value:t.value,loc:this.loc(t)};case a.a.FLOAT:return this._lexer.advance(),{kind:i.a.FLOAT,value:t.value,loc:this.loc(t)};case a.a.STRING:case a.a.BLOCK_STRING:return this.parseStringLiteral();case a.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 a.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===a.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(a.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),a.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(a.a.BRACE_L,(function(){return t.parseObjectField(e)}),a.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(a.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(a.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.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(a.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.a.BRACKET_R),e={kind:i.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.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===a.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(a.a.STRING)||this.peek(a.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(a.a.BRACE_L,this.parseOperationTypeDefinition,a.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(a.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(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,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(a.a.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(a.a.AMP)||this.peek(a.a.NAME));return t}return this.delimitedMany(a.a.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(a.a.BRACE_L)&&this._lexer.lookahead().kind===a.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.a.BRACE_L,this.parseFieldDefinition,a.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.a.COLON);var o=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:i.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(a.a.PAREN_L,this.parseInputValueDef,a.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.a.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(a.a.EQUALS)&&(r=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:i.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:s,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(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,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),o=this.parseUnionMemberTypes();return{kind:i.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.a.EQUALS)?this.delimitedMany(a.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),o=this.parseEnumValuesDefinition();return{kind:i.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(a.a.BRACE_L,this.parseEnumValueDefinition,a.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),o=this.parseInputFieldsDefinition();return{kind:i.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(a.a.BRACE_L,this.parseInputValueDef,a.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.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(a.a.BRACE_L,this.parseOperationTypeDefinition,a.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),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:i.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,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),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:i.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,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(a.a.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword(\"repeatable\");this.expectKeyword(\"on\");var s=this.parseDirectiveLocations();return{kind:i.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(a.a.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==l.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 o.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!==a.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===a.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=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}},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}))},function(e,t,n){\"use strict\";function r(e,t){var n;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n&&window.clearTimeout(n),n=window.setTimeout((function(){n=null,t.apply(r,i)}),e)}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";function r(e){var t=e.split(/\\r\\n|[\\n\\r]/g),n=o(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var a=0;a<t.length&&i(t[a]);)++a;for(var s=t.length;s>a&&i(t[s-1]);)--s;return t.slice(a,s).join(\"\\n\")}function i(e){for(var t=0;t<e.length;++t)if(\" \"!==e[t]&&\"\\t\"!==e[t])return!1;return!0}function o(e){for(var t,n=!0,r=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===o||i<o)&&(o=i),r=!1}return null!==(t=o)&&void 0!==t?t:0}function a(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],o='\"'===e[e.length-1],a=\"\\\\\"===e[e.length-1],s=!r||o||a||n,l=\"\";return!s||r&&i||(l+=\"\\n\"+t),l+=t?e.replace(/\\n/g,\"\\n\"+t):e,s&&(l+=\"\\n\"),'\"\"\"'+l.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}))},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},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},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return v})),n.d(t,\"b\",(function(){return g})),n.d(t,\"a\",(function(){return y}));var r=n(38),i=n(84),o=n(12),a=n(19),s=n(4),l=n(27),c=n(8),u=n(29),f=n(22),p=n(9),d=n(16),h=n(0);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(u.a)(e,y)}function g(e){if(!v(e))throw new Error(\"Expected \".concat(Object(s.a)(e),\" to be a GraphQL schema.\"));return e}var y=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,Object(f.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(s.a)(e.types),\".\")),!e.directives||Array.isArray(e.directives)||Object(c.a)(0,'\"directives\" must be Array if provided but got: '+\"\".concat(Object(s.a)(e.directives),\".\")),this.description=e.description,this.extensions=e.extensions&&Object(l.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,o=e.types;r<o.length;r++){var a=o[r];n.delete(a),b(a,n)}null!=this._queryType&&b(this._queryType,n),null!=this._mutationType&&b(this._mutationType,n),null!=this._subscriptionType&&b(this._subscriptionType,n);for(var u=0,m=this._directives;u<m.length;u++){var v=m[u];if(Object(d.h)(v))for(var g=0,y=v.args;g<y.length;g++){b(y[g].type,n)}}b(p.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var E=0,w=Object(i.a)(n);E<w.length;E++){var x=w[E];if(null!=x){var k=x.name;if(k||Object(c.a)(0,\"One of the provided types for building the Schema is missing a name.\"),void 0!==this._typeMap[k])throw new Error('Schema must contain uniquely named types but contains multiple types named \"'.concat(k,'\".'));if(this._typeMap[k]=x,Object(h.H)(x))for(var T=0,O=x.getInterfaces();T<O.length;T++){var C=O[T];if(Object(h.H)(C)){var S=this._implementationsMap[C.name];void 0===S&&(S=this._implementationsMap[C.name]={objects:[],interfaces:[]}),S.interfaces.push(x)}}else if(Object(h.N)(x))for(var _=0,N=x.getInterfaces();_<N.length;_++){var A=N[_];if(Object(h.H)(A)){var D=this._implementationsMap[A.name];void 0===D&&(D=this._implementationsMap[A.name]={objects:[],interfaces:[]}),D.objects.push(x)}}}}}var t,n,u,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?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 o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++){n[s[a].name]=!0}for(var l=0,c=o.interfaces;l<c.length;l++){n[c[l].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(o.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:a.c,get:function(){return\"GraphQLSchema\"}}])&&m(t.prototype,n),u&&m(t,u),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 a=0,s=n.getInterfaces();a<s.length;a++){b(s[a],t)}for(var l=0,c=Object(o.a)(n.getFields());l<c.length;l++){var u=c[l];b(u.type,t);for(var f=0,p=u.args;f<p.length;f++){b(p[f].type,t)}}}else if(Object(h.F)(n))for(var d=0,m=Object(o.a)(n.getFields());d<m.length;d++){b(m[d].type,t)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(37);function i(e,t){for(var n=Object.create(null),i=0,o=Object(r.a)(e);i<o.length;i++){var a=o[i],s=a[0],l=a[1];n[s]=t(l,s)}return n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(4),i=n(3);function o(e,t,n){var o,a=e instanceof Error?e:new Error(\"Unexpected error value: \"+Object(r.a)(e));return Array.isArray(a.path)?a:new i.a(a.message,null!==(o=a.nodes)&&void 0!==o?o:t,a.source,a.positions,n,a)}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return i})),n.d(t,\"c\",(function(){return o})),n.d(t,\"a\",(function(){return a}));var r=n(0);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 o(e,t,n){return t===n||(Object(r.L)(n)?!!Object(r.L)(t)&&o(e,t.ofType,n.ofType):Object(r.L)(t)?o(e,t.ofType,n):Object(r.J)(n)?!!Object(r.J)(t)&&o(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 a(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))}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return h})),n.d(t,\"a\",(function(){return m}));var r=n(38),i=n(12),o=n(4),a=n(3),s=n(41),l=n(160),c=n(42),u=n(39),f=n(9),p=n(16),d=n(0);function h(e){if(Object(u.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(o.a)(n),\".\"),null!==(r=g(t,\"query\"))&&void 0!==r?r:n.astNode)}}else e.reportError(\"Query root type must be provided.\",t.astNode);var i,a=t.getMutationType();a&&!Object(d.N)(a)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(a),\".\"),null!==(i=g(t,\"mutation\"))&&void 0!==i?i:a.astNode);var s,l=t.getSubscriptionType();l&&!Object(d.N)(l)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(o.a)(l),\".\"),null!==(s=g(t,\"subscription\"))&&void 0!==s?s:l.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(Object(p.h)(r)){y(e,r);for(var i=0,a=r.args;i<a.length;i++){var s,l=a[i];if(y(e,l),Object(d.G)(l.type)||e.reportError(\"The type of @\".concat(r.name,\"(\").concat(l.name,\":) must be Input Type \")+\"but got: \".concat(Object(o.a)(l.type),\".\"),l.astNode),Object(d.P)(l)&&null!=l.deprecationReason)e.reportError(\"Required argument @\".concat(r.name,\"(\").concat(l.name,\":) cannot be deprecated.\"),[A(l.astNode),null===(s=l.astNode)||void 0===s?void 0:s.type])}}else e.reportError(\"Expected directive but got: \".concat(Object(o.a)(r),\".\"),null==r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function o(a){if(t[a.name])return;t[a.name]=!0,r[a.name]=n.length;for(var s=Object(i.a)(a.getFields()),l=0;l<s.length;l++){var c=s[l];if(Object(d.L)(c.type)&&Object(d.F)(c.type.ofType)){var u=c.type.ofType,f=r[u.name];if(n.push(c),void 0===f)o(u);else{var p=n.slice(f),h=p.map((function(e){return e.name})).join(\".\");e.reportError('Cannot reference Input Object \"'.concat(u.name,'\" within itself through a series of non-null fields: \"').concat(h,'\".'),p.map((function(e){return e.astNode})))}n.pop()}}r[a.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,a=Object(i.a)(n);r<a.length;r++){var s=a[r];Object(d.K)(s)?(Object(f.isIntrospectionType)(s)||y(e,s),Object(d.N)(s)||Object(d.H)(s)?(b(e,s),E(e,s)):Object(d.T)(s)?k(e,s):Object(d.E)(s)?T(e,s):Object(d.F)(s)&&(O(e,s),t(s))):e.reportError(\"Expected GraphQL named type but got: \".concat(Object(o.a)(s),\".\"),s.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 a.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function g(e,t){for(var n=S(e,(function(e){return e.operationTypes})),r=0;r<n.length;r++){var i=n[r];if(i.operation===t)return i.type}}function y(e,t){var n=Object(l.b)(t.name);n&&e.addError(Object(s.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.\"),C(t));for(var r=0;r<n.length;r++){var a,s=n[r];if(y(e,s),!Object(d.O)(s.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(s.name,\" must be Output Type \")+\"but got: \".concat(Object(o.a)(s.type),\".\"),null===(a=s.astNode)||void 0===a?void 0:a.type);for(var l=0,c=s.args;l<c.length;l++){var u,f,p=c[l],h=p.name;if(y(e,p),!Object(d.G)(p.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(s.name,\"(\").concat(h,\":) must be Input \")+\"Type but got: \".concat(Object(o.a)(p.type),\".\"),null===(u=p.astNode)||void 0===u?void 0:u.type);if(Object(d.P)(p)&&null!=p.deprecationReason)e.reportError(\"Required argument \".concat(t.name,\".\").concat(s.name,\"(\").concat(h,\":) cannot be deprecated.\"),[A(p.astNode),null===(f=p.astNode)||void 0===f?void 0:f.type])}}}function E(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var a=i[r];Object(d.H)(a)?t!==a?n[a.name]?e.reportError(\"Type \".concat(t.name,\" can only implement \").concat(a.name,\" once.\"),_(t,a)):(n[a.name]=!0,x(e,t,a),w(e,t,a)):e.reportError(\"Type \".concat(t.name,\" cannot implement itself because it would create a circular reference.\"),_(t,a)):e.reportError(\"Type \".concat(Object(o.a)(t),\" must only implement Interface types, \")+\"it cannot implement \".concat(Object(o.a)(a),\".\"),_(t,a))}}function w(e,t,n){for(var a=t.getFields(),s=0,l=Object(i.a)(n.getFields());s<l.length;s++){var u=l[s],f=u.name,p=a[f];if(p){var h,m;if(!Object(c.c)(e.schema,p.type,u.type))e.reportError(\"Interface field \".concat(n.name,\".\").concat(f,\" expects type \")+\"\".concat(Object(o.a)(u.type),\" but \").concat(t.name,\".\").concat(f,\" \")+\"is type \".concat(Object(o.a)(p.type),\".\"),[null===(h=u.astNode)||void 0===h?void 0:h.type,null===(m=p.astNode)||void 0===m?void 0:m.type]);for(var v=function(i,a){var s,l,u=a[i],d=u.name,h=Object(r.a)(p.args,(function(e){return e.name===d}));if(!h)return e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(f,\"(\").concat(d,\":) expected but \").concat(t.name,\".\").concat(f,\" does not provide it.\"),[u.astNode,p.astNode]),\"continue\";Object(c.b)(u.type,h.type)||e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(f,\"(\").concat(d,\":) \")+\"expects type \".concat(Object(o.a)(u.type),\" but \")+\"\".concat(t.name,\".\").concat(f,\"(\").concat(d,\":) is type \")+\"\".concat(Object(o.a)(h.type),\".\"),[null===(s=u.astNode)||void 0===s?void 0:s.type,null===(l=h.astNode)||void 0===l?void 0:l.type])},g=0,y=u.args;g<y.length;g++)v(g,y);for(var b=function(i,o){var a=o[i],s=a.name;!Object(r.a)(u.args,(function(e){return e.name===s}))&&Object(d.P)(a)&&e.reportError(\"Object field \".concat(t.name,\".\").concat(f,\" includes required argument \").concat(s,\" that is missing from the Interface field \").concat(n.name,\".\").concat(f,\".\"),[a.astNode,u.astNode])},E=0,w=p.args;E<w.length;E++)b(E,w)}else e.reportError(\"Interface field \".concat(n.name,\".\").concat(f,\" expected but \").concat(t.name,\" does not provide it.\"),[u.astNode].concat(C(t)))}}function x(e,t,n){for(var r=t.getInterfaces(),i=0,o=n.getInterfaces();i<o.length;i++){var a=o[i];-1===r.indexOf(a)&&e.reportError(a===t?\"Type \".concat(t.name,\" cannot implement \").concat(n.name,\" because it would create a circular reference.\"):\"Type \".concat(t.name,\" must implement \").concat(a.name,\" because it is implemented by \").concat(n.name,\".\"),[].concat(_(n,a),_(t,n)))}}function k(e,t){var n=t.getTypes();0===n.length&&e.reportError(\"Union type \".concat(t.name,\" must define one or more member types.\"),C(t));for(var r=Object.create(null),i=0;i<n.length;i++){var a=n[i];r[a.name]?e.reportError(\"Union type \".concat(t.name,\" can only include type \").concat(a.name,\" once.\"),N(t,a.name)):(r[a.name]=!0,Object(d.N)(a)||e.reportError(\"Union type \".concat(t.name,\" can only include Object types, \")+\"it cannot include \".concat(Object(o.a)(a),\".\"),N(t,String(a))))}}function T(e,t){var n=t.getValues();0===n.length&&e.reportError(\"Enum type \".concat(t.name,\" must define one or more values.\"),C(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;y(e,i),\"true\"!==o&&\"false\"!==o&&\"null\"!==o||e.reportError(\"Enum type \".concat(t.name,\" cannot include value: \").concat(o,\".\"),i.astNode)}}function O(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.\"),C(t));for(var r=0;r<n.length;r++){var a,s,l=n[r];if(y(e,l),!Object(d.G)(l.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(l.name,\" must be Input Type \")+\"but got: \".concat(Object(o.a)(l.type),\".\"),null===(a=l.astNode)||void 0===a?void 0:a.type);if(Object(d.Q)(l)&&null!=l.deprecationReason)e.reportError(\"Required input field \".concat(t.name,\".\").concat(l.name,\" cannot be deprecated.\"),[A(l.astNode),null===(s=l.astNode)||void 0===s?void 0:s.type])}}function C(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!=n?n:[]}function S(e,t){for(var n=[],r=0,i=C(e);r<i.length;r++){var o,a=i[r];n=n.concat(null!==(o=t(a))&&void 0!==o?o:[])}return n}function _(e,t){return S(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function N(e,t){return S(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}function A(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return e.name.value===p.b.name}))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r,i=n(1),o=n.n(i),a=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=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 a(t,e),t.prototype.render=function(){var e=this.state.error;return o.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}(o.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u})),n.d(t,\"b\",(function(){return p}));var r=n(38),i=n(2),o=n(18),a=n(24),s=n(0),l=n(9),c=n(23),u=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?t:f,n&&(Object(s.G)(n)&&this._inputTypeStack.push(n),Object(s.D)(n)&&this._parentTypeStack.push(n),Object(s.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(s.A)(this.getType());this._parentTypeStack.push(Object(s.D)(n)?n:void 0);break;case i.a.FIELD:var o,a,l=this.getParentType();l&&(o=this._getFieldDef(t,l,e))&&(a=o.type),this._fieldDefStack.push(o),this._typeStack.push(Object(s.O)(a)?a:void 0);break;case i.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.a.OPERATION_DEFINITION:var u;switch(e.operation){case\"query\":u=t.getQueryType();break;case\"mutation\":u=t.getMutationType();break;case\"subscription\":u=t.getSubscriptionType()}this._typeStack.push(Object(s.N)(u)?u:void 0);break;case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:var f=e.typeCondition,p=f?Object(c.a)(t,f):Object(s.A)(this.getType());this._typeStack.push(Object(s.O)(p)?p:void 0);break;case i.a.VARIABLE_DEFINITION:var d=Object(c.a)(t,e.type);this._inputTypeStack.push(Object(s.G)(d)?d:void 0);break;case i.a.ARGUMENT:var h,m,v,g=null!==(h=this.getDirective())&&void 0!==h?h:this.getFieldDef();g&&(m=Object(r.a)(g.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(s.G)(v)?v:void 0);break;case i.a.LIST:var y=Object(s.B)(this.getInputType()),b=Object(s.J)(y)?y.ofType:y;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(s.G)(b)?b:void 0);break;case i.a.OBJECT_FIELD:var E,w,x=Object(s.A)(this.getInputType());Object(s.F)(x)&&(w=x.getFields()[e.name.value])&&(E=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(s.G)(E)?E:void 0);break;case i.a.ENUM:var k,T=Object(s.A)(this.getInputType());Object(s.E)(T)&&(k=T.getValue(e.value)),this._enumValue=k}},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 f(e,t,n){var r=n.name.value;return r===l.SchemaMetaFieldDef.name&&e.getQueryType()===t?l.SchemaMetaFieldDef:r===l.TypeMetaFieldDef.name&&e.getQueryType()===t?l.TypeMetaFieldDef:r===l.TypeNameMetaFieldDef.name&&Object(s.D)(t)?l.TypeNameMetaFieldDef:Object(s.N)(t)||Object(s.H)(t)?t.getFields()[r]:void 0}function p(e,t){return{enter:function(n){e.enter(n);var r=Object(a.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(o.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(a.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(0),i=n(163),o=n.n(i),a=n(59),s=new(n.n(a).a);function l(e,t,i){var a,l;n(15).on(t,\"select\",(function(e,t){if(!a){var n,c=t.parentNode;(a=document.createElement(\"div\")).className=\"CodeMirror-hint-information\",c.appendChild(a),(l=document.createElement(\"div\")).className=\"CodeMirror-hint-deprecation\",c.appendChild(l),c.addEventListener(\"DOMNodeRemoved\",n=function(e){e.target===c&&(c.removeEventListener(\"DOMNodeRemoved\",n),a=null,l=null,n=null)})}var u=e.description?s.render(e.description):\"Self descriptive.\",f=e.type?'<span class=\"infoType\">'+function e(t){if(t instanceof r.e)return e(t.ofType)+\"!\";if(t instanceof r.d)return\"[\"+e(t.ofType)+\"]\";return'<a class=\"typeName\">'+o()(t.name)+\"</a>\"}(e.type)+\"</span>\":\"\";if(a.innerHTML='<div class=\"content\">'+(\"<p>\"===u.slice(0,3)?\"<p>\"+f+u.slice(3):f+u)+\"</div>\",e&&l&&e.isDeprecated){var p=e.deprecationReason?s.render(e.deprecationReason):\"\";l.innerHTML='<span class=\"deprecation-label\">Deprecated</span>'+p,l.style.display=\"block\"}else l&&(l.style.display=\"none\");i&&i(a)}))}},function(e,t,n){\"use strict\";function r(e,t){for(var n=0,r=0;n<e.length&&r<t.length;){var a=e.charCodeAt(n),s=t.charCodeAt(r);if(o(a)&&o(s)){var l=0;do{++n,l=10*l+a-i,a=e.charCodeAt(n)}while(o(a)&&l>0);var c=0;do{++r,c=10*c+s-i,s=t.charCodeAt(r)}while(o(s)&&c>0);if(l<c)return-1;if(l>c)return 1}else{if(a<s)return-1;if(a>s)return 1;++n,++r}}return e.length-t.length}n.d(t,\"a\",(function(){return r}));var i=48;function o(e){return!isNaN(e)&&i<=e&&e<=57}},function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return u})),n.d(t,\"a\",(function(){return p})),n.d(t,\"b\",(function(){return d}));var r=n(8),i=n(3),o=n(24),a=n(43),s=n(45),l=n(98),c=n(106);function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.a(e),f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(r.a)(0,\"Must provide document.\"),Object(a.a)(e);var p=Object.freeze({}),d=[],h=new c.b(e,t,u,(function(e){if(null!=f.maxErrors&&d.length>=f.maxErrors)throw d.push(new i.a(\"Too many validation errors, error limit reached. Validation aborted.\")),p;d.push(e)})),m=Object(o.d)(n.map((function(e){return e(h)})));try{Object(o.c)(t,Object(s.b)(u,m))}catch(e){if(e!==p)throw e}return d}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.b,r=[],i=new c.a(e,t,(function(e){r.push(e)})),a=n.map((function(e){return e(i)}));return Object(o.c)(e,Object(o.d)(a)),r}function p(e){var t=f(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}function d(e,t){var n=f(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}},function(e,t,n){\"use strict\";var r,i=!1;\"object\"==typeof window&&(i=\"MacIntel\"===window.navigator.platform);var o=((r={})[i?\"Cmd-F\":\"Ctrl-F\"]=\"findPersistent\",r[\"Cmd-G\"]=\"findPersistent\",r[\"Ctrl-G\"]=\"findPersistent\",r[\"Ctrl-Left\"]=\"goSubwordLeft\",r[\"Ctrl-Right\"]=\"goSubwordRight\",r[\"Alt-Left\"]=\"goGroupLeft\",r[\"Alt-Right\"]=\"goGroupRight\",r);t.a=o},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return p}));var r=n(52),i=n(12),o=n(4),a=n(11),s=n(22),l=n(58),c=n(2),u=n(10),f=n(0);function p(e,t){if(Object(f.L)(t)){var n=p(e,t.ofType);return(null==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(f.J)(t)){var h=t.ofType,m=Object(l.a)(e);if(null!=m){for(var v=[],g=0;g<m.length;g++){var y=p(m[g],h);null!=y&&v.push(y)}return{kind:c.a.LIST,values:v}}return p(e,h)}if(Object(f.F)(t)){if(!Object(s.a)(e))return null;for(var b=[],E=0,w=Object(i.a)(t.getFields());E<w.length;E++){var x=w[E],k=p(e[x.name],x.type);k&&b.push({kind:c.a.OBJECT_FIELD,name:{kind:c.a.NAME,value:x.name},value:k})}return{kind:c.a.OBJECT,fields:b}}if(Object(f.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 O=String(T);return d.test(O)?{kind:c.a.INT,value:O}:{kind:c.a.FLOAT,value:O}}if(\"string\"==typeof T)return Object(f.E)(t)?{kind:c.a.ENUM,value:T}:t===u.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(o.a)(T),\".\"))}Object(a.a)(0,\"Unexpected input type: \"+Object(o.a)(t))}var d=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(12),i=n(25),o=n(4),a=n(11),s=n(2),l=n(0);function c(e,t,n){if(e){if(e.kind===s.a.VARIABLE){var f=e.name.value;if(null==n||void 0===n[f])return;var p=n[f];if(null===p&&Object(l.L)(t))return;return p}if(Object(l.L)(t)){if(e.kind===s.a.NULL)return;return c(e,t.ofType,n)}if(e.kind===s.a.NULL)return null;if(Object(l.J)(t)){var d=t.ofType;if(e.kind===s.a.LIST){for(var h=[],m=0,v=e.values;m<v.length;m++){var g=v[m];if(u(g,n)){if(Object(l.L)(d))return;h.push(null)}else{var y=c(g,d,n);if(void 0===y)return;h.push(y)}}return h}var b=c(e,d,n);if(void 0===b)return;return[b]}if(Object(l.F)(t)){if(e.kind!==s.a.OBJECT)return;for(var E=Object.create(null),w=Object(i.a)(e.fields,(function(e){return e.name.value})),x=0,k=Object(r.a)(t.getFields());x<k.length;x++){var T=k[x],O=w[T.name];if(O&&!u(O.value,n)){var C=c(O.value,T.type,n);if(void 0===C)return;E[T.name]=C}else if(void 0!==T.defaultValue)E[T.name]=T.defaultValue;else if(Object(l.L)(T.type))return}return E}if(Object(l.I)(t)){var S;try{S=t.parseLiteral(e,n)}catch(e){return}if(void 0===S)return;return S}Object(a.a)(0,\"Unexpected input type: \"+Object(o.a)(t))}}function u(e,t){return e.kind===s.a.VARIABLE&&(null==t||void 0===t[e.name.value])}},function(e,t,n){\"use strict\";var r=Number.isFinite||function(e){return\"number\"==typeof e&&isFinite(e)};t.a=r},function(e,t,n){\"use strict\";function r(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t}function i(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return i}))},function(e,t,n){!function(e){\"use strict\";var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?\"i\":\"\")+(e.global?\"g\":\"\")+(e.multiline?\"m\":\"\")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\\\s|\\\\n|\\n|\\\\W|\\\\D|\\[\\^/.test(e.source)}function a(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.lastLine();o<=s;o++,a=0){t.lastIndex=a;var l=e.getLine(o),c=t.exec(l);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,\"gm\");for(var s,l=1,c=n.line,u=e.lastLine();c<=u;){for(var f=0;f<l&&!(c>u);f++){var p=e.getLine(c++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),u=l(c,t,a<0?0:c.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return c(e,t,n);t=i(t,\"gm\");for(var a,s=1,u=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d<s&&f>=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,u);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.lastLine()+1-l.length;c<=p;c++,u=0){var d=e.getLine(c).slice(u),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+u,{from:r(c,f(d,h,m,s)+u),to:r(c,f(d,h,m+l[0].length,s)+u)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g<l.length-1;g++)if(s(e.getLine(c+g))!=l[g])continue e;var y=e.getLine(c+l.length-1),b=s(y),E=l[l.length-1];if(b.slice(0,E.length)==E)return{from:r(c,f(d,h,v,s)+u),to:r(c+l.length-1,f(y,b,E.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.firstLine()-1+l.length;c>=p;c--,u=-1){var d=e.getLine(c);u>-1&&(d=d.slice(0,u));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(c,f(d,h,m,s)),to:r(c,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=c-l.length+1;g<l.length-1;g++)if(s(e.getLine(o+g))!=l[g])continue e;var y=e.getLine(c+1-l.length),b=s(y);if(b.slice(b.length-l[0].length)==l[0])return{from:r(c+1-l.length,f(y,b,y.length-l[0].length,s)),to:r(c,f(d,h,v.length,s))}}}}function h(e,t,n,o){var l;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},\"object\"==typeof o?l=o.caseFold:(l=o,o=null),\"string\"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,l)}):(t=i(t,\"gm\"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:a)(e,t,r)}:this.matches=function(n,r){return(n?u:s)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize(\"NFD\").toLowerCase()},n=function(e){return e.normalize(\"NFD\")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||\"\").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||\"\").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension(\"getSearchCursor\",(function(e,t,n){return new h(this.doc,e,t,n)})),e.defineDocExtension(\"getSearchCursor\",(function(e,t,n){return new h(this,e,t,n)})),e.defineExtension(\"selectMatches\",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(\"from\"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(\"to\"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(15))},function(e,t,n){!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function c(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var u,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,c)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,c)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),c()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&c()}))):(u=a.getElementsByTagName(\"button\")[0])&&(e.on(u,\"click\",(function(){c(),l.focus()})),!1!==o.closeOnBlur&&e.on(u,\"blur\",c),u.focus()),c})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,c=this,u=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p<s.length;++p){var d=s[p];!function(t){e.on(d,\"click\",(function(n){e.e_preventDefault(n),f(),t&&t(c)}))}(i[p]),e.on(d,\"blur\",(function(){--u,setTimeout((function(){u<=0&&f()}),200)})),e.on(d,\"focus\",(function(){++u}))}})),e.defineExtension(\"openNotification\",(function(r,i){n(this,c);var o,a=t(this,r,i&&i.bottom),s=!1,l=i&&void 0!==i.duration?i.duration:5e3;function c(){s||(s=!0,clearTimeout(o),e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a))}return e.on(a,\"click\",(function(t){e.e_preventDefault(t),c()})),l&&(o=setTimeout(c,l)),c}))}(n(15))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s})),n.d(t,\"b\",(function(){return l}));var r,i=n(1),o=n.n(i),a=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=e.call(this,t)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){c(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}return a(t,e),t.prototype.componentWillUnmount=function(){this._release()},t.prototype.render=function(){var e=this,t=this.state.visible;return o.a.createElement(\"a\",{className:\"toolbar-menu toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:c,ref:function(t){t&&(e._node=t)},title:this.props.title},this.props.label,o.a.createElement(\"svg\",{width:\"14\",height:\"8\"},o.a.createElement(\"path\",{fill:\"#666\",d:\"M 5 1.5 L 14 1.5 L 9.5 7 z\"})),o.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}(o.a.Component),l=function(e){var t=e.onSelect,n=e.title,r=e.label;return o.a.createElement(\"li\",{onMouseOver:function(e){e.currentTarget.className=\"hover\"},onMouseOut:function(e){e.currentTarget.className=\"\"},onMouseDown:c,onMouseUp:t,title:n},r)};function c(e){e.preventDefault()}},function(e,t,n){\"use strict\";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?\"@media \".concat(t[2],\" {\").concat(n,\"}\"):n})).join(\"\")},t.i=function(e,n,r){\"string\"==typeof e&&(e=[[null,e,\"\"]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]=\"\".concat(n,\" and \").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(19);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})(e)}function o(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 o,a=n.call(e),s=[],l=0;!(o=a.next()).done;++l)s.push(t(o.value,l));return s}var c=e.length;if(\"number\"==typeof c&&c>=0&&c%1==0){for(var u=[],f=0;f<c;++f){if(!Object.prototype.hasOwnProperty.call(e,f))return null;u.push(t(e[String(f)],f))}return u}return null}},function(e,t,n){\"use strict\";e.exports=n(183)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(33),i=n(24),o=n(23);function a(e,t){if(t){var n;try{n=Object(r.a)(t,{experimentalFragmentVariables:!0})}catch(e){return}var a=e?function(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(o.a)(e,i);a&&(n[r.name.value]=a)}))}})),n}(e,n):void 0,s=[];return Object(i.c)(n,{OperationDefinition:function(e){s.push(e)}}),{variableToType:a,operations:s,documentAST:n}}}},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})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(19),i=n(4),o=n(8),a=n(29);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=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(o.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(o.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(o.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,a;return t=e,(n=[{key:r.c,get:function(){return\"Source\"}}])&&s(t.prototype,n),a&&s(t,a),e}();function c(e){return Object(a.a)(e,l)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s})),n.d(t,\"b\",(function(){return l}));var r=n(30),i=n(18),o=n(5),a=n(36),s=function(){function e(e){var t=new i.b(o.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!==o.a.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=u(this,e)}while(e.kind===o.a.COMMENT);return e},e}();function l(e){return e===o.a.BANG||e===o.a.DOLLAR||e===o.a.AMP||e===o.a.PAREN_L||e===o.a.PAREN_R||e===o.a.SPREAD||e===o.a.COLON||e===o.a.EQUALS||e===o.a.AT||e===o.a.BRACKET_L||e===o.a.BRACKET_R||e===o.a.BRACE_L||e===o.a.PIPE||e===o.a.BRACE_R}function c(e){return isNaN(e)?o.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function u(e,t){for(var n=e.source,a=n.body,s=a.length,l=t.end;l<s;){var c=a.charCodeAt(l),u=e.line,h=1+l-e.lineStart;switch(c){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===a.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 33:return new i.b(o.a.BANG,l,l+1,u,h,t);case 35:return p(n,l,u,h,t);case 36:return new i.b(o.a.DOLLAR,l,l+1,u,h,t);case 38:return new i.b(o.a.AMP,l,l+1,u,h,t);case 40:return new i.b(o.a.PAREN_L,l,l+1,u,h,t);case 41:return new i.b(o.a.PAREN_R,l,l+1,u,h,t);case 46:if(46===a.charCodeAt(l+1)&&46===a.charCodeAt(l+2))return new i.b(o.a.SPREAD,l,l+3,u,h,t);break;case 58:return new i.b(o.a.COLON,l,l+1,u,h,t);case 61:return new i.b(o.a.EQUALS,l,l+1,u,h,t);case 64:return new i.b(o.a.AT,l,l+1,u,h,t);case 91:return new i.b(o.a.BRACKET_L,l,l+1,u,h,t);case 93:return new i.b(o.a.BRACKET_R,l,l+1,u,h,t);case 123:return new i.b(o.a.BRACE_L,l,l+1,u,h,t);case 124:return new i.b(o.a.PIPE,l,l+1,u,h,t);case 125:return new i.b(o.a.BRACE_R,l,l+1,u,h,t);case 34:return 34===a.charCodeAt(l+1)&&34===a.charCodeAt(l+2)?v(n,l,u,h,t,e):m(n,l,u,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,l,c,u,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 y(n,l,u,h,t)}throw Object(r.a)(n,l,f(c))}var g=e.line,b=1+l-e.lineStart;return new i.b(o.a.EOF,s,s,g,b,t)}function f(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 p(e,t,n,r,a){var s,l=e.body,c=t;do{s=l.charCodeAt(++c)}while(!isNaN(s)&&(s>31||9===s));return new i.b(o.a.COMMENT,t,c,n,r,a,l.slice(t+1,c))}function d(e,t,n,a,s,l){var u=e.body,f=n,p=t,d=!1;if(45===f&&(f=u.charCodeAt(++p)),48===f){if((f=u.charCodeAt(++p))>=48&&f<=57)throw Object(r.a)(e,p,\"Invalid number, unexpected digit after 0: \".concat(c(f),\".\"))}else p=h(e,p,f),f=u.charCodeAt(p);if(46===f&&(d=!0,f=u.charCodeAt(++p),p=h(e,p,f),f=u.charCodeAt(p)),69!==f&&101!==f||(d=!0,43!==(f=u.charCodeAt(++p))&&45!==f||(f=u.charCodeAt(++p)),p=h(e,p,f),f=u.charCodeAt(p)),46===f||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(f))throw Object(r.a)(e,p,\"Invalid number, expected digit but got: \".concat(c(f),\".\"));return new i.b(d?o.a.FLOAT:o.a.INT,t,p,a,s,l,u.slice(t,p))}function h(e,t,n){var i=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(r.a)(e,o,\"Invalid number, expected digit but got: \".concat(c(a),\".\"))}function m(e,t,n,a,s){for(var l,u,f,p,d=e.body,h=t+1,m=h,v=0,y=\"\";h<d.length&&!isNaN(v=d.charCodeAt(h))&&10!==v&&13!==v;){if(34===v)return y+=d.slice(m,h),new i.b(o.a.STRING,t,h+1,n,a,s,y);if(v<32&&9!==v)throw Object(r.a)(e,h,\"Invalid character within String: \".concat(c(v),\".\"));if(++h,92===v){switch(y+=d.slice(m,h-1),v=d.charCodeAt(h)){case 34:y+='\"';break;case 47:y+=\"/\";break;case 92:y+=\"\\\\\";break;case 98:y+=\"\\b\";break;case 102:y+=\"\\f\";break;case 110:y+=\"\\n\";break;case 114:y+=\"\\r\";break;case 116:y+=\"\\t\";break;case 117:var b=(l=d.charCodeAt(h+1),u=d.charCodeAt(h+2),f=d.charCodeAt(h+3),p=d.charCodeAt(h+4),g(l)<<12|g(u)<<8|g(f)<<4|g(p));if(b<0){var E=d.slice(h+1,h+5);throw Object(r.a)(e,h,\"Invalid character escape sequence: \\\\u\".concat(E,\".\"))}y+=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,s,l,u){for(var f=e.body,p=t+3,d=p,h=0,m=\"\";p<f.length&&!isNaN(h=f.charCodeAt(p));){if(34===h&&34===f.charCodeAt(p+1)&&34===f.charCodeAt(p+2))return m+=f.slice(d,p),new i.b(o.a.BLOCK_STRING,t,p+3,n,s,l,Object(a.a)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw Object(r.a)(e,p,\"Invalid character within String: \".concat(c(h),\".\"));10===h?(++p,++u.line,u.lineStart=p):13===h?(10===f.charCodeAt(p+1)?p+=2:++p,++u.line,u.lineStart=p):92===h&&34===f.charCodeAt(p+1)&&34===f.charCodeAt(p+2)&&34===f.charCodeAt(p+3)?(m+=f.slice(d,p)+'\"\"\"',d=p+=4):++p}throw Object(r.a)(e,p,\"Unterminated string.\")}function g(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function y(e,t,n,r,a){for(var s=e.body,l=s.length,c=t+1,u=0;c!==l&&!isNaN(u=s.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new i.b(o.a.NAME,t,c,n,r,a,s.slice(t,c))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(n=window)}e.exports=n},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r,i=n(1),o=n.n(i),a=n(46),s=n(49),l=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(){return(c=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}).apply(this,arguments)},u=function(e){function t(t){var n=e.call(this,t)||this;return n.editor=null,n._node=null,n.ignoreChangeEvent=!1,n._onKeyUp=function(e,t){var r=t.keyCode;n.editor&&(r>=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(a.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return l(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(15),n(73),n(74),n(90),n(76),n(75),n(91),n(54),n(77),n(55),n(78),n(246),n(248),n(250);var t=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:c({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},s.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(15),this.editor){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 o.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.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(o.a.Component)},function(e,t,n){\"use strict\";function r(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]}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return g}));var r=n(1),i=n.n(r),o=n(59),a=n.n(o),s=Array.from({length:11},(function(e,t){return String.fromCharCode(8192+t)})).concat([\"\\u2028\",\"\\u2029\",\" \",\" \"]),l=new RegExp(\"[\"+s.join(\"\")+\"]\",\"g\");function c(e){return e.replace(l,\" \")}var u,f=n(46),p=n(49),d=(u=function(e,t){return(u=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)},function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),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}).apply(this,arguments)},m=new a.a,v=/^[a-zA-Z0-9_@(]$/,g=function(e){function t(t){var n=e.call(this,t)||this;return n.editor=null,n.ignoreChangeEvent=!1,n._node=null,n._onKeyUp=function(e,t){v.test(t.key)&&n.editor&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){!n.ignoreChangeEvent&&n.editor&&(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue))},n._onHasCompletion=function(e,t){Object(f.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return d(t,e),t.prototype.componentDidMount=function(){var e,t,r,i=this,o=n(15);n(73),n(238),n(74),n(90),n(75),n(76),n(120),n(54),n(77),n(55),n(91),n(78),n(240),n(241),n(242),n(243),n(245);var a=this.editor=o(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{schema:this.props.schema,validationRules:null!==(e=this.props.validationRules)&&void 0!==e?e:null,externalFragments:null===(t=this.props)||void 0===t?void 0:t.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 m.render(e)},onClick:function(e){return i.props.onClickReference&&i.props.onClickReference(e)}},jump:{schema:this.props.schema,onClick:function(e){return i.props.onClickReference&&i.props.onClickReference(e)}},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:h(h({\"Cmd-Space\":function(){return a.showHint({completeSingle:!0,container:i._node})},\"Ctrl-Space\":function(){return a.showHint({completeSingle:!0,container:i._node})},\"Alt-Space\":function(){return a.showHint({completeSingle:!0,container:i._node})},\"Shift-Space\":function(){return a.showHint({completeSingle:!0,container:i._node})},\"Shift-Alt-Space\":function(){return a.showHint({completeSingle:!0,container:i._node})},\"Cmd-Enter\":function(){i.props.onRunQuery&&i.props.onRunQuery()},\"Ctrl-Enter\":function(){i.props.onRunQuery&&i.props.onRunQuery()},\"Shift-Ctrl-C\":function(){i.props.onCopyQuery&&i.props.onCopyQuery()},\"Shift-Ctrl-P\":function(){i.props.onPrettifyQuery&&i.props.onPrettifyQuery()},\"Shift-Ctrl-F\":function(){i.props.onPrettifyQuery&&i.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){i.props.onMergeQuery&&i.props.onMergeQuery()}},p.a),{\"Cmd-S\":function(){i.props.onRunQuery},\"Ctrl-S\":function(){i.props.onRunQuery}})});a&&(a.on(\"change\",this._onEdit),a.on(\"keyup\",this._onKeyUp),a.on(\"hasCompletion\",this._onHasCompletion),a.on(\"beforeChange\",this._onBeforeChange))},t.prototype.componentDidUpdate=function(e){var t=n(15);this.ignoreChangeEvent=!0,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.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),this.editor=null)},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.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(c);t.update(t.from,t.to,n)}},t}(i.a.Component)},function(e,t,n){\"use strict\";!function e(){if(\"undefined\"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&\"function\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(176)},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},function(e,t,n){\"use strict\";function r(e,t){for(var n,r=/\\r\\n|[\\n\\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){e.exports=n(179)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(107),i=Object(r.a)(),o=\"IntrospectionQuery\",a=i.replace(\"subscriptionType { name }\",\"\")},function(e,t,n){!function(e){\"use strict\";function t(e,t){if(this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\"start\"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var n=this;e.on(\"cursorActivity\",this.activityFunc=function(){n.cursorActivity()})}}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(\"showHint\",(function(n){n=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in l)i[o]=l[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor(\"start\"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new t(this,n);o.options.hint&&(e.signal(this,\"startCompletion\",this),o.update(!0))}})),e.defineExtension(\"closeHint\",(function(){this.state.completionActive&&this.state.completionActive.close()}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function i(e){return\"string\"==typeof e?e:e.text}function o(e,t){for(;t&&t!=e;){if(\"LI\"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.id=\"cm-complete-\"+Math.floor(Math.random(1e6)),this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=a.getInputField().ownerDocument,l=s.defaultView||s.parentWindow,c=this.hints=s.createElement(\"ul\");c.setAttribute(\"role\",\"listbox\"),c.setAttribute(\"aria-expanded\",\"true\"),c.id=this.id;var u=t.cm.options.theme;c.className=\"CodeMirror-hints \"+u,this.selectedHint=n.selectedHint||0;for(var f=n.list,p=0;p<f.length;++p){var d=c.appendChild(s.createElement(\"li\")),h=f[p],m=\"CodeMirror-hint\"+(p!=this.selectedHint?\"\":\" CodeMirror-hint-active\");null!=h.className&&(m=h.className+\" \"+m),d.className=m,p==this.selectedHint&&d.setAttribute(\"aria-selected\",\"true\"),d.id=this.id+\"-\"+p,d.setAttribute(\"role\",\"option\"),h.render?h.render(d,n,h):d.appendChild(s.createTextNode(h.displayText||i(h))),d.hintId=p}var v=t.options.container||s.body,g=a.cursorCoords(t.options.alignWithWord?n.from:null),y=g.left,b=g.bottom,E=!0,w=0,x=0;if(v!==s.body){var k=-1!==[\"absolute\",\"relative\",\"fixed\"].indexOf(l.getComputedStyle(v).position)?v:v.offsetParent,T=k.getBoundingClientRect(),O=s.body.getBoundingClientRect();w=T.left-O.left-k.scrollLeft,x=T.top-O.top-k.scrollTop}c.style.left=y-w+\"px\",c.style.top=b-x+\"px\";var C=l.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),S=l.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);v.appendChild(c),a.getInputField().setAttribute(\"aria-autocomplete\",\"list\"),a.getInputField().setAttribute(\"aria-owns\",this.id),a.getInputField().setAttribute(\"aria-activedescendant\",this.id+\"-\"+this.selectedHint);var _,N=t.options.moveOnOverlap?c.getBoundingClientRect():new DOMRect,A=!!t.options.paddingForScrollbar&&c.scrollHeight>c.clientHeight+1;if(setTimeout((function(){_=a.getScrollInfo()})),N.bottom-S>0){var D=N.bottom-N.top;if(g.top-(g.bottom-N.top)-D>0)c.style.top=(b=g.top-D-x)+\"px\",E=!1;else if(D>S){c.style.height=S-5+\"px\",c.style.top=(b=g.bottom-N.top-x)+\"px\";var I=a.getCursor();n.from.ch!=I.ch&&(g=a.cursorCoords(I),c.style.left=(y=g.left-w)+\"px\",N=c.getBoundingClientRect())}}var L,j=N.right-C;if(A&&(j+=a.display.nativeBarWidth),j>0&&(N.right-N.left>C&&(c.style.width=C-5+\"px\",j-=N.right-N.left-C),c.style.left=(y=g.left-j-w)+\"px\"),A)for(var M=c.firstChild;M;M=M.nextSibling)M.style.paddingRight=a.display.nativeBarWidth+\"px\";a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){L=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(L)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect();_||(_=a.getScrollInfo());var r=b+_.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(E||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+\"px\",c.style.left=y+_.left-e.left+\"px\"}),e.on(c,\"dblclick\",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,\"click\",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)}));var F=this.getSelectedHintRange();return 0===F.from&&0===F.to||this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off(\"cursorActivity\",this.activityFunc),this.widget&&this.data&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(i.charAt(t.ch-1)))this.close();else{var o=this;this.debounce=n((function(){o.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;s(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,\"update\");var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&1==t.list.length?this.pick(t,0):(this.widget=new a(this,t),e.signal(t,\"shown\")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm.getInputField();e.removeAttribute(\"aria-activedescendant\"),e.removeAttribute(\"aria-owns\");var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off(\"blur\",this.onBlur),t.off(\"focus\",this.onFocus)),t.off(\"scroll\",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\"),r.removeAttribute(\"aria-selected\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",r.setAttribute(\"aria-selected\",\"true\"),this.completion.cm.getInputField().setAttribute(\"aria-activedescendant\",r.id),this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);s(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\\w/.test(o.string.charAt(i.ch-o.start-1))?r=o.string.substr(0,i.ch-o.start):(r=\"\",a=i);for(var l=[],c=0;c<n.words.length;c++){var u=n.words[c];u.slice(0,r.length)==r&&l.push(u)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var l={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\\s()\\[\\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption(\"hintOptions\",null)}(n(15))},function(e,t,n){!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),f=!c&&l>=0&&u.test(s.text.charAt(l))&&r[s.text.charAt(l)]||u.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],f=i(s),p=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||(e.getTokenTypeAt(n(d,m+1))||\"\")==(a||\"\"))){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)u.push(g);else{if(!u.length)return{pos:n(d,m),ch:g};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=i&&i.highlightNonMatching,l=[],c=e.listSelections(),u=0;u<c.length;u++){var f=c[u].empty()&&o(e,c[u].head,i);if(f&&(f.match||!1!==s)&&e.getLine(f.from.line).length<=a){var p=f.match?\"CodeMirror-matchingbracket\":\"CodeMirror-nonmatchingbracket\";l.push(e.markText(f.from,n(f.from.line,f.from.ch+1),{className:p})),f.to&&e.getLine(f.to.line).length<=a&&l.push(e.markText(f.to,n(f.to.line,f.to.ch+1),{className:p}))}}if(l.length){t&&e.state.focused&&e.focus();var d=function(){e.operation((function(){for(var e=0;e<l.length;e++)l[e].clear()}))};if(!r)return d;setTimeout(d,800)}}function l(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}function c(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}e.defineOption(\"matchBrackets\",!1,(function(t,n,r){r&&r!=e.Init&&(t.off(\"cursorActivity\",l),t.off(\"focus\",l),t.off(\"blur\",c),c(t)),n&&(t.state.matchBrackets=\"object\"==typeof n?n:{},t.on(\"cursorActivity\",l),t.on(\"focus\",l),t.on(\"blur\",c))})),e.defineExtension(\"matchBrackets\",(function(){s(this,!0)})),e.defineExtension(\"findMatchingBracket\",(function(e,t,n){return(n||\"boolean\"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension(\"scanForBracket\",(function(e,t,n,r){return a(this,e,t,n,r)}))}(n(15))},function(e,t,n){!function(e){\"use strict\";e.defineOption(\"foldGutter\",!1,(function(t,r,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(\"gutterClick\",l),t.off(\"changes\",c),t.off(\"viewportChange\",u),t.off(\"fold\",f),t.off(\"unfold\",f),t.off(\"swapDoc\",c)),r&&(t.state.foldGutter=new n((!0===(o=r)&&(o={}),null==o.gutter&&(o.gutter=\"CodeMirror-foldgutter\"),null==o.indicatorOpen&&(o.indicatorOpen=\"CodeMirror-foldgutter-open\"),null==o.indicatorFolded&&(o.indicatorFolded=\"CodeMirror-foldgutter-folded\"),o)),s(t),t.on(\"gutterClick\",l),t.on(\"changes\",c),t.on(\"viewportChange\",u),t.on(\"fold\",f),t.on(\"unfold\",f),t.on(\"swapDoc\",c))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var o=r[i].find(-1);if(o&&o.line===n)return r[i]}}function i(e){if(\"string\"==typeof e){var t=document.createElement(\"div\");return t.className=e+\" CodeMirror-guttermarker-subtle\",t}return e.cloneNode(!0)}function o(e,n,o){var s=e.state.foldGutter.options,l=n-1,c=e.foldOption(s,\"minFoldSize\"),u=e.foldOption(s,\"rangeFinder\"),f=\"string\"==typeof s.indicatorFolded&&a(s.indicatorFolded),p=\"string\"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++l;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,l)){if(f&&a&&f.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(l,0),h=u&&u(e,d);if(h&&h.to.line-h.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.from<t.from&&(o(e,n.from,t.from),t.from=n.from),n.to>t.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&o(e,r,r+1)}}}(n(15),n(239))},function(e,t,n){!function(e){\"use strict\";e.registerHelper(\"fold\",\"brace\",(function(t,n){var r,i=n.line,o=t.getLine(i);function a(a){for(var s=n.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(r))return c+1;s=c-1}else{if(1==l)break;l=1,s=o.length}}}var s,l,c,u=a(\"{\"),f=a(\"[\");if(null!=u&&(null==f||f>u))c=u,s=\"{\",l=\"}\";else{if(null==f)return;c=f,s=\"[\",l=\"]\"}var p,d,h=1,m=t.lastLine();e:for(var v=i;v<=m;++v)for(var g=t.getLine(v),y=v==i?c:0;;){var b=g.indexOf(s,y),E=g.indexOf(l,y);if(b<0&&(b=g.length),E<0&&(E=g.length),(y=Math.min(b,E))==g.length)break;if(t.getTokenTypeAt(e.Pos(v,y+1))==r)if(y==b)++h;else if(!--h){p=v,d=y;break e}++y}if(null!=p&&i!=p)return{from:e.Pos(i,c),to:e.Pos(p,d)}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))}(n(15))},function(e,t,n){!function(e){\"use strict\";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.defineOption(\"search\",{bottom:!1}),e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use line:column or scroll% syntax)\")+\"</span>\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(15),n(55))},function(e,t,n){!function(e){\"use strict\";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,c=l,u=i<0?0:o.length,f=0;c!=u;c+=i,f++){var p=o.charAt(i<0?c-1:c),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=c+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&c--,\"W\"==a&&\"w\"==d&&i>0){if(c==l+1){a=\"w\";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a<e;a++){var s=t.listSelections()[a].head;if(!(s.line<=o)){var l=n(s.line+(r?0:1),0);t.replaceRange(\"\\n\",l,null,\"+insertLine\"),t.indentLine(l.line,null,!0),i.push({head:l,anchor:l}),o=s.line+1}}t.setSelections(i)})),t.execCommand(\"indentAuto\")}function o(t,r){for(var i=r.ch,o=i,a=t.getLine(r.line);i&&e.isWordChar(a.charAt(i-1));)--i;for(;o<a.length&&e.isWordChar(a.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:a.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,\"line\",o.anchor.goalColumn),s=e.findPosV(o.head,t,\"line\",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,\"div\").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,\"div\").left;var l={anchor:a,head:s};r.push(o),r.push(l)}e.setSelections(r)}function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var a=r[o],s=a.head,l=t.scanForBracket(s,-1);if(!l)return!1;for(;;){var c=t.scanForBracket(s,1);if(!c)return!1;if(c.ch==\"(){}[]\".charAt(\"(){}[]\".indexOf(l.ch)+1)){var u=n(l.pos.line,l.pos.ch+1);if(0!=e.cmpPos(u,a.from())||0!=e.cmpPos(c.pos,a.to())){i.push({anchor:u,head:c.pos});break}if(!(l=t.scanForBracket(l.pos,-1)))return!1}s=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(i),!0}function l(e){return e?/\\bpunctuation\\b/.test(e)?e:void 0:null}function c(t,r,i){if(t.isReadOnly())return e.Pass;for(var o,a=t.listSelections(),s=[],l=0;l<a.length;l++){var c=a[l];if(!c.empty()){for(var u=c.from().line,f=c.to().line;l<a.length-1&&a[l+1].from().line==f;)f=a[++l].to().line;a[l].to().ch||f--,s.push(u,f)}}s.length?o=!0:s.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],a=0;a<s.length;a+=2){var l=s[a],c=s[a+1],u=n(l,0),f=n(c),p=t.getRange(u,f,!1);r?p.sort((function(e,t){return e<t?-i:e==t?0:i})):p.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-i:e==t?0:i})),t.replaceRange(p,u,f),o&&e.push({anchor:u,head:n(c+1,0)})}o&&t.setSelections(e,0)}))}function u(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(c=r[s]).empty()?(i.push(s),a.push(\"\")):a.push(n(t.getRange(c.from(),c.to())));var l;for(t.replaceSelections(a,\"around\",\"case\"),s=i.length-1;s>=0;s--){var c=r[i[s]];if(!(l&&e.cmpPos(c.head,l)>0)){var u=o(t,c.head);l=u.from,t.replaceRange(n(u.word),u.from,u.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),a=t[i].to(),s=o.line;s<=a.line;++s)a.line>o.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor(\"from\"),i=t.getCursor(\"to\"),a=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var s=o(t,r);if(!s.word)return;t.setSelection(s.from,s.to),a=!0}else{var l=t.getRange(r,i),c=a?new RegExp(\"\\\\b\"+l+\"\\\\b\"):l,u=t.getSearchCursor(c,i),f=u.findNext();if(f||(f=(u=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!f||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}a&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor(\"anchor\"),i=n.getCursor(\"head\");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){a(e,-1)},t.addCursorToNextLine=function(e){a(e,1)},t.selectScope=function(e){s(e)||e.execCommand(\"selectAll\")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,l(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,l(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;s<r.length;s++){var l=r[s],c=l.from().line-1,u=l.to().line;a.push({anchor:n(l.anchor.line-1,l.anchor.ch),head:n(l.head.line-1,l.head.ch)}),0!=l.to().ch||l.empty()||--u,c>o?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],s=t.getLine(r);t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),o>t.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l<o?i.push(l,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],a=o.from(),s=a.line,l=o.to().line;i<t.length-1&&t[i+1].from().line==l;)l=t[++i].to().line;r.push({start:s,end:l,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],l=s.anchor&&n(s.anchor.line-t,s.anchor.ch),c=s.start;c<=s.end;c++){var u=c-t;c==s.end&&(a=n(u,e.getLine(u).length+1)),u<e.lastLine()&&(e.replaceRange(\" \",n(u),n(u+1,/^\\s*/.exec(e.getLine(u+1))[0].length)),++t)}i.push({anchor:l||a,head:a})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+\"\\n\",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){c(e,!0,1)},t.reverseSortLines=function(e){c(e,!0,-1)},t.sortLinesInsensitive=function(e){c(e,!1,1)},t.reverseSortLinesInsensitive=function(e){c(e,!1,-1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption(\"indentUnit\"),o=r.length-1;o>=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),c=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange(\"\",c,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){u(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){u(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Shift-F5\":\"reverseSortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",\"Shift-Cmd-F5\":\"reverseSortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Shift-F9\":\"reverseSortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",\"Shift-Ctrl-F9\":\"reverseSortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(15),n(54),n(74))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(1),i=n.n(r);function o(e){var t=e.children;return i.a.createElement(\"div\",{className:\"toolbar-button-group\"},t)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(33),i=n(45),o=n(24),a=n(13),s=n(0);function l(e,t,n){var l,f=[];if(!e||!t)return{insertions:f,result:t};try{l=Object(r.a)(t)}catch(e){return{insertions:f,result:t}}var p=n||c,d=new i.a(e);return Object(o.c)(l,{leave:function(e){d.leave(e)},enter:function(e){if(d.enter(e),\"Field\"===e.kind&&!e.selectionSet){var n=function e(t,n){var r=Object(s.A)(t);if(!t||Object(s.I)(t))return;var i=n(r);if(!Array.isArray(i)||0===i.length||!(\"getFields\"in r))return;return{kind:\"SelectionSet\",selections:i.map((function(t){var i=r.getFields()[t],o=i?i.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,n)}}))}}(function(e){if(e)return e}(d.getType()),p);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);f.push({index:e.loc.end,string:\" \"+Object(a.a)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:f,result:u(t,f)}}function c(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(s.I)(t[e].type)&&n.push(e)})),n}function u(e,t){if(0===t.length)return e;var n=\"\",r=0;return t.forEach((function(t){var i=t.index,o=t.string;n+=e.slice(r,i)+o,r=i})),n+=e.slice(r)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r=n(0),i=n(45),o=n(24),a=function(){return(a=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}).apply(this,arguments)},s=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.\")},l=function(e,t){var n=\"function\"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e};function u(e,t){var n,l,u=t?new i.a(t):null,f=Object.create(null);try{for(var p=s(e.definitions),d=p.next();!d.done;d=p.next()){var h=d.value;\"FragmentDefinition\"===h.kind&&(f[h.name.value]=h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(l=p.return)&&l.call(p)}finally{if(n)throw n.error}}var m={SelectionSet:function(e){var t=u?u.getParentType():null,n=e.selections;return n=function(e,t){var n,r,i=new Map,o=[];try{for(var l=s(e),u=l.next();!u.done;u=l.next()){var f=u.value;if(\"Field\"===f.kind){var p=t(f),d=i.get(p);if(f.directives&&f.directives.length){var h=a({},f);o.push(h)}else if(d&&d.selectionSet&&f.selectionSet)d.selectionSet.selections=c(d.selectionSet.selections,f.selectionSet.selections);else if(!d){h=a({},f);i.set(p,h),o.push(h)}}else o.push(f)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return o}(n=function e(t,n,i){var o,a,l,u=i?Object(r.A)(i).name:null,f=[],p=[];try{for(var d=s(n),h=d.next();!h.done;h=d.next()){var m=h.value;if(\"FragmentSpread\"===m.kind){var v=m.name.value;if(!m.directives||0===m.directives.length){if(p.indexOf(v)>=0)continue;p.push(v)}var g=t[m.name.value];if(g)m={kind:\"InlineFragment\",typeCondition:g.typeCondition,directives:g.directives,selectionSet:g.selectionSet}}if(\"InlineFragment\"===m.kind&&(!m.directives||0===(null===(l=m.directives)||void 0===l?void 0:l.length))){var y=m.typeCondition?m.typeCondition.name.value:null;if(!y||y===u){f.push.apply(f,c(e(t,m.selectionSet.selections,i)));continue}}f.push(m)}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}return f}(f,n,t),(function(e){return e.alias?e.alias.value:e.name.value})),a(a({},e),{selections:n})},FragmentDefinition:function(){return null}};return Object(o.c)(e,u?Object(i.b)(u,m):m)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return I}));var r=n(1),i=n.n(r),o=n(0);function a(e){var t=e.onClick?e.onClick:function(){return null};return function e(t,n){if(t instanceof o.e)return i.a.createElement(\"span\",null,e(t.ofType,n),\"!\");if(t instanceof o.d)return i.a.createElement(\"span\",null,\"[\",e(t.ofType,n),\"]\");return i.a.createElement(\"a\",{className:\"type-name\",onClick:function(e){e.preventDefault(),n(t,e)},href:\"#\"},null==t?void 0:t.name)}(e.type,t)}var s=n(13),l=n(50);function c(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(l.a)(n.defaultValue,n.type))?Object(s.a)(t):\"\")):null}function u(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(a,{type:t.type,onClick:n}),!1!==r&&i.a.createElement(c,{field:t}))}function f(e){var t=e.directive;return i.a.createElement(\"span\",{className:\"doc-category-item\",id:t.name.value},\"@\",t.name.value)}var p=n(59),d=new(n.n(p).a)({linkify:!0});function h(e){var t=e.markdown,n=e.className;return t?i.a.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:d.render(t)}}):i.a.createElement(\"div\",null)}function m(e){var t,n,r=e.field,o=e.onClickType;return r&&\"args\"in r&&r.args.length>0&&(t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),r.args.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(\"div\",null,i.a.createElement(u,{arg:e,onClickType:o})),i.a.createElement(h,{className:\"doc-value-description\",markdown:e.description}))})))),r&&r.astNode&&r.astNode.directives&&r.astNode.directives.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),r.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(f,{directive:e})))})))),i.a.createElement(\"div\",null,i.a.createElement(h,{className:\"doc-type-description\",markdown:(null==r?void 0:r.description)||\"No Description\"}),r&&\"deprecationReason\"in r&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:null==r?void 0:r.deprecationReason}),i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),i.a.createElement(a,{type:null==r?void 0:r.type,onClick:o})),t,n)}function v(e){var t=e.schema,n=e.onClickType,r=t.getQueryType(),o=t.getMutationType&&t.getMutationType(),s=t.getSubscriptionType&&t.getSubscriptionType();return i.a.createElement(\"div\",null,i.a.createElement(h,{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(a,{type:r,onClick:n})),o&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",i.a.createElement(a,{type:o,onClick:n})),s&&i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",i.a.createElement(a,{type:s,onClick:n}))))}var g,y=n(35),b=(g=function(e,t){return(g=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)},function(e,t){function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=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=Object(y.a)(200,n.props.onSearch),n}return b(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\"},\"⚲\"),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\"},\"✕\"))},t}(i.a.Component),w=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])})(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(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.\")},k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(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,o=this.props.schema,s=this.props.onClickType,l=this.props.onClickField,c=[],f=[],p=[],d=o.getTypeMap(),h=Object.keys(d);r&&(h=h.filter((function(e){return e!==r.name}))).unshift(r.name);var m=function(e){if(c.length+f.length+p.length>=100)return\"break\";var t=d[e];if(r!==t&&T(e,n)&&f.push(i.a.createElement(\"div\",{className:\"doc-category-item\",key:e},i.a.createElement(a,{type:t,onClick:s}))),t&&\"getFields\"in t){var o=t.getFields();Object.keys(o).forEach((function(f){var d,h=o[f];if(!T(f,n)){if(!(\"args\"in h)||!h.args.length)return;if(0===(d=h.args.filter((function(e){return T(e.name,n)}))).length)return}var m=i.a.createElement(\"div\",{className:\"doc-category-item\",key:e+\".\"+f},r!==t&&[i.a.createElement(a,{key:\"type\",type:t,onClick:s}),\".\"],i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return l(h,t,e)}},h.name),d&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},d.map((function(e){return i.a.createElement(u,{key:e.name,arg:e,onClickType:s,showDefaultValue:!1})}))),\")\"]);r===t?c.push(m):p.push(m)}))}};try{for(var v=x(h),g=v.next();!g.done;g=v.next()){if(\"break\"===m(g.value))break}}catch(t){e={error:t}}finally{try{g&&!g.done&&(t=v.return)&&t.call(v)}finally{if(e)throw e.error}}return c.length+f.length+p.length===0?i.a.createElement(\"span\",{className:\"doc-alert-text\"},\"No results found.\"):r&&f.length+p.length>0?i.a.createElement(\"div\",null,c,i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),f,p)):i.a.createElement(\"div\",{className:\"doc-search-items\"},c,f,p)},t}(i.a.Component);function T(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(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var O=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])})(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)}}(),C=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 O(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,s,l=this.props.schema,c=this.props.type,u=this.props.onClickType,f=this.props.onClickField,p=null,d=[];if(c instanceof o.h?(p=\"possible types\",d=l.getPossibleTypes(c)):c instanceof o.c?(p=\"implementations\",d=l.getPossibleTypes(c)):c instanceof o.f&&(p=\"implements\",d=c.getInterfaces()),d&&d.length>0&&(e=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},p),d.map((function(e){return i.a.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},i.a.createElement(a,{type:e,onClick:u}))})))),c&&\"getFields\"in c){var m=c.getFields(),v=Object.keys(m).map((function(e){return m[e]}));t=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),v.filter((function(e){return!(\"isDeprecated\"in e)||!e.isDeprecated})).map((function(e){return i.a.createElement(S,{key:e.name,type:c,field:e,onClickType:u,onClickField:f})})));var g=v.filter((function(e){return\"isDeprecated\"in e&&e.isDeprecated}));g.length>0&&(n=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?g.map((function(e){return i.a.createElement(S,{key:e.name,type:c,field:e,onClickType:u,onClickField:f})})):i.a.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(c instanceof o.a){var y=c.getValues();r=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),y.filter((function(e){return!e.isDeprecated})).map((function(e){return i.a.createElement(_,{key:e.name,value:e})})));var b=y.filter((function(e){return e.isDeprecated}));b.length>0&&(s=i.a.createElement(\"div\",{className:\"doc-category\"},i.a.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?b.map((function(e){return i.a.createElement(_,{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(h,{className:\"doc-type-description\",markdown:\"description\"in c&&c.description||\"No Description\"}),c instanceof o.f&&e,t,n,r,s,!(c instanceof o.f)&&e)},t}(i.a.Component);function S(e){var t=e.type,n=e.field,r=e.onClickType,o=e.onClickField;return i.a.createElement(\"div\",{className:\"doc-category-item\"},i.a.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(n,t,e)}},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",i.a.createElement(\"span\",{key:\"args\"},n.args.map((function(e){return i.a.createElement(u,{key:e.name,arg:e,onClickType:r})}))),\")\"],\": \",i.a.createElement(a,{type:n.type,onClick:r}),i.a.createElement(c,{field:n}),n.description&&i.a.createElement(h,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function _(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(h,{className:\"doc-value-description\",markdown:t.description}),t.deprecationReason&&i.a.createElement(h,{className:\"doc-deprecation\",markdown:t.deprecationReason}))}var N=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])})(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(){return(A=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}).apply(this,arguments)},D={name:\"Schema\",title:\"Documentation Explorer\"},I=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:[D]},n}return N(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,s=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?s.search?i.a.createElement(k,{searchValue:s.search,withinType:s.def,schema:n,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===a.length?i.a.createElement(v,{schema:n,onClickType:this.handleClickType}):Object(o.S)(s.def)?i.a.createElement(C,{schema:n,type:s.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):i.a.createElement(m,{field:s.def,onClickType:this.handleClickType}):i.a.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");var l,c=1===a.length||Object(o.S)(s.def)&&\"getFields\"in s.def;return a.length>1&&(l=a[a.length-2].name),i.a.createElement(\"section\",{className:\"doc-explorer\",key:s.name,\"aria-label\":\"Documentation Explorer\"},i.a.createElement(\"div\",{className:\"doc-explorer-title-bar\"},l&&i.a.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+l},l),i.a.createElement(\"div\",{className:\"doc-explorer-title\"},s.title||s.name),i.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),i.a.createElement(\"div\",{className:\"doc-explorer-contents\"},c&&i.a.createElement(E,{value:s.search,placeholder:\"Search \"+s.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]=A(A({},n),{search:e}),this.setState({navStack:t})},t.prototype.reset=function(){this.setState({navStack:[D]})},t}(i.a.Component)},function(e,t,n){\"use strict\";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],c=n[l]||0,u=\"\".concat(l,\" \").concat(c);n[l]=c+1;var f=s(u),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:u,updater:v(p,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement(\"style\"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),\"function\"==typeof e.insert)e.insert(t);else{var a=o(e.insert||\"head\");if(!a)throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");a.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join(\"\\n\")});function p(e,t,n,r){var i=n?\"\":r.media?\"@media \".concat(r.media,\" {\").concat(r.css,\"}\"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute(\"media\",i):e.removeAttribute(\"media\"),o&&\"undefined\"!=typeof btoa&&(r+=\"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o)))),\" */\")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,i;if(t.singleton){var o=m++;n=h||(h=c(t)),r=p.bind(null,n,o,!1),i=p.bind(null,n,o,!0)}else n=c(t),r=d.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||\"boolean\"==typeof t.singleton||(t.singleton=i());var n=l(e=e||[],t);return function(e){if(e=e||[],\"[object Array]\"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=o}}}},function(e,t,n){\"use strict\";var r=n(19),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 o,a=i.call(e),s=[],l=0;!(o=a.next()).done;++l)if(s.push(t.call(n,o.value,l)),l>9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var c=e.length;if(\"number\"==typeof c&&c>=0&&c%1==0){for(var u=[],f=0;f<c;++f)Object.prototype.hasOwnProperty.call(e,f)&&u.push(t.call(n,e[f],f));return u}return[]};t.a=i},function(e,t,n){\"use strict\";var r=function(e,t){var n=\"function\"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},i=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e},o=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=i(this.items,[e]);this.maxSize&&n.length>this.maxSize&&n.shift();for(var r=0;r<5;r++){var o=this.storage.set(this.key,JSON.stringify(((t={})[this.key]=n,t)));if(o&&o.error){if(!o.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}(),a=n(33),s=function(){return(s=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}).apply(this,arguments)},l=function(e,t){var n=\"function\"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e},u=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(a.a)(e)}catch(e){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 o=n.history.items,a=n.favorite.items;n.queries=o.concat(a)}},this.toggleFavorite=function(e,t,r,i,o,a){var s={query:e,variables:t,headers:r,operationName:i,label:o};n.favorite.contains(s)?a&&(s.favorite=!1,n.favorite.delete(s)):(s.favorite=!0,n.favorite.push(s)),n.queries=c(n.history.items,n.favorite.items)},this.editLabel=function(e,t,r,i,o,a){var l={query:e,variables:t,headers:r,operationName:i,label:o};a?n.favorite.edit(s(s({},l),{favorite:a})):n.history.edit(l),n.queries=c(n.history.items,n.favorite.items)},this.history=new o(\"queries\",this.storage,this.maxHistoryLength),this.favorite=new o(\"favorites\",this.storage,null),this.queries=this.fetchAllQueries()};t.a=u},function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}n.d(t,\"a\",(function(){return r}))},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]/},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),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=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:o.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},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},function(e,t,n){!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),l=0;l<a.length;l++){if(!a[l].empty())return e.Pass;var u=c(t,a[l].head);if(!u||o.indexOf(u)%2!=0)return e.Pass}for(l=a.length-1;l>=0;l--){var f=a[l].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var u=c(t,o[a].head);if(!u||i.indexOf(u)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||\"\\n\";t.replaceSelection(e+e,null),l(t,-1),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r=\"'\"+n+\"'\";i[r]||(i[r]=a(n))}}function a(t){return function(i){return function(t,i){var o=s(t);if(!o||t.getOption(\"disableInput\"))return e.Pass;var a=r(o,\"pairs\"),c=a.indexOf(i);if(-1==c)return e.Pass;for(var f,p=r(o,\"closeBefore\"),d=r(o,\"triples\"),h=a.charAt(c+1)==i,m=t.listSelections(),v=c%2==0,g=0;g<m.length;g++){var y,b=m[g],E=b.head,w=t.getRange(E,n(E.line,E.ch+1));if(v&&!b.empty())y=\"surround\";else if(!h&&v||w!=i)if(h&&E.ch>1&&d.indexOf(i)>=0&&t.getRange(n(E.line,E.ch-2),E)==i+i){if(E.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(E.line,E.ch-2))))return e.Pass;y=\"addFour\"}else if(h){var x=0==E.ch?\" \":t.getRange(n(E.line,E.ch-1),E);if(e.isWordChar(w)||x==i||e.isWordChar(x))return e.Pass;y=\"both\"}else{if(!v||!(0===w.length||/\\s/.test(w)||p.indexOf(w)>-1))return e.Pass;y=\"both\"}else y=h&&u(t,E)?\"both\":d.indexOf(i)>=0&&t.getRange(E,n(E.line,E.ch+3))==i+i+i?\"skipThree\":\"skip\";if(f){if(f!=y)return e.Pass}else f=y}var k=c%2?a.charAt(c-1):i,T=c%2?i:a.charAt(c+1);t.operation((function(){if(\"skip\"==f)l(t,1);else if(\"skipThree\"==f)l(t,3);else if(\"surround\"==f){for(var r=t.getSelections(),i=0;i<r.length;i++)r[i]=k+r[i]+T;for(t.replaceSelections(r,\"around\"),r=t.listSelections().slice(),i=0;i<r.length;i++)r[i]=(o=r[i],a=void 0,a=e.cmpPos(o.anchor,o.head)>0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(r)}else\"both\"==f?(t.replaceSelection(k+T,null),t.triggerElectric(k+T),l(t,-1)):\"addFour\"==f&&(t.replaceSelection(k+k+k+k,\"before\"),l(t,1));var o,a}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(e,t){for(var n=[],r=e.listSelections(),i=0,o=0;o<r.length;o++){var a=r[o];a.head==e.getCursor()&&(i=o);var s=a.head.ch||t>0?{line:a.head.line,ch:a.head.ch+t}:{line:a.head.line-1};n.push({anchor:s,head:s})}e.setSelections(n,i)}function c(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function u(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(15))},function(e,t,n){!function(e){\"use strict\";var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){for(var i in this.marked=[],t instanceof Function&&(t={getAnnotations:t}),t&&!0!==t||(t={}),this.options={},this.linterOptions=t.options||{},o)this.options[i]=o[i];for(var i in t)o.hasOwnProperty(i)?null!=t[i]&&(this.options[i]=t[i]):t.options||(this.linterOptions[i]=t[i]);this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,s=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),c=[],u=0;u<s.length;++u){var f=s[u].__annotation;f&&c.push(f)}c.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var s=t[a];o.appendChild(l(s))}r(e,n,o,i)}(e,c,t)}}(e,t)},this.waitingFor=0}var o={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function a(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t),n.options.highlightLines&&function(e){e.eachLine((function(t){var n=t.wrapClass&&/\\bCodeMirror-lint-line-\\w+\\b/.exec(t.wrapClass);n&&e.removeLineClass(t,\"wrap\",n[0])}))}(e);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function s(t,n,i,o,a){var s=document.createElement(\"div\"),l=s;return s.className=\"CodeMirror-lint-marker CodeMirror-lint-marker-\"+i,o&&((l=s.appendChild(document.createElement(\"div\"))).className=\"CodeMirror-lint-marker CodeMirror-lint-marker-multiple\"),0!=a&&e.on(l,\"mouseover\",(function(e){r(t,e,n,l)})),s}function l(e){var t=e.severity;t||(t=\"error\");var n=document.createElement(\"div\");return n.className=\"CodeMirror-lint-message CodeMirror-lint-message-\"+t,void 0!==e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function c(t){var n=t.state.lint;if(n){var r=n.options,i=r.getAnnotations||t.getHelper(e.Pos(0,0),\"lint\");if(i)if(r.async||i.async)!function(t,n){var r=t.state.lint,i=++r.waitingFor;function o(){i=-1,t.off(\"change\",o)}t.on(\"change\",o),n(t.getValue(),(function(n,a){t.off(\"change\",o),r.waitingFor==i&&(a&&n instanceof e&&(n=a),t.operation((function(){u(t,n)})))}),r.linterOptions,t)}(t,i);else{var o=i(t.getValue(),n.linterOptions,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){u(t,e)}))})):t.operation((function(){u(t,o)}))}}}function u(e,n){var r=e.state.lint;if(r){var i=r.options;a(e);for(var o,c,u=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),f=0;f<u.length;++f){var p=u[f];if(p){var d=[];p=p.filter((function(e){return!(d.indexOf(e.message)>-1)&&d.push(e.message)}));for(var h=null,m=r.hasGutter&&document.createDocumentFragment(),v=0;v<p.length;++v){var g=p[v],y=g.severity;y||(y=\"error\"),c=y,h=\"error\"==(o=h)?o:c,i.formatAnnotation&&(g=i.formatAnnotation(g)),r.hasGutter&&m.appendChild(l(g)),g.to&&r.marked.push(e.markText(g.from,g.to,{className:\"CodeMirror-lint-mark CodeMirror-lint-mark-\"+y,__annotation:g}))}r.hasGutter&&e.setGutterMarker(f,t,s(e,m,h,u[f].length>1,i.tooltips)),i.highlightLines&&e.addLineClass(f,\"wrap\",\"CodeMirror-lint-line-\"+h)}}i.onUpdateLinting&&i.onUpdateLinting(n,u,e)}}function f(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){c(e)}),t.options.delay))}e.defineOption(\"lint\",!1,(function(n,r,o){if(o&&o!=e.Init&&(a(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",f),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),l=!1,u=0;u<s.length;++u)s[u]==t&&(l=!0);var p=n.state.lint=new i(n,r,l);p.options.lintOnChange&&n.on(\"change\",f),0!=p.options.tooltips&&\"gutter\"!=p.options.tooltips&&e.on(n.getWrapperElement(),\"mouseover\",p.onMouseOver),c(n)}})),e.defineExtension(\"performLint\",(function(){c(this)}))}(n(15))},function(e,t,n){\"use strict\";(function(e){n.d(t,\"a\",(function(){return J}));var r,i=n(1),o=n.n(i),a=n(3),s=n(266),l=n(13),c=n(33),u=n(267),f=n(24),p=n(132),d=n.n(p),h=n(93),m=n(161),v=n(162),g=n(44),y=n(79),b=n(56),E=n(67),w=n(65),x=n(108),k=n(109),T=n(82),O=n(173),C=n(165),S=n(166),_=n(60),N=n(66),A=n(35),D=n(86),I=n(80),L=n(53),j=n(81),M=n(72),F=n(167),R=n(85),P=n(43),V=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),U=function(){return(U=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}).apply(this,arguments)},q=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},B=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},\"function\"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError(\"Generator is already executing.\");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},z=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},H=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 W?W(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)}))}}},G=function(e,t){var n=\"function\"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Q=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(G(arguments[t]));return e},W=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(o.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 K=function(e){return JSON.stringify(e,null,2)},Y=function(e){return e instanceof a.a?Object(s.a)(e):e instanceof Error?function(e){return U(U({},e),{message:e.message,stack:e.stack})}(e):e},J=function(t){function n(e){var r,i,o,a=t.call(this,e)||this;if(a._editorQueryID=0,a.safeSetState=function(e,t){a.componentIsMounted&&a.setState(e,t)},a.handleClickReference=function(e){a.setState({docExplorerOpen:!0},(function(){a.docExplorerComponent&&a.docExplorerComponent.showDocForReference(e)})),a._storage.set(\"docExplorerOpen\",JSON.stringify(a.state.docExplorerOpen))},a.handleRunQuery=function(e){return q(a,void 0,void 0,(function(){var t,r,i,o,a,s,l,c,u,f=this;return B(this,(function(p){switch(p.label){case 0:this._editorQueryID++,t=this._editorQueryID,r=this.autoCompleteLeafs()||this.state.query,i=this.state.variables,o=this.state.headers,a=this.state.shouldPersistHeaders,s=this.state.operationName,e&&e!==s&&(s=e,this.handleEditOperationName(s)),p.label=1;case 1:return p.trys.push([1,3,,4]),this.setState({isWaitingForResponse:!0,response:void 0,operationName:s}),this._storage.set(\"operationName\",s),this._queryHistory?this._queryHistory.onUpdateHistory(r,i,o,s):this._historyStore&&this._historyStore.updateHistory(r,i,o,s),l={data:{}},[4,this._fetchQuery(r,i,o,s,a,(function(e){var r,i;if(t===f._editorQueryID){var o=!!Array.isArray(e)&&e;if(!o&&\"string\"!=typeof e&&null!==e&&\"hasNext\"in e&&(o=[e]),o){var a={data:l.data},s=Q((null==l?void 0:l.errors)||[],o.map((function(e){return e.errors})).flat().filter(Boolean));s.length&&(a.errors=s);try{for(var c=W(o),u=c.next();!u.done;u=c.next()){var p=u.value,d=p.path,h=p.data,m=(p.errors,z(p,[\"path\",\"data\",\"errors\"]));if(d){if(!h)throw new Error(\"Expected part to contain a data property, but got \"+p);Object(F.a)(a.data,d,h)}else h&&(a.data=p.data);l=U(U({},a),m)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}f.setState({isWaitingForResponse:!1,response:n.formatResult(l)})}else f.setState({isWaitingForResponse:!1,response:n.formatResult(e)})}}))];case 2:return c=p.sent(),this.setState({subscription:c}),[3,4];case 3:return u=p.sent(),this.setState({isWaitingForResponse:!1,response:u.message}),[3,4];case 4:return[2]}}))}))},a.handleStopQuery=function(){var e=a.state.subscription;a.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()},a.handlePrettifyQuery=function(){var e,t,n,r=a.getQueryEditor(),i=null!==(e=null==r?void 0:r.getValue())&&void 0!==e?e:\"\",o=Object(l.a)(Object(c.a)(i,{experimentalFragmentVariables:!0}));o!==i&&(null==r||r.setValue(o));var s=a.getVariableEditor(),u=null!==(t=null==s?void 0:s.getValue())&&void 0!==t?t:\"\";try{var f=JSON.stringify(JSON.parse(u),null,2);f!==u&&(null==s||s.setValue(f))}catch(e){}var p=a.getHeaderEditor(),d=null!==(n=null==p?void 0:p.getValue())&&void 0!==n?n:\"\";try{var h=JSON.stringify(JSON.parse(d),null,2);h!==d&&(null==p||p.setValue(h))}catch(e){}},a.handleMergeQuery=function(){var e=a.getQueryEditor();if(e.getValue()){var t=a.state.documentAST;e.setValue(Object(l.a)(Object(j.a)(t,a.state.schema)))}},a.handleEditQuery=Object(A.a)(100,(function(e){var t=a._updateQueryFacts(e,a.state.operationName,a.state.operations,a.state.schema);if(a.setState(U({query:e},t)),a._storage.set(\"query\",e),a.props.onEditQuery)return a.props.onEditQuery(e,null==t?void 0:t.documentAST)})),a.handleCopyQuery=function(){var e=a.getQueryEditor(),t=e&&e.getValue();if(t)return d()(t),a.props.onCopyQuery?a.props.onCopyQuery(t):void 0},a._updateQueryFacts=function(e,t,n,r){var i=Object(_.a)(r,e);if(i){var o=Object(N.a)(n,t,i.operations),s=a.props.onEditOperationName;return s&&o&&t!==o&&s(o),U({operationName:o},i)}},a.handleEditVariables=function(e){a.setState({variables:e}),Object(A.a)(500,(function(){return a._storage.set(\"variables\",e)}))(),a.props.onEditVariables&&a.props.onEditVariables(e)},a.handleEditHeaders=function(e){a.setState({headers:e}),a.props.shouldPersistHeaders&&Object(A.a)(500,(function(){return a._storage.set(\"headers\",e)}))(),a.props.onEditHeaders&&a.props.onEditHeaders(e)},a.handleEditOperationName=function(e){var t=a.props.onEditOperationName;t&&t(e)},a.handleHintInformationRender=function(e){var t;e.addEventListener(\"click\",a._onClickHintInformation),e.addEventListener(\"DOMNodeRemoved\",t=function(){e.removeEventListener(\"DOMNodeRemoved\",t),e.removeEventListener(\"click\",a._onClickHintInformation)})},a.handleEditorRunQuery=function(){a._runQueryAtCursor()},a._onClickHintInformation=function(e){if((null==e?void 0:e.currentTarget)&&\"className\"in e.currentTarget&&\"typeName\"===e.currentTarget.className){var t=e.currentTarget.innerHTML,n=a.state.schema;if(n){var r=n.getType(t);r&&(a.setState({docExplorerOpen:!0},(function(){a.docExplorerComponent&&a.docExplorerComponent.showDoc(r)})),Object(A.a)(500,(function(){return a._storage.set(\"docExplorerOpen\",JSON.stringify(a.state.docExplorerOpen))}))())}}},a.handleToggleDocs=function(){\"function\"==typeof a.props.onToggleDocs&&a.props.onToggleDocs(!a.state.docExplorerOpen),a._storage.set(\"docExplorerOpen\",JSON.stringify(!a.state.docExplorerOpen)),a.setState({docExplorerOpen:!a.state.docExplorerOpen})},a.handleToggleHistory=function(){\"function\"==typeof a.props.onToggleHistory&&a.props.onToggleHistory(!a.state.historyPaneOpen),a._storage.set(\"historyPaneOpen\",JSON.stringify(!a.state.historyPaneOpen)),a.setState({historyPaneOpen:!a.state.historyPaneOpen})},a.handleSelectHistoryQuery=function(e,t,n,r){e&&a.handleEditQuery(e),t&&a.handleEditVariables(t),n&&a.handleEditHeaders(n),r&&a.handleEditOperationName(r)},a.handleResizeStart=function(e){if(a._didClickDragBar(e)){e.preventDefault();var t=e.clientX-Object(L.a)(e.target),n=function(e){if(0===e.buttons)return r();var n=a.editorBarComponent,i=e.clientX-Object(L.a)(n)-t,o=n.clientWidth-i;a.setState({editorFlex:i/o}),Object(A.a)(500,(function(){return a._storage.set(\"editorFlex\",JSON.stringify(a.state.editorFlex))}))()},r=function(){document.removeEventListener(\"mousemove\",n),document.removeEventListener(\"mouseup\",r),n=null,r=null};document.addEventListener(\"mousemove\",n),document.addEventListener(\"mouseup\",r)}},a.handleResetResize=function(){a.setState({editorFlex:1}),a._storage.set(\"editorFlex\",JSON.stringify(a.state.editorFlex))},a.handleDocsResizeStart=function(e){e.preventDefault();var t=a.state.docExplorerWidth,n=e.clientX-Object(L.a)(e.target),r=function(e){if(0===e.buttons)return i();var t=a.graphiqlContainer,r=e.clientX-Object(L.a)(t)-n,o=t.clientWidth-r;o<100?(\"function\"==typeof a.props.onToggleDocs&&a.props.onToggleDocs(!a.state.docExplorerOpen),a._storage.set(\"docExplorerOpen\",JSON.stringify(a.state.docExplorerOpen)),a.setState({docExplorerOpen:!1})):(a.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(o,650)}),Object(A.a)(500,(function(){return a._storage.set(\"docExplorerWidth\",JSON.stringify(a.state.docExplorerWidth))}))()),a._storage.set(\"docExplorerOpen\",JSON.stringify(a.state.docExplorerOpen))},i=function(){a.state.docExplorerOpen||(a.setState({docExplorerWidth:t}),Object(A.a)(500,(function(){return a._storage.set(\"docExplorerWidth\",JSON.stringify(a.state.docExplorerWidth))}))()),document.removeEventListener(\"mousemove\",r),document.removeEventListener(\"mouseup\",i),r=null,i=null};document.addEventListener(\"mousemove\",r),document.addEventListener(\"mouseup\",i)},a.handleDocsResetResize=function(){a.setState({docExplorerWidth:350}),Object(A.a)(500,(function(){return a._storage.set(\"docExplorerWidth\",JSON.stringify(a.state.docExplorerWidth))}))()},a.handleTabClickPropogation=function(e){e.preventDefault(),e.stopPropagation()},a.handleOpenHeaderEditorTab=function(e){a.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})},a.handleOpenVariableEditorTab=function(e){a.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})},a.handleSecondaryEditorResizeStart=function(e){e.preventDefault();var t=!1,n=a.state.secondaryEditorOpen,r=a.state.secondaryEditorHeight,i=e.clientY-Object(L.b)(e.target),o=function(e){if(0===e.buttons)return s();t=!0;var n=a.editorBarComponent,o=e.clientY-Object(L.b)(n)-i,l=n.clientHeight-o;l<60?a.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):a.setState({secondaryEditorOpen:!0,secondaryEditorHeight:l}),Object(A.a)(500,(function(){return a._storage.set(\"secondaryEditorHeight\",JSON.stringify(a.state.secondaryEditorHeight))}))()},s=function(){t||a.setState({secondaryEditorOpen:!n}),document.removeEventListener(\"mousemove\",o),document.removeEventListener(\"mouseup\",s),o=null,s=null};document.addEventListener(\"mousemove\",o),document.addEventListener(\"mouseup\",s)},\"function\"!=typeof e.fetcher)throw new TypeError(\"GraphiQL requires a fetcher function.\");a._storage=new S.a(e.storage);var s=null!==(r=e.maxHistoryLength)&&void 0!==r?r:20;a._historyStore=new R.a(a._storage,s),a.componentIsMounted=!1;var u,f=void 0!==e.query?e.query:a._storage.get(\"query\")?a._storage.get(\"query\"):void 0!==e.defaultQuery?e.defaultQuery:ee,p=Object(_.a)(e.schema,f),h=void 0!==e.variables?e.variables:a._storage.get(\"variables\"),m=void 0!==e.headers?e.headers:a._storage.get(\"headers\"),v=void 0!==e.operationName?e.operationName:Object(N.a)(void 0,a._storage.get(\"operationName\"),p&&p.operations),g=e.docExplorerOpen||!1;a._storage.get(\"docExplorerOpen\")&&(g=\"true\"===a._storage.get(\"docExplorerOpen\")),u=void 0!==e.defaultVariableEditorOpen?e.defaultVariableEditorOpen:void 0!==e.defaultSecondaryEditorOpen?e.defaultSecondaryEditorOpen:Boolean(h||m);var y=null!==(i=e.headerEditorEnabled)&&void 0!==i&&i,b=null!==(o=e.shouldPersistHeaders)&&void 0!==o&&o,E=e.schema,w=e.response,x=void 0;if(E&&!a.props.dangerouslyAssumeSchemaIsValid){var k=Object(P.b)(E);k&&k.length>0&&(w=n.formatError(k),E=void 0,x=k)}return a.state=U({schema:E,query:f,variables:h,headers:m,operationName:v,docExplorerOpen:g,schemaErrors:x,response:w,editorFlex:Number(a._storage.get(\"editorFlex\"))||1,secondaryEditorOpen:u,secondaryEditorHeight:Number(a._storage.get(\"secondaryEditorHeight\"))||200,variableEditorActive:\"true\"!==a._storage.get(\"variableEditorActive\")&&!e.headerEditorEnabled||\"true\"!==a._storage.get(\"headerEditorActive\"),headerEditorActive:\"true\"===a._storage.get(\"headerEditorActive\"),headerEditorEnabled:y,shouldPersistHeaders:b,historyPaneOpen:\"true\"===a._storage.get(\"historyPaneOpen\")||!1,docExplorerWidth:Number(a._storage.get(\"docExplorerWidth\"))||350,isWaitingForResponse:!1,subscription:null,maxHistoryLength:s},p),a}return V(n,t),n.formatResult=function(e){return JSON.stringify(e,null,2)},n.prototype.componentDidMount=function(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new C.a,e.g=this},n.prototype.UNSAFE_componentWillMount=function(){this.componentIsMounted=!1},n.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this,n=this.state.schema,r=this.state.query,i=this.state.variables,o=this.state.headers,a=this.state.operationName,s=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&&(o=e.headers),void 0!==e.operationName&&(a=e.operationName),void 0!==e.response&&(s=e.response),r&&n&&(n!==this.state.schema||r!==this.state.query||a!==this.state.operationName)){if(!this.props.dangerouslyAssumeSchemaIsValid){var l=Object(P.b)(n);l&&l.length>0&&(this.handleSchemaErrors(l),n=void 0)}var c=this._updateQueryFacts(r,a,this.state.operations,n);void 0!==c&&(a=c.operationName,this.setState(c))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(n=void 0),this._storage.set(\"operationName\",a),this.setState({schema:n,query:r,variables:i,headers:o,operationName:a,response:s},(function(){void 0===t.state.schema&&(t.docExplorerComponent&&t.docExplorerComponent.reset(),t.fetchSchema())}))},n.prototype.componentDidUpdate=function(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])},n.prototype.render=function(){var e,t=this,r=o.a.Children.toArray(this.props.children),i=Object(D.a)(r,(function(e){return oe(e,n.Logo)}))||o.a.createElement(n.Logo,null),a=Object(D.a)(r,(function(e){return oe(e,n.Toolbar)}))||o.a.createElement(n.Toolbar,null,o.a.createElement(g.a,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),o.a.createElement(g.a,{onClick:this.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),o.a.createElement(g.a,{onClick:this.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),o.a.createElement(g.a,{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),s=Object(D.a)(r,(function(e){return oe(e,n.Footer)})),l={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:\"block\",width:this.state.docExplorerWidth},u=\"docExplorerWrap\"+(this.state.docExplorerWidth<200?\" doc-explorer-narrow\":\"\"),f={display:this.state.historyPaneOpen?\"block\":\"none\",width:\"230px\",zIndex:7},p=this.state.secondaryEditorOpen,d={height:p?this.state.secondaryEditorHeight:void 0};return o.a.createElement(\"div\",{ref:function(e){t.graphiqlContainer=e},className:\"graphiql-container\"},this.state.historyPaneOpen&&o.a.createElement(\"div\",{className:\"historyPaneWrap\",style:f},o.a.createElement(O.a,{ref:function(e){t._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},o.a.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleHistory,\"aria-label\":\"Close History\"},\"✕\"))),o.a.createElement(\"div\",{className:\"editorWrap\"},o.a.createElement(\"div\",{className:\"topBarWrap\"},o.a.createElement(\"div\",{className:\"topBar\"},i,o.a.createElement(m.a,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),a),!this.state.docExplorerOpen&&o.a.createElement(\"button\",{className:\"docExplorerShow\",onClick:this.handleToggleDocs,\"aria-label\":\"Open Documentation Explorer\"},\"Docs\")),o.a.createElement(\"div\",{ref:function(e){t.editorBarComponent=e},className:\"editorBar\",onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},o.a.createElement(\"div\",{className:\"queryWrap\",style:l},o.a.createElement(E.a,{ref:function(e){t.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}),o.a.createElement(\"section\",{className:\"variable-editor secondary-editor\",style:d,\"aria-label\":this.state.variableEditorActive?\"Query Variables\":\"Request Headers\"},o.a.createElement(\"div\",{className:\"secondary-editor-title variable-editor-title\",id:\"secondary-editor-title\",style:{cursor:p?\"row-resize\":\"n-resize\"},onMouseDown:this.handleSecondaryEditorResizeStart},o.a.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.variableEditorActive?\"#000\":\"gray\",display:\"inline-block\"},onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},\"Query Variables\"),this.state.headerEditorEnabled&&o.a.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.headerEditorActive?\"#000\":\"gray\",display:\"inline-block\",marginLeft:\"20px\"},onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},\"Request Headers\")),o.a.createElement(w.a,{ref:function(e){t.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&&o.a.createElement(x.a,{ref:function(e){t.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}))),o.a.createElement(\"div\",{className:\"resultWrap\"},this.state.isWaitingForResponse&&o.a.createElement(\"div\",{className:\"spinner-container\"},o.a.createElement(\"div\",{className:\"spinner\"})),o.a.createElement(k.a,{registerRef:function(e){t.resultViewerElement=e},ref:function(e){t.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:v.a}),s))),this.state.docExplorerOpen&&o.a.createElement(\"div\",{className:u,style:c},o.a.createElement(\"div\",{className:\"docExplorerResizer\",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),o.a.createElement(T.a,{ref:function(e){t.docExplorerComponent=e},schemaErrors:this.state.schemaErrors,schema:this.state.schema},o.a.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleDocs,\"aria-label\":\"Close Documentation Explorer\"},\"✕\"))))},n.prototype.getQueryEditor=function(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()},n.prototype.getVariableEditor=function(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null},n.prototype.getHeaderEditor=function(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null},n.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()},n.prototype.autoCompleteLeafs=function(){var e=Object(I.a)(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 o=0,a=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+o),r.posFromIndex(t+(o+=n.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"})}));setTimeout((function(){return a.forEach((function(e){return e.clear()}))}),7e3);var s=i;t.forEach((function(e){var t=e.index,n=e.string;t<i&&(s+=n.length)})),r.setCursor(r.posFromIndex(s))}))}return n},n.prototype.fetchSchema=function(){var e=this,t=this.props.fetcher,r={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders),documentAST:this.state.documentAST};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));var i=ie(t({query:M.a,operationName:M.b},r));te(i)?i.then((function(e){if(\"string\"!=typeof e&&\"data\"in e)return e;var n=ie(t({query:M.c,operationName:M.b},r));if(!te(i))throw new Error(\"Fetcher did not return a Promise for introspection.\");return n})).then((function(t){if(void 0===e.state.schema)if(\"string\"!=typeof t&&\"data\"in t){var r=Object(u.a)(t.data);if(!e.props.dangerouslyAssumeSchemaIsValid){var i=Object(P.b)(r);i&&i.length>0&&(r=void 0,e.handleSchemaErrors(i))}if(r){var o=Object(_.a)(r,e.state.query);e.safeSetState(U(U({schema:r},o),{schemaErrors:void 0}))}}else{var a=\"string\"==typeof t?t:n.formatResult(t);e.handleSchemaErrors([a])}})).catch((function(t){e.handleSchemaErrors([t])})):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})},n.prototype.handleSchemaErrors=function(e){this.safeSetState({response:e?n.formatError(e):void 0,schema:void 0,schemaErrors:e})},n.prototype._fetchQuery=function(e,t,r,i,o,a){return q(this,void 0,void 0,(function(){var s,u,p,d,m,v,g=this;return B(this,(function(y){s=this.props.fetcher,u=null,p=null;try{u=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(e){throw new Error(\"Variables are invalid JSON: \"+e.message+\".\")}if(\"object\"!=typeof u)throw new Error(\"Variables are not a JSON object.\");try{p=r&&\"\"!==r.trim()?JSON.parse(r):null}catch(e){throw new Error(\"Headers are invalid JSON: \"+e.message+\".\")}if(\"object\"!=typeof p)throw new Error(\"Headers are not a JSON object.\");return this.props.externalFragments&&(d=new Map,Array.isArray(this.props.externalFragments)?this.props.externalFragments.forEach((function(e){d.set(e.name.value,e)})):Object(f.c)(Object(c.a)(this.props.externalFragments,{experimentalFragmentVariables:!0}),{FragmentDefinition:function(e){d.set(e.name.value,e)}}),(m=Object(h.getFragmentDependenciesForAST)(this.state.documentAST,d)).length>0&&(e+=\"\\n\"+m.map((function(e){return Object(l.a)(e)})).join(\"\\n\"))),v=s({query:e,variables:u,operationName:i},{headers:p,shouldPersistHeaders:o,documentAST:this.state.documentAST}),[2,Promise.resolve(v).then((function(e){return ne(e)?e.subscribe({next:a,error:function(e){g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0,subscription:null})},complete:function(){g.safeSetState({isWaitingForResponse:!1,subscription:null})}}):re(e)?(q(g,void 0,void 0,(function(){var t,r,i,o,s,l,c;return B(this,(function(u){switch(u.label){case 0:u.trys.push([0,13,,14]),u.label=1;case 1:u.trys.push([1,6,7,12]),t=H(e),u.label=2;case 2:return[4,t.next()];case 3:if((r=u.sent()).done)return[3,5];i=r.value,a(i),u.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return o=u.sent(),l={error:o},[3,12];case 7:return u.trys.push([7,,10,11]),r&&!r.done&&(c=t.return)?[4,c.call(t)]:[3,9];case 8:u.sent(),u.label=9;case 9:return[3,11];case 10:if(l)throw l.error;return[7];case 11:return[7];case 12:return this.safeSetState({isWaitingForResponse:!1,subscription:null}),[3,14];case 13:return s=u.sent(),this.safeSetState({isWaitingForResponse:!1,response:s?n.formatError(s):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)}}):(a(e),null)})).catch((function(e){return g.safeSetState({isWaitingForResponse:!1,response:e?n.formatError(e):void 0}),null}))]}))}))},n.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),o=0;o<t.length;o++){var a=t[o];if(a.loc&&a.loc.start<=i&&a.loc.end>=i){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}},n.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},n.formatError=function(e){return Array.isArray(e)?K({errors:e.map((function(e){return Y(e)}))}):K({errors:Y(e)})},n.Logo=$,n.Toolbar=X,n.Footer=Z,n.QueryEditor=E.a,n.VariableEditor=w.a,n.HeaderEditor=x.a,n.ResultViewer=k.a,n.Button=g.a,n.ToolbarButton=g.a,n.Group=y.a,n.Menu=b.a,n.MenuItem=b.b,n}(o.a.Component);function $(e){return o.a.createElement(\"div\",{className:\"title\"},e.children||o.a.createElement(\"span\",null,\"Graph\",o.a.createElement(\"em\",null,\"i\"),\"QL\"))}function X(e){return o.a.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function Z(e){return o.a.createElement(\"div\",{className:\"footer\"},e.children)}$.displayName=\"GraphiQLLogo\",X.displayName=\"GraphiQLToolbar\",Z.displayName=\"GraphiQLFooter\";var ee='# 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 te(e){return\"object\"==typeof e&&\"function\"==typeof e.then}function ne(e){return\"object\"==typeof e&&\"subscribe\"in e&&\"function\"==typeof e.subscribe}function re(e){return\"object\"==typeof e&&null!==e&&(\"AsyncGenerator\"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function ie(e){return Promise.resolve(e).then((function(e){return re(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||i()})).catch((function(e){t(e)}))}))):ne(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 oe(e,t){var n;return!(!(null===(n=null==e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}}).call(this,n(64))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getFragmentDependencies\",(function(){return s})),n.d(t,\"getFragmentDependenciesForAST\",(function(){return l})),n.d(t,\"getASTNodeAtPosition\",(function(){return c})),n.d(t,\"pointToOffset\",(function(){return u})),n.d(t,\"Position\",(function(){return p})),n.d(t,\"Range\",(function(){return f})),n.d(t,\"locToRange\",(function(){return h})),n.d(t,\"offsetToPosition\",(function(){return d})),n.d(t,\"validateWithCustomRules\",(function(){return w}));var r=n(33),i=n(24),o=n(61),a=n.n(o);const s=(e,t)=>{if(!t)return[];let n;try{n=Object(r.a)(e,{allowLegacySDLImplementsInterfaces:!0,allowLegacySDLEmptyFields:!0})}catch(e){return[]}return l(n,t)},l=(e,t)=>{if(!t)return[];const n=new Map,r=new Set;Object(i.c)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});const o=new Set;r.forEach(e=>{!n.has(e)&&t.has(e)&&o.add(a()(t.get(e)))});const s=[];return o.forEach(e=>{Object(i.c)(e,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(o.add(a()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||s.push(e)}),s};function c(e,t,n){const r=u(e,n);let o;return Object(i.c)(t,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;o=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),o}function u(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}class f{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new p(e,t)}setEnd(e,t){this.end=new p(e,t)}}class p{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function d(e,t){const n=e.slice(0,t),r=n.split(\"\\n\").length-1,i=n.lastIndexOf(\"\\n\");return new p(r,t-i-1)}function h(e,t){const n=d(e,t.start),r=d(e,t.end);return new f(n,r)}var m=n(98),v=n(144),g=n(143),y=n(48),b=n(2),E=n(133);function w(e,t,n,r){const i=m.a.filter(e=>e!==v.a&&e!==E.a&&(!r||e!==g.a));n&&Array.prototype.push.apply(i,n);return Object(y.c)(e,t,i).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===b.a.DIRECTIVE){const e=t.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}},function(e,t,n){\"use strict\";var r=n(57),i=n.n(r),o=n(126),a=i()((function(e){return e[1]}));a.i(o.a),a.push([e.i,\"html,\\nbody,\\n#root {\\n height: 100%;\\n margin: 0;\\n overflow: hidden;\\n width: 100%;\\n}\\n\\n/* Fix weird search alignment issue */\\n.graphiql-container .search-box-icon {\\n line-height: 1em;\\n top: 1px;\\n}\\n\\n.graphiql-container .history-contents li button.favorited {\\n display: inline-block;\\n}\\n\\n.graphiql-container button:focus {\\n outline: none;\\n}\\n\",\"\"]),t.a=a},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,\"next\",e)}function l(e){n(a,i,o,s,l,\"throw\",e)}s(void 0)}))}}},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},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(70);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,c=1===t.line?n:0,u=t.column+c,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(u,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],g=0;g<d.length;g+=80)v.push(d.slice(g,g+80));return f+a([[\"\".concat(l),v[0]]].concat(v.slice(1,h+1).map((function(e){return[\"\",e]})),[[\" \",s(m-1)+\"^\"],[\"\",v[h+1]]]))}return f+a([[\"\".concat(l-1),p[i-1]],[\"\".concat(l),d],[\"\",s(u-1)+\"^\"],[\"\".concat(l+1),p[i+1]]])}function a(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 s(n-(t=r).length)+t+(i?\" | \"+i:\" |\")})).join(\"\\n\")}function s(e){return Array(e+1).join(\" \")}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return F})),n.d(t,\"b\",(function(){return R}));var r=n(133),i=n(134),o=n(135),a=n(136),s=n(99),l=n(138),c=n(139),u=n(140),f=n(141),p=n(142),d=n(143),h=n(144),m=n(145),v=n(146),g=n(147),y=n(148),b=n(149),E=n(100),w=n(101),x=n(102),k=n(103),T=n(150),O=n(104),C=n(151),S=n(152),_=n(105),N=n(153),A=n(154),D=n(155),I=n(156),L=n(157),j=n(158),M=n(159),F=Object.freeze([r.a,i.a,o.a,a.a,s.a,l.a,c.a,u.a,f.a,p.a,d.a,h.a,m.a,v.a,g.a,y.a,b.a,E.a,w.a,x.b,k.a,T.a,O.b,C.a,S.a,_.a]),R=Object.freeze([N.a,A.a,D.a,I.a,L.a,j.a,s.a,E.a,w.a,M.a,x.a,k.a,_.a,O.a])},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(26),i=n(28),o=n(3),a=n(31),s=n(10),l=n(9);function c(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null),l=0,c=e.getDocument().definitions;l<c.length;l++){var f=c[l];Object(a.d)(f)&&(s[f.name.value]=!0)}var p=Object.keys(n).concat(Object.keys(s));return{NamedType:function(t,l,c,f,d){var h,m=t.name.value;if(!n[m]&&!s[m]){var v,g=null!==(v=d[2])&&void 0!==v?v:c,y=null!=g&&(h=g,!Array.isArray(h)&&(Object(a.g)(h)||Object(a.h)(h)));if(y&&function(e){return-1!==u.indexOf(e)}(m))return;var b=Object(i.a)(m,y?u.concat(p):p);e.reportError(new o.a('Unknown type \"'.concat(m,'\".')+Object(r.a)(b),t))}}}}var u=[].concat(s.g,l.introspectionTypes).map((function(e){return e.name}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(4),i=n(11),o=n(3),a=n(2),s=n(7),l=n(16);function c(e){for(var t=Object.create(null),n=e.getSchema(),c=n?n.getDirectives():l.j,u=0;u<c.length;u++){var f=c[u];t[f.name]=f.locations}for(var p=e.getDocument().definitions,d=0;d<p.length;d++){var h=p[d];h.kind===a.a.DIRECTIVE_DEFINITION&&(t[h.name.value]=h.locations.map((function(e){return e.value})))}return{Directive:function(n,l,c,u,f){var p=n.name.value,d=t[p];if(d){var h=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||Object(i.a)(0),t.kind){case a.a.OPERATION_DEFINITION:return function(e){switch(e){case\"query\":return s.a.QUERY;case\"mutation\":return s.a.MUTATION;case\"subscription\":return s.a.SUBSCRIPTION}Object(i.a)(0,\"Unexpected operation: \"+Object(r.a)(e))}(t.operation);case a.a.FIELD:return s.a.FIELD;case a.a.FRAGMENT_SPREAD:return s.a.FRAGMENT_SPREAD;case a.a.INLINE_FRAGMENT:return s.a.INLINE_FRAGMENT;case a.a.FRAGMENT_DEFINITION:return s.a.FRAGMENT_DEFINITION;case a.a.VARIABLE_DEFINITION:return s.a.VARIABLE_DEFINITION;case a.a.SCHEMA_DEFINITION:case a.a.SCHEMA_EXTENSION:return s.a.SCHEMA;case a.a.SCALAR_TYPE_DEFINITION:case a.a.SCALAR_TYPE_EXTENSION:return s.a.SCALAR;case a.a.OBJECT_TYPE_DEFINITION:case a.a.OBJECT_TYPE_EXTENSION:return s.a.OBJECT;case a.a.FIELD_DEFINITION:return s.a.FIELD_DEFINITION;case a.a.INTERFACE_TYPE_DEFINITION:case a.a.INTERFACE_TYPE_EXTENSION:return s.a.INTERFACE;case a.a.UNION_TYPE_DEFINITION:case a.a.UNION_TYPE_EXTENSION:return s.a.UNION;case a.a.ENUM_TYPE_DEFINITION:case a.a.ENUM_TYPE_EXTENSION:return s.a.ENUM;case a.a.ENUM_VALUE_DEFINITION:return s.a.ENUM_VALUE;case a.a.INPUT_OBJECT_TYPE_DEFINITION:case a.a.INPUT_OBJECT_TYPE_EXTENSION:return s.a.INPUT_OBJECT;case a.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===a.a.INPUT_OBJECT_TYPE_DEFINITION?s.a.INPUT_FIELD_DEFINITION:s.a.ARGUMENT_DEFINITION}}(f);h&&-1===d.indexOf(h)&&e.reportError(new o.a('Directive \"@'.concat(p,'\" may not be used on ').concat(h,\".\"),n))}else e.reportError(new o.a('Unknown directive \"@'.concat(p,'\".'),n))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(2),o=n(31),a=n(16);function s(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():a.j,l=0;l<s.length;l++){var c=s[l];t[c.name]=!c.isRepeatable}for(var u=e.getDocument().definitions,f=0;f<u.length;f++){var p=u[f];p.kind===i.a.DIRECTIVE_DEFINITION&&(t[p.name.value]=!p.repeatable)}var d=Object.create(null),h=Object.create(null);return{enter:function(n){if(null!=n.directives){var a;if(n.kind===i.a.SCHEMA_DEFINITION||n.kind===i.a.SCHEMA_EXTENSION)a=d;else if(Object(o.d)(n)||Object(o.e)(n)){var s=n.name.value;void 0===(a=h[s])&&(h[s]=a=Object.create(null))}else a=Object.create(null);for(var l=0,c=n.directives;l<c.length;l++){var u=c[l],f=u.name.value;t[f]&&(a[f]?e.reportError(new r.a('The directive \"@'.concat(f,'\" can only be used once at this location.'),[a[f],u])):a[f]=u)}}}}}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return f})),n.d(t,\"a\",(function(){return p}));var r=n(26),i=n(28),o=n(3),a=n(2),s=n(16);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 c(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){u(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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return c(c({},p(e)),{},{Argument:function(t){var n=e.getArgument(),a=e.getFieldDef(),s=e.getParentType();if(!n&&a&&s){var l=t.name.value,c=a.args.map((function(e){return e.name})),u=Object(i.a)(l,c);e.reportError(new o.a('Unknown argument \"'.concat(l,'\" on field \"').concat(s.name,\".\").concat(a.name,'\".')+Object(r.a)(u),t))}}})}function p(e){for(var t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():s.j,c=0;c<l.length;c++){var u=l[c];t[u.name]=u.args.map((function(e){return e.name}))}for(var f=e.getDocument().definitions,p=0;p<f.length;p++){var d=f[p];if(d.kind===a.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 a=n.name.value,s=t[a];if(n.arguments&&s)for(var l=0,c=n.arguments;l<c.length;l++){var u=c[l],f=u.name.value;if(-1===s.indexOf(f)){var p=Object(i.a)(f,s);e.reportError(new o.a('Unknown argument \"'.concat(f,'\" on directive \"@').concat(a,'\".')+Object(r.a)(p),u))}}return!1}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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}}}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return d})),n.d(t,\"a\",(function(){return h}));var r=n(4),i=n(25),o=n(3),a=n(2),s=n(13),l=n(16),c=n(0);function u(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(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 f(f({},h(e)),{},{Field:{leave:function(t){var n,a=e.getFieldDef();if(!a)return!1;for(var s=null!==(n=t.arguments)&&void 0!==n?n:[],l=Object(i.a)(s,(function(e){return e.name.value})),u=0,f=a.args;u<f.length;u++){var p=f[u];if(!l[p.name]&&Object(c.P)(p)){var d=Object(r.a)(p.type);e.reportError(new o.a('Field \"'.concat(a.name,'\" argument \"').concat(p.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(),u=n?n.getDirectives():l.j,f=0;f<u.length;f++){var p=u[f];t[p.name]=Object(i.a)(p.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===a.a.DIRECTIVE_DEFINITION){var g,y=null!==(g=v.arguments)&&void 0!==g?g:[];t[v.name.value]=Object(i.a)(y.filter(m),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var a=n.name.value,l=t[a];if(l)for(var u,f=null!==(u=n.arguments)&&void 0!==u?u:[],p=Object(i.a)(f,(function(e){return e.name.value})),d=0,h=Object.keys(l);d<h.length;d++){var m=h[d];if(!p[m]){var v=l[m].type,g=Object(c.S)(v)?Object(r.a)(v):Object(s.a)(v);e.reportError(new o.a('Directive \"@'.concat(a,'\" argument \"').concat(m,'\" of type \"').concat(g,'\" is required, but it was not provided.'),n))}}}}}}function m(e){return e.type.kind===a.a.NON_NULL_TYPE&&null==e.defaultValue}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(2),i=n(24),o=n(45);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s=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,o=n.pop().selections;i<o.length;i++){var a=o[i];a.kind===r.a.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&n.push(a.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(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),l=function(e){function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return a(t,e),t.prototype.getSchema=function(){return this._schema},t}(s),c=function(e){function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}a(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 o.a(this._schema);Object(i.c)(e,Object(o.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}(s)},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 o(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\":\"\",o=t.specifiedByUrl?\"specifiedByUrl\":\"\",a=t.directiveIsRepeatable?\"isRepeatable\":\"\",s=t.schemaDescription?n:\"\";function l(e){return t.inputValueDeprecation?e:\"\"}return\"\\n query IntrospectionQuery {\\n __schema {\\n \".concat(s,\"\\n queryType { name }\\n mutationType { name }\\n subscriptionType { name }\\n types {\\n ...FullType\\n }\\n directives {\\n name\\n \").concat(n,\"\\n \").concat(a,\"\\n locations\\n args\").concat(l(\"(includeDeprecated: true)\"),\" {\\n ...InputValue\\n }\\n }\\n }\\n }\\n\\n fragment FullType on __Type {\\n kind\\n name\\n \").concat(n,\"\\n \").concat(o,\"\\n fields(includeDeprecated: true) {\\n name\\n \").concat(n,\"\\n args\").concat(l(\"(includeDeprecated: true)\"),\" {\\n ...InputValue\\n }\\n type {\\n ...TypeRef\\n }\\n isDeprecated\\n deprecationReason\\n }\\n inputFields\").concat(l(\"(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(l(\"isDeprecated\"),\"\\n \").concat(l(\"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 o}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r,i=n(1),o=n.n(i),a=n(46),s=n(49),l=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(){return(c=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}).apply(this,arguments)},u=function(e){function t(t){var n=e.call(this,t)||this;return n.editor=null,n._node=null,n.ignoreChangeEvent=!1,n._onKeyUp=function(e,t){var r=t.keyCode;n.editor&&(r>=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand(\"autocomplete\")},n._onEdit=function(){n.editor&&(n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue)))},n._onHasCompletion=function(e,t){Object(a.a)(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||\"\",n}return l(t,e),t.prototype.componentDidMount=function(){var e=this;this.CodeMirror=n(15),n(73),n(74),n(90),n(76),n(75),n(91),n(54),n(77),n(55),n(251),n(78);var t=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:c({\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()}},s.a)});t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){if(this.CodeMirror=n(15),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 o.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.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(o.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r,i=n(1),o=n.n(i),a=n(68),s=n.n(a),l=n(49),c=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.viewer=null,t._node=null,t}return c(t,e),t.prototype.componentDidMount=function(){var e=n(15);n(75),n(76),n(55),n(120),n(54),n(77),n(78),n(252);var t=this.props.ResultsTooltip,r=this.props.ImagePreview;if(t||r){n(124);var i=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(function(e,n,a,l){var c=[];return t&&c.push(o.a.createElement(t,{pos:l})),r&&\"function\"==typeof r.shouldRender&&r.shouldRender(e)&&c.push(o.a.createElement(r,{token:e})),c.length?(s.a.render(o.a.createElement(\"div\",null,c),i),i):(s.a.unmountComponentAtNode(i),null)}))}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:l.a})},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 o.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.getCodeMirror=function(){return this.viewer},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(o.a.Component)},function(e,t,n){\"use strict\";var r=n(57),i=n.n(r)()((function(e){return e[1]}));i.push([e.i,\".graphiql-container.not-really {\\n display: block;\\n width: auto;\\n height: auto;\\n border-left: 1px solid rgb(0, 0, 0, 0.2);\\n}\\n\\n.not-really .docExplorerWrap {\\n height: 100%;\\n}\\n\\n.postgraphiql-container .graphiql-container {\\n flex-grow: 1;\\n}\\n\\n.not-really .doc-explorer-contents {\\n margin: 0;\\n padding: 0;\\n}\\n.not-really textarea {\\n height: 100%;\\n width: 100%;\\n border: none;\\n outline: none;\\n box-sizing: border-box;\\n overflow: auto;\\n font-size: 1rem;\\n padding: 0.5rem;\\n}\\n\\n.postgraphiql-container {\\n display: flex;\\n flex-direction: row;\\n height: 100%;\\n width: 100%;\\n overflow: hidden;\\n margin: 0;\\n}\\n\\n.resultWrap .result-window {\\n flex: 1 1 100%;\\n}\\n\\n.explain-mode .resultWrap .footer {\\n flex: 1 1 100%;\\n position: relative;\\n}\\n\\n.explain-mode .postgraphile-footer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n overflow: auto;\\n overflow-x: hidden;\\n}\\n\\n.postgraphile-footer {\\n line-height: 30px;\\n align-items: center;\\n padding: 0 0 0 1rem;\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n max-height: 100%;\\n display: flex;\\n flex-direction: column;\\n align-items: stretch;\\n justify-content: space-between;\\n}\\n.postgraphile-footer a {\\n text-decoration: none;\\n color: #3b5998;\\n}\\n.postgraphile-footer pre {\\n padding: 0.5rem;\\n font-size: 0.8rem;\\n line-height: 1.1em;\\n background-color: rgba(0, 0, 0, 0.1);\\n}\\n\\n.explain-plan,\\n.explain-sql {\\n max-height: 8.8em; /* line-height is 1.1em */\\n overflow: auto;\\n}\\n.explain-plan {\\n max-height: 13.2em; /* line-height is 1.1em */\\n}\\n\\n.resultWrap {\\n width: 5rem;\\n}\\n\\n.postgraphiql-container .toolbar {\\n align-items: center;\\n}\\n\\n.postgraphiql-container > .historyPaneWrap {\\n min-width: 380px;\\n max-width: 50%;\\n /* Allow for longer width */\\n width: auto !important;\\n}\\n\\n.graphiql-explorer-root {\\n overflow: auto !important;\\n}\\n\",\"\"]),t.a=i},function(e,t,n){\"use strict\";\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){\"use strict\";e.exports=n(184)},function(e,t,n){\"use strict\";e.exports.encode=n(185),e.exports.decode=n(186),e.exports.format=n(187),e.exports.parse=n(188)},function(e,t){e.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/},function(e,t){e.exports=/[\\0-\\x1F\\x7F-\\x9F]/},function(e,t){e.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/},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*>\",o=new RegExp(\"^(?:\"+r+\"|\"+i+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?][\\\\s\\\\S]*?[?]>|<![A-Z]+\\\\s+[^>]*>|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>)\"),a=new RegExp(\"^(?:\"+r+\"|\"+i+\")\");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){\"use strict\";function r(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n<l;n++)126===(i=t[n]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type=\"s_open\",a.tag=\"s\",a.nesting=1,a.markup=\"~~\",a.content=\"\",(a=e.tokens[o.token]).type=\"s_close\",a.tag=\"s\",a.nesting=-1,a.markup=\"~~\",a.content=\"\",\"text\"===e.tokens[o.token-1].type&&\"~\"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&\"s_close\"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push(\"text\",\"\",0).content=o,i--),n=0;n<i;n+=2)e.push(\"text\",\"\",0).content=o+o,e.delimiters.push({marker:s,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)}},function(e,t,n){\"use strict\";function r(e,t){var n,r,i,o,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=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,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(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,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push(\"text\",\"\",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,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)}},function(e,t,n){!function(e){\"use strict\";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return\"string\"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:r(t),multiline:!0})}function o(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function a(e){return e.replace(/\\\\([nrt\\\\])/g,(function(e,t){return\"n\"==t?\"\\n\":\"r\"==t?\"\\r\":\"t\"==t?\"\\t\":\"\\\\\"==t?\"\\\\\":e}))}function s(e){var t=e.match(/^\\/(.*)\\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf(\"i\")?\"\":\"i\")}catch(e){}else e=a(e);return(\"string\"==typeof e?\"\"==e:e.test(\"\"))&&(e=/x^/),e}function l(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return\"string\"==typeof e?e=new RegExp(e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\"),t?\"gi\":\"g\"):e.global||(e=new RegExp(e.source,e.ignoreCase?\"gi\":\"g\")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,\"searching\";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,i,a){var s=n(t);if(s.query)return u(t,r);var c=t.getSelection()||s.lastQuery;if(c instanceof RegExp&&\"x^\"==c.source&&(c=null),i&&t.openDialog){var p=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(l(t,s,n),s.posFrom=s.posTo=t.getCursor()),p&&(p.style.opacity=1),u(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(\".CodeMirror-dialog\"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,\"window\").top&&((p=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i,bottom:e.options.search.bottom})}(t,d(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(l(t,s,c),u(t,r))}else o(t,d(t),\"Search for:\",c,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),u(t,r)}))}))}function u(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var i=2;i<arguments.length;i++){var o=arguments[i];n.appendChild(\"string\"==typeof o?document.createTextNode(o):o)}return n}function d(e){return p(\"\",null,p(\"span\",{className:\"CodeMirror-search-label\"},e.phrase(\"Search:\")),\" \",p(\"input\",{type:\"text\",style:\"width: 10em\",className:\"CodeMirror-search-field\"}),\" \",p(\"span\",{style:\"color: #888\",className:\"CodeMirror-search-hint\"},e.phrase(\"(Use /re/ syntax for regexp search)\")))}function h(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function m(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l=t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"),c=p(\"\",null,p(\"span\",{className:\"CodeMirror-search-label\"},l),function(e){return p(\"\",null,\" \",p(\"input\",{type:\"text\",style:\"width: 10em\",className:\"CodeMirror-search-field\"}),\" \",p(\"span\",{style:\"color: #888\",className:\"CodeMirror-search-hint\"},e.phrase(\"(Use /re/ syntax for regexp search)\")))}(e));o(e,c,l,r,(function(n){n&&(n=s(n),o(e,function(e){return p(\"\",null,p(\"span\",{className:\"CodeMirror-search-label\"},e.phrase(\"With:\")),\" \",p(\"input\",{type:\"text\",style:\"width: 10em\",className:\"CodeMirror-search-field\"}))}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)h(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return p(\"\",null,p(\"span\",{className:\"CodeMirror-search-label\"},e.phrase(\"Replace?\")),\" \",p(\"button\",{},e.phrase(\"Yes\")),\" \",p(\"button\",{},e.phrase(\"No\")),\" \",p(\"button\",{},e.phrase(\"All\")),\" \",p(\"button\",{},e.phrase(\"Stop\")))}(e),e.phrase(\"Replace?\"),[function(){l(t)},s,function(){h(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.defineOption(\"search\",{bottom:!1}),e.commands.find=function(e){f(e),c(e)},e.commands.findPersistent=function(e){f(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=f,e.commands.replace=m,e.commands.replaceAll=function(e){m(e,!0)}}(n(15),n(54),n(55))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(14),o=n(9),a=r(n(122));function s(e,t,n){return n===o.SchemaMetaFieldDef.name&&e.getQueryType()===t?o.SchemaMetaFieldDef:n===o.TypeMetaFieldDef.name&&e.getQueryType()===t?o.TypeMetaFieldDef:n===o.TypeNameMetaFieldDef.name&&i.isCompositeType(t)?o.TypeNameMetaFieldDef:t&&t.getFields?t.getFields()[n]:void 0}t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return a.default(t,(function(t){switch(t.kind){case\"Query\":case\"ShortQuery\":n.type=e.getQueryType();break;case\"Mutation\":n.type=e.getMutationType();break;case\"Subscription\":n.type=e.getSubscriptionType();break;case\"InlineFragment\":case\"FragmentDefinition\":t.type&&(n.type=e.getType(t.type));break;case\"Field\":case\"AliasedField\":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=n.type?i.getNamedType(n.type):null;break;case\"Directive\":n.directiveDef=t.name?e.getDirective(t.name):null;break;case\"Arguments\":var r=t.prevState?\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null:null;n.argDefs=r?r.args:null;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(var o=0;o<n.argDefs.length;o++)if(n.argDefs[o].name===t.name){n.argDef=n.argDefs[o];break}n.inputType=n.argDef&&n.argDef.type;break;case\"EnumValue\":var a=n.inputType?i.getNamedType(n.inputType):null;n.enumValue=a instanceof i.GraphQLEnumType?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}(a.getValues(),(function(e){return e.value===t.name})):null;break;case\"ListValue\":var l=n.inputType?i.getNullableType(n.inputType):null;n.inputType=l instanceof i.GraphQLList?l.ofType:null;break;case\"ObjectValue\":var c=n.inputType?i.getNamedType(n.inputType):null;n.objectFieldDefs=c instanceof i.GraphQLInputObjectType?c.getFields():null;break;case\"ObjectField\":var u=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=u&&u.type;break;case\"NamedType\":n.type=t.name?e.getType(t.name):null}})),n}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(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(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getTypeReference=t.getEnumValueReference=t.getArgumentReference=t.getDirectiveReference=t.getFieldReference=void 0;var r=n(14);function i(e){return\"__\"===e.name.slice(0,2)}t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:\"EnumValue\",value:e.enumValue||void 0,type:e.inputType?r.getNamedType(e.inputType):void 0}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}}},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15));function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if(r instanceof HTMLElement&&\"SPAN\"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),a=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(l,c)},s=function(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",s),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},l=function(){i.default.off(document,\"mousemove\",a),i.default.off(e.getWrapperElement(),\"mouseout\",s),n.hoverTimeout=void 0,function(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info.options,o=r.render||e.getHelper(n,\"info\");if(o){var a=e.getTokenAt(n,!0);if(a){var s=o(a,r,e,n);s&&function(e,t,n){var r=document.createElement(\"div\");r.className=\"CodeMirror-info\",r.appendChild(n),document.body.appendChild(r);var o=r.getBoundingClientRect(),a=window.getComputedStyle(r),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom),c=t.bottom;l>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(c=t.top-l);c<0&&(c=t.bottom);var u,f=Math.max(0,window.innerWidth-s-15);f>t.left&&(f=t.left);r.style.opacity=\"1\",r.style.top=c+\"px\",r.style.left=f+\"px\";var p=function(){clearTimeout(u)},d=function(){clearTimeout(u),u=setTimeout(h,200)},h=function(){i.default.off(r,\"mouseover\",p),i.default.off(r,\"mouseout\",d),i.default.off(e.getWrapperElement(),\"mouseout\",d),r.style.opacity?(r.style.opacity=\"0\",setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),600)):r.parentNode&&r.parentNode.removeChild(r)};i.default.on(r,\"mouseover\",p),i.default.on(r,\"mouseout\",d),i.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,t,s)}}}(e,o)},c=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(l,c),i.default.on(document,\"mousemove\",a),i.default.on(e.getWrapperElement(),\"mouseout\",s)}}i.default.defineOption(\"info\",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.info.onMouseOver;i.default.off(e.getWrapperElement(),\"mouseover\",r),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);a.onMouseOver=o.bind(null,e),i.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver)}}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getDefinitionState\",(function(){return D})),n.d(t,\"getFieldDef\",(function(){return I})),n.d(t,\"forEachState\",(function(){return L})),n.d(t,\"objectValues\",(function(){return j})),n.d(t,\"hintList\",(function(){return M})),n.d(t,\"getAutocompleteSuggestions\",(function(){return Se})),n.d(t,\"getVariableCompletions\",(function(){return _e})),n.d(t,\"getFragmentDefinitions\",(function(){return Ne})),n.d(t,\"getTokenAtPosition\",(function(){return Ae})),n.d(t,\"runOnlineParser\",(function(){return De})),n.d(t,\"canUseDirective\",(function(){return Ie})),n.d(t,\"getTypeInfo\",(function(){return Le})),n.d(t,\"LANGUAGE\",(function(){return ze})),n.d(t,\"getDefinitionQueryResultForNamedType\",(function(){return We})),n.d(t,\"getDefinitionQueryResultForFragmentSpread\",(function(){return Ke})),n.d(t,\"getDefinitionQueryResultForDefinitionNode\",(function(){return Ye})),n.d(t,\"SEVERITY\",(function(){return Ze})),n.d(t,\"DIAGNOSTIC_SEVERITY\",(function(){return et})),n.d(t,\"getDiagnostics\",(function(){return nt})),n.d(t,\"validateQuery\",(function(){return rt})),n.d(t,\"getRange\",(function(){return at})),n.d(t,\"getOutline\",(function(){return lt})),n.d(t,\"getHoverInformation\",(function(){return ut})),n.d(t,\"GraphQLLanguageService\",(function(){return Rt}));var r,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,x,k,T,O,C,S,_,N=n(0),A=n(9);function D(e){let t;return L(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t}function I(e,t,n){return n===A.SchemaMetaFieldDef.name&&e.getQueryType()===t?A.SchemaMetaFieldDef:n===A.TypeMetaFieldDef.name&&e.getQueryType()===t?A.TypeMetaFieldDef:n===A.TypeNameMetaFieldDef.name&&Object(N.D)(t)?A.TypeNameMetaFieldDef:\"getFields\"in t?t.getFields()[n]:null}function L(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function j(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r}function M(e,t){return function(e,t){if(!t)return F(e,e=>!e.isDeprecated);return F(F(e.map(e=>({proximity:P(R(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry)}(t,R(e.string))}function F(e,t){const n=e.filter(t);return 0===n.length?e:n}function R(e){return e.toLowerCase().replace(/\\W/g,\"\")}function P(e,t){let n=function(e,t){let n,r;const i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(r||(r={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=i.MAX_VALUE),t===Number.MAX_VALUE&&(t=i.MAX_VALUE),{line:e,character:t}},e.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.uinteger(t.line)&&ye.uinteger(t.character)}}(o||(o={})),function(e){e.create=function(e,t,n,r){if(ye.uinteger(e)&&ye.uinteger(t)&&ye.uinteger(n)&&ye.uinteger(r))return{start:o.create(e,t),end:o.create(n,r)};if(o.is(e)&&o.is(t))return{start:e,end:t};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+t+\", \"+n+\", \"+r+\"]\")},e.is=function(e){var t=e;return ye.objectLiteral(t)&&o.is(t.start)&&o.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.range)&&(ye.string(t.uri)||ye.undefined(t.uri))}}(s||(s={})),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 ye.defined(t)&&a.is(t.targetRange)&&ye.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ye.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||ye.undefined(t.originSelectionRange))}}(l||(l={})),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 ye.numberRange(t.red,0,1)&&ye.numberRange(t.green,0,1)&&ye.numberRange(t.blue,0,1)&&ye.numberRange(t.alpha,0,1)}}(c||(c={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&c.is(t.color)}}(u||(u={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ye.string(t.label)&&(ye.undefined(t.textEdit)||E.is(t))&&(ye.undefined(t.additionalTextEdits)||ye.typedArray(t.additionalTextEdits,E.is))}}(f||(f={})),function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(p||(p={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return ye.defined(n)&&(o.startCharacter=n),ye.defined(r)&&(o.endCharacter=r),ye.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return ye.uinteger(t.startLine)&&ye.uinteger(t.startLine)&&(ye.undefined(t.startCharacter)||ye.uinteger(t.startCharacter))&&(ye.undefined(t.endCharacter)||ye.uinteger(t.endCharacter))&&(ye.undefined(t.kind)||ye.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.location)&&ye.string(t.message)}}(h||(h={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),function(e){e.is=function(e){var t=e;return null!=t&&ye.string(t.href)}}(g||(g={})),function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return ye.defined(n)&&(a.severity=n),ye.defined(r)&&(a.code=r),ye.defined(i)&&(a.source=i),ye.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t,n=e;return ye.defined(n)&&a.is(n.range)&&ye.string(n.message)&&(ye.number(n.severity)||ye.undefined(n.severity))&&(ye.integer(n.code)||ye.string(n.code)||ye.undefined(n.code))&&(ye.undefined(n.codeDescription)||ye.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(ye.string(n.source)||ye.undefined(n.source))&&(ye.undefined(n.relatedInformation)||ye.typedArray(n.relatedInformation,h.is))}}(y||(y={})),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 ye.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.title)&&ye.string(t.command)}}(b||(b={})),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 ye.objectLiteral(t)&&ye.string(t.newText)&&a.is(t.range)}}(E||(E={})),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&&ye.objectLiteral(t)&&ye.string(t.label)&&(ye.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ye.string(t.description)||void 0===t.description)}}(w||(w={})),function(e){e.is=function(e){return\"string\"==typeof e}}(x||(x={})),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 E.is(t)&&(w.is(t.annotationId)||x.is(t.annotationId))}}(k||(k={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ye.defined(t)&&q.is(t.textDocument)&&Array.isArray(t.edits)}}(T||(T={})),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&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||x.is(t.annotationId))}}(O||(O={})),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&&ye.string(t.oldUri)&&ye.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||x.is(t.annotationId))}}(C||(C={})),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&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ye.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ye.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||x.is(t.annotationId))}}(S||(S={})),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 ye.string(e.kind)?O.is(e)||C.is(e)||S.is(e):T.is(e)})))}}(_||(_={}));var V,U,q,B,z,H,G,Q,W,K,Y,J,$,X,Z,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,fe,pe,de,he,me=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=E.insert(e,t):x.is(n)?(i=n,r=k.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=k.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=E.replace(e,t):x.is(n)?(i=n,r=k.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=k.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=E.del(e):x.is(t)?(r=t,n=k.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=k.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}(),ve=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(x.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 ve(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(T.is(e)){var n=new me(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new me(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(q.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 me(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 me(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ve,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,o;if(w.is(t)||x.is(t)?r=t:n=t,void 0===r?i=O.create(e,n):(o=x.is(r)?r:this._changeAnnotations.manage(r),i=O.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},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,o,a;if(w.is(n)||x.is(n)?i=n:r=n,void 0===i?o=C.create(e,t,r):(a=x.is(i)?i:this._changeAnnotations.manage(i),o=C.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},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,o;if(w.is(t)||x.is(t)?r=t:n=t,void 0===r?i=S.create(e,n):(o=x.is(r)?r:this._changeAnnotations.manage(r),i=S.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)}}(V||(V={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.integer(t.version)}}(U||(U={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&(null===t.version||ye.integer(t.version))}}(q||(q={})),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 ye.defined(t)&&ye.string(t.uri)&&ye.string(t.languageId)&&ye.integer(t.version)&&ye.string(t.text)}}(B||(B={})),function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(z||(z={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(z||(z={})),function(e){e.is=function(e){var t=e;return ye.objectLiteral(e)&&z.is(t.kind)&&ye.string(t.value)}}(H||(H={})),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}(G||(G={})),function(e){e.PlainText=1,e.Snippet=2}(Q||(Q={})),function(e){e.Deprecated=1}(W||(W={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ye.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(K||(K={})),function(e){e.asIs=1,e.adjustIndentation=2}(Y||(Y={})),function(e){e.create=function(e){return{label:e}}}(J||(J={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}($||($={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return ye.string(t)||ye.objectLiteral(t)&&ye.string(t.language)&&ye.string(t.value)}}(X||(X={})),function(e){e.is=function(e){var t=e;return!!t&&ye.objectLiteral(t)&&(H.is(t.contents)||X.is(t.contents)||ye.typedArray(t.contents,X.is))&&(void 0===e.range||a.is(e.range))}}(Z||(Z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(ee||(ee={})),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 ye.defined(t)&&(i.documentation=t),ye.defined(n)?i.parameters=n:i.parameters=[],i}}(te||(te={})),function(e){e.Text=1,e.Read=2,e.Write=3}(ne||(ne={})),function(e){e.create=function(e,t){var n={range:e};return ye.number(t)&&(n.kind=t),n}}(re||(re={})),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}(ie||(ie={})),function(e){e.Deprecated=1}(oe||(oe={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(ae||(ae={})),function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&ye.string(t.name)&&ye.number(t.kind)&&a.is(t.range)&&a.is(t.selectionRange)&&(void 0===t.detail||ye.string(t.detail))&&(void 0===t.deprecated||ye.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(se||(se={})),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\"}(le||(le={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ye.defined(t)&&ye.typedArray(t.diagnostics,y.is)&&(void 0===t.only||ye.typedArray(t.only,ye.string))}}(ce||(ce={})),function(e){e.create=function(e,t,n){var r={title:e},i=!0;return\"string\"==typeof t?(i=!1,r.kind=t):b.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&&ye.string(t.title)&&(void 0===t.diagnostics||ye.typedArray(t.diagnostics,y.is))&&(void 0===t.kind||ye.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||b.is(t.command))&&(void 0===t.isPreferred||ye.boolean(t.isPreferred))&&(void 0===t.edit||_.is(t.edit))}}(ue||(ue={})),function(e){e.create=function(e,t){var n={range:e};return ye.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.range)&&(ye.undefined(t.command)||b.is(t.command))}}(fe||(fe={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.uinteger(t.tabSize)&&ye.boolean(t.insertSpaces)}}(pe||(pe={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.range)&&(ye.undefined(t.target)||ye.string(t.target))}}(de||(de={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&a.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(he||(he={}));var ge;!function(e){e.create=function(e,t,n,r){return new be(e,t,n,r)},e.is=function(e){var t=e;return!!(ye.defined(t)&&ye.string(t.uri)&&(ye.undefined(t.languageId)||ye.string(t.languageId))&&ye.uinteger(t.lineCount)&&ye.func(t.getText)&&ye.func(t.positionAt)&&ye.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var a=0,s=0,l=0;for(;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[l++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[l++]=i[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(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})),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(ge||(ge={}));var ye,be=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 o.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 o.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 void 0!==e},e.undefined=function(e){return void 0===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)}}(ye||(ye={}));var Ee=n(2),we=n(7),xe=n(24),ke=n(33),Te=n(10),Oe=n(42),Ce=n(6);function Se(e,t,n,r,i){var o;const a=r||Ae(t,n),s=\"Invalid\"===a.state.kind?a.state.prevState:a.state;if(!s)return[];const l=s.kind,c=s.step,u=Le(e,a.state);if(l===Ce.RuleKinds.DOCUMENT)return M(a,[{label:\"query\",kind:G.Function},{label:\"mutation\",kind:G.Function},{label:\"subscription\",kind:G.Function},{label:\"fragment\",kind:G.Function},{label:\"{\",kind:G.Constructor}]);if(l===Ce.RuleKinds.IMPLEMENTS||l===Ce.RuleKinds.NAMED_TYPE&&(null===(o=s.prevState)||void 0===o?void 0:o.kind)===Ce.RuleKinds.IMPLEMENTS)return function(e,t,n,r,i){if(t.needsSeperator)return[];const o=j(n.getTypeMap()).filter(N.H),a=o.map(({name:e})=>e),s=new Set;De(r,(e,t)=>{var r,o,l,c,u;if(t.name&&(t.kind!==Ce.RuleKinds.INTERFACE_DEF||a.includes(t.name)||s.add(t.name),t.kind===Ce.RuleKinds.NAMED_TYPE&&(null===(r=t.prevState)||void 0===r?void 0:r.kind)===Ce.RuleKinds.IMPLEMENTS))if(i.interfaceDef){if(null===(o=i.interfaceDef)||void 0===o?void 0:o.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(l=i.interfaceDef)||void 0===l?void 0:l.toConfig();i.interfaceDef=new N.c(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null===(c=i.objectTypeDef)||void 0===c?void 0:c.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),r=null===(u=i.objectTypeDef)||void 0===u?void 0:u.toConfig();i.objectTypeDef=new N.f(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new N.c({name:t.name,fields:{}})]}))}});const l=i.interfaceDef||i.objectTypeDef,c=((null==l?void 0:l.getInterfaces())||[]).map(({name:e})=>e),u=o.concat([...s].map(e=>({name:e}))).filter(({name:e})=>e!==(null==l?void 0:l.name)&&!c.includes(e));return M(e,u.map(e=>{const t={label:e.name,kind:G.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t}))}(a,s,e,t,u);if(l===Ce.RuleKinds.SELECTION_SET||l===Ce.RuleKinds.FIELD||l===Ce.RuleKinds.ALIASED_FIELD)return function(e,t,n){if(t.parentType){const r=t.parentType;let i=[];return\"getFields\"in r&&(i=j(r.getFields())),Object(N.D)(r)&&i.push(A.TypeNameMetaFieldDef),r===n.getQueryType()&&i.push(A.SchemaMetaFieldDef,A.TypeMetaFieldDef),M(e,i.map((e,t)=>{var n;return{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:G.Field,type:e.type}}))}return[]}(a,u,e);if(l===Ce.RuleKinds.ARGUMENTS||l===Ce.RuleKinds.ARGUMENT&&0===c){const e=u.argDefs;if(e)return M(a,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:G.Variable,type:e.type}}))}if((l===Ce.RuleKinds.OBJECT_VALUE||l===Ce.RuleKinds.OBJECT_FIELD&&0===c)&&u.objectFieldDefs){const e=j(u.objectFieldDefs),t=l===Ce.RuleKinds.OBJECT_VALUE?G.Value:G.Field;return M(a,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}}))}if(l===Ce.RuleKinds.ENUM_VALUE||l===Ce.RuleKinds.LIST_VALUE&&1===c||l===Ce.RuleKinds.OBJECT_FIELD&&2===c||l===Ce.RuleKinds.ARGUMENT&&2===c)return function(e,t,n,r){const i=Object(N.A)(t.inputType),o=_e(n,r,!0).filter(e=>e.detail===i.name);if(i instanceof N.a){const t=i.getValues();return M(e,t.map(e=>{var t;return{label:e.name,detail:String(i),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:G.EnumMember,type:i}}).concat(o))}if(i===Te.a)return M(e,o.concat([{label:\"true\",detail:String(Te.a),documentation:\"Not false.\",kind:G.Variable,type:Te.a},{label:\"false\",detail:String(Te.a),documentation:\"Not true.\",kind:G.Variable,type:Te.a}]));return o}(a,u,t,e);if(l===Ce.RuleKinds.VARIABLE&&1===c){const n=Object(N.A)(u.inputType);return M(a,_e(t,e).filter(e=>e.detail===(null==n?void 0:n.name)))}return l===Ce.RuleKinds.TYPE_CONDITION&&1===c||l===Ce.RuleKinds.NAMED_TYPE&&null!=s.prevState&&s.prevState.kind===Ce.RuleKinds.TYPE_CONDITION?function(e,t,n,r){let i;if(t.parentType)if(Object(N.C)(t.parentType)){const e=Object(N.j)(t.parentType),r=n.getPossibleTypes(e),o=Object.create(null);r.forEach(e=>{e.getInterfaces().forEach(e=>{o[e.name]=e})}),i=r.concat(j(o))}else i=[t.parentType];else{const e=n.getTypeMap();i=j(e).filter(N.D)}return M(e,i.map(e=>{const t=Object(N.A)(e);return{label:String(e),documentation:t&&t.description||\"\",kind:G.Field}}))}(a,u,e):l===Ce.RuleKinds.FRAGMENT_SPREAD&&1===c?function(e,t,n,r,i){if(!r)return[];const o=n.getTypeMap(),a=D(e.state),s=Ne(r);i&&i.length>0&&s.push(...i);const l=s.filter(e=>o[e.typeCondition.name.value]&&!(a&&a.kind===Ce.RuleKinds.FRAGMENT_DEFINITION&&a.name===e.name.value)&&Object(N.D)(t.parentType)&&Object(N.D)(o[e.typeCondition.name.value])&&Object(Oe.a)(n,t.parentType,o[e.typeCondition.name.value]));return M(e,l.map(e=>({label:e.name.value,detail:String(o[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:G.Field,type:o[e.typeCondition.name.value]})))}(a,u,e,t,Array.isArray(i)?i:(e=>{const t=[];return e&&Object(xe.c)(Object(ke.a)(e,{allowLegacyFragmentVariables:!0}),{FragmentDefinition(e){t.push(e)}}),t})(i)):l===Ce.RuleKinds.VARIABLE_DEFINITION&&2===c||l===Ce.RuleKinds.LIST_TYPE&&1===c||l===Ce.RuleKinds.NAMED_TYPE&&s.prevState&&(s.prevState.kind===Ce.RuleKinds.VARIABLE_DEFINITION||s.prevState.kind===Ce.RuleKinds.LIST_TYPE||s.prevState.kind===Ce.RuleKinds.NON_NULL_TYPE)?function(e,t,n){const r=j(t.getTypeMap()).filter(N.G);return M(e,r.map(e=>({label:e.name,documentation:e.description,kind:G.Variable})))}(a,e):l===Ce.RuleKinds.DIRECTIVE?function(e,t,n,r){if(t.prevState&&t.prevState.kind){const r=n.getDirectives().filter(e=>Ie(t.prevState,e));return M(e,r.map(e=>({label:e.name,documentation:e.description||\"\",kind:G.Function})))}return[]}(a,s,e):[]}function _e(e,t,n=!1){let r,i;const o=Object.create({});return De(e,(e,a)=>{if(a.kind===Ce.RuleKinds.VARIABLE&&a.name&&(r=a.name),a.kind===Ce.RuleKinds.NAMED_TYPE&&r){const e=((e,t)=>{var n,r,i,o,a,s,l,c,u,f;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===(s=null===(a=null===(o=e.prevState)||void 0===o?void 0:o.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.kind)===t?e.prevState.prevState.prevState:(null===(f=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===f?void 0:f.kind)===t?e.prevState.prevState.prevState.prevState:void 0})(a,Ce.RuleKinds.TYPE);(null==e?void 0:e.type)&&(i=t.getType(null==e?void 0:e.type))}r&&i&&(o[r]||(o[r]={detail:i.toString(),label:\"$\"+r,type:i,kind:G.Variable},n&&(o[r].insertText=\"$\"+r),r=null,i=null))}),j(o)}function Ne(e){const t=[];return De(e,(e,n)=>{n.kind===Ce.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:Ce.RuleKinds.FRAGMENT_DEFINITION,name:{kind:Ee.a.NAME,value:n.name},selectionSet:{kind:Ce.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:Ce.RuleKinds.NAMED_TYPE,name:{kind:Ee.a.NAME,value:n.type}}})}),t}function Ae(e,t){let n=null,r=null,i=null;const o=De(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},o),i=e.current(),\"BREAK\"});return{start:o.start,end:o.end,string:i||o.string,state:r||o.state,style:n||o.style}}function De(e,t){const n=e.split(\"\\n\"),r=Object(Ce.onlineParser)();let i=r.startState(),o=\"\",a=new Ce.CharacterStream(\"\");for(let e=0;e<n.length;e++){for(a=new Ce.CharacterStream(n[e]);!a.eol();){o=r.token(a,i);if(\"BREAK\"===t(a,i,o,e))break}t(a,i,o,e),i.kind||(i=r.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:i,style:o}}function Ie(e,t){if(!e||!e.kind)return!1;const n=e.kind,r=t.locations;switch(n){case Ce.RuleKinds.QUERY:return-1!==r.indexOf(we.a.QUERY);case Ce.RuleKinds.MUTATION:return-1!==r.indexOf(we.a.MUTATION);case Ce.RuleKinds.SUBSCRIPTION:return-1!==r.indexOf(we.a.SUBSCRIPTION);case Ce.RuleKinds.FIELD:case Ce.RuleKinds.ALIASED_FIELD:return-1!==r.indexOf(we.a.FIELD);case Ce.RuleKinds.FRAGMENT_DEFINITION:return-1!==r.indexOf(we.a.FRAGMENT_DEFINITION);case Ce.RuleKinds.FRAGMENT_SPREAD:return-1!==r.indexOf(we.a.FRAGMENT_SPREAD);case Ce.RuleKinds.INLINE_FRAGMENT:return-1!==r.indexOf(we.a.INLINE_FRAGMENT);case Ce.RuleKinds.SCHEMA_DEF:return-1!==r.indexOf(we.a.SCHEMA);case Ce.RuleKinds.SCALAR_DEF:return-1!==r.indexOf(we.a.SCALAR);case Ce.RuleKinds.OBJECT_TYPE_DEF:return-1!==r.indexOf(we.a.OBJECT);case Ce.RuleKinds.FIELD_DEF:return-1!==r.indexOf(we.a.FIELD_DEFINITION);case Ce.RuleKinds.INTERFACE_DEF:return-1!==r.indexOf(we.a.INTERFACE);case Ce.RuleKinds.UNION_DEF:return-1!==r.indexOf(we.a.UNION);case Ce.RuleKinds.ENUM_DEF:return-1!==r.indexOf(we.a.ENUM);case Ce.RuleKinds.ENUM_VALUE:return-1!==r.indexOf(we.a.ENUM_VALUE);case Ce.RuleKinds.INPUT_DEF:return-1!==r.indexOf(we.a.INPUT_OBJECT);case Ce.RuleKinds.INPUT_VALUE_DEF:switch(e.prevState&&e.prevState.kind){case Ce.RuleKinds.ARGUMENTS_DEF:return-1!==r.indexOf(we.a.ARGUMENT_DEFINITION);case Ce.RuleKinds.INPUT_DEF:return-1!==r.indexOf(we.a.INPUT_FIELD_DEFINITION)}}return!1}function Le(e,t){let n,r,i,o,a,s,l,c,u,f,p;return L(t,t=>{switch(t.kind){case Ce.RuleKinds.QUERY:case\"ShortQuery\":f=e.getQueryType();break;case Ce.RuleKinds.MUTATION:f=e.getMutationType();break;case Ce.RuleKinds.SUBSCRIPTION:f=e.getSubscriptionType();break;case Ce.RuleKinds.INLINE_FRAGMENT:case Ce.RuleKinds.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case Ce.RuleKinds.FIELD:case Ce.RuleKinds.ALIASED_FIELD:f&&t.name?(a=u?I(e,u,t.name):null,f=a?a.type:null):a=null;break;case Ce.RuleKinds.SELECTION_SET:u=Object(N.A)(f);break;case Ce.RuleKinds.DIRECTIVE:i=t.name?e.getDirective(t.name):null;break;case Ce.RuleKinds.INTERFACE_DEF:t.name&&(l=null,p=new N.c({name:t.name,interfaces:[],fields:{}}));break;case Ce.RuleKinds.OBJECT_TYPE_DEF:t.name&&(p=null,l=new N.f({name:t.name,interfaces:[],fields:{}}));break;case Ce.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case Ce.RuleKinds.FIELD:r=a&&a.args;break;case Ce.RuleKinds.DIRECTIVE:r=i&&i.args;break;case Ce.RuleKinds.ALIASED_FIELD:{const n=t.prevState&&t.prevState.name;if(!n){r=null;break}const i=u?I(e,u,n):null;if(!i){r=null;break}r=i.args;break}default:r=null}else r=null;break;case Ce.RuleKinds.ARGUMENT:if(r)for(let e=0;e<r.length;e++)if(r[e].name===t.name){n=r[e];break}s=n&&n.type;break;case Ce.RuleKinds.ENUM_VALUE:const d=Object(N.A)(s);o=d instanceof N.a?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}(d.getValues(),e=>e.value===t.name):null;break;case Ce.RuleKinds.LIST_VALUE:const h=Object(N.B)(s);s=h instanceof N.d?h.ofType:null;break;case Ce.RuleKinds.OBJECT_VALUE:const m=Object(N.A)(s);c=m instanceof N.b?m.getFields():null;break;case Ce.RuleKinds.OBJECT_FIELD:const v=t.name&&c?c[t.name]:null;s=v&&v.type;break;case Ce.RuleKinds.NAMED_TYPE:t.name&&(f=e.getType(t.name))}}),{argDef:n,argDefs:r,directiveDef:i,enumValue:o,fieldDef:a,inputType:s,objectFieldDefs:c,parentType:u,type:f,interfaceDef:p,objectTypeDef:l}}n(61);class je{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new Me(e,t)}setEnd(e,t){this.end=new Me(e,t)}}class Me{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function Fe(e,t){const n=e.slice(0,t),r=n.split(\"\\n\").length-1,i=n.lastIndexOf(\"\\n\");return new Me(r,t-i-1)}var Re=n(98),Pe=n(144),Ve=n(143),Ue=n(48),qe=n(133);var Be=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const ze=\"GraphQL\";function He(e,t){if(!e)throw new Error(t)}function Ge(e,t){const n=t.loc;return He(n,\"Expected ASTNode to have a location.\"),function(e,t){const n=Fe(e,t.start),r=Fe(e,t.end);return new je(n,r)}(e,n)}function Qe(e,t){const n=t.loc;return He(n,\"Expected ASTNode to have a location.\"),Fe(e,n.start)}function We(e,t,n){return Be(this,void 0,void 0,(function*(){const r=t.name.value,i=n.filter(({definition:e})=>e.name&&e.name.value===r);if(0===i.length)throw Error(\"Definition not found for GraphQL type \"+r);const o=i.map(({filePath:e,content:t,definition:n})=>function(e,t,n){const r=n.name;return He(r,\"Expected ASTNode to have a Name.\"),{path:e,position:Qe(t,n),range:Ge(t,n),name:r.value||\"\",language:ze,projectRoot:e}}(e||\"\",t,n));return{definitions:o,queryRange:o.map(n=>Ge(e,t))}}))}function Ke(e,t,n){return Be(this,void 0,void 0,(function*(){const r=t.name.value,i=n.filter(({definition:e})=>e.name.value===r);if(0===i.length)throw Error(\"Definition not found for GraphQL fragment \"+r);const o=i.map(({filePath:e,content:t,definition:n})=>Je(e||\"\",t,n));return{definitions:o,queryRange:o.map(n=>Ge(e,t))}}))}function Ye(e,t,n){return{definitions:[Je(e,t,n)],queryRange:n.name?[Ge(t,n.name)]:[]}}function Je(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:Qe(t,n),range:Ge(t,n),name:r.value||\"\",language:ze,projectRoot:e}}var $e=n(13),Xe=n(164);const Ze={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"},et={[Ze.Error]:1,[Ze.Warning]:2,[Ze.Information]:3,[Ze.Hint]:4},tt=(e,t)=>{if(!e)throw new Error(t)};function nt(e,t=null,n,r,i){let o=null;i&&(e+=\"string\"==typeof i?\"\\n\\n\"+i:\"\\n\\n\"+i.reduce((e,t)=>e+=Object($e.a)(t)+\"\\n\\n\",\"\"));try{o=Object(ke.a)(e)}catch(t){const n=at(t.locations[0],e);return[{severity:et.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}return rt(o,t,n,r)}function rt(e,t=null,n,r){if(!t)return[];const i=it(function(e,t,n,r){const i=Re.a.filter(e=>e!==Pe.a&&e!==qe.a&&(!r||e!==Ve.a));return n&&Array.prototype.push.apply(i,n),Object(Ue.c)(e,t,i).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===Ee.a.DIRECTIVE){const e=t.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}(t,e,n,r),e=>ot(e,et.Error,\"Validation\")),o=it(Object(Ue.c)(t,e,[Xe.a]),e=>ot(e,et.Warning,\"Deprecation\"));return i.concat(o)}function it(e,t){return Array.prototype.concat.apply([],e.map(t))}function ot(e,t,n){if(!e.nodes)return[];const r=[];return e.nodes.forEach(i=>{const o=\"Variable\"!==i.kind&&\"name\"in i&&void 0!==i.name?i.name:\"variable\"in i&&void 0!==i.variable?i.variable:i;if(o){tt(e.locations,\"GraphQL validation error requires locations.\");const i=e.locations[0],a=function(e){const t=e.loc;return tt(t,\"Expected ASTNode to have a location.\"),t}(o),s=i.column+(a.end-a.start);r.push({source:\"GraphQL: \"+n,message:e.message,severity:t,range:new je(new Me(i.line-1,i.column-1),new Me(i.line-1,s))})}}),r}function at(e,t){const n=Object(Ce.onlineParser)(),r=n.startState(),i=t.split(\"\\n\");tt(i.length>=e.line,\"Query text must have more lines than where the error happened\");let o=null;for(let t=0;t<e.line;t++)for(o=new Ce.CharacterStream(i[t]);!o.eol();){if(\"invalidchar\"===n.token(o,r))break}tt(o,\"Expected Parser stream to be available.\");const a=e.line-1,s=o.getStartOfToken(),l=o.getCurrentPosition();return new je(new Me(a,s),new Me(a,l))}const{INLINE_FRAGMENT:st}=Ee.a;function lt(e){let t;try{t=Object(ke.a)(e)}catch(e){return null}const n=function(e){const t=t=>({representativeName:t.name,startPosition:Fe(e,t.loc.start),endPosition:Fe(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[ct(\"plain\",e.alias),ct(\"plain\",\": \")]:[];return n.push(ct(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",e.operation),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);Array.isArray(i)?n.push(...i):n.push(i)}return n}(e.selections,e=>e.kind===st?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",\"fragment\"),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",\"interface\"),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",\"enum\"),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[ct(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",\"type\"),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[ct(\"keyword\",\"input\"),ct(\"whitespace\",\" \"),ct(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[ct(\"plain\",\"...\"),ct(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[ct(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[ct(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:Object(xe.c)(t,{leave:e=>void 0!==n&&e.kind in n?n[e.kind](e):null})}}function ct(e,t){return{kind:e,value:t}}function ut(e,t,n,r){const i=r||Ae(t,n);if(!e||!i||!i.state)return\"\";const o=i.state,a=o.kind,s=o.step,l=Le(e,i.state),c={schema:e};if(\"Field\"===a&&0===s&&l.fieldDef||\"AliasedField\"===a&&2===s&&l.fieldDef){const e=[];return function(e,t,n){ft(e,t,n),dt(e,t,n,t.type)}(e,l,c),mt(e,c,l.fieldDef),e.join(\"\").trim()}if(\"Directive\"===a&&1===s&&l.directiveDef){const e=[];return pt(e,l,c),mt(e,c,l.directiveDef),e.join(\"\").trim()}if(\"Argument\"===a&&0===s&&l.argDef){const e=[];return function(e,t,n){t.directiveDef?pt(e,t,n):t.fieldDef&&ft(e,t,n);if(!t.argDef)return;const r=t.argDef.name;vt(e,\"(\"),vt(e,r),dt(e,t,n,t.inputType),vt(e,\")\")}(e,l,c),mt(e,c,l.argDef),e.join(\"\").trim()}if(\"EnumValue\"===a&&l.enumValue&&\"description\"in l.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;ht(e,t,n,t.inputType),vt(e,\".\"),vt(e,r)}(e,l,c),mt(e,c,l.enumValue),e.join(\"\").trim()}if(\"NamedType\"===a&&l.type&&\"description\"in l.type){const e=[];return ht(e,l,c,l.type),mt(e,c,l.type),e.join(\"\").trim()}return\"\"}function ft(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(ht(e,t,n,t.parentType),vt(e,\".\")),vt(e,r)}function pt(e,t,n){if(!t.directiveDef)return;vt(e,\"@\"+t.directiveDef.name)}function dt(e,t,n,r){vt(e,\": \"),ht(e,t,n,r)}function ht(e,t,n,r){r&&(r instanceof N.e?(ht(e,t,n,r.ofType),vt(e,\"!\")):r instanceof N.d?(vt(e,\"[\"),ht(e,t,n,r.ofType),vt(e,\"]\")):vt(e,r.name))}function mt(e,t,n){if(!n)return;const r=\"string\"==typeof n.description?n.description:null;r&&(vt(e,\"\\n\\n\"),vt(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;if(!r)return;vt(e,\"\\n\\n\"),vt(e,\"Deprecated: \"),vt(e,r)}(e,0,n)}function vt(e,t){e.push(t)}var gt=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{FRAGMENT_DEFINITION:yt,OBJECT_TYPE_DEFINITION:bt,INTERFACE_TYPE_DEFINITION:Et,ENUM_TYPE_DEFINITION:wt,UNION_TYPE_DEFINITION:xt,SCALAR_TYPE_DEFINITION:kt,INPUT_OBJECT_TYPE_DEFINITION:Tt,SCALAR_TYPE_EXTENSION:Ot,OBJECT_TYPE_EXTENSION:Ct,INTERFACE_TYPE_EXTENSION:St,UNION_TYPE_EXTENSION:_t,ENUM_TYPE_EXTENSION:Nt,INPUT_OBJECT_TYPE_EXTENSION:At,DIRECTIVE_DEFINITION:Dt,FRAGMENT_SPREAD:It,OPERATION_DEFINITION:Lt,NAMED_TYPE:jt}=Ee.a,Mt={[Ee.a.FIELD]:ie.Field,[Ee.a.OPERATION_DEFINITION]:ie.Class,[Ee.a.FRAGMENT_DEFINITION]:ie.Class,[Ee.a.FRAGMENT_SPREAD]:ie.Struct,[Ee.a.OBJECT_TYPE_DEFINITION]:ie.Class,[Ee.a.ENUM_TYPE_DEFINITION]:ie.Enum,[Ee.a.ENUM_VALUE_DEFINITION]:ie.EnumMember,[Ee.a.INPUT_OBJECT_TYPE_DEFINITION]:ie.Class,[Ee.a.INPUT_VALUE_DEFINITION]:ie.Field,[Ee.a.FIELD_DEFINITION]:ie.Field,[Ee.a.INTERFACE_TYPE_DEFINITION]:ie.Interface,[Ee.a.DOCUMENT]:ie.File,FieldWithArguments:ie.Method};function Ft(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?Mt.FieldWithArguments:Mt[e.kind]}class Rt{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \"+e)}getDiagnostics(e,t,n){return gt(this,void 0,void 0,(function*(){let r=!1;const i=this.getConfigForURI(t);if(!i)return[];const{schema:o,name:a,extensions:s}=i;try{const n=Object(ke.a)(e);o&&t===o||(r=n.definitions.some(e=>{switch(e.kind){case bt:case Et:case wt:case xt:case kt:case Tt:case Ot:case Ct:case St:case _t:case Nt:case At:case Dt:return!0}return!1}))}catch(t){const n=at(t.locations[0],e);return[{severity:et.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}let l=e;const c=yield this._graphQLCache.getFragmentDefinitions(i);l=`${l} ${(yield this._graphQLCache.getFragmentDependencies(e,c)).reduce((e,t)=>`${e} ${Object($e.a)(t.definition)}`,\"\")}`;let u=null;try{u=Object(ke.a)(l)}catch(e){return[]}let f=null;(null==s?void 0:s.customValidationRules)&&\"function\"==typeof s.customValidationRules&&(f=s.customValidationRules(this._graphQLConfig));const p=yield this._graphQLCache.getSchema(a,r);return p?rt(u,p,f,n):[]}))}getAutocompleteSuggestions(e,t,n){return gt(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n),i=yield this._graphQLCache.getSchema(r.name),o=yield this._graphQLCache.getFragmentDefinitions(r),a=Array.from(o).map(([,e])=>e.definition);return i?Se(i,e,t,void 0,a):[]}))}getHoverInformation(e,t,n){return gt(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n),i=yield this._graphQLCache.getSchema(r.name);return i?ut(i,e,t):\"\"}))}getDefinition(e,t,n){return gt(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n);let i;try{i=Object(ke.a)(e)}catch(e){return null}const o=function(e,t,n){const r=function(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}(e,n);let i;return Object(xe.c)(t,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;i=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),i}(e,i,t);if(o)switch(o.kind){case It:return this._getDefinitionForFragmentSpread(e,i,o,n,r);case yt:case Lt:return Ye(n,e,o);case jt:return this._getDefinitionForNamedType(e,i,o,n,r)}return null}))}getDocumentSymbols(e,t){return gt(this,void 0,void 0,(function*(){const n=yield this.getOutline(e);if(!n)return[];const r=[],i=n.outlineTrees.map(e=>[null,e]);for(;i.length>0;){const e=i.pop();if(!e)return[];const[n,o]=e;if(!o)return[];r.push({name:o.representativeName,kind:Ft(o),location:{uri:t,range:{start:o.startPosition,end:o.endPosition}},containerName:n?n.representativeName:void 0}),i.push(...o.children.map(e=>[o,e]))}return r}))}_getDefinitionForNamedType(e,t,n,r,i){return gt(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getObjectTypeDefinitions(i),a=yield this._graphQLCache.getObjectTypeDependenciesForAST(t,o),s=t.definitions.filter(e=>e.kind===bt||e.kind===Tt||e.kind===wt||e.kind===kt||e.kind===Et).map(t=>({filePath:r,content:e,definition:t}));return yield We(e,n,a.concat(s))}))}_getDefinitionForFragmentSpread(e,t,n,r,i){return gt(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getFragmentDefinitions(i),a=yield this._graphQLCache.getFragmentDependenciesForAST(t,o),s=t.definitions.filter(e=>e.kind===yt).map(t=>({filePath:r,content:e,definition:t}));return yield Ke(e,n,a.concat(s))}))}getOutline(e){return gt(this,void 0,void 0,(function*(){return lt(e)}))}}},function(e,t,n){\"use strict\";var r=n(57),i=n.n(r)()((function(e){return e[1]}));i.push([e.i,\".graphiql-container,\\n.graphiql-container button,\\n.graphiql-container input {\\n color: #141823;\\n font-family:\\n system,\\n -apple-system,\\n 'San Francisco',\\n '.SFNSDisplay-Regular',\\n 'Segoe UI',\\n Segoe,\\n 'Segoe WP',\\n 'Helvetica Neue',\\n helvetica,\\n 'Lucida Grande',\\n arial,\\n sans-serif;\\n font-size: 14px;\\n}\\n\\n.graphiql-container {\\n display: flex;\\n flex-direction: row;\\n height: 100%;\\n margin: 0;\\n overflow: hidden;\\n width: 100%;\\n}\\n\\n.graphiql-container .editorWrap {\\n display: flex;\\n flex-direction: column;\\n flex: 1;\\n overflow-x: hidden;\\n}\\n\\n.graphiql-container .title {\\n font-size: 18px;\\n}\\n\\n.graphiql-container .title em {\\n font-family: georgia;\\n font-size: 19px;\\n}\\n\\n.graphiql-container .topBarWrap {\\n display: flex;\\n flex-direction: row;\\n}\\n\\n.graphiql-container .topBar {\\n align-items: center;\\n background: linear-gradient(#f7f7f7, #e2e2e2);\\n border-bottom: 1px solid #d0d0d0;\\n cursor: default;\\n display: flex;\\n flex-direction: row;\\n flex: 1;\\n height: 34px;\\n overflow-y: visible;\\n padding: 7px 14px 6px;\\n user-select: none;\\n}\\n\\n.graphiql-container .toolbar {\\n overflow-x: visible;\\n display: flex;\\n}\\n\\n.graphiql-container .docExplorerShow,\\n.graphiql-container .historyShow {\\n background: linear-gradient(#f7f7f7, #e2e2e2);\\n border-radius: 0;\\n border-bottom: 1px solid #d0d0d0;\\n border-right: none;\\n border-top: none;\\n color: #3B5998;\\n cursor: pointer;\\n font-size: 14px;\\n margin: 0;\\n padding: 2px 20px 0 18px;\\n}\\n\\n.graphiql-container .docExplorerShow {\\n border-left: 1px solid rgba(0, 0, 0, 0.2);\\n}\\n\\n.graphiql-container .historyShow {\\n border-right: 1px solid rgba(0, 0, 0, 0.2);\\n border-left: 0;\\n}\\n\\n.graphiql-container .docExplorerShow:before {\\n border-left: 2px solid #3B5998;\\n border-top: 2px solid #3B5998;\\n content: '';\\n display: inline-block;\\n height: 9px;\\n margin: 0 3px -1px 0;\\n position: relative;\\n transform: rotate(-45deg);\\n width: 9px;\\n}\\n\\n.graphiql-container .editorBar {\\n display: flex;\\n flex-direction: row;\\n flex: 1;\\n}\\n\\n.graphiql-container .queryWrap {\\n display: flex;\\n flex-direction: column;\\n flex: 1;\\n}\\n\\n.graphiql-container .resultWrap {\\n border-left: solid 1px #e0e0e0;\\n display: flex;\\n flex-direction: column;\\n flex: 1;\\n flex-basis: 1em;\\n position: relative;\\n}\\n\\n.graphiql-container .docExplorerWrap,\\n.graphiql-container .historyPaneWrap {\\n background: white;\\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\\n position: relative;\\n z-index: 3;\\n}\\n\\n.graphiql-container .historyPaneWrap {\\n min-width: 230px;\\n z-index: 5;\\n}\\n\\n.graphiql-container .docExplorerResizer {\\n cursor: col-resize;\\n height: 100%;\\n left: -5px;\\n position: absolute;\\n top: 0;\\n width: 10px;\\n z-index: 10;\\n}\\n\\n.graphiql-container .docExplorerHide {\\n cursor: pointer;\\n font-size: 18px;\\n margin: -7px -8px -6px 0;\\n padding: 18px 16px 15px 12px;\\n background: 0;\\n border: 0;\\n line-height: 14px;\\n}\\n\\n.graphiql-container div .query-editor {\\n flex: 1;\\n position: relative;\\n}\\n\\n.graphiql-container .secondary-editor {\\n display: flex;\\n flex-direction: column;\\n height: 30px;\\n position: relative;\\n}\\n\\n.graphiql-container .secondary-editor-title {\\n background: #eeeeee;\\n border-bottom: 1px solid #d6d6d6;\\n border-top: 1px solid #e0e0e0;\\n color: #777;\\n font-variant: small-caps;\\n font-weight: bold;\\n letter-spacing: 1px;\\n line-height: 14px;\\n padding: 6px 0 8px 43px;\\n text-transform: lowercase;\\n user-select: none;\\n}\\n\\n.graphiql-container .codemirrorWrap {\\n flex: 1;\\n height: 100%;\\n position: relative;\\n}\\n\\n.graphiql-container .result-window {\\n flex: 1;\\n height: 100%;\\n position: relative;\\n}\\n\\n.graphiql-container .footer {\\n background: #f6f7f8;\\n border-left: 1px solid #e0e0e0;\\n border-top: 1px solid #e0e0e0;\\n margin-left: 12px;\\n position: relative;\\n}\\n\\n.graphiql-container .footer:before {\\n background: #eeeeee;\\n bottom: 0;\\n content: \\\" \\\";\\n left: -13px;\\n position: absolute;\\n top: -1px;\\n width: 12px;\\n}\\n\\n/* No `.graphiql-container` here so themes can overwrite */\\n\\n.result-window .CodeMirror.cm-s-graphiql {\\n background: #f6f7f8;\\n}\\n\\n.graphiql-container .result-window .CodeMirror-gutters {\\n background-color: #eeeeee;\\n border-color: #e0e0e0;\\n cursor: col-resize;\\n}\\n\\n.graphiql-container .result-window .CodeMirror-foldgutter,\\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\\n padding-left: 3px;\\n}\\n\\n.graphiql-container .toolbar-button {\\n background: #fdfdfd;\\n background: linear-gradient(#f9f9f9, #ececec);\\n border: 0;\\n border-radius: 3px;\\n box-shadow:\\n inset 0 0 0 1px rgba(0,0,0,0.20),\\n 0 1px 0 rgba(255,255,255, 0.7),\\n inset 0 1px #fff;\\n color: #555;\\n cursor: pointer;\\n display: inline-block;\\n margin: 0 5px;\\n padding: 3px 11px 5px;\\n text-decoration: none;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n max-width: 150px;\\n}\\n\\n.graphiql-container .toolbar-button:active {\\n background: linear-gradient(#ececec, #d5d5d5);\\n box-shadow:\\n 0 1px 0 rgba(255, 255, 255, 0.7),\\n inset 0 0 0 1px rgba(0,0,0,0.10),\\n inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\\n inset 0 0 5px rgba(0, 0, 0, 0.1);\\n}\\n\\n.graphiql-container .toolbar-button.error {\\n background: linear-gradient(#fdf3f3, #e6d6d7);\\n color: #b00;\\n}\\n\\n.graphiql-container .toolbar-button-group {\\n margin: 0 5px;\\n white-space: nowrap;\\n}\\n\\n.graphiql-container .toolbar-button-group > * {\\n margin: 0;\\n}\\n\\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\\n border-top-right-radius: 0;\\n border-bottom-right-radius: 0;\\n}\\n\\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0;\\n margin-left: -1px;\\n}\\n\\n.graphiql-container .execute-button-wrap {\\n height: 34px;\\n margin: 0 14px 0 28px;\\n position: relative;\\n}\\n\\n.graphiql-container .execute-button {\\n background: linear-gradient(#fdfdfd, #d2d3d6);\\n border-radius: 17px;\\n border: 1px solid rgba(0,0,0,0.25);\\n box-shadow: 0 1px 0 #fff;\\n cursor: pointer;\\n fill: #444;\\n height: 34px;\\n margin: 0;\\n padding: 0;\\n width: 34px;\\n}\\n\\n.graphiql-container .execute-button svg {\\n pointer-events: none;\\n}\\n\\n.graphiql-container .execute-button:active {\\n background: linear-gradient(#e6e6e6, #c3c3c3);\\n box-shadow:\\n 0 1px 0 #fff,\\n inset 0 0 2px rgba(0, 0, 0, 0.2),\\n inset 0 0 6px rgba(0, 0, 0, 0.1);\\n}\\n\\n.graphiql-container .toolbar-menu,\\n.graphiql-container .toolbar-select {\\n position: relative;\\n}\\n\\n.graphiql-container .execute-options,\\n.graphiql-container .toolbar-menu-items,\\n.graphiql-container .toolbar-select-options {\\n background: #fff;\\n box-shadow:\\n 0 0 0 1px rgba(0,0,0,0.1),\\n 0 2px 4px rgba(0,0,0,0.25);\\n margin: 0;\\n padding: 6px 0;\\n position: absolute;\\n z-index: 100;\\n}\\n\\n.graphiql-container .execute-options {\\n min-width: 100px;\\n top: 37px;\\n left: -1px;\\n}\\n\\n.graphiql-container .toolbar-menu-items {\\n left: 1px;\\n margin-top: -1px;\\n min-width: 110%;\\n top: 100%;\\n visibility: hidden;\\n}\\n\\n.graphiql-container .toolbar-menu-items.open {\\n visibility: visible;\\n}\\n\\n.graphiql-container .toolbar-select-options {\\n left: 0;\\n min-width: 100%;\\n top: -5px;\\n visibility: hidden;\\n}\\n\\n.graphiql-container .toolbar-select-options.open {\\n visibility: visible;\\n}\\n\\n.graphiql-container .execute-options > li,\\n.graphiql-container .toolbar-menu-items > li,\\n.graphiql-container .toolbar-select-options > li {\\n cursor: pointer;\\n display: block;\\n margin: none;\\n max-width: 300px;\\n overflow: hidden;\\n padding: 2px 20px 4px 11px;\\n white-space: nowrap;\\n}\\n\\n.graphiql-container .execute-options > li.selected,\\n.graphiql-container .toolbar-menu-items > li.hover,\\n.graphiql-container .toolbar-menu-items > li:active,\\n.graphiql-container .toolbar-menu-items > li:hover,\\n.graphiql-container .toolbar-select-options > li.hover,\\n.graphiql-container .toolbar-select-options > li:active,\\n.graphiql-container .toolbar-select-options > li:hover,\\n.graphiql-container .history-contents > li:hover,\\n.graphiql-container .history-contents > li:active {\\n background: #e10098;\\n color: #fff;\\n}\\n\\n.graphiql-container .toolbar-select-options > li > svg {\\n display: inline;\\n fill: #666;\\n margin: 0 -6px 0 6px;\\n pointer-events: none;\\n vertical-align: middle;\\n}\\n\\n.graphiql-container .toolbar-select-options > li.hover > svg,\\n.graphiql-container .toolbar-select-options > li:active > svg,\\n.graphiql-container .toolbar-select-options > li:hover > svg {\\n fill: #fff;\\n}\\n\\n.graphiql-container .CodeMirror-scroll {\\n overflow-scrolling: touch;\\n}\\n\\n.graphiql-container .CodeMirror {\\n color: #141823;\\n font-family:\\n 'Consolas',\\n 'Inconsolata',\\n 'Droid Sans Mono',\\n 'Monaco',\\n monospace;\\n font-size: 13px;\\n height: 100%;\\n left: 0;\\n position: absolute;\\n top: 0;\\n width: 100%;\\n}\\n\\n.graphiql-container .CodeMirror-lines {\\n padding: 20px 0;\\n}\\n\\n.CodeMirror-hint-information .content {\\n box-orient: vertical;\\n color: #141823;\\n display: flex;\\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;\\n font-size: 13px;\\n line-clamp: 3;\\n line-height: 16px;\\n max-height: 48px;\\n overflow: hidden;\\n text-overflow: -o-ellipsis-lastline;\\n}\\n\\n.CodeMirror-hint-information .content p:first-child {\\n margin-top: 0;\\n}\\n\\n.CodeMirror-hint-information .content p:last-child {\\n margin-bottom: 0;\\n}\\n\\n.CodeMirror-hint-information .infoType {\\n color: #CA9800;\\n cursor: pointer;\\n display: inline;\\n margin-right: 0.5em;\\n}\\n\\n.autoInsertedLeaf.cm-property {\\n animation-duration: 6s;\\n animation-name: insertionFade;\\n border-bottom: 2px solid rgba(255, 255, 255, 0);\\n border-radius: 2px;\\n margin: -2px -4px -1px;\\n padding: 2px 4px 1px;\\n}\\n\\n@keyframes insertionFade {\\n from, to {\\n background: rgba(255, 255, 255, 0);\\n border-color: rgba(255, 255, 255, 0);\\n }\\n\\n 15%, 85% {\\n background: #fbffc9;\\n border-color: #f0f3c0;\\n }\\n}\\n\\ndiv.CodeMirror-lint-tooltip {\\n background-color: white;\\n border-radius: 2px;\\n border: 0;\\n color: #141823;\\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n font-size: 13px;\\n line-height: 16px;\\n max-width: 430px;\\n opacity: 0;\\n padding: 8px 10px;\\n transition: opacity 0.15s;\\n white-space: pre-wrap;\\n}\\n\\ndiv.CodeMirror-lint-tooltip > * {\\n padding-left: 23px;\\n}\\n\\ndiv.CodeMirror-lint-tooltip > * + * {\\n margin-top: 12px;\\n}\\n\\n/* COLORS */\\n\\n.graphiql-container .CodeMirror-foldmarker {\\n border-radius: 4px;\\n background: #08f;\\n background: linear-gradient(#43A8FF, #0F83E8);\\n box-shadow:\\n 0 1px 1px rgba(0, 0, 0, 0.2),\\n inset 0 0 0 1px rgba(0, 0, 0, 0.1);\\n color: white;\\n font-family: arial;\\n font-size: 12px;\\n line-height: 0;\\n margin: 0 3px;\\n padding: 0px 4px 1px;\\n text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\\n}\\n\\n.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\\n color: #555;\\n text-decoration: underline;\\n}\\n\\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\\n color: #f00;\\n}\\n\\n/* Comment */\\n\\n.cm-comment {\\n color: #666;\\n}\\n\\n/* Punctuation */\\n\\n.cm-punctuation {\\n color: #555;\\n}\\n\\n/* Keyword */\\n\\n.cm-keyword {\\n color: #B11A04;\\n}\\n\\n/* OperationName, FragmentName */\\n\\n.cm-def {\\n color: #D2054E;\\n}\\n\\n/* FieldName */\\n\\n.cm-property {\\n color: #1F61A0;\\n}\\n\\n/* FieldAlias */\\n\\n.cm-qualifier {\\n color: #1C92A9;\\n}\\n\\n/* ArgumentName and ObjectFieldName */\\n\\n.cm-attribute {\\n color: #8B2BB9;\\n}\\n\\n/* Number */\\n\\n.cm-number {\\n color: #2882F9;\\n}\\n\\n/* String */\\n\\n.cm-string {\\n color: #D64292;\\n}\\n\\n/* Boolean */\\n\\n.cm-builtin {\\n color: #D47509;\\n}\\n\\n/* EnumValue */\\n\\n.cm-string-2 {\\n color: #0B7FC7;\\n}\\n\\n/* Variable */\\n\\n.cm-variable {\\n color: #397D13;\\n}\\n\\n/* Directive */\\n\\n.cm-meta {\\n color: #B33086;\\n}\\n\\n/* Type */\\n\\n.cm-atom {\\n color: #CA9800;\\n}\\n\\n/* BASICS */\\n\\n.CodeMirror {\\n /* Set height, width, borders, and global font properties here */\\n color: black;\\n font-family: monospace;\\n height: 300px;\\n}\\n\\n/* PADDING */\\n\\n.CodeMirror-lines {\\n padding: 4px 0; /* Vertical padding around content */\\n}\\n\\n.CodeMirror pre {\\n padding: 0 4px; /* Horizontal padding of content */\\n}\\n\\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\\n background-color: white; /* The little square between H and V scrollbars */\\n}\\n\\n/* GUTTER */\\n\\n.CodeMirror-gutters {\\n border-right: 1px solid #ddd;\\n background-color: #f7f7f7;\\n white-space: nowrap;\\n}\\n\\n.CodeMirror-linenumbers {}\\n\\n.CodeMirror-linenumber {\\n color: #666;\\n min-width: 20px;\\n padding: 0 3px 0 5px;\\n text-align: right;\\n white-space: nowrap;\\n}\\n\\n.CodeMirror-guttermarker { color: black; }\\n\\n.CodeMirror-guttermarker-subtle { color: #666; }\\n\\n/* CURSOR */\\n\\n.CodeMirror .CodeMirror-cursor {\\n border-left: 1px solid black;\\n}\\n\\n/* Shown when moving in bi-directional text */\\n\\n.CodeMirror div.CodeMirror-secondarycursor {\\n border-left: 1px solid silver;\\n}\\n\\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\\n background: #7e7;\\n border: 0;\\n width: auto;\\n}\\n\\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\\n z-index: 1;\\n}\\n\\n.cm-animate-fat-cursor {\\n animation: blink 1.06s steps(1) infinite;\\n border: 0;\\n width: auto;\\n}\\n\\n@keyframes blink {\\n 0% { background: #7e7; }\\n 50% { background: none; }\\n 100% { background: #7e7; }\\n}\\n\\n/* Can style cursor different in overwrite (non-insert) mode */\\n\\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\\n\\n.cm-tab { display: inline-block; text-decoration: inherit; }\\n\\n.CodeMirror-ruler {\\n border-left: 1px solid #ccc;\\n position: absolute;\\n}\\n\\n/* DEFAULT THEME */\\n\\n.cm-s-default .cm-keyword {color: #708;}\\n\\n.cm-s-default .cm-atom {color: #219;}\\n\\n.cm-s-default .cm-number {color: #164;}\\n\\n.cm-s-default .cm-def {color: #00f;}\\n\\n.cm-s-default .cm-variable,\\n.cm-s-default .cm-punctuation,\\n.cm-s-default .cm-property,\\n.cm-s-default .cm-operator {}\\n\\n.cm-s-default .cm-variable-2 {color: #05a;}\\n\\n.cm-s-default .cm-variable-3 {color: #085;}\\n\\n.cm-s-default .cm-comment {color: #a50;}\\n\\n.cm-s-default .cm-string {color: #a11;}\\n\\n.cm-s-default .cm-string-2 {color: #f50;}\\n\\n.cm-s-default .cm-meta {color: #555;}\\n\\n.cm-s-default .cm-qualifier {color: #555;}\\n\\n.cm-s-default .cm-builtin {color: #30a;}\\n\\n.cm-s-default .cm-bracket {color: #666;}\\n\\n.cm-s-default .cm-tag {color: #170;}\\n\\n.cm-s-default .cm-attribute {color: #00c;}\\n\\n.cm-s-default .cm-header {color: blue;}\\n\\n.cm-s-default .cm-quote {color: #090;}\\n\\n.cm-s-default .cm-hr {color: #666;}\\n\\n.cm-s-default .cm-link {color: #00c;}\\n\\n.cm-negative {color: #d44;}\\n\\n.cm-positive {color: #292;}\\n\\n.cm-header, .cm-strong {font-weight: bold;}\\n\\n.cm-em {font-style: italic;}\\n\\n.cm-link {text-decoration: underline;}\\n\\n.cm-strikethrough {text-decoration: line-through;}\\n\\n.cm-s-default .cm-error {color: #f00;}\\n\\n.cm-invalidchar {color: #f00;}\\n\\n.CodeMirror-composing { border-bottom: 2px solid; }\\n\\n/* Default styles for common addons */\\n\\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\\n\\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\\n\\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\\n\\n.CodeMirror-activeline-background {background: #e8f2ff;}\\n\\n/* STOP */\\n\\n/* The rest of this file contains styles related to the mechanics of\\n the editor. You probably shouldn't touch them. */\\n\\n.CodeMirror {\\n background: white;\\n overflow: hidden;\\n position: relative;\\n}\\n\\n.CodeMirror-scroll {\\n height: 100%;\\n /* 30px is the magic margin used to hide the element's real scrollbars */\\n /* See overflow: hidden in .CodeMirror */\\n margin-bottom: -30px; margin-right: -30px;\\n outline: none; /* Prevent dragging from highlighting the element */\\n overflow: scroll !important; /* Things will break if this is overridden */\\n padding-bottom: 30px;\\n position: relative;\\n}\\n\\n.CodeMirror-sizer {\\n border-right: 30px solid transparent;\\n position: relative;\\n}\\n\\n/* The fake, visible scrollbars. Used to force redraw during scrolling\\n before actual scrolling happens, thus preventing shaking and\\n flickering artifacts. */\\n\\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\\n display: none;\\n position: absolute;\\n z-index: 6;\\n}\\n\\n.CodeMirror-vscrollbar {\\n overflow-x: hidden;\\n overflow-y: scroll;\\n right: 0; top: 0;\\n}\\n\\n.CodeMirror-hscrollbar {\\n bottom: 0; left: 0;\\n overflow-x: scroll;\\n overflow-y: hidden;\\n}\\n\\n.CodeMirror-scrollbar-filler {\\n right: 0; bottom: 0;\\n}\\n\\n.CodeMirror-gutter-filler {\\n left: 0; bottom: 0;\\n}\\n\\n.CodeMirror-gutters {\\n min-height: 100%;\\n position: absolute; left: 0; top: 0;\\n z-index: 3;\\n}\\n\\n.CodeMirror-gutter {\\n display: inline-block;\\n height: 100%;\\n margin-bottom: -30px;\\n vertical-align: top;\\n white-space: normal;\\n /* Hack to make IE7 behave */\\n *zoom:1;\\n *display:inline;\\n}\\n\\n.CodeMirror-gutter-wrapper {\\n background: none !important;\\n border: none !important;\\n position: absolute;\\n z-index: 4;\\n}\\n\\n.CodeMirror-gutter-background {\\n position: absolute;\\n top: 0; bottom: 0;\\n z-index: 4;\\n}\\n\\n.CodeMirror-gutter-elt {\\n cursor: default;\\n position: absolute;\\n z-index: 4;\\n}\\n\\n.CodeMirror-gutter-wrapper {\\n user-select: none;\\n}\\n\\n.CodeMirror-lines {\\n cursor: text;\\n min-height: 1px; /* prevents collapsing before first draw */\\n}\\n\\n.CodeMirror pre {\\n -webkit-tap-highlight-color: transparent;\\n /* Reset some styles that the rest of the page might have set */\\n background: transparent;\\n border-radius: 0;\\n border-width: 0;\\n color: inherit;\\n font-family: inherit;\\n font-size: inherit;\\n font-variant-ligatures: none;\\n line-height: inherit;\\n margin: 0;\\n overflow: visible;\\n position: relative;\\n white-space: pre;\\n word-wrap: normal;\\n z-index: 2;\\n}\\n\\n.CodeMirror-wrap pre {\\n word-wrap: break-word;\\n white-space: pre-wrap;\\n word-break: normal;\\n}\\n\\n.CodeMirror-linebackground {\\n position: absolute;\\n left: 0; right: 0; top: 0; bottom: 0;\\n z-index: 0;\\n}\\n\\n.CodeMirror-linewidget {\\n overflow: auto;\\n position: relative;\\n z-index: 2;\\n}\\n\\n.CodeMirror-widget {}\\n\\n.CodeMirror-code {\\n outline: none;\\n}\\n\\n/* Force content-box sizing for the elements where we expect it */\\n\\n.CodeMirror-scroll,\\n.CodeMirror-sizer,\\n.CodeMirror-gutter,\\n.CodeMirror-gutters,\\n.CodeMirror-linenumber {\\n box-sizing: content-box;\\n}\\n\\n.CodeMirror-measure {\\n height: 0;\\n overflow: hidden;\\n position: absolute;\\n visibility: hidden;\\n width: 100%;\\n}\\n\\n.CodeMirror-cursor { position: absolute; }\\n\\n.CodeMirror-measure pre { position: static; }\\n\\ndiv.CodeMirror-cursors {\\n position: relative;\\n visibility: hidden;\\n z-index: 3;\\n}\\n\\ndiv.CodeMirror-dragcursors {\\n visibility: visible;\\n}\\n\\n.CodeMirror-focused div.CodeMirror-cursors {\\n visibility: visible;\\n}\\n\\n.CodeMirror-selected { background: #d9d9d9; }\\n\\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\\n\\n.CodeMirror-crosshair { cursor: crosshair; }\\n\\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\\n\\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\\n\\n.cm-searching {\\n background: #ffa;\\n background: rgba(255, 255, 0, .4);\\n}\\n\\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\\n\\n.CodeMirror span { *vertical-align: text-bottom; }\\n\\n/* Used to force a border model for a node */\\n\\n.cm-force-border { padding-right: .1px; }\\n\\n@media print {\\n /* Hide the cursor when printing */\\n .CodeMirror div.CodeMirror-cursors {\\n visibility: hidden;\\n }\\n}\\n\\n/* See issue #2901 */\\n\\n.cm-tab-wrap-hack:after { content: ''; }\\n\\n/* Help users use markselection to safely style text background */\\n\\nspan.CodeMirror-selectedtext { background: none; }\\n\\n.CodeMirror-dialog {\\n background: inherit;\\n color: inherit;\\n left: 0; right: 0;\\n overflow: hidden;\\n padding: .1em .8em;\\n position: absolute;\\n z-index: 15;\\n}\\n\\n.CodeMirror-dialog-top {\\n border-bottom: 1px solid #eee;\\n top: 0;\\n}\\n\\n.CodeMirror-dialog-bottom {\\n border-top: 1px solid #eee;\\n bottom: 0;\\n}\\n\\n.CodeMirror-dialog input {\\n background: transparent;\\n border: 1px solid #d3d6db;\\n color: inherit;\\n font-family: monospace;\\n outline: none;\\n width: 20em;\\n}\\n\\n.CodeMirror-dialog button {\\n font-size: 70%;\\n}\\n\\n.CodeMirror-foldmarker {\\n color: blue;\\n cursor: pointer;\\n font-family: arial;\\n line-height: .3;\\n text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\\n}\\n.CodeMirror-foldgutter {\\n width: .7em;\\n}\\n.CodeMirror-foldgutter-open,\\n.CodeMirror-foldgutter-folded {\\n cursor: pointer;\\n}\\n.CodeMirror-foldgutter-open:after {\\n content: \\\"\\\\25BE\\\";\\n}\\n.CodeMirror-foldgutter-folded:after {\\n content: \\\"\\\\25B8\\\";\\n}\\n\\n.CodeMirror-info {\\n background: white;\\n border-radius: 2px;\\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n box-sizing: border-box;\\n color: #555;\\n font-family:\\n system,\\n -apple-system,\\n 'San Francisco',\\n '.SFNSDisplay-Regular',\\n 'Segoe UI',\\n Segoe,\\n 'Segoe WP',\\n 'Helvetica Neue',\\n helvetica,\\n 'Lucida Grande',\\n arial,\\n sans-serif;\\n font-size: 13px;\\n line-height: 16px;\\n margin: 8px -8px;\\n max-width: 400px;\\n opacity: 0;\\n overflow: hidden;\\n padding: 8px 8px;\\n position: fixed;\\n transition: opacity 0.15s;\\n z-index: 50;\\n}\\n\\n.CodeMirror-info :first-child {\\n margin-top: 0;\\n}\\n\\n.CodeMirror-info :last-child {\\n margin-bottom: 0;\\n}\\n\\n.CodeMirror-info p {\\n margin: 1em 0;\\n}\\n\\n.CodeMirror-info .info-description {\\n color: #777;\\n line-height: 16px;\\n margin-top: 1em;\\n max-height: 80px;\\n overflow: hidden;\\n}\\n\\n.CodeMirror-info .info-deprecation {\\n background: #fffae8;\\n box-shadow: inset 0 1px 1px -1px #bfb063;\\n color: #867F70;\\n line-height: 16px;\\n margin: -8px;\\n margin-top: 8px;\\n max-height: 80px;\\n overflow: hidden;\\n padding: 8px;\\n}\\n\\n.CodeMirror-info .info-deprecation-label {\\n color: #c79b2e;\\n cursor: default;\\n display: block;\\n font-size: 9px;\\n font-weight: bold;\\n letter-spacing: 1px;\\n line-height: 1;\\n padding-bottom: 5px;\\n text-transform: uppercase;\\n user-select: none;\\n}\\n\\n.CodeMirror-info .info-deprecation-label + * {\\n margin-top: 0;\\n}\\n\\n.CodeMirror-info a {\\n text-decoration: none;\\n}\\n\\n.CodeMirror-info a:hover {\\n text-decoration: underline;\\n}\\n\\n.CodeMirror-info .type-name {\\n color: #CA9800;\\n}\\n\\n.CodeMirror-info .field-name {\\n color: #1F61A0;\\n}\\n\\n.CodeMirror-info .enum-value {\\n color: #0B7FC7;\\n}\\n\\n.CodeMirror-info .arg-name {\\n color: #8B2BB9;\\n}\\n\\n.CodeMirror-info .directive-name {\\n color: #B33086;\\n}\\n\\n.CodeMirror-jump-token {\\n text-decoration: underline;\\n cursor: pointer;\\n}\\n\\n/* The lint marker gutter */\\n.CodeMirror-lint-markers {\\n width: 16px;\\n}\\n.CodeMirror-lint-tooltip {\\n background-color: infobackground;\\n border-radius: 4px 4px 4px 4px;\\n border: 1px solid black;\\n color: infotext;\\n font-family: monospace;\\n font-size: 10pt;\\n max-width: 600px;\\n opacity: 0;\\n overflow: hidden;\\n padding: 2px 5px;\\n position: fixed;\\n transition: opacity .4s;\\n white-space: pre-wrap;\\n z-index: 100;\\n}\\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\\n background-position: left bottom;\\n background-repeat: repeat-x;\\n}\\n.CodeMirror-lint-mark-error {\\n background-image:\\n url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\\\")\\n ;\\n}\\n.CodeMirror-lint-mark-warning {\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\\\");\\n}\\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\\n background-position: center center;\\n background-repeat: no-repeat;\\n cursor: pointer;\\n display: inline-block;\\n height: 16px;\\n position: relative;\\n vertical-align: middle;\\n width: 16px;\\n}\\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\\n background-position: top left;\\n background-repeat: no-repeat;\\n padding-left: 18px;\\n}\\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\\\");\\n}\\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\\\");\\n}\\n.CodeMirror-lint-marker-multiple {\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\\\");\\n background-position: right bottom;\\n background-repeat: no-repeat;\\n width: 100%; height: 100%;\\n}\\n\\n.graphiql-container .spinner-container {\\n height: 36px;\\n left: 50%;\\n position: absolute;\\n top: 50%;\\n transform: translate(-50%, -50%);\\n width: 36px;\\n z-index: 10;\\n}\\n\\n.graphiql-container .spinner {\\n animation: rotation .6s infinite linear;\\n border-bottom: 6px solid rgba(150, 150, 150, .15);\\n border-left: 6px solid rgba(150, 150, 150, .15);\\n border-radius: 100%;\\n border-right: 6px solid rgba(150, 150, 150, .15);\\n border-top: 6px solid rgba(150, 150, 150, .8);\\n display: inline-block;\\n height: 24px;\\n position: absolute;\\n vertical-align: middle;\\n width: 24px;\\n}\\n\\n@keyframes rotation {\\n from { transform: rotate(0deg); }\\n to { transform: rotate(359deg); }\\n}\\n\\n.CodeMirror-hints {\\n background: white;\\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\\n font-size: 13px;\\n list-style: none;\\n margin-left: -6px;\\n margin: 0;\\n max-height: 14.5em;\\n overflow: hidden;\\n overflow-y: auto;\\n padding: 0;\\n position: absolute;\\n z-index: 10;\\n}\\n\\n.CodeMirror-hint {\\n border-top: solid 1px #f7f7f7;\\n color: #141823;\\n cursor: pointer;\\n margin: 0;\\n max-width: 300px;\\n overflow: hidden;\\n padding: 2px 6px;\\n white-space: pre;\\n}\\n\\nli.CodeMirror-hint-active {\\n background-color: #08f;\\n border-top-color: white;\\n color: white;\\n}\\n\\n.CodeMirror-hint-information {\\n border-top: solid 1px #c0c0c0;\\n max-width: 300px;\\n padding: 4px 6px;\\n position: relative;\\n z-index: 1;\\n}\\n\\n.CodeMirror-hint-information:first-child {\\n border-bottom: solid 1px #c0c0c0;\\n border-top: none;\\n margin-bottom: -1px;\\n}\\n\\n.CodeMirror-hint-deprecation {\\n background: #fffae8;\\n box-shadow: inset 0 1px 1px -1px #bfb063;\\n color: #867F70;\\n font-family:\\n system,\\n -apple-system,\\n 'San Francisco',\\n '.SFNSDisplay-Regular',\\n 'Segoe UI',\\n Segoe,\\n 'Segoe WP',\\n 'Helvetica Neue',\\n helvetica,\\n 'Lucida Grande',\\n arial,\\n sans-serif;\\n font-size: 13px;\\n line-height: 16px;\\n margin-top: 4px;\\n max-height: 80px;\\n overflow: hidden;\\n padding: 6px;\\n}\\n\\n.CodeMirror-hint-deprecation .deprecation-label {\\n color: #c79b2e;\\n cursor: default;\\n display: block;\\n font-size: 9px;\\n font-weight: bold;\\n letter-spacing: 1px;\\n line-height: 1;\\n padding-bottom: 5px;\\n text-transform: uppercase;\\n user-select: none;\\n}\\n\\n.CodeMirror-hint-deprecation .deprecation-label + * {\\n margin-top: 0;\\n}\\n\\n.CodeMirror-hint-deprecation :last-child {\\n margin-bottom: 0;\\n}\\n\\n.graphiql-container .doc-explorer {\\n background: white;\\n}\\n\\n.graphiql-container .doc-explorer-title-bar,\\n.graphiql-container .history-title-bar {\\n cursor: default;\\n display: flex;\\n height: 34px;\\n line-height: 14px;\\n padding: 8px 8px 5px;\\n position: relative;\\n user-select: none;\\n}\\n\\n.graphiql-container .doc-explorer-title,\\n.graphiql-container .history-title {\\n flex: 1;\\n font-weight: bold;\\n overflow-x: hidden;\\n padding: 10px 0 10px 10px;\\n text-align: center;\\n text-overflow: ellipsis;\\n user-select: text;\\n white-space: nowrap;\\n}\\n\\n.graphiql-container .doc-explorer-back {\\n color: #3B5998;\\n cursor: pointer;\\n margin: -7px 0 -6px -8px;\\n overflow-x: hidden;\\n padding: 17px 12px 16px 16px;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n background: 0;\\n border: 0;\\n line-height: 14px;\\n}\\n\\n.doc-explorer-narrow .doc-explorer-back {\\n width: 0;\\n}\\n\\n.graphiql-container .doc-explorer-back:before {\\n border-left: 2px solid #3B5998;\\n border-top: 2px solid #3B5998;\\n content: '';\\n display: inline-block;\\n height: 9px;\\n margin: 0 3px -1px 0;\\n position: relative;\\n transform: rotate(-45deg);\\n width: 9px;\\n}\\n\\n.graphiql-container .doc-explorer-rhs {\\n position: relative;\\n}\\n\\n.graphiql-container .doc-explorer-contents,\\n.graphiql-container .history-contents {\\n background-color: #ffffff;\\n border-top: 1px solid #d6d6d6;\\n bottom: 0;\\n left: 0;\\n overflow-y: auto;\\n padding: 20px 15px;\\n position: absolute;\\n right: 0;\\n top: 47px;\\n}\\n\\n.graphiql-container .doc-explorer-contents {\\n min-width: 300px;\\n}\\n\\n.graphiql-container .doc-type-description p:first-child ,\\n.graphiql-container .doc-type-description blockquote:first-child {\\n margin-top: 0;\\n}\\n\\n.graphiql-container .doc-explorer-contents a {\\n cursor: pointer;\\n text-decoration: none;\\n}\\n\\n.graphiql-container .doc-explorer-contents a:hover {\\n text-decoration: underline;\\n}\\n\\n.graphiql-container .doc-value-description > :first-child {\\n margin-top: 4px;\\n}\\n\\n.graphiql-container .doc-value-description > :last-child {\\n margin-bottom: 4px;\\n}\\n\\n.graphiql-container .doc-type-description code,\\n.graphiql-container .doc-type-description pre,\\n.graphiql-container .doc-category code,\\n.graphiql-container .doc-category pre {\\n --saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13);\\n font-size: 12px;\\n line-height: 1.50001;\\n font-variant-ligatures: none;\\n white-space: pre;\\n white-space: pre-wrap;\\n word-wrap: break-word;\\n word-break: normal;\\n -webkit-tab-size: 4;\\n -moz-tab-size: 4;\\n tab-size: 4;\\n}\\n\\n.graphiql-container .doc-type-description code,\\n.graphiql-container .doc-category code {\\n padding: 2px 3px 1px;\\n border: 1px solid var(--saf-0);\\n border-radius: 3px;\\n background-color: rgba(var(--sk_foreground_min,29,28,29),.04);\\n color: #e01e5a;\\n background-color: white;\\n}\\n\\n.graphiql-container .doc-category {\\n margin: 20px 0;\\n}\\n\\n.graphiql-container .doc-category-title {\\n border-bottom: 1px solid #e0e0e0;\\n color: #777;\\n cursor: default;\\n font-size: 14px;\\n font-variant: small-caps;\\n font-weight: bold;\\n letter-spacing: 1px;\\n margin: 0 -15px 10px 0;\\n padding: 10px 0;\\n user-select: none;\\n}\\n\\n.graphiql-container .doc-category-item {\\n margin: 12px 0;\\n color: #555;\\n}\\n\\n.graphiql-container .keyword {\\n color: #B11A04;\\n}\\n\\n.graphiql-container .type-name {\\n color: #CA9800;\\n}\\n\\n.graphiql-container .field-name {\\n color: #1F61A0;\\n}\\n\\n.graphiql-container .field-short-description {\\n color: #666;\\n margin-left: 5px;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n\\n.graphiql-container .enum-value {\\n color: #0B7FC7;\\n}\\n\\n.graphiql-container .arg-name {\\n color: #8B2BB9;\\n}\\n\\n.graphiql-container .arg {\\n display: block;\\n margin-left: 1em;\\n}\\n\\n.graphiql-container .arg:first-child:last-child,\\n.graphiql-container .arg:first-child:nth-last-child(2),\\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\\n display: inherit;\\n margin: inherit;\\n}\\n\\n.graphiql-container .arg:first-child:nth-last-child(2):after {\\n content: ', ';\\n}\\n\\n.graphiql-container .arg-default-value {\\n color: #43A047;\\n}\\n\\n.graphiql-container .doc-deprecation {\\n background: #fffae8;\\n box-shadow: inset 0 0 1px #bfb063;\\n color: #867F70;\\n line-height: 16px;\\n margin: 8px -8px;\\n max-height: 80px;\\n overflow: hidden;\\n padding: 8px;\\n border-radius: 3px;\\n}\\n\\n.graphiql-container .doc-deprecation:before {\\n content: 'Deprecated:';\\n color: #c79b2e;\\n cursor: default;\\n display: block;\\n font-size: 9px;\\n font-weight: bold;\\n letter-spacing: 1px;\\n line-height: 1;\\n padding-bottom: 5px;\\n text-transform: uppercase;\\n user-select: none;\\n}\\n\\n.graphiql-container .doc-deprecation > :first-child {\\n margin-top: 0;\\n}\\n\\n.graphiql-container .doc-deprecation > :last-child {\\n margin-bottom: 0;\\n}\\n\\n.graphiql-container .show-btn {\\n -webkit-appearance: initial;\\n display: block;\\n border-radius: 3px;\\n border: solid 1px #ccc;\\n text-align: center;\\n padding: 8px 12px 10px;\\n width: 100%;\\n box-sizing: border-box;\\n background: #fbfcfc;\\n color: #555;\\n cursor: pointer;\\n}\\n\\n.graphiql-container .search-box {\\n border-bottom: 1px solid #d3d6db;\\n display: flex;\\n align-items: center;\\n font-size: 14px;\\n margin: -15px -15px 12px 0;\\n position: relative;\\n}\\n\\n.graphiql-container .search-box-icon {\\n cursor: pointer;\\n display: block;\\n font-size: 24px;\\n transform: rotate(-45deg);\\n user-select: none;\\n}\\n\\n.graphiql-container .search-box .search-box-clear {\\n background-color: #d0d0d0;\\n border-radius: 12px;\\n color: #fff;\\n cursor: pointer;\\n font-size: 11px;\\n padding: 1px 5px 2px;\\n position: absolute;\\n right: 3px;\\n user-select: none;\\n border: 0;\\n}\\n\\n.graphiql-container .search-box .search-box-clear:hover {\\n background-color: #b9b9b9;\\n}\\n\\n.graphiql-container .search-box > input {\\n border: none;\\n box-sizing: border-box;\\n font-size: 14px;\\n outline: none;\\n padding: 6px 24px 8px 20px;\\n width: 100%;\\n}\\n\\n.graphiql-container .error-container {\\n font-weight: bold;\\n left: 0;\\n letter-spacing: 1px;\\n opacity: 0.5;\\n position: absolute;\\n right: 0;\\n text-align: center;\\n text-transform: uppercase;\\n top: 50%;\\n transform: translate(0, -50%);\\n}\\n\\n.graphiql-container .history-contents {\\n font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\\n}\\n\\n.graphiql-container .history-contents {\\n margin: 0;\\n padding: 0;\\n}\\n\\n.graphiql-container .history-contents li {\\n align-items: center;\\n display: flex;\\n font-size: 12px;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n margin: 0;\\n padding: 8px;\\n border-bottom: 1px solid #e0e0e0;\\n}\\n\\n.graphiql-container .history-contents li button:not(.history-label) {\\n display: none;\\n margin-left: 10px;\\n}\\n\\n.graphiql-container .history-contents li:hover button:not(.history-label),\\n.graphiql-container .history-contents li:focus-within button:not(.history-label) {\\n display: inline-block;\\n}\\n\\n.graphiql-container .history-contents input,\\n.graphiql-container .history-contents button {\\n padding: 0;\\n background: 0;\\n border: 0;\\n font-size: inherit;\\n font-family: inherit;\\n line-height: 14px;\\n color: inherit;\\n}\\n\\n.graphiql-container .history-contents input {\\n flex-grow: 1;\\n}\\n\\n.graphiql-container .history-contents input::placeholder {\\n color: inherit;\\n}\\n\\n.graphiql-container .history-contents button {\\n cursor: pointer;\\n text-align: left;\\n}\\n\\n.graphiql-container .history-contents .history-label {\\n flex-grow: 1;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n\\n\",\"\"]),t.a=i},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}},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}},function(e,t,n){var r=n(180);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)}},function(e,t,n){var r=n(181),i=n(20);e.exports=function(e,t){return!t||\"object\"!==r(t)&&\"function\"!=typeof t?i(e):t}},function(e,t,n){\"use strict\";var r=n(182),i={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,t){var n,o,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn(\"unable to use e.clipboardData\"),n&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(r){n&&console.error(\"unable to copy using execCommand: \",r),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error(\"unable to copy using clipboardData: \",r),n&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"⌘\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in t?t.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(3),i=n(2),o=n(31);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n<a.length;n++){var s=a[n];if(!Object(o.b)(s)){var l=s.kind===i.a.SCHEMA_DEFINITION||s.kind===i.a.SCHEMA_EXTENSION?\"schema\":'\"'+s.name.value+'\"';e.reportError(new r.a(\"The \".concat(l,\" definition is not executable.\"),s))}}return!1}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(3),i=n(2);function o(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))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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)))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(4),i=n(11),o=n(34),a=n(2);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null==t?void 0:t[e.name.value]}Object(i.a)(0,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(13),o=n(0),a=n(23);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=Object(a.a)(e.getSchema(),n);if(s&&!Object(o.D)(s)){var l=Object(i.a)(n);e.reportError(new r.a('Fragment cannot condition on non composite type \"'.concat(l,'\".'),n))}}},FragmentDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.typeCondition);if(n&&!Object(o.D)(n)){var s=Object(i.a)(t.typeCondition);e.reportError(new r.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(s,'\".'),t.typeCondition))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(13),o=n(0),a=n(23);function s(e){return{VariableDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.type);if(n&&!Object(o.G)(n)){var s=t.variable.name.value,l=Object(i.a)(t.type);e.reportError(new r.a('Variable \"$'.concat(s,'\" cannot be non-input type \"').concat(l,'\".'),t.type))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(4),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;if(n)if(Object(o.I)(Object(o.A)(n))){if(a){var s=t.name.value,l=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(s,'\" must not have a selection since type \"').concat(l,'\" has no subfields.'),a))}}else if(!a){var c=t.name.value,u=Object(r.a)(n);e.reportError(new i.a('Field \"'.concat(c,'\" of type \"').concat(u,'\" must have a selection of subfields. Did you mean \"').concat(c,' { ... }\"?'),t))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(84),i=n(26),o=n(28),a=n(47),s=n(3),l=n(0);function c(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var c=e.getSchema(),u=t.name.value,f=Object(i.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(l.C)(t))return[];for(var i=new Set,o=Object.create(null),s=0,c=e.getPossibleTypes(t);s<c.length;s++){var u=c[s];if(u.getFields()[n]){i.add(u),o[u.name]=1;for(var f=0,p=u.getInterfaces();f<p.length;f++){var d,h=p[f];h.getFields()[n]&&(i.add(h),o[h.name]=(null!==(d=o[h.name])&&void 0!==d?d:0)+1)}}}return Object(r.a)(i).sort((function(t,n){var r=o[n.name]-o[t.name];return 0!==r?r:Object(l.H)(t)&&e.isSubType(t,n)?-1:Object(l.H)(n)&&e.isSubType(n,t)?1:Object(a.a)(t.name,n.name)})).map((function(e){return e.name}))}(c,n,u));\"\"===f&&(f=Object(i.a)(function(e,t){if(Object(l.N)(e)||Object(l.H)(e)){var n=Object.keys(e.getFields());return Object(o.a)(t,n)}return[]}(n,u))),e.reportError(new s.a('Cannot query field \"'.concat(u,'\" on type \"').concat(n.name,'\".')+f,t))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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),o=0;o<t.length;o++)for(var a=t[o],s=0,l=e.getRecursivelyReferencedFragments(a);s<l.length;s++){i[l[s].name.value]=!0}for(var c=0;c<n.length;c++){var u=n[c],f=u.name.value;!0!==i[f]&&e.reportError(new r.a('Fragment \"'.concat(f,'\" is never used.'),u))}}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(4),i=n(3),o=n(0),a=n(23),s=n(42);function l(e){return{InlineFragment:function(t){var n=e.getType(),a=e.getParentType();if(Object(o.D)(n)&&Object(o.D)(a)&&!Object(s.a)(e.getSchema(),n,a)){var l=Object(r.a)(a),c=Object(r.a)(n);e.reportError(new i.a('Fragment cannot be spread here as objects of type \"'.concat(l,'\" can never be of type \"').concat(c,'\".'),t))}},FragmentSpread:function(t){var n=t.name.value,l=function(e,t){var n=e.getFragment(t);if(n){var r=Object(a.a)(e.getSchema(),n.typeCondition);if(Object(o.D)(r))return r}}(e,n),c=e.getParentType();if(l&&c&&!Object(s.a)(e.getSchema(),l,c)){var u=Object(r.a)(c),f=Object(r.a)(l);e.reportError(new i.a('Fragment \"'.concat(n,'\" cannot be spread here as objects of type \"').concat(u,'\" can never be of type \"').concat(f,'\".'),t))}}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(o){return function o(a){if(t[a.name.value])return;var s=a.name.value;t[s]=!0;var l=e.getFragmentSpreads(a.selectionSet);if(0===l.length)return;i[s]=n.length;for(var c=0;c<l.length;c++){var u=l[c],f=u.name.value,p=i[f];if(n.push(u),void 0===p){var d=e.getFragment(f);d&&o(d)}else{var h=n.slice(p),m=h.slice(0,-1).map((function(e){return'\"'+e.name.value+'\"'})).join(\", \");e.reportError(new r.a('Cannot spread fragment \"'.concat(f,'\" within itself')+(\"\"!==m?\" via \".concat(m,\".\"):\".\"),h))}n.pop()}i[s]=void 0}(o),!1}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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),o=0;o<i.length;o++){var a=i[o].node,s=a.name.value;!0!==t[s]&&e.reportError(new r.a(n.name?'Variable \"$'.concat(s,'\" is not defined by operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(s,'\" is not defined.'),[a,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var i=Object.create(null),o=e.getRecursiveVariableUsages(n),a=0;a<o.length;a++){i[o[a].node.name.value]=!0}for(var s=0,l=t;s<l.length;s++){var c=l[s],u=c.variable.name.value;!0!==i[u]&&e.reportError(new r.a(n.name?'Variable \"$'.concat(u,'\" is never used in operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(u,'\" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return f}));var r=n(12),i=n(25),o=n(4),a=n(26),s=n(28),l=n(3),c=n(13),u=n(0);function f(e){return{ListValue:function(t){var n=Object(u.B)(e.getParentInputType());if(!Object(u.J)(n))return p(e,t),!1},ObjectValue:function(t){var n=Object(u.A)(e.getInputType());if(!Object(u.F)(n))return p(e,t),!1;for(var a=Object(i.a)(t.fields,(function(e){return e.name.value})),s=0,c=Object(r.a)(n.getFields());s<c.length;s++){var f=c[s];if(!a[f.name]&&Object(u.Q)(f)){var d=Object(o.a)(f.type);e.reportError(new l.a('Field \"'.concat(n.name,\".\").concat(f.name,'\" of required type \"').concat(d,'\" was not provided.'),t))}}},ObjectField:function(t){var n=Object(u.A)(e.getParentInputType());if(!e.getInputType()&&Object(u.F)(n)){var r=Object(s.a)(t.name.value,Object.keys(n.getFields()));e.reportError(new l.a('Field \"'.concat(t.name.value,'\" is not defined by type \"').concat(n.name,'\".')+Object(a.a)(r),t))}},NullValue:function(t){var n=e.getInputType();Object(u.L)(n)&&e.reportError(new l.a('Expected value of type \"'.concat(Object(o.a)(n),'\", found ').concat(Object(c.a)(t),\".\"),t))},EnumValue:function(t){return p(e,t)},IntValue:function(t){return p(e,t)},FloatValue:function(t){return p(e,t)},StringValue:function(t){return p(e,t)},BooleanValue:function(t){return p(e,t)}}}function p(e,t){var n=e.getInputType();if(n){var r=Object(u.A)(n);if(Object(u.I)(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=Object(o.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(i,'\", found ').concat(Object(c.a)(t),\".\"),t))}}catch(r){var a=Object(o.a)(n);r instanceof l.a?e.reportError(r):e.reportError(new l.a('Expected value of type \"'.concat(a,'\", found ').concat(Object(c.a)(t),\"; \")+r.message,t,void 0,void 0,void 0,r))}else{var s=Object(o.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(s,'\", found ').concat(Object(c.a)(t),\".\"),t))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(4),i=n(3),o=n(2),a=n(0),s=n(23),l=n(42);function c(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var o=e.getRecursiveVariableUsages(n),a=0;a<o.length;a++){var l=o[a],c=l.node,f=l.type,p=l.defaultValue,d=c.name.value,h=t[d];if(h&&f){var m=e.getSchema(),v=Object(s.a)(m,h.type);if(v&&!u(m,v,h.defaultValue,f,p)){var g=Object(r.a)(v),y=Object(r.a)(f);e.reportError(new i.a('Variable \"$'.concat(d,'\" of type \"').concat(g,'\" used in position expecting type \"').concat(y,'\".'),[h,c]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function u(e,t,n,r,i){if(Object(a.L)(r)&&!Object(a.L)(t)){if(!(null!=n&&n.kind!==o.a.NULL)&&!(void 0!==i))return!1;var s=r.ofType;return Object(l.c)(e,t,s)}return Object(l.c)(e,t,r)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return p}));var r=n(38),i=n(37),o=n(4),a=n(3),s=n(2),l=n(13),c=n(0),u=n(23);function f(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields \"'.concat(t,'\" conflict because ')+f(n)})).join(\" and \"):e}function p(e){var t=new b,n=new Map;return{SelectionSet:function(r){for(var o=function(e,t,n,r,o){var a=[],s=g(e,t,r,o),l=s[0],c=s[1];if(function(e,t,n,r,o){for(var a=0,s=Object(i.a)(o);a<s.length;a++){var l=s[a],c=l[0],u=l[1];if(u.length>1)for(var f=0;f<u.length;f++)for(var p=f+1;p<u.length;p++){var d=v(e,n,r,!1,c,u[f],u[p]);d&&t.push(d)}}}(e,a,t,n,l),0!==c.length)for(var u=0;u<c.length;u++){d(e,a,t,n,!1,l,c[u]);for(var f=u+1;f<c.length;f++)h(e,a,t,n,!1,c[u],c[f])}return a}(e,n,t,e.getParentType(),r),s=0;s<o.length;s++){var l=o[s],c=l[0],u=c[0],p=c[1],m=l[1],y=l[2],b=f(p);e.reportError(new a.a('Fields \"'.concat(u,'\" 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,o,a){var s=e.getFragment(a);if(s){var l=y(e,n,s),c=l[0],u=l[1];if(o!==c){m(e,t,n,r,i,o,c);for(var f=0;f<u.length;f++)d(e,t,n,r,i,o,u[f])}}}function h(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),l=e.getFragment(a);if(s&&l){var c=y(e,n,s),u=c[0],f=c[1],p=y(e,n,l),d=p[0],v=p[1];m(e,t,n,r,i,u,d);for(var g=0;g<v.length;g++)h(e,t,n,r,i,o,v[g]);for(var b=0;b<f.length;b++)h(e,t,n,r,i,f[b],a)}}}function m(e,t,n,r,i,o,a){for(var s=0,l=Object.keys(o);s<l.length;s++){var c=l[s],u=a[c];if(u)for(var f=o[c],p=0;p<f.length;p++)for(var d=0;d<u.length;d++){var h=v(e,n,r,i,c,f[p],u[d]);h&&t.push(h)}}}function v(e,t,n,i,a,s,u){var f=s[0],p=s[1],v=s[2],y=u[0],b=u[1],E=u[2],w=i||f!==y&&Object(c.N)(f)&&Object(c.N)(y);if(!w){var x,k,T=p.name.value,O=b.name.value;if(T!==O)return[[a,'\"'.concat(T,'\" and \"').concat(O,'\" are different fields')],[p],[b]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,i,o=Object(r.a)(t,(function(t){return t.name.value===e.name.value}));return!!o&&(n=e.value,i=o.value,Object(l.a)(n)===Object(l.a)(i))}))}(null!==(x=p.arguments)&&void 0!==x?x:[],null!==(k=b.arguments)&&void 0!==k?k:[]))return[[a,\"they have differing arguments\"],[p],[b]]}var C=null==v?void 0:v.type,S=null==E?void 0:E.type;if(C&&S&&function e(t,n){if(Object(c.J)(t))return!Object(c.J)(n)||e(t.ofType,n.ofType);if(Object(c.J)(n))return!0;if(Object(c.L)(t))return!Object(c.L)(n)||e(t.ofType,n.ofType);if(Object(c.L)(n))return!0;if(Object(c.I)(t)||Object(c.I)(n))return t!==n;return!1}(C,S))return[[a,'they return conflicting types \"'.concat(Object(o.a)(C),'\" and \"').concat(Object(o.a)(S),'\"')],[p],[b]];var _=p.selectionSet,N=b.selectionSet;return _&&N?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])]}(function(e,t,n,r,i,o,a,s){var l=[],c=g(e,t,i,o),u=c[0],f=c[1],p=g(e,t,a,s),v=p[0],y=p[1];if(m(e,l,t,n,r,u,v),0!==y.length)for(var b=0;b<y.length;b++)d(e,l,t,n,r,u,y[b]);if(0!==f.length)for(var E=0;E<f.length;E++)d(e,l,t,n,r,v,f[E]);for(var w=0;w<f.length;w++)for(var x=0;x<y.length;x++)h(e,l,t,n,r,f[w],y[x]);return l}(e,t,n,w,Object(c.A)(C),_,Object(c.A)(S),N),a,p,b):void 0}function g(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(var a=0,l=r.selections;a<l.length;a++){var f=l[a];switch(f.kind){case s.a.FIELD:var p=f.name.value,d=void 0;(Object(c.N)(n)||Object(c.H)(n))&&(d=n.getFields()[p]);var h=f.alias?f.alias.value:p;i[h]||(i[h]=[]),i[h].push([n,f,d]);break;case s.a.FRAGMENT_SPREAD:o[f.name.value]=!0;break;case s.a.INLINE_FRAGMENT:var m=f.typeCondition,v=m?Object(u.a)(t.getSchema(),m):n;e(t,v,f.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function y(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Object(u.a)(e.getSchema(),n.typeCondition);return g(e,t,i,n.selectionSet)}var b=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}()},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t,n,i,o=e.getSchema(),a=null!==(t=null!==(n=null!==(i=null==o?void 0:o.astNode)&&void 0!==i?i:null==o?void 0:o.getQueryType())&&void 0!==n?n:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType(),s=0;return{SchemaDefinition:function(t){a?e.reportError(new r.a(\"Cannot define a new schema within a schema extension.\",t)):(s>0&&e.reportError(new r.a(\"Must provide only one schema definition.\",t)),++s)}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){for(var o,a=null!==(o=t.operationTypes)&&void 0!==o?o:[],s=0;s<a.length;s++){var l=a[s],c=l.operation,u=n[c];i[c]?e.reportError(new r.a(\"Type for \".concat(c,\" already defined in the schema. It cannot be redefined.\"),l)):u?e.reportError(new r.a(\"There can be only one \".concat(c,\" type in schema.\"),[u,l])):n[c]=l}return!1}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);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 o=i.name.value;if(null==n||!n.getType(o))return t[o]?e.reportError(new r.a('There can be only one type named \"'.concat(o,'\".'),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.a('Type \"'.concat(o,'\" already exists in the schema. It cannot also be defined in this type definition.'),i.name))}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(3),i=n(0);function o(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(t){var a,s=t.name.value;o[s]||(o[s]=Object.create(null));for(var l=null!==(a=t.values)&&void 0!==a?a:[],c=o[s],u=0;u<l.length;u++){var f=l[u],p=f.name.value,d=n[s];Object(i.E)(d)&&d.getValue(p)?e.reportError(new r.a('Enum value \"'.concat(s,\".\").concat(p,'\" already exists in the schema. It cannot also be defined in this type extension.'),f.name)):c[p]?e.reportError(new r.a('Enum value \"'.concat(s,\".\").concat(p,'\" can only be defined once.'),[c[p],f.name])):c[p]=f.name}return!1}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(3),i=n(0);function o(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o,s=t.name.value;i[s]||(i[s]=Object.create(null));for(var l=null!==(o=t.fields)&&void 0!==o?o:[],c=i[s],u=0;u<l.length;u++){var f=l[u],p=f.name.value;a(n[s],p)?e.reportError(new r.a('Field \"'.concat(s,\".\").concat(p,'\" already exists in the schema. It cannot also be defined in this type extension.'),f.name)):c[p]?e.reportError(new r.a('Field \"'.concat(s,\".\").concat(p,'\" can only be defined once.'),[c[p],f.name])):c[p]=f.name}return!1}}function a(e,t){return!!(Object(i.N)(e)||Object(i.H)(e)||Object(i.F)(e))&&null!=e.getFields()[t]}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(3);function i(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(i){var o=i.name.value;if(null==n||!n.getDirective(o))return t[o]?e.reportError(new r.a('There can be only one directive named \"@'.concat(o,'\".'),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.a('Directive \"@'.concat(o,'\" already exists in the schema. It cannot be redefined.'),i.name))}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r,i=n(4),o=n(11),a=n(26),s=n(28),l=n(3),c=n(2),u=n(31),f=n(0);function p(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,p=e.getDocument().definitions;r<p.length;r++){var d=p[r];Object(u.d)(d)&&(n[d.name.value]=d)}return{ScalarTypeExtension:m,ObjectTypeExtension:m,InterfaceTypeExtension:m,UnionTypeExtension:m,EnumTypeExtension:m,InputObjectTypeExtension:m};function m(r){var u,p=r.name.value,d=n[p],m=null==t?void 0:t.getType(p);if(d?u=h[d.kind]:m&&(u=function(e){if(Object(f.R)(e))return c.a.SCALAR_TYPE_EXTENSION;if(Object(f.N)(e))return c.a.OBJECT_TYPE_EXTENSION;if(Object(f.H)(e))return c.a.INTERFACE_TYPE_EXTENSION;if(Object(f.T)(e))return c.a.UNION_TYPE_EXTENSION;if(Object(f.E)(e))return c.a.ENUM_TYPE_EXTENSION;if(Object(f.F)(e))return c.a.INPUT_OBJECT_TYPE_EXTENSION;Object(o.a)(0,\"Unexpected type: \"+Object(i.a)(e))}(m)),u){if(u!==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(o.a)(0,\"Unexpected kind: \"+Object(i.a)(e))}(r.kind);e.reportError(new l.a(\"Cannot extend non-\".concat(v,' type \"').concat(p,'\".'),d?[d,r]:r))}}else{var g=Object.keys(n);t&&(g=g.concat(Object.keys(t.getTypeMap())));var y=Object(s.a)(p,g);e.reportError(new l.a('Cannot extend type \"'.concat(p,'\" because it is not defined.')+Object(a.a)(y),r.name))}}}var h=(p(r={},c.a.SCALAR_TYPE_DEFINITION,c.a.SCALAR_TYPE_EXTENSION),p(r,c.a.OBJECT_TYPE_DEFINITION,c.a.OBJECT_TYPE_EXTENSION),p(r,c.a.INTERFACE_TYPE_DEFINITION,c.a.INTERFACE_TYPE_EXTENSION),p(r,c.a.UNION_TYPE_DEFINITION,c.a.UNION_TYPE_EXTENSION),p(r,c.a.ENUM_TYPE_DEFINITION,c.a.ENUM_TYPE_EXTENSION),p(r,c.a.INPUT_OBJECT_TYPE_DEFINITION,c.a.INPUT_OBJECT_TYPE_EXTENSION),r)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"b\",(function(){return s}));var r=n(8),i=n(3),o=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function a(e){var t=s(e);if(t)throw t;return e}function s(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.')):o.test(e)?void 0:new i.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r,i=n(1),o=n.n(i),a=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=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 o;t&&e.target===r?t=!1:(document.removeEventListener(\"mouseup\",i),i=null,e.currentTarget&&(null===(o=r.parentNode)||void 0===o?void 0:o.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||n.setState({optionsOpen:!1}))};document.addEventListener(\"mouseup\",i)},n.state={optionsOpen:!1,highlight:null},n}return a(t,e),t.prototype.render=function(){var e,t=this,n=this.props.operations||[],r=this.state.optionsOpen,i=n&&n.length>1,a=null;if(i&&r){var s=this.state.highlight;a=o.a.createElement(\"ul\",{className:\"execute-options\"},n.map((function(e,n){var r=e.name?e.name.value:\"<Unnamed \"+e.operation+\">\";return o.a.createElement(\"li\",{key:r+\"-\"+n,className:e===s?\"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&&i||(e=this._onClick);var l=function(){};this.props.isRunning||!i||r||(l=this._onOptionsOpen);var c=this.props.isRunning?o.a.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):o.a.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return o.a.createElement(\"div\",{className:\"execute-button-wrap\"},o.a.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:l,onClick:e,title:\"Execute Query (Ctrl-Enter)\"},o.a.createElement(\"svg\",{width:\"34\",height:\"34\"},c)),a)},t}(o.a.Component)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r,i=n(1),o=n.n(i),a=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function s(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(e){return}}}var l=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 a(t,e),t.shouldRender=function(e){var t=s(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=o.a.createElement(\"div\",null,r)}return o.a.createElement(\"div\",null,o.a.createElement(\"img\",{onLoad:function(){return t._updateMetadata()},ref:function(e){t._node=e},src:null===(e=s(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}(o.a.Component)},function(e,t,n){\"use strict\";\n/*!\n * escape-html\n * Copyright(c) 2012-2013 TJ Holowaychuk\n * Copyright(c) 2015 Andreas Lubbe\n * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n * MIT Licensed\n */var r=/[\"'&<>]/;e.exports=function(e){var t,n=\"\"+e,i=r.exec(n);if(!i)return n;var o=\"\",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=\"&quot;\";break;case 38:t=\"&amp;\";break;case 39:t=\"&#39;\";break;case 60:t=\"&lt;\";break;case 62:t=\"&gt;\";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}return s!==a?o+n.substring(s,a):o}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(11),i=n(3),o=n(0);function a(e){return{Field:function(t){var n=e.getFieldDef(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getParentType();null!=a||Object(r.a)(0),e.reportError(new i.a(\"The field \".concat(a.name,\".\").concat(n.name,\" is deprecated. \").concat(o),t))}},Argument:function(t){var n=e.getArgument(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){var a=e.getDirective();if(null!=a)e.reportError(new i.a('Directive \"@'.concat(a.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t));else{var s=e.getParentType(),l=e.getFieldDef();null!=s&&null!=l||Object(r.a)(0),e.reportError(new i.a('Field \"'.concat(s.name,\".\").concat(l.name,'\" argument \"').concat(n.name,'\" is deprecated. ').concat(o),t))}}},ObjectField:function(t){var n=Object(o.A)(e.getParentInputType());if(Object(o.F)(n)){var r=n.getFields()[t.name.value],a=null==r?void 0:r.deprecationReason;null!=a&&e.reportError(new i.a(\"The input field \".concat(n.name,\".\").concat(r.name,\" is deprecated. \").concat(a),t))}},EnumValue:function(t){var n=e.getEnumValue(),a=null==n?void 0:n.deprecationReason;if(n&&null!=a){var s=Object(o.A)(e.getInputType());null!=s||Object(r.a)(0),e.reportError(new i.a('The enum value \"'.concat(s.name,\".\").concat(n.name,'\" is deprecated. ').concat(a),t))}}}}},function(e,t,n){\"use strict\";var r=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}();t.a=r},function(e,t,n){\"use strict\";var r=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(e){r=e,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,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}},e}();t.a=r},function(e,t,n){\"use strict\";function r(e,t,n){if(\"object\"==typeof e&&\"object\"==typeof t){if(Array.isArray(e)&&Array.isArray(t))for(n=0;n<t.length;n++)e[n]=r(e[n],t[n]);else for(n in t){if(\"__proto__\"===n||\"constructor\"===n||\"prototype\"===n)break;e[n]=r(e[n],t[n])}return e}return t}function i(e,t,n){t.split&&(t=t.split(\".\"));for(var i,o,a=0,s=t.length,l=e;a<s&&\"__proto__\"!==(o=t[a++])&&\"constructor\"!==o&&\"prototype\"!==o;)l=l[o]=a===s?r(l[o],n):typeof(i=l[o])==typeof t?i:0*t[a]!=0||~(\"\"+t[a]).indexOf(\".\")?{}:[]}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Explorer=void 0;var r,i=n(253),o=(r=i)&&r.__esModule?r:{default:r};t.Explorer=o.default,t.default=o.default},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=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(e){r=e,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,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}},e}();t.default=r},function(e,t,n){\"use strict\";(function(e){var r=this&&this.__assign||function(){return(r=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}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},\"function\"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError(\"Generator is already executing.\");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__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 o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,\"__esModule\",{value:!0}),t.SubscriptionClient=void 0;var s=void 0!==e?e:\"undefined\"!=typeof window?window:{},l=s.WebSocket||s.MozWebSocket,c=n(254),u=n(255),f=n(256),p=n(257),d=n(263),h=n(265),m=n(258),v=n(260),g=n(261),y=n(262),b=function(){function e(e,t,n,r){var i=t||{},o=i.connectionCallback,a=void 0===o?void 0:o,s=i.connectionParams,f=void 0===s?{}:s,p=i.minTimeout,d=void 0===p?g.MIN_WS_TIMEOUT:p,h=i.timeout,m=void 0===h?g.WS_TIMEOUT:h,y=i.reconnect,b=void 0!==y&&y,E=i.reconnectionAttempts,w=void 0===E?1/0:E,x=i.lazy,k=void 0!==x&&x,T=i.inactivityTimeout,O=void 0===T?0:T,C=i.wsOptionArguments,S=void 0===C?[]:C;if(this.wsImpl=n||l,!this.wsImpl)throw new Error(\"Unable to find native implementation, or alternative implementation for WebSocket!\");this.wsProtocols=r||v.GRAPHQL_WS,this.connectionCallback=a,this.url=e,this.operations={},this.nextOperationId=0,this.minWsTimeout=d,this.wsTimeout=m,this.unsentMessagesQueue=[],this.reconnect=b,this.reconnecting=!1,this.reconnectionAttempts=w,this.lazy=!!k,this.inactivityTimeout=O,this.closedByUser=!1,this.backoff=new c({jitter:.5}),this.eventEmitter=new u.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(f),this.wsOptionArguments=S,this.lazy||this.connect()}return Object.defineProperty(e.prototype,\"status\",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),e.prototype.close=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=t,e&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,y.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit(\"disconnected\"),e||this.tryReconnect())},e.prototype.request=function(e){var t,n,r=this.getObserver.bind(this),i=this.executeOperation.bind(this),o=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(t={})[m.default]=function(){return this},t.subscribe=function(t,a,s){var l=r(t,a,s);return n=i(e,(function(e,t){null===e&&null===t?l.complete&&l.complete():e?l.error&&l.error(e[0]):l.next&&l.next(t)})),{unsubscribe:function(){n&&(o(n),n=null)}}},t},e.prototype.on=function(e,t,n){var r=this.eventEmitter.on(e,t,n);return function(){r.off(e,t,n)}},e.prototype.onConnected=function(e,t){return this.on(\"connected\",e,t)},e.prototype.onConnecting=function(e,t){return this.on(\"connecting\",e,t)},e.prototype.onDisconnected=function(e,t){return this.on(\"disconnected\",e,t)},e.prototype.onReconnected=function(e,t){return this.on(\"reconnected\",e,t)},e.prototype.onReconnecting=function(e,t){return this.on(\"reconnecting\",e,t)},e.prototype.onError=function(e,t){return this.on(\"error\",e,t)},e.prototype.unsubscribeAll=function(){var e=this;Object.keys(this.operations).forEach((function(t){e.unsubscribe(t)}))},e.prototype.applyMiddlewares=function(e){var t=this;return new Promise((function(n,r){var i,o,s;i=a(t.middlewares),o=t,(s=function(t){if(t)r(t);else if(i.length>0){var a=i.shift();a&&a.applyMiddleware.apply(o,[e,s])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if(\"function\"!=typeof e.applyMiddleware)throw new Error(\"Middleware must implement the applyMiddleware function.\");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if(\"function\"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,y.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return\"function\"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new c({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error(\"Must provide a query.\");if(!t)throw new Error(\"Must provide an handler.\");if(!f.default(n)&&!h.getOperationAST(n,i)||i&&!f.default(i)||r&&!p.default(r))throw new Error(\"Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.\")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:\"string\"==typeof n.query?n.query:d.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:\"FormatedError\",message:\"Unknown error\",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit(\"error\",new Error(\"Message must be JSON-serializable. Got: \"+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit(\"error\",new Error(\"A message was not sent because socket is not connected, is closing or is already closed. Message was: \"+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?\"reconnecting\":\"connecting\"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit(\"error\",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error(\"Message must be JSON-parseable. Got: \"+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?\"reconnected\":\"connected\",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case y.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case y.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error(\"Invalid message type!\")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(64))},function(e,t,n){\"use strict\";function r(e){var t,n=e.Symbol;return\"function\"==typeof n?n.observable?t=n.observable:(t=n(\"observable\"),n.observable=t):t=\"@@observable\",t}n.d(t,\"a\",(function(){return r}))},function(e,t,n){(function(e){(function(t){\"use strict\";const n=Object.prototype.hasOwnProperty;function r(e){return\"object\"==typeof e&&null!==e}function i(e,t){return n.call(e,t)}function o(e,t){return n.call(e,t)&&r(e[t])}function a(e,t){return n.call(e,t)&&\"string\"==typeof e[t]}var s;function l(e){if(r(e)){if(!a(e,\"type\"))return!1;switch(e.type){case t.MessageType.ConnectionInit:case t.MessageType.ConnectionAck:return!i(e,\"payload\")||void 0===e.payload||r(e.payload);case t.MessageType.Subscribe:return a(e,\"id\")&&o(e,\"payload\")&&(!i(e.payload,\"operationName\")||void 0===e.payload.operationName||null===e.payload.operationName||\"string\"==typeof e.payload.operationName)&&a(e.payload,\"query\")&&(!i(e.payload,\"variables\")||void 0===e.payload.variables||null===e.payload.variables||o(e.payload,\"variables\"))&&(!i(e.payload,\"extensions\")||void 0===e.payload.extensions||null===e.payload.extensions||o(e.payload,\"extensions\"));case t.MessageType.Next:return a(e,\"id\")&&o(e,\"payload\");case t.MessageType.Error:return a(e,\"id\")&&(n=e.payload,Array.isArray(n)&&n.length>0&&n.every(e=>\"message\"in e));case t.MessageType.Complete:return a(e,\"id\");default:return!1}}var n;return!1}function c(e,t){if(l(e))return e;if(\"string\"!=typeof e)throw new Error(\"Message not parsable\");const n=JSON.parse(e,t);if(!l(n))throw new Error(\"Invalid message\");return n}function u(e,t){if(!l(e))throw new Error(\"Cannot stringify invalid message\");return JSON.stringify(e,t)}function f(e){return r(e)&&\"code\"in e&&\"reason\"in e}t.MessageType=void 0,(s=t.MessageType||(t.MessageType={})).ConnectionInit=\"connection_init\",s.ConnectionAck=\"connection_ack\",s.Subscribe=\"subscribe\",s.Next=\"next\",s.Error=\"error\",s.Complete=\"complete\",t.GRAPHQL_TRANSPORT_WS_PROTOCOL=\"graphql-transport-ws\",t.createClient=function(n){const{url:r,connectionParams:i,lazy:o=!0,onNonLazyError:a=console.error,keepAlive:s=0,retryAttempts:l=5,retryWait:p=async function(e){let t=1e3;for(let n=0;n<e;n++)t*=2;await new Promise(e=>setTimeout(e,t+Math.floor(2700*Math.random()+300)))},isFatalConnectionProblem:d=(e=>!f(e)),on:h,webSocketImpl:m,generateID:v=function(){return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return(\"x\"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:g,jsonMessageReviver:y}=n;let b;if(m){if(!(\"function\"==typeof(E=m)&&\"constructor\"in E&&\"CLOSED\"in E&&\"CLOSING\"in E&&\"CONNECTING\"in E&&\"OPEN\"in E))throw new Error(\"Invalid WebSocket implementation provided\");b=m}else\"undefined\"!=typeof WebSocket?b=WebSocket:void 0!==e?b=e.WebSocket||e.MozWebSocket:\"undefined\"!=typeof window&&(b=window.WebSocket||window.MozWebSocket);var E;if(!b)throw new Error(\"WebSocket implementation missing\");const w=b,x=(()=>{const e=(()=>{const e={};return{on:(t,n)=>(e[t]=n,()=>{delete e[t]}),emit(t){var n;\"id\"in t&&(null===(n=e[t.id])||void 0===n||n.call(e,t))}}})(),t={connecting:(null==h?void 0:h.connecting)?[h.connecting]:[],connected:(null==h?void 0:h.connected)?[h.connected]:[],message:(null==h?void 0:h.message)?[e.emit,h.message]:[e.emit],closed:(null==h?void 0:h.closed)?[h.closed]:[],error:(null==h?void 0:h.error)?[h.error]:[]};return{onMessage:e.on,on(e,n){const r=t[e];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(e,...n){for(const r of t[e])r(...n)}}})();let k,T=0,O=!1,C=0,S=!1;async function _(){const[e,n]=await(null!=k?k:k=new Promise((e,n)=>(async()=>{if(O){if(await p(C),!T)return k=void 0,n({code:1e3,reason:\"All Subscriptions Gone\"});C++}x.emit(\"connecting\");const o=new w(\"function\"==typeof r?await r():r,\"graphql-transport-ws\");o.onerror=e=>{x.emit(\"error\",e)},o.onclose=e=>{k=void 0,x.emit(\"closed\",e),n(e)},o.onopen=async()=>{try{o.send(u({type:t.MessageType.ConnectionInit,payload:\"function\"==typeof i?await i():i},g))}catch(e){o.close(4400,e instanceof Error?e.message:new Error(e).message)}};let a=!1;o.onmessage=({data:n})=>{try{const r=c(n,y);if(x.emit(\"message\",r),a)return;if(r.type!==t.MessageType.ConnectionAck)throw new Error(\"First message cannot be of type \"+r.type);a=!0,x.emit(\"connected\",o,r.payload),O=!1,C=0,e([o,new Promise((e,t)=>o.addEventListener(\"close\",t))])}catch(e){o.close(4400,e instanceof Error?e.message:new Error(e).message)}}})()));e.readyState===w.CLOSING&&await n;let o=()=>{};const a=new Promise(e=>o=e);return[e,o,Promise.race([a.then(()=>{if(!T){const t=()=>e.close(1e3,\"Normal Closure\");isFinite(s)&&s>0?setTimeout(()=>{T||e.readyState!==w.OPEN||t()},s):t()}}),n])]}function N(e){if(f(e)&&[1002,1011,4400,4401,4409,4429].includes(e.code))throw e;if(S)return!1;if(f(e)&&1e3===e.code)return T>0;if(!l||C>=l)throw e;if(d(e))throw e;return O=!0}return o||(async()=>{for(T++;;)try{const[,,e]=await _();await e}catch(e){try{if(!N(e))return}catch(e){return null==a?void 0:a(e)}}})(),{on:x.on,subscribe(e,n){const r=v();let i=!1,o=!1,a=()=>{T--,i=!0};return(async()=>{for(T++;;)try{const[s,l,c]=await _();if(i)return l();const f=x.onMessage(r,e=>{switch(e.type){case t.MessageType.Next:return void n.next(e.payload);case t.MessageType.Error:return o=!0,i=!0,n.error(e.payload),void a();case t.MessageType.Complete:return i=!0,void a()}});return s.send(u({id:r,type:t.MessageType.Subscribe,payload:e},g)),a=()=>{i||s.readyState!==w.OPEN||s.send(u({id:r,type:t.MessageType.Complete},g)),T--,i=!0,l()},void await c.finally(f)}catch(e){if(!N(e))return}})().catch(n.error).then(()=>{o||n.complete()}),()=>{i||a()}},async dispose(){if(S=!0,k){const[e]=await k;e.close(1e3,\"Normal Closure\")}}}},t.isMessage=l,t.parseMessage=c,t.stringifyMessage=u,Object.defineProperty(t,\"__esModule\",{value:!0})})(t)}).call(this,n(64))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return f}));var r,i=n(1),o=n.n(i),a=(r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=e.call(this,t)||this;return n.state={editable:!1},n.editField=null,n}return a(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?\"★\":\"☆\";return o.a.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?o.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\"}):o.a.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),o.a.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"✎\"),o.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}(o.a.Component),l=n(85),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])})(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)}}(),u=function(){return(u=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}).apply(this,arguments)},f=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,o,a){n.historyStore.editLabel(e,t,r,i,o,a),n.setState({queries:n.historyStore.queries})},n.onToggleFavorite=function(e,t,r,i,o,a){n.historyStore.toggleFavorite(e,t,r,i,o,a),n.setState({queries:n.historyStore.queries})},n.historyStore=new l.a(n.props.storage,n.props.maxHistoryLength);var r=n.historyStore.queries;return n.state={queries:r},n}return c(t,e),t.prototype.render=function(){var e=this,t=this.state.queries.slice().reverse().map((function(t,n){return o.a.createElement(s,u({handleEditLabel:e.onHandleEditLabel,handleToggleFavorite:e.onToggleFavorite,key:n+\":\"+(t.label||t.query),onSelect:e.props.onSelectQuery},t))}));return o.a.createElement(\"section\",{\"aria-label\":\"History\"},o.a.createElement(\"div\",{className:\"history-title-bar\"},o.a.createElement(\"div\",{className:\"history-title\"},\"History\"),o.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),o.a.createElement(\"ul\",{className:\"history-contents\"},t))},t}(o.a.Component)},,function(e,t,n){\"use strict\";\n/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(111),i=\"function\"==typeof Symbol&&Symbol.for,o=i?Symbol.for(\"react.element\"):60103,a=i?Symbol.for(\"react.portal\"):60106,s=i?Symbol.for(\"react.fragment\"):60107,l=i?Symbol.for(\"react.strict_mode\"):60108,c=i?Symbol.for(\"react.profiler\"):60114,u=i?Symbol.for(\"react.provider\"):60109,f=i?Symbol.for(\"react.context\"):60110,p=i?Symbol.for(\"react.forward_ref\"):60112,d=i?Symbol.for(\"react.suspense\"):60113,h=i?Symbol.for(\"react.memo\"):60115,m=i?Symbol.for(\"react.lazy\"):60116,v=\"function\"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if(\"object\"!=typeof e&&\"function\"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,\"setState\")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")},w.prototype=E.prototype;var k=x.prototype=new w;k.constructor=x,r(k,E.prototype),k.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=\"\"+t.key),t)O.call(t,r)&&!C.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:T.current}}function _(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===o}var N=/\\/+/g,A=[];function D(e,t,n,r){if(A.length){var i=A.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;\"undefined\"!==s&&\"boolean\"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(i,t,\"\"===n?\".\"+j(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var c=0;c<t.length;c++){var u=n+j(s=t[c],c);l+=e(s,u,r,i)}else if(null===t||\"object\"!=typeof t?u=null:u=\"function\"==typeof(u=v&&t[v]||t[\"@@iterator\"])?u:null,\"function\"==typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=e(s=s.value,u=n+j(s,c++),r,i);else if(\"object\"===s)throw r=\"\"+t,Error(g(31,\"[object Object]\"===r?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":r,\"\"));return l}(e,\"\",t,n)}function j(e,t){return\"object\"==typeof e&&null!==e&&null!=e.key?function(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,(function(e){return e})):null!=e&&(_(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?\"\":(\"\"+e.key).replace(N,\"$&/\")+\"/\")+n)),r.push(e))}function R(e,t,n,r,i){var o=\"\";null!=n&&(o=(\"\"+n).replace(N,\"$&/\")+\"/\"),L(e,F,t=D(t,o,r,i)),I(t)}var P={current:null};function V(){var e=P.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,M,t=D(null,null,t,n)),I(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return R(e,t,null,(function(e){return e})),t},only:function(e){if(!_(e))throw Error(g(143));return e}},t.Component=E,t.Fragment=s,t.Profiler=c,t.PureComponent=x,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=T.current),void 0!==t.key&&(a=\"\"+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)O.call(t,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version=\"16.14.0\"},function(e,t,n){\"use strict\";\n/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(1),i=n(111),o=n(177);function a(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,u=!1,f=null,p={onError:function(e){l=!0,c=e}};function d(e,t,n,r,i,o,a,u,f){l=!1,c=null,s.apply(p,arguments)}var h=null,m=null,v=null;function g(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=v(n),function(e,t,n,r,i,o,s,p,h){if(d.apply(this,arguments),l){if(!l)throw Error(a(198));var m=c;l=!1,c=null,u||(u=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function E(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,l=r;if(k.hasOwnProperty(l))throw Error(a(99,l));k[l]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&w(c[i],s,l);i=!0}else o.registrationName?(w(o.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function w(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var x=[],k={},T={},O={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&E()}var S=!(\"undefined\"==typeof window||void 0===window.document||void 0===window.document.createElement),_=null,N=null,A=null;function D(e){if(e=m(e)){if(\"function\"!=typeof _)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),_(e.stateNode,e.type,t))}}function I(e){N?A?A.push(e):A=[e]:N=e}function L(){if(N){var e=N,t=A;if(A=N=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function j(e,t){return e(t)}function M(e,t,n,r,i){return e(t,n,r,i)}function F(){}var R=j,P=!1,V=!1;function U(){null===N&&null===A||(F(),L())}function q(e,t,n){if(V)return e(t,n);V=!0;try{return R(e,t,n)}finally{V=!1,U()}}var B=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,z=Object.prototype.hasOwnProperty,H={},G={};function Q(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var W={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach((function(e){W[e]=new Q(e,0,!1,e,null,!1)})),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach((function(e){var t=e[0];W[t]=new Q(t,1,!1,e[1],null,!1)})),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach((function(e){W[e]=new Q(e,2,!1,e.toLowerCase(),null,!1)})),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach((function(e){W[e]=new Q(e,2,!1,e,null,!1)})),\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach((function(e){W[e]=new Q(e,3,!1,e.toLowerCase(),null,!1)})),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach((function(e){W[e]=new Q(e,3,!0,e,null,!1)})),[\"capture\",\"download\"].forEach((function(e){W[e]=new Q(e,4,!1,e,null,!1)})),[\"cols\",\"rows\",\"size\",\"span\"].forEach((function(e){W[e]=new Q(e,6,!1,e,null,!1)})),[\"rowSpan\",\"start\"].forEach((function(e){W[e]=new Q(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach((function(e){var t=e.replace(K,Y);W[t]=new Q(t,1,!1,e,null,!1)})),\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach((function(e){var t=e.replace(K,Y);W[t]=new Q(t,1,!1,e,\"http://www.w3.org/1999/xlink\",!1)})),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach((function(e){var t=e.replace(K,Y);W[t]=new Q(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1)})),[\"tabIndex\",\"crossOrigin\"].forEach((function(e){W[e]=new Q(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new Q(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0),[\"src\",\"href\",\"action\",\"formAction\"].forEach((function(e){W[e]=new Q(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(e,t,n,r){var i=W.hasOwnProperty(t)?W[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&(\"o\"===t[0]||\"O\"===t[0])&&(\"n\"===t[1]||\"N\"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return!r&&(null!==n?!n.acceptsBooleans:\"data-\"!==(e=e.toLowerCase().slice(0,5))&&\"aria-\"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!z.call(G,e)||!z.call(H,e)&&(B.test(e)?G[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&\"\":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty(\"ReactCurrentDispatcher\")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty(\"ReactCurrentBatchConfig\")||(J.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\\\\/]/,Z=\"function\"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for(\"react.element\"):60103,te=Z?Symbol.for(\"react.portal\"):60106,ne=Z?Symbol.for(\"react.fragment\"):60107,re=Z?Symbol.for(\"react.strict_mode\"):60108,ie=Z?Symbol.for(\"react.profiler\"):60114,oe=Z?Symbol.for(\"react.provider\"):60109,ae=Z?Symbol.for(\"react.context\"):60110,se=Z?Symbol.for(\"react.concurrent_mode\"):60111,le=Z?Symbol.for(\"react.forward_ref\"):60112,ce=Z?Symbol.for(\"react.suspense\"):60113,ue=Z?Symbol.for(\"react.suspense_list\"):60120,fe=Z?Symbol.for(\"react.memo\"):60115,pe=Z?Symbol.for(\"react.lazy\"):60116,de=Z?Symbol.for(\"react.block\"):60121,he=\"function\"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||\"object\"!=typeof e?null:\"function\"==typeof(e=he&&e[he]||e[\"@@iterator\"])?e:null}function ve(e){if(null==e)return null;if(\"function\"==typeof e)return e.displayName||e.name||null;if(\"string\"==typeof e)return e;switch(e){case ne:return\"Fragment\";case te:return\"Portal\";case ie:return\"Profiler\";case re:return\"StrictMode\";case ce:return\"Suspense\";case ue:return\"SuspenseList\"}if(\"object\"==typeof e)switch(e.$$typeof){case ae:return\"Context.Consumer\";case oe:return\"Context.Provider\";case le:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case fe:return ve(e.type);case de:return ve(e.render);case pe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t=\"\";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n=\"\";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o=\"\",i?o=\" (at \"+i.fileName.replace(X,\"\")+\":\"+i.lineNumber+\")\":n&&(o=\" (created by \"+n+\")\"),n=\"\\n in \"+(r||\"Unknown\")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case\"boolean\":case\"number\":case\"object\":case\"string\":case\"undefined\":return e;default:return\"\"}}function be(e){var t=e.type;return(e=e.nodeName)&&\"input\"===e.toLowerCase()&&(\"checkbox\"===t||\"radio\"===t)}function Ee(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&\"function\"==typeof n.get&&\"function\"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=\"\"+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=\"\"+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=be(e)?e.checked?\"true\":\"false\":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ke(e,t){var n=null==t.defaultValue?\"\":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:\"checkbox\"===t.type||\"radio\"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&$(e,\"checked\",t,!1)}function Oe(e,t){Te(e,t);var n=ye(t.value),r=t.type;if(null!=n)\"number\"===r?(0===n&&\"\"===e.value||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(\"submit\"===r||\"reset\"===r)return void e.removeAttribute(\"value\");t.hasOwnProperty(\"value\")?Se(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&Se(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(\"submit\"!==r&&\"reset\"!==r||void 0!==t.value&&null!==t.value))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}\"\"!==(n=e.name)&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,\"\"!==n&&(e.name=n)}function Se(e,t,n){\"number\"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function _e(e,t){return e=i({children:void 0},t),(t=function(e){var t=\"\";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[\"$\"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=\"\"),n=t}e._wrapperState={initialValue:ye(n)}}function Ie(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=\"\"+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=\"\"+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var je=\"http://www.w3.org/1999/xhtml\",Me=\"http://www.w3.org/2000/svg\";function Fe(e){switch(e){case\"svg\":return\"http://www.w3.org/2000/svg\";case\"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Re(e,t){return null==e||\"http://www.w3.org/1999/xhtml\"===e?Fe(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var Pe,Ve=function(e){return\"undefined\"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Me||\"innerHTML\"in e)e.innerHTML=t;else{for((Pe=Pe||document.createElement(\"div\")).innerHTML=\"<svg>\"+t.valueOf().toString()+\"</svg>\",t=Pe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var Be={animationend:qe(\"Animation\",\"AnimationEnd\"),animationiteration:qe(\"Animation\",\"AnimationIteration\"),animationstart:qe(\"Animation\",\"AnimationStart\"),transitionend:qe(\"Transition\",\"TransitionEnd\")},ze={},He={};function Ge(e){if(ze[e])return ze[e];if(!Be[e])return e;var t,n=Be[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return ze[e]=n[t];return e}S&&(He=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),\"TransitionEvent\"in window||delete Be.transitionend.transition);var Qe=Ge(\"animationend\"),We=Ge(\"animationiteration\"),Ke=Ge(\"animationstart\"),Ye=Ge(\"transitionend\"),Je=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),$e=new(\"function\"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=$e.get(e);return void 0===t&&(t=new Map,$e.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return tt(i),e;if(o===r)return tt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=rt(ot,e)),e=ot,ot=null,e){if(it(e,at),ot)throw Error(a(95));if(u)throw e=f,u=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!S)return!1;var t=(e=\"on\"+e)in document;return t||((t=document.createElement(\"div\")).setAttribute(e,\"return;\"),t=\"function\"==typeof t[e]),t}var ut=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function pt(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Sn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<x.length;l++){var c=x[l];c&&(c=c.extractEvents(r,t,o,i,a))&&(s=rt(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case\"scroll\":Kt(t,\"scroll\",!0);break;case\"focus\":case\"blur\":Kt(t,\"focus\",!0),Kt(t,\"blur\",!0),n.set(\"blur\",null),n.set(\"focus\",null);break;case\"cancel\":case\"close\":ct(e)&&Kt(t,e,!0);break;case\"invalid\":case\"submit\":case\"reset\":break;default:-1===Je.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var mt,vt,gt,yt=!1,bt=[],Et=null,wt=null,xt=null,kt=new Map,Tt=new Map,Ot=[],Ct=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),St=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");function _t(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Nt(e,t){switch(e){case\"focus\":case\"blur\":Et=null;break;case\"dragenter\":case\"dragleave\":wt=null;break;case\"mouseover\":case\"mouseout\":xt=null;break;case\"pointerover\":case\"pointerout\":kt.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Tt.delete(t.pointerId)}}function At(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=_t(t,n,r,i,o),null!==t&&(null!==(t=_n(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Dt(e){var t=Sn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=_n(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Lt(e,t,n){It(e)&&n.delete(t)}function jt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=_n(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==Et&&It(Et)&&(Et=null),null!==wt&&It(wt)&&(wt=null),null!==xt&&It(xt)&&(xt=null),kt.forEach(Lt),Tt.forEach(Lt)}function Mt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,jt)))}function Ft(e){function t(t){return Mt(t,e)}if(0<bt.length){Mt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Et&&Mt(Et,e),null!==wt&&Mt(wt,e),null!==xt&&Mt(xt,e),kt.forEach(t),Tt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)Dt(n),null===n.blockedOn&&Ot.shift()}var Rt={},Pt=new Map,Vt=new Map,Ut=[\"abort\",\"abort\",Qe,\"animationEnd\",We,\"animationIteration\",Ke,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",Ye,\"transitionEnd\",\"waiting\",\"waiting\"];function qt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o=\"on\"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+\"Capture\"},dependencies:[r],eventPriority:t},Vt.set(r,t),Pt.set(r,o),Rt[i]=o}}qt(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),0),qt(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1),qt(Ut,2);for(var Bt=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),zt=0;zt<Bt.length;zt++)Vt.set(Bt[zt],0);var Ht=o.unstable_UserBlockingPriority,Gt=o.unstable_runWithPriority,Qt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Vt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Jt.bind(null,t,1,e);break;default:r=$t.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){P||F();var i=$t,o=P;P=!0;try{M(i,e,t,n,r)}finally{(P=o)||U()}}function Jt(e,t,n,r){Gt(Ht,$t.bind(null,e,t,n,r))}function $t(e,t,n,r){if(Qt)if(0<bt.length&&-1<Ct.indexOf(e))e=_t(null,e,t,n,r),bt.push(e);else{var i=Xt(e,t,n,r);if(null===i)Nt(e,r);else if(-1<Ct.indexOf(e))e=_t(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case\"focus\":return Et=At(Et,e,t,n,r,i),!0;case\"dragenter\":return wt=At(wt,e,t,n,r,i),!0;case\"mouseover\":return xt=At(xt,e,t,n,r,i),!0;case\"pointerover\":var o=i.pointerId;return kt.set(o,At(kt.get(o)||null,e,t,n,r,i)),!0;case\"gotpointercapture\":return o=i.pointerId,Tt.set(o,At(Tt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{q(dt,e)}finally{ft(e)}}}}function Xt(e,t,n,r){if(null!==(n=Sn(n=lt(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=et(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=pt(e,r,n,t);try{q(dt,e)}finally{ft(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=[\"Webkit\",\"ms\",\"Moz\",\"O\"];function tn(e,t,n){return null==t||\"boolean\"==typeof t||\"\"===t?\"\":n||\"number\"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(\"\"+t).trim():t+\"px\"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf(\"--\"),i=tn(n,t[n],r);\"float\"===n&&(n=\"cssFloat\"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,\"\"));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if(\"object\"!=typeof t.dangerouslySetInnerHTML||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&\"object\"!=typeof t.style)throw Error(a(62,\"\"))}}function an(e,t){if(-1===e.indexOf(\"-\"))return\"string\"==typeof t.is;switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var sn=je;function ln(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function un(e){if(void 0===(e=e||(\"undefined\"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(\"input\"===t&&(\"text\"===e.type||\"search\"===e.type||\"tel\"===e.type||\"url\"===e.type||\"password\"===e.type)||\"textarea\"===t||\"true\"===e.contentEditable)}var mn=null,vn=null;function gn(e,t){switch(e){case\"button\":case\"input\":case\"select\":case\"textarea\":return!!t.autoFocus}return!1}function yn(e,t){return\"textarea\"===e||\"option\"===e||\"noscript\"===e||\"string\"==typeof t.children||\"number\"==typeof t.children||\"object\"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn=\"function\"==typeof setTimeout?setTimeout:void 0,En=\"function\"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(\"$\"===n||\"$!\"===n||\"$?\"===n){if(0===t)return e;t--}else\"/$\"===n&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),Tn=\"__reactInternalInstance$\"+kn,On=\"__reactEventHandlers$\"+kn,Cn=\"__reactContainere$\"+kn;function Sn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xn(e);null!==e;){if(n=e[Tn])return n;e=xn(e)}return t}n=(e=n).parentNode}return null}function _n(e){return!(e=e[Tn]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function An(e){return e[On]||null}function Dn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(r=!(\"button\"===(e=e.type)||\"input\"===e||\"select\"===e||\"textarea\"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&\"function\"!=typeof n)throw Error(a(231,t,typeof n));return n}function Ln(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function jn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Dn(t);for(t=n.length;0<t--;)Ln(n[t],\"captured\",e);for(t=0;t<n.length;t++)Ln(n[t],\"bubbled\",e)}}function Mn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=In(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Fn(e){e&&e.dispatchConfig.registrationName&&Mn(e._targetInst,null,e)}function Rn(e){it(e,jn)}var Pn=null,Vn=null,Un=null;function qn(){if(Un)return Un;var e,t,n=Vn,r=n.length,i=\"value\"in Pn?Pn.value:Pn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Un=i.slice(e,1<t?1-t:void 0)}function Bn(){return!0}function zn(){return!1}function Hn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):\"target\"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Bn:zn,this.isPropagationStopped=zn,this}function Gn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Qn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Wn(e){e.eventPool=[],e.getPooled=Gn,e.release=Qn}i(Hn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Bn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Bn)},persist:function(){this.isPersistent=Bn},isPersistent:zn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=zn,this._dispatchInstances=this._dispatchListeners=null}}),Hn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Hn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Wn(n),n},Wn(Hn);var Kn=Hn.extend({data:null}),Yn=Hn.extend({data:null}),Jn=[9,13,27,32],$n=S&&\"CompositionEvent\"in window,Xn=null;S&&\"documentMode\"in document&&(Xn=document.documentMode);var Zn=S&&\"TextEvent\"in window&&!Xn,er=S&&(!$n||Xn&&8<Xn&&11>=Xn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",captured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},rr=!1;function ir(e,t){switch(e){case\"keyup\":return-1!==Jn.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"blur\":return!0;default:return!1}}function or(e){return\"object\"==typeof(e=e.detail)&&\"data\"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if($n)e:{switch(e){case\"compositionstart\":var o=nr.compositionStart;break e;case\"compositionend\":o=nr.compositionEnd;break e;case\"compositionupdate\":o=nr.compositionUpdate;break e}o=void 0}else ar?ir(e,n)&&(o=nr.compositionEnd):\"keydown\"===e&&229===n.keyCode&&(o=nr.compositionStart);return o?(er&&\"ko\"!==n.locale&&(ar||o!==nr.compositionStart?o===nr.compositionEnd&&ar&&(i=qn()):(Vn=\"value\"in(Pn=r)?Pn.value:Pn.textContent,ar=!0)),o=Kn.getPooled(o,t,n,r),i?o.data=i:null!==(i=or(n))&&(o.data=i),Rn(o),i=o):i=null,(e=Zn?function(e,t){switch(e){case\"compositionend\":return or(t);case\"keypress\":return 32!==t.which?null:(rr=!0,tr);case\"textInput\":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return\"compositionend\"===e||!$n&&ir(e,t)?(e=qn(),Un=Vn=Pn=null,ar=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return er&&\"ko\"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Yn.getPooled(nr.beforeInput,t,n,r)).data=e,Rn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return\"input\"===t?!!lr[e.type]:\"textarea\"===t}var ur={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function fr(e,t,n){return(e=Hn.getPooled(ur.change,e,t,n)).type=\"change\",I(n),Rn(e),e}var pr=null,dr=null;function hr(e){st(e)}function mr(e){if(we(Nn(e)))return e}function vr(e,t){if(\"change\"===e)return t}var gr=!1;function yr(){pr&&(pr.detachEvent(\"onpropertychange\",br),dr=pr=null)}function br(e){if(\"value\"===e.propertyName&&mr(dr))if(e=fr(dr,e,lt(e)),P)st(e);else{P=!0;try{j(hr,e)}finally{P=!1,U()}}}function Er(e,t,n){\"focus\"===e?(yr(),dr=n,(pr=t).attachEvent(\"onpropertychange\",br)):\"blur\"===e&&yr()}function wr(e){if(\"selectionchange\"===e||\"keyup\"===e||\"keydown\"===e)return mr(dr)}function xr(e,t){if(\"click\"===e)return mr(t)}function kr(e,t){if(\"input\"===e||\"change\"===e)return mr(t)}S&&(gr=ct(\"input\")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:ur,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var i=t?Nn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if(\"select\"===o||\"input\"===o&&\"file\"===i.type)var a=vr;else if(cr(i))if(gr)a=kr;else{a=wr;var s=Er}else(o=i.nodeName)&&\"input\"===o.toLowerCase()&&(\"checkbox\"===i.type||\"radio\"===i.type)&&(a=xr);if(a&&(a=a(e,t)))return fr(a,n,r);s&&s(e,i,t),\"blur\"===e&&(e=i._wrapperState)&&e.controlled&&\"number\"===i.type&&Se(i,\"number\",i.value)}},Or=Hn.extend({view:null,detail:null}),Cr={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function _r(){return Sr}var Nr=0,Ar=0,Dr=!1,Ir=!1,Lr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:_r,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if(\"movementX\"in e)return e.movementX;var t=Nr;return Nr=e.screenX,Dr?\"mousemove\"===e.type?e.screenX-t:0:(Dr=!0,0)},movementY:function(e){if(\"movementY\"in e)return e.movementY;var t=Ar;return Ar=e.screenY,Ir?\"mousemove\"===e.type?e.screenY-t:0:(Ir=!0,0)}}),jr=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Mr={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\"pointerover\"]}},Fr={eventTypes:Mr,extractEvents:function(e,t,n,r,i){var o=\"mouseover\"===e||\"pointerover\"===e,a=\"mouseout\"===e||\"pointerout\"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Sn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if(\"mouseout\"===e||\"mouseover\"===e)var s=Lr,l=Mr.mouseLeave,c=Mr.mouseEnter,u=\"mouse\";else\"pointerout\"!==e&&\"pointerover\"!==e||(s=jr,l=Mr.pointerLeave,c=Mr.pointerEnter,u=\"pointer\");if(e=null==a?o:Nn(a),o=null==t?o:Nn(t),(l=s.getPooled(l,a,n,r)).type=u+\"leave\",l.target=e,l.relatedTarget=o,(n=s.getPooled(c,t,n,r)).type=u+\"enter\",n.target=o,n.relatedTarget=e,u=t,(r=a)&&u)e:{for(c=u,a=0,e=s=r;e;e=Dn(e))a++;for(e=0,t=c;t;t=Dn(t))e++;for(;0<a-e;)s=Dn(s),a--;for(;0<e-a;)c=Dn(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Dn(s),c=Dn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)s.push(r),r=Dn(r);for(r=[];u&&u!==c&&(null===(a=u.alternate)||a!==c);)r.push(u),u=Dn(u);for(u=0;u<s.length;u++)Mn(s[u],\"bubbled\",l);for(u=r.length;0<u--;)Mn(r[u],\"captured\",n);return 0==(64&i)?[l]:[l,n]}};var Rr=\"function\"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Pr=Object.prototype.hasOwnProperty;function Vr(e,t){if(Rr(e,t))return!0;if(\"object\"!=typeof e||null===e||\"object\"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Pr.call(t,n[r])||!Rr(e[n[r]],t[n[r]]))return!1;return!0}var Ur=S&&\"documentMode\"in document&&11>=document.documentMode,qr={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},Br=null,zr=null,Hr=null,Gr=!1;function Qr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==Br||Br!==un(n)?null:(\"selectionStart\"in(n=Br)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hr&&Vr(Hr,n)?null:(Hr=n,(e=Hn.getPooled(qr.select,zr,e,t)).type=\"select\",e.target=Br,Rn(e),e))}var Wr={eventTypes:qr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=O.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Nn(t):window,e){case\"focus\":(cr(i)||\"true\"===i.contentEditable)&&(Br=i,zr=t,Hr=null);break;case\"blur\":Hr=zr=Br=null;break;case\"mousedown\":Gr=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":return Gr=!1,Qr(n,r);case\"selectionchange\":if(Ur)break;case\"keydown\":case\"keyup\":return Qr(n,r)}return null}},Kr=Hn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=Hn.extend({clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),Jr=Or.extend({relatedTarget:null});function $r(e){var t=e.keyCode;return\"charCode\"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Xr={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},Zr={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},ei=Or.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if(\"Unidentified\"!==t)return t}return\"keypress\"===e.type?13===(e=$r(e))?\"Enter\":String.fromCharCode(e):\"keydown\"===e.type||\"keyup\"===e.type?Zr[e.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:_r,charCode:function(e){return\"keypress\"===e.type?$r(e):0},keyCode:function(e){return\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0},which:function(e){return\"keypress\"===e.type?$r(e):\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0}}),ti=Lr.extend({dataTransfer:null}),ni=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:_r}),ri=Hn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Lr.extend({deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),oi={eventTypes:Rt,extractEvents:function(e,t,n,r){var i=Pt.get(e);if(!i)return null;switch(e){case\"keypress\":if(0===$r(n))return null;case\"keydown\":case\"keyup\":e=ei;break;case\"blur\":case\"focus\":e=Jr;break;case\"click\":if(2===n.button)return null;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":e=Lr;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":e=ti;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":e=ni;break;case Qe:case We:case Ke:e=Kr;break;case Ye:e=ri;break;case\"scroll\":e=Or;break;case\"wheel\":e=ii;break;case\"copy\":case\"cut\":case\"paste\":e=Yr;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":e=jr;break;default:e=Hn}return Rn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \")),E(),h=An,m=_n,v=Nn,C({SimpleEventPlugin:oi,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Tr,SelectEventPlugin:Wr,BeforeInputEventPlugin:sr});var ai=[],si=-1;function li(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ci(e,t){si++,ai[si]=e.current,e.current=t}var ui={},fi={current:ui},pi={current:!1},di=ui;function hi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mi(e){return null!=(e=e.childContextTypes)}function vi(){li(pi),li(fi)}function gi(e,t,n){if(fi.current!==ui)throw Error(a(168));ci(fi,t),ci(pi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,\"function\"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||\"Unknown\",o));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,di=fi.current,ci(fi,e),ci(pi,pi.current),!0}function Ei(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(fi),ci(fi,e)):li(pi),ci(pi,n)}var wi=o.unstable_runWithPriority,xi=o.unstable_scheduleCallback,ki=o.unstable_cancelCallback,Ti=o.unstable_requestPaint,Oi=o.unstable_now,Ci=o.unstable_getCurrentPriorityLevel,Si=o.unstable_ImmediatePriority,_i=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Ai=o.unstable_LowPriority,Di=o.unstable_IdlePriority,Ii={},Li=o.unstable_shouldYield,ji=void 0!==Ti?Ti:function(){},Mi=null,Fi=null,Ri=!1,Pi=Oi(),Vi=1e4>Pi?Oi:function(){return Oi()-Pi};function Ui(){switch(Ci()){case Si:return 99;case _i:return 98;case Ni:return 97;case Ai:return 96;case Di:return 95;default:throw Error(a(332))}}function qi(e){switch(e){case 99:return Si;case 98:return _i;case 97:return Ni;case 96:return Ai;case 95:return Di;default:throw Error(a(332))}}function Bi(e,t){return e=qi(e),wi(e,t)}function zi(e,t,n){return e=qi(e),xi(e,t,n)}function Hi(e){return null===Mi?(Mi=[e],Fi=xi(Si,Qi)):Mi.push(e),Ii}function Gi(){if(null!==Fi){var e=Fi;Fi=null,ki(e)}Qi()}function Qi(){if(!Ri&&null!==Mi){Ri=!0;var e=0;try{var t=Mi;Bi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Mi=null}catch(t){throw null!==Mi&&(Mi=Mi.slice(e+1)),xi(Si,Gi),t}finally{Ri=!1}}}function Wi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ki(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Yi={current:null},Ji=null,$i=null,Xi=null;function Zi(){Xi=$i=Ji=null}function eo(e){var t=Yi.current;li(Yi),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function no(e,t){Ji=e,Xi=$i=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Aa=!0),e.firstContext=null)}function ro(e,t){if(Xi!==e&&!1!==t&&0!==t)if(\"number\"==typeof t&&1073741823!==t||(Xi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$i){if(null===Ji)throw Error(a(308));$i=t,Ji.dependencies={expirationTime:0,firstContext:t,responders:null}}else $i=$i.next=t;return e._currentValue}var io=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function so(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function co(e,t){var n=e.alternate;null!==n&&ao(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function uo(e,t,n,r){var o=e.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==a){l=a.next;var c=o.baseState,u=0,f=null,p=null,d=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=m,f=c):d=d.next=m,s>u&&(u=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ol(s,h.suspenseConfig);e:{var v=e,g=h;switch(s=t,m=n,g.tag){case 1:if(\"function\"==typeof(v=g.payload)){c=v.call(m,c,s);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s=\"function\"==typeof(v=g.payload)?v.call(m,c,s):v))break e;c=i({},c,s);break e;case 2:io=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}null===d?f=c:d.next=p,o.baseState=f,o.baseQueue=d,al(u),e.expirationTime=u,e.memoizedState=c}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,\"function\"!=typeof r)throw Error(a(191,r));r.call(i)}}}var po=J.ReactCurrentBatchConfig,ho=(new r.Component).refs;function mo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var vo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Qs(),i=po.suspense;(i=so(r=Ws(r,e,i),i)).payload=t,null!=n&&(i.callback=n),lo(e,i),Ks(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Qs(),i=po.suspense;(i=so(r=Ws(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),lo(e,i),Ks(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Qs(),r=po.suspense;(r=so(n=Ws(n,e,r),r)).tag=2,null!=t&&(r.callback=t),lo(e,r),Ks(e,n)}};function go(e,t,n,r,i,o,a){return\"function\"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Vr(n,r)||!Vr(i,o))}function yo(e,t,n){var r=!1,i=ui,o=t.contextType;return\"object\"==typeof o&&null!==o?o=ro(o):(i=mi(t)?di:fi.current,o=(r=null!=(r=t.contextTypes))?hi(e,i):ui),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function bo(e,t,n,r){e=t.state,\"function\"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),\"function\"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function Eo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ho,oo(e);var o=t.contextType;\"object\"==typeof o&&null!==o?i.context=ro(o):(o=mi(t)?di:fi.current,i.context=hi(e,o)),uo(e,n,i,r),i.state=e.memoizedState,\"function\"==typeof(o=t.getDerivedStateFromProps)&&(mo(e,t,o,n),i.state=e.memoizedState),\"function\"==typeof t.getDerivedStateFromProps||\"function\"==typeof i.getSnapshotBeforeUpdate||\"function\"!=typeof i.UNSAFE_componentWillMount&&\"function\"!=typeof i.componentWillMount||(t=i.state,\"function\"==typeof i.componentWillMount&&i.componentWillMount(),\"function\"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&vo.enqueueReplaceState(i,i.state,null),uo(e,n,i,r),i.state=e.memoizedState),\"function\"==typeof i.componentDidMount&&(e.effectTag|=4)}var wo=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&\"function\"!=typeof e&&\"object\"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=\"\"+e;return null!==t&&null!==t.ref&&\"function\"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ho&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if(\"string\"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ko(e,t){if(\"textarea\"!==e.type)throw Error(a(31,\"[object Object]\"===Object.prototype.toString.call(t)?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":t,\"\"))}function To(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Cl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Nl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=Sl(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Al(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=_l(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if(\"string\"==typeof t||\"number\"==typeof t)return(t=Nl(\"\"+t,e.mode,n)).return=e,t;if(\"object\"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Sl(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case te:return(t=Al(t,e.mode,n)).return=e,t}if(wo(t)||me(t))return(t=_l(t,e.mode,n,null)).return=e,t;ko(e,t)}return null}function d(e,t,n,r){var i=null!==t?t.key:null;if(\"string\"==typeof n||\"number\"==typeof n)return null!==i?null:l(e,t,\"\"+n,r);if(\"object\"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case te:return n.key===i?u(e,t,n,r):null}if(wo(n)||me(n))return null!==i?null:f(e,t,n,r,null);ko(e,n)}return null}function h(e,t,n,r,i){if(\"string\"==typeof r||\"number\"==typeof r)return l(t,e=e.get(n)||null,\"\"+r,i);if(\"object\"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(wo(r)||me(r))return f(t,e=e.get(n)||null,r,i,null);ko(t,r)}return null}function m(i,a,s,l){for(var c=null,u=null,f=a,m=a=0,v=null;null!==f&&m<s.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var g=d(i,f,s[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),a=o(g,a,m),null===u?c=g:u.sibling=g,u=g,f=v}if(m===s.length)return n(i,f),c;if(null===f){for(;m<s.length;m++)null!==(f=p(i,s[m],l))&&(a=o(f,a,m),null===u?c=f:u.sibling=f,u=f);return c}for(f=r(i,f);m<s.length;m++)null!==(v=h(f,i,m,s[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=o(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&f.forEach((function(e){return t(i,e)})),c}function v(i,s,l,c){var u=me(l);if(\"function\"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var f=u=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=d(i,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===f?u=b:f.sibling=b,f=b,m=g}if(y.done)return n(i,m),u;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=p(i,y.value,c))&&(s=o(y,s,v),null===f?u=y:f.sibling=y,f=y);return u}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=h(m,i,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===f?u=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),u}return function(e,r,o,l){var c=\"object\"==typeof o&&null!==o&&o.type===ne&&null===o.key;c&&(o=o.props.children);var u=\"object\"==typeof o&&null!==o;if(u)switch(o.$$typeof){case ee:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(o.type===ne){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=xo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===ne?((r=_l(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Sl(o.type,o.key,o.props,null,e.mode,l)).ref=xo(e,r,o),l.return=e,e=l)}return s(e);case te:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Al(o,e.mode,l)).return=e,e=r}return s(e)}if(\"string\"==typeof o||\"number\"==typeof o)return o=\"\"+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Nl(o,e.mode,l)).return=e,e=r),s(e);if(wo(o))return m(e,r,o,l);if(me(o))return v(e,r,o,l);if(u&&ko(e,o),void 0===o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||\"Component\"))}return n(e,r)}}var Oo=To(!0),Co=To(!1),So={},_o={current:So},No={current:So},Ao={current:So};function Do(e){if(e===So)throw Error(a(174));return e}function Io(e,t){switch(ci(Ao,t),ci(No,e),ci(_o,So),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,\"\");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(_o),ci(_o,t)}function Lo(){li(_o),li(No),li(Ao)}function jo(e){Do(Ao.current);var t=Do(_o.current),n=Re(t,e.type);t!==n&&(ci(No,e),ci(_o,n))}function Mo(e){No.current===e&&(li(_o),li(No))}var Fo={current:0};function Ro(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||\"$?\"===n.data||\"$!\"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Po(e,t){return{responder:e,props:t}}var Vo=J.ReactCurrentDispatcher,Uo=J.ReactCurrentBatchConfig,qo=0,Bo=null,zo=null,Ho=null,Go=!1;function Qo(){throw Error(a(321))}function Wo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Ko(e,t,n,r,i,o){if(qo=o,Bo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Vo.current=null===e||null===e.memoizedState?ga:ya,e=n(r,i),t.expirationTime===qo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ho=zo=null,t.updateQueue=null,Vo.current=ba,e=n(r,i)}while(t.expirationTime===qo)}if(Vo.current=va,t=null!==zo&&null!==zo.next,qo=0,Ho=zo=Bo=null,Go=!1,t)throw Error(a(300));return e}function Yo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function Jo(){if(null===zo){var e=Bo.alternate;e=null!==e?e.memoizedState:null}else e=zo.next;var t=null===Ho?Bo.memoizedState:Ho.next;if(null!==t)Ho=t,zo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(zo=e).memoizedState,baseState:zo.baseState,baseQueue:zo.baseQueue,queue:zo.queue,next:null},null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function $o(e,t){return\"function\"==typeof t?t(e):t}function Xo(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=zo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,c=i;do{var u=c.expirationTime;if(u<qo){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=f,o=r):l=l.next=f,u>Bo.expirationTime&&(Bo.expirationTime=u,al(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),ol(u,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===l?o=r:l.next=s,Rr(r,t.memoizedState)||(Aa=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Rr(o,t.memoizedState)||(Aa=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ea(e){var t=Yo();return\"function\"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:$o,lastRenderedState:e}).dispatch=ma.bind(null,Bo,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Bo.updateQueue)?(t={lastEffect:null},Bo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Jo().memoizedState}function ra(e,t,n,r){var i=Yo();Bo.effectTag|=e,i.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function ia(e,t,n,r){var i=Jo();r=void 0===r?null:r;var o=void 0;if(null!==zo){var a=zo.memoizedState;if(o=a.destroy,null!==r&&Wo(r,a.deps))return void ta(t,n,o,r)}Bo.effectTag|=e,i.memoizedState=ta(1|t,n,o,r)}function oa(e,t){return ra(516,4,e,t)}function aa(e,t){return ia(516,4,e,t)}function sa(e,t){return ia(4,2,e,t)}function la(e,t){return\"function\"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!=n?n.concat([e]):null,ia(4,2,la.bind(null,t,e),n)}function ua(){}function fa(e,t){return Yo().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Ui();Bi(98>r?98:r,(function(){e(!0)})),Bi(97<r?97:r,(function(){var r=Uo.suspense;Uo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Uo.suspense=r}}))}function ma(e,t,n){var r=Qs(),i=po.suspense;i={expirationTime:r=Ws(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Bo||null!==o&&o===Bo)Go=!0,i.expirationTime=qo,Bo.expirationTime=qo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Rr(s,a))return}catch(e){}Ks(e,r)}}var va={readContext:ro,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useResponder:Qo,useDeferredValue:Qo,useTransition:Qo},ga={readContext:ro,useCallback:fa,useContext:ro,useEffect:oa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Yo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yo().memoizedState=e},useState:ea,useDebugValue:ua,useResponder:Po,useDeferredValue:function(e,t){var n=ea(e),r=n[0],i=n[1];return oa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:ro,useCallback:pa,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Xo,useRef:na,useState:function(){return Xo($o)},useDebugValue:ua,useResponder:Po,useDeferredValue:function(e,t){var n=Xo($o),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xo($o),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:ro,useCallback:pa,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Zo,useRef:na,useState:function(){return Zo($o)},useDebugValue:ua,useResponder:Po,useDeferredValue:function(e,t){var n=Zo($o),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo($o),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},Ea=null,wa=null,xa=!1;function ka(e,t){var n=Tl(5,null,null,0);n.elementType=\"DELETED\",n.type=\"DELETED\",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=\"\"===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Oa(e){if(xa){var t=wa;if(t){var n=t;if(!Ta(e,t)){if(!(t=wn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,xa=!1,void(Ea=e);ka(Ea,n)}Ea=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,xa=!1,Ea=e}}function Ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ea=e}function Sa(e){if(e!==Ea)return!1;if(!xa)return Ca(e),xa=!0,!1;var t=e.type;if(5!==e.tag||\"head\"!==t&&\"body\"!==t&&!yn(t,e.memoizedProps))for(t=wa;t;)ka(e,t),t=wn(t.nextSibling);if(Ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(\"/$\"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else\"$\"!==n&&\"$!\"!==n&&\"$?\"!==n||t++}e=e.nextSibling}wa=null}}else wa=Ea?wn(e.stateNode.nextSibling):null;return!0}function _a(){wa=Ea=null,xa=!1}var Na=J.ReactCurrentOwner,Aa=!1;function Da(e,t,n,r){t.child=null===e?Co(t,null,n,r):Oo(t,e.child,n,r)}function Ia(e,t,n,r,i){n=n.render;var o=t.ref;return no(t,i),r=Ko(e,t,n,r,o,i),null===e||Aa?(t.effectTag|=1,Da(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ka(e,t,i))}function La(e,t,n,r,i,o){if(null===e){var a=n.type;return\"function\"!=typeof a||Ol(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Sl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ja(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Vr)(i,r)&&e.ref===t.ref)?Ka(e,t,o):(t.effectTag|=1,(e=Cl(a,r)).ref=t.ref,e.return=t,t.child=e)}function ja(e,t,n,r,i,o){return null!==e&&Vr(e.memoizedProps,r)&&e.ref===t.ref&&(Aa=!1,i<o)?(t.expirationTime=e.expirationTime,Ka(e,t,o)):Fa(e,t,n,r,o)}function Ma(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Fa(e,t,n,r,i){var o=mi(n)?di:fi.current;return o=hi(t,o),no(t,i),n=Ko(e,t,n,r,o,i),null===e||Aa?(t.effectTag|=1,Da(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ka(e,t,i))}function Ra(e,t,n,r,i){if(mi(n)){var o=!0;bi(t)}else o=!1;if(no(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),yo(t,n,r),Eo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;\"object\"==typeof c&&null!==c?c=ro(c):c=hi(t,c=mi(n)?di:fi.current);var u=n.getDerivedStateFromProps,f=\"function\"==typeof u||\"function\"==typeof a.getSnapshotBeforeUpdate;f||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&bo(t,a,r,c),io=!1;var p=t.memoizedState;a.state=p,uo(t,r,a,i),l=t.memoizedState,s!==r||p!==l||pi.current||io?(\"function\"==typeof u&&(mo(t,n,u,r),l=t.memoizedState),(s=io||go(t,n,s,r,p,l,c))?(f||\"function\"!=typeof a.UNSAFE_componentWillMount&&\"function\"!=typeof a.componentWillMount||(\"function\"==typeof a.componentWillMount&&a.componentWillMount(),\"function\"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),\"function\"==typeof a.componentDidMount&&(t.effectTag|=4)):(\"function\"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(\"function\"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ao(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Ki(t.type,s),l=a.context,\"object\"==typeof(c=n.contextType)&&null!==c?c=ro(c):c=hi(t,c=mi(n)?di:fi.current),(f=\"function\"==typeof(u=n.getDerivedStateFromProps)||\"function\"==typeof a.getSnapshotBeforeUpdate)||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&bo(t,a,r,c),io=!1,l=t.memoizedState,a.state=l,uo(t,r,a,i),p=t.memoizedState,s!==r||l!==p||pi.current||io?(\"function\"==typeof u&&(mo(t,n,u,r),p=t.memoizedState),(u=io||go(t,n,s,r,l,p,c))?(f||\"function\"!=typeof a.UNSAFE_componentWillUpdate&&\"function\"!=typeof a.componentWillUpdate||(\"function\"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),\"function\"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),\"function\"==typeof a.componentDidUpdate&&(t.effectTag|=4),\"function\"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):(\"function\"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(\"function\"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Pa(e,t,n,r,o,i)}function Pa(e,t,n,r,i,o){Ma(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ei(t,n,!1),Ka(e,t,o);r=t.stateNode,Na.current=t;var s=a&&\"function\"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oo(t,e.child,null,o),t.child=Oo(t,null,s,o)):Da(e,t,s,o),t.memoizedState=r.state,i&&Ei(t,n,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?gi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gi(0,t.context,!1),Io(e,t.containerInfo)}var Ua,qa,Ba,za={dehydrated:null,retryTime:0};function Ha(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Fo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ci(Fo,1&a),null===e){if(void 0!==o.fallback&&Oa(t),s){if(s=o.fallback,(o=_l(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=_l(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=za,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Co(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Cl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Cl(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=za,t.child=n,i}return n=Oo(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=_l(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=_l(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=za,t.child=o,n}return t.memoizedState=null,t.child=Oo(t,e,o.children,n)}function Ga(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),to(e.return,t)}function Qa(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Wa(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Da(e,t,r.children,n),0!=(2&(r=Fo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ga(e,n);else if(19===e.tag)Ga(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ci(Fo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case\"forwards\":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ro(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Qa(t,!1,i,n,o,t.lastEffect);break;case\"backwards\":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ro(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Qa(t,!0,n,null,o,t.lastEffect);break;case\"together\":Qa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ka(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Cl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ya(e,t){switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ja(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mi(t.type)&&vi(),null;case 3:return Lo(),li(pi),li(fi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Sa(t)||(t.effectTag|=4),null;case 5:Mo(t),n=Do(Ao.current);var o=t.type;if(null!==e&&null!=t.stateNode)qa(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Do(_o.current),Sa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[Tn]=t,r[On]=s,o){case\"iframe\":case\"object\":case\"embed\":Wt(\"load\",r);break;case\"video\":case\"audio\":for(e=0;e<Je.length;e++)Wt(Je[e],r);break;case\"source\":Wt(\"error\",r);break;case\"img\":case\"image\":case\"link\":Wt(\"error\",r),Wt(\"load\",r);break;case\"form\":Wt(\"reset\",r),Wt(\"submit\",r);break;case\"details\":Wt(\"toggle\",r);break;case\"input\":ke(r,s),Wt(\"invalid\",r),ln(n,\"onChange\");break;case\"select\":r._wrapperState={wasMultiple:!!s.multiple},Wt(\"invalid\",r),ln(n,\"onChange\");break;case\"textarea\":De(r,s),Wt(\"invalid\",r),ln(n,\"onChange\")}for(var l in on(o,s),e=null,s)if(s.hasOwnProperty(l)){var c=s[l];\"children\"===l?\"string\"==typeof c?r.textContent!==c&&(e=[\"children\",c]):\"number\"==typeof c&&r.textContent!==\"\"+c&&(e=[\"children\",\"\"+c]):T.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(o){case\"input\":Ee(r),Ce(r,s,!0);break;case\"textarea\":Ee(r),Le(r);break;case\"select\":case\"option\":break;default:\"function\"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Fe(o)),e===sn?\"script\"===o?((e=l.createElement(\"div\")).innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):\"string\"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),\"select\"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[Tn]=t,e[On]=r,Ua(e,t),t.stateNode=e,l=an(o,r),o){case\"iframe\":case\"object\":case\"embed\":Wt(\"load\",e),c=r;break;case\"video\":case\"audio\":for(c=0;c<Je.length;c++)Wt(Je[c],e);c=r;break;case\"source\":Wt(\"error\",e),c=r;break;case\"img\":case\"image\":case\"link\":Wt(\"error\",e),Wt(\"load\",e),c=r;break;case\"form\":Wt(\"reset\",e),Wt(\"submit\",e),c=r;break;case\"details\":Wt(\"toggle\",e),c=r;break;case\"input\":ke(e,r),c=xe(e,r),Wt(\"invalid\",e),ln(n,\"onChange\");break;case\"option\":c=_e(e,r);break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Wt(\"invalid\",e),ln(n,\"onChange\");break;case\"textarea\":De(e,r),c=Ae(e,r),Wt(\"invalid\",e),ln(n,\"onChange\");break;default:c=r}on(o,c);var u=c;for(s in u)if(u.hasOwnProperty(s)){var f=u[s];\"style\"===s?nn(e,f):\"dangerouslySetInnerHTML\"===s?null!=(f=f?f.__html:void 0)&&Ve(e,f):\"children\"===s?\"string\"==typeof f?(\"textarea\"!==o||\"\"!==f)&&Ue(e,f):\"number\"==typeof f&&Ue(e,\"\"+f):\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&\"autoFocus\"!==s&&(T.hasOwnProperty(s)?null!=f&&ln(n,s):null!=f&&$(e,s,f,l))}switch(o){case\"input\":Ee(e),Ce(e,r,!1);break;case\"textarea\":Ee(e),Le(e);break;case\"option\":null!=r.value&&e.setAttribute(\"value\",\"\"+ye(r.value));break;case\"select\":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:\"function\"==typeof c.onClick&&(e.onclick=cn)}gn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ba(0,t,e.memoizedProps,r);else{if(\"string\"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Do(Ao.current),Do(_o.current),Sa(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return li(Fo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Sa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fo.current)?Ss===Es&&(Ss=ws):(Ss!==Es&&Ss!==ws||(Ss=xs),0!==Is&&null!==Ts&&(Ll(Ts,Cs),jl(Ts,Is)))),(n||r)&&(t.effectTag|=4),null);case 4:return Lo(),null;case 10:return eo(t),null;case 17:return mi(t.type)&&vi(),null;case 19:if(li(Fo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Ya(r,!1);else if(Ss!==Es||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ro(s))){for(t.effectTag|=64,Ya(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return ci(Fo,1&Fo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Ro(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ya(r,!0),null===r.tail&&\"hidden\"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ya(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Vi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vi(),n.sibling=null,t=Fo.current,ci(Fo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function $a(e){switch(e.tag){case 1:mi(e.type)&&vi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Lo(),li(pi),li(fi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Mo(e),null;case 13:return li(Fo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Fo),null;case 4:return Lo(),null;case 10:return eo(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ge(t)}}Ua=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,l,c=t.stateNode;switch(Do(_o.current),e=null,n){case\"input\":a=xe(c,a),r=xe(c,r),e=[];break;case\"option\":a=_e(c,a),r=_e(c,r),e=[];break;case\"select\":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case\"textarea\":a=Ae(c,a),r=Ae(c,r),e=[];break;default:\"function\"!=typeof a.onClick&&\"function\"==typeof r.onClick&&(c.onclick=cn)}for(s in on(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if(\"style\"===s)for(l in c=a[s])c.hasOwnProperty(l)&&(n||(n={}),n[l]=\"\");else\"dangerouslySetInnerHTML\"!==s&&\"children\"!==s&&\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&\"autoFocus\"!==s&&(T.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var u=r[s];if(c=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==c&&(null!=u||null!=c))if(\"style\"===s)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]=\"\");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(s,n)),n=u;else\"dangerouslySetInnerHTML\"===s?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(s,u)):\"children\"===s?c===u||\"string\"!=typeof u&&\"number\"!=typeof u||(e=e||[]).push(s,\"\"+u):\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&(T.hasOwnProperty(s)?(null!=u&&ln(o,s),e||c===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push(\"style\",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ba=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za=\"function\"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if(\"function\"==typeof t)try{t(null)}catch(t){yl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ki(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void is(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Ki(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&fo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ft(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch(\"function\"==typeof xl&&xl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Bi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){yl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),\"function\"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){yl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ue(t,\"\"),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var l=e,c=o,u=n,f=c;;)if(as(l,f,u),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(l=r,c=o.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(as(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function fs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[On]=r,\"input\"===e&&\"radio\"===r.type&&null!=r.name&&Te(n,r),an(e,i),t=an(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];\"style\"===s?nn(n,l):\"dangerouslySetInnerHTML\"===s?Ve(n,l):\"children\"===s?Ue(n,l):$(n,s,l,t)}switch(e){case\"input\":Oe(n,r);break;case\"textarea\":Ie(n,r);break;case\"select\":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:\"\",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Ft(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,js=Vi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?\"function\"==typeof(o=o.style).setProperty?o.setProperty(\"display\",\"none\",\"important\"):o.display=\"none\":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty(\"display\")?i.display:null,o.style.display=tn(\"display\",i));else if(6===e.tag)e.stateNode.nodeValue=r?\"\":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ps(t);case 19:return void ps(t);case 17:return}throw Error(a(163))}function ps(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=El.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ds=\"function\"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=so(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fs||(Fs=!0,Rs=r),es(e,t)},n}function ms(e,t,n){(n=so(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if(\"function\"==typeof r){var i=t.value;n.payload=function(){return es(e,t),r(i)}}var o=e.stateNode;return null!==o&&\"function\"==typeof o.componentDidCatch&&(n.callback=function(){\"function\"!=typeof r&&(null===Ps?Ps=new Set([this]):Ps.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:\"\"})}),n}var vs,gs=Math.ceil,ys=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,Es=0,ws=3,xs=4,ks=0,Ts=null,Os=null,Cs=0,Ss=Es,_s=null,Ns=1073741823,As=1073741823,Ds=null,Is=0,Ls=!1,js=0,Ms=null,Fs=!1,Rs=null,Ps=null,Vs=!1,Us=null,qs=90,Bs=null,zs=0,Hs=null,Gs=0;function Qs(){return 0!=(48&ks)?1073741821-(Vi()/10|0):0!==Gs?Gs:Gs=1073741821-(Vi()/10|0)}function Ws(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ui();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&ks))return Cs;if(null!==n)e=Wi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Wi(e,150,100);break;case 97:case 96:e=Wi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ts&&e===Cs&&--e,e}function Ks(e,t){if(50<zs)throw zs=0,Hs=null,Error(a(185));if(null!==(e=Ys(e,t))){var n=Ui();1073741823===t?0!=(8&ks)&&0==(48&ks)?Zs(e):($s(e),0===ks&&Gi()):$s(e),0==(4&ks)||98!==n&&99!==n||(null===Bs?Bs=new Map([[e,t]]):(void 0===(n=Bs.get(e))||n>t)&&Bs.set(e,t))}}function Ys(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Ts===i&&(al(t),Ss===xs&&Ll(i,Cs)),jl(i,t)),i}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Il(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function $s(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Hi(Zs.bind(null,e));else{var t=Js(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Qs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Ii&&ki(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Hi(Zs.bind(null,e)):zi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-Vi()}),e.callbackNode=t}}}function Xs(e,t){if(Gs=0,t)return Ml(e,t=Qs()),$s(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!=(48&ks))throw Error(a(327));if(ml(),e===Ts&&n===Cs||nl(e,n),null!==Os){var r=ks;ks|=16;for(var i=il();;)try{ll();break}catch(t){rl(e,t)}if(Zi(),ks=r,ys.current=i,1===Ss)throw t=_s,nl(e,n),Ll(e,n),$s(e),t;if(null===Os)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ss,Ts=null,r){case Es:case 1:throw Error(a(345));case 2:Ml(e,2<n?2:n);break;case ws:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),1073741823===Ns&&10<(i=js+500-Vi())){if(Ls){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(o=Js(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),i);break}pl(e);break;case xs:if(Ll(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),Ls&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==As?r=10*(1073741821-As)-Vi():1073741823===Ns?r=0:(r=10*(1073741821-Ns)-5e3,0>(r=(i=Vi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gs(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(pl.bind(null,e),r);break}pl(e);break;case 5:if(1073741823!==Ns&&null!==Ds){o=Ns;var s=Ds;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Vi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Ll(e,n),e.timeoutHandle=bn(pl.bind(null,e),r);break}}pl(e);break;default:throw Error(a(329))}if($s(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Zs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&ks))throw Error(a(327));if(ml(),e===Ts&&t===Cs||nl(e,t),null!==Os){var n=ks;ks|=16;for(var r=il();;)try{sl();break}catch(t){rl(e,t)}if(Zi(),ks=n,ys.current=r,1===Ss)throw n=_s,nl(e,t),Ll(e,t),$s(e),n;if(null!==Os)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ts=null,pl(e),$s(e)}return null}function el(e,t){var n=ks;ks|=1;try{return e(t)}finally{0===(ks=n)&&Gi()}}function tl(e,t){var n=ks;ks&=-2,ks|=8;try{return e(t)}finally{0===(ks=n)&&Gi()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,En(n)),null!==Os)for(n=Os.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&vi();break;case 3:Lo(),li(pi),li(fi);break;case 5:Mo(r);break;case 4:Lo();break;case 13:case 19:li(Fo);break;case 10:eo(r)}n=n.return}Ts=e,Os=Cl(e.current,null),Cs=t,Ss=Es,_s=null,As=Ns=1073741823,Ds=null,Is=0,Ls=!1}function rl(e,t){for(;;){try{if(Zi(),Vo.current=va,Go)for(var n=Bo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(qo=0,Ho=zo=Bo=null,Go=!1,null===Os||null===Os.return)return Ss=1,_s=t,Os=null;e:{var i=e,o=Os.return,a=Os,s=t;if(t=Cs,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&\"object\"==typeof s&&\"function\"==typeof s.then){var l=s;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!=(1&Fo.current),f=o;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(p){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=so(1073741823,null);g.tag=2,lo(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,s=new Set,y.set(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(a)){s.add(a);var b=bl.bind(null,i,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((ve(a.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+ge(a))}5!==Ss&&(Ss=2),s=Xa(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t,co(f,hs(f,l,t));break e;case 1:l=s;var E=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&(\"function\"==typeof E.getDerivedStateFromError||null!==w&&\"function\"==typeof w.componentDidCatch&&(null===Ps||!Ps.has(w)))){f.effectTag|=4096,f.expirationTime=t,co(f,ms(f,l,t));break e}}f=f.return}while(null!==f)}Os=ul(Os)}catch(e){t=e;continue}break}}function il(){var e=ys.current;return ys.current=va,null===e?va:e}function ol(e,t){e<Ns&&2<e&&(Ns=e),null!==t&&e<As&&2<e&&(As=e,Ds=t)}function al(e){e>Is&&(Is=e)}function sl(){for(;null!==Os;)Os=cl(Os)}function ll(){for(;null!==Os&&!Li();)Os=cl(Os)}function cl(e){var t=vs(e.alternate,e,Cs);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),bs.current=null,t}function ul(e){Os=e;do{var t=Os.alternate;if(e=Os.return,0==(2048&Os.effectTag)){if(t=Ja(t,Os,Cs),1===Cs||1!==Os.childExpirationTime){for(var n=0,r=Os.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Os.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Os.firstEffect),null!==Os.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Os.firstEffect),e.lastEffect=Os.lastEffect),1<Os.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Os:e.firstEffect=Os,e.lastEffect=Os))}else{if(null!==(t=$a(Os)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Os.sibling))return t;Os=e}while(null!==Os);return Ss===Es&&(Ss=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=Ui();return Bi(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==Us);if(0!=(48&ks))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=fl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ts&&(Os=Ts=null,Cs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=ks;ks|=32,bs.current=null,mn=Qt;var s=dn();if(hn(s)){if(\"selectionStart\"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var u=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var p=0,d=-1,h=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==l||0!==u&&3!==g.nodeType||(d=p+u),g!==f||0!==c&&3!==g.nodeType||(h=p+c),3===g.nodeType&&(p+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===l&&++m===u&&(d=p),y===f&&++v===c&&(h=p),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}l=-1===d||-1===h?null:{start:d,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;vn={activeElementDetached:null,focusedElem:s,selectionRange:l},Qt=!1,Ms=i;do{try{hl()}catch(e){if(null===Ms)throw Error(a(330));yl(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);Ms=i;do{try{for(s=e,l=t;null!==Ms;){var E=Ms.effectTag;if(16&E&&Ue(Ms.stateNode,\"\"),128&E){var w=Ms.alternate;if(null!==w){var x=w.ref;null!==x&&(\"function\"==typeof x?x(null):x.current=null)}}switch(1038&E){case 2:cs(Ms),Ms.effectTag&=-3;break;case 6:cs(Ms),Ms.effectTag&=-3,fs(Ms.alternate,Ms);break;case 1024:Ms.effectTag&=-1025;break;case 1028:Ms.effectTag&=-1025,fs(Ms.alternate,Ms);break;case 4:fs(Ms.alternate,Ms);break;case 8:us(s,u=Ms,l),ss(u)}Ms=Ms.nextEffect}}catch(e){if(null===Ms)throw Error(a(330));yl(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);if(x=vn,w=dn(),E=x.focusedElem,l=x.selectionRange,w!==E&&E&&E.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):\"contains\"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(E.ownerDocument.documentElement,E)){null!==l&&hn(E)&&(w=l.start,void 0===(x=l.end)&&(x=w),\"selectionStart\"in E?(E.selectionStart=w,E.selectionEnd=Math.min(x,E.value.length)):(x=(w=E.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),u=E.textContent.length,s=Math.min(l.start,u),l=void 0===l.end?s:Math.min(l.end,u),!x.extend&&s>l&&(u=l,l=s,s=u),u=pn(E,s),f=pn(E,l),u&&f&&(1!==x.rangeCount||x.anchorNode!==u.node||x.anchorOffset!==u.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(u.node,u.offset),x.removeAllRanges(),s>l?(x.addRange(w),x.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),x.addRange(w))))),w=[];for(x=E;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(\"function\"==typeof E.focus&&E.focus(),E=0;E<w.length;E++)(x=w[E]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Qt=!!mn,vn=mn=null,e.current=n,Ms=i;do{try{for(E=e;null!==Ms;){var k=Ms.effectTag;if(36&k&&os(E,Ms.alternate,Ms),128&k){w=void 0;var T=Ms.ref;if(null!==T){var O=Ms.stateNode;switch(Ms.tag){case 5:w=O;break;default:w=O}\"function\"==typeof T?T(w):T.current=w}}Ms=Ms.nextEffect}}catch(e){if(null===Ms)throw Error(a(330));yl(Ms,e),Ms=Ms.nextEffect}}while(null!==Ms);Ms=null,ji(),ks=o}else e.current=n;if(Vs)Vs=!1,Us=e,qs=t;else for(Ms=i;null!==Ms;)t=Ms.nextEffect,Ms.nextEffect=null,Ms=t;if(0===(t=e.firstPendingTime)&&(Ps=null),1073741823===t?e===Hs?zs++:(zs=0,Hs=e):zs=0,\"function\"==typeof wl&&wl(n.stateNode,r),$s(e),Fs)throw Fs=!1,e=Rs,Rs=null,e;return 0!=(8&ks)||Gi(),null}function hl(){for(;null!==Ms;){var e=Ms.effectTag;0!=(256&e)&&ns(Ms.alternate,Ms),0==(512&e)||Vs||(Vs=!0,zi(97,(function(){return ml(),null}))),Ms=Ms.nextEffect}}function ml(){if(90!==qs){var e=97<qs?97:qs;return qs=90,Bi(e,vl)}}function vl(){if(null===Us)return!1;var e=Us;if(Us=null,0!=(48&ks))throw Error(a(331));var t=ks;for(ks|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),is(5,n)}}catch(t){if(null===e)throw Error(a(330));yl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return ks=t,Gi(),!0}function gl(e,t,n){lo(e,t=hs(e,t=Xa(n,t),1073741823)),null!==(e=Ys(e,1073741823))&&$s(e)}function yl(e,t){if(3===e.tag)gl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if(\"function\"==typeof n.type.getDerivedStateFromError||\"function\"==typeof r.componentDidCatch&&(null===Ps||!Ps.has(r))){lo(n,e=ms(n,e=Xa(t,e),1073741823)),null!==(n=Ys(n,1073741823))&&$s(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ts===e&&Cs===n?Ss===xs||Ss===ws&&1073741823===Ns&&Vi()-js<500?nl(e,Cs):Ls=!0:Il(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,$s(e)))}function El(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ws(t=Qs(),e,null)),null!==(e=Ys(e,t))&&$s(e)}vs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||pi.current)Aa=!0;else{if(r<n){switch(Aa=!1,t.tag){case 3:Va(t),_a();break;case 5:if(jo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:mi(t.type)&&bi(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ci(Yi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ha(e,t,n):(ci(Fo,1&Fo.current),null!==(t=Ka(e,t,n))?t.sibling:null);ci(Fo,1&Fo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Wa(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ci(Fo,Fo.current),!r)return null}return Ka(e,t,n)}Aa=!1}}else Aa=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,fi.current),no(t,n),i=Ko(null,t,r,e,i,n),t.effectTag|=1,\"object\"==typeof i&&null!==i&&\"function\"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(r)){var o=!0;bi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(t);var s=r.getDerivedStateFromProps;\"function\"==typeof s&&mo(t,r,s,e),i.updater=vo,t.stateNode=i,i._reactInternalFiber=t,Eo(t,r,e,n),t=Pa(null,t,r,!0,o,n)}else t.tag=0,Da(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if(\"function\"==typeof e)return Ol(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(i),e=Ki(i,e),o){case 0:t=Fa(null,t,i,e,n);break e;case 1:t=Ra(null,t,i,e,n);break e;case 11:t=Ia(null,t,i,e,n);break e;case 14:t=La(null,t,i,Ki(i.type,e),r,n);break e}throw Error(a(306,i,\"\"))}return t;case 0:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ra(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 3:if(Va(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ao(e,t),uo(t,r,null,n),(r=t.memoizedState.element)===i)_a(),t=Ka(e,t,n);else{if((i=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),Ea=t,i=xa=!0),i)for(n=Co(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Da(e,t,r,n),_a();t=t.child}return t;case 5:return jo(t),null===e&&Oa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,yn(r,i)?s=null:null!==o&&yn(r,o)&&(t.effectTag|=16),Ma(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Da(e,t,s,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ha(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oo(t,null,r,n):Da(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ia(e,t,r,i=t.elementType===r?i:Ki(r,i),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(ci(Yi,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=Rr(l,o)?0:0|(\"function\"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!pi.current){t=Ka(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===l.tag&&((u=so(n,null)).tag=2,lo(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),to(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Da(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,no(t,n),r=r(i=ro(i,o.unstable_observedBits)),t.effectTag|=1,Da(e,t,r,n),t.child;case 14:return o=Ki(i=t.type,t.pendingProps),La(e,t,i,o=Ki(i.type,o),r,n);case 15:return ja(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ki(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,mi(r)?(e=!0,bi(t)):e=!1,no(t,n),yo(t,r,i),Eo(t,r,i,n),Pa(null,t,r,!0,e,n);case 19:return Wa(e,t,n)}throw Error(a(156,t.tag))};var wl=null,xl=null;function kl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Tl(e,t,n,r){return new kl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cl(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sl(e,t,n,r,i,o){var s=2;if(r=e,\"function\"==typeof e)Ol(e)&&(s=1);else if(\"string\"==typeof e)s=5;else e:switch(e){case ne:return _l(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Tl(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ce:return(e=Tl(13,n,t,i)).type=ce,e.elementType=ce,e.expirationTime=o,e;case ue:return(e=Tl(19,n,t,i)).elementType=ue,e.expirationTime=o,e;default:if(\"object\"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case le:s=11;break e;case fe:s=14;break e;case pe:s=16,r=null;break e;case de:s=22;break e}throw Error(a(130,null==e?e:typeof e,\"\"))}return(t=Tl(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function _l(e,t,n,r){return(e=Tl(7,e,r,t)).expirationTime=n,e}function Nl(e,t,n){return(e=Tl(6,e,null,t)).expirationTime=n,e}function Al(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Il(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ll(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function jl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ml(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Fl(e,t,n,r){var i=t.current,o=Qs(),s=po.suspense;o=Ws(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(mi(c)){n=yi(n,c,l);break e}}n=l}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(i,t),Ks(i,o),o}function Rl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Pl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Vl(e,t){Pl(e,t),(e=e.alternate)&&Pl(e,t)}function Ul(e,t,n){var r=new Dl(e,t,n=null!=n&&!0===n.hydrate),i=Tl(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,oo(i),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);Ct.forEach((function(e){ht(e,t,n)})),St.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||\" react-mount-point-unstable \"!==e.nodeValue))}function Bl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if(\"function\"==typeof i){var s=i;i=function(){var e=Rl(a);s.call(e)}}Fl(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute(\"data-reactroot\"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ul(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,\"function\"==typeof i){var l=i;i=function(){var e=Rl(a);l.call(e)}}tl((function(){Fl(t,a,e,i)}))}return Rl(a)}function zl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:\"\"+r,children:e,containerInfo:t,implementation:n}}function Hl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ql(t))throw Error(a(200));return zl(e,t,null,n)}Ul.prototype.render=function(e){Fl(e,this._internalRoot,null,null)},Ul.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Fl(null,e,null,(function(){t[Cn]=null}))},mt=function(e){if(13===e.tag){var t=Wi(Qs(),150,100);Ks(e,t),Vl(e,t)}},vt=function(e){13===e.tag&&(Ks(e,3),Vl(e,3))},gt=function(e){if(13===e.tag){var t=Qs();Ks(e,t=Ws(t,e,null)),Vl(e,t)}},_=function(e,t,n){switch(t){case\"input\":if(Oe(e,n),t=n.name,\"radio\"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+t)+'][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=An(r);if(!i)throw Error(a(90));we(r),Oe(r,i)}}}break;case\"textarea\":Ie(e,n);break;case\"select\":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},j=el,M=function(e,t,n,r,i){var o=ks;ks|=4;try{return Bi(98,e.bind(null,t,n,r,i))}finally{0===(ks=o)&&Gi()}},F=function(){0==(49&ks)&&(function(){if(null!==Bs){var e=Bs;Bs=null,e.forEach((function(e,t){Ml(t,e),$s(t)})),Gi()}}(),ml())},R=function(e,t){var n=ks;ks|=2;try{return e(t)}finally{0===(ks=n)&&Gi()}};var Gl,Ql,Wl={Events:[_n,Nn,An,C,k,Rn,function(e){it(e,Fn)},I,L,$t,st,ml,{current:!1}]};Ql=(Gl={findFiberByHostInstance:Sn,bundleType:0,version:\"16.14.0\",rendererPackageName:\"react-dom\"}).findFiberByHostInstance,function(e){if(\"undefined\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},xl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},Gl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Ql?Ql(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wl,t.createPortal=Hl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if(\"function\"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&ks))throw Error(a(187));var n=ks;ks|=1;try{return Bi(99,e.bind(null,t))}finally{ks=n,Gi()}},t.hydrate=function(e,t,n){if(!ql(t))throw Error(a(200));return Bl(null,e,t,!0,n)},t.render=function(e,t,n){if(!ql(t))throw Error(a(200));return Bl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ql(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Bl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Hl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ql(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Bl(e,t,n,!1,r)},t.version=\"16.14.0\"},function(e,t,n){\"use strict\";e.exports=n(178)},function(e,t,n){\"use strict\";\n/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r,i,o,a,s;if(\"undefined\"==typeof window||\"function\"!=typeof MessageChannel){var l=null,c=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(u,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if(\"undefined\"!=typeof console){var v=window.cancelAnimationFrame;\"function\"!=typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\"function\"!=typeof v&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\")}if(\"object\"==typeof p&&\"function\"==typeof p.now)t.unstable_now=function(){return p.now()};else{var g=d.now();t.unstable_now=function(){return d.now()-g}}var y=!1,b=null,E=-1,w=5,x=0;a=function(){return t.unstable_now()>=x},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,T=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?T.postMessage(null):(y=!1,b=null)}catch(e){throw T.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,T.postMessage(null))},i=function(e,n){E=h((function(){e(t.unstable_now())}),n)},o=function(){m(E),E=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<_(i,t)))break e;e[r]=t,e[n]=i,n=r}}function C(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],A=[],D=1,I=null,L=3,j=!1,M=!1,F=!1;function R(e){for(var t=C(A);null!==t;){if(null===t.callback)S(A);else{if(!(t.startTime<=e))break;S(A),t.sortIndex=t.expirationTime,O(N,t)}t=C(A)}}function P(e){if(F=!1,R(e),!M)if(null!==C(N))M=!0,r(V);else{var t=C(A);null!==t&&i(P,t.startTime-e)}}function V(e,n){M=!1,F&&(F=!1,o()),j=!0;var r=L;try{for(R(n),I=C(N);null!==I&&(!(I.expirationTime>n)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,L=I.priorityLevel;var l=s(I.expirationTime<=n);n=t.unstable_now(),\"function\"==typeof l?I.callback=l:I===C(N)&&S(N),R(n)}else S(N);I=C(N)}if(null!==I)var c=!0;else{var u=C(A);null!==u&&i(P,u.startTime-n),c=!1}return c}finally{I=null,L=r,j=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var q=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||j||(M=!0,r(V))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return C(N)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=q,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if(\"object\"==typeof a&&null!==a){var l=a.delay;l=\"number\"==typeof l&&0<l?s+l:s,a=\"number\"==typeof a.timeout?a.timeout:U(e)}else a=U(e),l=s;return e={id:D++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,O(A,e),null===C(N)&&e===C(A)&&(F?o():F=!0,i(P,l-s))):(e.sortIndex=a,O(N,e),M||j||(M=!0,r(V))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=C(N);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<I.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},function(e,t,n){var r=function(e){\"use strict\";var t=Object.prototype,n=t.hasOwnProperty,r=\"function\"==typeof Symbol?Symbol:{},i=r.iterator||\"@@iterator\",o=r.asyncIterator||\"@@asyncIterator\",a=r.toStringTag||\"@@toStringTag\";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},\"\")}catch(e){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),a=new k(r||[]);return o._invoke=function(e,t,n){var r=\"suspendedStart\";return function(i,o){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===u)continue;return s}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var l=c(e,t,n);if(\"normal\"===l.type){if(r=n.done?\"completed\":\"suspendedYield\",l.arg===u)continue;return{value:l.arg,done:n.done}}\"throw\"===l.type&&(r=\"completed\",n.method=\"throw\",n.arg=l.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(e){return{type:\"throw\",arg:e}}}e.wrap=l;var u={};function f(){}function p(){}function d(){}var h={};h[i]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(T([])));v&&v!==t&&n.call(v,i)&&(h=v);var g=d.prototype=f.prototype=Object.create(h);function y(e){[\"next\",\"throw\",\"return\"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var l=c(e[i],e,o);if(\"throw\"!==l.type){var u=l.arg,f=u.value;return f&&\"object\"==typeof f&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){r(\"next\",e,a,s)}),(function(e){r(\"throw\",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r(\"throw\",e,a,s)}))}s(l.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator.return&&(t.method=\"return\",t.arg=void 0,E(e,t),\"throw\"===t.method))return u;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return u}var r=c(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,u;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,u):i:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,u)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(w,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=g.constructor=d,d.constructor=p,p.displayName=s(d,a,\"GeneratorFunction\"),e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===p||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,a,\"GeneratorFunction\")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,\"Generator\"),g[i]=function(){return this},g.toString=function(){return\"[object Generator]\"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if(\"root\"===o.tryLoc)return r(\"end\");if(o.tryLoc<=this.prev){var s=n.call(o,\"catchLoc\"),l=n.call(o,\"finallyLoc\");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,\"finallyLoc\")&&this.prev<i.finallyLoc){var o=i;break}}o&&(\"break\"===e||\"continue\"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=\"next\",this.next=o.finallyLoc,u):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;x(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function(\"r\",\"regeneratorRuntime = r\")(r)}},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},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},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":t.blur();break;default:t=null}return e.removeAllRanges(),function(){\"Caret\"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},function(e,t,n){\"use strict\";var r=n(17),i=n(191),o=n(195),a=n(196),s=n(204),l=n(218),c=n(231),u=n(113),f=n(233),p={default:n(235),zero:n(236),commonmark:n(237)},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 g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=f.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.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 l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,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=p[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},function(e){e.exports=JSON.parse('{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Abreve\":\"Ă\",\"abreve\":\"ă\",\"ac\":\"∾\",\"acd\":\"∿\",\"acE\":\"∾̳\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"Acy\":\"А\",\"acy\":\"а\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"af\":\"⁡\",\"Afr\":\"𝔄\",\"afr\":\"𝔞\",\"Agrave\":\"À\",\"agrave\":\"à\",\"alefsym\":\"ℵ\",\"aleph\":\"ℵ\",\"Alpha\":\"Α\",\"alpha\":\"α\",\"Amacr\":\"Ā\",\"amacr\":\"ā\",\"amalg\":\"⨿\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"⩕\",\"And\":\"⩓\",\"and\":\"∧\",\"andd\":\"⩜\",\"andslope\":\"⩘\",\"andv\":\"⩚\",\"ang\":\"∠\",\"ange\":\"⦤\",\"angle\":\"∠\",\"angmsdaa\":\"⦨\",\"angmsdab\":\"⦩\",\"angmsdac\":\"⦪\",\"angmsdad\":\"⦫\",\"angmsdae\":\"⦬\",\"angmsdaf\":\"⦭\",\"angmsdag\":\"⦮\",\"angmsdah\":\"⦯\",\"angmsd\":\"∡\",\"angrt\":\"∟\",\"angrtvb\":\"⊾\",\"angrtvbd\":\"⦝\",\"angsph\":\"∢\",\"angst\":\"Å\",\"angzarr\":\"⍼\",\"Aogon\":\"Ą\",\"aogon\":\"ą\",\"Aopf\":\"𝔸\",\"aopf\":\"𝕒\",\"apacir\":\"⩯\",\"ap\":\"≈\",\"apE\":\"⩰\",\"ape\":\"≊\",\"apid\":\"≋\",\"apos\":\"\\'\",\"ApplyFunction\":\"⁡\",\"approx\":\"≈\",\"approxeq\":\"≊\",\"Aring\":\"Å\",\"aring\":\"å\",\"Ascr\":\"𝒜\",\"ascr\":\"𝒶\",\"Assign\":\"≔\",\"ast\":\"*\",\"asymp\":\"≈\",\"asympeq\":\"≍\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"awconint\":\"∳\",\"awint\":\"⨑\",\"backcong\":\"≌\",\"backepsilon\":\"϶\",\"backprime\":\"‵\",\"backsim\":\"∽\",\"backsimeq\":\"⋍\",\"Backslash\":\"∖\",\"Barv\":\"⫧\",\"barvee\":\"⊽\",\"barwed\":\"⌅\",\"Barwed\":\"⌆\",\"barwedge\":\"⌅\",\"bbrk\":\"⎵\",\"bbrktbrk\":\"⎶\",\"bcong\":\"≌\",\"Bcy\":\"Б\",\"bcy\":\"б\",\"bdquo\":\"„\",\"becaus\":\"∵\",\"because\":\"∵\",\"Because\":\"∵\",\"bemptyv\":\"⦰\",\"bepsi\":\"϶\",\"bernou\":\"ℬ\",\"Bernoullis\":\"ℬ\",\"Beta\":\"Β\",\"beta\":\"β\",\"beth\":\"ℶ\",\"between\":\"≬\",\"Bfr\":\"𝔅\",\"bfr\":\"𝔟\",\"bigcap\":\"⋂\",\"bigcirc\":\"◯\",\"bigcup\":\"⋃\",\"bigodot\":\"⨀\",\"bigoplus\":\"⨁\",\"bigotimes\":\"⨂\",\"bigsqcup\":\"⨆\",\"bigstar\":\"★\",\"bigtriangledown\":\"▽\",\"bigtriangleup\":\"△\",\"biguplus\":\"⨄\",\"bigvee\":\"⋁\",\"bigwedge\":\"⋀\",\"bkarow\":\"⤍\",\"blacklozenge\":\"⧫\",\"blacksquare\":\"▪\",\"blacktriangle\":\"▴\",\"blacktriangledown\":\"▾\",\"blacktriangleleft\":\"◂\",\"blacktriangleright\":\"▸\",\"blank\":\"␣\",\"blk12\":\"▒\",\"blk14\":\"░\",\"blk34\":\"▓\",\"block\":\"█\",\"bne\":\"=⃥\",\"bnequiv\":\"≡⃥\",\"bNot\":\"⫭\",\"bnot\":\"⌐\",\"Bopf\":\"𝔹\",\"bopf\":\"𝕓\",\"bot\":\"⊥\",\"bottom\":\"⊥\",\"bowtie\":\"⋈\",\"boxbox\":\"⧉\",\"boxdl\":\"┐\",\"boxdL\":\"╕\",\"boxDl\":\"╖\",\"boxDL\":\"╗\",\"boxdr\":\"┌\",\"boxdR\":\"╒\",\"boxDr\":\"╓\",\"boxDR\":\"╔\",\"boxh\":\"─\",\"boxH\":\"═\",\"boxhd\":\"┬\",\"boxHd\":\"╤\",\"boxhD\":\"╥\",\"boxHD\":\"╦\",\"boxhu\":\"┴\",\"boxHu\":\"╧\",\"boxhU\":\"╨\",\"boxHU\":\"╩\",\"boxminus\":\"⊟\",\"boxplus\":\"⊞\",\"boxtimes\":\"⊠\",\"boxul\":\"┘\",\"boxuL\":\"╛\",\"boxUl\":\"╜\",\"boxUL\":\"╝\",\"boxur\":\"└\",\"boxuR\":\"╘\",\"boxUr\":\"╙\",\"boxUR\":\"╚\",\"boxv\":\"│\",\"boxV\":\"║\",\"boxvh\":\"┼\",\"boxvH\":\"╪\",\"boxVh\":\"╫\",\"boxVH\":\"╬\",\"boxvl\":\"┤\",\"boxvL\":\"╡\",\"boxVl\":\"╢\",\"boxVL\":\"╣\",\"boxvr\":\"├\",\"boxvR\":\"╞\",\"boxVr\":\"╟\",\"boxVR\":\"╠\",\"bprime\":\"‵\",\"breve\":\"˘\",\"Breve\":\"˘\",\"brvbar\":\"¦\",\"bscr\":\"𝒷\",\"Bscr\":\"ℬ\",\"bsemi\":\"⁏\",\"bsim\":\"∽\",\"bsime\":\"⋍\",\"bsolb\":\"⧅\",\"bsol\":\"\\\\\\\\\",\"bsolhsub\":\"⟈\",\"bull\":\"•\",\"bullet\":\"•\",\"bump\":\"≎\",\"bumpE\":\"⪮\",\"bumpe\":\"≏\",\"Bumpeq\":\"≎\",\"bumpeq\":\"≏\",\"Cacute\":\"Ć\",\"cacute\":\"ć\",\"capand\":\"⩄\",\"capbrcup\":\"⩉\",\"capcap\":\"⩋\",\"cap\":\"∩\",\"Cap\":\"⋒\",\"capcup\":\"⩇\",\"capdot\":\"⩀\",\"CapitalDifferentialD\":\"ⅅ\",\"caps\":\"∩︀\",\"caret\":\"⁁\",\"caron\":\"ˇ\",\"Cayleys\":\"ℭ\",\"ccaps\":\"⩍\",\"Ccaron\":\"Č\",\"ccaron\":\"č\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"Ccirc\":\"Ĉ\",\"ccirc\":\"ĉ\",\"Cconint\":\"∰\",\"ccups\":\"⩌\",\"ccupssm\":\"⩐\",\"Cdot\":\"Ċ\",\"cdot\":\"ċ\",\"cedil\":\"¸\",\"Cedilla\":\"¸\",\"cemptyv\":\"⦲\",\"cent\":\"¢\",\"centerdot\":\"·\",\"CenterDot\":\"·\",\"cfr\":\"𝔠\",\"Cfr\":\"ℭ\",\"CHcy\":\"Ч\",\"chcy\":\"ч\",\"check\":\"✓\",\"checkmark\":\"✓\",\"Chi\":\"Χ\",\"chi\":\"χ\",\"circ\":\"ˆ\",\"circeq\":\"≗\",\"circlearrowleft\":\"↺\",\"circlearrowright\":\"↻\",\"circledast\":\"⊛\",\"circledcirc\":\"⊚\",\"circleddash\":\"⊝\",\"CircleDot\":\"⊙\",\"circledR\":\"®\",\"circledS\":\"Ⓢ\",\"CircleMinus\":\"⊖\",\"CirclePlus\":\"⊕\",\"CircleTimes\":\"⊗\",\"cir\":\"○\",\"cirE\":\"⧃\",\"cire\":\"≗\",\"cirfnint\":\"⨐\",\"cirmid\":\"⫯\",\"cirscir\":\"⧂\",\"ClockwiseContourIntegral\":\"∲\",\"CloseCurlyDoubleQuote\":\"”\",\"CloseCurlyQuote\":\"’\",\"clubs\":\"♣\",\"clubsuit\":\"♣\",\"colon\":\":\",\"Colon\":\"∷\",\"Colone\":\"⩴\",\"colone\":\"≔\",\"coloneq\":\"≔\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"∁\",\"compfn\":\"∘\",\"complement\":\"∁\",\"complexes\":\"ℂ\",\"cong\":\"≅\",\"congdot\":\"⩭\",\"Congruent\":\"≡\",\"conint\":\"∮\",\"Conint\":\"∯\",\"ContourIntegral\":\"∮\",\"copf\":\"𝕔\",\"Copf\":\"ℂ\",\"coprod\":\"∐\",\"Coproduct\":\"∐\",\"copy\":\"©\",\"COPY\":\"©\",\"copysr\":\"℗\",\"CounterClockwiseContourIntegral\":\"∳\",\"crarr\":\"↵\",\"cross\":\"✗\",\"Cross\":\"⨯\",\"Cscr\":\"𝒞\",\"cscr\":\"𝒸\",\"csub\":\"⫏\",\"csube\":\"⫑\",\"csup\":\"⫐\",\"csupe\":\"⫒\",\"ctdot\":\"⋯\",\"cudarrl\":\"⤸\",\"cudarrr\":\"⤵\",\"cuepr\":\"⋞\",\"cuesc\":\"⋟\",\"cularr\":\"↶\",\"cularrp\":\"⤽\",\"cupbrcap\":\"⩈\",\"cupcap\":\"⩆\",\"CupCap\":\"≍\",\"cup\":\"∪\",\"Cup\":\"⋓\",\"cupcup\":\"⩊\",\"cupdot\":\"⊍\",\"cupor\":\"⩅\",\"cups\":\"∪︀\",\"curarr\":\"↷\",\"curarrm\":\"⤼\",\"curlyeqprec\":\"⋞\",\"curlyeqsucc\":\"⋟\",\"curlyvee\":\"⋎\",\"curlywedge\":\"⋏\",\"curren\":\"¤\",\"curvearrowleft\":\"↶\",\"curvearrowright\":\"↷\",\"cuvee\":\"⋎\",\"cuwed\":\"⋏\",\"cwconint\":\"∲\",\"cwint\":\"∱\",\"cylcty\":\"⌭\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"daleth\":\"ℸ\",\"darr\":\"↓\",\"Darr\":\"↡\",\"dArr\":\"⇓\",\"dash\":\"‐\",\"Dashv\":\"⫤\",\"dashv\":\"⊣\",\"dbkarow\":\"⤏\",\"dblac\":\"˝\",\"Dcaron\":\"Ď\",\"dcaron\":\"ď\",\"Dcy\":\"Д\",\"dcy\":\"д\",\"ddagger\":\"‡\",\"ddarr\":\"⇊\",\"DD\":\"ⅅ\",\"dd\":\"ⅆ\",\"DDotrahd\":\"⤑\",\"ddotseq\":\"⩷\",\"deg\":\"°\",\"Del\":\"∇\",\"Delta\":\"Δ\",\"delta\":\"δ\",\"demptyv\":\"⦱\",\"dfisht\":\"⥿\",\"Dfr\":\"𝔇\",\"dfr\":\"𝔡\",\"dHar\":\"⥥\",\"dharl\":\"⇃\",\"dharr\":\"⇂\",\"DiacriticalAcute\":\"´\",\"DiacriticalDot\":\"˙\",\"DiacriticalDoubleAcute\":\"˝\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"˜\",\"diam\":\"⋄\",\"diamond\":\"⋄\",\"Diamond\":\"⋄\",\"diamondsuit\":\"♦\",\"diams\":\"♦\",\"die\":\"¨\",\"DifferentialD\":\"ⅆ\",\"digamma\":\"ϝ\",\"disin\":\"⋲\",\"div\":\"÷\",\"divide\":\"÷\",\"divideontimes\":\"⋇\",\"divonx\":\"⋇\",\"DJcy\":\"Ђ\",\"djcy\":\"ђ\",\"dlcorn\":\"⌞\",\"dlcrop\":\"⌍\",\"dollar\":\"$\",\"Dopf\":\"𝔻\",\"dopf\":\"𝕕\",\"Dot\":\"¨\",\"dot\":\"˙\",\"DotDot\":\"⃜\",\"doteq\":\"≐\",\"doteqdot\":\"≑\",\"DotEqual\":\"≐\",\"dotminus\":\"∸\",\"dotplus\":\"∔\",\"dotsquare\":\"⊡\",\"doublebarwedge\":\"⌆\",\"DoubleContourIntegral\":\"∯\",\"DoubleDot\":\"¨\",\"DoubleDownArrow\":\"⇓\",\"DoubleLeftArrow\":\"⇐\",\"DoubleLeftRightArrow\":\"⇔\",\"DoubleLeftTee\":\"⫤\",\"DoubleLongLeftArrow\":\"⟸\",\"DoubleLongLeftRightArrow\":\"⟺\",\"DoubleLongRightArrow\":\"⟹\",\"DoubleRightArrow\":\"⇒\",\"DoubleRightTee\":\"⊨\",\"DoubleUpArrow\":\"⇑\",\"DoubleUpDownArrow\":\"⇕\",\"DoubleVerticalBar\":\"∥\",\"DownArrowBar\":\"⤓\",\"downarrow\":\"↓\",\"DownArrow\":\"↓\",\"Downarrow\":\"⇓\",\"DownArrowUpArrow\":\"⇵\",\"DownBreve\":\"̑\",\"downdownarrows\":\"⇊\",\"downharpoonleft\":\"⇃\",\"downharpoonright\":\"⇂\",\"DownLeftRightVector\":\"⥐\",\"DownLeftTeeVector\":\"⥞\",\"DownLeftVectorBar\":\"⥖\",\"DownLeftVector\":\"↽\",\"DownRightTeeVector\":\"⥟\",\"DownRightVectorBar\":\"⥗\",\"DownRightVector\":\"⇁\",\"DownTeeArrow\":\"↧\",\"DownTee\":\"⊤\",\"drbkarow\":\"⤐\",\"drcorn\":\"⌟\",\"drcrop\":\"⌌\",\"Dscr\":\"𝒟\",\"dscr\":\"𝒹\",\"DScy\":\"Ѕ\",\"dscy\":\"ѕ\",\"dsol\":\"⧶\",\"Dstrok\":\"Đ\",\"dstrok\":\"đ\",\"dtdot\":\"⋱\",\"dtri\":\"▿\",\"dtrif\":\"▾\",\"duarr\":\"⇵\",\"duhar\":\"⥯\",\"dwangle\":\"⦦\",\"DZcy\":\"Џ\",\"dzcy\":\"џ\",\"dzigrarr\":\"⟿\",\"Eacute\":\"É\",\"eacute\":\"é\",\"easter\":\"⩮\",\"Ecaron\":\"Ě\",\"ecaron\":\"ě\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"ecir\":\"≖\",\"ecolon\":\"≕\",\"Ecy\":\"Э\",\"ecy\":\"э\",\"eDDot\":\"⩷\",\"Edot\":\"Ė\",\"edot\":\"ė\",\"eDot\":\"≑\",\"ee\":\"ⅇ\",\"efDot\":\"≒\",\"Efr\":\"𝔈\",\"efr\":\"𝔢\",\"eg\":\"⪚\",\"Egrave\":\"È\",\"egrave\":\"è\",\"egs\":\"⪖\",\"egsdot\":\"⪘\",\"el\":\"⪙\",\"Element\":\"∈\",\"elinters\":\"⏧\",\"ell\":\"ℓ\",\"els\":\"⪕\",\"elsdot\":\"⪗\",\"Emacr\":\"Ē\",\"emacr\":\"ē\",\"empty\":\"∅\",\"emptyset\":\"∅\",\"EmptySmallSquare\":\"◻\",\"emptyv\":\"∅\",\"EmptyVerySmallSquare\":\"▫\",\"emsp13\":\" \",\"emsp14\":\" \",\"emsp\":\" \",\"ENG\":\"Ŋ\",\"eng\":\"ŋ\",\"ensp\":\" \",\"Eogon\":\"Ę\",\"eogon\":\"ę\",\"Eopf\":\"𝔼\",\"eopf\":\"𝕖\",\"epar\":\"⋕\",\"eparsl\":\"⧣\",\"eplus\":\"⩱\",\"epsi\":\"ε\",\"Epsilon\":\"Ε\",\"epsilon\":\"ε\",\"epsiv\":\"ϵ\",\"eqcirc\":\"≖\",\"eqcolon\":\"≕\",\"eqsim\":\"≂\",\"eqslantgtr\":\"⪖\",\"eqslantless\":\"⪕\",\"Equal\":\"⩵\",\"equals\":\"=\",\"EqualTilde\":\"≂\",\"equest\":\"≟\",\"Equilibrium\":\"⇌\",\"equiv\":\"≡\",\"equivDD\":\"⩸\",\"eqvparsl\":\"⧥\",\"erarr\":\"⥱\",\"erDot\":\"≓\",\"escr\":\"ℯ\",\"Escr\":\"ℰ\",\"esdot\":\"≐\",\"Esim\":\"⩳\",\"esim\":\"≂\",\"Eta\":\"Η\",\"eta\":\"η\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"euro\":\"€\",\"excl\":\"!\",\"exist\":\"∃\",\"Exists\":\"∃\",\"expectation\":\"ℰ\",\"exponentiale\":\"ⅇ\",\"ExponentialE\":\"ⅇ\",\"fallingdotseq\":\"≒\",\"Fcy\":\"Ф\",\"fcy\":\"ф\",\"female\":\"♀\",\"ffilig\":\"ffi\",\"fflig\":\"ff\",\"ffllig\":\"ffl\",\"Ffr\":\"𝔉\",\"ffr\":\"𝔣\",\"filig\":\"fi\",\"FilledSmallSquare\":\"◼\",\"FilledVerySmallSquare\":\"▪\",\"fjlig\":\"fj\",\"flat\":\"♭\",\"fllig\":\"fl\",\"fltns\":\"▱\",\"fnof\":\"ƒ\",\"Fopf\":\"𝔽\",\"fopf\":\"𝕗\",\"forall\":\"∀\",\"ForAll\":\"∀\",\"fork\":\"⋔\",\"forkv\":\"⫙\",\"Fouriertrf\":\"ℱ\",\"fpartint\":\"⨍\",\"frac12\":\"½\",\"frac13\":\"⅓\",\"frac14\":\"¼\",\"frac15\":\"⅕\",\"frac16\":\"⅙\",\"frac18\":\"⅛\",\"frac23\":\"⅔\",\"frac25\":\"⅖\",\"frac34\":\"¾\",\"frac35\":\"⅗\",\"frac38\":\"⅜\",\"frac45\":\"⅘\",\"frac56\":\"⅚\",\"frac58\":\"⅝\",\"frac78\":\"⅞\",\"frasl\":\"⁄\",\"frown\":\"⌢\",\"fscr\":\"𝒻\",\"Fscr\":\"ℱ\",\"gacute\":\"ǵ\",\"Gamma\":\"Γ\",\"gamma\":\"γ\",\"Gammad\":\"Ϝ\",\"gammad\":\"ϝ\",\"gap\":\"⪆\",\"Gbreve\":\"Ğ\",\"gbreve\":\"ğ\",\"Gcedil\":\"Ģ\",\"Gcirc\":\"Ĝ\",\"gcirc\":\"ĝ\",\"Gcy\":\"Г\",\"gcy\":\"г\",\"Gdot\":\"Ġ\",\"gdot\":\"ġ\",\"ge\":\"≥\",\"gE\":\"≧\",\"gEl\":\"⪌\",\"gel\":\"⋛\",\"geq\":\"≥\",\"geqq\":\"≧\",\"geqslant\":\"⩾\",\"gescc\":\"⪩\",\"ges\":\"⩾\",\"gesdot\":\"⪀\",\"gesdoto\":\"⪂\",\"gesdotol\":\"⪄\",\"gesl\":\"⋛︀\",\"gesles\":\"⪔\",\"Gfr\":\"𝔊\",\"gfr\":\"𝔤\",\"gg\":\"≫\",\"Gg\":\"⋙\",\"ggg\":\"⋙\",\"gimel\":\"ℷ\",\"GJcy\":\"Ѓ\",\"gjcy\":\"ѓ\",\"gla\":\"⪥\",\"gl\":\"≷\",\"glE\":\"⪒\",\"glj\":\"⪤\",\"gnap\":\"⪊\",\"gnapprox\":\"⪊\",\"gne\":\"⪈\",\"gnE\":\"≩\",\"gneq\":\"⪈\",\"gneqq\":\"≩\",\"gnsim\":\"⋧\",\"Gopf\":\"𝔾\",\"gopf\":\"𝕘\",\"grave\":\"`\",\"GreaterEqual\":\"≥\",\"GreaterEqualLess\":\"⋛\",\"GreaterFullEqual\":\"≧\",\"GreaterGreater\":\"⪢\",\"GreaterLess\":\"≷\",\"GreaterSlantEqual\":\"⩾\",\"GreaterTilde\":\"≳\",\"Gscr\":\"𝒢\",\"gscr\":\"ℊ\",\"gsim\":\"≳\",\"gsime\":\"⪎\",\"gsiml\":\"⪐\",\"gtcc\":\"⪧\",\"gtcir\":\"⩺\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"≫\",\"gtdot\":\"⋗\",\"gtlPar\":\"⦕\",\"gtquest\":\"⩼\",\"gtrapprox\":\"⪆\",\"gtrarr\":\"⥸\",\"gtrdot\":\"⋗\",\"gtreqless\":\"⋛\",\"gtreqqless\":\"⪌\",\"gtrless\":\"≷\",\"gtrsim\":\"≳\",\"gvertneqq\":\"≩︀\",\"gvnE\":\"≩︀\",\"Hacek\":\"ˇ\",\"hairsp\":\" \",\"half\":\"½\",\"hamilt\":\"ℋ\",\"HARDcy\":\"Ъ\",\"hardcy\":\"ъ\",\"harrcir\":\"⥈\",\"harr\":\"↔\",\"hArr\":\"⇔\",\"harrw\":\"↭\",\"Hat\":\"^\",\"hbar\":\"ℏ\",\"Hcirc\":\"Ĥ\",\"hcirc\":\"ĥ\",\"hearts\":\"♥\",\"heartsuit\":\"♥\",\"hellip\":\"…\",\"hercon\":\"⊹\",\"hfr\":\"𝔥\",\"Hfr\":\"ℌ\",\"HilbertSpace\":\"ℋ\",\"hksearow\":\"⤥\",\"hkswarow\":\"⤦\",\"hoarr\":\"⇿\",\"homtht\":\"∻\",\"hookleftarrow\":\"↩\",\"hookrightarrow\":\"↪\",\"hopf\":\"𝕙\",\"Hopf\":\"ℍ\",\"horbar\":\"―\",\"HorizontalLine\":\"─\",\"hscr\":\"𝒽\",\"Hscr\":\"ℋ\",\"hslash\":\"ℏ\",\"Hstrok\":\"Ħ\",\"hstrok\":\"ħ\",\"HumpDownHump\":\"≎\",\"HumpEqual\":\"≏\",\"hybull\":\"⁃\",\"hyphen\":\"‐\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"ic\":\"⁣\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"Icy\":\"И\",\"icy\":\"и\",\"Idot\":\"İ\",\"IEcy\":\"Е\",\"iecy\":\"е\",\"iexcl\":\"¡\",\"iff\":\"⇔\",\"ifr\":\"𝔦\",\"Ifr\":\"ℑ\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"ii\":\"ⅈ\",\"iiiint\":\"⨌\",\"iiint\":\"∭\",\"iinfin\":\"⧜\",\"iiota\":\"℩\",\"IJlig\":\"IJ\",\"ijlig\":\"ij\",\"Imacr\":\"Ī\",\"imacr\":\"ī\",\"image\":\"ℑ\",\"ImaginaryI\":\"ⅈ\",\"imagline\":\"ℐ\",\"imagpart\":\"ℑ\",\"imath\":\"ı\",\"Im\":\"ℑ\",\"imof\":\"⊷\",\"imped\":\"Ƶ\",\"Implies\":\"⇒\",\"incare\":\"℅\",\"in\":\"∈\",\"infin\":\"∞\",\"infintie\":\"⧝\",\"inodot\":\"ı\",\"intcal\":\"⊺\",\"int\":\"∫\",\"Int\":\"∬\",\"integers\":\"ℤ\",\"Integral\":\"∫\",\"intercal\":\"⊺\",\"Intersection\":\"⋂\",\"intlarhk\":\"⨗\",\"intprod\":\"⨼\",\"InvisibleComma\":\"⁣\",\"InvisibleTimes\":\"⁢\",\"IOcy\":\"Ё\",\"iocy\":\"ё\",\"Iogon\":\"Į\",\"iogon\":\"į\",\"Iopf\":\"𝕀\",\"iopf\":\"𝕚\",\"Iota\":\"Ι\",\"iota\":\"ι\",\"iprod\":\"⨼\",\"iquest\":\"¿\",\"iscr\":\"𝒾\",\"Iscr\":\"ℐ\",\"isin\":\"∈\",\"isindot\":\"⋵\",\"isinE\":\"⋹\",\"isins\":\"⋴\",\"isinsv\":\"⋳\",\"isinv\":\"∈\",\"it\":\"⁢\",\"Itilde\":\"Ĩ\",\"itilde\":\"ĩ\",\"Iukcy\":\"І\",\"iukcy\":\"і\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"Jcirc\":\"Ĵ\",\"jcirc\":\"ĵ\",\"Jcy\":\"Й\",\"jcy\":\"й\",\"Jfr\":\"𝔍\",\"jfr\":\"𝔧\",\"jmath\":\"ȷ\",\"Jopf\":\"𝕁\",\"jopf\":\"𝕛\",\"Jscr\":\"𝒥\",\"jscr\":\"𝒿\",\"Jsercy\":\"Ј\",\"jsercy\":\"ј\",\"Jukcy\":\"Є\",\"jukcy\":\"є\",\"Kappa\":\"Κ\",\"kappa\":\"κ\",\"kappav\":\"ϰ\",\"Kcedil\":\"Ķ\",\"kcedil\":\"ķ\",\"Kcy\":\"К\",\"kcy\":\"к\",\"Kfr\":\"𝔎\",\"kfr\":\"𝔨\",\"kgreen\":\"ĸ\",\"KHcy\":\"Х\",\"khcy\":\"х\",\"KJcy\":\"Ќ\",\"kjcy\":\"ќ\",\"Kopf\":\"𝕂\",\"kopf\":\"𝕜\",\"Kscr\":\"𝒦\",\"kscr\":\"𝓀\",\"lAarr\":\"⇚\",\"Lacute\":\"Ĺ\",\"lacute\":\"ĺ\",\"laemptyv\":\"⦴\",\"lagran\":\"ℒ\",\"Lambda\":\"Λ\",\"lambda\":\"λ\",\"lang\":\"⟨\",\"Lang\":\"⟪\",\"langd\":\"⦑\",\"langle\":\"⟨\",\"lap\":\"⪅\",\"Laplacetrf\":\"ℒ\",\"laquo\":\"«\",\"larrb\":\"⇤\",\"larrbfs\":\"⤟\",\"larr\":\"←\",\"Larr\":\"↞\",\"lArr\":\"⇐\",\"larrfs\":\"⤝\",\"larrhk\":\"↩\",\"larrlp\":\"↫\",\"larrpl\":\"⤹\",\"larrsim\":\"⥳\",\"larrtl\":\"↢\",\"latail\":\"⤙\",\"lAtail\":\"⤛\",\"lat\":\"⪫\",\"late\":\"⪭\",\"lates\":\"⪭︀\",\"lbarr\":\"⤌\",\"lBarr\":\"⤎\",\"lbbrk\":\"❲\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"⦋\",\"lbrksld\":\"⦏\",\"lbrkslu\":\"⦍\",\"Lcaron\":\"Ľ\",\"lcaron\":\"ľ\",\"Lcedil\":\"Ļ\",\"lcedil\":\"ļ\",\"lceil\":\"⌈\",\"lcub\":\"{\",\"Lcy\":\"Л\",\"lcy\":\"л\",\"ldca\":\"⤶\",\"ldquo\":\"“\",\"ldquor\":\"„\",\"ldrdhar\":\"⥧\",\"ldrushar\":\"⥋\",\"ldsh\":\"↲\",\"le\":\"≤\",\"lE\":\"≦\",\"LeftAngleBracket\":\"⟨\",\"LeftArrowBar\":\"⇤\",\"leftarrow\":\"←\",\"LeftArrow\":\"←\",\"Leftarrow\":\"⇐\",\"LeftArrowRightArrow\":\"⇆\",\"leftarrowtail\":\"↢\",\"LeftCeiling\":\"⌈\",\"LeftDoubleBracket\":\"⟦\",\"LeftDownTeeVector\":\"⥡\",\"LeftDownVectorBar\":\"⥙\",\"LeftDownVector\":\"⇃\",\"LeftFloor\":\"⌊\",\"leftharpoondown\":\"↽\",\"leftharpoonup\":\"↼\",\"leftleftarrows\":\"⇇\",\"leftrightarrow\":\"↔\",\"LeftRightArrow\":\"↔\",\"Leftrightarrow\":\"⇔\",\"leftrightarrows\":\"⇆\",\"leftrightharpoons\":\"⇋\",\"leftrightsquigarrow\":\"↭\",\"LeftRightVector\":\"⥎\",\"LeftTeeArrow\":\"↤\",\"LeftTee\":\"⊣\",\"LeftTeeVector\":\"⥚\",\"leftthreetimes\":\"⋋\",\"LeftTriangleBar\":\"⧏\",\"LeftTriangle\":\"⊲\",\"LeftTriangleEqual\":\"⊴\",\"LeftUpDownVector\":\"⥑\",\"LeftUpTeeVector\":\"⥠\",\"LeftUpVectorBar\":\"⥘\",\"LeftUpVector\":\"↿\",\"LeftVectorBar\":\"⥒\",\"LeftVector\":\"↼\",\"lEg\":\"⪋\",\"leg\":\"⋚\",\"leq\":\"≤\",\"leqq\":\"≦\",\"leqslant\":\"⩽\",\"lescc\":\"⪨\",\"les\":\"⩽\",\"lesdot\":\"⩿\",\"lesdoto\":\"⪁\",\"lesdotor\":\"⪃\",\"lesg\":\"⋚︀\",\"lesges\":\"⪓\",\"lessapprox\":\"⪅\",\"lessdot\":\"⋖\",\"lesseqgtr\":\"⋚\",\"lesseqqgtr\":\"⪋\",\"LessEqualGreater\":\"⋚\",\"LessFullEqual\":\"≦\",\"LessGreater\":\"≶\",\"lessgtr\":\"≶\",\"LessLess\":\"⪡\",\"lesssim\":\"≲\",\"LessSlantEqual\":\"⩽\",\"LessTilde\":\"≲\",\"lfisht\":\"⥼\",\"lfloor\":\"⌊\",\"Lfr\":\"𝔏\",\"lfr\":\"𝔩\",\"lg\":\"≶\",\"lgE\":\"⪑\",\"lHar\":\"⥢\",\"lhard\":\"↽\",\"lharu\":\"↼\",\"lharul\":\"⥪\",\"lhblk\":\"▄\",\"LJcy\":\"Љ\",\"ljcy\":\"љ\",\"llarr\":\"⇇\",\"ll\":\"≪\",\"Ll\":\"⋘\",\"llcorner\":\"⌞\",\"Lleftarrow\":\"⇚\",\"llhard\":\"⥫\",\"lltri\":\"◺\",\"Lmidot\":\"Ŀ\",\"lmidot\":\"ŀ\",\"lmoustache\":\"⎰\",\"lmoust\":\"⎰\",\"lnap\":\"⪉\",\"lnapprox\":\"⪉\",\"lne\":\"⪇\",\"lnE\":\"≨\",\"lneq\":\"⪇\",\"lneqq\":\"≨\",\"lnsim\":\"⋦\",\"loang\":\"⟬\",\"loarr\":\"⇽\",\"lobrk\":\"⟦\",\"longleftarrow\":\"⟵\",\"LongLeftArrow\":\"⟵\",\"Longleftarrow\":\"⟸\",\"longleftrightarrow\":\"⟷\",\"LongLeftRightArrow\":\"⟷\",\"Longleftrightarrow\":\"⟺\",\"longmapsto\":\"⟼\",\"longrightarrow\":\"⟶\",\"LongRightArrow\":\"⟶\",\"Longrightarrow\":\"⟹\",\"looparrowleft\":\"↫\",\"looparrowright\":\"↬\",\"lopar\":\"⦅\",\"Lopf\":\"𝕃\",\"lopf\":\"𝕝\",\"loplus\":\"⨭\",\"lotimes\":\"⨴\",\"lowast\":\"∗\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"↙\",\"LowerRightArrow\":\"↘\",\"loz\":\"◊\",\"lozenge\":\"◊\",\"lozf\":\"⧫\",\"lpar\":\"(\",\"lparlt\":\"⦓\",\"lrarr\":\"⇆\",\"lrcorner\":\"⌟\",\"lrhar\":\"⇋\",\"lrhard\":\"⥭\",\"lrm\":\"‎\",\"lrtri\":\"⊿\",\"lsaquo\":\"‹\",\"lscr\":\"𝓁\",\"Lscr\":\"ℒ\",\"lsh\":\"↰\",\"Lsh\":\"↰\",\"lsim\":\"≲\",\"lsime\":\"⪍\",\"lsimg\":\"⪏\",\"lsqb\":\"[\",\"lsquo\":\"‘\",\"lsquor\":\"‚\",\"Lstrok\":\"Ł\",\"lstrok\":\"ł\",\"ltcc\":\"⪦\",\"ltcir\":\"⩹\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"≪\",\"ltdot\":\"⋖\",\"lthree\":\"⋋\",\"ltimes\":\"⋉\",\"ltlarr\":\"⥶\",\"ltquest\":\"⩻\",\"ltri\":\"◃\",\"ltrie\":\"⊴\",\"ltrif\":\"◂\",\"ltrPar\":\"⦖\",\"lurdshar\":\"⥊\",\"luruhar\":\"⥦\",\"lvertneqq\":\"≨︀\",\"lvnE\":\"≨︀\",\"macr\":\"¯\",\"male\":\"♂\",\"malt\":\"✠\",\"maltese\":\"✠\",\"Map\":\"⤅\",\"map\":\"↦\",\"mapsto\":\"↦\",\"mapstodown\":\"↧\",\"mapstoleft\":\"↤\",\"mapstoup\":\"↥\",\"marker\":\"▮\",\"mcomma\":\"⨩\",\"Mcy\":\"М\",\"mcy\":\"м\",\"mdash\":\"—\",\"mDDot\":\"∺\",\"measuredangle\":\"∡\",\"MediumSpace\":\" \",\"Mellintrf\":\"ℳ\",\"Mfr\":\"𝔐\",\"mfr\":\"𝔪\",\"mho\":\"℧\",\"micro\":\"µ\",\"midast\":\"*\",\"midcir\":\"⫰\",\"mid\":\"∣\",\"middot\":\"·\",\"minusb\":\"⊟\",\"minus\":\"−\",\"minusd\":\"∸\",\"minusdu\":\"⨪\",\"MinusPlus\":\"∓\",\"mlcp\":\"⫛\",\"mldr\":\"…\",\"mnplus\":\"∓\",\"models\":\"⊧\",\"Mopf\":\"𝕄\",\"mopf\":\"𝕞\",\"mp\":\"∓\",\"mscr\":\"𝓂\",\"Mscr\":\"ℳ\",\"mstpos\":\"∾\",\"Mu\":\"Μ\",\"mu\":\"μ\",\"multimap\":\"⊸\",\"mumap\":\"⊸\",\"nabla\":\"∇\",\"Nacute\":\"Ń\",\"nacute\":\"ń\",\"nang\":\"∠⃒\",\"nap\":\"≉\",\"napE\":\"⩰̸\",\"napid\":\"≋̸\",\"napos\":\"ʼn\",\"napprox\":\"≉\",\"natural\":\"♮\",\"naturals\":\"ℕ\",\"natur\":\"♮\",\"nbsp\":\" \",\"nbump\":\"≎̸\",\"nbumpe\":\"≏̸\",\"ncap\":\"⩃\",\"Ncaron\":\"Ň\",\"ncaron\":\"ň\",\"Ncedil\":\"Ņ\",\"ncedil\":\"ņ\",\"ncong\":\"≇\",\"ncongdot\":\"⩭̸\",\"ncup\":\"⩂\",\"Ncy\":\"Н\",\"ncy\":\"н\",\"ndash\":\"–\",\"nearhk\":\"⤤\",\"nearr\":\"↗\",\"neArr\":\"⇗\",\"nearrow\":\"↗\",\"ne\":\"≠\",\"nedot\":\"≐̸\",\"NegativeMediumSpace\":\"​\",\"NegativeThickSpace\":\"​\",\"NegativeThinSpace\":\"​\",\"NegativeVeryThinSpace\":\"​\",\"nequiv\":\"≢\",\"nesear\":\"⤨\",\"nesim\":\"≂̸\",\"NestedGreaterGreater\":\"≫\",\"NestedLessLess\":\"≪\",\"NewLine\":\"\\\\n\",\"nexist\":\"∄\",\"nexists\":\"∄\",\"Nfr\":\"𝔑\",\"nfr\":\"𝔫\",\"ngE\":\"≧̸\",\"nge\":\"≱\",\"ngeq\":\"≱\",\"ngeqq\":\"≧̸\",\"ngeqslant\":\"⩾̸\",\"nges\":\"⩾̸\",\"nGg\":\"⋙̸\",\"ngsim\":\"≵\",\"nGt\":\"≫⃒\",\"ngt\":\"≯\",\"ngtr\":\"≯\",\"nGtv\":\"≫̸\",\"nharr\":\"↮\",\"nhArr\":\"⇎\",\"nhpar\":\"⫲\",\"ni\":\"∋\",\"nis\":\"⋼\",\"nisd\":\"⋺\",\"niv\":\"∋\",\"NJcy\":\"Њ\",\"njcy\":\"њ\",\"nlarr\":\"↚\",\"nlArr\":\"⇍\",\"nldr\":\"‥\",\"nlE\":\"≦̸\",\"nle\":\"≰\",\"nleftarrow\":\"↚\",\"nLeftarrow\":\"⇍\",\"nleftrightarrow\":\"↮\",\"nLeftrightarrow\":\"⇎\",\"nleq\":\"≰\",\"nleqq\":\"≦̸\",\"nleqslant\":\"⩽̸\",\"nles\":\"⩽̸\",\"nless\":\"≮\",\"nLl\":\"⋘̸\",\"nlsim\":\"≴\",\"nLt\":\"≪⃒\",\"nlt\":\"≮\",\"nltri\":\"⋪\",\"nltrie\":\"⋬\",\"nLtv\":\"≪̸\",\"nmid\":\"∤\",\"NoBreak\":\"⁠\",\"NonBreakingSpace\":\" \",\"nopf\":\"𝕟\",\"Nopf\":\"ℕ\",\"Not\":\"⫬\",\"not\":\"¬\",\"NotCongruent\":\"≢\",\"NotCupCap\":\"≭\",\"NotDoubleVerticalBar\":\"∦\",\"NotElement\":\"∉\",\"NotEqual\":\"≠\",\"NotEqualTilde\":\"≂̸\",\"NotExists\":\"∄\",\"NotGreater\":\"≯\",\"NotGreaterEqual\":\"≱\",\"NotGreaterFullEqual\":\"≧̸\",\"NotGreaterGreater\":\"≫̸\",\"NotGreaterLess\":\"≹\",\"NotGreaterSlantEqual\":\"⩾̸\",\"NotGreaterTilde\":\"≵\",\"NotHumpDownHump\":\"≎̸\",\"NotHumpEqual\":\"≏̸\",\"notin\":\"∉\",\"notindot\":\"⋵̸\",\"notinE\":\"⋹̸\",\"notinva\":\"∉\",\"notinvb\":\"⋷\",\"notinvc\":\"⋶\",\"NotLeftTriangleBar\":\"⧏̸\",\"NotLeftTriangle\":\"⋪\",\"NotLeftTriangleEqual\":\"⋬\",\"NotLess\":\"≮\",\"NotLessEqual\":\"≰\",\"NotLessGreater\":\"≸\",\"NotLessLess\":\"≪̸\",\"NotLessSlantEqual\":\"⩽̸\",\"NotLessTilde\":\"≴\",\"NotNestedGreaterGreater\":\"⪢̸\",\"NotNestedLessLess\":\"⪡̸\",\"notni\":\"∌\",\"notniva\":\"∌\",\"notnivb\":\"⋾\",\"notnivc\":\"⋽\",\"NotPrecedes\":\"⊀\",\"NotPrecedesEqual\":\"⪯̸\",\"NotPrecedesSlantEqual\":\"⋠\",\"NotReverseElement\":\"∌\",\"NotRightTriangleBar\":\"⧐̸\",\"NotRightTriangle\":\"⋫\",\"NotRightTriangleEqual\":\"⋭\",\"NotSquareSubset\":\"⊏̸\",\"NotSquareSubsetEqual\":\"⋢\",\"NotSquareSuperset\":\"⊐̸\",\"NotSquareSupersetEqual\":\"⋣\",\"NotSubset\":\"⊂⃒\",\"NotSubsetEqual\":\"⊈\",\"NotSucceeds\":\"⊁\",\"NotSucceedsEqual\":\"⪰̸\",\"NotSucceedsSlantEqual\":\"⋡\",\"NotSucceedsTilde\":\"≿̸\",\"NotSuperset\":\"⊃⃒\",\"NotSupersetEqual\":\"⊉\",\"NotTilde\":\"≁\",\"NotTildeEqual\":\"≄\",\"NotTildeFullEqual\":\"≇\",\"NotTildeTilde\":\"≉\",\"NotVerticalBar\":\"∤\",\"nparallel\":\"∦\",\"npar\":\"∦\",\"nparsl\":\"⫽⃥\",\"npart\":\"∂̸\",\"npolint\":\"⨔\",\"npr\":\"⊀\",\"nprcue\":\"⋠\",\"nprec\":\"⊀\",\"npreceq\":\"⪯̸\",\"npre\":\"⪯̸\",\"nrarrc\":\"⤳̸\",\"nrarr\":\"↛\",\"nrArr\":\"⇏\",\"nrarrw\":\"↝̸\",\"nrightarrow\":\"↛\",\"nRightarrow\":\"⇏\",\"nrtri\":\"⋫\",\"nrtrie\":\"⋭\",\"nsc\":\"⊁\",\"nsccue\":\"⋡\",\"nsce\":\"⪰̸\",\"Nscr\":\"𝒩\",\"nscr\":\"𝓃\",\"nshortmid\":\"∤\",\"nshortparallel\":\"∦\",\"nsim\":\"≁\",\"nsime\":\"≄\",\"nsimeq\":\"≄\",\"nsmid\":\"∤\",\"nspar\":\"∦\",\"nsqsube\":\"⋢\",\"nsqsupe\":\"⋣\",\"nsub\":\"⊄\",\"nsubE\":\"⫅̸\",\"nsube\":\"⊈\",\"nsubset\":\"⊂⃒\",\"nsubseteq\":\"⊈\",\"nsubseteqq\":\"⫅̸\",\"nsucc\":\"⊁\",\"nsucceq\":\"⪰̸\",\"nsup\":\"⊅\",\"nsupE\":\"⫆̸\",\"nsupe\":\"⊉\",\"nsupset\":\"⊃⃒\",\"nsupseteq\":\"⊉\",\"nsupseteqq\":\"⫆̸\",\"ntgl\":\"≹\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"ntlg\":\"≸\",\"ntriangleleft\":\"⋪\",\"ntrianglelefteq\":\"⋬\",\"ntriangleright\":\"⋫\",\"ntrianglerighteq\":\"⋭\",\"Nu\":\"Ν\",\"nu\":\"ν\",\"num\":\"#\",\"numero\":\"№\",\"numsp\":\" \",\"nvap\":\"≍⃒\",\"nvdash\":\"⊬\",\"nvDash\":\"⊭\",\"nVdash\":\"⊮\",\"nVDash\":\"⊯\",\"nvge\":\"≥⃒\",\"nvgt\":\">⃒\",\"nvHarr\":\"⤄\",\"nvinfin\":\"⧞\",\"nvlArr\":\"⤂\",\"nvle\":\"≤⃒\",\"nvlt\":\"<⃒\",\"nvltrie\":\"⊴⃒\",\"nvrArr\":\"⤃\",\"nvrtrie\":\"⊵⃒\",\"nvsim\":\"∼⃒\",\"nwarhk\":\"⤣\",\"nwarr\":\"↖\",\"nwArr\":\"⇖\",\"nwarrow\":\"↖\",\"nwnear\":\"⤧\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"oast\":\"⊛\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"ocir\":\"⊚\",\"Ocy\":\"О\",\"ocy\":\"о\",\"odash\":\"⊝\",\"Odblac\":\"Ő\",\"odblac\":\"ő\",\"odiv\":\"⨸\",\"odot\":\"⊙\",\"odsold\":\"⦼\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"ofcir\":\"⦿\",\"Ofr\":\"𝔒\",\"ofr\":\"𝔬\",\"ogon\":\"˛\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ogt\":\"⧁\",\"ohbar\":\"⦵\",\"ohm\":\"Ω\",\"oint\":\"∮\",\"olarr\":\"↺\",\"olcir\":\"⦾\",\"olcross\":\"⦻\",\"oline\":\"‾\",\"olt\":\"⧀\",\"Omacr\":\"Ō\",\"omacr\":\"ō\",\"Omega\":\"Ω\",\"omega\":\"ω\",\"Omicron\":\"Ο\",\"omicron\":\"ο\",\"omid\":\"⦶\",\"ominus\":\"⊖\",\"Oopf\":\"𝕆\",\"oopf\":\"𝕠\",\"opar\":\"⦷\",\"OpenCurlyDoubleQuote\":\"“\",\"OpenCurlyQuote\":\"‘\",\"operp\":\"⦹\",\"oplus\":\"⊕\",\"orarr\":\"↻\",\"Or\":\"⩔\",\"or\":\"∨\",\"ord\":\"⩝\",\"order\":\"ℴ\",\"orderof\":\"ℴ\",\"ordf\":\"ª\",\"ordm\":\"º\",\"origof\":\"⊶\",\"oror\":\"⩖\",\"orslope\":\"⩗\",\"orv\":\"⩛\",\"oS\":\"Ⓢ\",\"Oscr\":\"𝒪\",\"oscr\":\"ℴ\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"osol\":\"⊘\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"otimesas\":\"⨶\",\"Otimes\":\"⨷\",\"otimes\":\"⊗\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"ovbar\":\"⌽\",\"OverBar\":\"‾\",\"OverBrace\":\"⏞\",\"OverBracket\":\"⎴\",\"OverParenthesis\":\"⏜\",\"para\":\"¶\",\"parallel\":\"∥\",\"par\":\"∥\",\"parsim\":\"⫳\",\"parsl\":\"⫽\",\"part\":\"∂\",\"PartialD\":\"∂\",\"Pcy\":\"П\",\"pcy\":\"п\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"‰\",\"perp\":\"⊥\",\"pertenk\":\"‱\",\"Pfr\":\"𝔓\",\"pfr\":\"𝔭\",\"Phi\":\"Φ\",\"phi\":\"φ\",\"phiv\":\"ϕ\",\"phmmat\":\"ℳ\",\"phone\":\"☎\",\"Pi\":\"Π\",\"pi\":\"π\",\"pitchfork\":\"⋔\",\"piv\":\"ϖ\",\"planck\":\"ℏ\",\"planckh\":\"ℎ\",\"plankv\":\"ℏ\",\"plusacir\":\"⨣\",\"plusb\":\"⊞\",\"pluscir\":\"⨢\",\"plus\":\"+\",\"plusdo\":\"∔\",\"plusdu\":\"⨥\",\"pluse\":\"⩲\",\"PlusMinus\":\"±\",\"plusmn\":\"±\",\"plussim\":\"⨦\",\"plustwo\":\"⨧\",\"pm\":\"±\",\"Poincareplane\":\"ℌ\",\"pointint\":\"⨕\",\"popf\":\"𝕡\",\"Popf\":\"ℙ\",\"pound\":\"£\",\"prap\":\"⪷\",\"Pr\":\"⪻\",\"pr\":\"≺\",\"prcue\":\"≼\",\"precapprox\":\"⪷\",\"prec\":\"≺\",\"preccurlyeq\":\"≼\",\"Precedes\":\"≺\",\"PrecedesEqual\":\"⪯\",\"PrecedesSlantEqual\":\"≼\",\"PrecedesTilde\":\"≾\",\"preceq\":\"⪯\",\"precnapprox\":\"⪹\",\"precneqq\":\"⪵\",\"precnsim\":\"⋨\",\"pre\":\"⪯\",\"prE\":\"⪳\",\"precsim\":\"≾\",\"prime\":\"′\",\"Prime\":\"″\",\"primes\":\"ℙ\",\"prnap\":\"⪹\",\"prnE\":\"⪵\",\"prnsim\":\"⋨\",\"prod\":\"∏\",\"Product\":\"∏\",\"profalar\":\"⌮\",\"profline\":\"⌒\",\"profsurf\":\"⌓\",\"prop\":\"∝\",\"Proportional\":\"∝\",\"Proportion\":\"∷\",\"propto\":\"∝\",\"prsim\":\"≾\",\"prurel\":\"⊰\",\"Pscr\":\"𝒫\",\"pscr\":\"𝓅\",\"Psi\":\"Ψ\",\"psi\":\"ψ\",\"puncsp\":\" \",\"Qfr\":\"𝔔\",\"qfr\":\"𝔮\",\"qint\":\"⨌\",\"qopf\":\"𝕢\",\"Qopf\":\"ℚ\",\"qprime\":\"⁗\",\"Qscr\":\"𝒬\",\"qscr\":\"𝓆\",\"quaternions\":\"ℍ\",\"quatint\":\"⨖\",\"quest\":\"?\",\"questeq\":\"≟\",\"quot\":\"\\\\\"\",\"QUOT\":\"\\\\\"\",\"rAarr\":\"⇛\",\"race\":\"∽̱\",\"Racute\":\"Ŕ\",\"racute\":\"ŕ\",\"radic\":\"√\",\"raemptyv\":\"⦳\",\"rang\":\"⟩\",\"Rang\":\"⟫\",\"rangd\":\"⦒\",\"range\":\"⦥\",\"rangle\":\"⟩\",\"raquo\":\"»\",\"rarrap\":\"⥵\",\"rarrb\":\"⇥\",\"rarrbfs\":\"⤠\",\"rarrc\":\"⤳\",\"rarr\":\"→\",\"Rarr\":\"↠\",\"rArr\":\"⇒\",\"rarrfs\":\"⤞\",\"rarrhk\":\"↪\",\"rarrlp\":\"↬\",\"rarrpl\":\"⥅\",\"rarrsim\":\"⥴\",\"Rarrtl\":\"⤖\",\"rarrtl\":\"↣\",\"rarrw\":\"↝\",\"ratail\":\"⤚\",\"rAtail\":\"⤜\",\"ratio\":\"∶\",\"rationals\":\"ℚ\",\"rbarr\":\"⤍\",\"rBarr\":\"⤏\",\"RBarr\":\"⤐\",\"rbbrk\":\"❳\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"⦌\",\"rbrksld\":\"⦎\",\"rbrkslu\":\"⦐\",\"Rcaron\":\"Ř\",\"rcaron\":\"ř\",\"Rcedil\":\"Ŗ\",\"rcedil\":\"ŗ\",\"rceil\":\"⌉\",\"rcub\":\"}\",\"Rcy\":\"Р\",\"rcy\":\"р\",\"rdca\":\"⤷\",\"rdldhar\":\"⥩\",\"rdquo\":\"”\",\"rdquor\":\"”\",\"rdsh\":\"↳\",\"real\":\"ℜ\",\"realine\":\"ℛ\",\"realpart\":\"ℜ\",\"reals\":\"ℝ\",\"Re\":\"ℜ\",\"rect\":\"▭\",\"reg\":\"®\",\"REG\":\"®\",\"ReverseElement\":\"∋\",\"ReverseEquilibrium\":\"⇋\",\"ReverseUpEquilibrium\":\"⥯\",\"rfisht\":\"⥽\",\"rfloor\":\"⌋\",\"rfr\":\"𝔯\",\"Rfr\":\"ℜ\",\"rHar\":\"⥤\",\"rhard\":\"⇁\",\"rharu\":\"⇀\",\"rharul\":\"⥬\",\"Rho\":\"Ρ\",\"rho\":\"ρ\",\"rhov\":\"ϱ\",\"RightAngleBracket\":\"⟩\",\"RightArrowBar\":\"⇥\",\"rightarrow\":\"→\",\"RightArrow\":\"→\",\"Rightarrow\":\"⇒\",\"RightArrowLeftArrow\":\"⇄\",\"rightarrowtail\":\"↣\",\"RightCeiling\":\"⌉\",\"RightDoubleBracket\":\"⟧\",\"RightDownTeeVector\":\"⥝\",\"RightDownVectorBar\":\"⥕\",\"RightDownVector\":\"⇂\",\"RightFloor\":\"⌋\",\"rightharpoondown\":\"⇁\",\"rightharpoonup\":\"⇀\",\"rightleftarrows\":\"⇄\",\"rightleftharpoons\":\"⇌\",\"rightrightarrows\":\"⇉\",\"rightsquigarrow\":\"↝\",\"RightTeeArrow\":\"↦\",\"RightTee\":\"⊢\",\"RightTeeVector\":\"⥛\",\"rightthreetimes\":\"⋌\",\"RightTriangleBar\":\"⧐\",\"RightTriangle\":\"⊳\",\"RightTriangleEqual\":\"⊵\",\"RightUpDownVector\":\"⥏\",\"RightUpTeeVector\":\"⥜\",\"RightUpVectorBar\":\"⥔\",\"RightUpVector\":\"↾\",\"RightVectorBar\":\"⥓\",\"RightVector\":\"⇀\",\"ring\":\"˚\",\"risingdotseq\":\"≓\",\"rlarr\":\"⇄\",\"rlhar\":\"⇌\",\"rlm\":\"‏\",\"rmoustache\":\"⎱\",\"rmoust\":\"⎱\",\"rnmid\":\"⫮\",\"roang\":\"⟭\",\"roarr\":\"⇾\",\"robrk\":\"⟧\",\"ropar\":\"⦆\",\"ropf\":\"𝕣\",\"Ropf\":\"ℝ\",\"roplus\":\"⨮\",\"rotimes\":\"⨵\",\"RoundImplies\":\"⥰\",\"rpar\":\")\",\"rpargt\":\"⦔\",\"rppolint\":\"⨒\",\"rrarr\":\"⇉\",\"Rrightarrow\":\"⇛\",\"rsaquo\":\"›\",\"rscr\":\"𝓇\",\"Rscr\":\"ℛ\",\"rsh\":\"↱\",\"Rsh\":\"↱\",\"rsqb\":\"]\",\"rsquo\":\"’\",\"rsquor\":\"’\",\"rthree\":\"⋌\",\"rtimes\":\"⋊\",\"rtri\":\"▹\",\"rtrie\":\"⊵\",\"rtrif\":\"▸\",\"rtriltri\":\"⧎\",\"RuleDelayed\":\"⧴\",\"ruluhar\":\"⥨\",\"rx\":\"℞\",\"Sacute\":\"Ś\",\"sacute\":\"ś\",\"sbquo\":\"‚\",\"scap\":\"⪸\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Sc\":\"⪼\",\"sc\":\"≻\",\"sccue\":\"≽\",\"sce\":\"⪰\",\"scE\":\"⪴\",\"Scedil\":\"Ş\",\"scedil\":\"ş\",\"Scirc\":\"Ŝ\",\"scirc\":\"ŝ\",\"scnap\":\"⪺\",\"scnE\":\"⪶\",\"scnsim\":\"⋩\",\"scpolint\":\"⨓\",\"scsim\":\"≿\",\"Scy\":\"С\",\"scy\":\"с\",\"sdotb\":\"⊡\",\"sdot\":\"⋅\",\"sdote\":\"⩦\",\"searhk\":\"⤥\",\"searr\":\"↘\",\"seArr\":\"⇘\",\"searrow\":\"↘\",\"sect\":\"§\",\"semi\":\";\",\"seswar\":\"⤩\",\"setminus\":\"∖\",\"setmn\":\"∖\",\"sext\":\"✶\",\"Sfr\":\"𝔖\",\"sfr\":\"𝔰\",\"sfrown\":\"⌢\",\"sharp\":\"♯\",\"SHCHcy\":\"Щ\",\"shchcy\":\"щ\",\"SHcy\":\"Ш\",\"shcy\":\"ш\",\"ShortDownArrow\":\"↓\",\"ShortLeftArrow\":\"←\",\"shortmid\":\"∣\",\"shortparallel\":\"∥\",\"ShortRightArrow\":\"→\",\"ShortUpArrow\":\"↑\",\"shy\":\"­\",\"Sigma\":\"Σ\",\"sigma\":\"σ\",\"sigmaf\":\"ς\",\"sigmav\":\"ς\",\"sim\":\"∼\",\"simdot\":\"⩪\",\"sime\":\"≃\",\"simeq\":\"≃\",\"simg\":\"⪞\",\"simgE\":\"⪠\",\"siml\":\"⪝\",\"simlE\":\"⪟\",\"simne\":\"≆\",\"simplus\":\"⨤\",\"simrarr\":\"⥲\",\"slarr\":\"←\",\"SmallCircle\":\"∘\",\"smallsetminus\":\"∖\",\"smashp\":\"⨳\",\"smeparsl\":\"⧤\",\"smid\":\"∣\",\"smile\":\"⌣\",\"smt\":\"⪪\",\"smte\":\"⪬\",\"smtes\":\"⪬︀\",\"SOFTcy\":\"Ь\",\"softcy\":\"ь\",\"solbar\":\"⌿\",\"solb\":\"⧄\",\"sol\":\"/\",\"Sopf\":\"𝕊\",\"sopf\":\"𝕤\",\"spades\":\"♠\",\"spadesuit\":\"♠\",\"spar\":\"∥\",\"sqcap\":\"⊓\",\"sqcaps\":\"⊓︀\",\"sqcup\":\"⊔\",\"sqcups\":\"⊔︀\",\"Sqrt\":\"√\",\"sqsub\":\"⊏\",\"sqsube\":\"⊑\",\"sqsubset\":\"⊏\",\"sqsubseteq\":\"⊑\",\"sqsup\":\"⊐\",\"sqsupe\":\"⊒\",\"sqsupset\":\"⊐\",\"sqsupseteq\":\"⊒\",\"square\":\"□\",\"Square\":\"□\",\"SquareIntersection\":\"⊓\",\"SquareSubset\":\"⊏\",\"SquareSubsetEqual\":\"⊑\",\"SquareSuperset\":\"⊐\",\"SquareSupersetEqual\":\"⊒\",\"SquareUnion\":\"⊔\",\"squarf\":\"▪\",\"squ\":\"□\",\"squf\":\"▪\",\"srarr\":\"→\",\"Sscr\":\"𝒮\",\"sscr\":\"𝓈\",\"ssetmn\":\"∖\",\"ssmile\":\"⌣\",\"sstarf\":\"⋆\",\"Star\":\"⋆\",\"star\":\"☆\",\"starf\":\"★\",\"straightepsilon\":\"ϵ\",\"straightphi\":\"ϕ\",\"strns\":\"¯\",\"sub\":\"⊂\",\"Sub\":\"⋐\",\"subdot\":\"⪽\",\"subE\":\"⫅\",\"sube\":\"⊆\",\"subedot\":\"⫃\",\"submult\":\"⫁\",\"subnE\":\"⫋\",\"subne\":\"⊊\",\"subplus\":\"⪿\",\"subrarr\":\"⥹\",\"subset\":\"⊂\",\"Subset\":\"⋐\",\"subseteq\":\"⊆\",\"subseteqq\":\"⫅\",\"SubsetEqual\":\"⊆\",\"subsetneq\":\"⊊\",\"subsetneqq\":\"⫋\",\"subsim\":\"⫇\",\"subsub\":\"⫕\",\"subsup\":\"⫓\",\"succapprox\":\"⪸\",\"succ\":\"≻\",\"succcurlyeq\":\"≽\",\"Succeeds\":\"≻\",\"SucceedsEqual\":\"⪰\",\"SucceedsSlantEqual\":\"≽\",\"SucceedsTilde\":\"≿\",\"succeq\":\"⪰\",\"succnapprox\":\"⪺\",\"succneqq\":\"⪶\",\"succnsim\":\"⋩\",\"succsim\":\"≿\",\"SuchThat\":\"∋\",\"sum\":\"∑\",\"Sum\":\"∑\",\"sung\":\"♪\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"sup\":\"⊃\",\"Sup\":\"⋑\",\"supdot\":\"⪾\",\"supdsub\":\"⫘\",\"supE\":\"⫆\",\"supe\":\"⊇\",\"supedot\":\"⫄\",\"Superset\":\"⊃\",\"SupersetEqual\":\"⊇\",\"suphsol\":\"⟉\",\"suphsub\":\"⫗\",\"suplarr\":\"⥻\",\"supmult\":\"⫂\",\"supnE\":\"⫌\",\"supne\":\"⊋\",\"supplus\":\"⫀\",\"supset\":\"⊃\",\"Supset\":\"⋑\",\"supseteq\":\"⊇\",\"supseteqq\":\"⫆\",\"supsetneq\":\"⊋\",\"supsetneqq\":\"⫌\",\"supsim\":\"⫈\",\"supsub\":\"⫔\",\"supsup\":\"⫖\",\"swarhk\":\"⤦\",\"swarr\":\"↙\",\"swArr\":\"⇙\",\"swarrow\":\"↙\",\"swnwar\":\"⤪\",\"szlig\":\"ß\",\"Tab\":\"\\\\t\",\"target\":\"⌖\",\"Tau\":\"Τ\",\"tau\":\"τ\",\"tbrk\":\"⎴\",\"Tcaron\":\"Ť\",\"tcaron\":\"ť\",\"Tcedil\":\"Ţ\",\"tcedil\":\"ţ\",\"Tcy\":\"Т\",\"tcy\":\"т\",\"tdot\":\"⃛\",\"telrec\":\"⌕\",\"Tfr\":\"𝔗\",\"tfr\":\"𝔱\",\"there4\":\"∴\",\"therefore\":\"∴\",\"Therefore\":\"∴\",\"Theta\":\"Θ\",\"theta\":\"θ\",\"thetasym\":\"ϑ\",\"thetav\":\"ϑ\",\"thickapprox\":\"≈\",\"thicksim\":\"∼\",\"ThickSpace\":\"  \",\"ThinSpace\":\" \",\"thinsp\":\" \",\"thkap\":\"≈\",\"thksim\":\"∼\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"tilde\":\"˜\",\"Tilde\":\"∼\",\"TildeEqual\":\"≃\",\"TildeFullEqual\":\"≅\",\"TildeTilde\":\"≈\",\"timesbar\":\"⨱\",\"timesb\":\"⊠\",\"times\":\"×\",\"timesd\":\"⨰\",\"tint\":\"∭\",\"toea\":\"⤨\",\"topbot\":\"⌶\",\"topcir\":\"⫱\",\"top\":\"⊤\",\"Topf\":\"𝕋\",\"topf\":\"𝕥\",\"topfork\":\"⫚\",\"tosa\":\"⤩\",\"tprime\":\"‴\",\"trade\":\"™\",\"TRADE\":\"™\",\"triangle\":\"▵\",\"triangledown\":\"▿\",\"triangleleft\":\"◃\",\"trianglelefteq\":\"⊴\",\"triangleq\":\"≜\",\"triangleright\":\"▹\",\"trianglerighteq\":\"⊵\",\"tridot\":\"◬\",\"trie\":\"≜\",\"triminus\":\"⨺\",\"TripleDot\":\"⃛\",\"triplus\":\"⨹\",\"trisb\":\"⧍\",\"tritime\":\"⨻\",\"trpezium\":\"⏢\",\"Tscr\":\"𝒯\",\"tscr\":\"𝓉\",\"TScy\":\"Ц\",\"tscy\":\"ц\",\"TSHcy\":\"Ћ\",\"tshcy\":\"ћ\",\"Tstrok\":\"Ŧ\",\"tstrok\":\"ŧ\",\"twixt\":\"≬\",\"twoheadleftarrow\":\"↞\",\"twoheadrightarrow\":\"↠\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"uarr\":\"↑\",\"Uarr\":\"↟\",\"uArr\":\"⇑\",\"Uarrocir\":\"⥉\",\"Ubrcy\":\"Ў\",\"ubrcy\":\"ў\",\"Ubreve\":\"Ŭ\",\"ubreve\":\"ŭ\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ucy\":\"У\",\"ucy\":\"у\",\"udarr\":\"⇅\",\"Udblac\":\"Ű\",\"udblac\":\"ű\",\"udhar\":\"⥮\",\"ufisht\":\"⥾\",\"Ufr\":\"𝔘\",\"ufr\":\"𝔲\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uHar\":\"⥣\",\"uharl\":\"↿\",\"uharr\":\"↾\",\"uhblk\":\"▀\",\"ulcorn\":\"⌜\",\"ulcorner\":\"⌜\",\"ulcrop\":\"⌏\",\"ultri\":\"◸\",\"Umacr\":\"Ū\",\"umacr\":\"ū\",\"uml\":\"¨\",\"UnderBar\":\"_\",\"UnderBrace\":\"⏟\",\"UnderBracket\":\"⎵\",\"UnderParenthesis\":\"⏝\",\"Union\":\"⋃\",\"UnionPlus\":\"⊎\",\"Uogon\":\"Ų\",\"uogon\":\"ų\",\"Uopf\":\"𝕌\",\"uopf\":\"𝕦\",\"UpArrowBar\":\"⤒\",\"uparrow\":\"↑\",\"UpArrow\":\"↑\",\"Uparrow\":\"⇑\",\"UpArrowDownArrow\":\"⇅\",\"updownarrow\":\"↕\",\"UpDownArrow\":\"↕\",\"Updownarrow\":\"⇕\",\"UpEquilibrium\":\"⥮\",\"upharpoonleft\":\"↿\",\"upharpoonright\":\"↾\",\"uplus\":\"⊎\",\"UpperLeftArrow\":\"↖\",\"UpperRightArrow\":\"↗\",\"upsi\":\"υ\",\"Upsi\":\"ϒ\",\"upsih\":\"ϒ\",\"Upsilon\":\"Υ\",\"upsilon\":\"υ\",\"UpTeeArrow\":\"↥\",\"UpTee\":\"⊥\",\"upuparrows\":\"⇈\",\"urcorn\":\"⌝\",\"urcorner\":\"⌝\",\"urcrop\":\"⌎\",\"Uring\":\"Ů\",\"uring\":\"ů\",\"urtri\":\"◹\",\"Uscr\":\"𝒰\",\"uscr\":\"𝓊\",\"utdot\":\"⋰\",\"Utilde\":\"Ũ\",\"utilde\":\"ũ\",\"utri\":\"▵\",\"utrif\":\"▴\",\"uuarr\":\"⇈\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"uwangle\":\"⦧\",\"vangrt\":\"⦜\",\"varepsilon\":\"ϵ\",\"varkappa\":\"ϰ\",\"varnothing\":\"∅\",\"varphi\":\"ϕ\",\"varpi\":\"ϖ\",\"varpropto\":\"∝\",\"varr\":\"↕\",\"vArr\":\"⇕\",\"varrho\":\"ϱ\",\"varsigma\":\"ς\",\"varsubsetneq\":\"⊊︀\",\"varsubsetneqq\":\"⫋︀\",\"varsupsetneq\":\"⊋︀\",\"varsupsetneqq\":\"⫌︀\",\"vartheta\":\"ϑ\",\"vartriangleleft\":\"⊲\",\"vartriangleright\":\"⊳\",\"vBar\":\"⫨\",\"Vbar\":\"⫫\",\"vBarv\":\"⫩\",\"Vcy\":\"В\",\"vcy\":\"в\",\"vdash\":\"⊢\",\"vDash\":\"⊨\",\"Vdash\":\"⊩\",\"VDash\":\"⊫\",\"Vdashl\":\"⫦\",\"veebar\":\"⊻\",\"vee\":\"∨\",\"Vee\":\"⋁\",\"veeeq\":\"≚\",\"vellip\":\"⋮\",\"verbar\":\"|\",\"Verbar\":\"‖\",\"vert\":\"|\",\"Vert\":\"‖\",\"VerticalBar\":\"∣\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"❘\",\"VerticalTilde\":\"≀\",\"VeryThinSpace\":\" \",\"Vfr\":\"𝔙\",\"vfr\":\"𝔳\",\"vltri\":\"⊲\",\"vnsub\":\"⊂⃒\",\"vnsup\":\"⊃⃒\",\"Vopf\":\"𝕍\",\"vopf\":\"𝕧\",\"vprop\":\"∝\",\"vrtri\":\"⊳\",\"Vscr\":\"𝒱\",\"vscr\":\"𝓋\",\"vsubnE\":\"⫋︀\",\"vsubne\":\"⊊︀\",\"vsupnE\":\"⫌︀\",\"vsupne\":\"⊋︀\",\"Vvdash\":\"⊪\",\"vzigzag\":\"⦚\",\"Wcirc\":\"Ŵ\",\"wcirc\":\"ŵ\",\"wedbar\":\"⩟\",\"wedge\":\"∧\",\"Wedge\":\"⋀\",\"wedgeq\":\"≙\",\"weierp\":\"℘\",\"Wfr\":\"𝔚\",\"wfr\":\"𝔴\",\"Wopf\":\"𝕎\",\"wopf\":\"𝕨\",\"wp\":\"℘\",\"wr\":\"≀\",\"wreath\":\"≀\",\"Wscr\":\"𝒲\",\"wscr\":\"𝓌\",\"xcap\":\"⋂\",\"xcirc\":\"◯\",\"xcup\":\"⋃\",\"xdtri\":\"▽\",\"Xfr\":\"𝔛\",\"xfr\":\"𝔵\",\"xharr\":\"⟷\",\"xhArr\":\"⟺\",\"Xi\":\"Ξ\",\"xi\":\"ξ\",\"xlarr\":\"⟵\",\"xlArr\":\"⟸\",\"xmap\":\"⟼\",\"xnis\":\"⋻\",\"xodot\":\"⨀\",\"Xopf\":\"𝕏\",\"xopf\":\"𝕩\",\"xoplus\":\"⨁\",\"xotime\":\"⨂\",\"xrarr\":\"⟶\",\"xrArr\":\"⟹\",\"Xscr\":\"𝒳\",\"xscr\":\"𝓍\",\"xsqcup\":\"⨆\",\"xuplus\":\"⨄\",\"xutri\":\"△\",\"xvee\":\"⋁\",\"xwedge\":\"⋀\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"YAcy\":\"Я\",\"yacy\":\"я\",\"Ycirc\":\"Ŷ\",\"ycirc\":\"ŷ\",\"Ycy\":\"Ы\",\"ycy\":\"ы\",\"yen\":\"¥\",\"Yfr\":\"𝔜\",\"yfr\":\"𝔶\",\"YIcy\":\"Ї\",\"yicy\":\"ї\",\"Yopf\":\"𝕐\",\"yopf\":\"𝕪\",\"Yscr\":\"𝒴\",\"yscr\":\"𝓎\",\"YUcy\":\"Ю\",\"yucy\":\"ю\",\"yuml\":\"ÿ\",\"Yuml\":\"Ÿ\",\"Zacute\":\"Ź\",\"zacute\":\"ź\",\"Zcaron\":\"Ž\",\"zcaron\":\"ž\",\"Zcy\":\"З\",\"zcy\":\"з\",\"Zdot\":\"Ż\",\"zdot\":\"ż\",\"zeetrf\":\"ℨ\",\"ZeroWidthSpace\":\"​\",\"Zeta\":\"Ζ\",\"zeta\":\"ζ\",\"zfr\":\"𝔷\",\"Zfr\":\"ℨ\",\"ZHcy\":\"Ж\",\"zhcy\":\"ж\",\"zigrarr\":\"⇝\",\"zopf\":\"𝕫\",\"Zopf\":\"ℤ\",\"Zscr\":\"𝒵\",\"zscr\":\"𝓏\",\"zwj\":\"‍\",\"zwnj\":\"‌\"}')},function(e,t,n){\"use strict\";var r={};function i(e,t,n){var o,a,s,l,c,u=\"\";for(\"string\"!=typeof t&&(n=t,t=i.defaultChars),void 0===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),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+=\"%EF%BF%BD\"}else u+=encodeURIComponent(e[o]);return u}i.defaultChars=\";/?:@&=+$,-_.!~*'()#\",i.componentChars=\"-_.!~*'()\",e.exports=i},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,o,a,s,l,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&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=i<<6&1984|63&o)<128?\"��\":String.fromCharCode(l),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(c+=(l=i<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?\"���\":String.fromCharCode(l),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+=\"����\":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+=\"�\";return c}))}i.defaultChars=\";/?:@&=+$,#\",i.componentChars=\"\",e.exports=i},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||\"\"}},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,o=/:[0-9]*$/,a=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,s=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),l=[\"'\"].concat(s),c=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(l),u=[\"/\",\"?\",\"#\"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+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,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split(\"#\").length){var v=a.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=i.exec(m);if(g&&(o=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(l=\"//\"===m.substr(0,2))||g&&d[g]||(m=m.substr(2),this.slashes=!0)),!d[g]&&(l||g&&!h[g])){var y,b,E=-1;for(n=0;n<u.length;n++)-1!==(s=m.indexOf(u[n]))&&(-1===E||s<E)&&(E=s);for(-1!==(b=-1===E?m.lastIndexOf(\"@\"):m.lastIndexOf(\"@\",E))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),E=-1,n=0;n<c.length;n++)-1!==(s=m.indexOf(c[n]))&&(-1===E||s<E)&&(E=s);-1===E&&(E=m.length),\":\"===m[E-1]&&E--;var w=m.slice(0,E);m=m.slice(E),this.parseHost(w),this.hostname=this.hostname||\"\";var x=\"[\"===this.hostname[0]&&\"]\"===this.hostname[this.hostname.length-1];if(!x){var k=this.hostname.split(/\\./);for(n=0,r=k.length;n<r;n++){var T=k[n];if(T&&!T.match(f)){for(var O=\"\",C=0,S=T.length;C<S;C++)T.charCodeAt(C)>127?O+=\"x\":O+=T[C];if(!O.match(f)){var _=k.slice(0,n),N=k.slice(n+1),A=T.match(p);A&&(_.push(A[1]),N.unshift(A[2])),N.length&&(m=N.join(\".\")+m),this.hostname=_.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf(\"#\");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var I=m.indexOf(\"?\");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),m&&(this.pathname=m),h[o]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},r.prototype.parseHost=function(e){var t=o.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}},function(e,t,n){\"use strict\";t.Any=n(114),t.Cc=n(115),t.Cf=n(190),t.P=n(87),t.Z=n(116)},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]/},function(e,t,n){\"use strict\";t.parseLinkLabel=n(192),t.parseLinkDestination=n(193),t.parseLinkTitle=n(194)},function(e,t,n){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},function(e,t,n){\"use strict\";var r=n(17).unescapeAll;e.exports=function(e,t,n){var i,o,a=t,s={ok:!1,pos:0,lines:0,str:\"\"};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t)))return s;if(60===i)return s;if(62===i)return s.pos=t+1,s.str=r(e.slice(a+1,t)),s.ok=!0,s;92===i&&t+1<n?t+=2:t++}return s}for(o=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&&++o>32)return s;if(41===i){if(0===o)break;o--}t++}return a===t||0!==o||(s.str=r(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},function(e,t,n){\"use strict\";var r=n(17).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,s=t,l={ok:!1,pos:0,lines:0,str:\"\"};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===i&&41===o)return l;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},function(e,t,n){\"use strict\";var r=n(17).assign,i=n(17).unescapeAll,o=n(17).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,i){var a=e[t];return\"<code\"+i.renderAttrs(a)+\">\"+o(e[t].content)+\"</code>\"},a.code_block=function(e,t,n,r,i){var a=e[t];return\"<pre\"+i.renderAttrs(a)+\"><code>\"+o(e[t].content)+\"</code></pre>\\n\"},a.fence=function(e,t,n,r,a){var s,l,c,u,f,p=e[t],d=p.info?i(p.info).trim():\"\",h=\"\",m=\"\";return d&&(h=(c=d.split(/(\\s+)/g))[0],m=c.slice(2).join(\"\")),0===(s=n.highlight&&n.highlight(p.content,h,m)||o(p.content)).indexOf(\"<pre\")?s+\"\\n\":d?(l=p.attrIndex(\"class\"),u=p.attrs?p.attrs.slice():[],l<0?u.push([\"class\",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=\" \"+n.langPrefix+h),f={attrs:u},\"<pre><code\"+a.renderAttrs(f)+\">\"+s+\"</code></pre>\\n\"):\"<pre><code\"+a.renderAttrs(p)+\">\"+s+\"</code></pre>\\n\"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex(\"alt\")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?\"<br />\\n\":\"<br>\\n\"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?\"<br />\\n\":\"<br>\\n\":\"\\n\"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return\"\";for(r=\"\",t=0,n=e.attrs.length;t<n;t++)r+=\" \"+o(e.attrs[t][0])+'=\"'+o(e.attrs[t][1])+'\"';return r},s.prototype.renderToken=function(e,t,n){var r,i=\"\",o=!1,a=e[t];return a.hidden?\"\":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+=\"\\n\"),i+=(-1===a.nesting?\"</\":\"<\")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=\" /\"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(\"inline\"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?\">\\n\":\">\")},s.prototype.renderInline=function(e,t,n){for(var r,i=\"\",o=this.rules,a=0,s=e.length;a<s;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},s.prototype.renderInlineAsText=function(e,t,n){for(var r=\"\",i=0,o=e.length;i<o;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},s.prototype.render=function(e,t,n){var r,i,o,a=\"\",s=this.rules;for(r=0,i=e.length;r<i;r++)\"inline\"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=s},function(e,t,n){\"use strict\";var r=n(88),i=[[\"normalize\",n(197)],[\"block\",n(198)],[\"inline\",n(199)],[\"linkify\",n(200)],[\"replacements\",n(201)],[\"smartquotes\",n(202)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules(\"\")).length;t<n;t++)r[t](e)},o.prototype.State=n(203),e.exports=o},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,\"�\"),e.src=t}},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)}},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)}},function(e,t,n){\"use strict\";var r=n(17).arrayReplaceAt;function i(e){return/^<\\/a\\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w=e.tokens;if(e.md.options.linkify)for(n=0,o=w.length;n<o;n++)if(\"inline\"===w[n].type&&e.md.linkify.pretest(w[n].content))for(m=0,t=(a=w[n].children).length-1;t>=0;t--)if(\"link_close\"!==(l=a[t]).type){if(\"html_inline\"===l.type&&(E=l.content,/^<a[>\\s]/i.test(E)&&m>0&&m--,i(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),c=[],h=l.level,d=0,u=0;u<b.length;u++)v=b[u].url,g=e.md.normalizeLink(v),e.md.validateLink(g)&&(y=b[u].text,y=b[u].schema?\"mailto:\"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText(\"mailto:\"+y).replace(/^mailto:/,\"\"):e.md.normalizeLinkText(\"http://\"+y).replace(/^http:\\/\\//,\"\"),(p=b[u].index)>d&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,c.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",g]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",c.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,c.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",c.push(s),d=b[u].lastIndex);d<f.length&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d),s.level=h,c.push(s)),w[n].children=a=r(a,t,c)}}else for(t--;a[t].level!==l.level&&\"link_open\"!==a[t].type;)t--}},function(e,t,n){\"use strict\";var r=/\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/,i=/\\((c|tm|r|p)\\)/i,o=/\\((c|tm|r|p)\\)/gi,a={c:\"©\",r:\"®\",p:\"§\",tm:\"™\"};function s(e,t){return a[t.toLowerCase()]}function l(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(o,s)),\"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,\"±\").replace(/\\.{2,}/g,\"…\").replace(/([?!])…/g,\"$1..\").replace(/([?!]){4,}/g,\"$1$1$1\").replace(/,{2,}/g,\",\").replace(/(^|[^-])---(?=[^-]|$)/gm,\"$1—\").replace(/(^|\\s)--(?=\\s|$)/gm,\"$1–\").replace(/(^|[^-\\s])--(?=[^-\\s]|$)/gm,\"$1–\")),\"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)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&c(e.tokens[t].children))}},function(e,t,n){\"use strict\";var r=n(17).isWhiteSpace,i=n(17).isPunctChar,o=n(17).isMdAsciiPunct,a=/['\"]/,s=/['\"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,u,f,p,d,h,m,v,g,y,b,E,w,x,k,T,O,C,S;for(O=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,k=O.length-1;k>=0&&!(O[k].level<=d);k--);if(O.length=k+1,\"text\"===a.type){f=0,p=(c=a.content).length;e:for(;f<p&&(s.lastIndex=f,u=s.exec(c));){if(w=x=!0,f=u.index+1,T=\"'\"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(k=n-1;k>=0&&(\"softbreak\"!==e[k].type&&\"hardbreak\"!==e[k].type);k--)if(e[k].content){m=e[k].content.charCodeAt(e[k].content.length-1);break}if(v=32,f<p)v=c.charCodeAt(f);else for(k=n+1;k<e.length&&(\"softbreak\"!==e[k].type&&\"hardbreak\"!==e[k].type);k++)if(e[k].content){v=e[k].content.charCodeAt(0);break}if(g=o(m)||i(String.fromCharCode(m)),y=o(v)||i(String.fromCharCode(v)),b=r(m),(E=r(v))?w=!1:y&&(b||g||(w=!1)),b?x=!1:g&&(E||y||(x=!1)),34===v&&'\"'===u[0]&&m>=48&&m<=57&&(x=w=!1),w&&x&&(w=g,x=y),w||x){if(x)for(k=O.length-1;k>=0&&(h=O[k],!(O[k].level<d));k--)if(h.single===T&&O[k].level===d){h=O[k],T?(C=t.md.options.quotes[2],S=t.md.options.quotes[3]):(C=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,u.index,S),e[h.token].content=l(e[h.token].content,h.pos,C),f+=S.length-1,h.token===n&&(f+=C.length-1),p=(c=a.content).length,O.length=k;continue e}w?O.push({token:n,pos:u.index,single:T,level:d}):x&&T&&(a.content=l(a.content,u.index,\"’\"))}else T&&(a.content=l(a.content,u.index,\"’\"))}}}}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&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},function(e,t,n){\"use strict\";var r=n(89);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},function(e,t,n){\"use strict\";var r=n(88),i=[[\"table\",n(205),[\"paragraph\",\"reference\"]],[\"code\",n(206)],[\"fence\",n(207),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(208),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(209),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(210),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(211)],[\"html_block\",n(212),[\"paragraph\",\"reference\",\"blockquote\"]],[\"heading\",n(214),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(215)],[\"paragraph\",n(216)]];function o(){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()})}o.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(\"\"),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},o.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))},o.prototype.State=n(217),e.exports=o},function(e,t,n){\"use strict\";var r=n(17).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 o(e){var t,n=[],r=0,i=e.length,o=!1,a=0,s=\"\";for(t=e.charCodeAt(r);r<i;)124===t&&(o?(s+=e.substring(a,r-1),a=r):(n.push(s+e.substring(a,r)),s=\"\",a=r+1)),o=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(a)),n}e.exports=function(e,t,n,a){var s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,x,k,T;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(k=e.src.charCodeAt(c++))&&45!==k&&58!==k)return!1;if(c>=e.eMarks[p])return!1;if(124!==(T=e.src.charCodeAt(c++))&&45!==T&&58!==T&&!r(T))return!1;if(45===k&&r(T))return!1;for(;c<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(d=(l=i(e,t+1)).split(\"|\"),v=[],u=0;u<d.length;u++){if(!(g=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?v.push(58===g.charCodeAt(0)?\"center\":\"right\"):58===g.charCodeAt(0)?v.push(\"left\"):v.push(\"\")}if(-1===(l=i(e,t).trim()).indexOf(\"|\"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=o(l)).length&&\"\"===d[0]&&d.shift(),d.length&&\"\"===d[d.length-1]&&d.pop(),0===(h=d.length)||h!==v.length)return!1;if(a)return!0;for(E=e.parentType,e.parentType=\"table\",x=e.md.block.ruler.getRules(\"blockquote\"),(m=e.push(\"table_open\",\"table\",1)).map=y=[t,0],(m=e.push(\"thead_open\",\"thead\",1)).map=[t,t+1],(m=e.push(\"tr_open\",\"tr\",1)).map=[t,t+1],u=0;u<d.length;u++)m=e.push(\"th_open\",\"th\",1),v[u]&&(m.attrs=[[\"style\",\"text-align:\"+v[u]]]),(m=e.push(\"inline\",\"\",0)).content=d[u].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),p=t+2;p<n&&!(e.sCount[p]<e.blkIndent);p++){for(w=!1,u=0,f=x.length;u<f;u++)if(x[u](e,p,n,!0)){w=!0;break}if(w)break;if(!(l=i(e,p).trim()))break;if(e.sCount[p]-e.blkIndent>=4)break;for((d=o(l)).length&&\"\"===d[0]&&d.shift(),d.length&&\"\"===d[d.length-1]&&d.pop(),p===t+2&&((m=e.push(\"tbody_open\",\"tbody\",1)).map=b=[t+2,0]),(m=e.push(\"tr_open\",\"tr\",1)).map=[p,p+1],u=0;u<h;u++)m=e.push(\"td_open\",\"td\",1),v[u]&&(m.attrs=[[\"style\",\"text-align:\"+v[u]]]),(m=e.push(\"inline\",\"\",0)).content=d[u]?d[u].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]=p),m=e.push(\"table_close\",\"table\",-1),y[1]=p,e.parentType=E,e.line=p,!0}},function(e,t,n){\"use strict\";e.exports=function(e,t,n){var r,i,o;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,(o=e.push(\"code_block\",\"code\",0)).content=e.getLines(t,i,4+e.blkIndent,!1)+\"\\n\",o.map=[t,e.line],!0}},function(e,t,n){\"use strict\";e.exports=function(e,t,n,r){var i,o,a,s,l,c,u,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((p=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<d)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),(c=e.push(\"fence\",\"code\",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},function(e,t,n){\"use strict\";var r=n(17).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,x,k,T,O=e.lineMax,C=e.bMarks[t]+e.tShift[t],S=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(i)return!0;for(l=d=e.sCount[t]+1,32===e.src.charCodeAt(C)?(C++,l++,d++,o=!1,E=!0):9===e.src.charCodeAt(C)?(E=!0,(e.bsCount[t]+d)%4==3?(C++,l++,d++,o=!1):o=!0):E=!1,h=[e.bMarks[t]],e.bMarks[t]=C;C<S&&(a=e.src.charCodeAt(C),r(a));)9===a?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,C++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(E?1:0),u=C>=S,y=[e.sCount[t]],e.sCount[t]=d-l,b=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],x=e.md.block.ruler.getRules(\"blockquote\"),g=e.parentType,e.parentType=\"blockquote\",p=t+1;p<n&&(T=e.sCount[p]<e.blkIndent,!((C=e.bMarks[p]+e.tShift[p])>=(S=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(C++)||T){if(u)break;for(w=!1,s=0,c=x.length;s<c;s++)if(x[s](e,p,n,!0)){w=!0;break}if(w){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=d=e.sCount[p]+1,32===e.src.charCodeAt(C)?(C++,l++,d++,o=!1,E=!0):9===e.src.charCodeAt(C)?(E=!0,(e.bsCount[p]+d)%4==3?(C++,l++,d++,o=!1):o=!0):E=!1,h.push(e.bMarks[p]),e.bMarks[p]=C;C<S&&(a=e.src.charCodeAt(C),r(a));)9===a?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++,C++;u=C>=S,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(E?1:0),y.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=C-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,(k=e.push(\"blockquote_open\",\"blockquote\",1)).markup=\">\",k.map=f=[t,0],e.md.block.tokenize(e,t,p),(k=e.push(\"blockquote_close\",\"blockquote\",-1)).markup=\">\",e.lineMax=O,e.parentType=g,f[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=y[s],e.bsCount[s+t]=m[s];return e.blkIndent=v,!0}},function(e,t,n){\"use strict\";var r=n(17).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(i||(e.line=t+1,(l=e.push(\"hr\",\"hr\",0)).map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(o))),!0)}},function(e,t,n){\"use strict\";var r=n(17).isSpace;function i(e,t){var n,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n||i<o&&(a=e.src.charCodeAt(i),!r(a))?-1:i}function o(e,t){var n,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o<a&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,x,k,T,O,C,S,_,N,A,D,I,L,j=!1,M=!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.sCount[t]>=e.blkIndent&&(j=!0),(_=o(e,t))>=0){if(p=!0,A=e.bMarks[t]+e.tShift[t],y=Number(e.src.slice(A,_-1)),j&&1!==y)return!1}else{if(!((_=i(e,t))>=0))return!1;p=!1}if(j&&e.skipSpaces(_)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(_-1),r)return!0;for(v=e.tokens.length,p?(L=e.push(\"ordered_list_open\",\"ol\",1),1!==y&&(L.attrs=[[\"start\",y]])):L=e.push(\"bullet_list_open\",\"ul\",1),L.map=m=[t,0],L.markup=String.fromCharCode(g),E=t,N=!1,I=e.md.block.ruler.getRules(\"list\"),k=e.parentType,e.parentType=\"list\";E<n;){for(S=_,b=e.eMarks[E],f=w=e.sCount[E]+_-(e.bMarks[t]+e.tShift[t]);S<b;){if(9===(a=e.src.charCodeAt(S)))w+=4-(w+e.bsCount[E])%4;else{if(32!==a)break;w++}S++}if((u=(s=S)>=b?1:w-f)>4&&(u=1),c=f+u,(L=e.push(\"list_item_open\",\"li\",1)).markup=String.fromCharCode(g),L.map=d=[t,0],p&&(L.info=e.src.slice(A,_-1)),C=e.tight,O=e.tShift[t],T=e.sCount[t],x=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=w,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(M=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[t]=O,e.sCount[t]=T,e.tight=C,(L=e.push(\"list_item_close\",\"li\",-1)).markup=String.fromCharCode(g),E=t=e.line,d[1]=E,s=e.bMarks[t],E>=n)break;if(e.sCount[E]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(D=!1,l=0,h=I.length;l<h;l++)if(I[l](e,E,n,!0)){D=!0;break}if(D)break;if(p){if((_=o(e,E))<0)break;A=e.bMarks[E]+e.tShift[E]}else if((_=i(e,E))<0)break;if(g!==e.src.charCodeAt(_-1))break}return(L=p?e.push(\"ordered_list_close\",\"ol\",-1):e.push(\"bullet_list_close\",\"ul\",-1)).markup=String.fromCharCode(g),m[1]=E,e.line=E,e.parentType=k,M&&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}},function(e,t,n){\"use strict\";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t,n,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,E,w,x=0,k=e.bMarks[t]+e.tShift[t],T=e.eMarks[t],O=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<T;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===T)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,E=e.md.block.ruler.getRules(\"reference\"),m=e.parentType,e.parentType=\"reference\";O<c&&!e.isEmpty(O);O++)if(!(e.sCount[O]-e.blkIndent>3||e.sCount[O]<0)){for(b=!1,f=0,p=E.length;f<p;f++)if(E[f](e,O,c,!0)){b=!0;break}if(b)break}for(T=(y=e.getLines(t,O,e.blkIndent,!1).trim()).length,k=1;k<T;k++){if(91===(a=y.charCodeAt(k)))return!1;if(93===a){h=k;break}(10===a||92===a&&++k<T&&10===y.charCodeAt(k))&&x++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(k=h+2;k<T;k++)if(10===(a=y.charCodeAt(k)))x++;else if(!i(a))break;if(!(v=e.md.helpers.parseLinkDestination(y,k,T)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=k=v.pos,l=x+=v.lines,g=k;k<T;k++)if(10===(a=y.charCodeAt(k)))x++;else if(!i(a))break;for(v=e.md.helpers.parseLinkTitle(y,k,T),k<T&&g!==k&&v.ok?(w=v.str,k=v.pos,x+=v.lines):(w=\"\",k=s,x=l);k<T&&(a=y.charCodeAt(k),i(a));)k++;if(k<T&&10!==y.charCodeAt(k)&&w)for(w=\"\",k=s,x=l;k<T&&(a=y.charCodeAt(k),i(a));)k++;return!(k<T&&10!==y.charCodeAt(k))&&(!!(d=r(y.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:w,href:u}),e.parentType=m,e.line=t+x+1),!0))}},function(e,t,n){\"use strict\";var r=n(213),i=n(117).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(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,a,s,l,c=e.bMarks[t]+e.tShift[t],u=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(l=e.src.slice(c,u),i=0;i<o.length&&!o[i][0].test(l);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),o[i][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push(\"html_block\",\"\",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},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\"]},function(e,t,n){\"use strict\";var r=n(17).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!r(o))&&(i||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push(\"heading_open\",\"h\"+String(a),1)).markup=\"########\".slice(0,a),l.map=[t,e.line],(l=e.push(\"inline\",\"\",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push(\"heading_close\",\"h\"+String(a),-1)).markup=\"########\".slice(0,a)),!0)}},function(e,t,n){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s,l,c,u,f,p,d=t+1,h=e.md.block.ruler.getRules(\"paragraph\");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=\"paragraph\";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=c)){u=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push(\"heading_open\",\"h\"+String(u),1)).markup=String.fromCharCode(f),s.map=[t,e.line],(s=e.push(\"inline\",\"\",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push(\"heading_close\",\"h\"+String(u),-1)).markup=String.fromCharCode(f),e.parentType=p,!0)}},function(e,t,n){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules(\"paragraph\"),u=e.lineMax;for(s=e.parentType,e.parentType=\"paragraph\";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push(\"paragraph_open\",\"p\",1)).map=[t,e.line],(a=e.push(\"inline\",\"\",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push(\"paragraph_close\",\"p\",-1),e.parentType=s,!0}},function(e,t,n){\"use strict\";var r=n(89),i=n(17).isSpace;function o(e,t,n,r){var o,a,s,l,c,u,f,p;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=\"\",p=!1,s=l=u=f=0,c=(a=this.src).length;l<c;l++){if(o=a.charCodeAt(l),!p){if(i(o)){u++,9===o?f+=4-f%4:f++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(f),this.bsCount.push(0),p=!1,u=0,f=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.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},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.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},o.prototype.getLines=function(e,t,n,r){var o,a,s,l,c,u,f,p=e;if(e>=t)return\"\";for(u=new Array(t-e),o=0;p<t;p++,o++){for(a=0,f=l=this.bMarks[p],c=p+1<t||r?this.eMarks[p]+1:this.eMarks[p];l<c&&a<n;){if(s=this.src.charCodeAt(l),i(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-f<this.tShift[p]))break;a++}l++}u[o]=a>n?new Array(a-n+1).join(\" \")+this.src.slice(l,c):this.src.slice(l,c)}return u.join(\"\")},o.prototype.Token=r,e.exports=o},function(e,t,n){\"use strict\";var r=n(88),i=[[\"text\",n(219)],[\"newline\",n(220)],[\"escape\",n(221)],[\"backticks\",n(222)],[\"strikethrough\",n(118).tokenize],[\"emphasis\",n(119).tokenize],[\"link\",n(223)],[\"image\",n(224)],[\"autolink\",n(225)],[\"html_inline\",n(226)],[\"entity\",n(227)]],o=[[\"balance_pairs\",n(228)],[\"strikethrough\",n(118).postProcess],[\"emphasis\",n(119).postProcess],[\"text_collapse\",n(229)]];function a(){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<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(\"\"),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(\"\"),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules(\"\")).length,i=0;i<a;i++)o[i](s)},a.prototype.State=n(230),e.exports=a},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)}},function(e,t,n){\"use strict\";var r=n(17).isSpace;e.exports=function(e,t){var n,i,o,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push(\"hardbreak\",\"br\",0)}else e.pending=e.pending.slice(0,-1),e.push(\"softbreak\",\"br\",0);else e.push(\"softbreak\",\"br\",0);for(a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},function(e,t,n){\"use strict\";for(var r=n(17).isSpace,i=[],o=0;o<256;o++)i.push(0);\"\\\\!\\\"#$%&'()*+,./:;<=>?@[]^_`{|}~-\".split(\"\").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push(\"hardbreak\",\"br\",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+=\"\\\\\"),e.pos++,!0}},function(e,t,n){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(i=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=i),e.pos+=l,!0;for(a=s=u;-1!==(a=e.src.indexOf(\"`\",s));){for(s=a+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-a)===l)return t||((o=e.push(\"code_inline\",\"code\",0)).markup=i,o.content=e.src.slice(u,a).replace(/\\n/g,\" \").replace(/^ (.+) $/,\"$1\")),e.pos=s,!0;e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=l,!0}},function(e,t,n){\"use strict\";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,o,a,s,l,c,u,f,p=\"\",d=\"\",h=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(g=!1,c++;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=m)return!1;if(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(p=e.md.normalizeLink(u.str),e.md.validateLink(p)?c=u.pos:p=\"\",v=c;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(d=u.str,c=u.pos;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);}(c>=m||41!==e.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=h,!1;p=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,e.push(\"link_open\",\"a\",1).attrs=n=[[\"href\",p]],d&&n.push([\"title\",d]),e.md.inline.tokenize(e),e.push(\"link_close\",\"a\",-1)),e.pos=c,e.posMax=m,!0}},function(e,t,n){\"use strict\";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,o,a,s,l,c,u,f,p,d,h,m,v,g=\"\",y=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,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=b)return!1;for(v=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=\"\"),v=u;u<b&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&p.ok)for(d=p.str,u=p.pos;u<b&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else d=\"\";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;g=f.href,d=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push(\"image\",\"img\",0)).attrs=n=[[\"src\",g],[\"alt\",\"\"]],h.children=m,h.content=a,d&&n.push([\"title\",d])),e.pos=u,e.posMax=b,!0}},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,o,a,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return n=e.src.slice(l+1,u),i.test(n)?(o=e.md.normalizeLink(n),!!e.md.validateLink(o)&&(t||((a=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",o]],a.markup=\"autolink\",a.info=\"auto\",(a=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(n),(a=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",a.info=\"auto\"),e.pos+=n.length+2,!0)):!!r.test(n)&&(o=e.md.normalizeLink(\"mailto:\"+n),!!e.md.validateLink(o)&&(t||((a=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",o]],a.markup=\"autolink\",a.info=\"auto\",(a=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(n),(a=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",a.info=\"auto\"),e.pos+=n.length+2,!0))}},function(e,t,n){\"use strict\";var r=n(117).HTML_TAG_RE;e.exports=function(e,t){var n,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(a).match(r))&&(t||(e.push(\"html_inline\",\"\",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){\"use strict\";var r=n(112),i=n(17).has,o=n(17).isValidEntityCode,a=n(17).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<f)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n=\"x\"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&i(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+=\"&\"),e.pos++,!0}},function(e,t,n){\"use strict\";function r(e,t){var n,r,i,o,a,s,l,c,u={},f=t.length;if(f){var p=0,d=-2,h=[];for(n=0;n<f;n++)if(i=t[n],h.push(0),t[p].marker===i.marker&&d===i.token-1||(p=n),d=i.token,i.length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1,-1,-1,-1]),a=u[i.marker][(i.open?3:0)+i.length%3],s=r=p-h[p]-1;r>a;r-=h[r]+1)if((o=t[r]).marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,i.open=!1,o.end=n,o.close=!1,s=-1,d=-2;break}-1!==s&&(u[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}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)}},function(e,t,n){\"use strict\";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,\"text\"===i[t].type&&t+1<o&&\"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)}},function(e,t,n){\"use strict\";var r=n(89),i=n(17).isWhiteSpace,o=n(17).isPunctChar,a=n(17).isMdAsciiPunct;function s(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}s.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},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),o=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=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,f,p,d,h=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<g&&this.src.charCodeAt(h)===y;)h++;return s=h-e,r=h<g?this.src.charCodeAt(h):32,f=a(n)||o(String.fromCharCode(n)),d=a(r)||o(String.fromCharCode(r)),u=i(n),(p=i(r))?m=!1:d&&(u||f||(m=!1)),u?v=!1:f&&(p||d||(v=!1)),t?(l=m,c=v):(l=m&&(!v||f),c=v&&(!m||d)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},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 o(e){return\"[object Function]\"===i(e)}function a(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={\"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|рф\".split(\"|\");function u(e){var t=e.re=n(232)(e.__opts__),r=e.__tlds__.slice();function s(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(s(t.tpl_email_fuzzy),\"i\"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),\"i\"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),\"i\"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),\"i\");var l=[];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)?o(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(o(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):l.push(t)}})),l.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 u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"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 f(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 p(e,t){var n=new f(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||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,u(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,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.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:\"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__=\"\",this.__index__=o,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))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__=\"mailto:\",this.__index__=o,this.__last_index__=a)),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(p(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(p(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(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(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},function(e,t,n){\"use strict\";e.exports=function(e){var t={};t.src_Any=n(114).source,t.src_Cc=n(115).source,t.src_Z=n(116).source,t.src_P=n(87).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=\"(?:(?![><|]|\"+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=\"(?=$|[><|]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><|]|[()[\\\\]{}.,\\\"'?!\\\\-;]).|\\\\[(?:(?!\"+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='(^|[><|]|\"|\\\\(|'+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`||]|\"+t.src_ZPCc+\"))((?![$+<=>^`||])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`||]|\"+t.src_ZPCc+\"))((?![$+<=>^`||])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var a=\"object\"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=/^xn--/,u=/[^\\x20-\\x7E]/,f=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},d=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(p[e])}function v(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+v((e=e.replace(f,\".\")).split(\".\"),t).join(\".\")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t=\"\";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join(\"\")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function x(e){var t,n,r,i,o,a,s,c,u,f,p,h=[],v=e.length,g=0,y=128,E=72;for((n=e.lastIndexOf(\"-\"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m(\"not-basic\"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<v;){for(o=g,a=1,s=36;i>=v&&m(\"invalid-input\"),((c=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>d((l-g)/a))&&m(\"overflow\"),g+=c*a,!(c<(u=s<=E?1:s>=E+26?26:s-E));s+=36)a>d(l/(f=36-u))&&m(\"overflow\"),a*=f;E=w(g-o,t=h.length+1,0==o),d(g/t)>l-y&&m(\"overflow\"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function k(e){var t,n,r,i,o,a,s,c,u,f,p,v,g,b,x,k=[];for(v=(e=y(e)).length,t=128,n=0,o=72,a=0;a<v;++a)(p=e[a])<128&&k.push(h(p));for(r=i=k.length,i&&k.push(\"-\");r<v;){for(s=l,a=0;a<v;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>d((l-n)/(g=r+1))&&m(\"overflow\"),n+=(s-t)*g,t=s,a=0;a<v;++a)if((p=e[a])<t&&++n>l&&m(\"overflow\"),p==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)x=c-f,b=36-f,k.push(h(E(f+x%b,0))),c=d(x/b);k.push(h(E(c,0))),o=w(n,g,r==i),n=0,++r}++n,++t}return k.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:y,encode:b},decode:x,encode:k,toASCII:function(e){return g(e,(function(e){return u.test(e)?\"xn--\"+k(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(234)(e),n(64))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,\"loaded\",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,\"id\",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"“”‘’\",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"“”‘’\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"paragraph\"]},inline:{rules:[\"text\"],rules2:[\"balance_pairs\",\"text_collapse\"]}}}},function(e,t,n){\"use strict\";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"“”‘’\",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\"]}}}},function(e,t,n){!function(e){\"use strict\";var t={},n=/[^\\s\\u00a0]/,r=e.Pos,i=e.cmpPos;function o(e){var t=e.search(n);return-1==t?0:t}function a(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension(\"toggleComment\",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o=\"un\":(this.lineComment(s,l,e),o=\"line\"):\"un\"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension(\"lineComment\",(function(e,i,s){s||(s=t);var l=this,c=a(l,e),u=l.getLine(e.line);if(null!=u&&(f=e,p=u,!/\\bstring\\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\\'\\\"\\`]/.test(p))){var f,p,d=s.lineComment||c.lineComment;if(d){var h=Math.min(0!=i.ch||i.line==e.line?i.line+1:i.line,l.lastLine()+1),m=null==s.padding?\" \":s.padding,v=s.commentBlankLines||e.line==i.line;l.operation((function(){if(s.indent){for(var t=null,i=e.line;i<h;++i){var a=(c=l.getLine(i)).slice(0,o(c));(null==t||t.length>a.length)&&(t=a)}for(i=e.line;i<h;++i){var c=l.getLine(i),u=t.length;(v||n.test(c))&&(c.slice(0,u)!=t&&(u=o(c)),l.replaceRange(t+d+m,r(i,0),r(i,u)))}}else for(i=e.line;i<h;++i)(v||n.test(l.getLine(i)))&&l.replaceRange(d+m,r(i,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,i,s))}})),e.defineExtension(\"blockComment\",(function(e,o,s){s||(s=t);var l=this,c=a(l,e),u=s.blockCommentStart||c.blockCommentStart,f=s.blockCommentEnd||c.blockCommentEnd;if(u&&f){if(!/\\bcomment\\b/.test(l.getTokenTypeAt(r(e.line,0)))){var p=Math.min(o.line,l.lastLine());p!=e.line&&0==o.ch&&n.test(l.getLine(p))&&--p;var d=null==s.padding?\" \":s.padding;e.line>p||l.operation((function(){if(0!=s.fullLines){var t=n.test(l.getLine(p));l.replaceRange(d+f,r(p)),l.replaceRange(u+d,r(e.line,0));var a=s.blockCommentLead||c.blockCommentLead;if(null!=a)for(var h=e.line+1;h<=p;++h)(h!=p||t)&&l.replaceRange(a+d,r(h,0))}else{var m=0==i(l.getCursor(\"to\"),o),v=!l.somethingSelected();l.replaceRange(f,o),m&&l.setSelection(v?o:l.getCursor(\"from\"),o),l.replaceRange(u,e)}}))}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&l.lineComment(e,o,s)})),e.defineExtension(\"uncomment\",(function(e,i,o){o||(o=t);var s,l=this,c=a(l,e),u=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,u),p=o.lineComment||c.lineComment,d=[],h=null==o.padding?\" \":o.padding;e:if(p){for(var m=f;m<=u;++m){var v=l.getLine(m),g=v.indexOf(p);if(g>-1&&!/comment/.test(l.getTokenTypeAt(r(m,g+1)))&&(g=-1),-1==g&&n.test(v))break e;if(g>-1&&n.test(v.slice(0,g)))break e;d.push(v)}if(l.operation((function(){for(var e=f;e<=u;++e){var t=d[e-f],n=t.indexOf(p),i=n+p.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange(\"\",r(e,n),r(e,i)))}})),s)return!0}var y=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var E=o.blockCommentLead||c.blockCommentLead,w=l.getLine(f),x=w.indexOf(y);if(-1==x)return!1;var k=u==f?w:l.getLine(u),T=k.indexOf(b,u==f?x+y.length:0),O=r(f,x+1),C=r(u,T+1);if(-1==T||!/comment/.test(l.getTokenTypeAt(O))||!/comment/.test(l.getTokenTypeAt(C))||l.getRange(O,C,\"\\n\").indexOf(b)>-1)return!1;var S=w.lastIndexOf(y,e.ch),_=-1==S?-1:w.slice(0,e.ch).indexOf(b,S+y.length);if(-1!=S&&-1!=_&&_+b.length!=e.ch)return!1;_=k.indexOf(b,i.ch);var N=k.slice(i.ch).lastIndexOf(y,_-i.ch);return S=-1==_||-1==N?-1:i.ch+N,(-1==_||-1==S||S==i.ch)&&(l.operation((function(){l.replaceRange(\"\",r(u,T-(h&&k.slice(T-h.length,T)==h?h.length:0)),r(u,T+b.length));var e=x+y.length;if(h&&w.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange(\"\",r(f,x),r(f,e)),E)for(var t=f+1;t<=u;++t){var i=l.getLine(t),o=i.indexOf(E);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+E.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange(\"\",r(t,o),r(t,a))}}})),!0)}))}(n(15))},function(e,t,n){!function(e){\"use strict\";function t(t,n,i,o){if(i&&i.call){var a=i;i=null}else a=r(t,i,\"rangeFinder\");\"number\"==typeof n&&(n=e.Pos(n,0));var s=r(t,i,\"minFoldSize\");function l(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;if(\"fold\"===o)return r;for(var i=t.findMarksAt(r.from),l=0;l<i.length;++l)if(i[l].__isFold){if(!e)return null;r.cleared=!0,i[l].clear()}return r}var c=l(!0);if(r(t,i,\"scanUp\"))for(;!c&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),c=l(!1);if(c&&!c.cleared&&\"unfold\"!==o){var u=function(e,t,n){var i=r(e,t,\"widget\");if(\"function\"==typeof i&&(i=i(n.from,n.to)),\"string\"==typeof i){var o=document.createTextNode(i);(i=document.createElement(\"span\")).appendChild(o),i.className=\"CodeMirror-foldmarker\"}else i&&(i=i.cloneNode(!0));return i}(t,i,c);e.on(u,\"mousedown\",(function(t){f.clear(),e.e_preventDefault(t)}));var f=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:r(t,i,\"clearOnEnter\"),__isFold:!0});f.on(\"clear\",(function(n,r){e.signal(t,\"unfold\",t,n,r)})),e.signal(t,\"fold\",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,i){t(r,i,{rangeFinder:e,widget:n})}},e.defineExtension(\"foldCode\",(function(e,n,r){t(this,e,n,r)})),e.defineExtension(\"isFolded\",(function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,\"fold\")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),{scanUp:!1},\"unfold\")},e.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},\"fold\")}))},e.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},\"unfold\")}))},e.registerHelper(\"fold\",\"combine\",(function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}})),e.registerHelper(\"fold\",\"auto\",(function(e,t){for(var n=e.getHelpers(t,\"fold\"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}}));var n={rangeFinder:e.fold.auto,widget:\"↔\",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,t,r){if(t&&void 0!==t[r])return t[r];var i=e.options.foldOptions;return i&&void 0!==i[r]?i[r]:n[r]}e.defineOption(\"foldOptions\",null),e.defineExtension(\"foldOption\",(function(e,t){return r(this,e,t)}))}(n(15))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15));n(73);var o=n(125),a=n(93);i.default.registerHelper(\"hint\",\"graphql\",(function(e,t){var n=t.schema;if(n){var r=e.getCursor(),s=e.getTokenAt(r),l=null!==s.type&&/\"|\\w/.test(s.string[0])?s.start:s.end,c=new a.Position(r.line,l),u={list:o.getAutocompleteSuggestions(n,e.getValue(),c,s,t.externalFragments).map((function(e){return{text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})),from:{line:r.line,ch:l},to:{line:r.line,ch:s.end}};return u&&u.list&&u.list.length>0&&(u.from=i.default.Pos(u.from.line,u.from.ch),u.to=i.default.Pos(u.to.line,u.to.ch),i.default.signal(e,\"hasCompletion\",e,u,s)),u}}))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=n(125),a=[\"error\",\"warning\",\"information\",\"hint\"],s={\"GraphQL: Validation\":\"validation\",\"GraphQL: Deprecation\":\"deprecation\",\"GraphQL: Syntax\":\"syntax\"};i.default.registerHelper(\"lint\",\"graphql\",(function(e,t){var n=t.schema;return o.getDiagnostics(e,n,t.validationRules,void 0,t.externalFragments).map((function(e){return{message:e.message,severity:e.severity?a[e.severity-1]:a[0],type:e.source?s[e.source]:void 0,from:i.default.Pos(e.range.start.line,e.range.start.character),to:i.default.Pos(e.range.end.line,e.range.end.character)}}))}))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(14),o=r(n(15)),a=r(n(121)),s=n(123);function l(e,t,n){var r,i=(null===(r=t.fieldDef)||void 0===r?void 0:r.name)||\"\";\"__\"!==i.slice(0,2)&&(f(e,t,n,t.parentType),d(e,\".\")),d(e,i,\"field-name\",n,s.getFieldReference(t))}function c(e,t,n){var r;d(e,\"@\"+((null===(r=t.directiveDef)||void 0===r?void 0:r.name)||\"\"),\"directive-name\",n,s.getDirectiveReference(t))}function u(e,t,n,r){d(e,\": \"),f(e,t,n,r)}function f(e,t,n,r){r instanceof i.GraphQLNonNull?(f(e,t,n,r.ofType),d(e,\"!\")):r instanceof i.GraphQLList?(d(e,\"[\"),f(e,t,n,r.ofType),d(e,\"]\")):d(e,(null==r?void 0:r.name)||\"\",\"type-name\",n,s.getTypeReference(t,r))}function p(e,t,n){var r=n.description;if(r){var i=document.createElement(\"div\");i.className=\"info-description\",t.renderDescription?i.innerHTML=t.renderDescription(r):i.appendChild(document.createTextNode(r)),e.appendChild(i)}!function(e,t,n){var r=n.deprecationReason;if(r){var i=document.createElement(\"div\");i.className=\"info-deprecation\",t.renderDescription?i.innerHTML=t.renderDescription(r):i.appendChild(document.createTextNode(r));var o=document.createElement(\"span\");o.className=\"info-deprecation-label\",o.appendChild(document.createTextNode(\"Deprecated: \")),i.insertBefore(o,i.firstChild),e.appendChild(i)}}(e,t,n)}function d(e,t,n,r,i){if(void 0===n&&(n=\"\"),void 0===r&&(r={onClick:null}),void 0===i&&(i=null),n){var o=r.onClick,a=void 0;o?((a=document.createElement(\"a\")).href=\"javascript:void 0\",a.addEventListener(\"click\",(function(e){o(i,e)}))):a=document.createElement(\"span\"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n(124),o.default.registerHelper(\"info\",\"graphql\",(function(e,t){if(t.schema&&e.state){var n,r=e.state,i=r.kind,o=r.step,h=a.default(t.schema,e.state);return\"Field\"===i&&0===o&&h.fieldDef||\"AliasedField\"===i&&2===o&&h.fieldDef?(function(e,t,n){l(e,t,n),u(e,t,n,t.type)}(n=document.createElement(\"div\"),h,t),p(n,t,h.fieldDef),n):\"Directive\"===i&&1===o&&h.directiveDef?(c(n=document.createElement(\"div\"),h,t),p(n,t,h.directiveDef),n):\"Argument\"===i&&0===o&&h.argDef?(function(e,t,n){var r;t.directiveDef?c(e,t,n):t.fieldDef&&l(e,t,n);var i=(null===(r=t.argDef)||void 0===r?void 0:r.name)||\"\";d(e,\"(\"),d(e,i,\"arg-name\",n,s.getArgumentReference(t)),u(e,t,n,t.inputType),d(e,\")\")}(n=document.createElement(\"div\"),h,t),p(n,t,h.argDef),n):\"EnumValue\"===i&&h.enumValue&&h.enumValue.description?(function(e,t,n){var r,i=(null===(r=t.enumValue)||void 0===r?void 0:r.name)||\"\";f(e,t,n,t.inputType),d(e,\".\"),d(e,i,\"enum-value\",n,s.getEnumValueReference(t))}(n=document.createElement(\"div\"),h,t),p(n,t,h.enumValue),n):\"NamedType\"===i&&h.type&&h.type.description?(f(n=document.createElement(\"div\"),h,t,h.type),p(n,t,h.type),n):void 0}}))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=r(n(121)),a=n(123);n(244),i.default.registerHelper(\"jump\",\"graphql\",(function(e,t){if(t.schema&&t.onClick&&e.state){var n=e.state,r=n.kind,i=n.step,s=o.default(t.schema,n);return\"Field\"===r&&0===i&&s.fieldDef||\"AliasedField\"===r&&2===i&&s.fieldDef?a.getFieldReference(s):\"Directive\"===r&&1===i&&s.directiveDef?a.getDirectiveReference(s):\"Argument\"===r&&0===i&&s.argDef?a.getArgumentReference(s):\"EnumValue\"===r&&s.enumValue?a.getEnumValueReference(s):\"NamedType\"===r&&s.type?a.getTypeReference(s):void 0}}))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15));function o(e,t){var n=t.target||t.srcElement;if(n instanceof HTMLElement&&\"SPAN\"===(null==n?void 0:n.nodeName)){var r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&c(e)}}function a(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&u(e):e.state.jump.cursor=null}function s(e,t){if(!e.state.jump.isHoldingModifier&&t.key===(l?\"Meta\":\"Control\")){e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&c(e);var n=function(a){a.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&u(e),i.default.off(document,\"keyup\",n),i.default.off(document,\"click\",r),e.off(\"mousedown\",o))},r=function(t){var n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=function(t,n){e.state.jump.destination&&(n.codemirrorIgnore=!0)};i.default.on(document,\"keyup\",n),i.default.on(document,\"click\",r),e.on(\"mousedown\",o)}}i.default.defineOption(\"jump\",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.jump.onMouseOver;i.default.off(e.getWrapperElement(),\"mouseover\",r);var l=e.state.jump.onMouseOut;i.default.off(e.getWrapperElement(),\"mouseout\",l),i.default.off(document,\"keydown\",e.state.jump.onKeyDown),delete e.state.jump}if(t){var c=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:a.bind(null,e),onKeyDown:s.bind(null,e)};i.default.on(e.getWrapperElement(),\"mouseover\",c.onMouseOver),i.default.on(e.getWrapperElement(),\"mouseout\",c.onMouseOut),i.default.on(document,\"keydown\",c.onKeyDown)}}));var l=\"undefined\"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf(\"Mac\");function c(e){if(!e.state.jump.marker){var t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,\"jump\");if(o){var a=o(r,i,e);if(a){var s=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:\"CodeMirror-jump-token\"});e.state.jump.marker=s,e.state.jump.destination=a}}}}function u(e){var t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=n(6);function a(e,t){var n,r,i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}i.default.defineMode(\"graphql\",(function(e){var t=o.onlineParser({eatWhitespace:function(e){return e.eatWhile(o.isIgnored)},lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\\s*[})\\]]/,fold:\"brace\",lineComment:\"#\",closeBrackets:{pairs:'()[]{}\"\"',explode:\"()[]{}\"}}}))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=n(14),a=r(n(122)),s=r(n(247));i.default.registerHelper(\"hint\",\"graphql-variables\",(function(e,t){var n=e.getCursor(),r=e.getTokenAt(n),l=function(e,t,n){var r=\"Invalid\"===t.state.kind?t.state.prevState:t.state,i=r.kind,l=r.step;if(\"Document\"===i&&0===l)return s.default(e,t,[{text:\"{\"}]);var c=n.variableToType;if(!c)return;var u=function(e,t){var n={type:null,fields:null};return a.default(t,(function(t){if(\"Variable\"===t.kind)n.type=e[t.name];else if(\"ListValue\"===t.kind){var r=n.type?o.getNullableType(n.type):void 0;n.type=r instanceof o.GraphQLList?r.ofType:null}else if(\"ObjectValue\"===t.kind){var i=n.type?o.getNamedType(n.type):void 0;n.fields=i instanceof o.GraphQLInputObjectType?i.getFields():null}else if(\"ObjectField\"===t.kind){var a=t.name&&n.fields?n.fields[t.name]:null;n.type=a&&a.type}})),n}(c,t.state);if(\"Document\"===i||\"Variable\"===i&&0===l){var f=Object.keys(c);return s.default(e,t,f.map((function(e){return{text:'\"'+e+'\": ',type:c[e]}})))}if((\"ObjectValue\"===i||\"ObjectField\"===i&&0===l)&&u.fields){var p=Object.keys(u.fields).map((function(e){return u.fields[e]}));return s.default(e,t,p.map((function(e){return{text:'\"'+e.name+'\": ',type:e.type,description:e.description}})))}if(\"StringValue\"===i||\"NumberValue\"===i||\"BooleanValue\"===i||\"NullValue\"===i||\"ListValue\"===i&&1===l||\"ObjectField\"===i&&2===l||\"Variable\"===i&&2===l){var d=u.type?o.getNamedType(u.type):void 0;if(d instanceof o.GraphQLInputObjectType)return s.default(e,t,[{text:\"{\"}]);if(d instanceof o.GraphQLEnumType){var h=d.getValues();return s.default(e,t,h.map((function(e){return{text:'\"'+e.name+'\"',type:d,description:e.description}})))}if(d===o.GraphQLBoolean)return s.default(e,t,[{text:\"true\",type:o.GraphQLBoolean,description:\"Not false.\"},{text:\"false\",type:o.GraphQLBoolean,description:\"Not true.\"}])}}(n,r,t);return l&&l.list&&l.list.length>0&&(l.from=i.default.Pos(l.from.line,l.from.ch),l.to=i.default.Pos(l.to.line,l.to.ch),i.default.signal(e,\"hasCompletion\",e,l,r)),l}))},function(e,t,n){\"use strict\";function r(e,t){var n=e.filter(t);return 0===n.length?e:n}function i(e){return e.toLowerCase().replace(/\\W/g,\"\")}function o(e,t){var n=function(e,t){var n,r,i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){var s=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]+s),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]+s))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t,n){var a=function(e,t){if(!t)return r(e,(function(e){return!e.isDeprecated}));return r(r(e.map((function(e){return{proximity:o(i(e.text),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.text.length-t.entry.text.length})).map((function(e){return e.entry}))}(n,i(t.string));if(a){var s=null!==t.type&&/\"|\\w/.test(t.string[0])?t.start:t.end;return{list:a,from:{line:e.line,ch:s},to:{line:e.line,ch:t.end}}}}},function(e,t,n){\"use strict\";var r=this&&this.__read||function(e,t){var n=\"function\"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=i(n(15)),a=n(14),s=i(n(249));function l(e,t,n){return{message:n,severity:\"error\",type:\"validation\",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function c(e,t){return Array.prototype.concat.apply([],e.map(t))}o.default.registerHelper(\"lint\",\"graphql-variables\",(function(e,t,n){if(!e)return[];var i;try{i=s.default(e)}catch(e){if(e.stack)throw e;return[l(n,e,e.message)]}var o=t.variableToType;return o?function(e,t,n){var i=[];return n.members.forEach((function(n){var o;if(n){var s=null===(o=n.key)||void 0===o?void 0:o.value,u=t[s];u?function e(t,n){if(!t||!n)return[];if(t instanceof a.GraphQLNonNull)return\"Null\"===n.kind?[[n,'Type \"'+t+'\" is non-nullable and cannot be null.']]:e(t.ofType,n);if(\"Null\"===n.kind)return[];if(t instanceof a.GraphQLList){var r=t.ofType;return\"Array\"===n.kind?c(n.values||[],(function(t){return e(r,t)})):e(r,n)}if(t instanceof a.GraphQLInputObjectType){if(\"Object\"!==n.kind)return[[n,'Type \"'+t+'\" must be an Object.']];var i=Object.create(null),o=c(n.members,(function(n){var r,o=null===(r=null==n?void 0:n.key)||void 0===r?void 0:r.value;i[o]=!0;var a=t.getFields()[o];if(!a)return[[n.key,'Type \"'+t+'\" does not have a field \"'+o+'\".']];var s=a?a.type:void 0;return e(s,n.value)}));return Object.keys(t.getFields()).forEach((function(e){i[e]||t.getFields()[e].type instanceof a.GraphQLNonNull&&o.push([n,'Object of type \"'+t+'\" is missing required field \"'+e+'\".'])})),o}if(\"Boolean\"===t.name&&\"Boolean\"!==n.kind||\"String\"===t.name&&\"String\"!==n.kind||\"ID\"===t.name&&\"Number\"!==n.kind&&\"String\"!==n.kind||\"Float\"===t.name&&\"Number\"!==n.kind||\"Int\"===t.name&&(\"Number\"!==n.kind||(0|n.value)!==n.value))return[[n,'Expected value of type \"'+t+'\".']];if((t instanceof a.GraphQLEnumType||t instanceof a.GraphQLScalarType)&&(\"String\"!==n.kind&&\"Number\"!==n.kind&&\"Boolean\"!==n.kind&&\"Null\"!==n.kind||(null==(s=t.parseValue(n.value))||s!=s)))return[[n,'Expected value of type \"'+t+'\".']];var s;return[]}(u,n.value).forEach((function(t){var n=r(t,2),o=n[0],a=n[1];i.push(l(e,o,a))})):i.push(l(e,n.key,'Variable \"$'+s+'\" does not appear in any GraphQL query.'))}})),i}(n,o,i):[]}))},function(e,t,n){\"use strict\";var r,i,o,a,s,l,c;function u(){var e=o,t=[];if(h(\"{\"),!v(\"}\")){do{t.push(f())}while(v(\",\"));h(\"}\")}return{kind:\"Object\",start:e,end:s,members:t}}function f(){var e=o,t=\"String\"===c?d():null;h(\"String\"),h(\":\");var n=p();return{kind:\"Member\",start:e,end:s,key:t,value:n}}function p(){switch(c){case\"[\":return function(){var e=o,t=[];if(h(\"[\"),!v(\"]\")){do{t.push(p())}while(v(\",\"));h(\"]\")}return{kind:\"Array\",start:e,end:s,values:t}}();case\"{\":return u();case\"String\":case\"Number\":case\"Boolean\":case\"Null\":var e=d();return y(),e}h(\"Value\")}function d(){return{kind:c,start:o,end:a,value:JSON.parse(r.slice(o,a))}}function h(e){if(c!==e){var t;if(\"EOF\"===c)t=\"[end of file]\";else if(a-o>1)t=\"`\"+r.slice(o,a)+\"`\";else{var n=r.slice(o).match(/^.+?\\b/);t=\"`\"+(n?n[0]:r[o])+\"`\"}throw m(\"Expected \"+e+\" but found \"+t+\".\")}y()}function m(e){return{message:e,start:o,end:a}}function v(e){if(c===e)return y(),!0}function g(){return a<i&&(a++,l=a===i?0:r.charCodeAt(a)),l}function y(){for(s=a;9===l||10===l||13===l||32===l;)g();if(0!==l){switch(o=a,l){case 34:return c=\"String\",function(){g();for(;34!==l&&l>31;)if(92===l)switch(l=g()){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:g();break;case 117:g(),b(),b(),b(),b();break;default:throw m(\"Bad character escape sequence.\")}else{if(a===i)throw m(\"Unterminated string.\");g()}if(34===l)return void g();throw m(\"Unterminated string.\")}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return c=\"Number\",function(){45===l&&g();48===l?g():E();46===l&&(g(),E());69!==l&&101!==l||(43!==(l=g())&&45!==l||g(),E())}();case 102:if(\"false\"!==r.slice(o,o+5))break;return a+=4,g(),void(c=\"Boolean\");case 110:if(\"null\"!==r.slice(o,o+4))break;return a+=3,g(),void(c=\"Null\");case 116:if(\"true\"!==r.slice(o,o+4))break;return a+=3,g(),void(c=\"Boolean\")}c=r[o],g()}else c=\"EOF\"}function b(){if(l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102)return g();throw m(\"Expected hexadecimal digit.\")}function E(){if(l<48||l>57)throw m(\"Expected decimal digit.\");do{g()}while(l>=48&&l<=57)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){r=e,i=e.length,o=a=s=-1,g(),y();var t=u();return h(\"EOF\"),t}},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=n(6);function a(e,t){var n,r,i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}i.default.defineMode(\"graphql-variables\",(function(e){var t=o.onlineParser({eatWhitespace:function(e){return e.eatSpace()},lexRules:s,parseRules:l,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}}));var s={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},l={Document:[o.p(\"{\"),o.list(\"Variable\",o.opt(o.p(\",\"))),o.p(\"}\")],Variable:[c(\"variable\"),o.p(\":\"),\"Value\"],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\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[o.t(\"Number\",\"number\")],StringValue:[o.t(\"String\",\"string\")],BooleanValue:[o.t(\"Keyword\",\"builtin\")],NullValue:[o.t(\"Keyword\",\"keyword\")],ListValue:[o.p(\"[\"),o.list(\"Value\",o.opt(o.p(\",\"))),o.p(\"]\")],ObjectValue:[o.p(\"{\"),o.list(\"ObjectField\",o.opt(o.p(\",\"))),o.p(\"}\")],ObjectField:[c(\"attribute\"),o.p(\":\"),\"Value\"]};function c(e){return{style:e,match:function(e){return\"String\"===e.kind},update:function(e,t){e.name=t.value.slice(1,-1)}}}},function(e,t,n){!function(e){\"use strict\";e.defineMode(\"javascript\",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=!1!==n.trackScope,u=n.typescript,f=n.wordCharacters||/[\\w$\\xa1-\\uffff]/,p=function(){function e(e){return{type:e,style:\"keyword\"}}var t=e(\"keyword a\"),n=e(\"keyword b\"),r=e(\"keyword c\"),i=e(\"keyword d\"),o=e(\"operator\"),a={type:\"atom\",style:\"atom\"};return{if:e(\"if\"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e(\"new\"),delete:r,void:r,throw:r,debugger:e(\"debugger\"),var:e(\"var\"),const:e(\"var\"),let:e(\"var\"),function:e(\"function\"),catch:e(\"catch\"),for:e(\"for\"),switch:e(\"switch\"),case:e(\"case\"),default:e(\"default\"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e(\"this\"),class:e(\"class\"),super:e(\"atom\"),yield:r,export:e(\"export\"),import:e(\"import\"),extends:r,await:r}}(),d=/[+\\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;function m(e,t,n){return r=e,i=n,t}function v(e,t){var n,r=e.next();if('\"'==r||\"'\"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(s&&\"@\"==e.peek()&&e.match(h))return t.tokenize=v,m(\"jsonld-keyword\",\"meta\");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&\"\\\\\"==r;return i||(t.tokenize=v),m(\"string\",\"string\")}),t.tokenize(e,t);if(\".\"==r&&e.match(/^\\d[\\d_]*(?:[eE][+\\-]?[\\d_]+)?/))return m(\"number\",\"number\");if(\".\"==r&&e.match(\"..\"))return m(\"spread\",\"meta\");if(/[\\[\\]{}\\(\\),;\\:\\.]/.test(r))return m(r);if(\"=\"==r&&e.eat(\">\"))return m(\"=>\",\"operator\");if(\"0\"==r&&e.match(/^(?:x[\\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return m(\"number\",\"number\");if(/\\d/.test(r))return e.match(/^[\\d_]*(?:n|(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)?/),m(\"number\",\"number\");if(\"/\"==r)return e.eat(\"*\")?(t.tokenize=g,g(e,t)):e.eat(\"/\")?(e.skipToEnd(),m(\"comment\",\"comment\")):Xe(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if(\"/\"==t&&!r)return;\"[\"==t?r=!0:r&&\"]\"==t&&(r=!1)}n=!n&&\"\\\\\"==t}}(e),e.match(/^\\b(([gimyus])(?![gimyus]*\\2))+\\b/),m(\"regexp\",\"string-2\")):(e.eat(\"=\"),m(\"operator\",\"operator\",e.current()));if(\"`\"==r)return t.tokenize=y,y(e,t);if(\"#\"==r&&\"!\"==e.peek())return e.skipToEnd(),m(\"meta\",\"meta\");if(\"#\"==r&&e.eatWhile(f))return m(\"variable\",\"property\");if(\"<\"==r&&e.match(\"!--\")||\"-\"==r&&e.match(\"->\")&&!/\\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),m(\"comment\",\"comment\");if(d.test(r))return\">\"==r&&t.lexical&&\">\"==t.lexical.type||(e.eat(\"=\")?\"!\"!=r&&\"=\"!=r||e.eat(\"=\"):/[<>*+\\-|&?]/.test(r)&&(e.eat(r),\">\"==r&&e.eat(r))),\"?\"==r&&e.eat(\".\")?m(\".\"):m(\"operator\",\"operator\",e.current());if(f.test(r)){e.eatWhile(f);var i=e.current();if(\".\"!=t.lastType){if(p.propertyIsEnumerable(i)){var o=p[i];return m(o.type,o.style,i)}if(\"async\"==i&&e.match(/^(\\s|\\/\\*([^*]|\\*(?!\\/))*?\\*\\/)*[\\[\\(\\w]/,!1))return m(\"async\",\"keyword\",i)}return m(\"variable\",\"variable\",i)}}function g(e,t){for(var n,r=!1;n=e.next();){if(\"/\"==n&&r){t.tokenize=v;break}r=\"*\"==n}return m(\"comment\",\"comment\")}function y(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&(\"`\"==n||\"$\"==n&&e.eat(\"{\"))){t.tokenize=v;break}r=!r&&\"\\\\\"==n}return m(\"quasi\",\"string-2\",e.current())}function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf(\"=>\",e.start);if(!(n<0)){if(u){var r=/:\\s*(?:\\w+(?:<[^>]*>|\\[\\])?|\\{[^}]*\\})\\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=\"([{}])\".indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){\"(\"==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(f.test(s))o=!0;else if(/[\"'\\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&\"\\\\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var E={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,\"jsonld-keyword\":!0};function w(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function x(e,t){if(!c)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function k(e,t,n,r,i){var o=e.cc;for(T.state=e,T.stream=i,T.marked=null,T.cc=o,T.style=t,e.lexical.hasOwnProperty(\"align\")||(e.lexical.align=!0);;)if((o.length?o.pop():l?q:V)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return T.marked?T.marked:\"variable\"==n&&x(e,r)?\"variable-2\":t}}var T={state:null,column:null,marked:null,cc:null};function O(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function C(){return O.apply(null,arguments),!0}function S(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function _(e){var t=T.state;if(T.marked=\"def\",c){if(t.context)if(\"var\"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new A(r,n.vars,!0):null}return S(t,n.vars)?n:new A(n.prev,new D(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!S(e,t.localVars))return void(t.localVars=new D(e,t.localVars));n.globalVars&&!S(e,t.globalVars)&&(t.globalVars=new D(e,t.globalVars))}}function N(e){return\"public\"==e||\"private\"==e||\"protected\"==e||\"abstract\"==e||\"readonly\"==e}function A(e,t,n){this.prev=e,this.vars=t,this.block=n}function D(e,t){this.name=e,this.next=t}var I=new D(\"this\",new D(\"arguments\",null));function L(){T.state.context=new A(T.state.context,T.state.localVars,!1),T.state.localVars=I}function j(){T.state.context=new A(T.state.context,T.state.localVars,!0),T.state.localVars=null}function M(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}function F(e,t){var n=function(){var n=T.state,r=n.indented;if(\"stat\"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&\")\"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new w(r,T.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function R(){var e=T.state;e.lexical.prev&&(\")\"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function P(e){return function t(n){return n==e?C():\";\"==e||\"}\"==n||\")\"==n||\"]\"==n?O():C(t)}}function V(e,t){return\"var\"==e?C(F(\"vardef\",t),ke,P(\";\"),R):\"keyword a\"==e?C(F(\"form\"),z,V,R):\"keyword b\"==e?C(F(\"form\"),V,R):\"keyword d\"==e?T.stream.match(/^\\s*$/,!1)?C():C(F(\"stat\"),G,P(\";\"),R):\"debugger\"==e?C(P(\";\")):\"{\"==e?C(F(\"}\"),j,se,R,M):\";\"==e?C():\"if\"==e?(\"else\"==T.state.lexical.info&&T.state.cc[T.state.cc.length-1]==R&&T.state.cc.pop()(),C(F(\"form\"),z,V,R,Ne)):\"function\"==e?C(Le):\"for\"==e?C(F(\"form\"),j,Ae,V,M,R):\"class\"==e||u&&\"interface\"==t?(T.marked=\"keyword\",C(F(\"form\",\"class\"==e?e:t),Pe,R)):\"variable\"==e?u&&\"declare\"==t?(T.marked=\"keyword\",C(V)):u&&(\"module\"==t||\"enum\"==t||\"type\"==t)&&T.stream.match(/^\\s*\\w/,!1)?(T.marked=\"keyword\",\"enum\"==t?C(Je):\"type\"==t?C(Me,P(\"operator\"),pe,P(\";\")):C(F(\"form\"),Te,P(\"{\"),F(\"}\"),se,R,R)):u&&\"namespace\"==t?(T.marked=\"keyword\",C(F(\"form\"),q,V,R)):u&&\"abstract\"==t?(T.marked=\"keyword\",C(V)):C(F(\"stat\"),ee):\"switch\"==e?C(F(\"form\"),z,P(\"{\"),F(\"}\",\"switch\"),j,se,R,R,M):\"case\"==e?C(q,P(\":\")):\"default\"==e?C(P(\":\")):\"catch\"==e?C(F(\"form\"),L,U,V,R,M):\"export\"==e?C(F(\"stat\"),Be,R):\"import\"==e?C(F(\"stat\"),He,R):\"async\"==e?C(V):\"@\"==t?C(q,V):O(F(\"stat\"),q,P(\";\"),R)}function U(e){if(\"(\"==e)return C(Fe,P(\")\"))}function q(e,t){return H(e,t,!1)}function B(e,t){return H(e,t,!0)}function z(e){return\"(\"!=e?O():C(F(\")\"),G,P(\")\"),R)}function H(e,t,n){if(T.state.fatArrowAt==T.stream.start){var r=n?$:J;if(\"(\"==e)return C(L,F(\")\"),oe(Fe,\")\"),R,P(\"=>\"),r,M);if(\"variable\"==e)return O(L,Te,P(\"=>\"),r,M)}var i=n?W:Q;return E.hasOwnProperty(e)?C(i):\"function\"==e?C(Le,i):\"class\"==e||u&&\"interface\"==t?(T.marked=\"keyword\",C(F(\"form\"),Re,R)):\"keyword c\"==e||\"async\"==e?C(n?B:q):\"(\"==e?C(F(\")\"),G,P(\")\"),R,i):\"operator\"==e||\"spread\"==e?C(n?B:q):\"[\"==e?C(F(\"]\"),Ye,R,i):\"{\"==e?ae(ne,\"}\",null,i):\"quasi\"==e?O(K,i):\"new\"==e?C(function(e){return function(t){return\".\"==t?C(e?Z:X):\"variable\"==t&&u?C(Ee,e?W:Q):O(e?B:q)}}(n)):C()}function G(e){return e.match(/[;\\}\\)\\],]/)?O():O(q)}function Q(e,t){return\",\"==e?C(G):W(e,t,!1)}function W(e,t,n){var r=0==n?Q:W,i=0==n?q:B;return\"=>\"==e?C(L,n?$:J,M):\"operator\"==e?/\\+\\+|--/.test(t)||u&&\"!\"==t?C(r):u&&\"<\"==t&&T.stream.match(/^([^<>]|<[^<>]*>)*>\\s*\\(/,!1)?C(F(\">\"),oe(pe,\">\"),R,r):\"?\"==t?C(q,P(\":\"),i):C(i):\"quasi\"==e?O(K,r):\";\"!=e?\"(\"==e?ae(B,\")\",\"call\",r):\".\"==e?C(te,r):\"[\"==e?C(F(\"]\"),G,P(\"]\"),R,r):u&&\"as\"==t?(T.marked=\"keyword\",C(pe,r)):\"regexp\"==e?(T.state.lastType=T.marked=\"operator\",T.stream.backUp(T.stream.pos-T.stream.start-1),C(i)):void 0:void 0}function K(e,t){return\"quasi\"!=e?O():\"${\"!=t.slice(t.length-2)?C(K):C(G,Y)}function Y(e){if(\"}\"==e)return T.marked=\"string-2\",T.state.tokenize=y,C(K)}function J(e){return b(T.stream,T.state),O(\"{\"==e?V:q)}function $(e){return b(T.stream,T.state),O(\"{\"==e?V:B)}function X(e,t){if(\"target\"==t)return T.marked=\"keyword\",C(Q)}function Z(e,t){if(\"target\"==t)return T.marked=\"keyword\",C(W)}function ee(e){return\":\"==e?C(R,V):O(Q,P(\";\"),R)}function te(e){if(\"variable\"==e)return T.marked=\"property\",C()}function ne(e,t){return\"async\"==e?(T.marked=\"property\",C(ne)):\"variable\"==e||\"keyword\"==T.style?(T.marked=\"property\",\"get\"==t||\"set\"==t?C(re):(u&&T.state.fatArrowAt==T.stream.start&&(n=T.stream.match(/^\\s*:\\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+n[0].length),C(ie))):\"number\"==e||\"string\"==e?(T.marked=s?\"property\":T.style+\" property\",C(ie)):\"jsonld-keyword\"==e?C(ie):u&&N(t)?(T.marked=\"keyword\",C(ne)):\"[\"==e?C(q,le,P(\"]\"),ie):\"spread\"==e?C(B,ie):\"*\"==t?(T.marked=\"keyword\",C(ne)):\":\"==e?O(ie):void 0;var n}function re(e){return\"variable\"!=e?O(ie):(T.marked=\"property\",C(Le))}function ie(e){return\":\"==e?C(B):\"(\"==e?O(Le):void 0}function oe(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:\",\"==i){var a=T.state.lexical;return\"call\"==a.info&&(a.pos=(a.pos||0)+1),C((function(n,r){return n==t||r==t?O():O(e)}),r)}return i==t||o==t?C():n&&n.indexOf(\";\")>-1?O(e):C(P(t))}return function(n,i){return n==t||i==t?C():O(e,r)}}function ae(e,t,n){for(var r=3;r<arguments.length;r++)T.cc.push(arguments[r]);return C(F(t,n),oe(e,t),R)}function se(e){return\"}\"==e?C():O(V,se)}function le(e,t){if(u){if(\":\"==e)return C(pe);if(\"?\"==t)return C(le)}}function ce(e,t){if(u&&(\":\"==e||\"in\"==t))return C(pe)}function ue(e){if(u&&\":\"==e)return T.stream.match(/^\\s*\\w+\\s+is\\b/,!1)?C(q,fe,pe):C(pe)}function fe(e,t){if(\"is\"==t)return T.marked=\"keyword\",C()}function pe(e,t){return\"keyof\"==t||\"typeof\"==t||\"infer\"==t||\"readonly\"==t?(T.marked=\"keyword\",C(\"typeof\"==t?B:pe)):\"variable\"==e||\"void\"==t?(T.marked=\"type\",C(be)):\"|\"==t||\"&\"==t?C(pe):\"string\"==e||\"number\"==e||\"atom\"==e?C(be):\"[\"==e?C(F(\"]\"),oe(pe,\"]\",\",\"),R,be):\"{\"==e?C(F(\"}\"),he,R,be):\"(\"==e?C(oe(ye,\")\"),de,be):\"<\"==e?C(oe(pe,\">\"),pe):\"quasi\"==e?O(ve,be):void 0}function de(e){if(\"=>\"==e)return C(pe)}function he(e){return e.match(/[\\}\\)\\]]/)?C():\",\"==e||\";\"==e?C(he):O(me,he)}function me(e,t){return\"variable\"==e||\"keyword\"==T.style?(T.marked=\"property\",C(me)):\"?\"==t||\"number\"==e||\"string\"==e?C(me):\":\"==e?C(pe):\"[\"==e?C(P(\"variable\"),ce,P(\"]\"),me):\"(\"==e?O(je,me):e.match(/[;\\}\\)\\],]/)?void 0:C()}function ve(e,t){return\"quasi\"!=e?O():\"${\"!=t.slice(t.length-2)?C(ve):C(pe,ge)}function ge(e){if(\"}\"==e)return T.marked=\"string-2\",T.state.tokenize=y,C(ve)}function ye(e,t){return\"variable\"==e&&T.stream.match(/^\\s*[?:]/,!1)||\"?\"==t?C(ye):\":\"==e?C(pe):\"spread\"==e?C(ye):O(pe)}function be(e,t){return\"<\"==t?C(F(\">\"),oe(pe,\">\"),R,be):\"|\"==t||\".\"==e||\"&\"==t?C(pe):\"[\"==e?C(pe,P(\"]\"),be):\"extends\"==t||\"implements\"==t?(T.marked=\"keyword\",C(pe)):\"?\"==t?C(pe,P(\":\"),pe):void 0}function Ee(e,t){if(\"<\"==t)return C(F(\">\"),oe(pe,\">\"),R,be)}function we(){return O(pe,xe)}function xe(e,t){if(\"=\"==t)return C(pe)}function ke(e,t){return\"enum\"==t?(T.marked=\"keyword\",C(Je)):O(Te,le,Se,_e)}function Te(e,t){return u&&N(t)?(T.marked=\"keyword\",C(Te)):\"variable\"==e?(_(t),C()):\"spread\"==e?C(Te):\"[\"==e?ae(Ce,\"]\"):\"{\"==e?ae(Oe,\"}\"):void 0}function Oe(e,t){return\"variable\"!=e||T.stream.match(/^\\s*:/,!1)?(\"variable\"==e&&(T.marked=\"property\"),\"spread\"==e?C(Te):\"}\"==e?O():\"[\"==e?C(q,P(\"]\"),P(\":\"),Oe):C(P(\":\"),Te,Se)):(_(t),C(Se))}function Ce(){return O(Te,Se)}function Se(e,t){if(\"=\"==t)return C(B)}function _e(e){if(\",\"==e)return C(ke)}function Ne(e,t){if(\"keyword b\"==e&&\"else\"==t)return C(F(\"form\",\"else\"),V,R)}function Ae(e,t){return\"await\"==t?C(Ae):\"(\"==e?C(F(\")\"),De,R):void 0}function De(e){return\"var\"==e?C(ke,Ie):\"variable\"==e?C(Ie):O(Ie)}function Ie(e,t){return\")\"==e?C():\";\"==e?C(Ie):\"in\"==t||\"of\"==t?(T.marked=\"keyword\",C(q,Ie)):O(q,Ie)}function Le(e,t){return\"*\"==t?(T.marked=\"keyword\",C(Le)):\"variable\"==e?(_(t),C(Le)):\"(\"==e?C(L,F(\")\"),oe(Fe,\")\"),R,ue,V,M):u&&\"<\"==t?C(F(\">\"),oe(we,\">\"),R,Le):void 0}function je(e,t){return\"*\"==t?(T.marked=\"keyword\",C(je)):\"variable\"==e?(_(t),C(je)):\"(\"==e?C(L,F(\")\"),oe(Fe,\")\"),R,ue,M):u&&\"<\"==t?C(F(\">\"),oe(we,\">\"),R,je):void 0}function Me(e,t){return\"keyword\"==e||\"variable\"==e?(T.marked=\"type\",C(Me)):\"<\"==t?C(F(\">\"),oe(we,\">\"),R):void 0}function Fe(e,t){return\"@\"==t&&C(q,Fe),\"spread\"==e?C(Fe):u&&N(t)?(T.marked=\"keyword\",C(Fe)):u&&\"this\"==e?C(le,Se):O(Te,le,Se)}function Re(e,t){return\"variable\"==e?Pe(e,t):Ve(e,t)}function Pe(e,t){if(\"variable\"==e)return _(t),C(Ve)}function Ve(e,t){return\"<\"==t?C(F(\">\"),oe(we,\">\"),R,Ve):\"extends\"==t||\"implements\"==t||u&&\",\"==e?(\"implements\"==t&&(T.marked=\"keyword\"),C(u?pe:q,Ve)):\"{\"==e?C(F(\"}\"),Ue,R):void 0}function Ue(e,t){return\"async\"==e||\"variable\"==e&&(\"static\"==t||\"get\"==t||\"set\"==t||u&&N(t))&&T.stream.match(/^\\s+[\\w$\\xa1-\\uffff]/,!1)?(T.marked=\"keyword\",C(Ue)):\"variable\"==e||\"keyword\"==T.style?(T.marked=\"property\",C(qe,Ue)):\"number\"==e||\"string\"==e?C(qe,Ue):\"[\"==e?C(q,le,P(\"]\"),qe,Ue):\"*\"==t?(T.marked=\"keyword\",C(Ue)):u&&\"(\"==e?O(je,Ue):\";\"==e||\",\"==e?C(Ue):\"}\"==e?C():\"@\"==t?C(q,Ue):void 0}function qe(e,t){if(\"!\"==t)return C(qe);if(\"?\"==t)return C(qe);if(\":\"==e)return C(pe,Se);if(\"=\"==t)return C(B);var n=T.state.lexical.prev;return O(n&&\"interface\"==n.info?je:Le)}function Be(e,t){return\"*\"==t?(T.marked=\"keyword\",C(Ke,P(\";\"))):\"default\"==t?(T.marked=\"keyword\",C(q,P(\";\"))):\"{\"==e?C(oe(ze,\"}\"),Ke,P(\";\")):O(V)}function ze(e,t){return\"as\"==t?(T.marked=\"keyword\",C(P(\"variable\"))):\"variable\"==e?O(B,ze):void 0}function He(e){return\"string\"==e?C():\"(\"==e?O(q):\".\"==e?O(Q):O(Ge,Qe,Ke)}function Ge(e,t){return\"{\"==e?ae(Ge,\"}\"):(\"variable\"==e&&_(t),\"*\"==t&&(T.marked=\"keyword\"),C(We))}function Qe(e){if(\",\"==e)return C(Ge,Qe)}function We(e,t){if(\"as\"==t)return T.marked=\"keyword\",C(Ge)}function Ke(e,t){if(\"from\"==t)return T.marked=\"keyword\",C(q)}function Ye(e){return\"]\"==e?C():O(oe(B,\"]\"))}function Je(){return O(F(\"form\"),Te,P(\"{\"),F(\"}\"),oe($e,\"}\"),R,R)}function $e(){return O(Te,Se)}function Xe(e,t,n){return t.tokenize==v&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\\[{}\\(,;:]|=>)$/.test(t.lastType)||\"quasi\"==t.lastType&&/\\{\\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return M.lex=!0,R.lex=!0,{startState:function(e){var t={tokenize:v,lastType:\"sof\",cc:[],lexical:new w((e||0)-o,0,\"block\",!1),localVars:n.localVars,context:n.localVars&&new A(null,null,!1),indented:e||0};return n.globalVars&&\"object\"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty(\"align\")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=g&&e.eatSpace())return null;var n=t.tokenize(e,t);return\"comment\"==r?n:(t.lastType=\"operator\"!=r||\"++\"!=i&&\"--\"!=i?r:\"incdec\",k(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==g||t.tokenize==y)return e.Pass;if(t.tokenize!=v)return 0;var i,s=r&&r.charAt(0),l=t.lexical;if(!/^\\s*else\\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==R)l=l.prev;else if(u!=Ne&&u!=M)break}for(;(\"stat\"==l.type||\"form\"==l.type)&&(\"}\"==s||(i=t.cc[t.cc.length-1])&&(i==Q||i==W)&&!/^[,\\.=+\\-*:?[\\(]/.test(r));)l=l.prev;a&&\")\"==l.type&&\"stat\"==l.prev.type&&(l=l.prev);var f=l.type,p=s==f;return\"vardef\"==f?l.indented+(\"operator\"==t.lastType||\",\"==t.lastType?l.info.length+1:0):\"form\"==f&&\"{\"==s?l.indented:\"form\"==f?l.indented+o:\"stat\"==f?l.indented+(function(e,t){return\"operator\"==e.lastType||\",\"==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||o:0):\"switch\"!=l.info||p||0==n.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:o):l.indented+(/^(?:case|default)\\b/.test(r)?o:2*o)},electricInput:/^\\s*(?:case .*?:|default:|\\{|\\})$/,blockCommentStart:l?null:\"/*\",blockCommentEnd:l?null:\"*/\",blockCommentContinue:l?null:\" * \",lineComment:l?null:\"//\",fold:\"brace\",closeBrackets:\"()[]{}''\\\"\\\"``\",helperType:l?\"json\":\"javascript\",jsonldMode:s,jsonMode:l,expressionAllowed:Xe,skipExpression:function(t){k(t,\"atom\",\"atom\",\"true\",new e.StringStream(\"\",2,null))}}})),e.registerHelper(\"wordChars\",\"javascript\",/[\\w$]/),e.defineMIME(\"text/javascript\",\"javascript\"),e.defineMIME(\"text/ecmascript\",\"javascript\"),e.defineMIME(\"application/javascript\",\"javascript\"),e.defineMIME(\"application/x-javascript\",\"javascript\"),e.defineMIME(\"application/ecmascript\",\"javascript\"),e.defineMIME(\"application/json\",{name:\"javascript\",json:!0}),e.defineMIME(\"application/x-json\",{name:\"javascript\",json:!0}),e.defineMIME(\"application/manifest+json\",{name:\"javascript\",json:!0}),e.defineMIME(\"application/ld+json\",{name:\"javascript\",jsonld:!0}),e.defineMIME(\"text/typescript\",{name:\"javascript\",typescript:!0}),e.defineMIME(\"application/typescript\",{name:\"javascript\",typescript:!0})}(n(15))},function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=r(n(15)),o=n(6);function a(e,t){var n,r,i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}i.default.defineMode(\"graphql-results\",(function(e){var t=o.onlineParser({eatWhitespace:function(e){return e.eatSpace()},lexRules:s,parseRules:l,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}}));var s={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},l={Document:[o.p(\"{\"),o.list(\"Entry\",o.p(\",\")),o.p(\"}\")],Entry:[o.t(\"String\",\"def\"),o.p(\":\"),\"Value\"],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\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[o.t(\"Number\",\"number\")],StringValue:[o.t(\"String\",\"string\")],BooleanValue:[o.t(\"Keyword\",\"builtin\")],NullValue:[o.t(\"Keyword\",\"keyword\")],ListValue:[o.p(\"[\"),o.list(\"Value\",o.p(\",\")),o.p(\"]\")],ObjectValue:[o.p(\"{\"),o.list(\"ObjectField\",o.p(\",\")),o.p(\"}\")],ObjectField:[o.t(\"String\",\"property\"),o.p(\":\"),\"Value\"]}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var 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},i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.defaultValue=O;var s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),l=n(14);function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function u(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function f(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function p(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}var h={keyword:\"#B11A04\",def:\"#D2054E\",property:\"#1F61A0\",qualifier:\"#1C92A9\",attribute:\"#8B2BB9\",number:\"#2882F9\",string:\"#D64292\",builtin:\"#D47509\",string2:\"#0B7FC7\",variable:\"#397D13\",atom:\"#CA9800\"},m=s.createElement(\"svg\",{width:\"12\",height:\"9\"},s.createElement(\"path\",{fill:\"#666\",d:\"M 0 2 L 9 2 L 4.5 7.5 z\"})),v=s.createElement(\"svg\",{width:\"12\",height:\"9\"},s.createElement(\"path\",{fill:\"#666\",d:\"M 0 0 L 0 9 L 5.5 4.5 z\"})),g=s.createElement(\"svg\",{style:{marginRight:\"3px\",marginLeft:\"-3px\"},width:\"12\",height:\"12\",viewBox:\"0 0 18 18\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},s.createElement(\"path\",{d:\"M16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM16 16H2V2H16V16ZM14.99 6L13.58 4.58L6.99 11.17L4.41 8.6L2.99 10.01L6.99 14L14.99 6Z\",fill:\"#666\"})),y=s.createElement(\"svg\",{style:{marginRight:\"3px\",marginLeft:\"-3px\"},width:\"12\",height:\"12\",viewBox:\"0 0 18 18\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},s.createElement(\"path\",{d:\"M16 2V16H2V2H16ZM16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0Z\",fill:\"#CCC\"}));function b(e){return e.checked?e.styleConfig.checkboxChecked:e.styleConfig.checkboxUnchecked}function E(e){var t=e.getFields();if(t.id){var n=[\"id\"];return t.email?n.push(\"email\"):t.name&&n.push(\"name\"),n}if(t.edges)return[\"edges\"];if(t.node)return[\"node\"];if(t.nodes)return[\"nodes\"];var r=[];return Object.keys(t).forEach((function(e){(0,l.isLeafType)(t[e].type)&&r.push(e)})),r.length?r.slice(0,2):[\"__typename\"]}function w(e){return(0,l.isNonNullType)(e.type)&&void 0===e.defaultValue}function x(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}function k(e,t){if(\"string\"!=typeof t&&\"VariableDefinition\"===t.kind)return t.variable;if((0,l.isScalarType)(e))try{switch(e.name){case\"String\":return{kind:\"StringValue\",value:String(e.parseValue(t))};case\"Float\":return{kind:\"FloatValue\",value:String(e.parseValue(parseFloat(t)))};case\"Int\":return{kind:\"IntValue\",value:String(e.parseValue(parseInt(t,10)))};case\"Boolean\":try{var n=JSON.parse(t);return\"boolean\"==typeof n?{kind:\"BooleanValue\",value:n}:{kind:\"BooleanValue\",value:!1}}catch(e){return{kind:\"BooleanValue\",value:!1}}default:return{kind:\"StringValue\",value:String(e.parseValue(t))}}}catch(e){return console.error(\"error coercing arg value\",e,t),{kind:\"StringValue\",value:t}}else try{var r=e.parseValue(t);return r?{kind:\"EnumValue\",value:String(r)}:{kind:\"EnumValue\",value:e.getValues()[0].name}}catch(t){return{kind:\"EnumValue\",value:e.getValues()[0].name}}}var T=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return r.props.selection.fields.find((function(e){return e.name.value===r.props.arg.name}))},r._removeArg=function(){var e=r.props.selection,t=r._getArgSelection();r._previousArgSelection=t,r.props.modifyFields(e.fields.filter((function(e){return e!==t})),!0)},r._addArg=function(){var e=r.props,t=e.selection,n=e.arg,i=e.getDefaultScalarArgValue,o=e.parentField,a=e.makeDefaultArg,s=x(n.type),u=null;if(r._previousArgSelection)u=r._previousArgSelection;else if((0,l.isInputObjectType)(s)){var f=s.getFields();u={kind:\"ObjectField\",name:{kind:\"Name\",value:n.name},value:{kind:\"ObjectValue\",fields:j(i,a,o,Object.keys(f).map((function(e){return f[e]})))}}}else(0,l.isLeafType)(s)&&(u={kind:\"ObjectField\",name:{kind:\"Name\",value:n.name},value:i(o,n,s)});if(u)return r.props.modifyFields([].concat(c(t.fields||[]),[u]),!0);console.error(\"Unable to add arg for argType\",s)},r._setArgValue=function(e,t){var n=!1,i=!1,a=!1;try{\"VariableDefinition\"===e.kind?i=!0:null==e?n=!0:\"string\"==typeof e.kind&&(a=!0)}catch(e){}var s=r.props.selection,c=r._getArgSelection();if(c){var u=x(r.props.arg.type);if((0,l.isLeafType)(u)||i||n||a){var f=void 0,p=void 0;return null==e?p=null:!e.target&&e.kind&&\"VariableDefinition\"===e.kind?p=(f=e).variable:\"string\"==typeof e.kind?p=e:e.target&&\"string\"==typeof e.target.value&&(f=e.target.value,p=k(u,f)),r.props.modifyFields((s.fields||[]).map((function(e){return e===c?o({},e,{value:p}):e})),t)}console.warn(\"Unable to handle non leaf types in InputArgView.setArgValue\",e)}else console.error(\"missing arg selection when setting arg value\")},r._modifyChildFields=function(e){return r.props.modifyFields(r.props.selection.fields.map((function(t){return t.name.value===r.props.arg.name?o({},t,{value:{kind:\"ObjectValue\",fields:e}}):t})),!0)},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return s.createElement(D,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._modifyChildFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(s.PureComponent);function O(e){if((0,l.isEnumType)(e))return{kind:\"EnumValue\",value:e.getValues()[0].name};switch(e.name){case\"String\":return{kind:\"StringValue\",value:\"\"};case\"Float\":return{kind:\"FloatValue\",value:\"1.5\"};case\"Int\":return{kind:\"IntValue\",value:\"10\"};case\"Boolean\":return{kind:\"BooleanValue\",value:!1};default:return{kind:\"StringValue\",value:\"\"}}}function C(e,t,n){return O(n)}var S=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return(r.props.selection.arguments||[]).find((function(e){return e.name.value===r.props.arg.name}))},r._removeArg=function(e){var t=r.props.selection,n=r._getArgSelection();return r._previousArgSelection=n,r.props.modifyArguments((t.arguments||[]).filter((function(e){return e!==n})),e)},r._addArg=function(e){var t=r.props,n=t.selection,i=t.getDefaultScalarArgValue,o=t.makeDefaultArg,a=t.parentField,s=t.arg,u=x(s.type),f=null;if(r._previousArgSelection)f=r._previousArgSelection;else if((0,l.isInputObjectType)(u)){var p=u.getFields();f={kind:\"Argument\",name:{kind:\"Name\",value:s.name},value:{kind:\"ObjectValue\",fields:j(i,o,a,Object.keys(p).map((function(e){return p[e]})))}}}else(0,l.isLeafType)(u)&&(f={kind:\"Argument\",name:{kind:\"Name\",value:s.name},value:i(a,s,u)});return f?r.props.modifyArguments([].concat(c(n.arguments||[]),[f]),e):(console.error(\"Unable to add arg for argType\",u),null)},r._setArgValue=function(e,t){var n=!1,i=!1,a=!1;try{\"VariableDefinition\"===e.kind?i=!0:null==e?n=!0:\"string\"==typeof e.kind&&(a=!0)}catch(e){}var s=r.props.selection,c=r._getArgSelection();if(c||i){var u=x(r.props.arg.type);if((0,l.isLeafType)(u)||i||n||a){var f=void 0,p=void 0;return null==e?p=null:e.target&&\"string\"==typeof e.target.value?(f=e.target.value,p=k(u,f)):e.target||\"VariableDefinition\"!==e.kind?\"string\"==typeof e.kind&&(p=e):p=(f=e).variable,r.props.modifyArguments((s.arguments||[]).map((function(e){return e===c?o({},e,{value:p}):e})),t)}console.warn(\"Unable to handle non leaf types in ArgView._setArgValue\")}else console.error(\"missing arg selection when setting arg value\")},r._setArgFields=function(e,t){var n=r.props.selection,i=r._getArgSelection();if(i)return r.props.modifyArguments((n.arguments||[]).map((function(t){return t===i?o({},t,{value:{kind:\"ObjectValue\",fields:e}}):t})),t);console.error(\"missing arg selection when setting arg value\")},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return s.createElement(D,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._setArgFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(s.PureComponent);function _(e){return e.ctrlKey&&\"Enter\"===e.key}function N(e){return\"FragmentDefinition\"!==e}var A=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._handleChange=function(e){r.props.setArgValue(e,!0)},f(r,n)}return p(t,e),a(t,[{key:\"componentDidMount\",value:function(){var e=this._ref,t=document.activeElement;!e||!t||t instanceof HTMLTextAreaElement||(e.focus(),e.setSelectionRange(0,e.value.length))}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.arg,r=t.argValue,i=t.styleConfig,o=x(n.type),a=\"string\"==typeof r.value?r.value:\"\",l=\"StringValue\"===this.props.argValue.kind?i.colors.string:i.colors.number;return s.createElement(\"span\",{style:{color:l}},\"String\"===o.name?'\"':\"\",s.createElement(\"input\",{style:{border:\"none\",borderBottom:\"1px solid #888\",outline:\"none\",width:Math.max(1,Math.min(15,a.length))+\"ch\",color:l},ref:function(t){e._ref=t},type:\"text\",onChange:this._handleChange,value:a}),\"String\"===o.name?'\"':\"\")}}]),t}(s.PureComponent),D=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={displayArgActions:!1},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.argValue,r=t.arg,a=t.styleConfig,u=x(r.type),f=null;if(n)if(\"Variable\"===n.kind)f=s.createElement(\"span\",{style:{color:a.colors.variable}},\"$\",n.name.value);else if((0,l.isScalarType)(u))f=\"Boolean\"===u.name?s.createElement(\"select\",{style:{color:a.colors.builtin},onChange:this.props.setArgValue,value:\"BooleanValue\"===n.kind?n.value:void 0},s.createElement(\"option\",{key:\"true\",value:\"true\"},\"true\"),s.createElement(\"option\",{key:\"false\",value:\"false\"},\"false\")):s.createElement(A,{setArgValue:this.props.setArgValue,arg:r,argValue:n,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig});else if((0,l.isEnumType)(u))\"EnumValue\"===n.kind?f=s.createElement(\"select\",{style:{backgroundColor:\"white\",color:a.colors.string2},onChange:this.props.setArgValue,value:n.value},u.getValues().map((function(e){return s.createElement(\"option\",{key:e.name,value:e.name},e.name)}))):console.error(\"arg mismatch between arg and selection\",u,n);else if((0,l.isInputObjectType)(u))if(\"ObjectValue\"===n.kind){var p=u.getFields();f=s.createElement(\"div\",{style:{marginLeft:16}},Object.keys(p).sort().map((function(t){return s.createElement(T,{key:t,arg:p[t],parentField:e.props.parentField,selection:n,modifyFields:e.props.setArgFields,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})))}else console.error(\"arg mismatch between arg and selection\",u,n);var d=function(){var t=r.name,a=(e.props.definition.variableDefinitions||[]).filter((function(e){return e.variable.name.value.startsWith(t)})).length,s=void 0;s=a>0?\"\"+t+a:t;var u=r.type.toString(),f={kind:\"VariableDefinition\",variable:{kind:\"Variable\",name:{kind:\"Name\",value:s}},type:(0,l.parseType)(u),directives:[]},p=void 0,d={};if(null!=n){var h=(0,l.visit)(n,{Variable:function(t){var n,r=t.name.value,i=(n=r,(e.props.definition.variableDefinitions||[]).find((function(e){return e.variable.name.value===n})));if(d[r]=d[r]+1||1,i)return i.defaultValue}}),m=\"NonNullType\"===f.type.kind?o({},f,{type:f.type.type}):f;p=o({},m,{defaultValue:h})}else p=f;var v=Object.entries(d).filter((function(e){var t=i(e,2);t[0];return t[1]<2})).map((function(e){var t=i(e,2),n=t[0];t[1];return n}));if(p){var g=e.props.setArgValue(p,!1);if(g){var y=g.definitions.find((function(t){return!!(t.operation&&t.name&&t.name.value&&e.props.definition.name&&e.props.definition.name.value)&&t.name.value===e.props.definition.name.value})),b=[].concat(c(y.variableDefinitions||[]),[p]).filter((function(e){return-1===v.indexOf(e.variable.name.value)})),E=o({},y,{variableDefinitions:b}),w=g.definitions.map((function(e){return y===e?E:e})),x=o({},g,{definitions:w});e.props.onCommit(x)}}},h=n&&\"Variable\"===n.kind,m=this.state.displayArgActions?s.createElement(\"button\",{type:\"submit\",className:\"toolbar-button\",title:h?\"Remove the variable\":\"Extract the current value into a GraphQL variable\",onClick:function(t){t.preventDefault(),t.stopPropagation(),h?function(){if(n&&n.name&&n.name.value){var t=n.name.value,r=(e.props.definition.variableDefinitions||[]).find((function(e){return e.variable.name.value===t}));if(r){var i=r.defaultValue,a=e.props.setArgValue(i,{commit:!1});if(a){var s=a.definitions.find((function(t){return t.name.value===e.props.definition.name.value}));if(!s)return;var c=0;(0,l.visit)(s,{Variable:function(e){e.name.value===t&&(c+=1)}});var u=s.variableDefinitions||[];c<2&&(u=u.filter((function(e){return e.variable.name.value!==t})));var f=o({},s,{variableDefinitions:u}),p=a.definitions.map((function(e){return s===e?f:e})),d=o({},a,{definitions:p});e.props.onCommit(d)}}}}():d()},style:a.styles.actionButtonStyle},s.createElement(\"span\",{style:{color:a.colors.variable}},\"$\")):null;return s.createElement(\"div\",{style:{cursor:\"pointer\",minHeight:\"16px\",WebkitUserSelect:\"none\",userSelect:\"none\"},\"data-arg-name\":r.name,\"data-arg-type\":u.name,className:\"graphiql-explorer-\"+r.name},s.createElement(\"span\",{style:{cursor:\"pointer\"},onClick:function(t){var r=!n;r?e.props.addArg(!0):e.props.removeArg(!0),e.setState({displayArgActions:r})}},(0,l.isInputObjectType)(u)?s.createElement(\"span\",null,n?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):s.createElement(b,{checked:!!n,styleConfig:this.props.styleConfig}),s.createElement(\"span\",{style:{color:a.colors.attribute},title:r.description,onMouseEnter:function(){null!=n&&e.setState({displayArgActions:!0})},onMouseLeave:function(){return e.setState({displayArgActions:!1})}},r.name,w(r)?\"*\":\"\",\": \",m,\" \"),\" \"),f||s.createElement(\"span\",null),\" \")}}]),t}(s.PureComponent),I=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:\"InlineFragment\",typeCondition:{kind:\"NamedType\",name:{kind:\"Name\",value:r.props.implementingType.name}},selectionSet:{kind:\"SelectionSet\",selections:r.props.getDefaultFieldNames(r.props.implementingType).map((function(e){return{kind:\"Field\",name:{kind:\"Name\",value:e}}}))}}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return\"InlineFragment\"===e.kind&&e.typeCondition&&r.props.implementingType.name===e.typeCondition.name.value}));return e?\"InlineFragment\"===e.kind?e:void 0:null},r._modifyChildSelections=function(e,t){var n=r._getSelection();return r.props.modifySelections(r.props.selections.map((function(t){return t===n?{directives:t.directives,kind:\"InlineFragment\",typeCondition:{kind:\"NamedType\",name:{kind:\"Name\",value:r.props.implementingType.name}},selectionSet:{kind:\"SelectionSet\",selections:e}}:t})),t)},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.implementingType,r=t.schema,i=t.getDefaultFieldNames,o=t.styleConfig,a=this._getSelection(),l=n.getFields(),c=a&&a.selectionSet?a.selectionSet.selections:[];return s.createElement(\"div\",{className:\"graphiql-explorer-\"+n.name},s.createElement(\"span\",{style:{cursor:\"pointer\"},onClick:a?this._removeFragment:this._addFragment},s.createElement(b,{checked:!!a,styleConfig:this.props.styleConfig}),s.createElement(\"span\",{style:{color:o.colors.atom}},this.props.implementingType.name)),a?s.createElement(\"div\",{style:{marginLeft:16}},Object.keys(l).sort().map((function(t){return s.createElement(F,{key:t,field:l[t],selections:c,modifySelections:e._modifyChildSelections,schema:r,getDefaultFieldNames:i,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,onCommit:e.props.onCommit,styleConfig:e.props.styleConfig,definition:e.props.definition,availableFragments:e.props.availableFragments})}))):null)}}]),t}(s.PureComponent),L=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:\"FragmentSpread\",name:r.props.fragment.name}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(e){return!(\"FragmentSpread\"===e.kind&&e.name.value===r.props.fragment.name.value)})))},r._getSelection=function(){return r.props.selections.find((function(e){return\"FragmentSpread\"===e.kind&&e.name.value===r.props.fragment.name.value}))},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this.props.styleConfig,t=this._getSelection();return s.createElement(\"div\",{className:\"graphiql-explorer-\"+this.props.fragment.name.value},s.createElement(\"span\",{style:{cursor:\"pointer\"},onClick:t?this._removeFragment:this._addFragment},s.createElement(b,{checked:!!t,styleConfig:this.props.styleConfig}),s.createElement(\"span\",{style:{color:e.colors.def},className:\"graphiql-explorer-\"+this.props.fragment.name.value},this.props.fragment.name.value)))}}]),t}(s.PureComponent);function j(e,t,n,r){var i=[],o=!0,a=!1,s=void 0;try{for(var c,u=r[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var f=c.value;if((0,l.isRequiredInputField)(f)||t&&t(n,f)){var p=x(f.type);(0,l.isInputObjectType)(p)?function(){var r=p.getFields();i.push({kind:\"ObjectField\",name:{kind:\"Name\",value:f.name},value:{kind:\"ObjectValue\",fields:j(e,t,n,Object.keys(r).map((function(e){return r[e]})))}})}():(0,l.isLeafType)(p)&&i.push({kind:\"ObjectField\",name:{kind:\"Name\",value:f.name},value:e(n,f,p)})}}}catch(e){a=!0,s=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return i}function M(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,c=n.args[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=s.value;if(w(u)||t&&t(n,u)){var f=x(u.type);(0,l.isInputObjectType)(f)?function(){var i=f.getFields();r.push({kind:\"Argument\",name:{kind:\"Name\",value:u.name},value:{kind:\"ObjectValue\",fields:j(e,t,n,Object.keys(i).map((function(e){return i[e]})))}})}():(0,l.isLeafType)(f)&&r.push({kind:\"Argument\",name:{kind:\"Name\",value:u.name},value:e(n,u,f)})}}}catch(e){o=!0,a=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw a}}return r}var F=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={displayFieldActions:!1},r._addAllFieldsToSelections=function(e){var t={kind:\"SelectionSet\",selections:e?Object.keys(e).map((function(e){return{kind:\"Field\",name:{kind:\"Name\",value:e},arguments:[]}})):[]},n=[].concat(c(r.props.selections.filter((function(e){return\"InlineFragment\"===e.kind||e.name.value!==r.props.field.name}))),[{kind:\"Field\",name:{kind:\"Name\",value:r.props.field.name},arguments:M(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field),selectionSet:t}]);r.props.modifySelections(n)},r._addFieldToSelections=function(e){var t=[].concat(c(r.props.selections),[r._previousSelection||{kind:\"Field\",name:{kind:\"Name\",value:r.props.field.name},arguments:M(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field)}]);r.props.modifySelections(t)},r._handleUpdateSelections=function(e){if(r._getSelection()&&!e.altKey)r._removeFieldFromSelections();else{var t=(0,l.getNamedType)(r.props.field.type),n=(0,l.isObjectType)(t)&&t.getFields();!!n&&e.altKey?r._addAllFieldsToSelections(n):r._addFieldToSelections(n)}},r._removeFieldFromSelections=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return\"Field\"===e.kind&&r.props.field.name===e.name.value}));return e?\"Field\"===e.kind?e:void 0:null},r._setArguments=function(e,t){var n=r._getSelection();if(n)return r.props.modifySelections(r.props.selections.map((function(t){return t===n?{alias:n.alias,arguments:e,directives:n.directives,kind:\"Field\",name:n.name,selectionSet:n.selectionSet}:t})),t);console.error(\"Missing selection when setting arguments\",e)},r._modifyChildSelections=function(e,t){return r.props.modifySelections(r.props.selections.map((function(t){if(\"Field\"===t.kind&&r.props.field.name===t.name.value){if(\"Field\"!==t.kind)throw new Error(\"invalid selection\");return{alias:t.alias,arguments:t.arguments,directives:t.directives,kind:\"Field\",name:t.name,selectionSet:{kind:\"SelectionSet\",selections:e}}}return t})),t)},f(r,n)}return p(t,e),a(t,[{key:\"render\",value:function(){var e=this,n=this.props,r=n.field,i=n.schema,a=n.getDefaultFieldNames,u=n.styleConfig,f=this._getSelection(),p=function(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}(r.type),d=r.args.sort((function(e,t){return e.name.localeCompare(t.name)})),h=\"graphiql-explorer-node graphiql-explorer-\"+r.name;r.isDeprecated&&(h+=\" graphiql-explorer-deprecated\");var m=(0,l.isObjectType)(p)||(0,l.isInterfaceType)(p)||(0,l.isUnionType)(p)?this.props.availableFragments&&this.props.availableFragments[p.name]:null,v=s.createElement(\"div\",{className:h},s.createElement(\"span\",{title:r.description,style:{cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",minHeight:\"16px\",WebkitUserSelect:\"none\",userSelect:\"none\"},\"data-field-name\":r.name,\"data-field-type\":p.name,onClick:this._handleUpdateSelections,onMouseEnter:function(){(0,l.isObjectType)(p)&&f&&f.selectionSet&&f.selectionSet.selections.filter((function(e){return\"FragmentSpread\"!==e.kind})).length>0&&e.setState({displayFieldActions:!0})},onMouseLeave:function(){return e.setState({displayFieldActions:!1})}},(0,l.isObjectType)(p)?s.createElement(\"span\",null,f?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):null,(0,l.isObjectType)(p)?null:s.createElement(b,{checked:!!f,styleConfig:this.props.styleConfig}),s.createElement(\"span\",{style:{color:u.colors.property},className:\"graphiql-explorer-field-view\"},r.name),this.state.displayFieldActions?s.createElement(\"button\",{type:\"submit\",className:\"toolbar-button\",title:\"Extract selections into a new reusable fragment\",onClick:function(t){t.preventDefault(),t.stopPropagation();var n=p.name+\"Fragment\",r=(m||[]).filter((function(e){return e.name.value.startsWith(n)})).length;r>0&&(n=\"\"+n+r);var i=f&&f.selectionSet?f.selectionSet.selections:[],a=[{kind:\"FragmentSpread\",name:{kind:\"Name\",value:n},directives:[]}],s={kind:\"FragmentDefinition\",name:{kind:\"Name\",value:n},typeCondition:{kind:\"NamedType\",name:{kind:\"Name\",value:p.name}},directives:[],selectionSet:{kind:\"SelectionSet\",selections:i}},l=e._modifyChildSelections(a,!1);if(l){var u=o({},l,{definitions:[].concat(c(l.definitions),[s])});e.props.onCommit(u)}else console.warn(\"Unable to complete extractFragment operation\")},style:o({},u.styles.actionButtonStyle)},s.createElement(\"span\",null,\"…\")):null),f&&d.length?s.createElement(\"div\",{style:{marginLeft:16},className:\"graphiql-explorer-graphql-arguments\"},d.map((function(t){return s.createElement(S,{key:t.name,parentField:r,arg:t,selection:f,modifyArguments:e._setArguments,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}))):null);if(f&&((0,l.isObjectType)(p)||(0,l.isInterfaceType)(p)||(0,l.isUnionType)(p))){var g=(0,l.isUnionType)(p)?{}:p.getFields(),y=f&&f.selectionSet?f.selectionSet.selections:[];return s.createElement(\"div\",{className:\"graphiql-explorer-\"+r.name},v,s.createElement(\"div\",{style:{marginLeft:16}},m?m.map((function(t){var n=i.getType(t.typeCondition.name.value),r=t.name.value;return n?s.createElement(L,{key:r,fragment:t,selections:y,modifySelections:e._modifyChildSelections,schema:i,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit}):null})):null,Object.keys(g).sort().map((function(n){return s.createElement(t,{key:n,field:g[n],selections:y,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})})),(0,l.isInterfaceType)(p)||(0,l.isUnionType)(p)?i.getPossibleTypes(p).map((function(t){return s.createElement(I,{key:t.name,implementingType:t,selections:y,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})):null))}return v}}]),t}(s.PureComponent);var R={kind:\"Document\",definitions:[{kind:\"OperationDefinition\",operation:\"query\",variableDefinitions:[],name:{kind:\"Name\",value:\"MyQuery\"},directives:[],selectionSet:{kind:\"SelectionSet\",selections:[]}}]},P=null;function V(e){if(P&&P[0]===e)return P[1];var t=function(e){try{return e.trim()?(0,l.parse)(e,{noLocation:!0}):null}catch(e){return new Error(e)}}(e);return t?t instanceof Error?P?P[1]:R:(P=[e,t],t):R}var U={buttonStyle:{fontSize:\"1.2em\",padding:\"0px\",backgroundColor:\"white\",border:\"none\",margin:\"5px 0px\",height:\"40px\",width:\"100%\",display:\"block\",maxWidth:\"none\"},actionButtonStyle:{padding:\"0px\",backgroundColor:\"white\",border:\"none\",margin:\"0px\",maxWidth:\"none\",height:\"15px\",width:\"15px\",display:\"inline-block\",fontSize:\"smaller\"},explorerActionsStyle:{margin:\"4px -8px -8px\",paddingLeft:\"8px\",bottom:\"0px\",width:\"100%\",textAlign:\"center\",background:\"none\",borderTop:\"none\",borderBottom:\"none\"}},q=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={newOperationType:\"query\",displayTitleActions:!1},r._modifySelections=function(e,t){var n=r.props.definition;0===n.selectionSet.selections.length&&r._previousOperationDef&&(n=r._previousOperationDef);var i=void 0;if(\"FragmentDefinition\"===n.kind)i=o({},n,{selectionSet:o({},n.selectionSet,{selections:e})});else if(\"OperationDefinition\"===n.kind){var a=e.filter((function(e){return!(\"Field\"===e.kind&&\"__typename\"===e.name.value)}));0===a.length&&(a=[{kind:\"Field\",name:{kind:\"Name\",value:\"__typename ## Placeholder value\"}}]),i=o({},n,{selectionSet:o({},n.selectionSet,{selections:a})})}return r.props.onEdit(i,t)},r._onOperationRename=function(e){return r.props.onOperationRename(e.target.value)},r._handlePotentialRun=function(e){_(e)&&N(r.props.definition.kind)&&r.props.onRunOperation(r.props.name)},r._rootViewElId=function(){var e=r.props;return e.operationType+\"-\"+(e.name||\"unknown\")},f(r,n)}return p(t,e),a(t,[{key:\"componentDidMount\",value:function(){var e=this._rootViewElId();this.props.onMount(e)}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.operationType,r=t.definition,i=t.schema,a=t.getDefaultFieldNames,l=t.styleConfig,c=this._rootViewElId(),u=this.props.fields||{},f=r.selectionSet.selections,p=this.props.name||d(n)+\" Name\";return s.createElement(\"div\",{id:c,tabIndex:\"0\",onKeyDown:this._handlePotentialRun,style:{borderBottom:this.props.isLast?\"none\":\"1px solid #d6d6d6\",marginBottom:\"0em\",paddingBottom:\"1em\"}},s.createElement(\"div\",{style:{color:l.colors.keyword,paddingBottom:4},className:\"graphiql-operation-title-bar\",onMouseEnter:function(){return e.setState({displayTitleActions:!0})},onMouseLeave:function(){return e.setState({displayTitleActions:!1})}},n,\" \",s.createElement(\"span\",{style:{color:l.colors.def}},s.createElement(\"input\",{style:{color:l.colors.def,border:\"none\",borderBottom:\"1px solid #888\",outline:\"none\",width:Math.max(4,p.length)+\"ch\"},autoComplete:\"false\",placeholder:d(n)+\" Name\",value:this.props.name,onKeyDown:this._handlePotentialRun,onChange:this._onOperationRename})),this.props.onTypeName?s.createElement(\"span\",null,s.createElement(\"br\",null),\"on \"+this.props.onTypeName):\"\",this.state.displayTitleActions?s.createElement(s.Fragment,null,s.createElement(\"button\",{type:\"submit\",className:\"toolbar-button\",onClick:function(){return e.props.onOperationDestroy()},style:o({},l.styles.actionButtonStyle)},s.createElement(\"span\",null,\"✕\")),s.createElement(\"button\",{type:\"submit\",className:\"toolbar-button\",onClick:function(){return e.props.onOperationClone()},style:o({},l.styles.actionButtonStyle)},s.createElement(\"span\",null,\"⎘\"))):\"\"),Object.keys(u).sort().map((function(t){return s.createElement(F,{key:t,field:u[t],selections:f,modifySelections:e._modifySelections,schema:i,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})})))}}]),t}(s.PureComponent);function B(){return s.createElement(\"div\",{style:{fontFamily:\"sans-serif\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",margin:\"1em\",marginTop:0,flexGrow:1,justifyContent:\"flex-end\"}},s.createElement(\"div\",{style:{borderTop:\"1px solid #d6d6d6\",paddingTop:\"1em\",width:\"100%\",textAlign:\"center\"}},\"GraphiQL Explorer by \",s.createElement(\"a\",{href:\"https://www.onegraph.com\"},\"OneGraph\")),s.createElement(\"div\",null,\"Contribute on\",\" \",s.createElement(\"a\",{href:\"https://github.com/OneGraph/graphiql-explorer\"},\"GitHub\")))}var z=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={newOperationType:\"query\",operation:null,operationToScrollTo:null},r._resetScroll=function(){var e=r._ref;e&&(e.scrollLeft=0)},r._onEdit=function(e){return r.props.onEdit(e)},r._setAddOperationType=function(e){r.setState({newOperationType:e})},r._handleRootViewMount=function(e){if(r.state.operationToScrollTo&&r.state.operationToScrollTo===e){var t=\".graphiql-explorer-root #\"+e,n=document.querySelector(t);n&&n.scrollIntoView()}},f(r,n)}return p(t,e),a(t,[{key:\"componentDidMount\",value:function(){this._resetScroll()}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.schema,i=t.query,a=t.makeDefaultArg;if(!n)return s.createElement(\"div\",{style:{fontFamily:\"sans-serif\"},className:\"error-container\"},\"No Schema Available\");var u={colors:this.props.colors||h,checkboxChecked:this.props.checkboxChecked||g,checkboxUnchecked:this.props.checkboxUnchecked||y,arrowClosed:this.props.arrowClosed||v,arrowOpen:this.props.arrowOpen||m,styles:this.props.styles?o({},U,this.props.styles):U},f=n.getQueryType(),p=n.getMutationType(),b=n.getSubscriptionType();if(!f&&!p&&!b)return s.createElement(\"div\",null,\"Missing query type\");var w=f&&f.getFields(),x=p&&p.getFields(),k=b&&b.getFields(),T=V(i),O=this.props.getDefaultFieldNames||E,S=this.props.getDefaultScalarArgValue||C,_=T.definitions.map((function(e){return\"FragmentDefinition\"===e.kind||\"OperationDefinition\"===e.kind?e:null})).filter(Boolean),N=0===_.length?R.definitions:_,A=[w?s.createElement(\"option\",{key:\"query\",className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",value:\"query\"},\"Query\"):null,x?s.createElement(\"option\",{key:\"mutation\",className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",value:\"mutation\"},\"Mutation\"):null,k?s.createElement(\"option\",{key:\"subscription\",className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",value:\"subscription\"},\"Subscription\"):null].filter(Boolean),D=0===A.length?null:s.createElement(\"div\",{style:{minHeight:\"50px\",maxHeight:\"50px\",overflow:\"none\"}},s.createElement(\"form\",{className:\"variable-editor-title graphiql-explorer-actions\",style:o({},u.styles.explorerActionsStyle,{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",borderTop:\"1px solid rgb(214, 214, 214)\"}),onSubmit:function(e){return e.preventDefault()}},s.createElement(\"span\",{style:{display:\"inline-block\",flexGrow:\"0\",textAlign:\"right\"}},\"Add new\",\" \"),s.createElement(\"select\",{onChange:function(t){return e._setAddOperationType(t.target.value)},value:this.state.newOperationType,style:{flexGrow:\"2\"}},A),s.createElement(\"button\",{type:\"submit\",className:\"toolbar-button\",onClick:function(){return e.state.newOperationType?(t=e.state.newOperationType,n=T.definitions,r=1===T.definitions.length&&T.definitions[0]===R.definitions[0],i=r?[]:n.filter((function(e){return\"OperationDefinition\"===e.kind&&e.operation===t})),a=\"My\"+d(t)+(0===i.length?\"\":i.length+1),s={kind:\"OperationDefinition\",operation:t,name:{kind:\"Name\",value:a},variableDefinitions:[],directives:[],selectionSet:{kind:\"SelectionSet\",selections:[{kind:\"Field\",name:{kind:\"Name\",value:\"__typename # Placeholder value\",loc:null},arguments:[],directives:[],selectionSet:null,loc:null}],loc:null},loc:null},u=r?[s]:[].concat(c(T.definitions),[s]),f=o({},T,{definitions:u}),e.setState({operationToScrollTo:t+\"-\"+a}),void e.props.onEdit((0,l.print)(f))):null;var t,n,r,i,a,s,u,f},style:o({},u.styles.buttonStyle,{height:\"22px\",width:\"22px\"})},s.createElement(\"span\",null,\"+\")))),I=N.reduce((function(e,t){if(\"FragmentDefinition\"===t.kind){var n=t.typeCondition.name.value,r=e[n]||[],i=[].concat(c(r),[t]).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}));return o({},e,(l=i,(s=n)in(a={})?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a))}var a,s,l;return e}),{}),L=this.props.showAttribution?s.createElement(B,null):null;return s.createElement(\"div\",{ref:function(t){e._ref=t},style:{fontSize:12,textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",margin:0,padding:8,fontFamily:'Consolas, Inconsolata, \"Droid Sans Mono\", Monaco, monospace',display:\"flex\",flexDirection:\"column\",height:\"100%\"},className:\"graphiql-explorer-root\"},s.createElement(\"div\",{style:{flexGrow:\"1\",overflow:\"scroll\"}},N.map((function(t,i){var f=t&&t.name&&t.name.value,p=\"FragmentDefinition\"===t.kind?\"fragment\":t&&t.operation||\"query\",d=\"FragmentDefinition\"===t.kind&&\"NamedType\"===t.typeCondition.kind&&n.getType(t.typeCondition.name.value),h=d instanceof l.GraphQLObjectType?d.getFields():null,m=\"query\"===p?w:\"mutation\"===p?x:\"subscription\"===p?k:\"FragmentDefinition\"===t.kind?h:null,v=\"FragmentDefinition\"===t.kind?t.typeCondition.name.value:null,g=function(t){var n=(0,l.print)(t);e.props.onEdit(n)};return s.createElement(q,{isLast:i===N.length-1,fields:m,operationType:p,name:f,definition:t,onOperationRename:function(n){var r,i,a,s,c=(a=o({},r=t,{name:null==(i=n)||\"\"===i?null:{kind:\"Name\",value:i,loc:void 0}}),s=T.definitions.map((function(e){return r===e?a:e})),o({},T,{definitions:s}));e.props.onEdit((0,l.print)(c))},onOperationDestroy:function(){var n,r,i=(n=t,r=T.definitions.filter((function(e){return n!==e})),o({},T,{definitions:r}));e.props.onEdit((0,l.print)(i))},onOperationClone:function(){var n=function(t){var n=void 0;n=\"FragmentDefinition\"===t.kind?\"fragment\":t.operation;var r=(t.name&&t.name.value||\"\")+\"Copy\",i=o({},t,{name:{kind:\"Name\",value:r,loc:void 0}}),a=T.definitions,s=[].concat(c(a),[i]);return e.setState({operationToScrollTo:n+\"-\"+r}),o({},T,{definitions:s})}(t);e.props.onEdit((0,l.print)(n))},onTypeName:v,onMount:e._handleRootViewMount,onCommit:g,onEdit:function(e,n){var i=void 0;if(i=\"object\"!==(void 0===n?\"undefined\":r(n))||void 0===n.commit||n.commit,e){var a=o({},T,{definitions:T.definitions.map((function(n){return n===t?e:n}))});return i?(g(a),a):a}return T},schema:n,getDefaultFieldNames:O,getDefaultScalarArgValue:S,makeDefaultArg:a,onRunOperation:function(){e.props.onRunOperation&&e.props.onRunOperation(f)},styleConfig:u,availableFragments:I})})),L),D)}}]),t}(s.PureComponent);z.defaultProps={getDefaultFieldNames:E,getDefaultScalarArgValue:C};var H=function(e){function t(){var e,n,r;u(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={hasError:!1,error:null,errorInfo:null},f(r,n)}return p(t,e),a(t,[{key:\"componentDidCatch\",value:function(e,t){this.setState({hasError:!0,error:e,errorInfo:t}),console.error(\"Error in component\",e,t)}},{key:\"render\",value:function(){return this.state.hasError?s.createElement(\"div\",{style:{padding:18,fontFamily:\"sans-serif\"}},s.createElement(\"div\",null,\"Something went wrong\"),s.createElement(\"details\",{style:{whiteSpace:\"pre-wrap\"}},this.state.error?this.state.error.toString():null,s.createElement(\"br\",null),this.state.errorInfo?this.state.errorInfo.componentStack:null)):this.props.children}}]),t}(s.Component),G=function(e){function t(){return u(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),a(t,[{key:\"render\",value:function(){return s.createElement(\"div\",{className:\"docExplorerWrap\",style:{height:\"100%\",width:this.props.width,minWidth:this.props.width,zIndex:7,display:this.props.explorerIsOpen?\"flex\":\"none\",flexDirection:\"column\",overflow:\"hidden\"}},s.createElement(\"div\",{className:\"doc-explorer-title-bar\"},s.createElement(\"div\",{className:\"doc-explorer-title\"},this.props.title),s.createElement(\"div\",{className:\"doc-explorer-rhs\"},s.createElement(\"div\",{className:\"docExplorerHide\",onClick:this.props.onToggleExplorer},\"✕\"))),s.createElement(\"div\",{className:\"doc-explorer-contents\",style:{padding:\"0px\",overflowY:\"unset\"}},s.createElement(H,null,s.createElement(z,this.props))))}}]),t}(s.PureComponent);G.defaultValue=O,G.defaultProps={width:320,title:\"Explorer\"},t.default=G},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=\"~\";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if(\"function\"!=typeof n)throw new TypeError(\"The listener must be a function\");var s=new a(n,r||e,o),l=i?i+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function l(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},c.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,o),!0;case 6:return u.fn.call(u.context,t,n,r,o,a),!0}for(c=1,l=new Array(f-1);c<f;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,d=u.length;for(c=0;c<d;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),f){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},c.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return l(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||l(this,o);else{for(var s=0,c=[],u=a.length;s<u;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&c.push(a[s]);c.length?this._events[o]=1===c.length?c[0]:c:l(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&l(this,t)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,e.exports=c},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){return\"string\"==typeof e}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){return null!==e&&\"object\"==typeof e}},function(e,t,n){\"use strict\";n.r(t),function(e,r){var i,o=n(171);i=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(64),n(259)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,\"loaded\",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,\"id\",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,\"exports\",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.GRAPHQL_SUBSCRIPTIONS=t.GRAPHQL_WS=void 0;t.GRAPHQL_WS=\"graphql-ws\";t.GRAPHQL_SUBSCRIPTIONS=\"graphql-subscriptions\"},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.WS_TIMEOUT=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;t.WS_TIMEOUT=3e4},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(){throw new Error(\"Static Class\")}return e.GQL_CONNECTION_INIT=\"connection_init\",e.GQL_CONNECTION_ACK=\"connection_ack\",e.GQL_CONNECTION_ERROR=\"connection_error\",e.GQL_CONNECTION_KEEP_ALIVE=\"ka\",e.GQL_CONNECTION_TERMINATE=\"connection_terminate\",e.GQL_START=\"start\",e.GQL_DATA=\"data\",e.GQL_ERROR=\"error\",e.GQL_COMPLETE=\"complete\",e.GQL_STOP=\"stop\",e.SUBSCRIPTION_START=\"subscription_start\",e.SUBSCRIPTION_DATA=\"subscription_data\",e.SUBSCRIPTION_SUCCESS=\"subscription_success\",e.SUBSCRIPTION_FAIL=\"subscription_fail\",e.SUBSCRIPTION_END=\"subscription_end\",e.INIT=\"init\",e.INIT_SUCCESS=\"init_success\",e.INIT_FAIL=\"init_fail\",e.KEEP_ALIVE=\"keepalive\",e}();t.default=r},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"print\",(function(){return p}));var r=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):void 0;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})(e)}function o(e){return a(e,[])}function a(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)];if(\"function\"==typeof t)return t;if(\"function\"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,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=[],o=0;o<n;++o)i.push(a(e[o],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)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}function s(e){var t=e.prototype.toJSON;\"function\"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:\"Unexpected invariant triggered.\")}(0),e.prototype.inspect=t,r&&(e.prototype[r]=t)}function l(e){return null!=e&&\"string\"==typeof e.kind}s(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}()),s(function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}());var c={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\"]},u=Object.freeze({});function f(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 o=n?e.leave:e.enter;if(o){if(\"function\"==typeof o)return o;var a=o[t];if(\"function\"==typeof a)return a}}}function p(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=void 0,i=Array.isArray(e),a=[e],s=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++s===a.length,E=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),E){if(i)d=d.slice();else{for(var w={},x=0,k=Object.keys(d);x<k.length;x++){var T=k[x];w[T]=d[T]}d=w}for(var O=0,C=0;C<p.length;C++){var S=p[C][0],_=p[C][1];i&&(S-=O),i&&null===_?(d.splice(S,1),O++):d[S]=_}}s=r.index,a=r.keys,p=r.edits,i=r.inArray,r=r.prev}else{if(h=m?i?s:a[s]:void 0,null==(d=m?m[h]:y))continue;m&&v.push(h)}var N,A=void 0;if(!Array.isArray(d)){if(!l(d))throw new Error(\"Invalid AST Node: \".concat(o(d),\".\"));var D=f(t,d.kind,b);if(D){if((A=D.call(t,d,h,m,v,g))===u)break;if(!1===A){if(!b){v.pop();continue}}else if(void 0!==A&&(p.push([h,A]),!b)){if(!l(A)){v.pop();continue}d=A}}}if(void 0===A&&E&&p.push([h,d]),b)v.pop();else r={inArray:i,index:s,keys:a,edits:p,prev:r},a=(i=Array.isArray(d))?d:null!==(N=n[d.kind])&&void 0!==N?N:[],s=-1,p=[],m&&g.push(m),m=d}while(void 0!==r);return 0!==p.length&&(y=p[p.length-1][1]),y}(e,{leave:d})}var d={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return m(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=g(\"(\",m(e.variableDefinitions,\", \"),\")\"),i=m(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?m([t,m([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+g(\" = \",r)+g(\" \",m(i,\" \"))},SelectionSet:function(e){return v(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=g(\"\",t,\": \")+n,s=a+g(\"(\",m(r,\", \"),\")\");return s.length>80&&(s=a+g(\"(\\n\",y(m(r,\"\\n\")),\"\\n)\")),m([s,m(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+g(\" \",m(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return m([\"...\",g(\"on \",t),m(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(g(\"(\",m(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(g(\"\",m(i,\" \"),\" \"))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?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],o='\"'===e[e.length-1],a=\"\\\\\"===e[e.length-1],s=!r||o||a||n,l=\"\";return!s||r&&i||(l+=\"\\n\"+t),l+=t?e.replace(/\\n/g,\"\\n\"+t):e,s&&(l+=\"\\n\"),'\"\"\"'+l.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}(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\"[\"+m(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+m(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+g(\"(\",m(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:h((function(e){var t=e.directives,n=e.operationTypes;return m([\"schema\",m(t,\" \"),v(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:h((function(e){return m([\"scalar\",e.name,m(e.directives,\" \")],\" \")})),ObjectTypeDefinition:h((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return m([\"type\",t,g(\"implements \",m(n,\" & \")),m(r,\" \"),v(i)],\" \")})),FieldDefinition:h((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(E(n)?g(\"(\\n\",y(m(n,\"\\n\")),\"\\n)\"):g(\"(\",m(n,\", \"),\")\"))+\": \"+r+g(\" \",m(i,\" \"))})),InputValueDefinition:h((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return m([t+\": \"+n,g(\"= \",r),m(i,\" \")],\" \")})),InterfaceTypeDefinition:h((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return m([\"interface\",t,g(\"implements \",m(n,\" & \")),m(r,\" \"),v(i)],\" \")})),UnionTypeDefinition:h((function(e){var t=e.name,n=e.directives,r=e.types;return m([\"union\",t,m(n,\" \"),r&&0!==r.length?\"= \"+m(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:h((function(e){var t=e.name,n=e.directives,r=e.values;return m([\"enum\",t,m(n,\" \"),v(r)],\" \")})),EnumValueDefinition:h((function(e){return m([e.name,m(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:h((function(e){var t=e.name,n=e.directives,r=e.fields;return m([\"input\",t,m(n,\" \"),v(r)],\" \")})),DirectiveDefinition:h((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(E(n)?g(\"(\\n\",y(m(n,\"\\n\")),\"\\n)\"):g(\"(\",m(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+m(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return m([\"extend schema\",m(t,\" \"),v(n)],\" \")},ScalarTypeExtension:function(e){return m([\"extend scalar\",e.name,m(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return m([\"extend type\",t,g(\"implements \",m(n,\" & \")),m(r,\" \"),v(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return m([\"extend interface\",t,g(\"implements \",m(n,\" & \")),m(r,\" \"),v(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return m([\"extend union\",t,m(n,\" \"),r&&0!==r.length?\"= \"+m(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return m([\"extend enum\",t,m(n,\" \"),v(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return m([\"extend input\",t,m(n,\" \"),v(r)],\" \")}};function h(e){return function(t){return m([t.description,e(t)],\"\\n\")}}function m(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function v(e){return g(\"{\\n\",y(m(e,\"\\n\")),\"\\n}\")}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return null!=t&&\"\"!==t?e+t+n:\"\"}function y(e){return g(\" \",e.replace(/\\n/g,\"\\n \"))}function b(e){return-1!==e.indexOf(\"\\n\")}function E(e){return null!=e&&e.some(b)}},function(e,t,n){\"use strict\";n.r(t);var r,i=n(83),o=n.n(i),a=n(94),s={insert:\"head\",singleton:!1},l=(o()(a.a,s),a.a.locals,n(1)),c=n.n(l),u=n(68),f=n.n(u),p=n(127),d=n.n(p),h=n(71),m=n.n(h),v=n(95),g=n.n(v),y=n(128),b=n.n(y),E=n(129),w=n.n(E),x=n(20),k=n.n(x),T=n(130),O=n.n(T),C=n(131),S=n.n(C),_=n(96),N=n.n(_),A=n(21),D=n.n(A),I=n(92),L=(n(67),n(65),n(82),n(56),n(44),n(79),r=function(e,t){return(r=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)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(){return(j=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}).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){F(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}L(t,e),t.prototype.componentWillUnmount=function(){this._release()},t.prototype.render=function(){var e,t=this,n=this.state.visible,r=c.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 i=n.props.onSelect||t.props.onSelect&&t.props.onSelect.bind(null,n.props.value,r);return c.a.createElement(M,j({},n.props,{onSelect:i}))}));return c.a.createElement(\"a\",{className:\"toolbar-select toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:F,ref:function(e){t._node=e},title:this.props.title},null==e?void 0:e.props.label,c.a.createElement(\"svg\",{width:\"13\",height:\"10\"},c.a.createElement(\"path\",{fill:\"#666\",d:\"M 5 5 L 13 5 L 9 1 z\"}),c.a.createElement(\"path\",{fill:\"#666\",d:\"M 5 6 L 13 6 L 9 10 z\"})),c.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&&(F(e),this.setState({visible:!1}),this._release())}}(c.a.Component);function M(e){var t=e.onSelect,n=e.label,r=e.selected;return c.a.createElement(\"li\",{onMouseOver:function(e){e.currentTarget.className=\"hover\"},onMouseOut:function(e){e.currentTarget.className=\"\"},onMouseDown:F,onMouseUp:t},n,r&&c.a.createElement(\"svg\",{width:\"13\",height:\"13\"},c.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 F(e){e.preventDefault()}n(80),n(81),n(60),n(66),n(46);var R=I.a,P=n(33),V=n(275),U=n(168),q=n.n(U),B=n(169),z=n.n(B),H=n(110),G={insert:\"head\",singleton:!1},Q=(o()(H.a,G),H.a.locals,n(107)),W=n(267),K=n(0),Y=n(170),J=n(172);function $(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 X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){D()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e){var t=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}}();return function(){var n,r=N()(e);if(t){var i=N()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S()(this,n)}}var ee=function(e){var t=e.query,n=e.operationName,r=Object(P.a)(t),i=Object(V.a)(r,n);return i&&\"subscription\"===i.operation},te=window.POSTGRAPHILE_CONFIG,ne=void 0===te?{graphqlUrl:\"http://localhost:5000/graphql\",streamUrl:\"http://localhost:5000/graphql/stream\",enhanceGraphiql:!0,websockets:\"none\",allowExplain:!0,credentials:\"same-origin\"}:te,re=function(e){try{return JSON.parse(e),!0}catch(e){return!1}},ie=window.location,oe=ne.graphqlUrl.match(/^https?:/)?ne.graphqlUrl.replace(/^http/,\"ws\"):\"ws\".concat(\"https:\"===ie.protocol?\"s\":\"\",\"://\").concat(ie.hostname).concat(80!==ie.port&&443!==ie.port?\":\"+ie.port:\"\").concat(ne.graphqlUrl),ae=\"PostGraphiQL:saveHeadersText\",se=\"PostGraphiQL:headersText\",le=\"PostGraphiQL:explain\",ce=function(e){O()(r,e);var t,n=Z(r);function r(){var e;b()(this,r);for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return e=n.call.apply(n,[this].concat(i)),D()(k()(e),\"_storage\",new z.a),D()(k()(e),\"state\",{schema:null,query:\"\",showHeaderEditor:!1,saveHeadersText:\"true\"===e._storage.get(ae),headersText:e._storage.get(se)||'{\\n\"Authorization\": null\\n}\\n',explain:\"true\"===e._storage.get(le),explainResult:null,headersTextValid:!0,explorerIsOpen:\"false\"!==e._storage.get(\"explorerIsOpen\"),haveActiveSubscription:!1,socketStatus:\"none\"===ne.websockets?null:\"pending\"}),D()(k()(e),\"restartRequested\",!1),D()(k()(e),\"restartSubscriptionsClient\",(function(){e.restartRequested=!0})),D()(k()(e),\"maybeSubscriptionsClient\",(function(){switch(ne.websockets){case\"none\":return;case\"v0\":var t=new Y.SubscriptionClient(oe,{reconnect:!0,connectionParams:function(){return e.getHeaders()||{}}}),n=t.on(\"connected\",(function(){e.setState({socketStatus:\"connected\",error:null})})),r=t.on(\"disconnected\",(function(){e.setState({socketStatus:\"closed\",error:new Error(\"Socket disconnected\")})})),i=t.on(\"connecting\",(function(){e.setState({socketStatus:\"connecting\"})})),o=t.on(\"reconnected\",(function(){e.setState({socketStatus:\"connected\",error:null})})),a=t.on(\"reconnecting\",(function(){e.setState({socketStatus:\"connecting\"})})),s=t.on(\"error\",(function(t){console.error(\"Client connection error\",t),e.setState({error:new Error(\"Subscriptions client connection error\")})}));return e.unlistenV0SubscriptionsClient=function(){n(),r(),i(),o(),a(),s()},e.restartSubscriptionsClient=function(){e.subscriptionsClient.close(!1,!0)},e.restartRequested&&(e.restartRequested=!1,e.restartSubscriptionsClient()),t;case\"v1\":return Object(J.createClient)({url:oe,lazy:!1,retryAttempts:1/0,connectionParams:function(){return e.getHeaders()||{}},on:{connecting:function(){e.setState({socketStatus:\"connecting\"})},connected:function(t){e.setState({socketStatus:\"connected\",error:null}),e.restartSubscriptionsClient=function(){t.readyState===WebSocket.OPEN&&t.close(4205,\"Client Restart\")},e.restartRequested&&(e.restartRequested=!1,e.restartSubscriptionsClient())},closed:function(t){e.setState({socketStatus:\"closed\",error:new Error(\"Socket closed with \".concat(t.code,\" \").concat(t.reason))})}}});default:throw new Error(\"Invalid websockets argument \".concat(ne.websockets))}})),D()(k()(e),\"activeSubscription\",null),D()(k()(e),\"_handleInspectOperation\",(function(t,n){var r=Object(P.a)(e.state.query||\"\");if(!r)return console.error(\"Couldn't parse query document\"),null;var i=t.getTokenAt(n),o={line:n.line,ch:i.start},a={line:n.line,ch:i.end},s={start:t.indexFromPos(o),end:t.indexFromPos(a)},l=r.definitions.find((function(e){if(!e.loc)return console.log(\"Missing location information for definition\"),!1;var t=e.loc,n=t.start,r=t.end;return n<=s.start&&r>=s.end}));if(!l)return console.error(\"Unable to find definition corresponding to mouse position\"),null;var c=\"OperationDefinition\"===l.kind?l.operation:\"FragmentDefinition\"===l.kind?\"fragment\":\"unknown\",u=\"OperationDefinition\"===l.kind&&l.name||\"FragmentDefinition\"===l.kind&&l.name?l.name.value:\"unknown\",f=\".graphiql-explorer-root #\".concat(c,\"-\").concat(u),p=document.querySelector(f);p&&p.scrollIntoView()})),D()(k()(e),\"cancelSubscription\",(function(){null!==e.activeSubscription&&(e.activeSubscription.unsubscribe(),e.setState({haveActiveSubscription:!1}))})),D()(k()(e),\"getHeaders\",(function(){var t,n=e.state.headersText;try{for(var r in t=JSON.parse(n))null==t[r]&&delete t[r]}catch(e){}return t})),D()(k()(e),\"executeQuery\",function(){var t=g()(m.a.mark((function t(n){var r,i,o;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.getHeaders(),t.next=3,fetch(ne.graphqlUrl,{method:\"POST\",headers:Object.assign(X({Accept:\"application/json\",\"Content-Type\":\"application/json\"},e.state.explain&&ne.allowExplain?{\"X-PostGraphile-Explain\":\"on\"}:null),r),credentials:ne.credentials,body:JSON.stringify(n)});case 3:return i=t.sent,t.next=6,i.json();case 6:return o=t.sent,e.setState({explainResult:o&&o.explain?o.explain:null}),t.abrupt(\"return\",o);case 9:case\"end\":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),D()(k()(e),\"fetcher\",(function(t){if(e.cancelSubscription(),ee(t)&&e.subscriptionsClient){var n=e.subscriptionsClient;return{subscribe:function(r){setTimeout((function(){r.next(\"Waiting for subscription to yield data…\")}),0);var i=\"v0\"===ne.websockets?n.request(t).subscribe(r):{unsubscribe:n.subscribe(t,{next:r.next,complete:r.complete,error:function(e){e instanceof Error?r.error(e):e instanceof CloseEvent?r.error(new Error(\": \".concat(e.reason))):r.error(new Error(e.map((function(e){return e.message})).join(\", \")))}})};return e.setState({haveActiveSubscription:!0}),e.activeSubscription=i,i}}}return e.executeQuery(t)})),D()(k()(e),\"getQueryEditor\",(function(){return e.graphiql.getQueryEditor()})),D()(k()(e),\"handleEditQuery\",(function(t){e.setState({query:t})})),D()(k()(e),\"handleEditHeaders\",(function(t){e.setState({headersText:t,headersTextValid:re(t)},(function(){e.state.headersTextValid&&e.state.saveHeadersText&&e._storage.set(se,e.state.headersText),e.state.headersTextValid&&e.subscriptionsClient&&e.restartSubscriptionsClient()}))})),D()(k()(e),\"handlePrettifyQuery\",(function(){var t=e.getQueryEditor();if(void 0===window.prettier||void 0===window.prettierPlugins)return e.graphiql.handlePrettifyQuery();t.setValue(window.prettier.format(t.getValue(),{parser:\"graphql\",plugins:window.prettierPlugins}))})),D()(k()(e),\"handleToggleHistory\",(function(t){e.graphiql.handleToggleHistory(t)})),D()(k()(e),\"handleToggleHeaders\",(function(){e.setState({showHeaderEditor:!e.state.showHeaderEditor})})),D()(k()(e),\"handleToggleExplorer\",(function(){e.setState({explorerIsOpen:!e.state.explorerIsOpen},(function(){return e._storage.set(\"explorerIsOpen\",JSON.stringify(e.state.explorerIsOpen))}))})),D()(k()(e),\"handleToggleSaveHeaders\",(function(){e.setState((function(e){return{saveHeadersText:!e.saveHeadersText}}),(function(){e._storage.set(ae,JSON.stringify(e.state.saveHeadersText)),e._storage.set(se,e.state.saveHeadersText?e.state.headersText:\"\")}))})),D()(k()(e),\"handleToggleExplain\",(function(){e.setState((function(e){return{explain:!e.explain}}),(function(){e._storage.set(le,JSON.stringify(e.state.explain));try{e.graphiql.handleRunQuery()}catch(e){}}))})),D()(k()(e),\"setGraphiqlRef\",(function(t){t&&(e.graphiql=t,e.setState({mounted:!0}))})),e}return w()(r,[{key:\"componentDidMount\",value:function(){var e=this;if(this.updateSchema(),this.subscriptionsClient=this.maybeSubscriptionsClient(),ne.streamUrl){var t=new EventSource(ne.streamUrl);t.addEventListener(\"change\",(function(){e.updateSchema()}),!1),t.addEventListener(\"open\",(function(){console.log(\"PostGraphile: Listening for server sent events\"),e.setState({error:null}),e.updateSchema()}),!1),t.addEventListener(\"error\",(function(t){console.error(\"PostGraphile: Failed to connect to event stream\",t),e.setState({error:new Error(\"Failed to connect to event stream\")})}),!1),this._eventSource=t}var n=this.graphiql;this.setState({query:n._storage.get(\"query\")||'# Welcome to PostGraphile\\'s built-in GraphiQL IDE\\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 starts\\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'});var r=n.getQueryEditor();r.setOption(\"extraKeys\",X(X({},r.options.extraKeys||{}),{},{\"Shift-Alt-LeftClick\":this._handleInspectOperation}))}},{key:\"componentWillUnmount\",value:function(){this.subscriptionsClient&&(this.unlistenV0SubscriptionsClient?this.unlistenV0SubscriptionsClient():this.subscriptionsClient.dispose(),this.subscriptionsClient=null),this._eventSource.close(),this._eventSource=null}},{key:\"updateSchema\",value:(t=g()(m.a.mark((function e(){var t,n,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.executeQuery({query:Object(Q.a)()});case 3:t=e.sent,n=t.data,r=Object(W.a)(n),this.setState({schema:r}),this._updateGraphiQLDocExplorerNavStack(r),console.log(\"PostGraphile: Schema updated\"),this.setState({error:null}),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),console.error(\"Error occurred when updating the schema:\"),console.error(e.t0),this.setState({error:e.t0});case 17:case\"end\":return e.stop()}}),e,this,[[0,12]])}))),function(){return t.apply(this,arguments)})},{key:\"_updateGraphiQLDocExplorerNavStack\",value:function(e){var t=this.graphiql.docExplorerComponent;if(t){var n=t.state.navStack,r=!0,i=!1,o=n.map((function(t,o){if(i||!r)return null;var a=t.def;if(a){if(Object(K.S)(a)){var s=e.getType(a.name);return s?X(X({},t),{},{def:s}):(i=!0,null)}var l=e.getType(n[o-1]?n[o-1].name:null);if(!l)return r=!1,null;if(!(l instanceof K.f))return r=!1,null;var c=l.getFields()[a.name];return c?X(X({},t),{},{def:c}):(r=!1,null)}return t})).filter((function(e){return e}));r&&this.graphiql.docExplorerComponent.setState({navStack:o})}else console.log(\"No docExplorerComponent, could not update navStack\")}},{key:\"renderSocketStatus\",value:function(){var e=this,t=this.state,n=t.socketStatus,r=t.error;if(null===n)return null;var i={connecting:\"🤔\",connected:\"😀\",closed:\"☹️\"}[n]||\"😐\",o={connecting:null,connected:c.a.createElement(\"path\",{fill:\"transparent\",stroke:\"white\",d:\"M30,50 L45,65 L70,30\",strokeWidth:\"8\"}),closed:c.a.createElement(\"path\",{fill:\"transparent\",stroke:\"white\",d:\"M30,30 L70,70 M30,70 L70,30\",strokeWidth:\"8\"})}[n]||null,a={connected:\"green\",connecting:\"orange\",closed:\"red\"}[n]||\"gray\",s=c.a.createElement(\"svg\",{width:\"25\",height:\"25\",viewBox:\"0 0 100 100\",style:{marginTop:4}},c.a.createElement(\"circle\",{fill:a,cx:\"50\",cy:\"50\",r:\"45\"}),o);return c.a.createElement(c.a.Fragment,null,r?c.a.createElement(\"div\",{style:{fontSize:\"1.5em\",marginRight:\"0.25em\"},title:r.message||\"Error occurred: \".concat(r),onClick:function(){return e.setState({error:null})}},c.a.createElement(\"span\",{\"aria-label\":\"ERROR\",role:\"img\"},\"⚠️\")):null,c.a.createElement(\"div\",{style:{fontSize:\"1.5em\",marginRight:\"0.25em\"},title:\"Websocket status: \"+n,onClick:this.cancelSubscription},c.a.createElement(\"span\",{\"aria-label\":n,role:\"img\"},s||i)))}},{key:\"render\",value:function(){var e=this,t=this.state.schema,n={ref:this.setGraphiqlRef,schema:t,fetcher:this.fetcher};return ne.enhanceGraphiql?c.a.createElement(\"div\",{className:\"postgraphiql-container graphiql-container \".concat(this.state.explain&&this.state.explainResult&&this.state.explainResult.length?\"explain-mode\":\"\")},c.a.createElement(q.a,{schema:t,query:this.state.query,onEdit:this.handleEditQuery,onRunOperation:function(t){return e.graphiql.handleRunQuery(t)},explorerIsOpen:this.state.explorerIsOpen,onToggleExplorer:this.handleToggleExplorer}),c.a.createElement(R,d()({onEditQuery:this.handleEditQuery,query:this.state.query,headerEditorEnabled:!0,headers:this.state.headersText,onEditHeaders:this.handleEditHeaders},n),c.a.createElement(R.Logo,null,c.a.createElement(\"div\",{style:{display:\"flex\",alignItems:\"center\"}},c.a.createElement(\"div\",null,c.a.createElement(\"img\",{alt:\"PostGraphile logo\",src:\"https://www.graphile.org/images/postgraphile-tiny.optimized.svg\",width:\"32\",height:\"32\",style:{marginTop:\"4px\",marginRight:\"0.5rem\"}})),c.a.createElement(\"div\",null,\"PostGraph\",c.a.createElement(\"em\",null,\"i\"),\"QL\"))),c.a.createElement(R.Toolbar,null,this.renderSocketStatus(),c.a.createElement(R.Button,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),c.a.createElement(R.Button,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"}),c.a.createElement(R.Button,{label:\"Explorer\",title:\"Construct a query with the GraphiQL explorer\",onClick:this.handleToggleExplorer}),c.a.createElement(R.Button,{onClick:this.graphiql&&this.graphiql.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),c.a.createElement(R.Button,{onClick:this.graphiql&&this.graphiql.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),ne.allowExplain?c.a.createElement(R.Button,{label:this.state.explain?\"Explain ON\":\"Explain disabled\",title:\"View the SQL statements that this query invokes\",onClick:this.handleToggleExplain}):null,c.a.createElement(R.Button,{label:\"Headers \"+(this.state.saveHeadersText?\"SAVED\":\"unsaved\"),title:\"Should we persist the headers to localStorage? Header editor is next to variable editor at the bottom.\",onClick:this.handleToggleSaveHeaders})),c.a.createElement(R.Footer,null,c.a.createElement(\"div\",{className:\"postgraphile-footer\"},this.state.explainResult&&this.state.explainResult.length?c.a.createElement(\"div\",{className:\"postgraphile-plan-footer\"},this.state.explainResult.map((function(e){return c.a.createElement(\"div\",null,c.a.createElement(\"h4\",null,\"Result from SQL\",\" \",c.a.createElement(\"a\",{href:\"https://www.postgresql.org/docs/current/sql-explain.html\"},\"EXPLAIN\"),\" \",\"on executed query:\"),c.a.createElement(\"pre\",{className:\"explain-plan\"},c.a.createElement(\"code\",null,e.plan)),c.a.createElement(\"h4\",null,\"Executed SQL query:\"),c.a.createElement(\"pre\",{className:\"explain-sql\"},c.a.createElement(\"code\",null,(t=e.query,n=0,t.replace(/\\s+/g,\" \").replace(/\\s+(?=$|\\n|\\))/g,\"\").replace(/(\\n|^|\\()\\s+/g,\"$1\").replace(/(\\(|\\)|\\), ?|, ?| (select|insert|update|delete|from|where|and|or|order|limit)(?= ))/g,(function(e,t){var r=t.replace(/ $/,\"\");return\"(\"===r?(n++,r+\"\\n\"+\" \".repeat(n)):\")\"===r?(n--,\"\\n\"+\" \".repeat(n)+r):\"),\"===r?(n--,\"\\n\"+\" \".repeat(n)+r+\"\\n\"+\" \".repeat(n)):\",\"===r?r+\"\\n\"+\" \".repeat(n):\"\\n\"+\" \".repeat(n)+r.replace(/^\\s+/,\"\")})).replace(/\\(\\s*([A-Za-z0-9_.\"' =]{1,50})\\s*\\)/g,\"($1)\").replace(/\\(\\s*(\\([A-Za-z0-9_.\"' =]{1,50}\\))\\s*\\)/g,\"($1)\").replace(/\\n\\s*and \\(TRUE\\)/g,\" and (TRUE)\")))));var t,n})),c.a.createElement(\"p\",null,\"Having performance issues?\",\" \",c.a.createElement(\"a\",{href:\"https://www.graphile.org/support/\"},\"We can help with that!\")),c.a.createElement(\"hr\",null)):null,c.a.createElement(\"div\",{className:\"postgraphile-regular-footer\"},\"PostGraphile:\",\" \",c.a.createElement(\"a\",{title:\"Open PostGraphile documentation\",href:\"https://graphile.org/postgraphile/introduction/\",target:\"new\"},\"Documentation\"),\" \",\"|\",\" \",c.a.createElement(\"a\",{title:\"Open PostGraphile documentation\",href:\"https://graphile.org/postgraphile/examples/\",target:\"new\"},\"Examples\"),\" \",\"|\",\" \",c.a.createElement(\"a\",{title:\"PostGraphile is supported by the community, please sponsor ongoing development\",href:\"https://graphile.org/sponsor/\",target:\"new\"},\"Sponsor\"),\" \",\"|\",\" \",c.a.createElement(\"a\",{title:\"Get support from the team behind PostGraphile\",href:\"https://graphile.org/support/\",target:\"new\"},\"Support\")))))):c.a.createElement(R,n)}}]),r}(c.a.PureComponent);f.a.render(c.a.createElement(ce,null),document.getElementById(\"root\"))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getOperationAST\",(function(){return i}));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\"});function i(e,t){for(var n=null,i=0,o=e.definitions;i<o.length;i++){var a,s=o[i];if(s.kind===r.OPERATION_DEFINITION)if(null==t){if(n)return null;n=s}else if((null===(a=s.name)||void 0===a?void 0:a.value)===t)return s}return n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(8);function i(e){var t;e||Object(r.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",i=e.locations,o=e.path,a=e.extensions;return a?{message:n,locations:i,path:o,extensions:a}:{message:n,locations:i,path:o}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return m}));var r=n(12),i=n(4),o=n(8),a=n(34),s=n(22),l=n(33),c=n(39),u=n(16),f=n(10),p=n(9),d=n(0),h=n(51);function m(e,t){Object(s.a)(e)&&Object(s.a)(e.__schema)||Object(o.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(a.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 p.TypeKind.SCALAR:return r=e,new d.g({name:r.name,description:r.description,specifiedByUrl:r.specifiedByUrl});case p.TypeKind.OBJECT:return n=e,new d.f({name:n.name,description:n.description,interfaces:function(){return S(n)},fields:function(){return _(n)}});case p.TypeKind.INTERFACE:return t=e,new d.c({name:t.name,description:t.description,interfaces:function(){return S(t)},fields:function(){return _(t)}});case p.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(O)}})}(e);case p.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(a.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case p.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 A(e.inputFields)}})}(e)}var t;var n;var r;var o=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(o,\".\"))}(e)})),v=0,g=[].concat(f.g,p.introspectionTypes);v<g.length;v++){var y=g[v];m[y.name]&&(m[y.name]=y)}var b=n.queryType?O(n.queryType):null,E=n.mutationType?O(n.mutationType):null,w=n.subscriptionType?O(n.subscriptionType):null,x=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 u.c({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:A(e.args)})})):[];return new c.a({description:n.description,query:b,mutation:E,subscription:w,types:Object(r.a)(m),directives:x,assumeValid:null==t?void 0:t.assumeValid});function k(e){if(e.kind===p.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error(\"Decorated type deeper than introspection query.\");return new d.d(k(t))}if(e.kind===p.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error(\"Decorated type deeper than introspection query.\");var r=k(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 O(e){return Object(d.u)(T(e))}function C(e){return Object(d.o)(T(e))}function S(e){if(null===e.interfaces&&e.kind===p.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(C)}function _(e){if(!e.fields)throw new Error(\"Introspection result missing fields: \".concat(Object(i.a)(e),\".\"));return Object(a.a)(e.fields,(function(e){return e.name}),N)}function N(e){var t=k(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:A(e.args)}}function A(e){return Object(a.a)(e,(function(e){return e.name}),D)}function D(e){var t=k(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(l.c)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}},,,,,,,,function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(2);function i(e,t){for(var n=null,i=0,o=e.definitions;i<o.length;i++){var a,s=o[i];if(s.kind===r.a.OPERATION_DEFINITION)if(null==t){if(n)return null;n=s}else if((null===(a=s.name)||void 0===a?void 0:a.value)===t)return s}return n}}]);</script></body></html>" | null;
2
- export default _default;