diff --git a/assets/app/build/asset-manifest.json b/assets/app/build/asset-manifest.json
index b194b6b..be52c58 100644
--- a/assets/app/build/asset-manifest.json
+++ b/assets/app/build/asset-manifest.json
@@ -1,14 +1,14 @@
{
"main.css": "static/css/main.820e0136.css",
"main.css.map": "static/css/main.820e0136.css.map",
- "main.js": "static/js/main.ef1c9dbe.js",
- "main.js.map": "static/js/main.ef1c9dbe.js.map",
- "static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.661fe407.flow",
+ "main.js": "static/js/main.b1825402.js",
+ "main.js.map": "static/js/main.b1825402.js.map",
+ "static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.5ab204b9.flow",
"static/media/autocompleteUtils.js.flow": "static/media/autocompleteUtils.js.4ce7ba19.flow",
"static/media/getAutocompleteSuggestions.js.flow": "static/media/getAutocompleteSuggestions.js.7f98f032.flow",
"static/media/getDefinition.js.flow": "static/media/getDefinition.js.4dbec62f.flow",
"static/media/getDiagnostics.js.flow": "static/media/getDiagnostics.js.65b0979a.flow",
"static/media/getHoverInformation.js.flow": "static/media/getHoverInformation.js.d9411837.flow",
- "static/media/getOutline.js.flow": "static/media/getOutline.js.458a3518.flow",
+ "static/media/getOutline.js.flow": "static/media/getOutline.js.c04e3998.flow",
"static/media/index.js.flow": "static/media/index.js.02c24280.flow"
}
\ No newline at end of file
diff --git a/assets/app/build/index.html b/assets/app/build/index.html
index b1a540b..d24d524 100644
--- a/assets/app/build/index.html
+++ b/assets/app/build/index.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/assets/app/build/service-worker.js b/assets/app/build/service-worker.js
index 70e8496..09b04c1 100644
--- a/assets/app/build/service-worker.js
+++ b/assets/app/build/service-worker.js
@@ -1 +1 @@
-"use strict";var precacheConfig=[["/index.html","88f578c012fd744561a21b37977dbaff"],["/static/css/main.820e0136.css","e1f71eaa3616bd49659f6c0ef7639813"],["/static/js/main.ef1c9dbe.js","eab1e995423b286bf9c35f06fb2cac8a"],["/static/media/GraphQLLanguageService.js.661fe407.flow","661fe4072aa622feee28842fa6a4b0c3"],["/static/media/autocompleteUtils.js.4ce7ba19.flow","4ce7ba191f7ebee4426768f246b2f0e0"],["/static/media/getAutocompleteSuggestions.js.7f98f032.flow","7f98f032085704c8943ec2d1925c7c84"],["/static/media/getDefinition.js.4dbec62f.flow","4dbec62f1d8e8417afb9cbd19f1268c3"],["/static/media/getDiagnostics.js.65b0979a.flow","65b0979ac23feca49e4411883fd8eaab"],["/static/media/getHoverInformation.js.d9411837.flow","d94118379d362fc161aa1246bcc14d43"],["/static/media/getOutline.js.458a3518.flow","458a3518255745f2de5b5238bba05ba1"],["/static/media/index.js.02c24280.flow","02c24280c5e4a7eb3c6cfcb079a8f1e3"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,a){var r=new URL(e);return a&&r.pathname.match(a)||(r.search+=(r.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),r.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],a=new URL(t,self.location),r=createCacheKey(a,hashParamName,n,/\.\w{8}\./);return[a.toString(),r]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(a){return setOfCachedUrls(a).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return a.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,a),e=urlsToCacheKeys.has(n));var r="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(r,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
\ No newline at end of file
+"use strict";var precacheConfig=[["/index.html","fb483b218b617ad6bc09321efa11ca3e"],["/static/css/main.820e0136.css","e1f71eaa3616bd49659f6c0ef7639813"],["/static/js/main.b1825402.js","b35291d46d1e1bcf6a22e27a050ba333"],["/static/media/GraphQLLanguageService.js.5ab204b9.flow","5ab204b9b95c06640dbefae9a65b1db2"],["/static/media/autocompleteUtils.js.4ce7ba19.flow","4ce7ba191f7ebee4426768f246b2f0e0"],["/static/media/getAutocompleteSuggestions.js.7f98f032.flow","7f98f032085704c8943ec2d1925c7c84"],["/static/media/getDefinition.js.4dbec62f.flow","4dbec62f1d8e8417afb9cbd19f1268c3"],["/static/media/getDiagnostics.js.65b0979a.flow","65b0979ac23feca49e4411883fd8eaab"],["/static/media/getHoverInformation.js.d9411837.flow","d94118379d362fc161aa1246bcc14d43"],["/static/media/getOutline.js.c04e3998.flow","c04e3998712b37a96f0bfd283fa06b52"],["/static/media/index.js.02c24280.flow","02c24280c5e4a7eb3c6cfcb079a8f1e3"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,a){var r=new URL(e);return a&&r.pathname.match(a)||(r.search+=(r.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),r.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],a=new URL(t,self.location),r=createCacheKey(a,hashParamName,n,/\.\w{8}\./);return[a.toString(),r]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(a){return setOfCachedUrls(a).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return a.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,a),e=urlsToCacheKeys.has(n));var r="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(r,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
\ No newline at end of file
diff --git a/assets/app/build/static/js/main.b1825402.js b/assets/app/build/static/js/main.b1825402.js
new file mode 100644
index 0000000..1f883a7
--- /dev/null
+++ b/assets/app/build/static/js/main.b1825402.js
@@ -0,0 +1,2 @@
+!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=135)}([function(e,t,n){"use strict";var r=n(17);n.d(t,"a",function(){return r.a});var i=n(152);n.d(t,"e",function(){return i.a});var o=n(77);n.d(t,"c",function(){return o.a});var a=n(74);n.d(t,"d",function(){return a.a});var u=n(153);n.d(t,"b",function(){return u.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return a(e)||s(e)||c(e)||p(e)||h(e)||v(e)||y(e)||T(e)}function o(e){return i(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL type."),e}function a(e){return Object(Y.a)(e,ie)}function u(e){return a(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Scalar type."),e}function s(e){return Object(Y.a)(e,oe)}function l(e){return s(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Object type."),e}function c(e){return Object(Y.a)(e,ae)}function f(e){return c(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Interface type."),e}function p(e){return Object(Y.a)(e,ue)}function d(e){return p(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Union type."),e}function h(e){return Object(Y.a)(e,se)}function m(e){return h(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Enum type."),e}function v(e){return Object(Y.a)(e,le)}function g(e){return v(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Input Object type."),e}function y(e){return Object(Y.a)(e,A)}function b(e){return y(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL List type."),e}function T(e){return Object(Y.a)(e,I)}function _(e){return T(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL Non-Null type."),e}function E(e){return a(e)||h(e)||v(e)||j(e)&&E(e.ofType)}function w(e){return E(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL input type."),e}function k(e){return a(e)||s(e)||c(e)||p(e)||h(e)||j(e)&&k(e.ofType)}function O(e){return k(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL output type."),e}function C(e){return a(e)||h(e)}function S(e){return C(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL leaf type."),e}function x(e){return s(e)||c(e)||p(e)}function N(e){return x(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL composite type."),e}function D(e){return c(e)||p(e)}function L(e){return D(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL abstract type."),e}function A(e){if(!(this instanceof A))return new A(e);this.ofType=o(e)}function I(e){if(!(this instanceof I))return new I(e);this.ofType=P(e)}function j(e){return y(e)||T(e)}function F(e){return j(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL wrapping type."),e}function M(e){return i(e)&&!T(e)}function P(e){return M(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL nullable type."),e}function R(e){if(e)return T(e)?e.ofType:e}function V(e){return a(e)||s(e)||c(e)||p(e)||h(e)||v(e)}function U(e){return V(e)||Object($.a)(0,"Expected "+String(e)+" to be a GraphQL named type."),e}function B(e){if(e){for(var t=e;j(t);)t=t.ofType;return t}}function z(e){return"function"===typeof e?e():e}function q(e,t){var n=z(t)||[];return Array.isArray(n)||Object($.a)(0,e.name+" interfaces must be an Array or a function which returns an Array."),n}function H(e,t){var n=z(t)||{};G(n)||Object($.a)(0,e.name+" fields must be an object with field names as keys or a function which returns such an object.");var r=Object.create(null);return Object.keys(n).forEach(function(t){var i=n[t];G(i)||Object($.a)(0,e.name+"."+t+" field config must be an object"),i.hasOwnProperty("isDeprecated")&&Object($.a)(0,e.name+"."+t+' should provide "deprecationReason" instead of "isDeprecated".');var o=te({},i,{isDeprecated:Boolean(i.deprecationReason),name:t});W(o.resolve)||Object($.a)(0,e.name+"."+t+" field resolver must be a function if provided, but got: "+String(o.resolve)+".");var a=i.args;a?(G(a)||Object($.a)(0,e.name+"."+t+" args must be an object with argument names as keys."),o.args=Object.keys(a).map(function(e){var t=a[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):o.args=[],r[t]=o}),r}function G(e){return e&&"object"===("undefined"===typeof e?"undefined":ee(e))&&!Array.isArray(e)}function W(e){return null==e||"function"===typeof e}function Q(e,t){var n=z(t)||[];return Array.isArray(n)||Object($.a)(0,"Must provide Array of types or a function which returns such an array for Union "+e.name+"."),n}function K(e,t){return G(t)||Object($.a)(0,e.name+" values must be an object with value names as keys."),Object.keys(t).map(function(n){var r=t[n];return G(r)||Object($.a)(0,e.name+"."+n+' must refer to an object with a "value" key representing an internal value but got: '+String(r)+"."),r.hasOwnProperty("isDeprecated")&&Object($.a)(0,e.name+"."+n+' should provide "deprecationReason" instead of "isDeprecated".'),{name:n,description:r.description,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,astNode:r.astNode,value:r.hasOwnProperty("value")?r.value:n}})}t.P=i,t.w=o,t.O=a,t.v=u,t.M=s,t.t=l,t.G=c,t.n=f,t.Q=p,t.x=d,t.D=h,t.k=m,t.E=v,t.l=g,t.I=y,t.p=b,t.K=T,t.r=_,t.F=E,t.m=w,t.N=k,t.u=O,t.H=C,t.o=S,t.C=x,t.j=N,t.B=D,t.i=L,t.d=A,t.e=I,t.R=j,t.y=F,t.L=M,t.s=P,t.A=R,t.J=V,t.q=U,t.z=B,n.d(t,"g",function(){return ie}),n.d(t,"f",function(){return oe}),n.d(t,"c",function(){return ae}),n.d(t,"h",function(){return ue}),n.d(t,"a",function(){return se}),n.d(t,"b",function(){return le});var Y=n(45),$=n(9),J=n(11),X=n(6),Z=n(73),ee="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},te=Object.assign||function(e){for(var t=1;t=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 l(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e,t){var n=0;return o(C,t)?C[t]:35===t.charCodeAt(0)&&O.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),s(n))?l(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(E,"$1")}function p(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(k,function(e,t,n){return t||c(e,n)})}function d(e){return N[e]}function h(e){return S.test(e)?e.replace(x,d):e}function m(e){return e.replace(D,"\\$&")}function v(e){switch(e){case 9:case 32:return!0}return!1}function g(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}function y(e){return L.test(e)}function b(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}}function T(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var _=Object.prototype.hasOwnProperty,E=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,w=/&([a-z#][a-z0-9]{1,31});/gi,k=new RegExp(E.source+"|"+w.source,"gi"),O=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,C=n(108),S=/[&<>"]/,x=/[&<>"]/g,N={"&":"&","<":"<",">":">",'"':"""},D=/[.?*+^$[\]\\(){}|-]/g,L=n(59);t.lib={},t.lib.mdurl=n(109),t.lib.ucmicro=n(189),t.assign=a,t.isString=i,t.has=o,t.unescapeMd=f,t.unescapeAll=p,t.isValidEntityCode=s,t.fromCodePoint=l,t.escapeHtml=h,t.arrayReplaceAt=u,t.isSpace=v,t.isWhiteSpace=g,t.isMdAsciiPunct=b,t.isPunctChar=y,t.escapeRE=m,t.normalizeReference=T},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(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)return a+(t-o);a+=u-o,a+=n-a%n,o=u+1}}function p(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function h(e){for(;Ka.length<=e;)Ka.push(m(Ka)+" ");return Ka[e]}function m(e){return e[e.length-1]}function v(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Ya.test(e))}function _(e,t){return t?!!(t.source.indexOf("\\w")>-1&&T(e))||t.test(e):T(e)}function E(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function w(e){return e.charCodeAt(0)>=768&&$a.test(e)}function k(e,t,n){for(;(n<0?t>0:tn?-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}}function C(e,t,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[a],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+qa+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),ba&&Ta<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),_a||ma&&Da||(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,n.init(o)}function S(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=e.first&&tn?F(n,S(e,n).text.length):q(t,S(e,t.line).text.length)}function q(e,t){var n=e.ch;return null==n||n>t?F(e.line,t):n<0?F(e.line,0):e}function H(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new Q(a,o.from,s?null:o.to))}}return r}function X(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(u||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&u)for(var _=0;_0)){var c=[s,1],f=M(l.from,u.from),d=M(l.to,u.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:l.from,to:u.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:u.to,to:l.to}),i.splice.apply(i,c),s+=c.length-3}}return i}function ne(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||ae(n,o.marker)<0)&&(n=o.marker)}return n}function fe(e,t,n,r,i){var o=S(e,t),a=Xa&&o.markedSpans;if(a)for(var u=0;u=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?M(l.to,n)>=0:M(l.to,n)>0)||c>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?M(l.from,r)<=0:M(l.from,r)<0)))return!0}}}function pe(e){for(var t;t=se(e);)e=t.find(-1,!0).line;return e}function de(e){for(var t;t=le(e);)e=t.find(1,!0).line;return e}function he(e){for(var t,n;t=le(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function me(e,t){var n=S(e,t),r=pe(n);return n==r?t:L(r)}function ve(e,t){if(t>e.lastLine())return t;var n,r=S(e,t);if(!ge(e,r))return t;for(;n=le(r);)r=n.find(1,!0).line;return L(r)+1}function ge(e,t){var n=Xa&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function Ee(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||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")}function we(e,t,n){var r;Za=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:Za=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:Za=i)}return null!=r?r:Za}function ke(e,t){var n=e.order;return null==n&&(n=e.order=eu(e.text,t)),n}function Oe(e,t){return e._handlers&&e._handlers[t]||tu}function Ce(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=p(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function Se(e,t){var n=Oe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Le(e){e.prototype.on=function(e,t){nu(this,e,t)},e.prototype.off=function(e,t){Ce(this,e,t)}}function Ae(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ie(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function je(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Fe(e){Ae(e),Ie(e)}function Me(e){return e.target||e.srcElement}function Pe(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),La&&e.ctrlKey&&1==t&&(t=3),t}function Re(e){if(null==Ba){var t=r("span","\u200b");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ba=t.offsetWidth<=1&&t.offsetHeight>2&&!(ba&&Ta<8))}var i=Ba?r("span","\u200b"):r("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ve(e){if(null!=za)return za;var r=n(e,document.createTextNode("A\u062eA")),i=Fa(r,0,1).getBoundingClientRect(),o=Fa(r,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(za=o.right-i.right<3)}function Ue(e){if(null!=uu)return uu;var t=n(e,r("span","x")),i=t.getBoundingClientRect(),o=Fa(t,0,1).getBoundingClientRect();return uu=Math.abs(i.left-o.left)>1}function Be(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),su[e]=t}function ze(e,t){lu[e]=t}function qe(e){if("string"==typeof e&&lu.hasOwnProperty(e))e=lu[e];else if(e&&"string"==typeof e.name&&lu.hasOwnProperty(e.name)){var t=lu[e.name];"string"==typeof t&&(t={name:t}),e=b(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return qe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return qe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function He(e,t){t=qe(t);var n=su[t.name];if(!n)return He(e,"text/plain");var r=n(e,t);if(cu.hasOwnProperty(t.name)){var i=cu[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}function Ge(e,t){c(t,cu.hasOwnProperty(e)?cu[e]:cu[e]={})}function We(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 Qe(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 Ke(e,t,n){return!e.startState||e.startState(t,n)}function Ye(e,t,n,r){var i=[e.state.modeGen],o={};rt(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=n.state,u=0;ue&&i.splice(s,1,e,i[s+1],r),s+=2,l=Math.min(e,r)}if(t)if(u.opaque)i.splice(n,s-n,e,"overlay "+t),s=n+2;else for(;ne.options.maxHighlightLength&&We(e.doc.mode,r.state),o=Ye(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 Je(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new du(r,!0,t);var o=it(e,t,n),a=o>r.first&&S(r,o-1).stateAfter,u=a?du.fromSaved(r,a,o):new du(r,Ke(r.mode),o);return r.iter(o,t,function(n){Xe(e,n.text,u);var r=u.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function tt(e,t,n,r){var i,o=e.doc,a=o.mode;t=z(o,t);var u,s=S(o,t.line),l=Je(e,t.line,n),c=new fu(s.text,e.options.tabSize,l);for(r&&(u=[]);(r||c.pose.options.maxHighlightLength?(u=!1,a&&Xe(e,t,r,f.pos),f.pos=t.length,s=null):s=nt(et(n,f,r.state,p),o),p){var d=p[0].name;d&&(s="m-"+(s?d+" "+s:d))}if(!u||c!=s){for(;la;--u){if(u<=o.first)return o.first;var s=S(o,u-1),l=s.stateAfter;if(l&&(!n||u+(l instanceof pu?l.lookAhead:0)<=o.modeFrontier))return u;var c=f(s.text,null,e.options.tabSize);(null==i||r>c)&&(i=u-1,r=c)}return i}function ot(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=S(e,r).stateAfter;if(i&&(!(i instanceof pu)||r+i.lookAhead1&&!/ /.test(e))return e;for(var n=t,r="",i=0;il&&f.from<=l));p++);if(f.to>=c)return e(n,r,i,o,a,u,s);e(n,r.slice(0,f.to-l),i,o,null,u,s),o=null,r=r.slice(f.to-l),l=f.to}}}function ht(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 mt(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,u,s,l,c,f,p,d=i.length,h=0,m=1,v="",g=0;;){if(g==h){s=l=c=u="",p=null,f=null,g=1/0;for(var y=[],b=void 0,T=0;Th||E.collapsed&&_.to==h&&_.from==h)){if(null!=_.to&&_.to!=h&&g>_.to&&(g=_.to,l=""),E.className&&(s+=" "+E.className),E.css&&(u=(u?u+";":"")+E.css),E.startStyle&&_.from==h&&(c+=" "+E.startStyle),E.endStyle&&_.to==g&&(b||(b=[])).push(E.endStyle,_.to),E.title&&((p||(p={})).title=E.title),E.attributes)for(var w in E.attributes)(p||(p={}))[w]=E.attributes[w];E.collapsed&&(!f||ae(f.marker,E)<0)&&(f=_)}else _.from>h&&g>_.from&&(g=_.from)}if(b)for(var k=0;k=d)break;for(var C=Math.min(d,g);;){if(v){var S=h+v.length;if(!f){var x=S>C?v.slice(0,C-h):v;t.addToken(t,x,a?a+s:s,c,h+x.length==g?l:"",u,p)}if(S>=C){v=v.slice(C-h),h=C;break}h=S,c=""}v=i.slice(o,o=n[m++]),a=st(n[m++],t.cm.options)}}else for(var N=1;N2&&o.push((s.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ht(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Gt(e,t){t=pe(t);var r=L(t),i=e.display.externalMeasured=new vt(e.doc,t,r);i.lineN=r;var o=i.built=lt(e,i);return i.text=o.pre,n(e.display.lineMeasure,o.pre),i}function Wt(e,t,n,r){return Yt(e,Kt(e,t),n,r)}function Qt(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=s-u,i=o-1,t>=s&&(a="right")),null!=i){if(r=e[l+2],u==s&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[2+(l-=3)],a="left";if("right"==n&&i==s-u)for(;l=0&&(n=e[i]).left==n.right;i--);return n}function Xt(e,t,n,r){var i,o=$t(t.map,n,r),a=o.node,u=o.start,s=o.end,l=o.collapse;if(3==a.nodeType){for(var c=0;c<4;c++){for(;u&&w(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+s0&&(l=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(ba&&Ta<9&&!u&&(!i||!i.left&&!i.right)){var p=a.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+_n(e.display),top:p.top,bottom:p.bottom}:_u}for(var d=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(d+h)/2,v=t.view.measure.heights,g=0;g=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);var f=we(s,l,c),p=Za,d=u(l,f,"before"==c);return null!=p&&(d.other=u(l,p,"before"!=c)),d}function fn(e,t){var n=0;t=z(e.doc,t),e.options.lineWrapping||(n=_n(e.display)*t.ch);var r=S(e.doc,t.line),i=be(r)+Pt(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function pn(e,t,n,r,i){var o=F(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function dn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return pn(r.first,0,null,!0,-1);var i=A(r,n),o=r.first+r.size-1;if(i>o)return pn(r.first+r.size-1,S(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=S(r,i);;){var u=gn(e,a,i,t,n),s=ce(a,u.ch+(u.xRel>0?1:0));if(!s)return u;var l=s.find(1);if(l.line==i)return l;a=S(r,i=l.line)}}function hn(e,t,n,r){r-=an(t);var i=t.text.length,o=O(function(t){return Yt(e,n,t-1).bottom<=r},i,0);return i=O(function(t){return Yt(e,n,t).top>r},o,i),{begin:o,end:i}}function mn(e,t,n,r){return n||(n=Kt(e,t)),hn(e,t,n,un(e,t,Yt(e,n,r),"line").top)}function vn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function gn(e,t,n,r,i){i-=be(t);var o=Kt(e,t),a=an(t),u=0,s=t.text.length,l=!0,c=ke(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?bn:yn)(e,t,n,o,c,r,i);l=1!=f.level,u=l?f.from:f.to-1,s=l?f.to:f.from-1}var p,d,h=null,m=null,v=O(function(t){var n=Yt(e,o,t);return n.top+=a,n.bottom+=a,!!vn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)},u,s),g=!1;if(m){var y=r-m.left=T.bottom}return v=k(t.text,v,1),pn(n,v,d,g,r-p)}function yn(e,t,n,r,i,o,a){var u=O(function(u){var s=i[u],l=1!=s.level;return vn(cn(e,F(n,l?s.to:s.from,l?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),s=i[u];if(u>0){var l=1!=s.level,c=cn(e,F(n,l?s.from:s.to,l?"after":"before"),"line",t,r);vn(c,o,a,!0)&&c.top>a&&(s=i[u-1])}return s}function bn(e,t,n,r,i,o,a){var u=hn(e,t,r,a),s=u.begin,l=u.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var c=null,f=null,p=0;p=l||d.to<=s)){var h=1!=d.level,m=Yt(e,r,h?Math.min(l,d.to)-1:Math.max(s,d.from)).right,v=mv)&&(c=d,f=v)}}return c||(c=i[i.length-1]),c.froml&&(c={from:c.from,to:l,level:c.level}),c}function Tn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==vu){vu=r("pre");for(var i=0;i<49;++i)vu.appendChild(document.createTextNode("x")),vu.appendChild(r("br"));vu.appendChild(document.createTextNode("x"))}n(e.measure,vu);var o=vu.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function _n(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),i=r("pre",[t]);n(e.measure,i);var o=t.getBoundingClientRect(),a=(o.right-o.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function En(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:wn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function wn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function kn(e){var t=Tn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/_n(e.display)-3);return function(i){if(ge(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||u.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function jn(e){e.state.focused||(e.display.input.focus(),Mn(e))}function Fn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Pn(e))},100)}function Mn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Se(e,"focus",e,t),e.state.focused=!0,u(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),_a&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),In(e))}function Pn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Se(e,"blur",e,t),e.state.focused=!1,Ra(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Rn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||c<-.005)&&(D(i.line,a),Vn(i.line),i.rest))for(var f=0;fe.display.sizerWidth){var p=Math.ceil(u/_n(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Vn(e){if(e.widgets)for(var t=0;t=a&&(o=A(t,be(S(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function Bn(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=wn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!Sa){var a=r("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Pt(e.display))+"px;\n height: "+(t.bottom-t.top+Ut(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(o),e.display.lineSpace.removeChild(a)}}}function Hn(e,t,n,r){null==r&&(r=0);var i;e.options.lineWrapping||t!=n||(t=t.ch?F(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?F(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,u=cn(e,t),s=n&&n!=t?cn(e,n):u;i={left:Math.min(u.left,s.left),top:Math.min(u.top,s.top)-r,right:Math.max(u.left,s.left),bottom:Math.max(u.bottom,s.bottom)+r};var l=Wn(e,i),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=l.scrollTop&&(Zn(e,l.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=l.scrollLeft&&(tr(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function Gn(e,t){var n=Wn(e,t);null!=n.scrollTop&&Zn(e,n.scrollTop),null!=n.scrollLeft&&tr(e,n.scrollLeft)}function Wn(e,t){var n=e.display,r=Tn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=zt(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var u=e.doc.height+Rt(n),s=t.topu-r;if(t.topi+o){var c=Math.min(t.top,(l?u:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Bt(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Qn(e,t){null!=t&&(Jn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Kn(e){Jn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Yn(e,t,n){null==t&&null==n||Jn(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function $n(e,t){Jn(e),e.curOp.scrollToPos=t}function Jn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;Xn(e,fn(e,t.from),fn(e,t.to),t.margin)}}function Xn(e,t,n,r){var i=Wn(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});Yn(e,i.scrollLeft,i.scrollTop)}function Zn(e,t){Math.abs(e.doc.scrollTop-t)<2||(ma||Lr(e,{top:t}),er(e,t,!0),ma&&Lr(e),kr(e,100))}function er(e,t,n){t=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 tr(e,t,n,r){t=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,Bn(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function nr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Rt(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+Ut(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function rr(e,t){t||(t=nr(e));var n=e.display.barWidth,r=e.display.barHeight;ir(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Rn(e),ir(e,nr(e)),n=e.display.barWidth,r=e.display.barHeight}function ir(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=""}function or(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Ra(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ku[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),nu(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?tr(e,t):Zn(e,t)},e),e.display.scrollbars.addClass&&u(e.display.wrapper,e.display.scrollbars.addClass)}function ar(e){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:++Ou},yt(e.curOp)}function ur(e){var t=e.curOp;t&&Tt(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Cu(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function cr(e){e.updatedDisplay=e.mustUpdate&&Nr(e.cm,e.update)}function fr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Rn(t),e.barMeasure=nr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Wt(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+Ut(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Bt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function pr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Xa&&me(e.doc,t)i.viewFrom?Tr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Tr(e);else if(t<=i.viewFrom){var o=_r(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Tr(e)}else if(n>=i.viewTo){var a=_r(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Tr(e)}else{var u=_r(e,t,t,-1),s=_r(e,n,n+r,1);u&&s?(i.view=i.view.slice(0,u.index).concat(gt(e,u.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):Tr(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Sn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==p(a,n)&&a.push(n)}}}function Tr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function _r(e,t,n,r){var i,o=Sn(e,t),a=e.display.view;if(!Xa||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var u=e.display.viewFrom,s=0;s0){if(o==a.length-1)return null;i=u+a[o].size-t,o++}else i=u-t;t+=i,n+=i}for(;me(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 Er(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=gt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=gt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Sn(e,n)))),r.viewTo=n}function wr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Je(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,u=o.text.length>e.options.maxHighlightLength?We(t.mode,r.state):null,s=Ye(e,o,r,!0);u&&(r.state=u),o.styles=s.styles;var l=o.styleClasses,c=s.classes;c?o.styleClasses=c:l&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),p=0;!f&&pn)return kr(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&hr(e,function(){for(var t=0;t=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==wr(e))return!1;zn(e)&&(Tr(e),n.dims=En(e));var o=i.first+i.size,a=Math.max(n.visible.from-e.options.viewportMargin,i.first),u=Math.min(o,n.visible.to+e.options.viewportMargin);r.viewFromu&&r.viewTo-u<20&&(u=Math.min(o,r.viewTo)),Xa&&(a=me(e.doc,a),u=ve(e.doc,u));var s=a!=r.viewFrom||u!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;Er(e,a,u),r.viewOffset=be(S(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=wr(e);if(!s&&0==l&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=Sr(e);return l>4&&(r.lineDiv.style.display="none"),Ar(e,r.updateLineNumbers,n.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,xr(c),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,kr(e,400)),r.updateLineNumbers=null,!0}function Dr(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Bt(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Rt(e.display)-zt(e),n.top)}),t.visible=Un(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Nr(e,t);r=!1){Rn(e);var i=nr(e);xn(e),rr(e,i),jr(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 Lr(e,t){var n=new Cu(e,t);if(Nr(e,n)){Rn(e),Dr(e,n);var r=nr(e);xn(e),rr(e,r),jr(e,r),n.finish()}}function Ar(e,n,r){function i(t){var n=t.nextSibling;return _a&&La&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var o=e.display,a=e.options.lineNumbers,u=o.lineDiv,s=u.firstChild,l=o.view,c=o.viewFrom,f=0;f-1&&(h=!1),wt(e,d,c,r)),h&&(t(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(j(e.options,c)))),s=d.node.nextSibling}else{var m=Lt(e,d,c,r);u.insertBefore(m,s)}c+=d.size}for(;s;)s=i(s)}function Ir(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function jr(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+Ut(e)+"px"}function Fr(e){var n=e.display.gutters,i=e.options.gutters;t(n);for(var o=0;o-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function Pr(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 Rr(e){var t=Pr(e);return t.x*=xu,t.y*=xu,t}function Vr(e,t){var n=Pr(t),r=n.x,i=n.y,o=e.display,a=o.scroller,u=a.scrollWidth>a.clientWidth,s=a.scrollHeight>a.clientHeight;if(r&&u||i&&s){if(i&&La&&_a)e:for(var l=t.target,c=o.view;l!=a;l=l.parentNode)for(var f=0;f0:s>=0){var l=U(u.from(),a.from()),c=V(u.to(),a.to()),f=u.empty()?a.from()==a.head:u.from()==u.head;o<=n&&--n,t.splice(--o,2,new Du(f?c:l,f?l:c))}}return new Nu(t,n)}function Br(e,t){return new Nu([new Du(e,t||e)],0)}function zr(e){return e.text?F(e.from.line+e.text.length-1,m(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function qr(e,t){if(M(e,t.from)<0)return e;if(M(e,t.to)<=0)return zr(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+=zr(t).ch-t.to.ch),F(n,r)}function Hr(e,t){for(var n=[],r=0;r1&&e.remove(u.line+1,h-1),e.insert(u.line+1,y)}_t(e,"change",e,t)}function Jr(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),m(e.done)):void 0}function oi(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,u=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>u-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=ii(i,i.lastOp==r)))a=m(o.changes),0==M(t.from,t.to)&&0==M(t.from,a.to)?a.to=zr(t):o.changes.push(ni(e,t));else{var s=m(i.done);for(s&&s.ranges||si(e.sel,i.done),o={changes:[ni(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=u,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||Se(e,"historyAdded")}function ai(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)}function ui(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||ai(e,o,m(i.done),t))?i.done[i.done.length-1]=t:si(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ri(i.undone)}function si(e,t){var n=m(t);n&&n.ranges&&n.equals(e)||t.push(e)}function li(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 ci(e){if(!e)return null;for(var t,n=0;n-1&&(m(u)[f]=l[f],delete l[f])}}}return r}function hi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=M(t,i)<0;o!=M(n,i)<0?(i=t,t=n):o!=M(t,n)<0&&(t=n)}return new Du(i,t)}return new Du(n||t,t)}function mi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),_i(e,new Nu([hi(e.sel.primary(),t,n,i)],0),r)}function vi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:u.to>t.ch))){if(i&&(Se(s,"beforeCursorEnter"),s.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!s.atomic)continue;if(n){var l=s.find(r<0?1:-1),c=void 0;if((r<0?s.inclusiveRight:s.inclusiveLeft)&&(l=xi(e,l,-r,l&&l.line==t.line?o:null)),l&&l.line==t.line&&(c=M(l,n))&&(r<0?c<0:c>0))return Ci(e,l,t,r,i)}var f=s.find(r<0?-1:1);return(r<0?s.inclusiveLeft:s.inclusiveRight)&&(f=xi(e,f,r,f.line==t.line?o:null)),f?Ci(e,f,t,r,i):null}}return t}function Si(e,t,n,r,i){var o=r||1,a=Ci(e,t,n,o,i)||!i&&Ci(e,t,n,o,!0)||Ci(e,t,n,-o,i)||!i&&Ci(e,t,n,-o,!0);return a||(e.cantEdit=!0,F(e.first,0))}function xi(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?z(e,F(t.line-1)):null:n>0&&t.ch==(r||S(e,t.line)).text.length?t.line=0;--i)Ai(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Ai(e,t)}}function Ai(e,t){if(1!=t.text.length||""!=t.text[0]||0!=M(t.from,t.to)){var n=Hr(e,t);oi(e,t,n,e.cm?e.cm.curOp.id:NaN),Fi(e,t,n,Z(e,t));var r=[];Jr(e,function(e,n){n||-1!=p(r,e.history)||(Ui(e.history,t),r.push(e.history)),Fi(e,t,null,Z(e,t))})}}function Ii(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,u="undo"==t?o.done:o.undone,s="undo"==t?o.undone:o.done,l=0;l=0;--d){var h=function(n){var r=i.changes[n];if(r.origin=t,f&&!Di(e,r,!1))return u.length=0,{};c.push(ni(e,r));var o=n?Hr(e,r):m(u);Fi(e,r,o,pi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:zr(r)});var a=[];Jr(e,function(e,t){t||-1!=p(a,e.history)||(Ui(e.history,r),a.push(e.history)),Fi(e,r,null,pi(e,r))})}(d);if(h)return h.v}}}}function ji(e,t){if(0!=t&&(e.first+=t,e.sel=new Nu(v(e.sel.ranges,function(e){return new Du(F(e.anchor.line+t,e.anchor.ch),F(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){yr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:F(o,S(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=x(e,t.from,t.to),n||(n=Hr(e,t)),e.cm?Mi(e.cm,t,r):$r(e,t,r),Ei(e,n,Ga)}}function Mi(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,u=!1,s=o.line;e.options.lineWrapping||(s=L(pe(S(r,o.line))),r.iter(s,a.line+1,function(e){if(e==i.maxLine)return u=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Ne(e),$r(r,t,n,kn(e)),e.options.lineWrapping||(r.iter(s,o.line+t.text.length,function(e){var t=Te(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,u=!1)}),u&&(e.curOp.updateMaxLine=!0)),ot(r,o.line),kr(e,400);var l=t.text.length-(a.line-o.line)-1;t.full?yr(e):o.line!=a.line||1!=t.text.length||Yr(e.doc,t)?yr(e,o.line,a.line+1,l):br(e,o.line,"text");var c=De(e,"changes"),f=De(e,"change");if(f||c){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&_t(e,"change",e,p),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function Pi(e,t,n,r,i){var o;r||(r=n),M(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Li(e,{from:n,to:r,text:t,origin:i})}function Ri(e,t,n,r){n0||0==u&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=i("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(fe(e,t.line,t,n,a)||t.line!=n.line&&fe(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");W()}a.addToHistory&&oi(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,f=e.cm;if(e.iter(l,n.line+1,function(e){f&&a.collapsed&&!f.options.lineWrapping&&pe(e)==f.display.maxLine&&(s=!0),a.collapsed&&l!=t.line&&D(e,0),$(e,new Q(a,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),a.collapsed&&e.iter(t.line,n.line+1,function(t){ge(e,t)&&D(t,0)}),a.clearOnEnter&&nu(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(G(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++Au,a.atomic=!0),f){if(s&&(f.curOp.updateMaxLine=!0),a.collapsed)yr(f,t.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var p=t.line;p<=n.line;p++)br(f,p,"text");a.atomic&&ki(f.doc),_t(f,"markerAdded",f,a)}return a}function Qi(e,t,n,r,i){r=c(r),r.shared=!1;var o=[Wi(e,t,n,r,i)],a=o[0],u=r.widgetNode;return Jr(e,function(e){u&&(r.widgetNode=u.cloneNode(!0)),o.push(Wi(e,z(e,t),z(e,n),r,i));for(var s=0;s-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var s=e.dataTransfer.getData("Text");if(s){var l;if(t.state.draggingText&&!t.state.draggingText.copy&&(l=t.listSelections()),Ei(t.doc,Br(n,n)),l)for(var c=0;c=0;t--)Pi(e.doc,"",r[t].from,r[t].to,"+delete");Kn(e)})}function ho(e,t,n){var r=k(e.text,t+n,n);return r<0||r>e.text.length?null:r}function mo(e,t,n){var r=ho(e,t.ch,n);return null==r?null:new F(t.line,r,n<0?"after":"before")}function vo(e,t,n,r,i){if(e){var o=ke(n,t.doc.direction);if(o){var a,u=i<0?m(o):o[0],s=i<0==(1==u.level),l=s?"after":"before";if(u.level>0||"rtl"==t.doc.direction){var c=Kt(t,n);a=i<0?n.text.length-1:0;var f=Yt(t,c,a).top;a=O(function(e){return Yt(t,c,e).top==f},i<0==(1==u.level)?u.from:u.to-1,a),"before"==l&&(a=ho(n,a,1))}else a=i<0?u.to:u.from;return new F(r,a,l)}}return new F(r,i<0?n.text.length:0,i<0?"before":"after")}function go(e,t,n,r){var i=ke(t,e.doc.direction);if(!i)return mo(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=we(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=a.from&&p>=c.begin)){var d=f?"before":"after";return new F(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new F(n.line,s(e,1),"before"):new F(n.line,e,"after")};e>=0&&e0==(1!=a.level),l=u?r.begin:s(r.end,-1);if(a.from<=l&&l0?c.end:s(c.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,l(v)))?null:m}function yo(e,t){var n=S(e.doc,t),r=pe(n);return r!=n&&(t=L(r)),vo(!0,e,r,t,1)}function bo(e,t){var n=S(e.doc,t),r=de(n);return r!=n&&(t=L(r)),vo(!0,e,n,t,-1)}function To(e,t){var n=yo(e,t.line),r=S(e.doc,n.line),i=ke(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return F(n.line,a?0:o,n.sticky)}return n}function _o(e,t,n){if("string"==typeof t&&!(t=Hu[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)!=Ha}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function Eo(e,t,n){for(var r=0;r-1&&(M((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(M(i.to(),t)>0||t.xRel<0)?Mo(e,r,t,o):Ro(e,r,t,o)}function Mo(e,t,n,r){var i=e.display,o=!1,a=mr(e,function(t){_a&&(i.scroller.draggable=!1),e.state.draggingText=!1,Ce(i.wrapper.ownerDocument,"mouseup",a),Ce(i.wrapper.ownerDocument,"mousemove",u),Ce(i.scroller,"dragstart",s),Ce(i.scroller,"drop",a),o||(Ae(t),r.addNew||mi(e.doc,n,null,null,r.extend),_a||ba&&9==Ta?setTimeout(function(){i.wrapper.ownerDocument.body.focus(),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},s=function(){return o=!0};_a&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),nu(i.wrapper.ownerDocument,"mouseup",a),nu(i.wrapper.ownerDocument,"mousemove",u),nu(i.scroller,"dragstart",s),nu(i.scroller,"drop",a),Fn(e),setTimeout(function(){return i.input.focus()},20)}function Po(e,t,n){if("char"==n)return new Du(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Du(F(t.line,0),z(e.doc,F(t.line+1,0)));var r=n(e,t);return new Du(r.from,r.to)}function Ro(e,t,n,r){function i(t){if(0!=M(g,t))if(g=t,"rectangle"==r.unit){for(var i=[],o=e.options.tabSize,a=f(S(l,n.line).text,n.ch,o),u=f(S(l,t.line).text,t.ch,o),s=Math.min(a,u),m=Math.max(a,u),v=Math.min(n.line,t.line),y=Math.min(e.lastLine(),Math.max(n.line,t.line));v<=y;v++){var b=S(l,v).text,T=d(b,s,o);s==m?i.push(new Du(F(v,T),F(v,T))):b.length>T&&i.push(new Du(F(v,T),F(v,d(b,m,o))))}i.length||i.push(new Du(n,n)),_i(l,Ur(e,h.ranges.slice(0,p).concat(i),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var _,E=c,w=Po(e,t,r.unit),k=E.anchor;M(w.anchor,k)>0?(_=w.head,k=U(E.from(),w.anchor)):(_=w.anchor,k=V(E.to(),w.head));var O=h.ranges.slice(0);O[p]=Vo(e,new Du(z(l,k),_)),_i(l,Ur(e,O,p),Wa)}}function o(t){var n=++b,u=Cn(e,t,!0,"rectangle"==r.unit);if(u)if(0!=M(u,g)){e.curOp.focus=a(),i(u);var c=Un(s,l);(u.line>=c.to||u.liney.bottom?20:0;f&&setTimeout(mr(e,function(){b==n&&(s.scroller.scrollTop+=f,o(t))}),50)}}function u(t){e.state.selectingText=!1,b=1/0,Ae(t),s.input.focus(),Ce(s.wrapper.ownerDocument,"mousemove",T),Ce(s.wrapper.ownerDocument,"mouseup",_),l.history.lastSelOrigin=null}var s=e.display,l=e.doc;Ae(t);var c,p,h=l.sel,m=h.ranges;if(r.addNew&&!r.extend?(p=l.sel.contains(n),c=p>-1?m[p]:new Du(n,n)):(c=l.sel.primary(),p=l.sel.primIndex),"rectangle"==r.unit)r.addNew||(c=new Du(n,n)),n=Cn(e,t,!0,!0),p=-1;else{var v=Po(e,n,r.unit);c=r.extend?hi(c,v.anchor,v.head,r.extend):v}r.addNew?-1==p?(p=m.length,_i(l,Ur(e,m.concat([c]),p),{scroll:!1,origin:"*mouse"})):m.length>1&&m[p].empty()&&"char"==r.unit&&!r.extend?(_i(l,Ur(e,m.slice(0,p).concat(m.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),h=l.sel):gi(l,p,c,Wa):(p=0,_i(l,new Nu([c],0),Wa),h=l.sel);var g=n,y=s.wrapper.getBoundingClientRect(),b=0,T=mr(e,function(e){0!==e.buttons&&Pe(e)?o(e):u(e)}),_=mr(e,u);e.state.selectingText=_,nu(s.wrapper.ownerDocument,"mousemove",T),nu(s.wrapper.ownerDocument,"mouseup",_)}function Vo(e,t){var n=t.anchor,r=t.head,i=S(e.doc,n.line);if(0==M(n,r)&&n.sticky==r.sticky)return t;var o=ke(i);if(!o)return t;var a=we(o,n.ch,n.sticky),u=o[a];if(u.from!=n.ch&&u.to!=n.ch)return t;var s=a+(u.from==n.ch==(1!=u.level)?0:1);if(0==s||s==o.length)return t;var l;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=we(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==u.level?-1:1);l=c==s-1||c==s?f<0:f>0}var p=o[s+(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 Du(new F(n.line,h,m),r)}function Uo(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(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ae(t);var a=e.display,u=a.lineDiv.getBoundingClientRect();if(o>u.bottom||!De(e,n))return je(t);o-=u.top-a.viewOffset;for(var s=0;s=i){return Se(e,n,e,A(e.doc,o),e.options.gutters[s],t),je(t)}}}function Bo(e,t){return Uo(e,t,"gutterClick",!0)}function zo(e,t){Mt(e.display,t)||qo(e,t)||xe(e,t,"contextmenu")||Pa||e.display.input.onContextMenu(t)}function qo(e,t){return!!De(e,"gutterContextMenu")&&Uo(e,t,"gutterContextMenu",!1)}function Ho(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),nn(e)}function Go(e){Fr(e),yr(e),Bn(e)}function Wo(e,t,n){if(!t!=!(n&&n!=$u)){var r=e.display.dragFunctions,i=t?nu:Ce;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 Qo(e){e.options.lineWrapping?(u(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ra(e.display.wrapper,"CodeMirror-wrap"),_e(e)),On(e),yr(e),nn(e),setTimeout(function(){return rr(e)},100)}function Ko(e,t){var n=this;if(!(this instanceof Ko))return new Ko(e,t);this.options=t=t?c(t):{},c(Ju,t,!1),Mr(t);var r=t.value;"string"==typeof r?r=new Mu(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ko.inputStyles[t.inputStyle](this),o=this.display=new C(e,r,i);o.wrapper.CodeMirror=this,Fr(this),Ho(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),or(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 Ua,keySeq:null,specialChars:null},t.autofocus&&!Da&&o.input.focus(),ba&&Ta<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Yo(this),no(),ar(this),this.curOp.forceUpdate=!0,Xr(this,r),t.autofocus&&!Da||this.hasFocus()?setTimeout(l(Mn,this),20):Pn(this);for(var a in Xu)Xu.hasOwnProperty(a)&&Xu[a](n,t[a],$u);zn(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}var i=e.display;nu(i.scroller,"mousedown",mr(e,Ao)),ba&&Ta<11?nu(i.scroller,"dblclick",mr(e,function(t){if(!xe(e,t)){var n=Cn(e,t);if(n&&!Bo(e,t)&&!Mt(e.display,t)){Ae(t);var r=e.findWordAt(n);mi(e.doc,r.anchor,r.head)}}})):nu(i.scroller,"dblclick",function(t){return xe(e,t)||Ae(t)}),nu(i.scroller,"contextmenu",function(t){return zo(e,t)});var o,a={end:0};nu(i.scroller,"touchstart",function(t){if(!xe(e,t)&&!n(t)&&!Bo(e,t)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),nu(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),nu(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!Mt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,u=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new Du(u,u):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(u):new Du(F(u.line,0),z(e.doc,F(u.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),Ae(n)}t()}),nu(i.scroller,"touchcancel",t),nu(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Zn(e,i.scroller.scrollTop),tr(e,i.scroller.scrollLeft,!0),Se(e,"scroll",e))}),nu(i.scroller,"mousewheel",function(t){return Vr(e,t)}),nu(i.scroller,"DOMMouseScroll",function(t){return Vr(e,t)}),nu(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){xe(e,t)||Fe(t)},over:function(t){xe(e,t)||(Zi(e,t),Fe(t))},start:function(t){return Xi(e,t)},drop:mr(e,Ji),leave:function(t){xe(e,t)||eo(e)}};var u=i.input.getField();nu(u,"keyup",function(t){return No.call(e,t)}),nu(u,"keydown",mr(e,So)),nu(u,"keypress",mr(e,Do)),nu(u,"focus",function(t){return Mn(e,t)}),nu(u,"blur",function(t){return Pn(e,t)})}function $o(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=Je(e,t).state:n="prev");var a=e.options.tabSize,u=S(o,t),s=f(u.text,null,a);u.stateAfter&&(u.stateAfter=null);var l,c=u.text.match(/^\s*/)[0];if(r||/\S/.test(u.text)){if("smart"==n&&((l=o.mode.indent(i,u.text.slice(c.length),u.text))==Ha||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?f(S(o,t-1).text,null,a):0:"add"==n?l=s+e.options.indentUnit:"subtract"==n?l=s-e.options.indentUnit:"number"==typeof n&&(l=s+n),l=Math.max(0,l);var p="",d=0;if(e.options.indentWithTabs)for(var m=Math.floor(l/a);m;--m)d+=a,p+="\t";if(da,s=iu(t),l=null;if(u&&r.ranges.length>1)if(es&&es.text.join("\n")==t){if(r.ranges.length%es.text.length==0){l=[];for(var c=0;c=0;p--){var d=r.ranges[p],h=d.from(),g=d.to();d.empty()&&(n&&n>0?h=F(h.line,h.ch-n):e.state.overwrite&&!u?g=F(g.line,Math.min(S(o,g.line).text.length,g.ch+m(s).length)):u&&es&&es.lineWise&&es.text.join("\n")==t&&(h=g=F(h.line,0)));var y={from:h,to:g,text:l?l[p%l.length]:s,origin:i||(u?"paste":e.state.cutIncoming>a?"cut":"+input")};Li(e.doc,y),_t(e,"inputRead",e,y)}t&&!u&&ea(e,t),Kn(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Zo(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||hr(t,function(){return Xo(t,n,0,null,"paste")}),!0}function ea(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 u=0;u-1){a=$o(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(S(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=$o(e,i.head.line,"smart"));a&&_t(e,"electricInput",e,i.head.line)}}}function ta(e){for(var t=[],n=[],r=0;r=e.first+e.size)&&(t=new F(r,t.ch,t.sticky),l=S(e,r))}function a(r){var a;if(null==(a=i?go(e.cm,l,t,n):mo(l,t,n))){if(r||!o())return!1;t=vo(i,e.cm,l,t.line,n)}else t=a;return!0}var u=t,s=n,l=S(e,t.line);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var c=null,f="group"==r,p=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||a(!d);d=!1){var h=l.text.charAt(t.ch)||"\n",m=_(h,p)?"w":f&&"\n"==h?"n":!f||/\s/.test(h)?null:"p";if(!f||d||m||(m="s"),c&&c!=m){n<0&&(n=1,a(),t.sticky="after");break}if(m&&(c=m),n>0&&!a(!d))break}var v=Si(e,t,u,s,!0);return P(u,v)&&(v.hitSide=!0),v}function oa(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),s=Math.max(u-.5*Tn(e.display),3);i=(n>0?t.bottom:t.top)+n*s}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var l;l=dn(e,a,i),l.outside;){if(n<0?i<=0:i>=o.height){l.hitSide=!0;break}i+=5*n}return l}function aa(e,t){var n=Qt(e,t.line);if(!n||n.hidden)return null;var r=S(e.doc,t.line),i=Ht(n,r,t.line),o=ke(r,e.doc.direction),a="left";if(o){a=we(o,t.ch)%2?"right":"left"}var u=$t(i.map,t.ch,a);return u.offset="right"==u.collapse?u.end:u.start,u}function ua(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function sa(e,t){return t&&(e.bad=!0),e}function la(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(){c&&(l+=f,p&&(l+=f),c=p=!1)}function u(e){e&&(a(),l+=e)}function s(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void u(n);var l,d=t.getAttribute("cm-marker");if(d){var h=e.findMarks(F(r,0),F(i+1,0),o(+d));return void(h.length&&(l=h[0].find(0))&&u(x(e.doc,l.from,l.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&a();for(var v=0;v=15&&(ka=!1,_a=!0);var Fa,Ma=La&&(Ea||ka&&(null==ja||ja<12.11)),Pa=ma||ba&&Ta>=9,Ra=function(t,n){var r=t.className,i=e(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);t.className=r.slice(0,i.index)+(o?i[1]+o:"")}};Fa=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 Va=function(e){e.select()};xa?Va=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ba&&(Va=function(e){try{e.select()}catch(e){}});var Ua=function(){this.id=null};Ua.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Ba,za,qa=30,Ha={toString:function(){return"CodeMirror.Pass"}},Ga={scroll:!1},Wa={origin:"*mouse"},Qa={origin:"+move"},Ka=[""],Ya=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,$a=/[\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]/,Ja=!1,Xa=!1,Za=null,eu=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,u=/[Lb1n]/,s=/[1n]/;return function(n,r){var l="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var c=n.length,f=[],p=0;p=this.string.length},fu.prototype.sol=function(){return this.pos==this.lineStart},fu.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},fu.prototype.next=function(){if(this.post},fu.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},fu.prototype.skipToEnd=function(){this.pos=this.string.length},fu.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},fu.prototype.backUp=function(e){this.pos-=e},fu.prototype.column=function(){return this.lastColumnPos0?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},fu.prototype.current=function(){return this.string.slice(this.start,this.pos)},fu.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},fu.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},fu.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var pu=function(e,t){this.state=e,this.lookAhead=t},du=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};du.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},du.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},du.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},du.fromSaved=function(e,t,n){return t instanceof pu?new du(e,We(e.mode,t.state),n,t.lookAhead):new du(e,We(e.mode,t),n)},du.prototype.save=function(e){var t=!1!==e?We(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pu(t,this.maxLookAhead):t};var hu=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},mu=function(e,t,n){this.text=e,re(this,t),this.height=n?n(this):1};mu.prototype.lineNo=function(){return L(this)},Le(mu);var vu,gu={},yu={},bu=null,Tu=null,_u={left:0,right:0,top:0,bottom:0},Eu=function(e,t,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=o.tabIndex=-1,e(i),e(o),nu(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),nu(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ba&&Ta<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Eu.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}},Eu.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Eu.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Eu.prototype.zeroWidthHack=function(){var e=La&&!Ca?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ua,this.disableVert=new Ua},Eu.prototype.enableZeroWidthBar=function(e,t,n){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)}e.style.pointerEvents="auto",t.set(1e3,r)},Eu.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var wu=function(){};wu.prototype.update=function(){return{bottom:0,right:0}},wu.prototype.setScrollLeft=function(){},wu.prototype.setScrollTop=function(){},wu.prototype.clear=function(){};var ku={native:Eu,null:wu},Ou=0,Cu=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Un(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Bt(e),this.force=n,this.dims=En(e),this.events=[]};Cu.prototype.signal=function(e,t){De(e,t)&&this.events.push(arguments)},Cu.prototype.finish=function(){for(var e=this,t=0;t=0&&M(e,i.to())<=0)return r}return-1};var Du=function(e,t){this.anchor=e,this.head=t};Du.prototype.from=function(){return U(this.anchor,this.head)},Du.prototype.to=function(){return V(this.anchor,this.head)},Du.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},zi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=this,r=e,i=e+t;r1||!(this.children[0]instanceof zi))){var s=[];this.collapse(s),this.children=[new zi(s)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var u=o.lines.length%25+25,s=u;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=this,i=0;it.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&yr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&ki(t.doc)),t&&_t(t,"markerCleared",t,this,i,o),n&&ur(t),this.parent&&this.parent.clear()}},Iu.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,i,o=0;o=0;l--)Li(r,i[l]);s?Ti(this,s):this.cm&&Kn(this.cm)}),undo:gr(function(){Ii(this,"undo")}),redo:gr(function(){Ii(this,"redo")}),undoSelection:gr(function(){Ii(this,"undo",!0)}),redoSelection:gr(function(){Ii(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.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=z(this,e),t=z(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 u=0;u=s.to||null==s.from&&i!=e.line||null!=s.from&&i==t.line&&s.from>=t.ch||n&&!n(s.marker)||r.push(s.marker.parent||s.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),z(this,F(n,t))},indexFromPos:function(e){e=z(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)i=new F(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),F(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=S(e.doc,i.line-1).text;a&&(i=new F(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),F(i.line-1,a.length-1),i,"+transpose"))}n.push(new Du(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return hr(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;re&&0==M(t,this.pos)&&n==this.button};var Ku,Yu,$u={toString:function(){return"CodeMirror.Init"}},Ju={},Xu={};Ko.defaults=Ju,Ko.optionHandlers=Xu;var Zu=[];Ko.defineInitHook=function(e){return Zu.push(e)};var es=null,ts=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ua,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ts.prototype.init=function(e){function t(e){if(!xe(i,e)){if(i.somethingSelected())Jo({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);Jo({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Ga),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=es.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var a=ra(),u=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),u.value=es.text.join("\n");var s=document.activeElement;Va(u),setTimeout(function(){i.display.lineSpace.removeChild(a),s.focus(),s==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=e.lineDiv;na(o,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize),nu(o,"paste",function(e){xe(i,e)||Zo(e,i)||Ta<=11&&setTimeout(mr(i,function(){return n.updateFromDOM()}),20)}),nu(o,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),nu(o,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),nu(o,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),nu(o,"touchstart",function(){return r.forceCompositionEnd()}),nu(o,"input",function(){n.composing||n.readFromDOMSoon()}),nu(o,"copy",t),nu(o,"cut",t)},ts.prototype.prepareSelection=function(){var e=Nn(this.cm,!1);return e.focus=this.cm.state.focused,e},ts.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ts.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ts.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line=t.display.viewFrom&&aa(t,r)||{node:u[0].measure.map[2],offset:0},l=i.linee.firstLine()&&(r=F(r.line-1,S(e.doc,r.line-1).length)),i.ch==S(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,a,u;r.line==t.viewFrom||0==(o=Sn(e,r.line))?(a=L(t.view[0].line),u=t.view[0].node):(a=L(t.view[o].line),u=t.view[o-1].node.nextSibling);var s,l,c=Sn(e,i.line);if(c==t.view.length-1?(s=t.viewTo-1,l=t.lineDiv.lastChild):(s=L(t.view[c+1].line)-1,l=t.view[c+1].node.previousSibling),!u)return!1;for(var f=e.doc.splitLines(la(e,u,l,a,s)),p=x(e.doc,F(a,0),F(s,S(e.doc,s).text.length));f.length>1&&p.length>1;)if(m(f)==m(p))f.pop(),p.pop(),s--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),a++}for(var d=0,h=0,v=f[0],g=p[0],y=Math.min(v.length,g.length);dr.ch&&b.charCodeAt(b.length-h-1)==T.charCodeAt(T.length-h-1);)d--,h++;f[f.length-1]=b.slice(0,b.length-h).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var E=F(a,d),w=F(s,p.length?m(p).length-h:0);return f.length>1||f[0]||M(E,w)?(Pi(e.doc,f,E,w,"+input"),!0):void 0},ts.prototype.ensurePolled=function(){this.forceCompositionEnd()},ts.prototype.reset=function(){this.forceCompositionEnd()},ts.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ts.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))},ts.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||hr(this.cm,function(){return yr(e.cm)})},ts.prototype.setUneditable=function(e){e.contentEditable="false"},ts.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||mr(this.cm,Xo)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},ts.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},ts.prototype.onContextMenu=function(){},ts.prototype.resetPosition=function(){},ts.prototype.needsContentAttribute=!0;var ns=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Ua,this.hasSelection=!1,this.composing=null};ns.prototype.init=function(e){function t(e){if(!xe(i,e)){if(i.somethingSelected())Jo({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);Jo({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Ga):(r.prevInput="",o.value=t.text.join("\n"),Va(o))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}var n=this,r=this,i=this.cm;this.createField(e);var o=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),xa&&(o.style.width="0px"),nu(o,"input",function(){ba&&Ta>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),nu(o,"paste",function(e){xe(i,e)||Zo(e,i)||(i.state.pasteIncoming=+new Date,r.fastPoll())}),nu(o,"cut",t),nu(o,"copy",t),nu(e.scroller,"paste",function(t){if(!Mt(e,t)&&!xe(i,t)){if(!o.dispatchEvent)return i.state.pasteIncoming=+new Date,void r.focus();var n=new Event("paste");n.clipboardData=t.clipboardData,o.dispatchEvent(n)}}),nu(e.lineSpace,"selectstart",function(t){Mt(e,t)||Ae(t)}),nu(o,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),nu(o,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},ns.prototype.createField=function(e){this.wrapper=ra(),this.textarea=this.wrapper.firstChild},ns.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Nn(e);if(e.options.moveInputWithCursor){var i=cn(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},ns.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ns.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&&Va(this.textarea),ba&&Ta>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",ba&&Ta>=9&&(this.hasSelection=null))}},ns.prototype.getField=function(){return this.textarea},ns.prototype.supportsTouch=function(){return!1},ns.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!Da||a()!=this.textarea))try{this.textarea.focus()}catch(e){}},ns.prototype.blur=function(){this.textarea.blur()},ns.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ns.prototype.receivedFocus=function(){this.slowPoll()},ns.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},ns.prototype.fastPoll=function(){function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},ns.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||ou(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(ba&&Ta>=9&&this.hasSelection===i||La&&/[\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="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,u=Math.min(r.length,i.length);a1e3||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},ns.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ns.prototype.onKeyPress=function(){ba&&Ta>=9&&(this.hasSelection=null),this.fastPoll()},ns.prototype.onContextMenu=function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="\u200b"+(e?a.value:"");a.value="\u21da",a.value=t,r.prevInput=e?"":"\u200b",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending==n&&(r.contextMenuPending=!1,r.wrapper.style.cssText=c,a.style.cssText=l,ba&&Ta<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=s),null!=a.selectionStart)){(!ba||ba&&Ta<9)&&t();var e=0,u=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"\u200b"==r.prevInput?mr(i,Ni)(i):e++<10?o.detectingSelectAll=setTimeout(u,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(u,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea;r.contextMenuPending&&r.contextMenuPending();var u=Cn(i,e),s=o.scroller.scrollTop;if(u&&!ka){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(u)&&mr(i,_i)(i.doc,Br(u),Ga);var l=a.style.cssText,c=r.wrapper.style.cssText,f=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(ba?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(_a&&(p=window.scrollY),o.input.focus(),_a&&window.scrollTo(null,p),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=n,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ba&&Ta>=9&&t(),Pa){Fe(e);var d=function(){Ce(window,"mouseup",d),setTimeout(n,20)};nu(window,"mouseup",d)}else setTimeout(n,50)}},ns.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},ns.prototype.setUneditable=function(){},ns.prototype.needsContentAttribute=!1,function(e){function t(t,r,i,o){e.defaults[t]=r,i&&(n[t]=o?function(e,t,n){n!=$u&&i(e,t,n)}:i)}var n=e.optionHandlers;e.defineOption=t,e.Init=$u,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Qr(e)},!0),t("indentUnit",2,Qr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){Kr(e),nn(e),yr(e)},!0),t("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(F(r,o))}r++});for(var i=n.length-1;i>=0;i--)Pi(e.doc,t,n[i],F(n[i].line,n[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=$u&&e.refresh()}),t("specialCharPlaceholder",ct,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",Da?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),t("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),t("rtlMoveVisually",!Ia),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Ho(e),Go(e)},!0),t("keyMap","default",function(e,t,n){var r=fo(t),i=n!=$u&&fo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),t("extraKeys",null),t("configureMouse",null),t("lineWrapping",!1,Qo,!0),t("gutters",[],function(e){Mr(e.options),Go(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?wn(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return rr(e)},!0),t("scrollbarStyle","native",function(e){or(e),rr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){Mr(e.options),Go(e)},!0),t("firstLineNumber",1,Go,!0),t("lineNumberFormatter",function(e){return e},Go,!0),t("showCursorWhenSelecting",!1,xn,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("pasteLinesPerSelection",!0),t("selectionsMayTouch",!1),t("readOnly",!1,function(e,t){"nocursor"==t&&(Pn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Wo),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,xn,!0),t("singleCursorHeightPerLine",!0,xn,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,Kr,!0),t("addModeClass",!1,Kr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,Kr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),t("phrases",null)}(Ko),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)&&mr(this,t[e])(this,n,i),Se(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"](fo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nr&&($o(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&Kn(t));else{var a=o.from(),u=o.to(),s=Math.max(r,a.line);r=Math.min(t.lastLine(),u.line-(u.ch?0:1))+1;for(var l=s;l0&&gi(t.doc,i,new Du(a,c[i].to()),Ga)}}}),getTokenAt:function(e,t){return tt(this,e,t)},getLineTokens:function(e,t){return tt(this,F(e),t,!0)},getTokenTypeAt:function(e){e=z(this.doc,e);var t,n=$e(this,S(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&&(e=o,i=!0),r=S(this.doc,e)}else r=e;return un(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-be(r):0)},defaultTextHeight:function(){return Tn(this.display)},defaultCharWidth:function(){return _n(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=cn(this,z(this.doc,e));var a=e.bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var s=Math.max(o.wrapper.clientHeight,this.doc.height),l=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=s&&(a=e.bottom),u+t.offsetWidth>l&&(u=l-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(u=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&Gn(this,{left:u,top:a,right:u+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:vr(So),triggerOnKeyPress:vr(Do),triggerOnKeyUp:No,triggerOnMouseDown:vr(Ao),execCommand:function(e){if(Hu.hasOwnProperty(e))return Hu[e].call(null,this)},triggerElectric:vr(function(e){ea(this,e)}),findPosH:function(e,t,n,r){var i=this,o=1;t<0&&(o=-1,t=-t);for(var a=z(this.doc,e),u=0;u0&&u(n.charAt(r-1));)--r;for(;i.5)&&On(this),Se(this,"refresh",this)}),swapDoc:vr(function(e){var t=this.doc;return t.cm=null,Xr(this,e),nn(this),this.display.input.reset(),Yn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,_t(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}},Le(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})}}(Ko);var rs="iter insert remove copy getEditor constructor".split(" ");for(var is in Mu.prototype)Mu.prototype.hasOwnProperty(is)&&p(rs,is)<0&&(Ko.prototype[is]=function(e){return function(){return e.apply(this.doc,arguments)}}(Mu.prototype[is]));return Le(Mu),Ko.inputStyles={textarea:ns,contenteditable:ts},Ko.defineMode=function(e){Ko.defaults.mode||"null"==e||(Ko.defaults.mode=e),Be.apply(this,arguments)},Ko.defineMIME=ze,Ko.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ko.defineMIME("text/plain","null"),Ko.defineExtension=function(e,t){Ko.prototype[e]=t},Ko.defineDocExtension=function(e,t){Mu.prototype[e]=t},Ko.fromTextArea=pa,function(e){e.off=Ce,e.on=nu,e.wheelEventPixels=Rr,e.Doc=Mu,e.splitLines=iu,e.countColumn=f,e.findColumn=d,e.isWordChar=T,e.Pass=Ha,e.signal=Se,e.Line=mu,e.changeEnd=zr,e.scrollbarModel=ku,e.Pos=F,e.cmpPos=M,e.modes=su,e.mimeModes=lu,e.resolveMode=qe,e.getMode=He,e.modeExtensions=cu,e.extendMode=Ge,e.copyState=We,e.startState=Ke,e.innerMode=Qe,e.commands=Hu,e.keyMap=qu,e.keyName=co,e.isModifierKey=so,e.lookupKey=uo,e.normalizeKeyMap=ao,e.StringStream=fu,e.SharedTextMarker=ju,e.TextMarker=Iu,e.LineWidget=Lu,e.e_preventDefault=Ae,e.e_stopPropagation=Ie,e.e_stop=Fe,e.addClass=u,e.contains=o,e.rmClass=Ra,e.keyNames=Vu}(Ko),Ko.version="5.45.0",Ko})},function(e,t,n){"use strict";e.exports=n(142)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(151);n.d(t,"graphql",function(){return r.a}),n.d(t,"graphqlSync",function(){return r.b});var i=n(157);n.d(t,"GraphQLSchema",function(){return i.p}),n.d(t,"GraphQLScalarType",function(){return i.o}),n.d(t,"GraphQLObjectType",function(){return i.n}),n.d(t,"GraphQLInterfaceType",function(){return i.k}),n.d(t,"GraphQLUnionType",function(){return i.s}),n.d(t,"GraphQLEnumType",function(){return i.e}),n.d(t,"GraphQLInputObjectType",function(){return i.i}),n.d(t,"GraphQLList",function(){return i.l}),n.d(t,"GraphQLNonNull",function(){return i.m}),n.d(t,"GraphQLDirective",function(){return i.d}),n.d(t,"TypeKind",function(){return i.u}),n.d(t,"specifiedScalarTypes",function(){return i._23}),n.d(t,"GraphQLInt",function(){return i.j}),n.d(t,"GraphQLFloat",function(){return i.f}),n.d(t,"GraphQLString",function(){return i.r}),n.d(t,"GraphQLBoolean",function(){return i.b}),n.d(t,"GraphQLID",function(){return i.g}),n.d(t,"specifiedDirectives",function(){return i._22}),n.d(t,"GraphQLIncludeDirective",function(){return i.h}),n.d(t,"GraphQLSkipDirective",function(){return i.q}),n.d(t,"GraphQLDeprecatedDirective",function(){return i.c}),n.d(t,"DEFAULT_DEPRECATION_REASON",function(){return i.a}),n.d(t,"SchemaMetaFieldDef",function(){return i.t}),n.d(t,"TypeMetaFieldDef",function(){return i.v}),n.d(t,"TypeNameMetaFieldDef",function(){return i.w}),n.d(t,"introspectionTypes",function(){return i.Z}),n.d(t,"__Schema",function(){return i.C}),n.d(t,"__Directive",function(){return i.x}),n.d(t,"__DirectiveLocation",function(){return i.y}),n.d(t,"__Type",function(){return i.D}),n.d(t,"__Field",function(){return i.A}),n.d(t,"__InputValue",function(){return i.B}),n.d(t,"__EnumValue",function(){return i.z}),n.d(t,"__TypeKind",function(){return i.E}),n.d(t,"isSchema",function(){return i._16}),n.d(t,"isDirective",function(){return i._2}),n.d(t,"isType",function(){return i._19}),n.d(t,"isScalarType",function(){return i._15}),n.d(t,"isObjectType",function(){return i._13}),n.d(t,"isInterfaceType",function(){return i._6}),n.d(t,"isUnionType",function(){return i._20}),n.d(t,"isEnumType",function(){return i._3}),n.d(t,"isInputObjectType",function(){return i._4}),n.d(t,"isListType",function(){return i._9}),n.d(t,"isNonNullType",function(){return i._11}),n.d(t,"isInputType",function(){return i._5}),n.d(t,"isOutputType",function(){return i._14}),n.d(t,"isLeafType",function(){return i._8}),n.d(t,"isCompositeType",function(){return i._1}),n.d(t,"isAbstractType",function(){return i._0}),n.d(t,"isWrappingType",function(){return i._21}),n.d(t,"isNullableType",function(){return i._12}),n.d(t,"isNamedType",function(){return i._10}),n.d(t,"isSpecifiedScalarType",function(){return i._18}),n.d(t,"isIntrospectionType",function(){return i._7}),n.d(t,"isSpecifiedDirective",function(){return i._17}),n.d(t,"assertType",function(){return i.T}),n.d(t,"assertScalarType",function(){return i.S}),n.d(t,"assertObjectType",function(){return i.Q}),n.d(t,"assertInterfaceType",function(){return i.K}),n.d(t,"assertUnionType",function(){return i.U}),n.d(t,"assertEnumType",function(){return i.H}),n.d(t,"assertInputObjectType",function(){return i.I}),n.d(t,"assertListType",function(){return i.M}),n.d(t,"assertNonNullType",function(){return i.O}),n.d(t,"assertInputType",function(){return i.J}),n.d(t,"assertOutputType",function(){return i.R}),n.d(t,"assertLeafType",function(){return i.L}),n.d(t,"assertCompositeType",function(){return i.G}),n.d(t,"assertAbstractType",function(){return i.F}),n.d(t,"assertWrappingType",function(){return i.W}),n.d(t,"assertNullableType",function(){return i.P}),n.d(t,"assertNamedType",function(){return i.N}),n.d(t,"getNullableType",function(){return i.Y}),n.d(t,"getNamedType",function(){return i.X}),n.d(t,"validateSchema",function(){return i._24}),n.d(t,"assertValidSchema",function(){return i.V});var o=n(158);n.d(t,"Source",function(){return o.d}),n.d(t,"getLocation",function(){return o.f}),n.d(t,"parse",function(){return o.h}),n.d(t,"parseValue",function(){return o.j}),n.d(t,"parseType",function(){return o.i}),n.d(t,"print",function(){return o.k}),n.d(t,"visit",function(){return o.l}),n.d(t,"visitInParallel",function(){return o.m}),n.d(t,"visitWithTypeInfo",function(){return o.n}),n.d(t,"getVisitFn",function(){return o.g}),n.d(t,"Kind",function(){return o.c}),n.d(t,"TokenKind",function(){return o.e}),n.d(t,"DirectiveLocation",function(){return o.b}),n.d(t,"BREAK",function(){return o.a});var a=n(159);n.d(t,"execute",function(){return a.b}),n.d(t,"defaultFieldResolver",function(){return a.a}),n.d(t,"responsePathAsArray",function(){return a.d}),n.d(t,"getDirectiveValues",function(){return a.c});var u=n(160);n.d(t,"subscribe",function(){return u.b}),n.d(t,"createSourceEventStream",function(){return u.a});var s=n(163);n.d(t,"validate",function(){return s.C}),n.d(t,"ValidationContext",function(){return s.w}),n.d(t,"specifiedRules",function(){return s.B}),n.d(t,"FieldsOnCorrectTypeRule",function(){return s.a}),n.d(t,"FragmentsOnCompositeTypesRule",function(){return s.b}),n.d(t,"KnownArgumentNamesRule",function(){return s.c}),n.d(t,"KnownDirectivesRule",function(){return s.d}),n.d(t,"KnownFragmentNamesRule",function(){return s.e}),n.d(t,"KnownTypeNamesRule",function(){return s.f}),n.d(t,"LoneAnonymousOperationRule",function(){return s.g}),n.d(t,"NoFragmentCyclesRule",function(){return s.h}),n.d(t,"NoUndefinedVariablesRule",function(){return s.i}),n.d(t,"NoUnusedFragmentsRule",function(){return s.j}),n.d(t,"NoUnusedVariablesRule",function(){return s.k}),n.d(t,"OverlappingFieldsCanBeMergedRule",function(){return s.l}),n.d(t,"PossibleFragmentSpreadsRule",function(){return s.m}),n.d(t,"ProvidedNonNullArgumentsRule",function(){return s.n}),n.d(t,"ScalarLeafsRule",function(){return s.o}),n.d(t,"SingleFieldSubscriptionsRule",function(){return s.p}),n.d(t,"UniqueArgumentNamesRule",function(){return s.q}),n.d(t,"UniqueDirectivesPerLocationRule",function(){return s.r}),n.d(t,"UniqueFragmentNamesRule",function(){return s.s}),n.d(t,"UniqueInputFieldNamesRule",function(){return s.t}),n.d(t,"UniqueOperationNamesRule",function(){return s.u}),n.d(t,"UniqueVariableNamesRule",function(){return s.v}),n.d(t,"ValuesOfCorrectTypeRule",function(){return s.x}),n.d(t,"VariablesAreInputTypesRule",function(){return s.y}),n.d(t,"VariablesDefaultValueAllowedRule",function(){return s.z}),n.d(t,"VariablesInAllowedPositionRule",function(){return s.A});var l=n(0);n.d(t,"GraphQLError",function(){return l.a}),n.d(t,"formatError",function(){return l.b}),n.d(t,"printError",function(){return l.d});var c=n(164);n.d(t,"getIntrospectionQuery",function(){return c.q}),n.d(t,"introspectionQuery",function(){return c.t}),n.d(t,"getOperationAST",function(){return c.r}),n.d(t,"introspectionFromSchema",function(){return c.s}),n.d(t,"buildClientSchema",function(){return c.g}),n.d(t,"buildASTSchema",function(){return c.f}),n.d(t,"buildSchema",function(){return c.h}),n.d(t,"getDescription",function(){return c.p}),n.d(t,"extendSchema",function(){return c.l}),n.d(t,"lexicographicSortSchema",function(){return c.z}),n.d(t,"printSchema",function(){return c.B}),n.d(t,"printIntrospectionSchema",function(){return c.A}),n.d(t,"printType",function(){return c.C}),n.d(t,"typeFromAST",function(){return c.E}),n.d(t,"valueFromAST",function(){return c.F}),n.d(t,"valueFromASTUntyped",function(){return c.G}),n.d(t,"astFromValue",function(){return c.e}),n.d(t,"TypeInfo",function(){return c.c}),n.d(t,"coerceValue",function(){return c.i}),n.d(t,"isValidJSValue",function(){return c.w}),n.d(t,"isValidLiteralValue",function(){return c.x}),n.d(t,"concatAST",function(){return c.j}),n.d(t,"separateOperations",function(){return c.D}),n.d(t,"isEqualType",function(){return c.u}),n.d(t,"isTypeSubTypeOf",function(){return c.v}),n.d(t,"doTypesOverlap",function(){return c.k}),n.d(t,"assertValidName",function(){return c.d}),n.d(t,"isValidNameError",function(){return c.y}),n.d(t,"findBreakingChanges",function(){return c.m}),n.d(t,"findDangerousChanges",function(){return c.n}),n.d(t,"BreakingChangeType",function(){return c.a}),n.d(t,"DangerousChangeType",function(){return c.b}),n.d(t,"findDeprecatedUsages",function(){return c.o})},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",VARIABLE:"Variable",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",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",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",DIRECTIVE_DEFINITION:"DirectiveDefinition"})},function(e,t,n){e.exports=n(149)()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(f.a)(e,m)}function o(e,t){if(!t)return e;if(Object(u.R)(t))return o(e,t.ofType);if(e[t.name])return e[t.name]!==t&&Object(p.a)(0,'Schema must contain unique named types but contains multiple types named "'+t.name+'".'),e;e[t.name]=t;var n=e;return Object(u.Q)(t)&&(n=t.getTypes().reduce(o,n)),Object(u.M)(t)&&(n=t.getInterfaces().reduce(o,n)),(Object(u.M)(t)||Object(u.G)(t))&&Object(d.a)(t.getFields()).forEach(function(e){if(e.args){var t=e.args.map(function(e){return e.type});n=t.reduce(o,n)}n=o(n,e.type)}),Object(u.E)(t)&&Object(d.a)(t.getFields()).forEach(function(e){n=o(n,e.type)}),n}function a(e,t){return Object(s.f)(t)?t.args.reduce(function(e,t){return o(e,t.type)},e):e}t.b=i,n.d(t,"a",function(){return m});var u=n(1),s=n(12),l=n(10),c=n(21),f=n(45),p=n(9),d=n(15),h="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},m=function(){function e(t){var n=this;r(this,e),t&&t.assumeValid?this.__validationErrors=[]:("object"!==("undefined"===typeof t?"undefined":h(t))&&Object(p.a)(0,"Must provide configuration object."),t.types&&!Array.isArray(t.types)&&Object(p.a)(0,'"types" must be Array if provided but got: '+String(t.types)+"."),t.directives&&!Array.isArray(t.directives)&&Object(p.a)(0,'"directives" must be Array if provided but got: '+String(t.directives)+"."),t.allowedLegacyNames&&!Array.isArray(t.allowedLegacyNames)&&Object(p.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+String(t.allowedLegacyNames)+".")),this.__allowedLegacyNames=t.allowedLegacyNames,this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=t.directives||s.h,this.astNode=t.astNode;var i=[this.getQueryType(),this.getMutationType(),this.getSubscriptionType(),l.__Schema],c=t.types;c&&(i=i.concat(c));var f=Object.create(null);f=i.reduce(o,f),f=this._directives.reduce(a,f),this._typeMap=f,this._implementations=Object.create(null),Object.keys(this._typeMap).forEach(function(e){var t=n._typeMap[e];Object(u.M)(t)&&t.getInterfaces().forEach(function(e){if(Object(u.G)(e)){var r=n._implementations[e.name];r?r.push(t):n._implementations[e.name]=[t]}})})}return e.prototype.getQueryType=function(){return this._queryType},e.prototype.getMutationType=function(){return this._mutationType},e.prototype.getSubscriptionType=function(){return this._subscriptionType},e.prototype.getTypeMap=function(){return this._typeMap},e.prototype.getType=function(e){return this.getTypeMap()[e]},e.prototype.getPossibleTypes=function(e){return Object(u.Q)(e)?e.getTypes():this._implementations[e.name]},e.prototype.isPossibleType=function(e,t){var n=this._possibleTypeMap;if(n||(this._possibleTypeMap=n=Object.create(null)),!n[e.name]){var r=this.getPossibleTypes(e);Array.isArray(r)||Object(p.a)(0,"Could not find possible implementing types for "+e.name+" in schema. Check that schema.types is defined and is an array of all possible types in the schema."),n[e.name]=r.reduce(function(e,t){return e[t.name]=!0,e},Object.create(null))}return Boolean(n[e.name][t.name])},e.prototype.getDirectives=function(){return this._directives},e.prototype.getDirective=function(e){return Object(c.a)(this.getDirectives(),function(t){return t.name===e})},e}()},function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t)}t.a=r},function(e,t,n){"use strict";function r(e){return Object(s.J)(e)&&(e.name===f.name||e.name===p.name||e.name===d.name||e.name===h.name||e.name===m.name||e.name===v.name||e.name===g.name||e.name===b.name)}Object.defineProperty(t,"__esModule",{value:!0}),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 T}),n.d(t,"TypeMetaFieldDef",function(){return _}),n.d(t,"TypeNameMetaFieldDef",function(){return E}),n.d(t,"introspectionTypes",function(){return w}),t.isIntrospectionType=r;var i=n(11),o=n(15),a=n(47),u=n(16),s=n(1),l=n(14),c=n(20),f=new s.f({name:"__Schema",isIntrospection:!0,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{types:{description:"A list of all types supported by this server.",type:Object(s.e)(Object(s.d)(Object(s.e)(h))),resolve:function(e){return Object(o.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(s.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:Object(s.e)(Object(s.d)(Object(s.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new s.f({name:"__Directive",isIntrospection:!0,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:Object(s.e)(l.e)},description:{type:l.e},locations:{type:Object(s.e)(Object(s.d)(Object(s.e)(d)))},args:{type:Object(s.e)(Object(s.d)(Object(s.e)(v))),resolve:function(e){return e.args||[]}},onOperation:{deprecationReason:"Use `locations`.",type:Object(s.e)(l.a),resolve:function(e){return-1!==e.locations.indexOf(c.a.QUERY)||-1!==e.locations.indexOf(c.a.MUTATION)||-1!==e.locations.indexOf(c.a.SUBSCRIPTION)}},onFragment:{deprecationReason:"Use `locations`.",type:Object(s.e)(l.a),resolve:function(e){return-1!==e.locations.indexOf(c.a.FRAGMENT_SPREAD)||-1!==e.locations.indexOf(c.a.INLINE_FRAGMENT)||-1!==e.locations.indexOf(c.a.FRAGMENT_DEFINITION)}},onField:{deprecationReason:"Use `locations`.",type:Object(s.e)(l.a),resolve:function(e){return-1!==e.locations.indexOf(c.a.FIELD)}}}}}),d=new s.a({name:"__DirectiveLocation",isIntrospection:!0,description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:c.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:c.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:c.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:c.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:c.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:c.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:c.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},SCHEMA:{value:c.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:c.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:c.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:c.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:c.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:c.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:c.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:c.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:c.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:c.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:c.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new s.f({name:"__Type",isIntrospection:!0,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 and description, 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:Object(s.e)(b),resolve:function(e){if(Object(s.O)(e))return y.SCALAR;if(Object(s.M)(e))return y.OBJECT;if(Object(s.G)(e))return y.INTERFACE;if(Object(s.Q)(e))return y.UNION;if(Object(s.D)(e))return y.ENUM;if(Object(s.E)(e))return y.INPUT_OBJECT;if(Object(s.I)(e))return y.LIST;if(Object(s.K)(e))return y.NON_NULL;throw new Error("Unknown kind of type: "+e)}},name:{type:l.e},description:{type:l.e},fields:{type:Object(s.d)(Object(s.e)(m)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(s.M)(e)||Object(s.G)(e)){var r=Object(o.a)(e.getFields());return n||(r=r.filter(function(e){return!e.deprecationReason})),r}return null}},interfaces:{type:Object(s.d)(Object(s.e)(h)),resolve:function(e){if(Object(s.M)(e))return e.getInterfaces()}},possibleTypes:{type:Object(s.d)(Object(s.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(s.B)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(s.d)(Object(s.e)(g)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(s.D)(e)){var r=e.getValues();return n||(r=r.filter(function(e){return!e.deprecationReason})),r}}},inputFields:{type:Object(s.d)(Object(s.e)(v)),resolve:function(e){if(Object(s.E)(e))return Object(o.a)(e.getFields())}},ofType:{type:h}}}}),m=new s.f({name:"__Field",isIntrospection:!0,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:Object(s.e)(l.e)},description:{type:l.e},args:{type:Object(s.e)(Object(s.d)(Object(s.e)(v))),resolve:function(e){return e.args||[]}},type:{type:Object(s.e)(h)},isDeprecated:{type:Object(s.e)(l.a)},deprecationReason:{type:l.e}}}}),v=new s.f({name:"__InputValue",isIntrospection:!0,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:Object(s.e)(l.e)},description:{type:l.e},type:{type:Object(s.e)(h)},defaultValue:{type:l.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){return Object(i.a)(e.defaultValue)?null:Object(u.a)(Object(a.a)(e.defaultValue,e.type))}}}}}),g=new s.f({name:"__EnumValue",isIntrospection:!0,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:Object(s.e)(l.e)},description:{type:l.e},isDeprecated:{type:Object(s.e)(l.a)},deprecationReason:{type:l.e}}}}),y={SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"},b=new s.a({name:"__TypeKind",isIntrospection:!0,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` 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."}}}),T={name:"__schema",type:Object(s.e)(f),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema}},_={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",type:Object(s.e)(l.e)}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)}},E={name:"__typename",type:Object(s.e)(l.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name}},w=[f,p,d,h,m,v,g,b]},function(e,t,n){"use strict";function r(e){return void 0===e||e!==e}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(s.a)(e,f)}function o(e){return v.some(function(t){return t.name===e.name})}t.f=i,n.d(t,"c",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return d}),n.d(t,"a",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"h",function(){return v}),t.g=o;var a=n(1),u=n(14),s=n(45),l=n(9),c=n(20),f=function e(t){r(this,e),this.name=t.name,this.description=t.description,this.locations=t.locations,this.astNode=t.astNode,t.name||Object(l.a)(0,"Directive must be named."),Array.isArray(t.locations)||Object(l.a)(0,"Must provide locations for directive.");var n=t.args;n?(Array.isArray(n)&&Object(l.a)(0,"@"+t.name+" args must be an object with argument names as keys."),this.args=Object.keys(n).map(function(e){var t=n[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):this.args=[]},p=new f({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[c.a.FIELD,c.a.FRAGMENT_SPREAD,c.a.INLINE_FRAGMENT],args:{if:{type:Object(a.e)(u.a),description:"Included when true."}}}),d=new f({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[c.a.FIELD,c.a.FRAGMENT_SPREAD,c.a.INLINE_FRAGMENT],args:{if:{type:Object(a.e)(u.a),description:"Skipped when true."}}}),h="No longer supported",m=new f({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[c.a.FIELD_DEFINITION,c.a.ENUM_VALUE],args:{reason:{type:u.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",defaultValue:h}}}),v=[p,d,m]},function(e,t,n){"use strict";function r(e,t){var n=void 0;if(t.kind===i.a.LIST_TYPE)return(n=r(e,t.type))&&Object(o.d)(n);if(t.kind===i.a.NON_NULL_TYPE)return(n=r(e,t.type))&&Object(o.e)(n);if(t.kind===i.a.NAMED_TYPE)return e.getType(t.name.value);throw new Error("Unexpected type kind: "+t.kind+".")}t.a=r;var i=n(6),o=n(1)},function(e,t,n){"use strict";function r(e){if(""===e)throw new TypeError("Int cannot represent non 32-bit signed integer value: (empty string)");var t=Number(e);if(t!==t||t>l||t=c)return t}}}),p=new u.g({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ",serialize:i,parseValue:i,parseLiteral:function(e){return e.kind===s.a.FLOAT||e.kind===s.a.INT?parseFloat(e.value):void 0}}),d=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:o,parseValue:o,parseLiteral:function(e){return e.kind===s.a.STRING?e.value:void 0}}),h=new u.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:Boolean,parseValue:Boolean,parseLiteral:function(e){return e.kind===s.a.BOOLEAN?e.value:void 0}}),m=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:String,parseValue:String,parseLiteral:function(e){return e.kind===s.a.STRING||e.kind===s.a.INT?e.value:void 0}}),v=[d,f,p,h,m]},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";function r(e){return Object(c.c)(e,{leave:f})}function i(e){return function(t){return o([t.description,e(t)],"\n")}}function o(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function a(e){return e&&0!==e.length?"{\n"+s(o(e,"\n"))+"\n}":""}function u(e,t,n){return t?e+t+(n||""):""}function s(e){return e&&" "+e.replace(/\n/g,"\n ")}function l(e,t){var n=e.replace(/"""/g,'\\"""');return" "!==e[0]&&"\t"!==e[0]||-1!==e.indexOf("\n")?'"""\n'+(t?n:s(n))+'\n"""':'"""'+n.replace(/"$/,'"\n')+'"""'}t.a=r;var c=n(19),f={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return o(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u("(",o(e.variableDefinitions,", "),")"),i=o(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?o([t,o([n,r]),i,a]," "):a},VariableDefinition:function(e){return e.variable+": "+e.type+u(" = ",e.defaultValue)},SelectionSet:function(e){return a(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet;return o([u("",t,": ")+n+u("(",o(r,", "),")"),o(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",o(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return o(["...",u("on ",t),o(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment "+t+u("(",o(r,", "),")")+" on "+n+" "+u("",o(i," ")," ")+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?l(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"["+o(e.values,", ")+"]"},ObjectValue:function(e){return"{"+o(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",o(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return o(["schema",o(t," "),a(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:i(function(e){return o(["scalar",e.name,o(e.directives," ")]," ")}),ObjectTypeDefinition:i(function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["type",t,u("implements ",o(n," & ")),o(r," "),a(i)]," ")}),FieldDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+u("(",o(n,", "),")")+": "+r+u(" ",o(i," "))}),InputValueDefinition:i(function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return o([t+": "+n,u("= ",r),o(i," ")]," ")}),InterfaceTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["interface",t,o(n," "),a(r)]," ")}),UnionTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.types;return o(["union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")}),EnumTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.values;return o(["enum",t,o(n," "),a(r)]," ")}),EnumValueDefinition:i(function(e){return o([e.name,o(e.directives," ")]," ")}),InputObjectTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["input",t,o(n," "),a(r)]," ")}),ScalarTypeExtension:function(e){return o(["extend scalar",e.name,o(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["extend type",t,u("implements ",o(n," & ")),o(r," "),a(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend interface",t,o(n," "),a(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return o(["extend union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return o(["extend enum",t,o(n," "),a(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend input",t,o(n," "),a(r)]," ")},DirectiveDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.locations;return"directive @"+t+u("(",o(n,", "),")")+" on "+o(r," | ")})}},function(e,t,n){"use strict";function r(e,t,n,i,a,u,s){var l=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,c=n;if(!c&&l){var f=l[0];c=f&&f.loc&&f.loc.source}var p=i;!p&&l&&(p=l.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),p&&0===p.length&&(p=void 0);var d=void 0;i&&n?d=i.map(function(e){return Object(o.a)(n,e)}):l&&(d=l.reduce(function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e},[])),Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:d||void 0,enumerable:!0},path:{value:a||void 0,enumerable:!0},nodes:{value:l||void 0},source:{value:c||void 0},positions:{value:p||void 0},originalError:{value:u},extensions:{value:s||u&&u.extensions}}),u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}t.a=r;var i=n(74),o=n(48);r.prototype=Object.create(Error.prototype,{constructor:{value:r},name:{value:"GraphQLError"},toString:{value:function(){return Object(i.a)(this)}}})},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))}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=void 0,o=Array.isArray(e),a=[e],c=-1,f=[],p=void 0,d=void 0,h=void 0,m=[],v=[],g=e;do{c++;var y=c===a.length,b=y&&0!==f.length;if(y){if(d=0===v.length?void 0:m[m.length-1],p=h,h=v.pop(),b){if(o)p=p.slice();else{var T={};for(var _ in p)p.hasOwnProperty(_)&&(T[_]=p[_]);p=T}for(var E=0,w=0;w=0&&t%1===0}function o(e){return Object(e)===e&&(i(e)||r(e))}function a(e){var t=u(e);if(t)return t.call(e)}function u(e){if(null!=e){var t=m&&e[m]||e["@@iterator"];if("function"===typeof t)return t}}function s(e){this._o=e,this._i=0}function l(e,t,n){if(null!=e){if("function"===typeof e.forEach)return e.forEach(t,n);var r=0,o=a(e);if(o){for(var u;!(u=o.next()).done;)if(t.call(n,u.value,r++,e),r>9999999)throw new TypeError("Near-infinite iteration.")}else if(i(e))for(;r=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}};var g=h&&h.asyncIterator,y=g||"@@asyncIterator";d.prototype[y]=function(){return this},d.prototype.next=function(){var e=this._i.next();return Promise.resolve(e.value).then(function(t){return{value:t,done:e.done}})}},function(e,t,n){"use strict";function r(e,t){var n="string"===typeof e?new Te.a(e):e;if(!(n instanceof Te.a))throw new TypeError("Must provide Source. Received: "+String(n));return u(Object(Ee.b)(n,t||{}))}function i(e,t){var n="string"===typeof e?new Te.a(e):e,r=Object(Ee.b)(n,t||{});me(r,Ee.a.SOF);var i=k(r,!1);return me(r,Ee.a.EOF),i}function o(e,t){var n="string"===typeof e?new Te.a(e):e,r=Object(Ee.b)(n,t||{});me(r,Ee.a.SOF);var i=I(r);return me(r,Ee.a.EOF),i}function a(e){var t=me(e,Ee.a.NAME);return{kind:we.a.NAME,value:t.value,loc:fe(e,t)}}function u(e){var t=e.token;me(e,Ee.a.SOF);var n=[];do{n.push(s(e))}while(!he(e,Ee.a.EOF));return{kind:we.a.DOCUMENT,definitions:n,loc:fe(e,t)}}function s(e){if(de(e,Ee.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return l(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"extend":case"directive":return F(e)}else{if(de(e,Ee.a.BRACE_L))return l(e);if(M(e))return F(e)}throw ge(e)}function l(e){if(de(e,Ee.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return c(e);case"fragment":return E(e)}else if(de(e,Ee.a.BRACE_L))return c(e);throw ge(e)}function c(e){var t=e.token;if(de(e,Ee.a.BRACE_L))return{kind:we.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:m(e),loc:fe(e,t)};var n=f(e),r=void 0;return de(e,Ee.a.NAME)&&(r=a(e)),{kind:we.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:p(e),directives:L(e,!1),selectionSet:m(e),loc:fe(e,t)}}function f(e){var t=me(e,Ee.a.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw ge(e,t)}function p(e){return de(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,d,Ee.a.PAREN_R):[]}function d(e){var t=e.token;return{kind:we.a.VARIABLE_DEFINITION,variable:h(e),type:(me(e,Ee.a.COLON),I(e)),defaultValue:he(e,Ee.a.EQUALS)?k(e,!0):void 0,loc:fe(e,t)}}function h(e){var t=e.token;return me(e,Ee.a.DOLLAR),{kind:we.a.VARIABLE,name:a(e),loc:fe(e,t)}}function m(e){var t=e.token;return{kind:we.a.SELECTION_SET,selections:be(e,Ee.a.BRACE_L,v,Ee.a.BRACE_R),loc:fe(e,t)}}function v(e){return de(e,Ee.a.SPREAD)?_(e):g(e)}function g(e){var t=e.token,n=a(e),r=void 0,i=void 0;return he(e,Ee.a.COLON)?(r=n,i=a(e)):i=n,{kind:we.a.FIELD,alias:r,name:i,arguments:y(e,!1),directives:L(e,!1),selectionSet:de(e,Ee.a.BRACE_L)?m(e):void 0,loc:fe(e,t)}}function y(e,t){var n=t?T:b;return de(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,n,Ee.a.PAREN_R):[]}function b(e){var t=e.token;return{kind:we.a.ARGUMENT,name:a(e),value:(me(e,Ee.a.COLON),k(e,!1)),loc:fe(e,t)}}function T(e){var t=e.token;return{kind:we.a.ARGUMENT,name:a(e),value:(me(e,Ee.a.COLON),C(e)),loc:fe(e,t)}}function _(e){var t=e.token;if(me(e,Ee.a.SPREAD),de(e,Ee.a.NAME)&&"on"!==e.token.value)return{kind:we.a.FRAGMENT_SPREAD,name:w(e),directives:L(e,!1),loc:fe(e,t)};var n=void 0;return"on"===e.token.value&&(e.advance(),n=j(e)),{kind:we.a.INLINE_FRAGMENT,typeCondition:n,directives:L(e,!1),selectionSet:m(e),loc:fe(e,t)}}function E(e){var t=e.token;return ve(e,"fragment"),e.options.experimentalFragmentVariables?{kind:we.a.FRAGMENT_DEFINITION,name:w(e),variableDefinitions:p(e),typeCondition:(ve(e,"on"),j(e)),directives:L(e,!1),selectionSet:m(e),loc:fe(e,t)}:{kind:we.a.FRAGMENT_DEFINITION,name:w(e),typeCondition:(ve(e,"on"),j(e)),directives:L(e,!1),selectionSet:m(e),loc:fe(e,t)}}function w(e){if("on"===e.token.value)throw ge(e);return a(e)}function k(e,t){var n=e.token;switch(n.kind){case Ee.a.BRACKET_L:return x(e,t);case Ee.a.BRACE_L:return N(e,t);case Ee.a.INT:return e.advance(),{kind:we.a.INT,value:n.value,loc:fe(e,n)};case Ee.a.FLOAT:return e.advance(),{kind:we.a.FLOAT,value:n.value,loc:fe(e,n)};case Ee.a.STRING:case Ee.a.BLOCK_STRING:return O(e);case Ee.a.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:we.a.BOOLEAN,value:"true"===n.value,loc:fe(e,n)}):"null"===n.value?(e.advance(),{kind:we.a.NULL,loc:fe(e,n)}):(e.advance(),{kind:we.a.ENUM,value:n.value,loc:fe(e,n)});case Ee.a.DOLLAR:if(!t)return h(e)}throw ge(e)}function O(e){var t=e.token;return e.advance(),{kind:we.a.STRING,value:t.value,block:t.kind===Ee.a.BLOCK_STRING,loc:fe(e,t)}}function C(e){return k(e,!0)}function S(e){return k(e,!1)}function x(e,t){var n=e.token,r=t?C:S;return{kind:we.a.LIST,values:ye(e,Ee.a.BRACKET_L,r,Ee.a.BRACKET_R),loc:fe(e,n)}}function N(e,t){var n=e.token;me(e,Ee.a.BRACE_L);for(var r=[];!he(e,Ee.a.BRACE_R);)r.push(D(e,t));return{kind:we.a.OBJECT,fields:r,loc:fe(e,n)}}function D(e,t){var n=e.token;return{kind:we.a.OBJECT_FIELD,name:a(e),value:(me(e,Ee.a.COLON),k(e,t)),loc:fe(e,n)}}function L(e,t){for(var n=[];de(e,Ee.a.AT);)n.push(A(e,t));return n}function A(e,t){var n=e.token;return me(e,Ee.a.AT),{kind:we.a.DIRECTIVE,name:a(e),arguments:y(e,t),loc:fe(e,n)}}function I(e){var t=e.token,n=void 0;return he(e,Ee.a.BRACKET_L)?(n=I(e),me(e,Ee.a.BRACKET_R),n={kind:we.a.LIST_TYPE,type:n,loc:fe(e,t)}):n=j(e),he(e,Ee.a.BANG)?{kind:we.a.NON_NULL_TYPE,type:n,loc:fe(e,t)}:n}function j(e){var t=e.token;return{kind:we.a.NAMED_TYPE,name:a(e),loc:fe(e,t)}}function F(e){var t=M(e)?e.lookahead():e.token;if(t.kind===Ee.a.NAME)switch(t.value){case"schema":return R(e);case"scalar":return U(e);case"type":return B(e);case"interface":return Q(e);case"union":return K(e);case"enum":return $(e);case"input":return Z(e);case"extend":return te(e);case"directive":return se(e)}throw ge(e,t)}function M(e){return de(e,Ee.a.STRING)||de(e,Ee.a.BLOCK_STRING)}function P(e){if(M(e))return O(e)}function R(e){var t=e.token;ve(e,"schema");var n=L(e,!0),r=be(e,Ee.a.BRACE_L,V,Ee.a.BRACE_R);return{kind:we.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:fe(e,t)}}function V(e){var t=e.token,n=f(e);me(e,Ee.a.COLON);var r=j(e);return{kind:we.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:fe(e,t)}}function U(e){var t=e.token,n=P(e);ve(e,"scalar");var r=a(e),i=L(e,!0);return{kind:we.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:fe(e,t)}}function B(e){var t=e.token,n=P(e);ve(e,"type");var r=a(e),i=z(e),o=L(e,!0),u=q(e);return{kind:we.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:u,loc:fe(e,t)}}function z(e){var t=[];if("implements"===e.token.value){e.advance(),he(e,Ee.a.AMP);do{t.push(j(e))}while(he(e,Ee.a.AMP)||e.options.allowLegacySDLImplementsInterfaces&&de(e,Ee.a.NAME))}return t}function q(e){return e.options.allowLegacySDLEmptyFields&&de(e,Ee.a.BRACE_L)&&e.lookahead().kind===Ee.a.BRACE_R?(e.advance(),e.advance(),[]):de(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,H,Ee.a.BRACE_R):[]}function H(e){var t=e.token,n=P(e),r=a(e),i=G(e);me(e,Ee.a.COLON);var o=I(e),u=L(e,!0);return{kind:we.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:u,loc:fe(e,t)}}function G(e){return de(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,W,Ee.a.PAREN_R):[]}function W(e){var t=e.token,n=P(e),r=a(e);me(e,Ee.a.COLON);var i=I(e),o=void 0;he(e,Ee.a.EQUALS)&&(o=C(e));var u=L(e,!0);return{kind:we.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:u,loc:fe(e,t)}}function Q(e){var t=e.token,n=P(e);ve(e,"interface");var r=a(e),i=L(e,!0),o=q(e);return{kind:we.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:fe(e,t)}}function K(e){var t=e.token,n=P(e);ve(e,"union");var r=a(e),i=L(e,!0),o=Y(e);return{kind:we.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:fe(e,t)}}function Y(e){var t=[];if(he(e,Ee.a.EQUALS)){he(e,Ee.a.PIPE);do{t.push(j(e))}while(he(e,Ee.a.PIPE))}return t}function $(e){var t=e.token,n=P(e);ve(e,"enum");var r=a(e),i=L(e,!0),o=J(e);return{kind:we.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:fe(e,t)}}function J(e){return de(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,X,Ee.a.BRACE_R):[]}function X(e){var t=e.token,n=P(e),r=a(e),i=L(e,!0);return{kind:we.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:fe(e,t)}}function Z(e){var t=e.token,n=P(e);ve(e,"input");var r=a(e),i=L(e,!0),o=ee(e);return{kind:we.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:fe(e,t)}}function ee(e){return de(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,W,Ee.a.BRACE_R):[]}function te(e){var t=e.lookahead();if(t.kind===Ee.a.NAME)switch(t.value){case"scalar":return ne(e);case"type":return re(e);case"interface":return ie(e);case"union":return oe(e);case"enum":return ae(e);case"input":return ue(e)}throw ge(e,t)}function ne(e){var t=e.token;ve(e,"extend"),ve(e,"scalar");var n=a(e),r=L(e,!0);if(0===r.length)throw ge(e);return{kind:we.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:fe(e,t)}}function re(e){var t=e.token;ve(e,"extend"),ve(e,"type");var n=a(e),r=z(e),i=L(e,!0),o=q(e);if(0===r.length&&0===i.length&&0===o.length)throw ge(e);return{kind:we.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:fe(e,t)}}function ie(e){var t=e.token;ve(e,"extend"),ve(e,"interface");var n=a(e),r=L(e,!0),i=q(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:we.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:fe(e,t)}}function oe(e){var t=e.token;ve(e,"extend"),ve(e,"union");var n=a(e),r=L(e,!0),i=Y(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:we.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:fe(e,t)}}function ae(e){var t=e.token;ve(e,"extend"),ve(e,"enum");var n=a(e),r=L(e,!0),i=J(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:we.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:fe(e,t)}}function ue(e){var t=e.token;ve(e,"extend"),ve(e,"input");var n=a(e),r=L(e,!0),i=ee(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:we.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:fe(e,t)}}function se(e){var t=e.token,n=P(e);ve(e,"directive"),me(e,Ee.a.AT);var r=a(e),i=G(e);ve(e,"on");var o=le(e);return{kind:we.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:fe(e,t)}}function le(e){he(e,Ee.a.PIPE);var t=[];do{t.push(ce(e))}while(he(e,Ee.a.PIPE));return t}function ce(e){var t=e.token,n=a(e);if(ke.a.hasOwnProperty(n.value))return n;throw ge(e,t)}function fe(e,t){if(!e.options.noLocation)return new pe(t,e.lastToken,e.source)}function pe(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function de(e,t){return e.token.kind===t}function he(e,t){var n=e.token.kind===t;return n&&e.advance(),n}function me(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw Object(_e.e)(e.source,n.start,"Expected "+t+", found "+Object(Ee.c)(n))}function ve(e,t){var n=e.token;if(n.kind===Ee.a.NAME&&n.value===t)return e.advance(),n;throw Object(_e.e)(e.source,n.start,'Expected "'+t+'", found '+Object(Ee.c)(n))}function ge(e,t){var n=t||e.token;return Object(_e.e)(e.source,n.start,"Unexpected "+Object(Ee.c)(n))}function ye(e,t,n,r){me(e,t);for(var i=[];!he(e,r);)i.push(n(e));return i}function be(e,t,n,r){me(e,t);for(var i=[n(e)];!he(e,r);)i.push(n(e));return i}t.a=r,t.c=i,t.b=o;var Te=n(76),_e=n(0),Ee=n(49),we=n(6),ke=n(20);pe.prototype.toJSON=pe.prototype.inspect=function(){return{start:this.start,end:this.end}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,n){var r=n.name.value;return r===u.SchemaMetaFieldDef.name&&e.getQueryType()===t?u.SchemaMetaFieldDef:r===u.TypeMetaFieldDef.name&&e.getQueryType()===t?u.TypeMetaFieldDef:r===u.TypeNameMetaFieldDef.name&&Object(a.C)(t)?u.TypeNameMetaFieldDef:Object(a.M)(t)||Object(a.G)(t)?t.getFields()[r]:void 0}n.d(t,"a",function(){return c});var o=n(6),a=n(1),u=n(10),s=n(13),l=n(21),c=function(){function e(t,n,o){r(this,e),this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=n||i,o&&(Object(a.F)(o)&&this._inputTypeStack.push(o),Object(a.C)(o)&&this._parentTypeStack.push(o),Object(a.N)(o)&&this._typeStack.push(o))}return e.prototype.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},e.prototype.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},e.prototype.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},e.prototype.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},e.prototype.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},e.prototype.getDirective=function(){return this._directive},e.prototype.getArgument=function(){return this._argument},e.prototype.getEnumValue=function(){return this._enumValue},e.prototype.enter=function(e){var t=this._schema;switch(e.kind){case o.a.SELECTION_SET:var n=Object(a.z)(this.getType());this._parentTypeStack.push(Object(a.C)(n)?n:void 0);break;case o.a.FIELD:var r=this.getParentType(),i=void 0,u=void 0;r&&(i=this._getFieldDef(t,r,e))&&(u=i.type),this._fieldDefStack.push(i),this._typeStack.push(Object(a.N)(u)?u:void 0);break;case o.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case o.a.OPERATION_DEFINITION:var c=void 0;"query"===e.operation?c=t.getQueryType():"mutation"===e.operation?c=t.getMutationType():"subscription"===e.operation&&(c=t.getSubscriptionType()),this._typeStack.push(Object(a.M)(c)?c:void 0);break;case o.a.INLINE_FRAGMENT:case o.a.FRAGMENT_DEFINITION:var f=e.typeCondition,p=f?Object(s.a)(t,f):Object(a.z)(this.getType());this._typeStack.push(Object(a.N)(p)?p:void 0);break;case o.a.VARIABLE_DEFINITION:var d=Object(s.a)(t,e.type);this._inputTypeStack.push(Object(a.F)(d)?d:void 0);break;case o.a.ARGUMENT:var h=void 0,m=void 0,v=this.getDirective()||this.getFieldDef();v&&(h=Object(l.a)(v.args,function(t){return t.name===e.name.value}))&&(m=h.type),this._argument=h,this._inputTypeStack.push(Object(a.F)(m)?m:void 0);break;case o.a.LIST:var g=Object(a.A)(this.getInputType()),y=Object(a.I)(g)?g.ofType:g;this._inputTypeStack.push(Object(a.F)(y)?y:void 0);break;case o.a.OBJECT_FIELD:var b=Object(a.z)(this.getInputType()),T=void 0;if(Object(a.E)(b)){var _=b.getFields()[e.name.value];_&&(T=_.type)}this._inputTypeStack.push(Object(a.F)(T)?T:void 0);break;case o.a.ENUM:var E=Object(a.z)(this.getInputType()),w=void 0;Object(a.D)(E)&&(w=E.getValue(e.value)),this._enumValue=w}},e.prototype.leave=function(e){switch(e.kind){case o.a.SELECTION_SET:this._parentTypeStack.pop();break;case o.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case o.a.DIRECTIVE:this._directive=null;break;case o.a.OPERATION_DEFINITION:case o.a.INLINE_FRAGMENT:case o.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case o.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case o.a.ARGUMENT:this._argument=null,this._inputTypeStack.pop();break;case o.a.LIST:case o.a.OBJECT_FIELD:this._inputTypeStack.pop();break;case o.a.ENUM:this._enumValue=null}},e}()},function(e,t,n){"use strict";function r(e,t){for(var n=Object.create(null),r=t.length,o=e.length/2,a=0;a1&&r>1&&o[n-1]===a[r-2]&&o[n-2]===a[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+l))}return i[u][s]}t.a=r},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";function t(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function n(e,n){for(var r=t(e),i=r,o=0;ol);c++){var f=e.getLine(s++);a=null==a?f:a+"\n"+f}u*=2,t.lastIndex=o.ch;var p=t.exec(a);if(p){var d=a.slice(0,p.index).split("\n"),h=p[0].split("\n"),v=o.line+d.length-1,g=d[d.length-1].length;return{from:m(v,g),to:m(v+h.length-1,1==h.length?g+h[0].length:h[h.length-1].length),match:p}}}}function a(e,t){for(var n,r=0;;){t.lastIndex=r;var i=t.exec(e);if(!i)return n;if(n=i,(r=n.index+(n[0].length||1))==e.length)return n}}function u(e,t,r){t=n(t,"g");for(var i=r.line,o=r.ch,u=e.firstLine();i>=u;i--,o=-1){var s=e.getLine(i);o>-1&&(s=s.slice(0,o));var l=a(s,t);if(l)return{from:m(i,l.index),to:m(i,l.index+l[0].length),match:l}}}function s(e,t,r){t=n(t,"gm");for(var i,o=1,u=r.line,s=e.firstLine();u>=s;){for(var l=0;l>1,u=r(e.slice(0,a)).length;if(u==n)return a;u>n?o=a:i=a+1}}function c(e,t,n,r){if(!t.length)return null;var i=r?d:h,o=i(t).split(/\r|\n\r?/);e:for(var a=n.line,u=n.ch,s=e.lastLine()+1-o.length;a<=s;a++,u=0){var c=e.getLine(a).slice(u),f=i(c);if(1==o.length){var p=f.indexOf(o[0]);if(-1==p)continue e;var n=l(c,f,p,i)+u;return{from:m(a,l(c,f,p,i)+u),to:m(a,l(c,f,p+o[0].length,i)+u)}}var v=f.length-o[0].length;if(f.slice(v)==o[0]){for(var g=1;g=s;a--,u=-1){var c=e.getLine(a);u>-1&&(c=c.slice(0,u));var f=i(c);if(1==o.length){var p=f.lastIndexOf(o[0]);if(-1==p)continue e;return{from:m(a,l(c,f,p,i)),to:m(a,l(c,f,p+o[0].length,i))}}var v=o[o.length-1];if(f.slice(0,v.length)==v){for(var g=1,n=a-o.length+1;g0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})},function(e,t,n){!function(e){e(n(3))}(function(e){function t(t,n,r){var i,o=t.getWrapperElement();return i=o.appendChild(document.createElement("div")),i.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){function a(t){if("string"==typeof t)f.value=t;else{if(l)return;l=!0,e.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),c.focus(),o.onClose&&o.onClose(s)}}o||(o={}),n(this,null);var u,s=t(this,r,o.bottom),l=!1,c=this,f=s.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,a)}),o.onKeyUp&&e.on(f,"keyup",function(e){o.onKeyUp(e,f.value,a)}),e.on(f,"keydown",function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,a)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),a()),13==t.keyCode&&i(f.value,t))}),!1!==o.closeOnBlur&&e.on(f,"blur",a)):(u=s.getElementsByTagName("button")[0])&&(e.on(u,"click",function(){a(),c.focus()}),!1!==o.closeOnBlur&&e.on(u,"blur",a),u.focus()),a}),e.defineExtension("openConfirm",function(r,i,o){function a(){l||(l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}n(this,null);var u=t(this,r,o&&o.bottom),s=u.getElementsByTagName("button"),l=!1,c=this,f=1;s[0].focus();for(var p=0;p=t.character)return n=a,r=v({},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 p(e,t){for(var n=e.split("\n"),r=(0,y.onlineParser)(),i=r.startState(),o="",a=new y.CharacterStream(""),u=0;u1)return void e.reportError("Field "+t.name+"."+n.name+" can only be defined once.",r);Object(L.N)(n.type)||e.reportError("The type of "+t.name+"."+n.name+" must be Output Type but got: "+String(n.type)+".",w(t,n.name));var i=Object.create(null);n.args.forEach(function(r){var o=r.name;l(e,r),i[o]&&e.reportError("Field argument "+t.name+"."+n.name+"("+o+":) can only be defined once.",O(t,n.name,o)),i[o]=!0,Object(L.F)(r.type)||e.reportError("The type of "+t.name+"."+n.name+"("+o+":) must be Input Type but got: "+String(r.type)+".",C(t,n.name,o))})})}function p(e,t){var n=Object.create(null);t.getInterfaces().forEach(function(r){return Object(L.G)(r)?n[r.name]?void e.reportError("Type "+t.name+" can only implement "+r.name+" once.",T(t,r)):(n[r.name]=!0,void d(e,t,r)):void e.reportError("Type "+String(t)+" must only implement Interface types, it cannot implement "+String(r)+".",b(t,r))})}function d(e,t,n){var r=t.getFields(),i=n.getFields();Object.keys(i).forEach(function(o){var a=r[o],u=i[o];if(!a)return void e.reportError("Interface field "+n.name+"."+o+" expected but "+t.name+" does not provide it.",[_(n,o),t.astNode]);Object(U.c)(e.schema,a.type,u.type)||e.reportError("Interface field "+n.name+"."+o+" expects type "+String(u.type)+" but "+t.name+"."+o+" is type "+String(a.type)+".",[w(n,o),w(t,o)]),u.args.forEach(function(r){var i=r.name,u=Object(F.a)(a.args,function(e){return e.name===i});if(!u)return void e.reportError("Interface field argument "+n.name+"."+o+"("+i+":) expected but "+t.name+"."+o+" does not provide it.",[k(n,o,i),_(t,o)]);Object(U.b)(r.type,u.type)||e.reportError("Interface field argument "+n.name+"."+o+"("+i+":) expects type "+String(r.type)+" but "+t.name+"."+o+"("+i+":) is type "+String(u.type)+".",[C(n,o,i),C(t,o,i)])}),a.args.forEach(function(r){var i=r.name;!Object(F.a)(u.args,function(e){return e.name===i})&&Object(L.K)(r.type)&&e.reportError("Object field argument "+t.name+"."+o+"("+i+":) is of required type "+String(r.type)+" but is not also provided by the Interface field "+n.name+"."+o+".",[C(t,o,i),_(n,o)])})})}function h(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type "+t.name+" must define one or more member types.",t.astNode);var r=Object.create(null);n.forEach(function(n){if(r[n.name])return void e.reportError("Union type "+t.name+" can only include type "+n.name+" once.",N(t,n.name));r[n.name]=!0,Object(L.M)(n)||e.reportError("Union type "+t.name+" can only include Object types, it cannot include "+String(n)+".",N(t,String(n)))})}function m(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type "+t.name+" must define one or more values.",t.astNode),n.forEach(function(n){var r=n.name,i=D(t,r);i&&i.length>1&&e.reportError("Enum type "+t.name+" can include value "+r+" only once.",i),l(e,n),"true"!==r&&"false"!==r&&"null"!==r||e.reportError("Enum type "+t.name+" cannot include value: "+r+".",n.astNode)})}function v(e,t){var n=Object(P.a)(t.getFields());0===n.length&&e.reportError("Input Object type "+t.name+" must define one or more fields.",t.astNode),n.forEach(function(n){l(e,n),Object(L.F)(n.type)||e.reportError("The type of "+t.name+"."+n.name+" must be Input Type but got: "+String(n.type)+".",n.astNode&&n.astNode.type)})}function g(e){return e.astNode?e.extensionASTNodes?[e.astNode].concat(e.extensionASTNodes):[e.astNode]:e.extensionASTNodes||[]}function y(e){return e.astNode?e.extensionASTNodes?[e.astNode].concat(e.extensionASTNodes):[e.astNode]:e.extensionASTNodes||[]}function b(e,t){return T(e,t)[0]}function T(e,t){for(var n=[],r=g(e),i=0;i=0;i--)t(n[i])}function a(e){for(var t=Object.keys(e),n=t.length,r=new Array(n),i=0;it.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function p(e,t){var n=void 0,r=void 0,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 u=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+u),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+u))}return i[o][a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getDefinitionState=r,t.getFieldDef=i,t.forEachState=o,t.objectValues=a,t.hintList=u;var d=n(5),h=n(10)},function(e,t,n){"use strict";(function(e){function r(e,t){var n=t.loc;return(0,p.default)(n,"Expected ASTNode to have a location."),(0,c.locToRange)(e,n)}function i(e,t){var n=t.loc;return(0,p.default)(n,"Expected ASTNode to have a location."),(0,c.offsetToPosition)(e,n.start)}function o(t,n,i){var o,a,u;return regeneratorRuntime.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(o=n.name.value,a=i.filter(function(e){var t=e.definition;return t.name&&t.name.value===o}),0!==a.length){s.next=5;break}return e.stderr.write("Definition not found for GraphQL type "+o),s.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=a.map(function(e){var t=e.filePath,n=e.content,r=e.definition;return l(t||"",n,r)}),s.abrupt("return",{definitions:u,queryRange:u.map(function(e){return r(t,n)})});case 7:case"end":return s.stop()}},null,this)}function a(t,n,i){var o,a,u;return regeneratorRuntime.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(o=n.name.value,a=i.filter(function(e){return e.definition.name.value===o}),0!==a.length){l.next=5;break}return e.stderr.write("Definition not found for GraphQL fragment "+o),l.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=a.map(function(e){var t=e.filePath,n=e.content,r=e.definition;return s(t||"",n,r)}),l.abrupt("return",{definitions:u,queryRange:u.map(function(e){return r(t,n)})});case 7:case"end":return l.stop()}},null,this)}function u(e,t,n){return{definitions:[s(e,t,n)],queryRange:n.name?[r(t,n.name)]:[]}}function s(e,t,n){var o=n.name;return(0,p.default)(o,"Expected ASTNode to have a Name."),{path:e,position:i(t,n),range:r(t,n),name:o.value||"",language:d,projectRoot:e}}function l(e,t,n){var o=n.name;return(0,p.default)(o,"Expected ASTNode to have a Name."),{path:e,position:i(t,n),range:r(t,n),name:o.value||"",language:d,projectRoot:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LANGUAGE=void 0,t.getDefinitionQueryResultForNamedType=o,t.getDefinitionQueryResultForFragmentSpread=a,t.getDefinitionQueryResultForDefinitionNode=u;var c=n(40),f=n(125),p=function(e){return e&&e.__esModule?e:{default:e}}(f),d=t.LANGUAGE="GraphQL"}).call(t,n(46))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(244);Object.defineProperty(t,"getASTNodeAtPosition",{enumerable:!0,get:function(){return r.getASTNodeAtPosition}}),Object.defineProperty(t,"pointToOffset",{enumerable:!0,get:function(){return r.pointToOffset}});var i=n(124);Object.defineProperty(t,"Position",{enumerable:!0,get:function(){return i.Position}}),Object.defineProperty(t,"Range",{enumerable:!0,get:function(){return i.Range}}),Object.defineProperty(t,"locToRange",{enumerable:!0,get:function(){return i.locToRange}}),Object.defineProperty(t,"offsetToPosition",{enumerable:!0,get:function(){return i.offsetToPosition}});var o=n(245);Object.defineProperty(t,"validateWithCustomRules",{enumerable:!0,get:function(){return o.validateWithCustomRules}})},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],o=null;try{o=(0,f.parse)(e)}catch(t){var a=u(t.locations[0],e);return[{severity:h.ERROR,message:t.message,source:"GraphQL: Syntax",range:a}]}return i(o,t,n,r)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3];if(!t)return[];var i=o((0,d.validateWithCustomRules)(t,e,n,r),function(e){return a(e,h.ERROR,"Validation")}),u=f.findDeprecatedUsages?o((0,f.findDeprecatedUsages)(t,e),function(e){return a(e,h.WARNING,"Deprecation")}):[];return i.concat(u)}function o(e,t){return Array.prototype.concat.apply([],e.map(t))}function a(e,t,n){return e.nodes?e.nodes.map(function(r){var i="Variable"!==r.kind&&r.name?r.name:r.variable?r.variable:r;(0,c.default)(e.locations,"GraphQL validation error requires locations.");var o=e.locations[0],a=s(i),u=o.column+(a.end-a.start);return{source:"GraphQL: "+n,message:e.message,severity:t,range:new d.Range(new d.Position(o.line-1,o.column-1),new d.Position(o.line-1,u))}}):[]}function u(e,t){var n=(0,p.onlineParser)(),r=n.startState(),i=t.split("\n");(0,c.default)(i.length>=e.line,"Query text must have more lines than where the error happened");for(var o=null,a=0;a1)for(var n=1;n=i)return new u(E.EOF,i,i,a,l,t);var h=w.call(r,o);if(h<32&&9!==h&&10!==h&&13!==h)throw Object(T.e)(n,o,"Cannot contain the invalid character "+s(h)+".");switch(h){case 33:return new u(E.BANG,o,o+1,a,l,t);case 35:return p(n,o,a,l,t);case 36:return new u(E.DOLLAR,o,o+1,a,l,t);case 38:return new u(E.AMP,o,o+1,a,l,t);case 40:return new u(E.PAREN_L,o,o+1,a,l,t);case 41:return new u(E.PAREN_R,o,o+1,a,l,t);case 46:if(46===w.call(r,o+1)&&46===w.call(r,o+2))return new u(E.SPREAD,o,o+3,a,l,t);break;case 58:return new u(E.COLON,o,o+1,a,l,t);case 61:return new u(E.EQUALS,o,o+1,a,l,t);case 64:return new u(E.AT,o,o+1,a,l,t);case 91:return new u(E.BRACKET_L,o,o+1,a,l,t);case 93:return new u(E.BRACKET_R,o,o+1,a,l,t);case 123:return new u(E.BRACE_L,o,o+1,a,l,t);case 124:return new u(E.PIPE,o,o+1,a,l,t);case 125:return new u(E.BRACE_R,o,o+1,a,l,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 b(n,o,a,l,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,o,h,a,l,t);case 34:return 34===w.call(r,o+1)&&34===w.call(r,o+2)?v(n,o,a,l,t):m(n,o,a,l,t)}throw Object(T.e)(n,o,c(h))}function c(e){return 39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character "+s(e)+"."}function f(e,t,n){for(var r=e.length,i=t;i31||9===a));return new u(E.COMMENT,t,s,n,r,i,k.call(o,t+1,s))}function d(e,t,n,r,i,o){var a=e.body,l=n,c=t,f=!1;if(45===l&&(l=w.call(a,++c)),48===l){if((l=w.call(a,++c))>=48&&l<=57)throw Object(T.e)(e,c,"Invalid number, unexpected digit after 0: "+s(l)+".")}else c=h(e,c,l),l=w.call(a,c);return 46===l&&(f=!0,l=w.call(a,++c),c=h(e,c,l),l=w.call(a,c)),69!==l&&101!==l||(f=!0,l=w.call(a,++c),43!==l&&45!==l||(l=w.call(a,++c)),c=h(e,c,l)),new u(f?E.FLOAT:E.INT,t,c,r,i,o,k.call(a,t,c))}function h(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=w.call(r,++i)}while(o>=48&&o<=57);return i}throw Object(T.e)(e,i,"Invalid number, expected digit but got: "+s(o)+".")}function m(e,t,n,r,i){for(var o=e.body,a=t+1,l=a,c=0,f="";a=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function b(e,t,n,r,i){for(var o=e.body,a=o.length,s=t+1,l=0;s!==a&&null!==(l=w.call(o,s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new u(E.NAME,t,s,n,r,i,k.call(o,t,s))}t.b=r,n.d(t,"a",function(){return E}),t.c=a;var T=n(0),_=n(78),E=Object.freeze({SOF:"",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"}),w=String.prototype.charCodeAt,k=String.prototype.slice;u.prototype.toJSON=u.prototype.inspect=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},function(e,t,n){"use strict";function r(e){return Object(i.a)(e.map(function(e){return'"'+e+'"'}))}t.a=r;var i=n(51)},function(e,t,n){"use strict";function r(e){var t=e.slice(0,i);return t.reduce(function(e,n,r){return e+(t.length>2?", ":" ")+(r===t.length-1?"or ":"")+n})}t.a=r;var i=5},function(e,t,n){"use strict";function r(e){return'Unknown fragment "'+e+'".'}function i(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new o.a(r(n),[t.name]))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.unknownFragmentMessage=r,t.KnownFragmentNames=i;var o=n(0)},function(e,t,n){"use strict";function r(e){return'Fragment "'+e+'" is never used.'}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(){var i=Object.create(null);t.forEach(function(t){e.getRecursivelyReferencedFragments(t).forEach(function(e){i[e.name.value]=!0})}),n.forEach(function(t){var n=t.name.value;!0!==i[n]&&e.reportError(new o.a(r(n),[t]))})}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.unusedFragMessage=r,t.NoUnusedFragments=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t,n){return"Expected type "+e+", found "+t+(n?"; "+n:".")}function i(e,t,n){return"Field "+e+"."+t+" of required type "+n+" was not provided."}function o(e,t,n){return'Field "'+t+'" is not defined by type '+e+(n?"; "+n:".")}function a(e){return{NullValue:function(t){var n=e.getInputType();Object(f.K)(n)&&e.reportError(new l.a(r(String(n),Object(c.a)(t)),t))},ListValue:function(t){var n=Object(f.A)(e.getParentInputType());if(!Object(f.I)(n))return u(e,t),!1},ObjectValue:function(t){var n=Object(f.z)(e.getInputType());if(!Object(f.E)(n))return u(e,t),!1;var r=n.getFields(),o=Object(d.a)(t.fields,function(e){return e.name.value});Object.keys(r).forEach(function(a){var u=r[a].type;!o[a]&&Object(f.K)(u)&&e.reportError(new l.a(i(n.name,a,String(u)),t))})},ObjectField:function(t){var n=Object(f.z)(e.getParentInputType());if(!e.getInputType()&&Object(f.E)(n)){var r=Object(m.a)(t.name.value,Object.keys(n.getFields())),i=0!==r.length?"Did you mean "+Object(h.a)(r)+"?":void 0;e.reportError(new l.a(o(n.name,t.name.value,i),t))}},EnumValue:function(t){var n=Object(f.z)(e.getInputType());Object(f.D)(n)?n.getValue(t.value)||e.reportError(new l.a(r(n.name,Object(c.a)(t),s(n,t)),t)):u(e,t)},IntValue:function(t){return u(e,t)},FloatValue:function(t){return u(e,t)},StringValue:function(t){return u(e,t)},BooleanValue:function(t){return u(e,t)}}}function u(e,t){var n=e.getInputType();if(n){var i=Object(f.z)(n);if(!Object(f.O)(i))return void e.reportError(new l.a(r(String(n),Object(c.a)(t),s(i,t)),t));try{var o=i.parseLiteral(t,void 0);Object(p.a)(o)&&e.reportError(new l.a(r(String(n),Object(c.a)(t)),t))}catch(i){e.reportError(new l.a(r(String(n),Object(c.a)(t),i.message),t,void 0,void 0,void 0,i))}}}function s(e,t){if(Object(f.D)(e)){var n=Object(m.a)(Object(c.a)(t),e.getValues().map(function(e){return e.name}));if(0!==n.length)return"Did you mean the enum value "+Object(h.a)(n)+"?"}}t.a=a;var l=n(0),c=n(16),f=n(1),p=n(11),d=n(18),h=n(51),m=n(27)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=(n(0),n(19)),o=n(6),a=(n(8),n(26)),u=function(){function e(t,n,i){r(this,e),this._schema=t,this._ast=n,this._typeInfo=i,this._errors=[],this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}return e.prototype.reportError=function(e){this._errors.push(e)},e.prototype.getErrors=function(){return this._errors},e.prototype.getSchema=function(){return this._schema},e.prototype.getDocument=function(){return this._ast},e.prototype.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce(function(e,t){return t.kind===o.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e},Object.create(null))),t[e]},e.prototype.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var r=n.pop(),i=0;i=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){e(n(3))}(function(e){function t(e){return e&&e.bracketRegex||/[(){}[\]]/}function n(e,n,i){var o=e.getLineHandle(n.line),a=n.ch-1,l=i&&i.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var c=t(i),f=!l&&a>=0&&c.test(o.text.charAt(a))&&s[o.text.charAt(a)]||c.test(o.text.charAt(a+1))&&s[o.text.charAt(++a)];if(!f)return null;var p=">"==f.charAt(1)?1:-1;if(i&&i.strict&&p>0!=(a==n.ch))return null;var d=e.getTokenTypeAt(u(n.line,a+1)),h=r(e,u(n.line,a+(p>0?1:0)),p,d||null,i);return null==h?null:{from:u(n.line,a),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function r(e,n,r,i,o){for(var a=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,c=[],f=t(o),p=r>0?Math.min(n.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,n.line-l),d=n.line;d!=p;d+=r){var h=e.getLine(d);if(h){var m=r>0?0:h.length-1,v=r>0?h.length:-1;if(!(h.length>a))for(d==n.line&&(m=n.ch-(r<0?1:0));m!=v;m+=r){var g=h.charAt(m);if(f.test(g)&&(void 0===i||e.getTokenTypeAt(u(d,m+1))==i)){var y=s[g];if(y&&">"==y.charAt(1)==r>0)c.push(g);else{if(!c.length)return{pos:u(d,m),ch:g};c.pop()}}}}}return d-r!=(r>0?e.lastLine():e.firstLine())&&null}function i(e,t,r){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,o=[],s=e.listSelections(),l=0;l",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",o),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",o))}),e.defineExtension("matchBrackets",function(){i(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,r){return(r||"boolean"==typeof t)&&(r?(r.strict=t,t=r):t=t?{strict:!0}:null),n(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,i){return r(this,e,t,n,i)})})},function(e,t,n){!function(e){e(n(3),n(240))}(function(e){"use strict";function t(e){this.options=e,this.from=this.to=0}function n(e){return!0===e&&(e={}),null==e.gutter&&(e.gutter="CodeMirror-foldgutter"),null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open"),null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded"),e}function r(e,t){for(var n=e.findMarks(f(t,0),f(t+1,0)),r=0;r=u&&(n=i(o.indicatorOpen))}e.setGutterMarker(t,o.gutter,n),++a})}function a(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 u(e,t,n){var i=e.state.foldGutter;if(i){var o=i.options;if(n==o.gutter){var a=r(e,t);a?a.clear():e.foldCode(f(t,0),o.rangeFinder)}}}function s(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},n.foldOnChangeTimeSpan||600)}}function l(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?a(e):e.operation(function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function c(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&rt.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),u=a.indexOf(";");if(-1!=u)return{startCh:r.end,end:e.Pos(i,u)}}}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 u=a.end;;){var s=r(u.line+1);if(null==s)break;u=s.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:u}}),e.registerHelper("fold","include",function(t,n){function r(n){if(nt.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;;){if(null==r(a+1))break;++a}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}})})},function(e,t,n){!function(e){e(n(3),n(29))}(function(e){"use strict";function t(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function n(e){return e.phrase("Jump to line:")+' '+e.phrase("(Use line:column or scroll% syntax)")+""}function r(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var i=e.getCursor();t(e,n(e),e.phrase("Jump to line:"),i.line+1+":"+i.ch,function(t){if(t){var n;if(n=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(t))e.setCursor(r(e,n[1]),Number(n[2]));else if(n=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(t)){var o=Math.round(e.lineCount()*Number(n[1])/100);/^[-+]/.test(n[1])&&(o=i.line+o+1),e.setCursor(o-1,i.ch)}else(n=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(t))&&e.setCursor(r(e,n[1]),i.ch)}})},e.keyMap.default["Alt-G"]="jumpToLine"})},function(e,t,n){!function(e){e(n(3),n(28),n(62))}(function(e){"use strict";function t(t,n,r){if(r<0&&0==n.ch)return t.clipPos(d(n.line-1));var i=t.getLine(n.line);if(r>0&&n.ch>=i.length)return t.clipPos(d(n.line+1,0));for(var o,a="start",u=n.ch,s=r<0?0:i.length,l=0;u!=s;u+=r,l++){var c=i.charAt(r<0?u-1:u),f="_"!=c&&e.isWordChar(c)?"w":"o";if("w"==f&&c.toUpperCase()==c&&(f="W"),"start"==a)"o"!=f&&(a="in",o=f);else if("in"==a&&o!=f){if("w"==o&&"W"==f&&r<0&&u--,"W"==o&&"w"==f&&r>0){o="w";continue}break}}return d(n.line,u)}function n(e,n){e.extendSelectionsBy(function(r){return e.display.shift||e.doc.extend||r.empty()?t(e.doc,r.head,n):n<0?r.from():r.to()})}function r(t,n){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,r=[],i=-1,o=0;o=0;u--){var s=r[o[u]];if(!(l&&e.cmpPos(s.head,l)>0)){var c=i(t,s.head);l=c.from,t.replaceRange(n(c.word),c.from,c.to)}}})}function c(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=i(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function f(e,t){var n=c(e);if(n){var r=n.query,i=e.getSearchCursor(r,t?n.to:n.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(r,t?d(e.firstLine(),0):e.clipPos(d(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):n.word&&e.setSelection(n.from,n.to))}}var p=e.commands,d=e.Pos;p.goSubwordLeft=function(e){n(e,-1)},p.goSubwordRight=function(e){n(e,1)},p.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())},p.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())},p.splitSelectionByLine=function(e){for(var t=e.listSelections(),n=[],r=0;ri.line&&a==o.line&&0==o.ch||n.push({anchor:a==i.line?i:d(a,0),head:a==o.line?o:d(a)});e.setSelections(n,0)},p.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},p.selectLine=function(e){for(var t=e.listSelections(),n=[],r=0;ri?r.push(s,l):r.length&&(r[r.length-1]=l),i=l}t.operation(function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+a,d(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",d(i,0),null,"+swapLine")}t.setSelections(o),t.scrollIntoView()})},p.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var n=t.listSelections(),r=[],i=t.lastLine()+1,o=n.length-1;o>=0;o--){var a=n[o],u=a.to().line+1,s=a.from().line;0!=a.to().ch||a.empty()||u--,u=0;e-=2){var n=r[e],i=r[e+1],o=t.getLine(n);n==t.lastLine()?t.replaceRange("",d(n-1),d(n),"+swapLine"):t.replaceRange("",d(n,0),d(n+1,0),"+swapLine"),t.replaceRange(o+"\n",d(i,0),null,"+swapLine")}t.scrollIntoView()})},p.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},p.joinLines=function(e){for(var t=e.listSelections(),n=[],r=0;r=0;i--){var o=n[i].head,a=t.getRange({line:o.line,ch:0},o),u=e.countColumn(a,null,t.getOption("tabSize")),s=t.findPosH(o,-1,"char",!1);if(a&&!/\S/.test(a)&&u%r==0){var l=new d(o.line,e.findColumn(a,u-r,r));l.ch!=o.ch&&(s=l)}t.replaceRange("",s,o,"+delete")}})},p.delLineRight=function(e){e.operation(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange("",t[n].anchor,d(t[n].to().line),"+delete");e.scrollIntoView()})},p.upcaseAtCursor=function(e){l(e,function(e){return e.toUpperCase()})},p.downcaseAtCursor=function(e){l(e,function(e){return e.toLowerCase()})},p.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},p.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},p.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)}},p.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))},p.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},p.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},p.findUnder=function(e){f(e,!0)},p.findUnderPrevious=function(e){f(e,!1)},p.findAllUnder=function(e){var t=c(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 m=e.keyMap;m.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","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","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-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(m.macSublime),m.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","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","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-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(m.pcSublime);var v=m.default==m.macDefault;m.sublime=v?m.macSublime:m.pcSublime})},function(e,t,n){"use strict";function r(e){var t=void 0;try{t=(0,s.parse)(e)}catch(e){return null}var n=i(e);return{outlineTrees:(0,s.visit)(t,{leave:function(e){return f.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null}})}}function i(e){var t=function(t){return{representativeName:t.name,startPosition:(0,l.offsetToPosition)(e,t.loc.start),endPosition:(0,l.offsetToPosition)(e,t.loc.end),children:t.selectionSet||[]}};return{Field:function(e){var n=e.alias?[o("plain",e.alias),o("plain",": ")]:[];return n.push(o("plain",e.name)),u({tokenizedText:n},t(e))},OperationDefinition:function(e){return u({tokenizedText:[o("keyword",e.operation),o("whitespace"," "),o("class-name",e.name)]},t(e))},Document:function(e){return e.definitions},SelectionSet:function(e){return a(e.selections,function(e){return e.kind===c?e.selectionSet:e})},Name:function(e){return e.value},FragmentDefinition:function(e){return u({tokenizedText:[o("keyword","fragment"),o("whitespace"," "),o("class-name",e.name)]},t(e))},FragmentSpread:function(e){return u({tokenizedText:[o("plain","..."),o("class-name",e.name)]},t(e))},InlineFragment:function(e){return e.selectionSet}}}function o(e,t){return{kind:e,value:t}}function a(e,t){for(var n=[],r=0;r=2&&u(d,c)+": "+h[n-2],u(d,f)+": "+h[n-1],a(2+d+l-1)+"^",n1&&"_"===e[0]&&"_"===e[1]?new o.a('Name "'+e+'" must not begin with "__", which is reserved by GraphQL introspection.',t):u.test(e)?void 0:new o.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'+e+'" does not.',t)}t.a=r,t.b=i;var o=n(17),a=n(9),u=/^[_a-zA-Z][_a-zA-Z0-9]*$/},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o});var i=n(9),o=function e(t,n,o){r(this,e),this.body=t,this.name=n||"GraphQL request",this.locationOffset=o||{line:1,column:1},this.locationOffset.line>0||Object(i.a)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Object(i.a)(0,"column in locationOffset is 1-indexed and must be positive")}},function(e,t,n){"use strict";function r(e,t,n){return e&&Array.isArray(e.path)?e:new i.a(e&&e.message,e&&e.nodes||t,e&&e.source,e&&e.positions,n,e)}t.a=r;var i=n(17)},function(e,t,n){"use strict";function r(e){for(var t=e.split(/\r\n|[\n\r]/g),n=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&e.reportError(new o.a(r(),[n]))}}}t.a=i;var o=n(0),a=n(6)},function(e,t,n){"use strict";function r(e){return(e?'Subscription "'+e+'" ':"Anonymous Subscription ")+"must select only one top level field."}function i(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new o.a(r(t.name&&t.name.value),t.selectionSet.selections.slice(1)))}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t){var n='Unknown type "'+e+'".';return t.length&&(n+=" Did you mean "+Object(u.a)(t)+"?"),n}function i(e){return{ObjectTypeDefinition:function(){return!1},InterfaceTypeDefinition:function(){return!1},UnionTypeDefinition:function(){return!1},InputObjectTypeDefinition:function(){return!1},NamedType:function(t){var n=e.getSchema(),i=t.name.value;n.getType(i)||e.reportError(new o.a(r(i,Object(a.a)(i,Object.keys(n.getTypeMap()))),[t]))}}}t.a=i;var o=n(0),a=n(27),u=n(50)},function(e,t,n){"use strict";function r(e){return'Fragment cannot condition on non composite type "'+String(e)+'".'}function i(e,t){return'Fragment "'+e+'" cannot condition on non composite type "'+String(t)+'".'}function o(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var i=Object(l.a)(e.getSchema(),n);i&&!Object(s.C)(i)&&e.reportError(new a.a(r(Object(u.a)(n)),[n]))}},FragmentDefinition:function(t){var n=Object(l.a)(e.getSchema(),t.typeCondition);n&&!Object(s.C)(n)&&e.reportError(new a.a(i(t.name.value,Object(u.a)(t.typeCondition)),[t.typeCondition]))}}}t.a=o;var a=n(0),u=n(16),s=n(1),l=n(13)},function(e,t,n){"use strict";function r(e,t){return'Variable "$'+e+'" cannot be non-input type "'+t+'".'}function i(e){return{VariableDefinition:function(t){var n=Object(s.a)(e.getSchema(),t.type);if(n&&!Object(u.F)(n)){var i=t.variable.name.value;e.reportError(new o.a(r(i,Object(a.a)(t.type)),[t.type]))}}}}t.a=i;var o=n(0),a=n(16),u=n(1),s=n(13)},function(e,t,n){"use strict";function r(e,t){return'Field "'+e+'" must not have a selection since type "'+String(t)+'" has no subfields.'}function i(e,t){return'Field "'+e+'" of type "'+String(t)+'" must have a selection of subfields. Did you mean "'+e+' { ... }"?'}function o(e){return{Field:function(t){var n=e.getType(),o=t.selectionSet;n&&(Object(u.H)(Object(u.z)(n))?o&&e.reportError(new a.a(r(t.name.value,n),[o])):o||e.reportError(new a.a(i(t.name.value,n),[t])))}}}t.a=o;var a=n(0),u=n(1)},function(e,t,n){"use strict";function r(e,t,n,r){var i='Cannot query field "'+e+'" on type "'+t+'".';if(0!==n.length){i+=" Did you mean to use an inline fragment on "+Object(l.a)(n)+"?"}else 0!==r.length&&(i+=" Did you mean "+Object(l.a)(r)+"?");return i}function i(e){return{Field:function(t){var n=e.getParentType();if(n){if(!e.getFieldDef()){var i=e.getSchema(),s=t.name.value,l=o(i,n,s),c=0!==l.length?[]:a(i,n,s);e.reportError(new u.a(r(s,n.name,l,c),[t]))}}}}}function o(e,t,n){if(Object(c.B)(t)){var r=[],i=Object.create(null);e.getPossibleTypes(t).forEach(function(e){e.getFields()[n]&&(r.push(e.name),e.getInterfaces().forEach(function(e){e.getFields()[n]&&(i[e.name]=(i[e.name]||0)+1)}))});return Object.keys(i).sort(function(e,t){return i[t]-i[e]}).concat(r)}return[]}function a(e,t,n){if(Object(c.M)(t)||Object(c.G)(t)){var r=Object.keys(t.getFields());return Object(s.a)(n,r)}return[]}t.a=i;var u=n(0),s=n(27),l=n(50),c=n(1)},function(e,t,n){"use strict";function r(e){return'There can be only one fragment named "'+e+'".'}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 o.a(r(i),[t[i],n.name])):t[i]=n.name,!1}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t,n){return'Fragment "'+e+'" cannot be spread here as objects of type "'+String(t)+'" can never be of type "'+String(n)+'".'}function i(e,t){return'Fragment cannot be spread here as objects of type "'+String(e)+'" can never be of type "'+String(t)+'".'}function o(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();Object(c.C)(n)&&Object(c.C)(r)&&!Object(s.a)(e.getSchema(),n,r)&&e.reportError(new u.a(i(r,n),[t]))},FragmentSpread:function(t){var n=t.name.value,i=a(e,n),o=e.getParentType();i&&o&&!Object(s.a)(e.getSchema(),i,o)&&e.reportError(new u.a(r(n,o,i),[t]))}}}function a(e,t){var n=e.getFragment(t);if(n){var r=Object(l.a)(e.getSchema(),n.typeCondition);if(Object(c.C)(r))return r}}t.a=o;var u=n(0),s=n(35),l=n(13),c=n(1)},function(e,t,n){"use strict";function r(e,t){return'Cannot spread fragment "'+e+'" within itself'+(t.length?" via "+t.join(", "):"")+"."}function i(e){function t(u){var s=u.name.value;n[s]=!0;var l=e.getFragmentSpreads(u.selectionSet);if(0!==l.length){a[s]=i.length;for(var c=0;c1)for(var u=0;u0)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){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}t.a=a;var E=n(0),w=n(21),k=n(6),O=n(16),C=n(1),S=n(13),x=function(){function e(){r(this,e),this._data=Object.create(null)}return e.prototype.has=function(e,t,n){var r=this._data[e],i=r&&r[t];return void 0!==i&&(!1!==n||!1===i)},e.prototype.add=function(e,t,n){_(this._data,e,t,n),_(this._data,t,e,n)},e}()},function(e,t,n){"use strict";function r(e){return'There can be only one input field named "'+e+'".'}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;return n[i]?e.reportError(new o.a(r(i),[n[i],t.name])):n[i]=t.name,!1}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e){return Boolean(e&&"function"===typeof e.then)}t.a=r},function(e,t,n){"use strict";function r(e){var t=!(e&&!1===e.descriptions);return"\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n "+(t?"description":"")+"\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n "+(t?"description":"")+"\n fields(includeDeprecated: true) {\n name\n "+(t?"description":"")+"\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n "+(t?"description":"")+"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n "+(t?"description":"")+"\n type { ...TypeRef }\n defaultValue\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 "}t.a=r,n.d(t,"b",function(){return i});var i=r()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(t.kind===y.a.LIST_TYPE)return Object(b.d)(i(e,t.type));if(t.kind===y.a.NON_NULL_TYPE){var n=i(e,t.type);return Object(b.e)(Object(b.s)(n))}return e}function o(e){for(var t=e;t.kind===y.a.LIST_TYPE||t.kind===y.a.NON_NULL_TYPE;)t=t.type;return t}function a(e,t){if(!e||e.kind!==y.a.DOCUMENT)throw new Error("Must provide a document ast.");for(var n=void 0,r=[],i=Object.create(null),o=[],a=0;a`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),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";e.exports.tokenize=function(e,t){var n,r,i,o,a,u=e.pos,s=e.src.charCodeAt(u);if(t)return!1;if(126!==s)return!1;if(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(s),o<2)return!1;for(o%2&&(i=e.push("text","",0),i.content=a,o--),n=0;n=0;t--)n=u[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=u[n.end],a=t>0&&u[t-1].end===n.end+1&&u[t-1].token===n.token-1&&u[n.end+1].token===r.token+1&&u[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[u[t-1].token].content="",e.tokens[u[n.end+1].token].content="",t--))}},function(e,t,n){"use strict";function r(e,t,r){var o=n(3),a=void 0,u=void 0;o.on(t,"select",function(e,t){if(!a){var n=t.parentNode;a=document.createElement("div"),a.className="CodeMirror-hint-information",n.appendChild(a),u=document.createElement("div"),u.className="CodeMirror-hint-deprecation",n.appendChild(u);var o=void 0;n.addEventListener("DOMNodeRemoved",o=function(e){e.target===n&&(n.removeEventListener("DOMNodeRemoved",o),a=null,u=null,o=null)})}var l=e.description?s.render(e.description):"Self descriptive.",c=e.type?''+i(e.type)+"":"";if(a.innerHTML=''+("
"===l.slice(0,3)?"
"+c+l.slice(3):c+l)+"
",e.isDeprecated){var f=e.deprecationReason?s.render(e.deprecationReason):"";u.innerHTML='Deprecated'+f,u.style.display="block"}else u.style.display="none";r&&r(a)})}function i(e){return e instanceof o.GraphQLNonNull?i(e.ofType)+"!":e instanceof o.GraphQLList?"["+i(e.ofType)+"]":''+e.name+""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(5),a=n(58),u=function(e){return e&&e.__esModule?e:{default:e}}(a),s=new u.default},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";function t(e,t){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;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}function n(e,t,n){var r=e.options.hintOptions,i={};for(var o in h)i[o]=h[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}function r(e){return"string"==typeof e?e:e.text}function i(e,t){function n(e,n){var i;i="string"!=typeof n?function(e){return n(e,t)}:r.hasOwnProperty(n)?r[n]:n,o[e]=i}var r={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)&&(r["Ctrl-P"]=function(){t.moveFocus(-1)},r["Ctrl-N"]=function(){t.moveFocus(1)});var i=e.options.customKeys,o=i?{}:r;if(i)for(var a in i)i.hasOwnProperty(a)&&n(a,i[a]);var u=e.options.extraKeys;if(u)for(var a in u)u.hasOwnProperty(a)&&n(a,u[a]);return o}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.completion=t,this.data=n,this.picked=!1;var a=this,u=t.cm,s=u.getInputField().ownerDocument,l=s.defaultView||s.parentWindow,p=this.hints=s.createElement("ul"),d=t.cm.options.theme;p.className="CodeMirror-hints "+d,this.selectedHint=n.selectedHint||0;for(var h=n.list,m=0;mp.clientHeight+1,x=u.getScrollInfo();if(C>0){var N=O.bottom-O.top;if(b.top-(b.bottom-O.top)-N>0)p.style.top=(_=b.top-N)+"px",E=!1;else if(N>k){p.style.height=k-5+"px",p.style.top=(_=b.bottom-O.top)+"px";var D=u.getCursor();n.from.ch!=D.ch&&(b=u.cursorCoords(D),p.style.left=(T=b.left)+"px",O=p.getBoundingClientRect())}}var L=O.right-w;if(L>0&&(O.right-O.left>w&&(p.style.width=w-5+"px",L-=O.right-O.left-w),p.style.left=(T=b.left-L)+"px"),S)for(var A=p.firstChild;A;A=A.nextSibling)A.style.paddingRight=u.display.nativeBarWidth+"px";if(u.addKeyMap(this.keyMap=i(t,{moveFocus:function(e,t){a.changeActive(a.selectedHint+e,t)},setFocus:function(e){a.changeActive(e)},menuSize:function(){return a.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){a.pick()},data:n})),t.options.closeOnUnfocus){var I;u.on("blur",this.onBlur=function(){I=setTimeout(function(){t.close()},100)}),u.on("focus",this.onFocus=function(){clearTimeout(I)})}return u.on("scroll",this.onScroll=function(){var e=u.getScrollInfo(),n=u.getWrapperElement().getBoundingClientRect(),r=_+x.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(E||(i+=p.offsetHeight),i<=n.top||i>=n.bottom)return t.close();p.style.top=r+"px",p.style.left=T+x.left-e.left+"px"}),e.on(p,"dblclick",function(e){var t=o(p,e.target||e.srcElement);t&&null!=t.hintId&&(a.changeActive(t.hintId),a.pick())}),e.on(p,"click",function(e){var n=o(p,e.target||e.srcElement);n&&null!=n.hintId&&(a.changeActive(n.hintId),t.options.completeOnSingleClick&&a.pick())}),e.on(p,"mousedown",function(){setTimeout(function(){u.focus()},20)}),e.signal(n,"select",h[this.selectedHint],p.childNodes[this.selectedHint]),!0}function u(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):r(i+1)})}var o=u(e,i);r(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(){}}var c="CodeMirror-hint",f="CodeMirror-hint-active";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(r){r=n(this,this.getCursor("start"),r);var i=this.listSelections();if(!(i.length>1)){if(this.somethingSelected()){if(!r.hint.supportsSelection)return;for(var o=0;o=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(" "+f,"")),r=this.hints.childNodes[this.selectedHint=t],r.className+=" "+f,r.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=r.offsetTop+r.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],r)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:l}),e.registerHelper("hint","fromList",function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),u=i;o.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)})},function(e,t,n){!function(e){e(n(3))}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:f[t]}function n(e){for(var t=0;t=0;u--){var c=a[u].head;n.replaceRange("",p(c.line,c.ch-1),p(c.line,c.ch+1),"+delete")}}function a(n){var r=i(n),o=r&&t(r,"explode");if(!o||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),u=0;u0;return{anchor:new p(t.anchor.line,t.anchor.ch+(n?-1:1)),head:new p(t.head.line,t.head.ch+(n?1:-1))}}function s(n,r){var o=i(n);if(!o||n.getOption("disableInput"))return e.Pass;var a=t(o,"pairs"),s=a.indexOf(r);if(-1==s)return e.Pass;for(var l,f=t(o,"closeBefore"),d=t(o,"triples"),h=a.charAt(s+1)==r,m=n.listSelections(),v=s%2==0,g=0;g1&&d.indexOf(r)>=0&&n.getRange(p(T.line,T.ch-2),T)==r+r){if(T.ch>2&&/\bstring/.test(n.getTokenTypeAt(p(T.line,T.ch-2))))return e.Pass;y="addFour"}else if(h){var E=0==T.ch?" ":n.getRange(p(T.line,T.ch-1),T);if(e.isWordChar(_)||E==r||e.isWordChar(E))return e.Pass;y="both"}else{if(!v||!(0===_.length||/\s/.test(_)||f.indexOf(_)>-1))return e.Pass;y="both"}else y=h&&c(n,T)?"both":d.indexOf(r)>=0&&n.getRange(T,p(T.line,T.ch+3))==r+r+r?"skipThree":"skip";if(l){if(l!=y)return e.Pass}else l=y}var w=s%2?a.charAt(s-1):r,k=s%2?r:a.charAt(s+1);n.operation(function(){if("skip"==l)n.execCommand("goCharRight");else if("skipThree"==l)for(var e=0;e<3;e++)n.execCommand("goCharRight");else if("surround"==l){for(var t=n.getSelections(),e=0;e",triples:"",explode:"[]{}"},p=e.Pos;e.defineOption("autoCloseBrackets",!1,function(r,i,o){o&&o!=e.Init&&(r.removeKeyMap(d),r.state.closeBrackets=null),i&&(n(t(i,"pairs")),r.state.closeBrackets=i,r.addKeyMap(d))});var d={Backspace:o,Enter:a};n(f.pairs+"`")})},function(e,t,n){!function(e){e(n(3),n(28),n(29))}(function(e){"use strict";function t(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()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function r(e){return e.state.search||(e.state.search=new n)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function o(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function a(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){h(e)},onKeyDown:i})}function u(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function s(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function l(e){return e.replace(/\\(.)/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":t})}function c(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=l(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function f(e,n,r){n.queryText=r,n.query=c(r),e.removeOverlay(n.overlay,i(n.query)),n.overlay=t(n.query,i(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,i(n.query)))}function p(t,n,i,o){var s=r(t);if(s.query)return d(t,n);var l=t.getSelection()||s.lastQuery;if(l instanceof RegExp&&"x^"==l.source&&(l=null),i&&t.openDialog){var c=null,p=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(f(t,s,n),s.posFrom=s.posTo=t.getCursor()),c&&(c.style.opacity=1),d(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&&((c=r).style.opacity=.4)}))};a(t,m(t),l,p,function(n,i){var o=e.keyName(n),a=t.getOption("extraKeys"),u=a&&a[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(n),f(t,r(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(n),p(i,n))}),o&&l&&(f(t,s,l),d(t,n))}else u(t,m(t),"Search for:",l,function(e){e&&!s.query&&t.operation(function(){f(t,s,e),s.posFrom=s.posTo=t.getCursor(),d(t,n)})})}function d(t,n,i){t.operation(function(){var a=r(t),u=o(t,a.query,n?a.posFrom:a.posTo);(u.find(n)||(u=o(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0)),u.find(n)))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),a.posFrom=u.from(),a.posTo=u.to(),i&&i(u.from(),u.to()))})}function h(e){e.operation(function(){var t=r(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 m(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function v(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function g(e){return''+e.phrase("With:")+' '}function y(e){return''+e.phrase("Replace?")+" "}function b(e,t,n){e.operation(function(){for(var r=o(e,t);r.findNext();)if("string"!=typeof t){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function T(e,t){if(!e.getOption("readOnly")){var n=e.getSelection()||r(e).lastQuery,i=''+(t?e.phrase("Replace all:"):e.phrase("Replace:"))+"";u(e,i+v(e),i,n,function(n){n&&(n=c(n),u(e,g(e),e.phrase("Replace with:"),"",function(r){if(r=l(r),t)b(e,n,r);else{h(e);var i=o(e,n,e.getCursor("from")),a=function(){var t,l=i.from();!(t=i.findNext())&&(i=o(e,n),!(t=i.findNext())||l&&i.from().line==l.line&&i.from().ch==l.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),s(e,y(e),e.phrase("Replace?"),[function(){u(t)},a,function(){b(e,n,r)}]))},u=function(e){i.replace("string"==typeof n?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}e.commands.find=function(e){h(e),p(e)},e.commands.findPersistent=function(e){h(e),p(e,!1,!0)},e.commands.findPersistentNext=function(e){p(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){p(e,!0,!0,!0)},e.commands.findNext=p,e.commands.findPrev=function(e){p(e,!0)},e.commands.clearSearch=h,e.commands.replace=T,e.commands.replaceAll=function(e){T(e,!0)}})},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";function t(t,n){function r(t){if(!i.parentNode)return e.off(document,"mousemove",r);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+"px",i.style.left=t.clientX+5+"px"}var i=document.createElement("div");return i.className="CodeMirror-lint-tooltip",i.appendChild(n.cloneNode(!0)),document.body.appendChild(i),e.on(document,"mousemove",r),r(t),null!=i.style.opacity&&(i.style.opacity=1),i}function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(e){e.parentNode&&(null==e.style.opacity&&n(e),e.style.opacity=0,setTimeout(function(){n(e)},600))}function i(n,i,o){function a(){e.off(o,"mouseout",a),u&&(r(u),u=null)}var u=t(n,i),s=setInterval(function(){if(u)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}if(!u)return clearInterval(s)},400);e.on(o,"mouseout",a)}function o(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){g(e,t)},this.waitingFor=0}function a(e,t){return t instanceof Function?{getAnnotations:t}:(t&&!0!==t||(t={}),t)}function u(e){var t=e.state.lint;t.hasGutter&&e.clearGutter(y);for(var n=0;n1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(t,i,e)}function m(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(function(){d(e)},t.options.delay||500))}function v(e,t){for(var n=t.target||t.srcElement,r=document.createDocumentFragment(),o=0;o=e.character:i.start.line<=e.line&&i.end.line>=e.line},this.start=t,this.end=n}return e.prototype.setStart=function(e,t){this.start=new u(e,t)},e.prototype.setEnd=function(e,t){this.end=new u(e,t)},e}(),u=t.Position=function(){function e(t,n){var i=this;r(this,e),this.lessThanOrEqualTo=function(e){return i.line=0;u--)if(s[u]!==l[u])return!1;for(u=s.length-1;u>=0;u--)if(a=s[u],!d(e[a],t[a],n,r))return!1;return!0}function v(e,t,n){d(e,t,!0)&&f(e,t,n,"notDeepStrictEqual",v)}function g(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e){var t;try{e()}catch(e){t=e}return t}function b(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=y(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&f(i,n,"Missing expected exception"+r);var o="string"===typeof r,a=!e&&T.isError(i),u=!e&&i&&!n;if((a&&o&&g(i,n)||u)&&f(i,n,"Got unwanted exception"+r),e&&i&&n&&!g(i,n)||!e&&i)throw i}var T=n(246),_=Object.prototype.hasOwnProperty,E=Array.prototype.slice,w=function(){return"foo"===function(){}.name}(),k=e.exports=p,O=/\s*function\s+([^\(\s]*)\s*/;k.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=u(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},T.inherits(k.AssertionError,Error),k.fail=f,k.ok=p,k.equal=function(e,t,n){e!=t&&f(e,t,n,"==",k.equal)},k.notEqual=function(e,t,n){e==t&&f(e,t,n,"!=",k.notEqual)},k.deepEqual=function(e,t,n){d(e,t,!1)||f(e,t,n,"deepEqual",k.deepEqual)},k.deepStrictEqual=function(e,t,n){d(e,t,!0)||f(e,t,n,"deepStrictEqual",k.deepStrictEqual)},k.notDeepEqual=function(e,t,n){d(e,t,!1)&&f(e,t,n,"notDeepEqual",k.notDeepEqual)},k.notDeepStrictEqual=v,k.strictEqual=function(e,t,n){e!==t&&f(e,t,n,"===",k.strictEqual)},k.notStrictEqual=function(e,t,n){e===t&&f(e,t,n,"!==",k.notStrictEqual)},k.throws=function(e,t,n){b(!0,e,t,n)},k.doesNotThrow=function(e,t,n){b(!1,e,t,n)},k.ifError=function(e){if(e)throw e};var C=Object.keys||function(e){var t=[];for(var n in e)_.call(e,n)&&t.push(n);return t}}).call(t,n(23))},function(e,t,n){function r(e){return n(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={".":22,"./":22,"./GraphQLLanguageService":68,"./GraphQLLanguageService.js":68,"./GraphQLLanguageService.js.flow":249,"./autocompleteUtils":38,"./autocompleteUtils.js":38,"./autocompleteUtils.js.flow":250,"./getAutocompleteSuggestions":30,"./getAutocompleteSuggestions.js":30,"./getAutocompleteSuggestions.js.flow":251,"./getDefinition":39,"./getDefinition.js":39,"./getDefinition.js.flow":252,"./getDiagnostics":41,"./getDiagnostics.js":41,"./getDiagnostics.js.flow":253,"./getHoverInformation":42,"./getHoverInformation.js":42,"./getHoverInformation.js.flow":254,"./getOutline":67,"./getOutline.js":67,"./getOutline.js.flow":255,"./index":22,"./index.js":22,"./index.js.flow":256};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=126},function(e,t,n){"use strict";function r(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,l.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?i(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=(0,a.getNamedType)(n.type);break;case"Directive":n.directiveDef=t.name&&e.getDirective(t.name);break;case"Arguments":var r="Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&i(e,n.parentType,t.prevState.name):null;n.argDefs=r&&r.args;break;case"Argument":if(n.argDef=null,n.argDefs)for(var u=0;u=0;i--)t(n[i])}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:s(e.fieldDef)?null:e.parentType}}function i(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function o(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:s(e.fieldDef)?null:e.parentType}}function a(e){return{kind:"EnumValue",value:e.enumValue,type:(0,l.getNamedType)(e.inputType)}}function u(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function s(e){return"__"===e.name.slice(0,2)}Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldReference=r,t.getDirectiveReference=i,t.getArgumentReference=o,t.getEnumValueReference=a,t.getTypeReference=u;var l=n(5)},function(e,t,n){"use strict";function r(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function i(e){var t=e.state.info.options;return t&&t.hoverTime||500}function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if("SPAN"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),u=i(e);n.hoverTimeout=setTimeout(f,u);var s=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(f,u)},c=function t(){l.default.off(document,"mousemove",s),l.default.off(e.getWrapperElement(),"mouseout",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},f=function(){l.default.off(document,"mousemove",s),l.default.off(e.getWrapperElement(),"mouseout",c),n.hoverTimeout=void 0,a(e,o)};l.default.on(document,"mousemove",s),l.default.on(e.getWrapperElement(),"mouseout",c)}}function a(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info,i=r.options,o=i.render||e.getHelper(n,"info");if(o){var a=e.getTokenAt(n,!0);if(a){var s=o(a,i,e,n);s&&u(e,t,s)}}}function u(e,t,n){var r=document.createElement("div");r.className="CodeMirror-info",r.appendChild(n),document.body.appendChild(r);var i=r.getBoundingClientRect(),o=r.currentStyle||window.getComputedStyle(r),a=i.right-i.left+parseFloat(o.marginLeft)+parseFloat(o.marginRight),u=i.bottom-i.top+parseFloat(o.marginTop)+parseFloat(o.marginBottom),s=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(s=t.top-u),s<0&&(s=t.bottom);var c=Math.max(0,window.innerWidth-a-15);c>t.left&&(c=t.left),r.style.opacity=1,r.style.top=s+"px",r.style.left=c+"px";var f=void 0,p=function(){clearTimeout(f)},d=function(){clearTimeout(f),f=setTimeout(h,200)},h=function(){l.default.off(r,"mouseover",p),l.default.off(r,"mouseout",d),l.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)};l.default.on(r,"mouseover",p),l.default.on(r,"mouseout",d),l.default.on(e.getWrapperElement(),"mouseout",d)}var s=n(3),l=function(e){return e&&e.__esModule?e:{default:e}}(s);l.default.defineOption("info",!1,function(e,t,n){if(n&&n!==l.default.Init){var i=e.state.info.onMouseOver;l.default.off(e.getWrapperElement(),"mouseover",i),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=r(t);a.onMouseOver=o.bind(null,e),l.default.on(e.getWrapperElement(),"mouseover",a.onMouseOver)}})},function(e,t,n){"use strict";function r(e){return{style:"keyword",match:function(t){return"Name"===t.kind&&t.value===e}}}function i(e){return{style:e,match:function(e){return"Name"===e.kind},update:function(e,t){e.name=t.value}}}Object.defineProperty(t,"__esModule",{value:!0}),t.ParseRules=t.LexRules=t.isIgnored=void 0;var o=n(132);t.isIgnored=function(e){return" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e},t.LexRules={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:/^#.*/},t.ParseRules={Document:[(0,o.list)("Definition")],Definition:function(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition";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:[r("query"),(0,o.opt)(i("def")),(0,o.opt)("VariableDefinitions"),(0,o.list)("Directive"),"SelectionSet"],Mutation:[r("mutation"),(0,o.opt)(i("def")),(0,o.opt)("VariableDefinitions"),(0,o.list)("Directive"),"SelectionSet"],Subscription:[r("subscription"),(0,o.opt)(i("def")),(0,o.opt)("VariableDefinitions"),(0,o.list)("Directive"),"SelectionSet"],VariableDefinitions:[(0,o.p)("("),(0,o.list)("VariableDefinition"),(0,o.p)(")")],VariableDefinition:["Variable",(0,o.p)(":"),"Type",(0,o.opt)("DefaultValue")],Variable:[(0,o.p)("$","variable"),i("variable")],DefaultValue:[(0,o.p)("="),"Value"],SelectionSet:[(0,o.p)("{"),(0,o.list)("Selection"),(0,o.p)("}")],Selection:function(e,t){return"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[i("property"),(0,o.p)(":"),i("qualifier"),(0,o.opt)("Arguments"),(0,o.list)("Directive"),(0,o.opt)("SelectionSet")],Field:[i("property"),(0,o.opt)("Arguments"),(0,o.list)("Directive"),(0,o.opt)("SelectionSet")],Arguments:[(0,o.p)("("),(0,o.list)("Argument"),(0,o.p)(")")],Argument:[i("attribute"),(0,o.p)(":"),"Value"],FragmentSpread:[(0,o.p)("..."),i("def"),(0,o.list)("Directive")],InlineFragment:[(0,o.p)("..."),(0,o.opt)("TypeCondition"),(0,o.list)("Directive"),"SelectionSet"],FragmentDefinition:[r("fragment"),(0,o.opt)((0,o.butNot)(i("def"),[r("on")])),"TypeCondition",(0,o.list)("Directive"),"SelectionSet"],TypeCondition:[r("on"),"NamedType"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Name","builtin")],NullValue:[(0,o.t)("Name","keyword")],EnumValue:[i("string-2")],ListValue:[(0,o.p)("["),(0,o.list)("Value"),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField"),(0,o.p)("}")],ObjectField:[i("attribute"),(0,o.p)(":"),"Value"],Type:function(e){return"["===e.value?"ListType":"NonNullType"},ListType:[(0,o.p)("["),"Type",(0,o.p)("]"),(0,o.opt)((0,o.p)("!"))],NonNullType:["NamedType",(0,o.opt)((0,o.p)("!"))],NamedType:[function(e){return{style:e,match:function(e){return"Name"===e.kind},update:function(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}}}("atom")],Directive:[(0,o.p)("@","meta"),i("meta"),(0,o.opt)("Arguments")],SchemaDef:[r("schema"),(0,o.list)("Directive"),(0,o.p)("{"),(0,o.list)("OperationTypeDef"),(0,o.p)("}")],OperationTypeDef:[i("keyword"),(0,o.p)(":"),i("atom")],ScalarDef:[r("scalar"),i("atom"),(0,o.list)("Directive")],ObjectTypeDef:[r("type"),i("atom"),(0,o.opt)("Implements"),(0,o.list)("Directive"),(0,o.p)("{"),(0,o.list)("FieldDef"),(0,o.p)("}")],Implements:[r("implements"),(0,o.list)("NamedType")],FieldDef:[i("property"),(0,o.opt)("ArgumentsDef"),(0,o.p)(":"),"Type",(0,o.list)("Directive")],ArgumentsDef:[(0,o.p)("("),(0,o.list)("InputValueDef"),(0,o.p)(")")],InputValueDef:[i("attribute"),(0,o.p)(":"),"Type",(0,o.opt)("DefaultValue"),(0,o.list)("Directive")],InterfaceDef:[r("interface"),i("atom"),(0,o.list)("Directive"),(0,o.p)("{"),(0,o.list)("FieldDef"),(0,o.p)("}")],UnionDef:[r("union"),i("atom"),(0,o.list)("Directive"),(0,o.p)("="),(0,o.list)("UnionMember",(0,o.p)("|"))],UnionMember:["NamedType"],EnumDef:[r("enum"),i("atom"),(0,o.list)("Directive"),(0,o.p)("{"),(0,o.list)("EnumValueDef"),(0,o.p)("}")],EnumValueDef:[i("string-2"),(0,o.list)("Directive")],InputDef:[r("input"),i("atom"),(0,o.list)("Directive"),(0,o.p)("{"),(0,o.list)("InputValueDef"),(0,o.p)("}")],ExtendDef:[r("extend"),"ObjectTypeDef"],DirectiveDef:[r("directive"),(0,o.p)("@","meta"),i("meta"),(0,o.opt)("ArgumentsDef"),r("on"),(0,o.list)("DirectiveLocation",(0,o.p)("|"))],DirectiveLocation:[i("string-2")]}},function(e,t,n){"use strict";function r(e){return{ofRule:e}}function i(e,t){return{ofRule:e,isList:!0,separator:t}}function o(e,t){var n=e.match;return e.match=function(e){var r=!1;return n&&(r=n(e)),r&&t.every(function(t){return t.match&&!t.match(e)})},e}function a(e,t){return{style:t,match:function(t){return t.kind===e}}}function u(e,t){return{style:t||"punctuation",match:function(t){return"Punctuation"===t.kind&&t.value===e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.opt=r,t.list=i,t.butNot=o,t.t=a,t.p=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.field,n=t.type,r=t.defaultValue;return void 0!==r?a.default.createElement("span",null," = ",a.default.createElement("span",{className:"arg-default-value"},(0,l.print)((0,l.astFromValue)(r,n)))):null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(4),a=r(o),u=n(7),s=r(u),l=n(5);i.propTypes={field:s.default.object.isRequired}},function(e,t,n){"use strict";function r(e,t){var n=void 0;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){n=null,t.apply(r,i)},e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){n(136),e.exports=n(141)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(137).enable(),window.Promise=n(139)),n(140),Object.assign=n(43)},function(e,t,n){"use strict";function r(){l=!1,u._47=null,u._71=null}function i(e){function t(t){(e.allRejections||a(f[t].error,e.whitelist||s))&&(f[t].displayId=c++,e.onUnhandled?(f[t].logged=!0,e.onUnhandled(f[t].displayId,f[t].error)):(f[t].logged=!0,o(f[t].displayId,f[t].error)))}function n(t){f[t].logged&&(e.onHandled?e.onHandled(f[t].displayId,f[t].error):f[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+f[t].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+f[t].displayId+".")))}e=e||{},l&&r(),l=!0;var i=0,c=0,f={};u._47=function(e){2===e._83&&f[e._56]&&(f[e._56].logged?n(e._56):clearTimeout(f[e._56].timeout),delete f[e._56])},u._71=function(e,n){0===e._75&&(e._56=i++,f[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),a(n,s)?100:2e3),logged:!1})}}function o(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn(" "+e)})}function a(e,t){return t.some(function(t){return e instanceof t})}var u=n(72),s=[ReferenceError,TypeError,RangeError],l=!1;t.disable=r,t.enable=i},function(e,t,n){"use strict";(function(t){function n(e){a.length||(o(),u=!0),a[a.length]=e}function r(){for(;sl){for(var t=0,n=a.length-s;t-1?t:e}function d(e,t){t=t||{};var n=t.body;if(e instanceof d){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=p(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function v(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},T=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},f.call(d.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];v.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=d,e.Response=v,e.fetch=function(e,t){return new Promise(function(n,r){var i=new d(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new v(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&g.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n.n(r),o=n(44),a=n.n(o),u=n(146);a.a.render(i.a.createElement(u.a,null),document.getElementById("wp-graphiql"))},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,u],l=0;e=Error(t.replace(/%s/g,function(){return s[l++]})),e.name="Invariant Violation"}throw e.framesToPop=1,e}}function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=0;iH.length&&H.push(e)}function h(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case w:case k:a=!0}}if(a)return n(r,e,""===t?"."+v(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;uthis.eventPool.length&&this.eventPool.push(e)}function j(e){e.eventPool=[],e.getPooled=A,e.release=I}function F(e,t){switch(e){case"keyup":return-1!==zi.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function M(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function P(e,t){switch(e){case"compositionend":return M(t);case"keypress":return 32!==t.which?null:(Yi=!0,Qi);case"textInput":return e=t.data,e===Qi&&Yi?null:e;default:return null}}function R(e,t){if($i)return"compositionend"===e||!qi&&F(e,t)?(e=x(),Vi=Ri=Pi=null,$i=!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&&1t}return!1}function oe(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ae(e){return e[1].toUpperCase()}function ue(e,t,n,r){var i=ko.hasOwnProperty(t)?ko[t]:null;(null!==i?0===i.type:!r&&(2ra.length&&ra.push(e)}}}function Ue(e){return Object.prototype.hasOwnProperty.call(e,ua)||(e[ua]=aa++,oa[e[ua]]={}),oa[e[ua]]}function Be(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ze(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qe(e,t){var n=ze(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ze(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ge(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function We(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)}function Qe(){var e=Ge();if(We(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var n=t.getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{t.nodeType,i.nodeType}catch(e){t=null;break e}var o=0,a=-1,u=-1,s=0,l=0,c=e,f=null;t:for(;;){for(var p;c!==t||0!==r&&3!==c.nodeType||(a=o+r),c!==i||0!==n&&3!==c.nodeType||(u=o+n),3===c.nodeType&&(o+=c.nodeValue.length),null!==(p=c.firstChild);)f=c,c=p;for(;;){if(c===e)break t;if(f===t&&++s===r&&(a=o),f===i&&++l===n&&(u=o),null!==(p=c.nextSibling))break;c=f,f=c.parentNode}c=p}t=-1===a||-1===u?null:{start:a,end:u}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}function Ke(e){var t=Ge(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&He(n.ownerDocument.documentElement,n)){if(null!==r&&We(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=qe(n,o);var a=qe(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=t.length||i("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:se(n)}}function tt(e,t){var n=se(t.value),r=se(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(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 it(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function ot(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 at(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||ya.hasOwnProperty(e)&&ya[e]?(""+t).trim():t+"px"}function ut(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=at(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function st(e,t){t&&(Ta[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&i("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&i("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||i("61")),null!=t.style&&"object"!==typeof t.style&&i("62",""))}function lt(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}}function ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ue(e);t=bi[t];for(var r=0;rxa||(e.current=Sa[xa],Sa[xa]=null,xa--)}function yt(e,t){xa++,Sa[xa]=e.current,e.current=t}function bt(e,t){var n=e.type.contextTypes;if(!n)return Na;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,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Tt(e){return null!==(e=e.childContextTypes)&&void 0!==e}function _t(e){gt(La,e),gt(Da,e)}function Et(e){gt(La,e),gt(Da,e)}function wt(e,t,n){Da.current!==Na&&i("168"),yt(Da,t,e),yt(La,n,e)}function kt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;r=r.getChildContext();for(var o in r)o in e||i("108",ee(t)||"Unknown",o);return ui({},n,r)}function Ot(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Na,Aa=Da.current,yt(Da,t,e),yt(La,La.current,e),!0}function Ct(e,t,n){var r=e.stateNode;r||i("169"),n?(t=kt(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=t,gt(La,e),gt(Da,e),yt(Da,t,e)):gt(La,e),yt(La,n,e)}function St(e){return function(t){try{return e(t)}catch(e){}}}function xt(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);Ia=St(function(e){return t.onCommitFiberRoot(n,e)}),ja=St(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Nt(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.contextDependencies=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 Dt(e,t,n,r){return new Nt(e,t,n,r)}function Lt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function At(e){if("function"===typeof e)return Lt(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===mo)return 11;if(e===go)return 14}return 2}function It(e,t){var n=e.alternate;return null===n?(n=Dt(e.tag,t,e.key,e.mode),n.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,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function jt(e,t,n,r,o,a){var u=2;if(r=e,"function"===typeof e)Lt(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case so:return Ft(n.children,o,a,t);case ho:return Mt(n,3|o,a,t);case lo:return Mt(n,2|o,a,t);case co:return e=Dt(12,n,t,4|o),e.elementType=co,e.type=co,e.expirationTime=a,e;case vo:return e=Dt(13,n,t,o),e.elementType=vo,e.type=vo,e.expirationTime=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case fo:u=10;break e;case po:u=9;break e;case mo:u=11;break e;case go:u=14;break e;case yo:u=16,r=null;break e}i("130",null==e?e:typeof e,"")}return t=Dt(u,n,t,o),t.elementType=e,t.type=r,t.expirationTime=a,t}function Ft(e,t,n,r){return e=Dt(7,e,r,t),e.expirationTime=n,e}function Mt(e,t,n,r){return e=Dt(8,e,r,t),t=0===(1&t)?lo:ho,e.elementType=t,e.type=t,e.expirationTime=n,e}function Pt(e,t,n){return e=Dt(6,e,null,t),e.expirationTime=n,e}function Rt(e,t,n){return t=Dt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vt(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),qt(t,e)}function Ut(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{tt?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),n=e.earliestSuspendedTime,0===n?Vt(e,t):tn&&Vt(e,t)}qt(0,e)}function Bt(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),qt(t,e)}function zt(e,t){var n=e.earliestPendingTime;return e=e.earliestSuspendedTime,n>t&&(t=n),e>t&&(t=e),t}function qt(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,o=t.latestPingedTime;i=0!==i?i:o,0===i&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}function Ht(e,t){if(e&&e.defaultProps){t=ui({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function Gt(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=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)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function Wt(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:ui({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function Qt(e,t,n,r,i,o,a){return e=e.stateNode,"function"===typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!xe(n,r)||!xe(i,o))}function Kt(e,t,n){var r=!1,i=Na,o=t.contextType;return"object"===typeof o&&null!==o?o=Bn(o):(i=Tt(t)?Aa:Da.current,r=t.contextTypes,o=(r=null!==r&&void 0!==r)?bt(e,i):Na),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ma,e.stateNode=t,t._reactInternalFiber=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Yt(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&&Ma.enqueueReplaceState(t,t.state,null)}function $t(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Fa;var o=t.contextType;"object"===typeof o&&null!==o?i.context=Bn(o):(o=Tt(t)?Aa:Da.current,i.context=bt(e,o)),o=e.updateQueue,null!==o&&($n(e,o,n,i,r),i.state=e.memoizedState),o=t.getDerivedStateFromProps,"function"===typeof o&&(Wt(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&&Ma.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&($n(e,o,n,i,r),i.state=e.memoizedState)),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}function Jt(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&i("309"),r=n.stateNode),r||i("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===Fa&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&i("284"),n._owner||i("290",e)}return e}function Xt(e,t){"textarea"!==e.type&&i("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Zt(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 o(e,t,n){return e=It(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rm?(v=f,f=null):v=f.sibling;var g=d(i,f,u[m],s);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),o=a(g,o,m),null===c?l=g:c.sibling=g,c=g,f=v}if(m===u.length)return n(i,f),l;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=d(o,m,y.value,l);if(null===b){m||(m=g);break}e&&m&&null===b.alternate&&t(o,m),u=a(b,u,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=p(o,y.value,l))&&(u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,r,a,s){var l="object"===typeof a&&null!==a&&a.type===so&&null===a.key;l&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case ao:e:{for(c=a.key,l=r;null!==l;){if(l.key===c){if(7===l.tag?a.type===so:l.elementType===a.type){n(e,l.sibling),r=o(l,a.type===so?a.props.children:a.props,s),r.ref=Jt(e,l,a),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}a.type===so?(r=Ft(a.props.children,e.mode,s,a.key),r.return=e,e=r):(s=jt(a.type,a.key,a.props,null,e.mode,s),s.ref=Jt(e,r,a),s.return=e,e=s)}return u(e);case uo:e:{for(l=a.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=o(r,a.children||[],s),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Rt(a,e.mode,s),r.return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,a,s),r.return=e,e=r):(n(e,r),r=Pt(a,e.mode,s),r.return=e,e=r),u(e);if(Pa(a))return m(e,r,a,s);if(Z(a))return v(e,r,a,s);if(c&&Xt(e,a),"undefined"===typeof a&&!l)switch(e.tag){case 1:case 0:s=e.type,i("152",s.displayName||s.name||"Component")}return n(e,r)}}function en(e){return e===Ua&&i("174"),e}function tn(e,t){yt(qa,t,e),yt(za,e,e),yt(Ba,Ua,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:it(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=it(t,n)}gt(Ba,e),yt(Ba,t,e)}function nn(e){gt(Ba,e),gt(za,e),gt(qa,e)}function rn(e){en(qa.current);var t=en(Ba.current),n=it(t,e.type);t!==n&&(yt(za,e,e),yt(Ba,n,e))}function on(e){za.current===e&&(gt(Ba,e),gt(za,e))}function an(){i("321")}function un(e,t){if(null===t)return!1;for(var n=0;nau&&(au=f)):a=l.eagerReducer===e?l.eagerState:e(a,l.action),u=l,l=l.next}while(null!==l&&l!==r);c||(s=u,o=a),Se(a,t.memoizedState)||(bu=!0),t.memoizedState=a,t.baseUpdate=s,t.baseState=o,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function hn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===uu?(uu={lastEffect:null},uu.lastEffect=e.next=e):(t=uu.lastEffect,null===t?uu.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,uu.lastEffect=e)),e}function mn(e,t,n,r){var i=cn();su|=e,i.memoizedState=hn(t,n,void 0,void 0===r?null:r)}function vn(e,t,n,r){var i=fn();r=void 0===r?null:r;var o=void 0;if(null!==tu){var a=tu.memoizedState;if(o=a.destroy,null!==r&&un(r,a.deps))return void hn(Ha,n,o,r)}su|=e,i.memoizedState=hn(t,n,o,r)}function gn(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function yn(){}function bn(e,t,n){25>fu||i("301");var r=e.alternate;if(e===eu||null!==r&&r===eu)if(lu=!0,e={expirationTime:Za,action:n,eagerReducer:null,eagerState:null,next:null},null===cu&&(cu=new Map),void 0===(n=cu.get(t)))cu.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{yr();var o=Fr();o=kr(o,e);var a={expirationTime:o,action:n,eagerReducer:null,eagerState:null,next:null},u=t.last;if(null===u)a.next=a;else{var s=u.next;null!==s&&(a.next=s),u.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,c=r(l,n);if(a.eagerReducer=r,a.eagerState=c,Se(c,l))return}catch(e){}xr(e,o)}}function Tn(e,t){var n=Dt(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 _n(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 En(e){if(gu){var t=vu;if(t){var n=t;if(!_n(e,t)){if(!(t=mt(n))||!_n(e,t))return e.effectTag|=2,gu=!1,void(mu=e);Tn(mu,n)}mu=e,vu=vt(t)}else e.effectTag|=2,gu=!1,mu=e}}function wn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;mu=e}function kn(e){if(e!==mu)return!1;if(!gu)return wn(e),gu=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!dt(t,e.memoizedProps))for(t=vu;t;)Tn(e,t),t=mt(t);return wn(e),vu=mu?mt(e.stateNode):null,!0}function On(){vu=mu=null,gu=!1}function Cn(e,t,n,r){t.child=null===e?Va(t,null,n,r):Ra(t,e.child,n,r)}function Sn(e,t,n,r,i){n=n.render;var o=t.ref;return Un(t,i),r=sn(e,t,n,r,o,i),null===e||bu?(t.effectTag|=1,Cn(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Mn(e,t,i))}function xn(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Lt(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=jt(n.type,null,r,null,t.mode,o),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Nn(e,t,a,r,i,o))}return a=e.child,i=n?Fn(e,t,n):(t=Mn(e,t,n),null!==t?t.sibling:null)}return Mn(e,t,n)}}else bu=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=bt(t,Da.current);if(Un(t,n),o=sn(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,ln(),Tt(r)){var a=!0;Ot(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var u=r.getDerivedStateFromProps;"function"===typeof u&&Wt(t,r,u,e),o.updater=Ma,t.stateNode=o,o._reactInternalFiber=t,$t(t,r,e,n),t=In(null,t,r,!0,a,n)}else t.tag=0,Cn(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=Gt(o),t.type=e,o=t.tag=At(e),a=Ht(e,a),u=void 0,o){case 0:u=Ln(null,t,e,a,n);break;case 1:u=An(null,t,e,a,n);break;case 11:u=Sn(null,t,e,a,n);break;case 14:u=xn(null,t,e,Ht(e.type,a),r,n);break;default:i("306",e,"")}return u;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),Ln(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),An(e,t,r,o,n);case 3:return jn(t),r=t.updateQueue,null===r&&i("282"),o=t.memoizedState,o=null!==o?o.element:null,$n(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===o?(On(),t=Mn(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(vu=vt(t.stateNode.containerInfo),mu=t,o=gu=!0),o?(t.effectTag|=2,t.child=Va(t,null,r,n)):(Cn(e,t,r,n),On()),t=t.child),t;case 5:return rn(t),null===e&&En(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,dt(r,o)?u=null:null!==a&&dt(r,a)&&(t.effectTag|=16),Dn(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Cn(e,t,u,n),t=t.child),t;case 6:return null===e&&En(t),null;case 13:return Fn(e,t,n);case 4:return tn(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ra(t,null,r,n):Cn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),Sn(e,t,r,o,n);case 7:return Cn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Cn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value,Rn(t,a),null!==u){var s=u.value;if(0===(a=Se(s,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,a):1073741823))){if(u.children===o.children&&!La.current){t=Mn(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.contextDependencies;if(null!==l){u=s.child;for(var c=l.first;null!==c;){if(c.context===r&&0!==(c.observedBits&a)){1===s.tag&&(c=Hn(n),c.tag=Cu,Wn(s,c)),s.expirationTime=t&&(bu=!0),e.contextDependencies=null}function Bn(e,t){return wu!==e&&!1!==t&&0!==t&&("number"===typeof t&&1073741823!==t||(wu=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Eu?(null===_u&&i("308"),Eu=t,_u.contextDependencies={first:t,expirationTime:0}):Eu=Eu.next=t),e._currentValue}function zn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function qn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Hn(e){return{expirationTime:e,tag:ku,payload:null,callback:null,next:null,nextEffect:null}}function Gn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Wn(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=zn(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=zn(e.memoizedState),i=n.updateQueue=zn(n.memoizedState)):r=e.updateQueue=qn(i):null===i&&(i=n.updateQueue=qn(r));null===i||r===i?Gn(r,t):null===r.lastUpdate||null===i.lastUpdate?(Gn(r,t),Gn(i,t)):(Gn(r,t),i.lastUpdate=t)}function Qn(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=zn(e.memoizedState):Kn(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=qn(t)),t}function Yn(e,t,n,r,i,o){switch(n.tag){case Ou:return e=n.payload,"function"===typeof e?e.call(o,r,i):e;case Su:e.effectTag=-2049&e.effectTag|64;case ku:if(e=n.payload,null===(i="function"===typeof e?e.call(o,r,i):e)||void 0===i)break;return ui({},r,i);case Cu:xu=!0}return r}function $n(e,t,n,r,i){xu=!1,t=Kn(e,t);for(var o=t.baseState,a=null,u=0,s=t.firstUpdate,l=o;null!==s;){var c=s.expirationTime;cr?o:r),Mu.current=null,r=void 0,1n?t:n,0===t&&(Yu=null),jr(e,t)}function Tr(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(1024&e.effectTag)){Vu=e;e:{var o=t;t=e;var a=Bu,u=t.pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Tt(t.type)&&_t(t);break;case 3:nn(t),Et(t),u=t.stateNode,u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),null!==o&&null!==o.child||(kn(t),t.effectTag&=-3),Du(t);break;case 5:on(t);var s=en(qa.current);if(a=t.type,null!==o&&null!=t.stateNode)Lu(o,t,a,u,s),o.ref!==t.ref&&(t.effectTag|=128);else if(u){var l=en(Ba.current);if(kn(t)){u=t,o=u.stateNode;var c=u.type,f=u.memoizedProps,p=s;switch(o[Ci]=u,o[Si]=f,a=void 0,s=c){case"iframe":case"object":Me("load",o);break;case"video":case"audio":for(c=0;c<\/script>",c=o.removeChild(o.firstChild)):"string"===typeof o.is?c=c.createElement(p,{is:o.is}):(c=c.createElement(p),"select"===p&&(p=c,o.multiple?p.multiple=!0:o.size&&(p.size=o.size))):c=c.createElementNS(l,p),o=c,o[Ci]=f,o[Si]=u,Nu(o,t,!1,!1),p=o,c=a,f=u;var d=s,h=lt(c,f);switch(c){case"iframe":case"object":Me("load",p),s=f;break;case"video":case"audio":for(s=0;su&&(u=o),s>u&&(u=s),a=a.sibling;t.childExpirationTime=u}if(null!==Vu)return Vu;null!==n&&0===(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=m?d=0:(-1===d||m component higher in the tree to provide a loading indicator or placeholder to display."+te(c))}qu=!0,f=Zn(f,c),s=l;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=u,u=cr(s,f,u),Qn(s,u);break e;case 1:if(d=f,h=s.type,c=s.stateNode,0===(64&s.effectTag)&&("function"===typeof h.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===Yu||!Yu.has(c)))){s.effectTag|=2048,s.expirationTime=u,u=fr(s,d,u),Qn(s,u);break e}}s=s.return}while(null!==s)}Vu=Tr(a);continue}o=!0,Hr(t)}}break}if(Ru=!1,Fu.current=n,wu=Eu=_u=null,ln(),o)Uu=null,e.finishedWork=null;else if(null!==Vu)e.finishedWork=null;else{if(n=e.current.alternate,null===n&&i("281"),Uu=null,qu){if(o=e.latestPendingTime,a=e.latestSuspendedTime,u=e.latestPingedTime,0!==o&&ot?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function wr(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Yu||!Yu.has(r)))return e=Zn(t,e),e=fr(n,e,1073741823),Wn(n,e),void xr(n,1073741823);break;case 3:return e=Zn(t,e),e=cr(n,e,1073741823),Wn(n,e),void xr(n,1073741823)}n=n.return}3===e.tag&&(n=Zn(t,e),n=cr(e,n,1073741823),Wn(e,n),xr(e,1073741823))}function kr(e,t){var n=si.unstable_getCurrentPriorityLevel(),r=void 0;if(0===(1&t.mode))r=1073741823;else if(Ru&&!Gu)r=Bu;else{switch(n){case si.unstable_ImmediatePriority:r=1073741823;break;case si.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case si.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case si.unstable_LowPriority:case si.unstable_IdlePriority:r=1;break;default:i("313")}null!==Uu&&r===Bu&&--r}return n===si.unstable_UserBlockingPriority&&(0===rs||r=r&&(e.didError=!1,t=e.latestPingedTime,(0===t||t>n)&&(e.latestPingedTime=n),qt(n,e),0!==(n=e.expirationTime)&&Mr(e,n)))}function Cr(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Fr(),t=kr(t,e),null!==(e=Sr(e,t))&&(Vt(e,t),0!==(t=e.expirationTime)&&Mr(e,t))}function Sr(e,t){e.expirationTimeBu&&dr(),Vt(e,t),Ru&&!Gu&&Uu===e||Mr(e,e.expirationTime),ds>ps&&(ds=0,i("185")))}function Nr(e,t,n,r,i){return si.unstable_runWithPriority(si.unstable_ImmediatePriority,function(){return e(t,n,r,i)})}function Dr(){cs=1073741822-((si.unstable_now()-ls)/10|0)}function Lr(e,t){if(0!==Xu){if(te.expirationTime&&(e.expirationTime=t),es||(as?us&&(ts=e,ns=1073741823,zr(e,1073741823,!1)):1073741823===t?Ur(1073741823,!1):Lr(e,t))}function Pr(){var e=0,t=null;if(null!==Ju)for(var n=Ju,r=$u;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===Ju)&&i("244"),r===r.nextScheduledRoot){$u=Ju=r.nextScheduledRoot=null;break}if(r===$u)$u=o=r.nextScheduledRoot,Ju.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===Ju){Ju=n,Ju.nextScheduledRoot=$u,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===Ju)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}ts=t,ns=e}function Rr(){return!!ms||!!si.unstable_shouldYield()&&(ms=!0)}function Vr(){try{if(!Rr()&&null!==$u){Dr();var e=$u;do{var t=e.expirationTime;0!==t&&cs<=t&&(e.nextExpirationTimeToWorkOn=cs),e=e.nextScheduledRoot}while(e!==$u)}Ur(0,!0)}finally{ms=!1}}function Ur(e,t){if(Pr(),t)for(Dr(),fs=cs;null!==ts&&0!==ns&&e<=ns&&!(ms&&cs>ns);)zr(ts,ns,cs>ns),Pr(),Dr(),fs=cs;else for(;null!==ts&&0!==ns&&e<=ns;)zr(ts,ns,!1),Pr();if(t&&(Xu=0,Zu=null),0!==ns&&Lr(ts,ns),ds=0,hs=null,null!==ss)for(e=ss,ss=null,t=0;t=n&&(null===ss?ss=[r]:ss.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===hs?ds++:(hs=e,ds=0),si.unstable_runWithPriority(si.unstable_ImmediatePriority,function(){br(e,t)})}function Hr(e){null===ts&&i("246"),ts.expirationTime=0,is||(is=!0,os=e)}function Gr(e,t){var n=as;as=!0;try{return e(t)}finally{(as=n)||es||Ur(1073741823,!1)}}function Wr(e,t){if(as&&!us){us=!0;try{return e(t)}finally{us=!1}}return e(t)}function Qr(e,t,n){as||es||0===rs||(Ur(rs,!1),rs=0);var r=as;as=!0;try{return si.unstable_runWithPriority(si.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(as=r)||es||Ur(1073741823,!1)}}function Kr(e,t,n,r,o){var a=t.current;e:if(n){n=n._reactInternalFiber;t:{2===Ne(n)&&1===n.tag||i("170");var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Tt(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);i("171"),u=void 0}if(1===n.tag){var s=n.type;if(Tt(s)){n=kt(n,s,u);break e}}n=u}else n=Na;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Hn(r),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),yr(),Wn(a,o),xr(a,r),r}function Yr(e,t,n,r){var i=t.current;return i=kr(Fr(),i),Kr(e,t,n,i,r)}function $r(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Jr(e,t,n){var r=3=Pu&&(t=Pu-1),this._expirationTime=Pu=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Zr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ei(e,t,n){t=Dt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function ti(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ni(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ei(e,!1,t)}function ri(e,t,n,r,i){var o=n._reactRootContainer;if(o){if("function"===typeof i){var a=i;i=function(){var e=$r(o._internalRoot);a.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,t,i):o.render(t,i)}else{if(o=n._reactRootContainer=ni(n,r),"function"===typeof i){var u=i;i=function(){var e=$r(o._internalRoot);u.call(e)}}Wr(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,t,i):o.render(t,i)})}return $r(o._internalRoot)}function ii(e,t){var n=2=Hi),Qi=String.fromCharCode(32),Ki={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(" ")}},Yi=!1,$i=!1,Ji={eventTypes:Ki,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(qi)e:{switch(e){case"compositionstart":i=Ki.compositionStart;break e;case"compositionend":i=Ki.compositionEnd;break e;case"compositionupdate":i=Ki.compositionUpdate;break e}i=void 0}else $i?F(e,n)&&(i=Ki.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Ki.compositionStart);return i?(Wi&&"ko"!==n.locale&&($i||i!==Ki.compositionStart?i===Ki.compositionEnd&&$i&&(o=x()):(Pi=r,Ri="value"in Pi?Pi.value:Pi.textContent,$i=!0)),i=Ui.getPooled(i,t,n,r),o?i.data=o:null!==(o=M(n))&&(i.data=o),O(i),o=i):o=null,(e=Gi?P(e,n):R(e,n))?(t=Bi.getPooled(Ki.beforeInput,t,n,r),t.data=e,O(t)):t=null,null===o?t:null===t?o:[o,t]}},Xi=null,Zi=null,eo=null,to=!1,no={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},ro=ai.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ro.hasOwnProperty("ReactCurrentDispatcher")||(ro.ReactCurrentDispatcher={current:null});var io=/^(.*)[\\\/]/,oo="function"===typeof Symbol&&Symbol.for,ao=oo?Symbol.for("react.element"):60103,uo=oo?Symbol.for("react.portal"):60106,so=oo?Symbol.for("react.fragment"):60107,lo=oo?Symbol.for("react.strict_mode"):60108,co=oo?Symbol.for("react.profiler"):60114,fo=oo?Symbol.for("react.provider"):60109,po=oo?Symbol.for("react.context"):60110,ho=oo?Symbol.for("react.concurrent_mode"):60111,mo=oo?Symbol.for("react.forward_ref"):60112,vo=oo?Symbol.for("react.suspense"):60113,go=oo?Symbol.for("react.memo"):60115,yo=oo?Symbol.for("react.lazy"):60116,bo="function"===typeof Symbol&&Symbol.iterator,To=/^[: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]*$/,_o=Object.prototype.hasOwnProperty,Eo={},wo={},ko={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ko[e]=new oe(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ko[t]=new oe(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ko[e]=new oe(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ko[e]=new oe(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ko[e]=new oe(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ko[e]=new oe(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ko[e]=new oe(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ko[e]=new oe(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ko[e]=new oe(e,5,!1,e.toLowerCase(),null)});var Oo=/[\-:]([a-z])/g;"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(Oo,ae);ko[t]=new oe(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oo,ae);ko[t]=new oe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oo,ae);ko[t]=new oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ko[e]=new oe(e,1,!1,e.toLowerCase(),null)});var Co={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},So=null,xo=null,No=!1;xi&&(No=K("input")&&(!document.documentMode||9=document.documentMode,la={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ca=null,fa=null,pa=null,da=!1,ha={eventTypes:la,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Ue(o),i=bi.onSelect;for(var a=0;a"+t+"",t=va.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ya={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},ba=["Webkit","ms","Moz","O"];Object.keys(ya).forEach(function(e){ba.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ya[t]=ya[e]})});var Ta=ui({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}),_a=null,Ea=null,wa="function"===typeof setTimeout?setTimeout:void 0,ka="function"===typeof clearTimeout?clearTimeout:void 0,Oa=si.unstable_scheduleCallback,Ca=si.unstable_cancelCallback;new Set;var Sa=[],xa=-1,Na={},Da={current:Na},La={current:!1},Aa=Na,Ia=null,ja=null,Fa=(new ai.Component).refs,Ma={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Fr();r=kr(r,e);var i=Hn(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),yr(),Wn(e,i),xr(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Fr();r=kr(r,e);var i=Hn(r);i.tag=Ou,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),yr(),Wn(e,i),xr(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Fr();n=kr(n,e);var r=Hn(n);r.tag=Cu,void 0!==t&&null!==t&&(r.callback=t),yr(),Wn(e,r),xr(e,n)}},Pa=Array.isArray,Ra=Zt(!0),Va=Zt(!1),Ua={},Ba={current:Ua},za={current:Ua},qa={current:Ua},Ha=0,Ga=2,Wa=4,Qa=8,Ka=16,Ya=32,$a=64,Ja=128,Xa=ro.ReactCurrentDispatcher,Za=0,eu=null,tu=null,nu=null,ru=null,iu=null,ou=null,au=0,uu=null,su=0,lu=!1,cu=null,fu=0,pu={readContext:Bn,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an},du={readContext:Bn,useCallback:function(e,t){return cn().memoizedState=[e,void 0===t?null:t],e},useContext:Bn,useEffect:function(e,t){return mn(516,Ja|$a,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,mn(4,Wa|Ya,gn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mn(4,Wa|Ya,e,t)},useMemo:function(e,t){var n=cn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=bn.bind(null,eu,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:function(e){var t=cn();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:pn,lastRenderedState:e},e=e.dispatch=bn.bind(null,eu,e),[t.memoizedState,e]},useDebugValue:yn},hu={readContext:Bn,useCallback:function(e,t){var n=fn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&un(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bn,useEffect:function(e,t){return vn(516,Ja|$a,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,vn(4,Wa|Ya,gn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vn(4,Wa|Ya,e,t)},useMemo:function(e,t){var n=fn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&un(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:dn,useRef:function(){return fn().memoizedState},useState:function(e){return dn(pn)},useDebugValue:yn},mu=null,vu=null,gu=!1,yu=ro.ReactCurrentOwner,bu=!1,Tu={current:null},_u=null,Eu=null,wu=null,ku=0,Ou=1,Cu=2,Su=3,xu=!1,Nu=void 0,Du=void 0,Lu=void 0,Au=void 0;Nu=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}},Du=function(){},Lu=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var a=t.stateNode;switch(en(Ba.current),e=null,n){case"input":o=le(a,o),r=le(a,r),e=[];break;case"option":o=Je(a,o),r=Je(a,r),e=[];break;case"select":o=ui({},o,{value:void 0}),r=ui({},r,{value:void 0}),e=[];break;case"textarea":o=Ze(a,o),r=Ze(a,r),e=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(a.onclick=ft)}st(n,r),a=n=void 0;var u=null;for(n in o)if(!r.hasOwnProperty(n)&&o.hasOwnProperty(n)&&null!=o[n])if("style"===n){var s=o[n];for(a in s)s.hasOwnProperty(a)&&(u||(u={}),u[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(yi.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var l=r[n];if(s=null!=o?o[n]:void 0,r.hasOwnProperty(n)&&l!==s&&(null!=l||null!=s))if("style"===n)if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(u||(u={}),u[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(u||(u={}),u[a]=l[a])}else u||(e||(e=[]),e.push(n,u)),u=l;else"dangerouslySetInnerHTML"===n?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(e=e||[]).push(n,""+l)):"children"===n?s===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(n,""+l):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(yi.hasOwnProperty(n)?(null!=l&&ct(i,n),e||s===l||(e=[])):(e=e||[]).push(n,l))}u&&(e=e||[]).push("style",u),i=e,(t.updateQueue=i)&&er(t)}},Au=function(e,t,n,r){n!==r&&er(t)};var Iu="function"===typeof WeakSet?WeakSet:Set,ju="function"===typeof WeakMap?WeakMap:Map,Fu=ro.ReactCurrentDispatcher,Mu=ro.ReactCurrentOwner,Pu=1073741822,Ru=!1,Vu=null,Uu=null,Bu=0,zu=-1,qu=!1,Hu=null,Gu=!1,Wu=null,Qu=null,Ku=null,Yu=null,$u=null,Ju=null,Xu=0,Zu=void 0,es=!1,ts=null,ns=0,rs=0,is=!1,os=null,as=!1,us=!1,ss=null,ls=si.unstable_now(),cs=1073741822-(ls/10|0),fs=cs,ps=50,ds=0,hs=null,ms=!1;Xi=function(e,t,n){switch(t){case"input":if(pe(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=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},z=Gr,q=Qr,H=function(){es||0===rs||(Ur(rs,!1),rs=0)};var vs={createPortal:ii,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?i("188"):i("268",Object.keys(e))),e=Ae(t),e=null===e?null:e.stateNode},hydrate:function(e,t,n){return ti(t)||i("200"),ri(null,e,t,!0,n)},render:function(e,t,n){return ti(t)||i("200"),ri(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return ti(n)||i("200"),(null==e||void 0===e._reactInternalFiber)&&i("38"),ri(e,t,n,!1,r)},unmountComponentAtNode:function(e){return ti(e)||i("40"),!!e._reactRootContainer&&(Wr(function(){ri(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return ii.apply(void 0,arguments)},unstable_batchedUpdates:Gr,unstable_interactiveUpdates:Qr,flushSync:function(e,t){es&&i("187");var n=as;as=!0;try{return Nr(e,t)}finally{as=n,Ur(1073741823,!1)}},unstable_createRoot:oi,unstable_flushControlled:function(e){var t=as;as=!0;try{Nr(e)}finally{(as=t)||es||Ur(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[g,y,b,ki.injectEventPluginsByName,gi,O,function(e){p(e,k)},U,B,Ve,m]}};!function(e){var t=e.findFiberByHostInstance;xt(ui({},e,{overrideProps:null,currentDispatcherRef:ro.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ae(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:v,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var gs={default:vs},ys=gs&&vs||gs;e.exports=ys.default||ys},function(e,t,n){"use strict";e.exports=n(145)},function(e,t,n){"use strict";(function(e){function n(){if(!h){var e=l.expirationTime;m?w():m=!0,E(o,e)}}function r(){var e=l,t=l.next;if(l===t)l=null;else{var r=l.previous;l=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=f,o=d;f=e,d=t;try{var a=r()}finally{f=i,d=o}if("function"===typeof a)if(a={callback:a,priorityLevel:e,expirationTime:t,next:null,previous:null},null===l)l=a.next=a.previous=a;else{r=null,e=l;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==l);null===r?r=l:r===l&&(l=a,n()),t=r.previous,t.next=r.previous=a,a.next=r,a.previous=t}}function i(){if(-1===p&&null!==l&&1===l.priorityLevel){h=!0;try{do{r()}while(null!==l&&1===l.priorityLevel)}finally{h=!1,null!==l?n():m=!1}}}function o(e){h=!0;var o=c;c=e;try{if(e)for(;null!==l;){var a=t.unstable_now();if(!(l.expirationTime<=a))break;do{r()}while(null!==l&&l.expirationTime<=a)}else if(null!==l)do{r()}while(null!==l&&!k())}finally{h=!1,c=o,null!==l?n():m=!1,i()}}function a(e){u=b(function(t){y(s),e(t)}),s=g(function(){T(u),e(t.unstable_now())},100)}Object.defineProperty(t,"__esModule",{value:!0});var u,s,l=null,c=!1,f=3,p=-1,d=-1,h=!1,m=!1,v=Date,g="function"===typeof setTimeout?setTimeout:void 0,y="function"===typeof clearTimeout?clearTimeout:void 0,b="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,T="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0;if("object"===typeof performance&&"function"===typeof performance.now){var _=performance;t.unstable_now=function(){return _.now()}}else t.unstable_now=function(){return v.now()};var E,w,k,O=null;if("undefined"!==typeof window?O=window:"undefined"!==typeof e&&(O=e),O&&O._schedMock){var C=O._schedMock;E=C[0],w=C[1],k=C[2],t.unstable_now=C[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var S=null,x=function(e){if(null!==S)try{S(e)}finally{S=null}};E=function(e){null!==S?setTimeout(E,0,e):(S=e,setTimeout(x,0,!1))},w=function(){S=null},k=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof b&&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 T&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var N=null,D=!1,L=-1,A=!1,I=!1,j=0,F=33,M=33;k=function(){return j<=t.unstable_now()};var P=new MessageChannel,R=P.port2;P.port1.onmessage=function(){D=!1;var e=N,n=L;N=null,L=-1;var r=t.unstable_now(),i=!1;if(0>=j-r){if(!(-1!==n&&n<=r))return A||(A=!0,a(V)),N=e,void(L=n);i=!0}if(null!==e){I=!0;try{e(i)}finally{I=!1}}};var V=function(e){if(null!==N){a(V);var t=e-j+M;tt&&(t=8),M=tt?R.postMessage(void 0):A||(A=!0,a(V))},w=function(){N=null,D=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f,o=p;f=e,p=t.unstable_now();try{return n()}finally{f=r,p=o,i()}},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var n=3;break;default:n=f}var r=f,o=p;f=n,p=t.unstable_now();try{return e()}finally{f=r,p=o,i()}},t.unstable_scheduleCallback=function(e,r){var i=-1!==p?p:t.unstable_now();if("object"===typeof r&&null!==r&&"number"===typeof r.timeout)r=i+r.timeout;else switch(f){case 1:r=i+-1;break;case 2:r=i+250;break;case 5:r=i+1073741823;break;case 4:r=i+1e4;break;default:r=i+5e3}if(e={callback:e,priorityLevel:f,expirationTime:r,next:null,previous:null},null===l)l=e.next=e.previous=e,n();else{i=null;var o=l;do{if(o.expirationTime>r){i=o;break}o=o.next}while(o!==l);null===i?i=l:i===l&&(l=e,n()),r=i.previous,r.next=i.previous=e,e.next=i,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)l=null;else{e===l&&(l=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=f;return function(){var r=f,o=p;f=n,p=t.unstable_now();try{return e.apply(this,arguments)}finally{f=r,p=o,i()}}},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_shouldYield=function(){return!c&&(null!==l&&l.expirationTime0){var r=this.getQueryEditor();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 u=i;t.forEach(function(e){var t=e.index,n=e.string;t=i){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}},{key:"_didClickDragBar",value: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=y.default.findDOMNode(this.resultComponent);t;){if(t===n)return!0;t=t.parentNode}return!1}}]),n}(h.default.Component);W.propTypes={fetcher:v.default.func.isRequired,schema:v.default.instanceOf(b.GraphQLSchema),query:v.default.string,variables:v.default.string,operationName:v.default.string,response:v.default.string,storage:v.default.shape({getItem:v.default.func,setItem:v.default.func,removeItem:v.default.func}),defaultQuery:v.default.string,onEditQuery:v.default.func,onEditVariables:v.default.func,onEditOperationName:v.default.func,onToggleDocs:v.default.func,getDefaultFieldNames:v.default.func,editorTheme:v.default.string,onToggleHistory:v.default.func,ResultsTooltip:v.default.any};var Q=function(){var e=this;this.handleClickReference=function(t){e.setState({docExplorerOpen:!0},function(){e.docExplorerComponent.showDocForReference(t)})},this.handleRunQuery=function(t){e._editorQueryID++;var n=e._editorQueryID,r=e.autoCompleteLeafs()||e.state.query,i=e.state.variables,o=e.state.operationName;t&&t!==o&&(o=t,e.handleEditOperationName(o));try{e.setState({isWaitingForResponse:!0,response:null,operationName:o});var a=e._fetchQuery(r,i,o,function(t){n===e._editorQueryID&&e.setState({isWaitingForResponse:!1,response:JSON.stringify(t,null,2)})});e.setState({subscription:a})}catch(t){e.setState({isWaitingForResponse:!1,response:t.message})}},this.handleStopQuery=function(){var t=e.state.subscription;e.setState({isWaitingForResponse:!1,subscription:null}),t&&t.unsubscribe()},this.handlePrettifyQuery=function(){var t=e.getQueryEditor();t.setValue((0,b.print)((0,b.parse)(t.getValue())))},this.handleEditQuery=(0,V.default)(100,function(t){var n=e._updateQueryFacts(t,e.state.operationName,e.state.operations,e.state.schema);if(e.setState(f({query:t},n)),e.props.onEditQuery)return e.props.onEditQuery(t)}),this._updateQueryFacts=function(t,n,r,i){var o=(0,F.default)(i,t);if(o){var a=(0,P.default)(r,n,o.operations),u=e.props.onEditOperationName;return u&&n!==a&&u(a),f({operationName:a},o)}},this.handleEditVariables=function(t){e.setState({variables:t}),e.props.onEditVariables&&e.props.onEditVariables(t)},this.handleEditOperationName=function(t){var n=e.props.onEditOperationName;n&&n(t)},this.handleHintInformationRender=function(t){t.addEventListener("click",e._onClickHintInformation);var n=void 0;t.addEventListener("DOMNodeRemoved",n=function(){t.removeEventListener("DOMNodeRemoved",n),t.removeEventListener("click",e._onClickHintInformation)})},this.handleEditorRunQuery=function(){e._runQueryAtCursor()},this._onClickHintInformation=function(t){if("typeName"===t.target.className){var n=t.target.innerHTML,r=e.state.schema;if(r){var i=r.getType(n);i&&e.setState({docExplorerOpen:!0},function(){e.docExplorerComponent.showDoc(i)})}}},this.handleToggleDocs=function(){"function"===typeof e.props.onToggleDocs&&e.props.onToggleDocs(!e.state.docExplorerOpen),e.setState({docExplorerOpen:!e.state.docExplorerOpen})},this.handleToggleHistory=function(){"function"===typeof e.props.onToggleHistory&&e.props.onToggleHistory(!e.state.historyPaneOpen),e.setState({historyPaneOpen:!e.state.historyPaneOpen})},this.handleSelectHistoryQuery=function(t,n,r){e.handleEditQuery(t),e.handleEditVariables(n),e.handleEditOperationName(r)},this.handleResizeStart=function(t){if(e._didClickDragBar(t)){t.preventDefault();var n=t.clientX-(0,q.getLeft)(t.target),r=function(t){if(0===t.buttons)return i();var r=y.default.findDOMNode(e.editorBarComponent),o=t.clientX-(0,q.getLeft)(r)-n,a=r.clientWidth-o;e.setState({editorFlex:o/a})},i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i),r=null,i=null});document.addEventListener("mousemove",r),document.addEventListener("mouseup",i)}},this.handleResetResize=function(){e.setState({editorFlex:1})},this.handleDocsResizeStart=function(t){t.preventDefault();var n=e.state.docExplorerWidth,r=t.clientX-(0,q.getLeft)(t.target),i=function(t){if(0===t.buttons)return o();var n=y.default.findDOMNode(e),i=t.clientX-(0,q.getLeft)(n)-r,a=n.clientWidth-i;a<100?e.setState({docExplorerOpen:!1}):e.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(a,650)})},o=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.state.docExplorerOpen||e.setState({docExplorerWidth:n}),document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",o),i=null,o=null});document.addEventListener("mousemove",i),document.addEventListener("mouseup",o)},this.handleDocsResetResize=function(){e.setState({docExplorerWidth:G})},this.handleVariableResizeStart=function(t){t.preventDefault();var n=!1,r=e.state.variableEditorOpen,i=e.state.variableEditorHeight,o=t.clientY-(0,q.getTop)(t.target),a=function(t){if(0===t.buttons)return u();n=!0;var r=y.default.findDOMNode(e.editorBarComponent),a=t.clientY-(0,q.getTop)(r)-o,s=r.clientHeight-a;s<60?e.setState({variableEditorOpen:!1,variableEditorHeight:i}):e.setState({variableEditorOpen:!0,variableEditorHeight:s})},u=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){n||e.setState({variableEditorOpen:!r}),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",u),a=null,u=null});document.addEventListener("mousemove",a),document.addEventListener("mouseup",u)}};W.Logo=function(e){return h.default.createElement("div",{className:"title"},e.children||h.default.createElement("span",null,"Graph",h.default.createElement("em",null,"i"),"QL"))},W.Toolbar=function(e){return h.default.createElement("div",{className:"toolbar"},e.children)},W.QueryEditor=O.QueryEditor,W.VariableEditor=C.VariableEditor,W.ResultViewer=S.ResultViewer,W.Button=_.ToolbarButton,W.ToolbarButton=_.ToolbarButton,W.Group=E.ToolbarGroup,W.Menu=w.ToolbarMenu,W.MenuItem=w.ToolbarMenuItem,W.Select=k.ToolbarSelect,W.SelectOption=k.ToolbarSelectOption,W.Footer=function(e){return h.default.createElement("div",{className:"footer"},e.children)};var K='# 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 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# Run Query: Ctrl-Enter (or press the play button above)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n\n'}).call(t,n(23))},function(e,t,n){"use strict";function r(){}function i(){}var o=n(150);i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t,n,r,i,a,u){var s=arguments;return new Promise(function(l){return l(1===s.length?o(e.schema,e.source,e.rootValue,e.contextValue,e.variableValues,e.operationName,e.fieldResolver):o(e,t,n,r,i,a,u))})}function i(e,t,n,r,i,a,u){var s=1===arguments.length?o(e.schema,e.source,e.rootValue,e.contextValue,e.variableValues,e.operationName,e.fieldResolver):o(e,t,n,r,i,a,u);if(s.then)throw new Error("GraphQL execution failed to complete synchronously.");return s}function o(e,t,n,r,i,o,c){var f=Object(a.b)(e);if(f.length>0)return{errors:f};var p=void 0;try{p=Object(u.a)(t)}catch(e){return{errors:[e]}}var d=Object(s.a)(e,p);return d.length>0?{errors:d}:Object(l.g)(e,p,n,r,i,o,c)}t.a=r,t.b=i;var a=n(32),u=n(25),s=n(79),l=n(36)},function(e,t,n){"use strict";function r(e,t,n){return new i.a("Syntax Error: "+n,void 0,e,[t])}t.a=r;var i=n(17)},function(e,t,n){"use strict";function r(e){return e||Object(i.a)(0,"Received null or undefined error."),o({},e.extensions,{message:e.message||"An unknown error occurred.",locations:e.locations,path:e.path})}t.a=r;var i=n(9),o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(b).join(", ")+")":"(\n"+t.map(function(t,r){return E(e,t," "+n,!r)+" "+n+b(t)}).join("\n")+"\n"+n+")"}function b(e){var t=e.name+": "+String(e.type);return Object(x.a)(e.defaultValue)||(t+=" = "+Object(L.a)(Object(D.a)(e.defaultValue,e.type))),t}function T(e,t){return E(t,e)+"directive @"+e.name+y(t,e.args)+" on "+e.locations.join(" | ")}function _(e){if(!e.isDeprecated)return"";var t=e.deprecationReason;return Object(S.a)(t)||""===t||t===j.a?" @deprecated":" @deprecated(reason: "+Object(L.a)(Object(D.a)(t,I.e))+")"}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t.description)return"";var i=O(t.description,120-n.length);if(e&&e.commentDescriptions)return k(i,n,r);var o=n&&!r?"\n"+n+'"""':n+'"""';if(1===i.length&&i[0].length<70&&'"'!==i[0][i[0].length-1])return o+w(i[0])+'"""\n';var a=" "===i[0][0]||"\t"===i[0][0];a||(o+="\n");for(var u=0;u1,i=null;if(r&&n){var o=this.state.highlight;i=l.default.createElement("ul",{className:"execute-options"},t.map(function(t){return l.default.createElement("li",{key:t.name?t.name.value:"*",className:t===o&&"selected"||null,onMouseOver:function(){return e.setState({highlight:t})},onMouseOut:function(){return e.setState({highlight:null})},onMouseUp:function(){return e._onOptionSelected(t)}},t.name?t.name.value:"")}))}var a=void 0;!this.props.isRunning&&r||(a=this._onClick);var u=void 0;this.props.isRunning||!r||n||(u=this._onOptionsOpen);var s=this.props.isRunning?l.default.createElement("path",{d:"M 10 10 L 23 10 L 23 23 L 10 23 z"}):l.default.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"});return l.default.createElement("div",{className:"execute-button-wrap"},l.default.createElement("button",{type:"button",className:"execute-button",onMouseDown:u,onClick:a,title:"Execute Query (Ctrl-Enter)"},l.default.createElement("svg",{width:"34",height:"34"},s)),i)}}]),t}(l.default.Component)).propTypes={onRun:f.default.func,onStop:f.default.func,isRunning:f.default.bool,operations:f.default.array}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(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 u(e){e.preventDefault()}Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarButton=void 0;var s=function(){function e(e,t){for(var n=0;n=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new c,this.renderer=new l,this.linkify=new d,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=u,this.helpers=u.assign({},s),this.options={},this.configure(e),t&&this.set(t)}var u=n(2),s=n(191),l=n(195),c=n(196),f=n(204),p=n(218),d=n(231),h=n(109),m=n(233),v={default:n(235),zero:n(236),commonmark:n(237)},g=/^(vbscript|javascript|file|data):/,y=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=v[t])))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},a.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},a.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},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.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},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&o+1=56320&&s<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&s<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(s),t+=6):240===(248&i)&&t+91114111?l+="\ufffd\ufffd\ufffd\ufffd":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="\ufffd";return l})}var o={};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}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(s),c=["'"].concat(l),f=["%","/","?",";","#"].concat(c),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={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,i,a,s,l=e;if(l=l.trim(),!t&&1===e.split("#").length){var c=u.exec(l);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var g=o.exec(l);if(g&&(g=g[0],i=g.toLowerCase(),this.protocol=g,l=l.substr(g.length)),(t||g||l.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===l.substr(0,2))||g&&m[g]||(l=l.substr(2),this.slashes=!0)),!m[g]&&(s||g&&!v[g])){var y=-1;for(n=0;n127?O+="x":O+=k[C];if(!O.match(d)){var x=w.slice(0,n),N=w.slice(n+1),D=k.match(h);D&&(x.push(D[1]),N.unshift(D[2])),N.length&&(l=N.join(".")+l),this.hostname=x.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=l.indexOf("#");-1!==L&&(this.hash=l.substr(L),l=l.slice(0,L));var A=l.indexOf("?");return-1!==A&&(this.search=l.substr(A),l=l.slice(0,A)),l&&(this.pathname=l),v[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=i},function(e,t,n){"use strict";t.Any=n(110),t.Cc=n(111),t.Cf=n(190),t.P=n(59),t.Z=n(112)},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,u=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos=n)return s;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return s;for(t++,40===o&&(o=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,i){var o=e[t];return""+a(e[t].content)+"
\n"},u.fence=function(e,t,n,r,i){var u,s,l,c,f=e[t],p=f.info?o(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"
\n"):""+u+"
\n"},u.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)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,u=e.length;a\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=n(2).arrayReplaceAt;e.exports=function(e){var t,n,a,u,s,l,c,f,p,d,h,m,v,g,y,b,T,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n=0;t--)if(l=u[t],"link_close"!==l.type){if("html_inline"===l.type&&(r(l.content)&&v>0&&v--,i(l.content)&&v++),!(v>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(p=l.content,T=e.md.linkify.match(p),c=[],m=l.level,h=0,f=0;fh&&(s=new e.Token("text","",0),s.content=p.slice(h,d),s.level=m,c.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",y]],s.level=m++,s.markup="linkify",s.info="auto",c.push(s),s=new e.Token("text","",0),s.content=b,s.level=m,c.push(s),s=new e.Token("link_close","a",-1),s.level=--m,s.markup="linkify",s.info="auto",c.push(s),h=T[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(s,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,l={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};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&&(u.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,s,f,p,d,h,m,v,g,y,b,T,_,E,w,k,O,C,S,x;for(C=[],n=0;n=0&&!(C[k].level<=h);k--);if(C.length=k+1,"text"===i.type){s=i.content,p=0,d=s.length;e:for(;p=0)v=s.charCodeAt(f.index-1);else for(k=n-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if("text"===e[k].type){v=e[k].content.charCodeAt(e[k].content.length-1);break}if(g=32,p=48&&v<=57&&(w=E=!1),E&&w&&(E=!1,w=b),E||w){if(w)for(k=C.length-1;k>=0&&(m=C[k],!(C[k].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=n(61);r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=s){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(l++))&&45!==u&&58!==u)return!1;for(;l=4)return!1;if(p=i(s.replace(/^\||\|$/g,"")),(d=p.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=g=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],c=0;c=4);f++){for(p=i(s.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),c=0;c=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,a,u,s,l,c,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(s=p,p=e.skipChars(p,i),(o=p-s)<3)return!1;if(c=e.src.slice(s,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=s=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4)&&!((p=e.skipChars(p,i))-s=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(i)return!0;for(s=d=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,d++,o=!1,T=!0):9===e.src.charCodeAt(C)?(T=!0,(e.bsCount[t]+d)%4===3?(C++,s++,d++,o=!1):o=!0):T=!1,h=[e.bMarks[t]],e.bMarks[t]=C;C=S,y=[e.sCount[t]],e.sCount[t]=d-s,b=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",k=!1,p=t+1;p=S));p++)if(62!==e.src.charCodeAt(C++)||k){if(c)break;for(_=!1,u=0,l=E.length;u=S,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(T?1:0),y.push(e.sCount[p]),e.sCount[p]=d-s,b.push(e.tShift[p]),e.tShift[p]=C-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,w=e.push("blockquote_open","blockquote",1),w.markup=">",w.map=f=[t,0],e.md.block.tokenize(e,t,p),w=e.push("blockquote_close","blockquote",-1),w.markup=">",e.lineMax=O,e.parentType=g,f[1]=e.line,u=0;u=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(a=1;l=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(F=!0),(N=i(e,t))>=0){if(d=!0,L=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(L,N-L-1)),F&&1!==b)return!1}else{if(!((N=r(e,t))>=0))return!1;d=!1}if(F&&e.skipSpaces(N)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(N-1),a)return!0;for(g=e.tokens.length,d?(j=e.push("ordered_list_open","ol",1),1!==b&&(j.attrs=[["start",b]])):j=e.push("bullet_list_open","ul",1),j.map=v=[t,0],j.markup=String.fromCharCode(y),_=t,D=!1,I=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";_=T?1:E-p,f>4&&(f=1),c=p+f,j=e.push("list_item_open","li",1),j.markup=String.fromCharCode(y),j.map=h=[t,0],w=e.blkIndent,S=e.tight,C=e.tShift[t],k=e.sCount[t],e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=T&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(M=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=w,e.tShift[t]=C,e.sCount[t]=k,e.tight=S,j=e.push("list_item_close","li",-1),j.markup=String.fromCharCode(y),_=t=e.line,h[1]=_,s=e.bMarks[t],_>=n)break;if(e.sCount[_]=4)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w3)&&!(e.sCount[O]<0)){for(b=!1,f=0,p=T.length;f=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(a=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&r(e.src.charCodeAt(u-1))&&(c=u),e.line=t+1,s=e.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[t,e.line],s=e.push("inline","",0),s.content=e.src.slice(l,c).trim(),s.map=[t,e.line],s.children=[],s=e.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,u,s,l,c,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";d3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d],l=e.eMarks[d],s=l))){c=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,u,s,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,c),i=0;i3)&&!(e.sCount[s]<0)){for(r=!1,i=0,o=l.length;i0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,u,s,l,c,f,p=e;if(e>=t)return"";for(c=new Array(t-e),i=0;pn?new Array(a-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return c.join("")},r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,u=new this.State(e,t,n,r);for(this.tokenize(u),o=this.ruler2.getRules(""),a=o.length,i=0;i=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o?@[]^_`{|}~-".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=v)return!1;for(g=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok&&(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h=""),g=l;l=v||41!==e.src.charCodeAt(l))&&(y=!0),l++}if(y){if("undefined"===typeof e.env.references)return!1;if(l