1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[132],{9366:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){var t={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(t.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function u(e){this.map={},e instanceof u?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function s(e){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}function c(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function f(e){var t=new FileReader,n=c(t);return t.readAsArrayBuffer(e),n}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e){if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var n;t.arrayBuffer&&t.blob&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e)}}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=s(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var e,t,n,r=s(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=c(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},t.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}u.prototype.append=function(e,t){e=o(e),t=a(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[o(e)]},u.prototype.get=function(e){return e=o(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(o(e))},u.prototype.set=function(e,t){this.map[o(e)]=a(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},u.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},u.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);
1var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function m(e,t){var n,r,i=(t=t||{}).body;if(e instanceof m){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new u(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),h.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function y(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 g(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},d.call(m.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];g.redirect=function(e,t){if(-1===v.indexOf(t))throw RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function b(n,r){return new Promise(function(i,o){var a=new m(n,r);if(a.signal&&a.signal.aborted)return o(new e.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new u,e.replace(/\r?\n[\t ]+/g," ").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)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL"),i(new g("response"in l?l.response:l.responseText,n))},l.onerror=function(){o(TypeError("Network request failed"))},l.ontimeout=function(){o(TypeError("Network request failed"))},l.onabort=function(){o(new e.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&t.blob&&(l.responseType="blob"),a.headers.forEach(function(e,t){l.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)})}b.polyfill=!0,r.fetch||(r.fetch=b,r.Headers=u,r.Request=m,r.Response=g),e.Headers=u,e.Request=m,e.Response=g,e.fetch=b,Object.defineProperty(e,"__esModule",{value:!0})})({}),r.fetch.ponyfill=!0,delete r.fetch.polyfill,(t=r.fetch).default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t},5379:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p<d;++p)if(t=arguments[p],null!=t)for(n in t)r=u(f,n),f!==(i=u(t,n))&&(h&&i&&(a(i)||(s=o(i)))?(s?(s=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},l(f,{name:n,newValue:e(h,c,i)})):void 0!==i&&l(f,{name:n,newValue:i}));return f}},8375:function(e){"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},3436:function(e,t,n){"use strict";var r=n(3670);e.exports=function e(t,n,i){void 0===n&&(n=""),void 0===i&&(i=r);var o,a=new Map;function l(e,t){var n=a.get(t);n?n.push.apply(n,e):a.set(t,e)}if(i(t))o=null,l([n],t);else{var u=n?n+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)o=Array.prototype.map.call(t,function(e,t){return l([""+u+t],e),null});else if(Array.isArray(t))o=t.map(function(t,n){var r=e(t,""+u+n,i);
1return r.files.forEach(l),r.clone});else if(t&&t.constructor===Object)for(var s in o={},t){var c=e(t[s],""+u+s,i);c.files.forEach(l),o[s]=c.clone}else o=t}return{clone:o,files:a}}},6345:function(e,t,n){"use strict";t.ReactNativeFile=n(8375),t.extractFiles=n(3436),t.isExtractableFile=n(3670)},3670:function(e,t,n){"use strict";var r=n(8375);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},5053:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},1324:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(6345),o=r(n(5053)),a=n(1259),l=function(e){return(0,i.isExtractableFile)(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe};t.default=function(e,t,n,r){void 0===r&&(r=a.defaultJsonSerializer);var u=(0,i.extractFiles)({query:e,variables:t,operationName:n},"",l),s=u.clone,c=u.files;if(0===c.size){if(!Array.isArray(e))return r.stringify(s);if(void 0!==t&&!Array.isArray(t))throw Error("Cannot create request body with given variable type, array expected");var f=e.reduce(function(e,n,r){return e.push({query:n,variables:t?t[r]:void 0}),e},[]);return r.stringify(f)}var p=new("undefined"==typeof FormData?o.default:FormData);p.append("operations",r.stringify(s));var d={},h=0;return c.forEach(function(e){d[++h]=e}),p.append("map",r.stringify(d)),h=0,c.forEach(function(e,t){p.append("".concat(++h),t)}),p}},1259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},7262:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function l(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}u((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=void 0;var a=n(6761),l=n(821),u="ping",s="pong",c="complete",f=function(){function e(e,t,n){this._type=e,this._payload=t,this._id=n}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"payload",{get:function(){return this._payload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){var e={type:this.type};return null!=this.id&&void 0!=this.id&&(e.id=this.id),null!=this.payload&&void 0!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}
1,enumerable:!1,configurable:!0}),e.parse=function(t,n){var r=JSON.parse(t),i=r.type,o=r.payload,a=r.id;return new e(i,n(o),a)},e}(),p=function(){function e(e,t){var n=t.onInit,l=t.onAcknowledged,p=t.onPing,m=t.onPong,y=this;this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.onopen=function(t){return i(y,void 0,void 0,function(){var t,r,i,a;return o(this,function(o){switch(o.label){case 0:if(this.socketState.acknowledged=!1,this.socketState.subscriptions={},r=(t=e).send,i=d,!n)return[3,2];return[4,n()];case 1:return a=o.sent(),[3,3];case 2:a=null,o.label=3;case 3:return r.apply(t,[i.apply(void 0,[a]).text]),[2]}})})},e.onclose=function(e){y.socketState.acknowledged=!1,y.socketState.subscriptions={}},e.onerror=function(e){console.error(e)},e.onmessage=function(t){try{var n,i,o=(n=t.data,void 0===i&&(i=function(e){return e}),f.parse(n,i));switch(o.type){case"connection_ack":y.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(y.socketState.acknowledged=!0,l&&l(o.payload));return;case u:p?p(o.payload).then(function(t){return e.send(h(t).text)}):e.send(h(null).text);return;case s:m&&m(o.payload);return}if(!y.socketState.acknowledged||void 0===o.id||null===o.id||!y.socketState.subscriptions[o.id])return;var d=y.socketState.subscriptions[o.id],g=d.query,v=d.variables,b=d.subscriber;switch(o.type){case"next":!o.payload.errors&&o.payload.data&&b.next&&b.next(o.payload.data),o.payload.errors&&b.error&&b.error(new a.ClientError(r(r({},o.payload),{status:200}),{query:g,variables:v}));return;case"error":b.error&&b.error(new a.ClientError({errors:o.payload,status:200},{query:g,variables:v}));return;case c:b.complete&&b.complete(),delete y.socketState.subscriptions[o.id];return}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")}}return e.prototype.makeSubscribe=function(e,t,n,r){var i=this,o=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[o]={query:e,variables:r,subscriber:n},this.socket.send(new f("subscribe",{query:e,operationName:t,variables:r},o).text),function(){i.socket.send(new f(c,void 0,o).text),delete i.socketState.subscriptions[o]}},e.prototype.rawRequest=function(e,t){var n=this;return new Promise(function(r,i){var o;n.rawSubscribe(e,{next:function(e,t){return o={data:e,extensions:t}},error:i,complete:function(){return r(o)}},t)})},e.prototype.request=function(e,t){var n=this;return new Promise(function(r,i){var o;n.subscribe(e,{next:function(e){return o=e},error:i,complete:function(){return r(o)}},t)})},e.prototype.subscribe=function(e,t,n){var r=(0,l.resolveRequestDocument)(e),i=r.query,o=r.operationName;return this.makeSubscribe(i,o,t,n)},e.prototype.rawSubscribe=function(e,t,n){return this.makeSubscribe(e,void 0,t,n)},e.prototype.ping=function(e){this.socket.send(new f(u,e,void 0).text)},e.prototype.close=function(){this.socket.close(1e3)},e.PROTOCOL="graphql-transport-ws",e}();function d(e){return new f("connection_init",e)}function h(e){return new f(s,e,void 0)}t.GraphQLWebSocketClient=p},56:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function l(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}u((r=r.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},c=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveRequestDocument=t.GraphQLWebSocketClient=t.gql=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var p=a(n(9366)),d=f(n(1324)),h=n(1259),m=n(5760),y=n(6761);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return y.ClientError}});var g=n(821),v=function(e){var t,n={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||p&&p.Headers&&e instanceof p.Headers?(t={},e.forEach(function(e,n){t[n]=e}),n=t):Array.isArray(e)?e.forEach(function(e){var t=e[0],r=e[1];n[t]=r}):n=e),n},b=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},E=function(e){var t=e.query,n=e.variables,r=e.operationName,i=e.jsonSerializer;if(!Array.isArray(t)){var o=["query=".concat(encodeURIComponent(b(t)))];return n&&o.push("variables=".concat(encodeURIComponent(i.stringify(n)))),r&&o.push("operationName=".concat(encodeURIComponent(r))),o.join("&")}if(void 0!==n&&!Array.isArray(n))throw Error("Cannot create query with given variable type, array expected");var a=t.reduce(function(e,t,r){return e.push({query:b(t),variables:n?i.stringify(n[r]):void 0}),e},[]);return"query=".concat(encodeURIComponent(i.stringify(a)))},T=function(e){var t=e.url,n=e.query,i=e.variables,o=e.operationName,a=e.headers,c=e.fetch,f=e.fetchOptions,p=e.middleware;return l(void 0,void 0,void 0,function(){var e,l,h;return u(this,function(u){switch(u.label){case 0:if(e=(0,d.default)(n,i,o,f.jsonSerializer),l=r({method:"POST",headers:r(r({},"string"==typeof e?{"Content-Type":"application/json"}:{}),a),body:e},f),!p)return[3,2];return[4,Promise.resolve(p(r(r({},l),{url:t,operationName:o,variables:i})))];case 1:t=(h=u.sent()).url,l=s(h,["url"]),u.label=2;case 2:return[4,c(t,l)];case 3:return[2,u.sent()]}})})},_=function(e){var t=e.url,n=e.query,i=e.variables,o=e.operationName,a=e.headers,c=e.fetch,f=e.fetchOptions,p=e.middleware;return l(void 0,void 0,void 0,function(){var e,l,d;return u(this,function(u){switch(u.label){case 0:if(e=E({query:n,variables:i,operationName:o,jsonSerializer:f.jsonSerializer}),l=r({method:"GET",headers:a},f),!p)return[3,2];return[4,Promise.resolve(p(r(r({},l),{url:t,operationName:o,variables:i})))];case 1:t=(d=u.sent()).url,l=s(d,["url"]),u.label=2;case 2:return[4,c("".concat(t,"?").concat(e),l)];case 3:return[2,u.sent()]}})})},w=function(){function e(e,t){void 0===t&&(t={}),this.url=e,this.options=t}return e.prototype.rawRequest=function(e,t,n){return l(this,void 0,void 0,function(){var i,o,a,l,c,f,d,h,y,b,E,T;return u(this,function(u){return i=(0,m.parseRawRequestArgs)(e,t,n),a=(o=this.options).headers,c=void 0===(l=o.fetch)?p.default:l,d=void 0===(f=o.method)?"POST":f,h=o.requestMiddleware,y=o.responseMiddleware,b=s(o,["headers","fetch","method","requestMiddleware","responseMiddleware"]),E=this.url,void 0!==i.signal&&(b.signal=i.signal),T=(0,g.resolveRequestDocument)(i.query).operationName,[2,I({url:E,query:i.query,variables:i.variables,headers:r(r({},v(k(a))),v(i.requestHeaders)),operationName:T,fetch:c,method:d,fetchOptions:b,middleware:h}).then(function(e){return y&&y(e),e}).catch(function(e){throw y&&y(e),e})]})})},e.prototype.request=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return l(this,void 0,void 0,function(){var n,i,o,a,l,c,f,d,h,y,b,E,T,_,w,N;return u(this,function(u){return n=t[0],i=t[1],o=(0,m.parseRequestArgs)(e,n,i),l=(a=this.options).headers,f=void 0===(c=a.fetch)?p.default:c,h=void 0===(d=a.method)?"POST":d,y=a.requestMiddleware,b=a.responseMiddleware,E=s(a,["headers","fetch","method","requestMiddleware","responseMiddleware"]),T=this.url,void 0!==o.signal&&(E.signal=o.signal),w=(_=(0,g.resolveRequestDocument)(o.document)).query,N=_.operationName,[2,I({url:T,query:w,variables:o.variables,headers:r(r({},v(k(l))),v(o.requestHeaders)),operationName:N,fetch:f,method:h,fetchOptions:E,middleware:y}).then(function(e){return b&&b(e),e.data}).catch(function(e){throw b&&b(e),e})]})})},e.prototype.batchRequests=function(e,t){var n=(0,m.parseBatchRequestArgs)(e,t),i=this.options,o=i.headers,a=i.fetch,l=void 0===a?p.default:a,u=i.method,c=i.requestMiddleware,f=i.responseMiddleware,d=s(i,["headers","fetch","method","requestMiddleware","responseMiddleware"]),h=this.url;return void 0!==n.signal&&(d.signal=n.signal),I({url:h,query:n.documents.map(function(e){var t=e.document;return(0,g.resolveRequestDocument)(t).query}),variables:n.documents.map(function(e){return e.variables}),headers:r(r({},v(k(o))),v(n.requestHeaders)),operationName:void 0,fetch:l,method:void 0===u?"POST":u,fetchOptions:d,middleware:c}).then(function(e){return f&&f(e),e.data}).catch(function(e){throw f&&f(e),e})},e.prototype.setHeaders=function(e){return this.options.headers=e,this},e.prototype.setHeader=function(e,t){var n,r=this.options.headers;return r?r[e]=t:this.options.headers=((n={})[e]=t,n),this},e.prototype.setEndpoint=function(e){return this.url=e,this},e}();function I(e){var t=e.url,n=e.query,i=e.variables,o=e.headers,a=e.operationName,c=e.fetch,f=e.method,p=void 0===f?"POST":f,d=e.fetchOptions,m=e.middleware;return l(this,void 0,void 0,function(){var e,f,g,v,b,E,w,I,N,k,S;return u(this,function(x){switch(x.label){case 0:return e="POST"===p.toUpperCase()?T:_,f=Array.isArray(n),[4,e({url:t,query:n,variables:i,operationName:a,headers:o,fetch:c,fetchOptions:d,middleware:m})];case 1:return[4,function(e,t){return void 0===t&&(t=h.defaultJsonSerializer),l(this,void 0,void 0,function(){var n,r,i;return u(this,function(o){switch(o.label){case 0:if(e.headers.forEac
1h(function(e,t){"content-type"===t.toLowerCase()&&(n=e)}),!(n&&(n.toLowerCase().startsWith("application/json")||n.toLowerCase().startsWith("application/graphql+json")||n.toLowerCase().startsWith("application/graphql-response+json"))))return[3,2];return i=(r=t).parse,[4,e.text()];case 1:return[2,i.apply(r,[o.sent()])];case 2:return[2,e.text()]}})})}(g=x.sent(),d.jsonSerializer)];case 2:if(v=x.sent(),b=f&&Array.isArray(v)?!v.some(function(e){return!e.data}):!!v.data,E=!v.errors||"all"===d.errorPolicy||"ignore"===d.errorPolicy,g.ok&&E&&b)return w=g.headers,I=g.status,v.errors,N=s(v,["errors"]),k="ignore"===d.errorPolicy?N:v,[2,r(r({},f?{data:k}:k),{headers:w,status:I})];throw S="string"==typeof v?{error:v}:v,new y.ClientError(r(r({},S),{status:g.status,headers:g.headers}),{query:n,variables:i})}})})}function N(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return l(this,void 0,void 0,function(){var i;return u(this,function(o){return[2,new w((i=m.parseRequestExtendedArgs.apply(void 0,c([e,t],n,!1))).url).request(r({},i))]})})}function k(e){return"function"==typeof e?e():e}t.GraphQLClient=w,t.rawRequest=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return l(this,void 0,void 0,function(){var i;return u(this,function(o){return[2,new w((i=m.parseRawRequestExtendedArgs.apply(void 0,c([e,t],n,!1))).url).rawRequest(r({},i))]})})},t.request=N,t.batchRequests=function(e,t,n){return l(this,void 0,void 0,function(){var i;return u(this,function(o){return[2,new w((i=(0,m.parseBatchRequestsExtendedArgs)(e,t,n)).url).batchRequests(r({},i))]})})},t.default=N,t.gql=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.reduce(function(e,n,r){return"".concat(e).concat(n).concat(r in t?t[r]:"")},"")};var S=n(7262);Object.defineProperty(t,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return S.GraphQLWebSocketClient}});var x=n(821);Object.defineProperty(t,"resolveRequestDocument",{enumerable:!0,get:function(){return x.resolveRequestDocument}})},5760:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBatchRequestsExtendedArgs=t.parseRawRequestExtendedArgs=t.parseRequestExtendedArgs=t.parseBatchRequestArgs=t.parseRawRequestArgs=t.parseRequestArgs=void 0,t.parseRequestArgs=function(e,t,n){return e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0}},t.parseRawRequestArgs=function(e,t,n){return e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0}},t.parseBatchRequestArgs=function(e,t){return e.documents?e:{documents:e,requestHeaders:t,signal:void 0}},t.parseRequestExtendedArgs=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1];return e.document?e:{url:e,document:t,variables:i,requestHeaders:o,signal:void 0}},t.parseRawRequestExtendedArgs=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1];return e.query?e:{url:e,query:t,variables:i,requestHeaders:o,signal:void 0}},t.parseBatchRequestsExtendedArgs=function(e,t,n){return e.documents?e:{url:e,documents:t,requestHeaders:n,signal:void 0}}},821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveRequestDocument=void 0;var r=n(6090);function i(e){var t,n=void 0,r=e.definitions.filter(function(e){return"OperationDefinition"===e.kind});return 1===r.length&&(n=null===(t=r[0].name)||void 0===t?void 0:t.value),n}t.resolveRequestDocument=function(e){if("string"==typeof e){var t=void 0;try{var n=(0,r.parse)(e);t=i(n)}catch(e){}return{query:e,operationName:t}}var o=i(e);return{query:(0,r.print)(e),operationName:o}}},6761:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});
1Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;var i=function(e){function t(n,r){var i=this,o="".concat(t.extractMessage(n),": ").concat(JSON.stringify({response:n,request:r}));return Object.setPrototypeOf(i=e.call(this,o)||this,t.prototype),i.response=n,i.request=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return r(t,e),t.extractMessage=function(e){try{return e.errors[0].message}catch(t){return"GraphQL Error (Code: ".concat(e.status,")")}},t}(Error);t.ClientError=i},7412:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,f=1;function p(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function d(){var e={line:c,column:f};return function(t){return t.position=new h(e),g(r),t}}function h(e){this.start=e,this.end={line:c,column:f},this.source=u.source}h.prototype.content=e;var m=[];function y(t){var n=Error(u.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=f,n.source=e,u.silent)m.push(n);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}return g(r),function(){var e,n=[];for(v(n);e=function(){var e=d(),n=g(i);if(n){if(b(),!g(o))return y("property missing ':'");var r=g(a),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return g(l),u}}();)!1!==e&&(n.push(e),v(n));return n}()}},9934:function(e){/*! 2 * Determine if an object is a Buffer 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},3018:function(e,t,n){"use strict";var r=n(1289);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint: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:o,resetWarningCache:i}
vendor: 4,148 bytes, lines 6-14
6;return n.PropTypes=n,n}},4275:function(e,t,n){e.exports=n(3018)()},1289:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},187:function(e,t){"use strict";/** 7 * @license React 8 * react-is.production.min.js 9 * 10 * Copyright (c) Facebook, Inc. and its affiliates. 11 * 12 * This source code is licensed under the MIT license found in the 13 * LICENSE file in the root directory of this source tree. 14 */var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case l:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case u:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===o},t.isLazy=function(e){return g(e)===m},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===i},t.isProfiler=function(e){return g(e)===l},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===p},t.isSuspenseList=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===a||e===p||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},1991:function(e,t,n){"use strict";e.exports=n(187)},8699:function(e,t,n){var r=n(7412);function i(e,t){var n,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var l=r(e),u="function"==typeof t,s=0,c=l.length;s<c;s++)i=(n=l[s]).property,o=n.value,u?t(i,o,n):o&&(a||(a={}),a[i]=o);return a}e.exports=i,e.exports.default=i},6090:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{BREAK:function(){return j},BreakingChangeType:function(){return f},DEFAULT_DEPRECATION_REASON:function(){return tp},DangerousChangeType:function(){return p},DirectiveLocation:function(){return e5.B},ExecutableDefinitionsRule:function(){return t9},FieldsOnCorrectTypeRule:function(){return t7},FragmentsOnCompositeTypesRule:function(){return t8},GRAPHQL_MAX_INT:function(){return e9},GRAPHQL_MIN_INT:function(){return e7},GraphQLBoolean:function(){return tn},GraphQLDeprecatedDirective:function(){return td},GraphQLDirective:function(){return ts},GraphQLEnumType:function(){return eK},GraphQLError:function(){return g.__},GraphQLFloat:function(){return te},GraphQLID:function(){return tr},GraphQLIncludeDirective:function(){return tc},GraphQLInputObjectType:function(){return e0},GraphQLInt:function(){return e8},GraphQLInterfaceType:function(){return eY},GraphQLList:function(){return ex},GraphQLNonNull:function(){return eO},GraphQLObjectType:function(){return eV},GraphQLScalarType:function(){return eU},GraphQLSchema:function(){return t$},GraphQLSkipDirective:function(){return tf},GraphQLSpecifiedByDirective:function(){return th},GraphQLString:function(){return tt},GraphQLUnionType:function(){return eJ},Kind:function(){return F.h},KnownArgumentNamesRule:function(){return ne},KnownDirectivesRule:function(){return nn},KnownFragmentNamesRule:function(){return nr},KnownTypeNamesRule:function(){return ni},Lexer:function(){return rA.h},Location:function(){return v.Ye},LoneAnonymousOperationRule:function(){return na}
14,LoneSchemaDefinitionRule:function(){return nl},NoDeprecatedCustomRule:function(){return r$},NoFragmentCyclesRule:function(){return nu},NoSchemaIntrospectionCustomRule:function(){return rP},NoUndefinedVariablesRule:function(){return ns},NoUnusedFragmentsRule:function(){return nc},NoUnusedVariablesRule:function(){return nf},OperationTypeNode:function(){return v.ku},OverlappingFieldsCanBeMergedRule:function(){return nd},PossibleFragmentSpreadsRule:function(){return nT},PossibleTypeExtensionsRule:function(){return n_},ProvidedRequiredArgumentsRule:function(){return nI},ScalarLeafsRule:function(){return nS},SchemaMetaFieldDef:function(){return tO},SingleFieldSubscriptionsRule:function(){return nq},Source:function(){return rS.H},Token:function(){return v.WU},TokenKind:function(){return rD.T},TypeInfo:function(){return tY},TypeKind:function(){return c},TypeMetaFieldDef:function(){return tA},TypeNameMetaFieldDef:function(){return tD},UniqueArgumentDefinitionNamesRule:function(){return nG},UniqueArgumentNamesRule:function(){return nX},UniqueDirectiveNamesRule:function(){return nH},UniqueDirectivesPerLocationRule:function(){return nQ},UniqueEnumValueNamesRule:function(){return nY},UniqueFieldDefinitionNamesRule:function(){return nJ},UniqueFragmentNamesRule:function(){return nW},UniqueInputFieldNamesRule:function(){return nK},UniqueOperationNamesRule:function(){return nZ},UniqueOperationTypesRule:function(){return n0},UniqueTypeNamesRule:function(){return n1},UniqueVariableNamesRule:function(){return n2},ValidationContext:function(){return rt},ValuesOfCorrectTypeRule:function(){return n3},VariablesAreInputTypesRule:function(){return n6},VariablesInAllowedPositionRule:function(){return n5},__Directive:function(){return t_},__DirectiveLocation:function(){return tw},__EnumValue:function(){return tS},__Field:function(){return tN},__InputValue:function(){return tk},__Schema:function(){return tT},__Type:function(){return tI},__TypeKind:function(){return tx},assertAbstractType:function(){return eS},assertCompositeType:function(){return eN},assertDirective:function(){return tu},assertEnumType:function(){return ef},assertEnumValueName:function(){return Z},assertInputObjectType:function(){return ed},assertInputType:function(){return eb},assertInterfaceType:function(){return el},assertLeafType:function(){return ew},assertListType:function(){return em},assertName:function(){return K},assertNamedType:function(){return e$},assertNonNullType:function(){return eg},assertNullableType:function(){return eF},assertObjectType:function(){return eo},assertOutputType:function(){return eT},assertScalarType:function(){return er},assertSchema:function(){return tC},assertType:function(){return et},assertUnionType:function(){return es},assertValidName:function(){return iu},assertValidSchema:function(){return tM},assertWrappingType:function(){return eD},astFromValue:function(){return tb},buildASTSchema:function(){return rY},buildClientSchema:function(){return rq},buildSchema:function(){return rJ},coerceInputValue:function(){return nD},concatAST:function(){return ii},createSourceEventStream:function(){return rL},defaultFieldResolver:function(){return r_},defaultTypeResolver:function(){return rT},doTypesOverlap:function(){return e6},execute:function(){return ru},executeSync:function(){return rs},extendSchema:function(){return rz},findBreakingChanges:function(){return ic},findDangerousChanges:function(){return ip},formatError:function(){return g.Z},getArgumentValues:function(){return n$},getDirectiveValues:function(){return nP},getEnterLeaveForKind:function(){return V},getIntrospectionQuery:function(){return rM},getLocation:function(){return rx.k},getNamedType:function(){return eP},getNullableType:function(){return eL},getOperationAST:function(){return rU},getOperationRootType:function(){return rV},getVariableValues:function(){return nC},getVisitFn:function(){return B},graphql:function(){return rI},graphqlSync:function(){return rN},introspectionFromSchema:function(){return rB},introspectionTypes:function(){return tR},isAbstractType:function(){return ek},isCompositeType:function(){return eI},isConstValueNode:function(){return function e(t){return t1(t)&&(t.kind===F.h.LIST?t.values.some(e):t.kind===F.h.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==F.h.VARIABLE)}},isDefinitionNode:function(){return tK},isDirective:function(){return tl},isEnumType:function(){return ec},isEqualType:function(){return e3},isExecutableDefinitionNode:function(){return tZ},isInputObjectType:function(){return ep},isInputType:function(){return ev},isInterfaceType:function(){return ea},isIntrospectionType:function(){return tF},isLeafType:function(){return e_},isListType:function(){return eh},isNamedType:function(){return eC},isNonNullType:function(){return ey},isNullableType:function(){return eR},isObjectType:function(){return ei},isOutputType:function(){return eE},isRequiredArgument:function(){return eQ},isRequiredInputField:function(){return e2},isScalarType:function(){return en},isSchema:function(){return tL},isSelectionNode:function(){return t0},isSpecifiedDirective:function(){return ty},isSpecifiedScalarType:function(){return to},isType:function(){return ee},isTypeDefinitionNode:function(){return t4},isTypeExtensionNode:function(){return t5},isTypeNode:function(){return t2},isTypeSubTypeOf:function(){return e4},isTypeSystemDefinitionNode:function(){return t3},isTypeSystemExtensionNode:function(){return t6},isUnionType:function(){return eu},isValidNameError:function(){return is},isValueNode:function(){return t1},isWrappingType:function(){return eA},lexicographicSortSchema:function(){return rW},locatedError:function(){return ra},parse:function(){return m.Qc},parseConstValue:function(){return m.tl},parseType:function(){return m.gZ},parseValue:function(){return m.H2},print:function(){return q},printError:function(){return g.OS},printIntrospectionSchema:function(){return r2},printLocation:function(){return rO.Q},printSchema:function(){return r1},printSourceLocation:function(){return rO.z},printType:function(){return r6},resolveObjMapThunk:function(){return eM},resolveReadonlyArrayThunk:function(){return ej},responsePathAsArray:function(){return nA},separateOperations:function(){return io},specifiedDirectives:function(){return tm},specifiedRules:function(){return n9},specifiedScalarTypes:function(){return ti},stripIgnoredCharacters:function(){return il},subscribe:function(){return rF},syntaxError:function(){return rj.h},typeFromAST:function(){return tQ},validate:function(){return rn},validateSchema:function(){return tj},valueFromAST:function(){return nF},valueFromASTUntyped:function(){return J},version:function(){return i},versionInfo:function(){return o},visit:function(){return M},visitInParallel:function(){return U},visitWithTypeInfo:function(){return tW}});let i="16.8.1",o=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null});var a,l,u,s,c,f,p,d=n(6771);function h(e){return"function"==typeof(null==e?void 0:e.then)}var m=n(4087),y=n(4775),g=n(3879),v=n(5064);
14function b(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let o=r.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}let a=o.slice(0,5),l=a.pop();return i+a.join(", ")+", or "+l+"?"}function E(e){return e}var T=n(9198),_=n(8520);function w(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}function I(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}function N(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}function k(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(x(i)&&x(o)){let a=0;do++n,a=10*a+i-S,i=e.charCodeAt(n);while(x(i)&&a>0);let l=0;do++r,l=10*l+o-S,o=t.charCodeAt(r);while(x(o)&&l>0);if(a<l)return -1;if(a>l)return 1}else{if(i<o)return -1;if(i>o)return 1;++n,++r}}return e.length-t.length}let S=48;function x(e){return!isNaN(e)&&S<=e&&e<=57}function O(e,t){let n=Object.create(null),r=new A(e),i=Math.floor(.4*e.length)+1;for(let e of t){let t=r.measure(e,i);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let r=n[e]-n[t];return 0!==r?r:k(e,t)})}class A{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=D(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=D(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let o=r.length,a=i.length;if(o-a>t)return;let l=this._rows;for(let e=0;e<=a;e++)l[0][e]=e;for(let e=1;e<=o;e++){let n=l[(e-1)%3],o=l[e%3],u=o[0]=e;for(let t=1;t<=a;t++){let a=r[e-1]===i[t-1]?0:1,s=Math.min(n[t]+1,o[t-1]+1,n[t-1]+a);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(s=Math.min(s,l[(e-2)%3][t-2]+1)),s<u&&(u=s),o[t]=s}if(u>t)return}let u=l[o%3][a];return u<=t?u:void 0}}function D(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function R(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}var F=n(5459),L=n(7063);let C=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function $(e){return P[e.charCodeAt(0)]}let P=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],j=Object.freeze({});function M(e,t,n=v.h8){let r,i,o;let a=new Map;for(let e of Object.values(F.h))a.set(e,V(t,e));let l=Array.isArray(e),u=[e],s=-1,c=[],f=e,p=[],h=[];do{var m,g,b;let e;let E=++s===u.length,T=E&&0!==c.length;if(E){if(i=0===h.length?void 0:p[p.length-1],f=o,o=h.pop(),T){if(l){f=f.slice();let e=0;for(let[t,n]of c){let r=t-e;null===n?(f.splice(r,1),e++):f[r]=n}}else for(let[e,t]of(f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f)),c))f[e]=t}s=r.index,u=r.keys,c=r.edits,l=r.inArray,r=r.prev}else if(o){if(null==(f=o[i=l?s:u[s]]))continue;p.push(i)}if(!Array.isArray(f)){(0,v.UG)(f)||(0,d.a)(!1,`Invalid AST Node: ${(0,y.X)(f)}.`);let n=E?null===(m=a.get(f.kind))||void 0===m?void 0:m.leave:null===(g=a.get(f.kind))||void 0===g?void 0:g.enter;if((e=null==n?void 0:n.call(t,f,i,o,p,h))===j)break;if(!1===e){if(!E){p.pop();continue}}
14else if(void 0!==e&&(c.push([i,e]),!E)){if((0,v.UG)(e))f=e;else{p.pop();continue}}}void 0===e&&T&&c.push([i,f]),E?p.pop():(r={inArray:l,index:s,keys:u,edits:c,prev:r},u=(l=Array.isArray(f))?f:null!==(b=n[f.kind])&&void 0!==b?b:[],s=-1,c=[],o&&h.push(o),o=f)}while(void 0!==r);return 0!==c.length?c[c.length-1][1]:e}function U(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(F.h)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:l}=V(e[t],r);i||(i=null!=n||null!=l),o[t]=n,a[t]=l}if(!i)continue;let l={enter(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let l=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===l)t[a]=r;else if(l===j)t[a]=j;else if(void 0!==l)return l}},leave(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===j)t[o]=j;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=l}return n}function V(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function B(e,t,n){let{enter:r,leave:i}=V(e,t);return n?i:r}function q(e){return M(e,z)}let z={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>G(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=H("(",G(e.variableDefinitions,", "),")"),n=G([e.operation,G([e.name,t]),G(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+H(" = ",n)+H(" ",G(r," "))},SelectionSet:{leave:({selections:e})=>X(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=H("",e,": ")+t,a=o+H("(",G(n,", "),")");return a.length>80&&(a=o+H("(\n",Q(G(n,"\n")),"\n)")),G([a,G(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+H(" ",G(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>G(["...",H("on ",e),G(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${H("(",G(n,", "),")")} on ${t} ${H("",G(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,L.LZ)(e):`"${e.replace(C,$)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+G(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+G(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+H("(",G(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>H("",e,"\n")+G(["schema",G(t," "),X(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>H("",e,"\n")+G(["scalar",t,G(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>H("",e,"\n")+G(["type",t,H("implements ",G(n," & ")),G(r," "),X(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>H("",e,"\n")+t+(Y(n)?H("(\n",Q(G(n,"\n")),"\n)"):H("(",G(n,", "),")"))+": "+r+H(" ",G(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>H("",e,"\n")+G([t+": "+n,H("= ",r),G(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>H("",e,"\n")+G(["interface",t,H("implements ",G(n," & ")),G(r," "),X(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>H("",e,"\n")+G(["union",t,G(n," "),H("= ",G(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>H("",e,"\n")+G(["enum",t,G(n," "),X(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>H("",e,"\n")+G([t,G(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>H("",e,"\n")+G(["input",t,G(n," "),X(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>H("",e,"\n")+"directive @"+t+(Y(n)?H("(\n",Q(G(n,"\n")),"\n)"):H("(",G(n,", "),")"))+(r?" repeatable":"")+" on "+G(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>G(["extend schema",G(e," "),X(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>G(["extend scalar",e,G(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>G(["extend type",e,H("implements ",G(t," & ")),G(n," "),X(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>G(["extend interface",e,H("implements ",G(t," & ")),G(n," "),X(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>G(["extend union",e,G(t," "),H("= ",G(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>G(["extend enum",e,G(t," "),X(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>G(["extend input",e,G(t," "),X(n)]," ")}};function G(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function X(e){return H("{\n",Q(G(e,"\n")),"\n}")}function H(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Q(e){return H(" ",e.replace(/\n/g,"\n "))}function Y(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}function J(e,t){switch(e.kind){case F.h.NULL:return null;case F.h.INT:return parseInt(e.value,10);case F.h.FLOAT:return parseFloat(e.value);case F.h.STRING:case F.h.ENUM:case F.h.BOOLEAN:return e.value;case F.h.LIST:return e.values.map(e=>J(e,t));case F.h.OBJECT:return I(e.fields,e=>e.name.value,e=>J(e.value,t));case F.h.VARIABLE:return null==t?void 0:t[e.name.value]}}var W=n(185);function K(e){if(null!=e||(0,d.a)(!1,"Must provide name."),"string"==typeof e||(0,d.a)(!1,"Expected name to be a string."),0===e.length)throw new g.__("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,W.HQ)(e.charCodeAt(t)))throw new g.__(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,W.LQ)(e.charCodeAt(0)))throw new g.__(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function Z(e){if("true"===e||"false"===e||"null"===e)throw new g.__(`Enum values cannot be named: ${e}`);return K(e)}function ee(e){return en(e)||ei(e)||ea(e)||eu(e)||ec(e)||ep(e)||eh(e)||ey(e)}function et(e){if(!ee(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL type.`);return e}function en(e){return(0,T.n)(e,eU)}function er(e){if(!en(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Scalar type.`);return e}function ei(e){return(0,T.n)(e,eV)}function eo(e){if(!ei(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Object type.`);return e}function ea(e){return(0,T.n)(e,eY)}function el(e){if(!ea(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Interface type.`);return e}function eu(e){return(0,T.n)(e,eJ)}function es(e){if(!eu(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Union type.`);return e}function ec(e){return(0,T.n)(e,eK)}function ef(e){if(!ec(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Enum type.`);return e}function ep(e){return(0,T.n)(e,e0)}function ed(e){if(!ep(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Input Object type.`);return e}function eh(e){return(0,T.n)(e,ex)}function em(e){if(!eh(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL List type.`);return e}function ey(e){return(0,T.n)(e,eO)}function eg(e){if(!ey(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL Non-Null type.`);return e}function ev(e){return en(e)||ec(e)||ep(e)||eA(e)&&ev(e.ofType)}function eb(e){if(!ev(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL input type.`);return e}function eE(e){return en(e)||ei(e)||ea(e)||eu(e)||ec(e)||eA(e)&&eE(e.ofType)}function eT(e){if(!eE(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL output type.`);return e}function e_(e){return en(e)||ec(e)}
14function ew(e){if(!e_(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL leaf type.`);return e}function eI(e){return ei(e)||ea(e)||eu(e)}function eN(e){if(!eI(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL composite type.`);return e}function ek(e){return ea(e)||eu(e)}function eS(e){if(!ek(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL abstract type.`);return e}class ex{constructor(e){ee(e)||(0,d.a)(!1,`Expected ${(0,y.X)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class eO{constructor(e){eR(e)||(0,d.a)(!1,`Expected ${(0,y.X)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function eA(e){return eh(e)||ey(e)}function eD(e){if(!eA(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL wrapping type.`);return e}function eR(e){return ee(e)&&!ey(e)}function eF(e){if(!eR(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL nullable type.`);return e}function eL(e){if(e)return ey(e)?e.ofType:e}function eC(e){return en(e)||ei(e)||ea(e)||eu(e)||ec(e)||ep(e)}function e$(e){if(!eC(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL named type.`);return e}function eP(e){if(e){let t=e;for(;eA(t);)t=t.ofType;return t}}function ej(e){return"function"==typeof e?e():e}function eM(e){return"function"==typeof e?e():e}class eU{constructor(e){var t,n,r,i;let o=null!==(t=e.parseValue)&&void 0!==t?t:E;this.name=K(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:E,this.parseValue=o,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:(e,t)=>o(J(e,t)),this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(i=e.extensionASTNodes)&&void 0!==i?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,d.a)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,y.X)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,d.a)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,d.a)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eV{constructor(e){var t;this.name=K(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>eq(e),this._interfaces=()=>eB(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,d.a)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,y.X)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eX(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eB(e){var t;let n=ej(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,d.a)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function eq(e){let t=eM(e.fields);return eG(t)||(0,d.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),N(t,(t,n)=>{var r;eG(t)||(0,d.a)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,d.a)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,y.X)(t.resolve)}.`);let i=null!==(r=t.args)&&void 0!==r?r:{};return eG(i)||(0,d.a)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:K(n),description:t.description,type:t.type,args:ez(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:R(t.extensions),astNode:t.astNode}})}function ez(e){return Object.entries(e).map(([e,t])=>({name:K(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:R(t.extensions),astNode:t.astNode}))}function eG(e){return(0,_.y)(e)&&!Array.isArray(e)}function eX(e){return N(e,e=>({description:e.description,type:e.type,args:eH(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eH(e){return I(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eQ(e){return ey(e.type)&&void 0===e.defaultValue}class eY{constructor(e){var t;this.name=K(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=eq.bind(void 0,e),this._interfaces=eB.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,y.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
14getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eX(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eJ{constructor(e){var t;this.name=K(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=eW.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,y.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eW(e){let t=ej(e.types);return Array.isArray(t)||(0,d.a)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class eK{constructor(e){var t,n,r;this.name=K(e.name),this.description=e.description,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=(n=this.name,eG(r=e.values)||(0,d.a)(!1,`${n} values must be an object with value names as keys.`),Object.entries(r).map(([e,t])=>(eG(t)||(0,d.a)(!1,`${n}.${e} must refer to an object with a "value" key representing an internal value but got: ${(0,y.X)(t)}.`),{name:Z(e),description:t.description,value:void 0!==t.value?t.value:e,deprecationReason:t.deprecationReason,extensions:R(t.extensions),astNode:t.astNode}))),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=w(this._values,e=>e.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(void 0===t)throw new g.__(`Enum "${this.name}" cannot represent value: ${(0,y.X)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=(0,y.X)(e);throw new g.__(`Enum "${this.name}" cannot represent non-string value: ${t}.`+eZ(this,t))}let t=this.getValue(e);if(null==t)throw new g.__(`Value "${e}" does not exist in "${this.name}" enum.`+eZ(this,e));return t.value}parseLiteral(e,t){if(e.kind!==F.h.ENUM){let t=q(e);throw new g.__(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+eZ(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=q(e);throw new g.__(`Value "${t}" does not exist in "${this.name}" enum.`+eZ(this,t),{nodes:e})}return n.value}toConfig(){let e=I(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eZ(e,t){return b("the enum value",O(t,e.getValues().map(e=>e.name)))}class e0{constructor(e){var t;this.name=K(e.name),this.description=e.description,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=e1.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=N(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function e1(e){let t=eM(e.fields);return eG(t)||(0,d.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),N(t,(t,n)=>("resolve"in t&&(0,d.a)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:K(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:R(t.extensions),astNode:t.astNode}))}function e2(e){return ey(e.type)&&void 0===e.defaultValue}function e3(e,t){return e===t||!!(ey(e)&&ey(t)||eh(e)&&eh(t))&&e3(e.ofType,t.ofType)}function e4(e,t,n){return t===n||(ey(n)?!!ey(t)&&e4(e,t.ofType,n.ofType):ey(t)?e4(e,t.ofType,n):eh(n)?!!eh(t)&&e4(e,t.ofType,n.ofType):!eh(t)&&ek(n)&&(ea(t)||ei(t))&&e.isSubType(n,t))}function e6(e,t,n){return t===n||(ek(t)?ek(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!ek(n)&&e.isSubType(n,t))}var e5=n(7406);let e9=2147483647,e7=-2147483648,e8=new eU({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=ta(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new g.__(`Int cannot represent non-integer value: ${(0,y.X)(t)}`);if(n>e9||n<e7)throw new g.__("Int cannot represent non 32-bit signed integer value: "+(0,y.X)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new g.__(`Int cannot represent non-integer value: ${(0,y.X)(e)}`);
14if(e>e9||e<e7)throw new g.__(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==F.h.INT)throw new g.__(`Int cannot represent non-integer value: ${q(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>e9||t<e7)throw new g.__(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),te=new eU({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=ta(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new g.__(`Float cannot represent non numeric value: ${(0,y.X)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new g.__(`Float cannot represent non numeric value: ${(0,y.X)(e)}`);return e},parseLiteral(e){if(e.kind!==F.h.FLOAT&&e.kind!==F.h.INT)throw new g.__(`Float cannot represent non numeric value: ${q(e)}`,e);return parseFloat(e.value)}}),tt=new eU({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(e){let t=ta(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new g.__(`String cannot represent value: ${(0,y.X)(e)}`)},parseValue(e){if("string"!=typeof e)throw new g.__(`String cannot represent a non string value: ${(0,y.X)(e)}`);return e},parseLiteral(e){if(e.kind!==F.h.STRING)throw new g.__(`String cannot represent a non string value: ${q(e)}`,{nodes:e});return e.value}}),tn=new eU({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=ta(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new g.__(`Boolean cannot represent a non boolean value: ${(0,y.X)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new g.__(`Boolean cannot represent a non boolean value: ${(0,y.X)(e)}`);return e},parseLiteral(e){if(e.kind!==F.h.BOOLEAN)throw new g.__(`Boolean cannot represent a non boolean value: ${q(e)}`,{nodes:e});return e.value}}),tr=new eU({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(e){let t=ta(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new g.__(`ID cannot represent value: ${(0,y.X)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new g.__(`ID cannot represent value: ${(0,y.X)(e)}`)},parseLiteral(e){if(e.kind!==F.h.STRING&&e.kind!==F.h.INT)throw new g.__("ID cannot represent a non-string and non-integer value: "+q(e),{nodes:e});return e.value}}),ti=Object.freeze([tt,e8,te,tn,tr]);function to(e){return ti.some(({name:t})=>e.name===t)}function ta(e){if((0,_.y)(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!(0,_.y)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function tl(e){return(0,T.n)(e,ts)}function tu(e){if(!tl(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL directive.`);return e}class ts{constructor(e){var t,n;this.name=K(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=R(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,d.a)(!1,`@${e.name} locations must be an Array.`);let r=null!==(n=e.args)&&void 0!==n?n:{};(0,_.y)(r)&&!Array.isArray(r)||(0,d.a)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=ez(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:eH(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let tc=new ts({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[e5.B.FIELD,e5.B.FRAGMENT_SPREAD,e5.B.INLINE_FRAGMENT],args:{if:{type:new eO(tn),description:"Included when true."}}}),tf=new ts({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[e5.B.FIELD,e5.B.FRAGMENT_SPREAD,e5.B.INLINE_FRAGMENT],args:{if:{type:new eO(tn),description:"Skipped when true."}}}),tp="No longer supported",td=new ts({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[e5.B.FIELD_DEFINITION,e5.B.ARGUMENT_DEFINITION,e5.B.INPUT_FIELD_DEFINITION,e5.B.ENUM_VALUE],args:{reason:{type:tt,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:tp}}}),th=new ts({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[e5.B.SCALAR],args:{url:{type:new eO(tt),description:"The URL that specifies the behavior of this scalar."}}}),tm=Object.freeze([tc,tf,td,th]);function ty(e){return tm.some(({name:t})=>t===e.name)}var tg=n(5662);function tv(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function tb(e,t){if(ey(t)){let n=tb(e,t.ofType);
14return(null==n?void 0:n.kind)===F.h.NULL?null:n}if(null===e)return{kind:F.h.NULL};if(void 0===e)return null;if(eh(t)){let n=t.ofType;if(tv(e)){let t=[];for(let r of e){let e=tb(r,n);null!=e&&t.push(e)}return{kind:F.h.LIST,values:t}}return tb(e,n)}if(ep(t)){if(!(0,_.y)(e))return null;let n=[];for(let r of Object.values(t.getFields())){let t=tb(e[r.name],r.type);t&&n.push({kind:F.h.OBJECT_FIELD,name:{kind:F.h.NAME,value:r.name},value:t})}return{kind:F.h.OBJECT,fields:n}}if(e_(t)){let n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:F.h.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){let e=String(n);return tE.test(e)?{kind:F.h.INT,value:e}:{kind:F.h.FLOAT,value:e}}if("string"==typeof n)return ec(t)?{kind:F.h.ENUM,value:n}:t===tr&&tE.test(n)?{kind:F.h.INT,value:n}:{kind:F.h.STRING,value:n};throw TypeError(`Cannot convert value to AST: ${(0,y.X)(n)}.`)}(0,tg.k)(!1,"Unexpected input type: "+(0,y.X)(t))}let tE=/^-?(?:0|[1-9][0-9]*)$/,tT=new eV({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:tt,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new eO(new ex(new eO(tI))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new eO(tI),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:tI,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:tI,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new eO(new ex(new eO(t_))),resolve:e=>e.getDirectives()}})}),t_=new eV({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new eO(tt),resolve:e=>e.name},description:{type:tt,resolve:e=>e.description},isRepeatable:{type:new eO(tn),resolve:e=>e.isRepeatable},locations:{type:new eO(new ex(new eO(tw))),resolve:e=>e.locations},args:{type:new eO(new ex(new eO(tk))),args:{includeDeprecated:{type:tn,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),tw=new eK({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:e5.B.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:e5.B.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:e5.B.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:e5.B.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:e5.B.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:e5.B.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:e5.B.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:e5.B.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:e5.B.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:e5.B.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:e5.B.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:e5.B.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:e5.B.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:e5.B.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:e5.B.UNION,description:"Location adjacent to a union definition."},ENUM:{value:e5.B.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:e5.B.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:e5.B.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:e5.B.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),tI=new eV({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new eO(tx),resolve:e=>en(e)?c.SCALAR:ei(e)?c.OBJECT:ea(e)?c.INTERFACE:eu(e)?c.UNION:ec(e)?c.ENUM:ep(e)?c.INPUT_OBJECT:eh(e)?c.L
14IST:ey(e)?c.NON_NULL:void(0,tg.k)(!1,`Unexpected type: "${(0,y.X)(e)}".`)},name:{type:tt,resolve:e=>"name"in e?e.name:void 0},description:{type:tt,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:tt,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new ex(new eO(tN)),args:{includeDeprecated:{type:tn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ei(e)||ea(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new ex(new eO(tI)),resolve(e){if(ei(e)||ea(e))return e.getInterfaces()}},possibleTypes:{type:new ex(new eO(tI)),resolve(e,t,n,{schema:r}){if(ek(e))return r.getPossibleTypes(e)}},enumValues:{type:new ex(new eO(tS)),args:{includeDeprecated:{type:tn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ec(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new ex(new eO(tk)),args:{includeDeprecated:{type:tn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ep(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:tI,resolve:e=>"ofType"in e?e.ofType:void 0}})}),tN=new eV({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new eO(tt),resolve:e=>e.name},description:{type:tt,resolve:e=>e.description},args:{type:new eO(new ex(new eO(tk))),args:{includeDeprecated:{type:tn,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new eO(tI),resolve:e=>e.type},isDeprecated:{type:new eO(tn),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tt,resolve:e=>e.deprecationReason}})}),tk=new eV({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new eO(tt),resolve:e=>e.name},description:{type:tt,resolve:e=>e.description},type:{type:new eO(tI),resolve:e=>e.type},defaultValue:{type:tt,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=tb(n,t);return r?q(r):null}},isDeprecated:{type:new eO(tn),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tt,resolve:e=>e.deprecationReason}})}),tS=new eV({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new eO(tt),resolve:e=>e.name},description:{type:tt,resolve:e=>e.description},isDeprecated:{type:new eO(tn),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tt,resolve:e=>e.deprecationReason}})});(a=c||(c={})).SCALAR="SCALAR",a.OBJECT="OBJECT",a.INTERFACE="INTERFACE",a.UNION="UNION",a.ENUM="ENUM",a.INPUT_OBJECT="INPUT_OBJECT",a.LIST="LIST",a.NON_NULL="NON_NULL";let tx=new eK({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:c.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:c.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:c.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:c.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:c.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:c.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:c.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:c.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),tO={name:"__schema",type:new eO(tT),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tA={name:"__type",type:tI,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new eO(tt),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tD={name:"__typename",type:new eO(tt),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tR=Object.freeze([tT,t_,tw,tI,tN,tk,tS,tx]);function tF(e){return tR.some(({name:t})=>e.name===t)}function tL(e){return(0,T.n)(e,t$)}function tC(e){if(!tL(e))throw Error(`Expected ${(0,y.X)(e)} to be a GraphQL schema.`);return e}class t${constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,_.y)(e)||(0,d.a)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,d.a)(!1,`"types" must be Array if provided but got: ${(0,y.X)(e.types)}
14.`),!e.directives||Array.isArray(e.directives)||(0,d.a)(!1,`"directives" must be Array if provided but got: ${(0,y.X)(e.directives)}.`),this.description=e.description,this.extensions=R(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:tm;let r=new Set(e.types);if(null!=e.types)for(let t of e.types)r.delete(t),tP(t,r);for(let e of(null!=this._queryType&&tP(this._queryType,r),null!=this._mutationType&&tP(this._mutationType,r),null!=this._subscriptionType&&tP(this._subscriptionType,r),this._directives))if(tl(e))for(let t of e.args)tP(t.type,r);for(let e of(tP(tT,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),r)){if(null==e)continue;let t=e.name;if(t||(0,d.a)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,ea(e)){for(let t of e.getInterfaces())if(ea(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if(ei(e)){for(let t of e.getInterfaces())if(ea(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case v.ku.QUERY:return this.getQueryType();case v.ku.MUTATION:return this.getMutationType();case v.ku.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return eu(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),eu(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function tP(e,t){let n=eP(e);if(!t.has(n)){if(t.add(n),eu(n))for(let e of n.getTypes())tP(e,t);else if(ei(n)||ea(n)){for(let e of n.getInterfaces())tP(e,t);for(let e of Object.values(n.getFields()))for(let n of(tP(e.type,t),e.args))tP(n.type,t)}else if(ep(n))for(let e of Object.values(n.getFields()))tP(e.type,t)}return t}function tj(e){if(tC(e),e.__validationErrors)return e.__validationErrors;let t=new tU(e);(function(e){var t,n,r;let i=e.schema,o=i.getQueryType();o?ei(o)||e.reportError(`Query root type must be Object type, it cannot be ${(0,y.X)(o)}.`,null!==(t=tV(i,v.ku.QUERY))&&void 0!==t?t:o.astNode):e.reportError("Query root type must be provided.",i.astNode);let a=i.getMutationType();a&&!ei(a)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,y.X)(a)}.`,null!==(n=tV(i,v.ku.MUTATION))&&void 0!==n?n:a.astNode);let l=i.getSubscriptionType();l&&!ei(l)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,y.X)(l)}.`,null!==(r=tV(i,v.ku.SUBSCRIPTION))&&void 0!==r?r:l.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!tl(n)){e.reportError(`Expected directive but got: ${(0,y.X)(n)}.`,null==n?void 0:n.astNode);continue}for(let r of(tB(e,n),n.args))if(tB(e,r),ev(r.type)||e.reportError(`The type of @${n.name}(${r.name}:) must be Input Type but got: ${(0,y.X)(r.type)}.`,r.astNode),eQ(r)&&null!=r.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${r.name}:) cannot be deprecated.`,[tH(r.astNode),null===(t=r.astNode)||void 0===t?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){for(let a of(t[o.name]=!0,r[o.name]=n.length,Object.values(o.getFields())))if(ey(a.type)&&ep(a.type.ofType)){let t=a.type.ofType,o=r[t.name];if(n.push(a),void 0===o)i(t);else{let r=n.slice(o),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!eC(n)){e.reportError(`Expected GraphQL named type but got: ${(0,y.X)(n)}.`,n.astNode);continue}tF(n)||tB(e,n),ei(n)?(tq(e,n),tz(e,n)):ea(n)?(tq(e,n),tz(e,n)):eu(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let r=Object.create(null);for(let i of n){if(r[i.name]){e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,tX(t,i.name));continue}r[i.name]=!0,ei(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,y.X)(i)}.`,tX(t,String(i)))}}(e,n):ec(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))tB(e,r)}(e,n):ep(n)&&(function(e,t){let n=Object.values(t.getFields());for(let o of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i;tB(e,o),ev(o.type)||e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${(0,y.X)(o.type)}.`,null===(r=o.astNode)||void 0===r?void 0:r.type),e2(o)&&null!=o.deprecationReason&&e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[tH(o.astNode),null===(i=o.astNode)||void 0===i?void 0:i.type])}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function tM(e){let t=tj(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class tU{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new g.__(e,{nodes:n}))}getErrors(){return this._errors}}function tV(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===n?void 0:n.type}function tB(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function tq(e,t){let n=Object.values(t.getFields());for(let a of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i,o;for(let n of(tB(e,a),eE(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${(0,y.X)(a.type)}
14.`,null===(r=a.astNode)||void 0===r?void 0:r.type),a.args)){let r=n.name;tB(e,n),ev(n.type)||e.reportError(`The type of ${t.name}.${a.name}(${r}:) must be Input Type but got: ${(0,y.X)(n.type)}.`,null===(i=n.astNode)||void 0===i?void 0:i.type),eQ(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${a.name}(${r}:) cannot be deprecated.`,[tH(n.astNode),null===(o=n.astNode)||void 0===o?void 0:o.type])}}}function tz(e,t){let n=Object.create(null);for(let r of t.getInterfaces()){if(!ea(r)){e.reportError(`Type ${(0,y.X)(t)} must only implement Interface types, it cannot implement ${(0,y.X)(r)}.`,tG(t,r));continue}if(t===r){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,tG(t,r));continue}if(n[r.name]){e.reportError(`Type ${t.name} can only implement ${r.name} once.`,tG(t,r));continue}n[r.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...tG(n,i),...tG(t,n)])}(e,t,r),function(e,t,n){let r=t.getFields();for(let u of Object.values(n.getFields())){var i,o,a,l;let s=u.name,c=r[s];if(!c){e.reportError(`Interface field ${n.name}.${s} expected but ${t.name} does not provide it.`,[u.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let r of(e4(e.schema,c.type,u.type)||e.reportError(`Interface field ${n.name}.${s} expects type ${(0,y.X)(u.type)} but ${t.name}.${s} is type ${(0,y.X)(c.type)}.`,[null===(i=u.astNode)||void 0===i?void 0:i.type,null===(o=c.astNode)||void 0===o?void 0:o.type]),u.args)){let i=r.name,o=c.args.find(e=>e.name===i);if(!o){e.reportError(`Interface field argument ${n.name}.${s}(${i}:) expected but ${t.name}.${s} does not provide it.`,[r.astNode,c.astNode]);continue}e3(r.type,o.type)||e.reportError(`Interface field argument ${n.name}.${s}(${i}:) expects type ${(0,y.X)(r.type)} but ${t.name}.${s}(${i}:) is type ${(0,y.X)(o.type)}.`,[null===(a=r.astNode)||void 0===a?void 0:a.type,null===(l=o.astNode)||void 0===l?void 0:l.type])}for(let r of c.args){let i=r.name;!u.args.find(e=>e.name===i)&&eQ(r)&&e.reportError(`Object field ${t.name}.${s} includes required argument ${i} that is missing from the Interface field ${n.name}.${s}.`,[r.astNode,u.astNode])}}}(e,t,r)}}function tG(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function tX(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function tH(e){var t;return null==e?void 0:null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===td.name)}function tQ(e,t){switch(t.kind){case F.h.LIST_TYPE:{let n=tQ(e,t.type);return n&&new ex(n)}case F.h.NON_NULL_TYPE:{let n=tQ(e,t.type);return n&&new eO(n)}case F.h.NAMED_TYPE:return e.getType(t.name.value)}}class tY{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:tJ,t&&(ev(t)&&this._inputTypeStack.push(t),eI(t)&&this._parentTypeStack.push(t),eE(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}
14getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case F.h.SELECTION_SET:{let e=eP(this.getType());this._parentTypeStack.push(eI(e)?e:void 0);break}case F.h.FIELD:{let n,r;let i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push(eE(r)?r:void 0);break}case F.h.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case F.h.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push(ei(n)?n:void 0);break}case F.h.INLINE_FRAGMENT:case F.h.FRAGMENT_DEFINITION:{let n=e.typeCondition,r=n?tQ(t,n):eP(this.getType());this._typeStack.push(eE(r)?r:void 0);break}case F.h.VARIABLE_DEFINITION:{let n=tQ(t,e.type);this._inputTypeStack.push(ev(n)?n:void 0);break}case F.h.ARGUMENT:{var n;let t,r;let i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(ev(r)?r:void 0);break}case F.h.LIST:{let e=eL(this.getInputType()),t=eh(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(ev(t)?t:void 0);break}case F.h.OBJECT_FIELD:{let t,n;let r=eP(this.getInputType());ep(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(ev(t)?t:void 0);break}case F.h.ENUM:{let t;let n=eP(this.getInputType());ec(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case F.h.SELECTION_SET:this._parentTypeStack.pop();break;case F.h.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case F.h.DIRECTIVE:this._directive=null;break;case F.h.OPERATION_DEFINITION:case F.h.INLINE_FRAGMENT:case F.h.FRAGMENT_DEFINITION:this._typeStack.pop();break;case F.h.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case F.h.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case F.h.LIST:case F.h.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case F.h.ENUM:this._enumValue=null}}}function tJ(e,t,n){let r=n.name.value;return r===tO.name&&e.getQueryType()===t?tO:r===tA.name&&e.getQueryType()===t?tA:r===tD.name&&eI(t)?tD:ei(t)||ea(t)?t.getFields()[r]:void 0}function tW(e,t){return{enter(...n){let r=n[0];e.enter(r);let i=V(t,r.kind).enter;if(i){let o=i.apply(t,n);return void 0!==o&&(e.leave(r),(0,v.UG)(o)&&e.enter(o)),o}},leave(...n){let r;let i=n[0],o=V(t,i.kind).leave;return o&&(r=o.apply(t,n)),e.leave(i),r}}}function tK(e){return tZ(e)||t3(e)||t6(e)}function tZ(e){return e.kind===F.h.OPERATION_DEFINITION||e.kind===F.h.FRAGMENT_DEFINITION}function t0(e){return e.kind===F.h.FIELD||e.kind===F.h.FRAGMENT_SPREAD||e.kind===F.h.INLINE_FRAGMENT}function t1(e){return e.kind===F.h.VARIABLE||e.kind===F.h.INT||e.kind===F.h.FLOAT||e.kind===F.h.STRING||e.kind===F.h.BOOLEAN||e.kind===F.h.NULL||e.kind===F.h.ENUM||e.kind===F.h.LIST||e.kind===F.h.OBJECT}function t2(e){return e.kind===F.h.NAMED_TYPE||e.kind===F.h.LIST_TYPE||e.kind===F.h.NON_NULL_TYPE}function t3(e){return e.kind===F.h.SCHEMA_DEFINITION||t4(e)||e.kind===F.h.DIRECTIVE_DEFINITION}function t4(e){return e.kind===F.h.SCALAR_TYPE_DEFINITION||e.kind===F.h.OBJECT_TYPE_DEFINITION||e.kind===F.h.INTERFACE_TYPE_DEFINITION||e.kind===F.h.UNION_TYPE_DEFINITION||e.kind===F.h.ENUM_TYPE_DEFINITION||e.kind===F.h.INPUT_OBJECT_TYPE_DEFINITION}function t6(e){return e.kind===F.h.SCHEMA_EXTENSION||t5(e)}function t5(e){return e.kind===F.h.SCALAR_TYPE_EXTENSION||e.kind===F.h.OBJECT_TYPE_EXTENSION||e.kind===F.h.INTERFACE_TYPE_EXTENSION||e.kind===F.h.UNION_TYPE_EXTENSION||e.kind===F.h.ENUM_TYPE_EXTENSION||e.kind===F.h.INPUT_OBJECT_TYPE_EXTENSION}function t9(e){return{Document(t){for(let n of t.definitions)if(!tZ(n)){let t=n.kind===F.h.SCHEMA_DEFINITION||n.kind===F.h.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new g.__(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}function t7(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),i=t.name.value,o=b("to use an inline fragment on",function(e,t,n){if(!ek(t))return[];let r=new Set,i=Object.create(null);for(let a of e.getPossibleTypes(t))if(a.getFields()[n])for(let e of(r.add(a),i[a.name]=1,a.getInterfaces())){var o;e.getFields()[n]&&(r.add(e),i[e.name]=(null!==(o=i[e.name])&&void 0!==o?o:0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return 0!==r?r:ea(t)&&e.isSubType(t,n)?-1:ea(n)&&e.isSubType(n,t)?1:k(t.name,n.name)}).map(e=>e.name)}
14(r,n,i));""===o&&(o=b(ei(n)||ea(n)?O(i,Object.keys(n.getFields())):[])),e.reportError(new g.__(`Cannot query field "${i}" on type "${n.name}".`+o,{nodes:t}))}}}}function t8(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=tQ(e.getSchema(),n);if(t&&!eI(t)){let t=q(n);e.reportError(new g.__(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=tQ(e.getSchema(),t.typeCondition);if(n&&!eI(n)){let n=q(t.typeCondition);e.reportError(new g.__(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}function ne(e){return{...nt(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,o=O(n,r.args.map(e=>e.name));e.reportError(new g.__(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+b(o),{nodes:t}))}}}}function nt(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tm)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===F.h.DIRECTIVE_DEFINITION){var r;let e=null!==(r=n.arguments)&&void 0!==r?r:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let o=O(n,i);e.reportError(new g.__(`Unknown argument "${n}" on directive "@${r}".`+b(o),{nodes:t}))}}return!1}}}function nn(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tm)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===F.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,r,i,o,a){let l=n.name.value,u=t[l];if(!u){e.reportError(new g.__(`Unknown directive "@${l}".`,{nodes:n}));return}let s=function(e){let t=e[e.length-1];switch("kind"in t||(0,tg.k)(!1),t.kind){case F.h.OPERATION_DEFINITION:return function(e){switch(e){case v.ku.QUERY:return e5.B.QUERY;case v.ku.MUTATION:return e5.B.MUTATION;case v.ku.SUBSCRIPTION:return e5.B.SUBSCRIPTION}}(t.operation);case F.h.FIELD:return e5.B.FIELD;case F.h.FRAGMENT_SPREAD:return e5.B.FRAGMENT_SPREAD;case F.h.INLINE_FRAGMENT:return e5.B.INLINE_FRAGMENT;case F.h.FRAGMENT_DEFINITION:return e5.B.FRAGMENT_DEFINITION;case F.h.VARIABLE_DEFINITION:return e5.B.VARIABLE_DEFINITION;case F.h.SCHEMA_DEFINITION:case F.h.SCHEMA_EXTENSION:return e5.B.SCHEMA;case F.h.SCALAR_TYPE_DEFINITION:case F.h.SCALAR_TYPE_EXTENSION:return e5.B.SCALAR;case F.h.OBJECT_TYPE_DEFINITION:case F.h.OBJECT_TYPE_EXTENSION:return e5.B.OBJECT;case F.h.FIELD_DEFINITION:return e5.B.FIELD_DEFINITION;case F.h.INTERFACE_TYPE_DEFINITION:case F.h.INTERFACE_TYPE_EXTENSION:return e5.B.INTERFACE;case F.h.UNION_TYPE_DEFINITION:case F.h.UNION_TYPE_EXTENSION:return e5.B.UNION;case F.h.ENUM_TYPE_DEFINITION:case F.h.ENUM_TYPE_EXTENSION:return e5.B.ENUM;case F.h.ENUM_VALUE_DEFINITION:return e5.B.ENUM_VALUE;case F.h.INPUT_OBJECT_TYPE_DEFINITION:case F.h.INPUT_OBJECT_TYPE_EXTENSION:return e5.B.INPUT_OBJECT;case F.h.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||(0,tg.k)(!1),t.kind===F.h.INPUT_OBJECT_TYPE_DEFINITION?e5.B.INPUT_FIELD_DEFINITION:e5.B.ARGUMENT_DEFINITION}default:(0,tg.k)(!1,"Unexpected kind: "+(0,y.X)(t.kind))}}(a);s&&!u.includes(s)&&e.reportError(new g.__(`Directive "@${l}" may not be used on ${s}.`,{nodes:n}))}}}function nr(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new g.__(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function ni(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)t4(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,o,a,l,u){let s=t.name.value;if(!n[s]&&!r[s]){var c,f;let n=null!==(c=u[2])&&void 0!==c?c:a,r=null!=n&&"kind"in(f=n)&&(t3(f)||t6(f));if(r&&no.includes(s))return;let o=O(s,r?no.concat(i):i);e.reportError(new g.__(`Unknown type "${s}".`+b(o),{nodes:t}))}}}}let no=[...ti,...tR].map(e=>e.name);function na(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===F.h.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new g.__("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function nl(e){var t,n,r;let i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition(t){if(o){e.reportError(new g.__("Cannot define a new schema within a schema extension.",{nodes:t}));return}a>0&&e.reportError(new g.__("Must provide only one schema definition.",{nodes:t})),++a}}}function nu(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:i=>((function i(o){if(t[o.name.value])return;let a=o.name.value;t[a]=!0;let l=e.getFragmentSpreads(o.selectionSet);if(0!==l.length){for(let t of(r[a]=n.length,l)){let o=t.name.value,a=r[o];if(n.push(t),void 0===a){let t=e.getFragment(o);t&&i(t)}else{let t=n.slice(a),r=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new g.__(`Cannot spread fragment "${o}" within itself`+(""!==r?` via ${r}.`:"."),{nodes:t}))}n.pop()}r[a]=void 0}})(i),!1)}}function ns(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r}of e.getRecursiveVariableUsages(n)){let i=r.name.value;!0!==t[i]&&e.reportError(new g.__(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function nc(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==r[n]&&e.reportError(new g.__(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}function nf(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))r[t.name.value]=!0;for(let i of t){let t=i.variable.name.value;!0!==r[t]&&e.reportError(new g.__(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function np(e){switch(e.kind){case F.h.OBJECT:return{...e,fields:e.fields.map(e=>({...e,value:np(e.value)})).sort((e,t)=>
14k(e.name.value,t.name.value))};case F.h.LIST:return{...e,values:e.values.map(np)};case F.h.INT:case F.h.FLOAT:case F.h.STRING:case F.h.BOOLEAN:case F.h.NULL:case F.h.ENUM:case F.h.VARIABLE:return e}}function nd(e){let t=new nE,n=new Map;return{SelectionSet(r){for(let[[i,o],a,l]of function(e,t,n,r,i){let o=[],[a,l]=nv(e,t,r,i);if(function(e,t,n,r,i){for(let[o,a]of Object.entries(i))if(a.length>1)for(let i=0;i<a.length;i++)for(let l=i+1;l<a.length;l++){let u=ng(e,n,r,!1,o,a[i],a[l]);u&&t.push(u)}}(e,o,t,n,a),0!==l.length)for(let r=0;r<l.length;r++){nh(e,o,t,n,!1,a,l[r]);for(let i=r+1;i<l.length;i++)nm(e,o,t,n,!1,l[r],l[i])}return o}(e,n,t,e.getParentType(),r)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(o);e.reportError(new g.__(`Fields "${i}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:a.concat(l)}))}}}}function nh(e,t,n,r,i,o,a){let l=e.getFragment(a);if(!l)return;let[u,s]=nb(e,n,l);if(o!==u)for(let l of(ny(e,t,n,r,i,o,u),s))r.has(l,a,i)||(r.add(l,a,i),nh(e,t,n,r,i,o,l))}function nm(e,t,n,r,i,o,a){if(o===a||r.has(o,a,i))return;r.add(o,a,i);let l=e.getFragment(o),u=e.getFragment(a);if(!l||!u)return;let[s,c]=nb(e,n,l),[f,p]=nb(e,n,u);for(let a of(ny(e,t,n,r,i,s,f),p))nm(e,t,n,r,i,o,a);for(let o of c)nm(e,t,n,r,i,o,a)}function ny(e,t,n,r,i,o,a){for(let[l,u]of Object.entries(o)){let o=a[l];if(o)for(let a of u)for(let u of o){let o=ng(e,n,r,i,l,a,u);o&&t.push(o)}}}function ng(e,t,n,r,i,o,a){let[l,u,s]=o,[c,f,p]=a,d=r||l!==c&&ei(l)&&ei(c);if(!d){let e=u.name.value,t=f.name.value;if(e!==t)return[[i,`"${e}" and "${t}" are different fields`],[u],[f]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return void 0!==n&&q(np(t))===q(np(n))})}(u,f))return[[i,"they have differing arguments"],[u],[f]]}let h=null==s?void 0:s.type,m=null==p?void 0:p.type;if(h&&m&&function e(t,n){return eh(t)?!eh(n)||e(t.ofType,n.ofType):!!eh(n)||(ey(t)?!ey(n)||e(t.ofType,n.ofType):!!ey(n)||!!(e_(t)||e_(n))&&t!==n)}(h,m))return[[i,`they return conflicting types "${(0,y.X)(h)}" and "${(0,y.X)(m)}"`],[u],[f]];let g=u.selectionSet,v=f.selectionSet;if(g&&v)return function(e,t,n,r){if(e.length>0)return[[t,e.map(([e])=>e)],[n,...e.map(([,e])=>e).flat()],[r,...e.map(([,,e])=>e).flat()]]}(function(e,t,n,r,i,o,a,l){let u=[],[s,c]=nv(e,t,i,o),[f,p]=nv(e,t,a,l);for(let i of(ny(e,u,t,n,r,s,f),p))nh(e,u,t,n,r,s,i);for(let i of c)nh(e,u,t,n,r,f,i);for(let i of c)for(let o of p)nm(e,u,t,n,r,i,o);return u}(e,t,n,d,eP(h),g,eP(m),v),i,u,f)}function nv(e,t,n,r){let i=t.get(r);if(i)return i;let o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(let a of r.selections)switch(a.kind){case F.h.FIELD:{let e;let t=a.name.value;(ei(n)||ea(n))&&(e=n.getFields()[t]);let r=a.alias?a.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,a,e]);break}case F.h.FRAGMENT_SPREAD:o[a.name.value]=!0;break;case F.h.INLINE_FRAGMENT:{let r=a.typeCondition,l=r?tQ(t.getSchema(),r):n;e(t,l,a.selectionSet,i,o)}}}(e,n,r,o,a);let l=[o,Object.keys(a)];return t.set(r,l),l}function nb(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=tQ(e.getSchema(),n.typeCondition);return nv(e,t,i,n.selectionSet)}class nE{constructor(){this._data=new Map}has(e,t,n){var r;let[i,o]=e<t?[e,t]:[t,e],a=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==a&&(!!n||n===a)}add(e,t,n){let[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}function nT(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if(eI(n)&&eI(r)&&!e6(e.getSchema(),n,r)){let i=(0,y.X)(r),o=(0,y.X)(n);e.reportError(new g.__(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=function(e,t){let n=e.getFragment(t);if(n){let t=tQ(e.getSchema(),n.typeCondition);if(eI(t))return t}}(e,n),i=e.getParentType();if(r&&i&&!e6(e.getSchema(),r,i)){let o=(0,y.X)(i),a=(0,y.X)(r);e.reportError(new g.__(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}}}}function n_(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)t4(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){let i;let o=r.name.value,a=n[o],l=null==t?void 0:t.getType(o);if(a?i=nw[a.kind]:l&&(i=en(l)?F.h.SCALAR_TYPE_EXTENSION:ei(l)?F.h.OBJECT_TYPE_EXTENSION:ea(l)?F.h.INTERFACE_TYPE_EXTENSION:eu(l)?F.h.UNION_TYPE_EXTENSION:ec(l)?F.h.ENUM_TYPE_EXTENSION:ep(l)?F.h.INPUT_OBJECT_TYPE_EXTENSION:void(0,tg.k)(!1,"Unexpected type: "+(0,y.X)(l))),i){if(i!==r.kind){let t=function(e){switch(e){case F.h.SCALAR_TYPE_EXTENSION:return"scalar";case F.h.OBJECT_TYPE_EXTENSION:return"object";case F.h.INTERFACE_TYPE_EXTENSION:return"interface";case F.h.UNION_TYPE_EXTENSION:return"union";case F.h.ENUM_TYPE_EXTENSION:return"enum";
14case F.h.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,tg.k)(!1,"Unexpected kind: "+(0,y.X)(e))}}(r.kind);e.reportError(new g.__(`Cannot extend non-${t} type "${o}".`,{nodes:a?[a,r]:r}))}}else{let i=O(o,Object.keys({...n,...null==t?void 0:t.getTypeMap()}));e.reportError(new g.__(`Cannot extend type "${o}" because it is not defined.`+b(i),{nodes:r.name}))}}}let nw={[F.h.SCALAR_TYPE_DEFINITION]:F.h.SCALAR_TYPE_EXTENSION,[F.h.OBJECT_TYPE_DEFINITION]:F.h.OBJECT_TYPE_EXTENSION,[F.h.INTERFACE_TYPE_DEFINITION]:F.h.INTERFACE_TYPE_EXTENSION,[F.h.UNION_TYPE_DEFINITION]:F.h.UNION_TYPE_EXTENSION,[F.h.ENUM_TYPE_DEFINITION]:F.h.ENUM_TYPE_EXTENSION,[F.h.INPUT_OBJECT_TYPE_DEFINITION]:F.h.INPUT_OBJECT_TYPE_EXTENSION};function nI(e){return{...nN(e),Field:{leave(t){var n;let r=e.getFieldDef();if(!r)return!1;let i=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map(e=>e.name.value));for(let n of r.args)if(!i.has(n.name)&&eQ(n)){let i=(0,y.X)(n.type);e.reportError(new g.__(`Field "${r.name}" argument "${n.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function nN(e){var t,n;let r=Object.create(null),i=e.getSchema();for(let e of null!==(t=null==i?void 0:i.getDirectives())&&void 0!==t?t:tm)r[e.name]=w(e.args.filter(eQ),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===F.h.DIRECTIVE_DEFINITION){let e=null!==(n=t.arguments)&&void 0!==n?n:[];r[t.name.value]=w(e.filter(nk),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=r[n];if(i){var o;let r=null!==(o=t.arguments)&&void 0!==o?o:[],a=new Set(r.map(e=>e.name.value));for(let[r,o]of Object.entries(i))if(!a.has(r)){let i=ee(o.type)?(0,y.X)(o.type):q(o.type);e.reportError(new g.__(`Directive "@${n}" argument "${r}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}function nk(e){return e.type.kind===F.h.NON_NULL_TYPE&&null==e.defaultValue}function nS(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if(e_(eP(n))){if(r){let i=t.name.value,o=(0,y.X)(n);e.reportError(new g.__(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:r}))}}else if(!r){let r=t.name.value,i=(0,y.X)(n);e.reportError(new g.__(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}}function nx(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function nO(e,t,n){return{prev:e,key:t,typename:n}}function nA(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}function nD(e,t,n=nR){return function e(t,n,r,i){if(ey(n))return null!=t?e(t,n.ofType,r,i):void r(nA(i),t,new g.__(`Expected non-nullable type "${(0,y.X)(n)}" not to be null.`));if(null==t)return null;if(eh(n)){let o=n.ofType;return tv(t)?Array.from(t,(t,n)=>e(t,o,r,nO(i,n,void 0))):[e(t,o,r,i)]}if(ep(n)){if(!(0,_.y)(t)){r(nA(i),t,new g.__(`Expected type "${n.name}" to be an object.`));return}let o={},a=n.getFields();for(let l of Object.values(a)){let a=t[l.name];if(void 0===a){if(void 0!==l.defaultValue)o[l.name]=l.defaultValue;else if(ey(l.type)){let e=(0,y.X)(l.type);r(nA(i),t,new g.__(`Field "${l.name}" of required type "${e}" was not provided.`))}continue}o[l.name]=e(a,l.type,r,nO(i,l.name,n.name))}for(let e of Object.keys(t))if(!a[e]){let o=O(e,Object.keys(n.getFields()));r(nA(i),t,new g.__(`Field "${e}" is not defined by type "${n.name}".`+b(o)))}return o}if(e_(n)){let e;try{e=n.parseValue(t)}catch(e){e instanceof g.__?r(nA(i),t,e):r(nA(i),t,new g.__(`Expected type "${n.name}". `+e.message,{originalError:e}));return}return void 0===e&&r(nA(i),t,new g.__(`Expected type "${n.name}".`)),e}(0,tg.k)(!1,"Unexpected input type: "+(0,y.X)(n))}(e,t,n,void 0)}function nR(e,t,n){let r="Invalid value "+(0,y.X)(t);throw e.length>0&&(r+=` at "value${nx(e)}"`),n.message=r+": "+n.message,n}function nF(e,t,n){if(e){if(e.kind===F.h.VARIABLE){let r=e.name.value;if(null==n||void 0===n[r])return;let i=n[r];if(null===i&&ey(t))return;return i}if(ey(t)){if(e.kind===F.h.NULL)return;return nF(e,t.ofType,n)}if(e.kind===F.h.NULL)return null;if(eh(t)){let r=t.ofType;if(e.kind===F.h.LIST){let t=[];for(let i of e.values)if(nL(i,n)){if(ey(r))return;t.push(null)}else{let e=nF(i,r,n);if(void 0===e)return;t.push(e)}return t}let i=nF(e,r,n);if(void 0===i)return;return[i]}if(ep(t)){if(e.kind!==F.h.OBJECT)return;let r=Object.create(null),i=w(e.fields,e=>e.name.value);for(let e of Object.values(t.getFields())){let t=i[e.name];if(!t||nL(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if(ey(e.type))return;continue}let o=nF(t.value,e.type,n);if(void 0===o)return;r[e.name]=o}return r}if(e_(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,tg.k)(!1,"Unexpected input type: "+(0,y.X)(t))}}function nL(e,t){return e.kind===F.h.VARIABLE&&(null==t||void 0===t[e.name.value])}function nC(e,t,n,r){let i=[],o=null==r?void 0:r.maxErrors;try{let r=function(e,t,n,r){let i={};for(let o of t){let t=o.variable.name.value,a=tQ(e,o.type);if(!ev(a)){let e=q(o.type);r(new g.__(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!nj(n,t)){if(o.defaultValue)i[t]=nF(o.defaultValue,a);else if(ey(a)){let e=(0,y.X)(a);r(new g.__(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:o}))}continue}let l=n[t];if(null===l&&ey(a)){let e=(0,y.X)(a);r(new g.__(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:o}));continue}i[t]=nD(l,a,(e,n,i)=>{let a=`Variable "$${t}" got invalid value `+(0,y.X)(n);e.length>0&&(a+=` at "${t}${nx(e)}"`),r(new g.__(a+"; "+i.message,{nodes:o,originalError:i}))})}return i}(e,t,n,e=>{if(null!=o&&i.length>=o)throw new g.__("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:r}}catch(e){i.push(e)}return{errors:i}}function n$(e,t,n){var r;let i={},o=w(null!==(r=t.arguments)&&void 0!==r?r:[],e=>e.name.value);for(let r of e.args){let e=r.name,a=r.type,l=o[e];if(!l){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(ey(a))throw new g.__(`Argument "${e}" of required type "${(0,y.X)(a)}" was not provided.`,{nodes:t});continue}let u=l.value,s=u.kind===F.h.NULL;if(u.kind===F.h.VARIABLE){let t=u.name.value;if(null==n||!nj(n,t)){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(ey(a))throw new g.__(`Argument "${e}" of required type "${(0,y.X)(a)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:u});continue}s=null==n[t]}if(s&&ey(a))throw new g.__(`Argument "${e}" of non-null type "${(0,y.X)(a)}" must not be null.`,{nodes:u});let c=nF(u,a,n);if(void 0===c)throw new g.__(`Argument "${e}
14" has invalid value ${q(u)}.`,{nodes:u});i[e]=c}return i}function nP(e,t,n){var r;let i=null===(r=t.directives)||void 0===r?void 0:r.find(t=>t.name.value===e.name);if(i)return n$(e,i,n)}function nj(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nM(e,t,n,r,i){let o=new Map;return nU(e,t,n,r,i,o,new Set),o}function nU(e,t,n,r,i,o,a){for(let l of i.selections)switch(l.kind){case F.h.FIELD:{if(!nV(n,l))continue;let e=l.alias?l.alias.value:l.name.value,t=o.get(e);void 0!==t?t.push(l):o.set(e,[l]);break}case F.h.INLINE_FRAGMENT:if(!nV(n,l)||!nB(e,l,r))continue;nU(e,t,n,r,l.selectionSet,o,a);break;case F.h.FRAGMENT_SPREAD:{let i=l.name.value;if(a.has(i)||!nV(n,l))continue;a.add(i);let u=t[i];if(!u||!nB(e,u,r))continue;nU(e,t,n,r,u.selectionSet,o,a)}}}function nV(e,t){let n=nP(tf,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=nP(tc,t,e);return(null==r?void 0:r.if)!==!1}function nB(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=tQ(e,r);return i===n||!!ek(i)&&e.isSubType(i,n)}function nq(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,o=Object.create(null),a=e.getDocument(),l=Object.create(null);for(let e of a.definitions)e.kind===F.h.FRAGMENT_DEFINITION&&(l[e.name.value]=e);let u=nM(n,l,o,r,t.selectionSet);if(u.size>1){let t=[...u.values()].slice(1).flat();e.reportError(new g.__(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of u.values())t[0].name.value.startsWith("__")&&e.reportError(new g.__(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}function nz(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}function nG(e){return{DirectiveDefinition(e){var t;let r=null!==(t=e.arguments)&&void 0!==t?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let o of null!==(t=e.fields)&&void 0!==t?t:[]){let e=o.name.value;n(`${i}.${e}`,null!==(r=o.arguments)&&void 0!==r?r:[])}return!1}function n(t,n){for(let[r,i]of nz(n,e=>e.name.value))i.length>1&&e.reportError(new g.__(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}function nX(e){return{Field:t,Directive:t};function t(t){var n;for(let[r,i]of nz(null!==(n=t.arguments)&&void 0!==n?n:[],e=>e.name.value))i.length>1&&e.reportError(new g.__(`There can be only one argument named "${r}".`,{nodes:i.map(e=>e.name)}))}}function nH(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;if(null!=n&&n.getDirective(i)){e.reportError(new g.__(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return t[i]?e.reportError(new g.__(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}}function nQ(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tm)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===F.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let r=Object.create(null),i=Object.create(null);return{enter(n){let o;if("directives"in n&&n.directives){if(n.kind===F.h.SCHEMA_DEFINITION||n.kind===F.h.SCHEMA_EXTENSION)o=r;else if(t4(n)||t5(n)){let e=n.name.value;void 0===(o=i[e])&&(i[e]=o=Object.create(null))}else o=Object.create(null);for(let r of n.directives){let n=r.name.value;t[n]&&(o[n]?e.reportError(new g.__(`The directive "@${n}" can only be used once at this location.`,{nodes:[o[n],r]})):o[n]=r)}}}}}function nY(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;let o=t.name.value;r[o]||(r[o]=Object.create(null));let a=null!==(i=t.values)&&void 0!==i?i:[],l=r[o];for(let t of a){let r=t.name.value,i=n[o];ec(i)&&i.getValue(r)?e.reportError(new g.__(`Enum value "${o}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):l[r]?e.reportError(new g.__(`Enum value "${o}.${r}" can only be defined once.`,{nodes:[l[r],t.name]})):l[r]=t.name}return!1}}function nJ(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o;let a=t.name.value;r[a]||(r[a]=Object.create(null));let l=null!==(i=t.fields)&&void 0!==i?i:[],u=r[a];for(let t of l){let r=t.name.value;(ei(o=n[a])||ea(o)||ep(o))&&null!=o.getFields()[r]?e.reportError(new g.__(`Field "${a}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):u[r]?e.reportError(new g.__(`Field "${a}.${r}" can only be defined once.`,{nodes:[u[r],t.name]})):u[r]=t.name}return!1}}function nW(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new g.__(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function nK(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||(0,tg.k)(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new g.__(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}function nZ(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new g.__(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}function n0(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;for(let o of null!==(i=t.operationTypes)&&void 0!==i?i:[]){let t=
14o.operation,i=n[t];r[t]?e.reportError(new g.__(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:o})):i?e.reportError(new g.__(`There can be only one ${t} type in schema.`,{nodes:[i,o]})):n[t]=o}return!1}}function n1(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;if(null!=n&&n.getType(i)){e.reportError(new g.__(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[i]?e.reportError(new g.__(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}function n2(e){return{OperationDefinition(t){var n;for(let[r,i]of nz(null!==(n=t.variableDefinitions)&&void 0!==n?n:[],e=>e.variable.name.value))i.length>1&&e.reportError(new g.__(`There can be only one variable named "$${r}".`,{nodes:i.map(e=>e.variable.name)}))}}}function n3(e){return{ListValue(t){if(!eh(eL(e.getParentInputType())))return n4(e,t),!1},ObjectValue(t){let n=eP(e.getInputType());if(!ep(n))return n4(e,t),!1;let r=w(t.fields,e=>e.name.value);for(let i of Object.values(n.getFields()))if(!r[i.name]&&e2(i)){let r=(0,y.X)(i.type);e.reportError(new g.__(`Field "${n.name}.${i.name}" of required type "${r}" was not provided.`,{nodes:t}))}},ObjectField(t){let n=eP(e.getParentInputType());if(!e.getInputType()&&ep(n)){let r=O(t.name.value,Object.keys(n.getFields()));e.reportError(new g.__(`Field "${t.name.value}" is not defined by type "${n.name}".`+b(r),{nodes:t}))}},NullValue(t){let n=e.getInputType();ey(n)&&e.reportError(new g.__(`Expected value of type "${(0,y.X)(n)}", found ${q(t)}.`,{nodes:t}))},EnumValue:t=>n4(e,t),IntValue:t=>n4(e,t),FloatValue:t=>n4(e,t),StringValue:t=>n4(e,t),BooleanValue:t=>n4(e,t)}}function n4(e,t){let n=e.getInputType();if(!n)return;let r=eP(n);if(!e_(r)){let r=(0,y.X)(n);e.reportError(new g.__(`Expected value of type "${r}", found ${q(t)}.`,{nodes:t}));return}try{let i=r.parseLiteral(t,void 0);if(void 0===i){let r=(0,y.X)(n);e.reportError(new g.__(`Expected value of type "${r}", found ${q(t)}.`,{nodes:t}))}}catch(i){let r=(0,y.X)(n);i instanceof g.__?e.reportError(i):e.reportError(new g.__(`Expected value of type "${r}", found ${q(t)}; `+i.message,{nodes:t,originalError:i}))}}function n6(e){return{VariableDefinition(t){let n=tQ(e.getSchema(),t.type);if(void 0!==n&&!ev(n)){let n=t.variable.name.value,r=q(t.type);e.reportError(new g.__(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}function n5(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:i,type:o,defaultValue:a}of e.getRecursiveVariableUsages(n)){let n=i.name.value,l=t[n];if(l&&o){var r;let t=e.getSchema(),u=tQ(t,l.type);if(u&&(r=l.defaultValue,ey(o)&&!ey(u)?!((null!=r&&r.kind!==F.h.NULL||void 0!==a)&&e4(t,u,o.ofType)):!e4(t,u,o))){let t=(0,y.X)(u),r=(0,y.X)(o);e.reportError(new g.__(`Variable "$${n}" of type "${t}" used in position expecting type "${r}".`,{nodes:[l,i]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}let n9=Object.freeze([t9,nZ,na,nq,ni,t8,n6,nS,t7,nW,nr,nc,nT,nu,n2,ns,nf,nn,nQ,ne,nX,n3,nI,n5,nd,nK]),n7=Object.freeze([nl,n0,n1,nY,nJ,nG,nH,ni,nn,nQ,n_,nt,nX,nK,nN]);class n8{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===F.h.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let r=[e];for(;n=r.pop();)for(let e of n.selections)e.kind===F.h.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&r.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class re extends n8{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class rt extends n8{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new tY(this._schema);M(e,tW(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function rn(e,t,n=n9,r,i=new tY(e)){var o;let a=null!==(o=null==r?void 0:r.maxErrors)&&void 0!==o?o:100;t||(0,d.a)(!1,"Must provide document."),tM(e);let l=Object.freeze({}),u=[],s=new rt(e,t,i,e=>{if(u.length>=a)throw u.push(new g.__("Too many validation errors, error limit reached. Validation aborted.")),l;u.push(e)}),c=U(n.map(e=>e(s)));try{M(t,tW(i,c))}catch(e){if(e!==l)throw e}return u}function rr(e,t,n=n7){let r=[],i=new re(e,t,e=>{r.push(e)});return M(e,U(n.map(e=>e(i)))),r}function ri(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[r,i]of Object.keys(e).entries())n[i]=t[r];return n})}
14class ro extends Error{constructor(e){super("Unexpected error value: "+(0,y.X)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function ra(e,t,n){var r;let i=e instanceof Error?e:new ro(e);return Array.isArray(i.path)?i:new g.__(i.message,{nodes:null!==(r=i.nodes)&&void 0!==r?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}let rl=(l=(e,t,n)=>(function(e,t,n,r,i){let o=new Map,a=new Set;for(let l of i)l.selectionSet&&nU(e,t,n,r,l.selectionSet,o,a);return o})(e.schema,e.fragments,e.variableValues,t,n),function(e,t,n){void 0===r&&(r=new WeakMap);let i=r.get(e);void 0===i&&(i=new WeakMap,r.set(e,i));let o=i.get(t);void 0===o&&(o=new WeakMap,i.set(t,o));let a=o.get(n);return void 0===a&&(a=l(e,t,n),o.set(n,a)),a});function ru(e){arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:r,rootValue:i}=e;rf(t,n,r);let o=rp(e);if(!("schema"in o))return{errors:o};try{let{operation:e}=o,t=function(e,t,n){let r=e.schema.getRootType(t.operation);if(null==r)throw new g.__(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let i=nM(e.schema,e.fragments,e.variableValues,r,t.selectionSet),o=void 0;switch(t.operation){case v.ku.QUERY:return rd(e,r,n,o,i);case v.ku.MUTATION:return function(e,t,n){let r=n;for(let n of e)r=h(r)?r.then(e=>t(e,n)):t(r,n);return r}(i.entries(),(t,[i,a])=>{let l=nO(o,i,r.name),u=rh(e,r,n,a,l);return void 0===u?t:h(u)?u.then(e=>(t[i]=e,t)):(t[i]=u,t)},Object.create(null));case v.ku.SUBSCRIPTION:return rd(e,r,n,o,i)}}(o,e,i);if(h(t))return t.then(e=>rc(e,o.errors),e=>(o.errors.push(e),rc(null,o.errors)));return rc(t,o.errors)}catch(e){return o.errors.push(e),rc(null,o.errors)}}function rs(e){let t=ru(e);if(h(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function rc(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function rf(e,t,n){t||(0,d.a)(!1,"Must provide document."),tM(e),null==n||(0,_.y)(n)||(0,d.a)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function rp(e){var t,n;let r;let{schema:i,document:o,rootValue:a,contextValue:l,variableValues:u,operationName:s,fieldResolver:c,typeResolver:f,subscribeFieldResolver:p}=e,d=Object.create(null);for(let e of o.definitions)switch(e.kind){case F.h.OPERATION_DEFINITION:if(null==s){if(void 0!==r)return[new g.__("Must provide operation name if query contains multiple operations.")];r=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===s&&(r=e);break;case F.h.FRAGMENT_DEFINITION:d[e.name.value]=e}if(!r)return null!=s?[new g.__(`Unknown operation named "${s}".`)]:[new g.__("Must provide an operation.")];let h=nC(i,null!==(n=r.variableDefinitions)&&void 0!==n?n:[],null!=u?u:{},{maxErrors:50});return h.errors?h.errors:{schema:i,fragments:d,rootValue:a,contextValue:l,operation:r,variableValues:h.coerced,fieldResolver:null!=c?c:r_,typeResolver:null!=f?f:rT,subscribeFieldResolver:null!=p?p:r_,errors:[]}}function rd(e,t,n,r,i){let o=Object.create(null),a=!1;try{for(let[l,u]of i.entries()){let i=nO(r,l,t.name),s=rh(e,t,n,u,i);void 0!==s&&(o[l]=s,h(s)&&(a=!0))}}catch(e){if(a)return ri(o).finally(()=>{throw e});throw e}return a?ri(o):o}function rh(e,t,n,r,i){var o;let a=rw(e.schema,t,r[0]);if(!a)return;let l=a.type,u=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,s=rm(e,a,r,t,i);try{let t;let o=n$(a,r[0],e.variableValues),c=e.contextValue,f=u(n,o,c,s);if(t=h(f)?f.then(t=>rg(e,l,r,s,i,t)):rg(e,l,r,s,i,f),h(t))return t.then(void 0,t=>{let n=ra(t,r,nA(i));return ry(n,l,e)});return t}catch(t){return ry(ra(t,r,nA(i)),l,e)}}function rm(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function ry(e,t,n){if(ey(t))throw e;return n.errors.push(e),null}function rg(e,t,n,r,i,o){if(o instanceof Error)throw o;if(ey(t)){let a=rg(e,t.ofType,n,r,i,o);if(null===a)throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return a}return null==o?null:eh(t)?function(e,t,n,r,i,o){if(!tv(o))throw new g.__(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);let a=t.ofType,l=!1,u=Array.from(o,(t,o)=>{let u=nO(i,o,void 0);try{let i;if(i=h(t)?t.then(t=>rg(e,a,n,r,u,t)):rg(e,a,n,r,u,t),h(i))return l=!0,i.then(void 0,t=>{let r=ra(t,n,nA(u));return ry(r,a,e)});return i}catch(t){return ry(ra(t,n,nA(u)),a,e)}});return l?Promise.all(u):u}(e,t,n,r,i,o):e_(t)?function(e,t){let n=e.serialize(t);if(null==n)throw Error(`Expected \`${(0,y.X)(e)}.serialize(${(0,y.X)(t)})\` to return non-nullable value, returned: ${(0,y.X)(n)}`);return n}(t,o):ek(t)?function(e,t,n,r,i,o){var a;let l=(null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver)(o,e.contextValue,r,t);return h(l)?l.then(a=>rb(e,rv(a,e,t,n,r,o),n,r,i,o)):rb(e,rv(l,e,t,n,r,o),n,r,i,o)}(e,t,n,r,i,o):ei(t)?rb(e,t,n,r,i,o):void(0,tg.k)(!1,"Cannot complete value of unexpected output type: "+(0,y.X)(t))}function rv(e,t,n,r,i,o){if(null==e)throw new g.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if(ei(e))throw new g.__("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new g.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,y.X)(o)}, received "${(0,y.X)(e)}".`);let a=t.schema.getType(e);if(null==a)throw new g.__(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!ei(a))throw new g.__(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,a))throw new g.__(`Runtime Object type "${a.name}" is not a possible type for "${n.name}".`,{nodes:r});return a}function rb(e,t,n,r,i,o){let a=rl(e,t,n);if(t.isTypeOf){let l=t.isTypeOf(o,e.contextValue,r);if(h(l))return l.then(r=>{if(!r)throw rE(t,o,n);return rd(e,t,o,i,a)});if(!l)throw rE(t,o,n)}return rd(e,t,o,i,a)}function rE(e,t,n){return new g.__(`Expected value of type "${e.name}" but got: ${(0,y.X)(t)}.`,{nodes:n})}let rT=function(e,t,n,r){if((0,_.y)(e)&&"string"==typeof e.__typename)return e.__typename;let i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){let a=i[r];if(a.isTypeOf){let i=a.isTypeOf(e,t,n);if(h(i))o[r]=i;else if(i)return a.name}}if(o.length)return Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})},r_=function(e,t,n,r){if((0,_.y)(e)||"function"==typeof e){let i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function rw(e,t,n){let r=n.name.value;return r===tO.name&&e.getQueryType()===t?tO:r===tA.name&&e.getQueryType()===t?tA:r===tD.name?tD:t.getFields()[r]}function rI(e){return new Promise(t=>t(rk(e)))}function rN(e){let t=rk(e);if(h(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function rk(e){let t;arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,source:r,rootValue:i,contextValue:o,variableValues:a,operationName:l,fieldResolver:u,typeResolver:s}=e,c=tj(n);if(c.length>0)return{errors:c};try{t=(0,m.Qc)(r)}catch(e){return{errors:[e]}}let f=rn(n,t);return f.length>0?{errors:f}:ru({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:l,fieldResolver:u,typeResolver:s})}var rS=n(9040),rx=n(2288),rO=n(9550),rA=n(7942),rD=n(6118);function rR(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function rF(e){arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let t=await rL(e);return rR(t)?function(e,t){let n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>ru({...e,rootValue:t})):t}async function rL(...e){let t=function(e){let t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:i}=t;rf(n,r,i);let o=rp(t);if(!("schema"in o))return{errors:o};try{let e=await rC(o);if(!rR(e))throw Error(`Subscription field must return Async Iterable. Received: ${(0,y.X)(e)}.`);return e}catch(e){if(e instanceof g.__)return{errors:[e]};throw e}}async function rC(e){let{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,a=t.getSubscriptionType();if(null==a)throw new g.__("Schema is not configured to execute subscription operation.",{nodes:r});let[l,u]=[...nM(t,n,i,a,r.selectionSet).entries()][0],s=rw(t,a,u[0]);if(!s){let e=u[0].name.value;throw new g.__(`The subscription field "${e}" is not defined.`,{nodes:u})}let c=nO(void 0,l,a.name),f=rm(e,s,u,a,c);try{var p;let t=n$(s,u[0],i),n=e.contextValue,r=null!==(p=s.subscribe)&&void 0!==p?p:e.subscribeFieldResolver,a=await r(o,t,n,f);if(a instanceof Error)throw a;return a}catch(e){throw ra(e,u,nA(c))}}function r$(e){return{Field(t){let n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getParentType();null!=i||(0,tg.k)(!1),e.reportError(new g.__(`The field ${i.name}.${n.name} is deprecated. ${r}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getDirective();if(null!=i)e.reportError(new g.__(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}));else{let i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,tg.k)(!1),e.reportError(new g.__(`Field "${i.name}.${o.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}))}}},ObjectField(t){let n=eP(e.getParentInputType());if(ep(n)){let r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new g.__(`The input field ${n.name}.${r.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=eP(e.getInputType());null!=i||(0,tg.k)(!1),e.reportError(new g.__(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,{nodes:t}))}}}}function rP(e){return{Field(t){let n=eP(e.getType());n&&tF(n)&&e.reportError(new g.__(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var rj=n(6451);
14function rM(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(e){return t.inputValueDeprecation?e:""}return` 15 query IntrospectionQuery { 16 __schema { 17 ${o} 18 queryType { name } 19 mutationType { name } 20 subscriptionType { name } 21 types { 22 ...FullType 23 } 24 directives { 25 name 26 ${n} 27 ${i} 28 locations 29 args${a("(includeDeprecated: true)")} { 30 ...InputValue 31 } 32 } 33 } 34 } 35 36 fragment FullType on __Type { 37 kind 38 name 39 ${n} 40 ${r} 41 fields(includeDeprecated: true) { 42 name 43 ${n} 44 args${a("(includeDeprecated: true)")} { 45 ...InputValue 46 } 47 type { 48 ...TypeRef 49 } 50 isDeprecated 51 deprecationReason 52 } 53 inputFields${a("(includeDeprecated: true)")} { 54 ...InputValue 55 } 56 interfaces { 57 ...TypeRef 58 } 59 enumValues(includeDeprecated: true) { 60 name 61 ${n} 62 isDeprecated 63 deprecationReason 64 } 65 possibleTypes { 66 ...TypeRef 67 } 68 } 69 70 fragment InputValue on __InputValue { 71 name 72 ${n} 73 type { ...TypeRef } 74 defaultValue 75 ${a("isDeprecated")} 76 ${a("deprecationReason")} 77 } 78 79 fragment TypeRef on __Type { 80 kind 81 name 82 ofType { 83 kind 84 name 85 ofType { 86 kind 87 name 88 ofType { 89 kind 90 name 91 ofType { 92 kind 93 name 94 ofType { 95 kind 96 name 97 ofType { 98 kind 99 name 100 ofType { 101 kind 102 name 103 ofType { 104 kind 105 name 106 ofType { 107 kind 108 name 109 } 110 } 111 } 112 } 113 } 114 } 115 } 116 } 117 } 118 } 119 `}function rU(e,t){let n=null;for(let i of e.definitions)if(i.kind===F.h.OPERATION_DEFINITION){var r;if(null==t){if(n)return null;n=i}else if((null===(r=i.name)||void 0===r?void 0:r.value)===t)return i}return n}function rV(e,t){if("query"===t.operation){let n=e.getQueryType();if(!n)throw new g.__("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){let n=e.getMutationType();if(!n)throw new g.__("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){let n=e.getSubscriptionType();if(!n)throw new g.__("Schema is not configured for subscriptions.",{nodes:t});return n}throw new g.__("Can only have query, mutation and subscription operations.",{nodes:t})}function rB(e,t){let n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},r=rs({schema:e,document:(0,m.Qc)(rM(n))});return!r.errors&&r.data||(0,tg.k)(!1),r.data}function rq(e,t){(0,_.y)(e)&&(0,_.y)(e.__schema)||(0,d.a)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,y.X)(e)}.`);let n=e.__schema,r=I(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case c.SCALAR:return new eU({name:e.name,description:e.description,specifiedByURL:e.specifiedByURL});case c.OBJECT:return new eV({name:e.name,description:e.description,interfaces:()=>h(e),fields:()=>g(e)});case c.INTERFACE:return new eY({name:e.name,description:e.description,interfaces:()=>h(e),fields:()=>g(e)});case c.UNION:return function(e){if(!e.possibleTypes){let t=(0,y.X)(e);throw Error(`Introspection result missing possibleTypes: ${t}.`)}return new eJ({name:e.name,description:e.description,types:()=>e.possibleTypes.map(f)})}(e);case c.ENUM:return function(e){if(!e.enumValues){let t=(0,y.X)(e);throw Error(`Introspection result missing enumValues: ${t}.`)}return new eK({name:e.name,description:e.description,values:I(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case c.INPUT_OBJECT:return function(e){if(!e.inputFields){let t=(0,y.X)(e);throw Error(`Introspection result missing inputFields: ${t}.`)}return new e0({name:e.name,description:e.description,fields:()=>b(e.inputFields)})}(e)}let t=(0,y.X)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${t}.`)})(e));for(let e of[...ti,...tR])r[e.name]&&(r[e.name]=e);let i=n.queryType?f(n.queryType):null,o=n.mutationType?f(n.mutationType):null,a=n.subscriptionType?f(n.subscriptionType):null,l=n.directives?n.directives.map(function(e){if(!e.args){let t=(0,y.X)(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=(0,y.X)(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new ts({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:b(e.args)})}):[];return new t$({description:n.description,query:i,mutation:o,subscription:a,types:Object.values(r),directives:l,assumeValid:null==t?void 0:t.assumeValid});function u(e){if(e.kind===c.LIST){let t=e.ofType;
119if(!t)throw Error("Decorated type deeper than introspection query.");return new ex(u(t))}if(e.kind===c.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new eO(eF(u(t)))}return s(e)}function s(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${(0,y.X)(e)}.`);let n=r[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function f(e){return eo(s(e))}function p(e){return el(s(e))}function h(e){if(null===e.interfaces&&e.kind===c.INTERFACE)return[];if(!e.interfaces){let t=(0,y.X)(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(p)}function g(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,y.X)(e)}.`);return I(e.fields,e=>e.name,v)}function v(e){let t=u(e.type);if(!eE(t)){let e=(0,y.X)(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=(0,y.X)(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:b(e.args)}}function b(e){return I(e,e=>e.name,E)}function E(e){let t=u(e.type);if(!ev(t)){let e=(0,y.X)(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?nF((0,m.H2)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function rz(e,t,n){tC(e),null!=t&&t.kind===F.h.DOCUMENT||(0,d.a)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e,t){let n=rr(e,t);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}(t,e);let r=e.toConfig(),i=rG(r,t,n);return r===i?e:new t$(i)}function rG(e,t,n){var r,i,o,a,l;let u;let s=[],c=Object.create(null),f=[],p=[];for(let e of t.definitions)if(e.kind===F.h.SCHEMA_DEFINITION)u=e;else if(e.kind===F.h.SCHEMA_EXTENSION)p.push(e);else if(t4(e))s.push(e);else if(t5(e)){let t=e.name.value,n=c[t];c[t]=n?n.concat([e]):[e]}else e.kind===F.h.DIRECTIVE_DEFINITION&&f.push(e);if(0===Object.keys(c).length&&0===s.length&&0===f.length&&0===p.length&&null==u)return e;let d=Object.create(null);for(let t of e.types)d[t.name]=tF(t)||to(t)?t:en(t)?function(e){var t,n;let r=e.toConfig(),i=null!==(t=c[r.name])&&void 0!==t?t:[],o=r.specifiedByURL;for(let e of i)o=null!==(n=rQ(e))&&void 0!==n?n:o;return new eU({...r,specifiedByURL:o,extensionASTNodes:r.extensionASTNodes.concat(i)})}(t):ei(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new eV({...n,interfaces:()=>[...e.getInterfaces().map(g),...x(r)],fields:()=>({...N(n.fields,v),...w(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):ea(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new eY({...n,interfaces:()=>[...e.getInterfaces().map(g),...x(r)],fields:()=>({...N(n.fields,v),...w(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):eu(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new eJ({...n,types:()=>[...e.getTypes().map(g),...O(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):ec(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[e.name])&&void 0!==t?t:[];return new eK({...n,values:{...n.values,...S(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):ep(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new e0({...n,fields:()=>({...N(n.fields,e=>({...e,type:m(e.type)})),...k(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):void(0,tg.k)(!1,"Unexpected type: "+(0,y.X)(t));for(let e of s){let t=e.name.value;d[t]=null!==(l=rX[t])&&void 0!==l?l:function(e){var t,n,r,i,o,a,l;let u=e.name.value,s=null!==(t=c[u])&&void 0!==t?t:[];switch(e.kind){case F.h.OBJECT_TYPE_DEFINITION:{let t=[e,...s];return new eV({name:u,description:null===(n=e.description)||void 0===n?void 0:n.value,interfaces:()=>x(t),fields:()=>w(t),astNode:e,extensionASTNodes:s})}case F.h.INTERFACE_TYPE_DEFINITION:{let t=[e,...s];return new eY({name:u,description:null===(r=e.description)||void 0===r?void 0:r.value,interfaces:()=>x(t),fields:()=>w(t),astNode:e,extensionASTNodes:s})}case F.h.ENUM_TYPE_DEFINITION:{let t=[e,...s];return new eK({name:u,description:null===(i=e.description)||void 0===i?void 0:i.value,values:S(t),astNode:e,extensionASTNodes:s})}case F.h.UNION_TYPE_DEFINITION:{let t=[e,...s];return new eJ({name:u,description:null===(o=e.description)||void 0===o?void 0:o.value,types:()=>O(t),astNode:e,extensionASTNodes:s})}case F.h.SCALAR_TYPE_DEFINITION:return new eU({name:u,description:null===(a=e.description)||void 0===a?void 0:a.value,specifiedByURL:rQ(e),astNode:e,extensionASTNodes:s});case F.h.INPUT_OBJECT_TYPE_DEFINITION:{let t=[e,...s];return new e0({name:u,description:null===(l=e.description)||void 0===l?void 0:l.value,fields:()=>k(t),astNode:e,extensionASTNodes:s})}}}(e)}let h={query:e.query&&g(e.query),mutation:e.mutation&&g(e.mutation),subscription:e.subscription&&g(e.subscription),...u&&E([u]),...E(p)};return{description:null===(r=u)||void 0===r?void 0:null===(i=r.description)||void 0===i?void 0:i.value,...h,types:Object.values(d),directives:[...e.directives.map(function(e){let t=e.toConfig();return new ts({...t,args:N(t.args,b)})}),...f.map(function(e){var t;return new ts({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:I(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(o=u)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(p),assumeValid:null!==(a=null==n?void 0:n.assumeValid)&&void 0!==a&&a};function m(e){return eh(e)?new ex(m(e.ofType)):ey(e)?new eO(m(e.ofType)):g(e)}function g(e){return d[e.name]}function v(e){return{...e,type:m(e.type),args:e.args&&N(e.args,b)}}function b(e){return{...e,type:m(e.type)}}function E(e){let t={};for(let r of e){var n;for(let e of null!==(n=r.operationTypes)&&void 0!==n?n:[])t[e.operation]=T(e.type)}return t}function T(e){var t;let n=e.name.value,r=null!==(t=rX[n])&&void 0!==t?t:d[n];if(void 0===r)throw Error(`Unknown type: "${n}".`);return r}function _(e){return e.kind===F.h.LIST_TYPE?new ex(_(e.type)):e.kind===F.h.NON_NULL_TYPE?new eO(_(e.type)):T(e)}function w(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[])t[e.name.value]={type:_(e.type),description:null===(r=e.description)||void 0===r?void 0:r.value,args:I(e.arguments),deprecationReason:rH(e),astNode:e}}return t}function I(e){let t=Object.create(null);for(let r of null!=e?e:[]){var n;let e=_(r.type);t[r.name.value]={type:e,description:null===(n=r.description)||void 0===n?void 0:n.value,defaultValue:nF(r.defaultValue,e),deprecationReason:rH(r),astNode:r}}return t}function k(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[]){let n=_(e.type);t[e.name.value]={type:n,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:nF(e.defaultValue,n),deprecationReason:rH(e),astNode:e}}}return t}function S(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.values)&&void 0!==n?n:[])t[e.name.value]={description:null===(r=e.description)||void 0===r?void 0:r.value,deprecationReason:rH(e),astNode:e}}return t}function x(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(T))&&void 0!==t?t:[]})}function O(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(T))&&void 0!==t?t:[]})}}let rX=w([...ti,...tR],e=>e.name);function rH(e){let t=nP(td,e);return null==t?void 0:t.reason}function rQ(e){let t=nP(th,e);return null==t?void 0:t.url}function rY(e,t){null!=e&&e.kind===F.h.DOCUMENT||(0,d.a)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){let t=rr(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}(e);let n=rG({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(let e of n.types)switch(e.name){case"Query":n.query=e;break;case"Mutation":n.mutation=e;break;case"Subscription":n.subscription=e}let r=[...n.directives,...tm.filter(e=>n.directives.every(t=>t.name!==e.name))];return new t$({...n,directives:r})}function rJ(e,t){return rY((0,m.Qc)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function rW(e){var t,n,r;let i=e.toConfig(),o=I(rZ(i.types),e=>e.name,function(e){if(en(e)||tF(e))return e;if(ei(e)){let t=e.toConfig();return new eV({...t,interfaces:()=>c(t.interfaces),fields:()=>s(t.fields)})}if(ea(e)){let t=e.toConfig();return new eY({...t,interfaces:()=>c(t.interfaces),fields:()=>s(t.fields)})}if(eu(e)){let t=e.toConfig();return new eJ({...t,types:()=>c(t.types)})}if(ec(e)){let t=e.toConfig();return new eK({...t,values:rK(t.values,e=>e)})}if(ep(e)){let t=e.toConfig();return new e0({...t,fields:()=>rK(t.fields,e=>({...e,type:a(e.type)}))})}(0,tg.k)(!1,"Unexpected type: "+(0,y.X)(e))});return new t$({...i,types:Object.values(o),directives:rZ(i.directives).map(function(e){let t=e.toConfig();return new ts({...t,locations:r0(t.locations,e=>e),args:u(t.args)})}),query:(t=i.query)&&l(t),mutation:(n=i.mutation)&&l(n),subscription:(r=i.subscription)&&l(r)});function a(e){return eh(e)?new ex(a(e.ofType)):ey(e)?new eO(a(e.ofType)):l(e)}function l(e){return o[e.name]}function u(e){return rK(e,e=>({...e,type:a(e.type)}))}function s(e){return rK(e,e=>({...e,type:a(e.type),args:e.args&&u(e.args)}))}function c(e){return rZ(e).map(l)}}function rK(e,t){let n=Object.create(null);for(let r of Object.keys(e).sort(k))n[r]=t(e[r]);return n}function rZ(e){return r0(e,e=>e.name)}
119function r0(e,t){return e.slice().sort((e,n)=>k(t(e),t(n)))}function r1(e){return r4(e,e=>!ty(e),r3)}function r2(e){return r4(e,ty,tF)}function r3(e){return!to(e)&&!tF(e)}function r4(e,t,n){let r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(e){if(null==e.description&&function(e){let t=e.getQueryType();if(t&&"Query"!==t.name)return!1;let n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;let r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;let t=[],n=e.getQueryType();n&&t.push(` query: ${n.name}`);let r=e.getMutationType();r&&t.push(` mutation: ${r.name}`);let i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),ir(e)+`schema { 120${t.join("\n")} 121}`}(e),...r.map(e=>ir(e)+"directive @"+e.name+r8(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")),...i.map(e=>r6(e))].filter(Boolean).join("\n\n")}function r6(e){return en(e)?ir(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";let t=q({kind:F.h.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}(e):ei(e)?ir(e)+`type ${e.name}`+r5(e)+r9(e):ea(e)?ir(e)+`interface ${e.name}`+r5(e)+r9(e):eu(e)?function(e){let t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return ir(e)+"union "+e.name+n}(e):ec(e)?function(e){let t=e.getValues().map((e,t)=>ir(e," ",!t)+" "+e.name+it(e.deprecationReason));return ir(e)+`enum ${e.name}`+r7(t)}(e):ep(e)?function(e){let t=Object.values(e.getFields()).map((e,t)=>ir(e," ",!t)+" "+ie(e));return ir(e)+`input ${e.name}`+r7(t)}(e):void(0,tg.k)(!1,"Unexpected type: "+(0,y.X)(e))}function r5(e){let t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function r9(e){return r7(Object.values(e.getFields()).map((e,t)=>ir(e," ",!t)+" "+e.name+r8(e.args," ")+": "+String(e.type)+it(e.deprecationReason)))}function r7(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function r8(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(ie).join(", ")+")":"(\n"+e.map((e,n)=>ir(e," "+t,!n)+" "+t+ie(e)).join("\n")+"\n"+t+")"}function ie(e){let t=tb(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=` = ${q(t)}`),n+it(e.deprecationReason)}function it(e){if(null==e)return"";if(e!==tp){let t=q({kind:F.h.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function ir(e,t="",n=!0){let{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+q({kind:F.h.STRING,value:r,block:(0,L.MZ)(r)}).replace(/\n/g,"\n"+t)+"\n"}function ii(e){let t=[];for(let n of e)t.push(...n.definitions);return{kind:F.h.DOCUMENT,definitions:t}}function io(e){let t=[],n=Object.create(null);for(let r of e.definitions)switch(r.kind){case F.h.OPERATION_DEFINITION:t.push(r);break;case F.h.FRAGMENT_DEFINITION:n[r.name.value]=ia(r.selectionSet)}let r=Object.create(null);for(let i of t){let t=new Set;for(let e of ia(i.selectionSet))!function e(t,n,r){if(!t.has(r)){t.add(r);let i=n[r];if(void 0!==i)for(let r of i)e(t,n,r)}}(t,n,e);r[i.name?i.name.value:""]={kind:F.h.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===F.h.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function ia(e){let t=[];return M(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function il(e){let t=(0,rS.T)(e)?e:new rS.H(e),n=t.body,r=new rA.h(t),i="",o=!1;for(;r.advance().kind!==rD.T.EOF;){let e=r.token,t=e.kind,a=!(0,rA.u)(e.kind);o&&(a||e.kind===rD.T.SPREAD)&&(i+=" ");let l=n.slice(e.start,e.end);t===rD.T.BLOCK_STRING?i+=(0,L.LZ)(e.value,{minimize:!0}):i+=l,o=a}return i}function iu(e){let t=is(e);if(t)throw t;return e}function is(e){if("string"==typeof e||(0,d.a)(!1,"Expected name to be a string."),e.startsWith("__"))return new g.__(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{K(e)}catch(e){return e}}function ic(e,t){return id(e,t).filter(e=>e.type in f)}function ip(e,t){return id(e,t).filter(e=>e.type in p)}function id(e,t){return[...function(e,t){let n=[],r=ib(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(let e of r.removed)n.push({type:f.TYPE_REMOVED,description:to(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,t]of r.persisted)ec(e)&&ec(t)?n.push(...function(e,t){let n=[],r=ib(e.getValues(),t.getValues());for(let t of r.added)n.push({type:p.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(let t of r.removed)n.push({type:f.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}(e,t)):eu(e)&&eu(t)?n.push(...function(e,t){let n=[],r=ib(e.getTypes(),t.getTypes());for(let t of r.added)n.push({type:p.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(let t of r.removed)n.push({type:f.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}(e,t)):ep(e)&&ep(t)?n.push(...function(e,t){let n=[],r=ib(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.added)e2(t)?n.push({type:f.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:p.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(let t of r.removed)n.push({type:f.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)iy(t.type,i.type)||n.push({type:f.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t)):ei(e)&&ei(t)?n.push(...im(e,t),...ih(e,t)):ea(e)&&ea(t)?n.push(...im(e,t),...ih(e,t)):e.constructor!==t.constructor&&n.push({type:f.TYPE_CHANGED_KIND,description:`${e.name} changed from ${ig(e)} to ${ig(t)}.`});return n}(e,t),...function(e,t){let n=[],r=ib(e.getDirectives(),t.getDirectives());for(let e of r.removed)n.push({type:f.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,t]of r.persisted){let r=ib(e.args,t.args);for(let t of r.added)eQ(t)&&n.push({type:f.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(let t of r.removed)n.push({type:f.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});for(let r of(e.isRepeatable&&!t.isRepeatable&&n.push({type:f.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))t.locations.includes(r)||n.push({type:f.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}(e,t)]}function ih(e,t){let n=[],r=ib(e.getInterfaces(),t.getInterfaces());
121for(let t of r.added)n.push({type:p.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(let t of r.removed)n.push({type:f.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function im(e,t){let n=[],r=ib(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.removed)n.push({type:f.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)n.push(...function(e,t,n){let r=[],i=ib(t.args,n.args);for(let n of i.removed)r.push({type:f.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(let[n,o]of i.persisted)if(iy(n.type,o.type)){if(void 0!==n.defaultValue){if(void 0===o.defaultValue)r.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{let i=iv(n.defaultValue,n.type),a=iv(o.defaultValue,o.type);i!==a&&r.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${a}.`})}}}else r.push({type:f.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(o.type)}.`});for(let n of i.added)eQ(n)?r.push({type:f.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:p.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}(e,t,i)),!function e(t,n){return eh(t)?eh(n)&&e(t.ofType,n.ofType)||ey(n)&&e(t,n.ofType):ey(t)?ey(n)&&e(t.ofType,n.ofType):eC(n)&&t.name===n.name||ey(n)&&e(t,n.ofType)}(t.type,i.type)&&n.push({type:f.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function iy(e,t){return eh(e)?eh(t)&&iy(e.ofType,t.ofType):ey(e)?ey(t)&&iy(e.ofType,t.ofType)||!ey(t)&&iy(e.ofType,t):eC(t)&&e.name===t.name}function ig(e){return en(e)?"a Scalar type":ei(e)?"an Object type":ea(e)?"an Interface type":eu(e)?"a Union type":ec(e)?"an Enum type":ep(e)?"an Input type":void(0,tg.k)(!1,"Unexpected type: "+(0,y.X)(e))}function iv(e,t){let n=tb(e,t);return null!=n||(0,tg.k)(!1),q(np(n))}function ib(e,t){let n=[],r=[],i=[],o=w(e,({name:e})=>e),a=w(t,({name:e})=>e);for(let t of e){let e=a[t.name];void 0===e?r.push(t):i.push([t,e])}for(let e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}(u=f||(f={})).TYPE_REMOVED="TYPE_REMOVED",u.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",u.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",u.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",u.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",u.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",u.FIELD_REMOVED="FIELD_REMOVED",u.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",u.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",u.ARG_REMOVED="ARG_REMOVED",u.ARG_CHANGED_KIND="ARG_CHANGED_KIND",u.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",u.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",u.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",u.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",u.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED",(s=p||(p={})).VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",s.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",s.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",s.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",s.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",s.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"},8512:function(e,t,n){"use strict";n.d(t,{D:function(){return np}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return e0},contentInitial:function(){return eQ},disable:function(){return e1},document:function(){return eH},flow:function(){return eJ},flowInitial:function(){return eY},insideSpan:function(){return eZ},string:function(){return eW},text:function(){return eK}});var i={};n.r(i),n.d(i,{boolean:function(){return tR},booleanish:function(){return tF},commaOrSpaceSeparated:function(){return tj},commaSeparated:function(){return tP},number:function(){return tC},overloadedBoolean:function(){return tL},spaceSeparated:function(){return t$}});var o=n(2265),a=n(9934);function l(e){return e&&"object"==typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?u(e):"":""}function u(e){return c(e&&e.line)+":"+c(e&&e.column)}function s(e){return u(e&&e.start)+"-"+u(e&&e.end)}function c(e){return e&&"number"==typeof e?e:1}
121class f extends Error{constructor(e,t,n){let r=[null,null],i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=l(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}f.prototype.file="",f.prototype.name="",f.prototype.reason="",f.prototype.message="",f.prototype.stack="",f.prototype.fatal=null,f.prototype.column=null,f.prototype.line=null,f.prototype.source=null,f.prototype.ruleId=null,f.prototype.position=null;let p={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');d(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(d(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;d(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)d(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){d(e);let t=47===e.charCodeAt(0),n=function(e,t){let n,r,i="",o=0,a=-1,l=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else if(47===n)break;else n=47;if(47===n){if(a===u-1||1===l);else if(a!==u-1&&2===l){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=u,l=0;continue}}else if(i.length>0){i="",o=0,a=u,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function d(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let t,n;t=e?"string"==typeof e||a(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++r<m.length;){let e=m[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)m.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?p.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=p.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?p.basename(this.path):void 0}
121set basename(e){v(e,"basename"),g(e,"basename"),this.path=p.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?p.extname(this.path):void 0}set extname(e){if(g(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=p.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?p.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),g(e,"stem"),this.path=p.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new f(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function g(e,t){if(e&&e.includes(p.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+p.sep+"`")}function v(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function E(e){if(e)throw e}var T=n(5379);function _(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let w=(function e(){let t;let n=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let l=e[++n],u=-1;if(o){r(o);return}for(;++u<t.length;)(null===a[u]||void 0===a[u])&&(a[u]=t[u]);t=a,l?(function(e,t){let n;return function(...t){let o;let a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o instanceof Promise?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],i={},o=-1;return l.data=function(e,n){return"string"==typeof e?2==arguments.length?(x("data",t),i[e]=n,l):I.call(i,e)&&i[e]||null:e?(x("data",t),i=e,l):i},l.Parser=void 0,l.Compiler=void 0,l.freeze=function(){if(t)return l;for(;++o<r.length;){let[e,...t]=r[o];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let i=e.call(l,...t);"function"==typeof i&&n.use(i)}return t=!0,o=Number.POSITIVE_INFINITY,l},l.attachers=r,l.use=function(e,...n){let o;if(x("use",t),null==e);else if("function"==typeof e)s(e,...n);else if("object"==typeof e)Array.isArray(e)?u(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return o&&(i.settings=Object.assign(i.settings||{},o)),l;function a(e){u(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function u(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;s(t,...n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(_(n[1])&&_(t)&&(t=T(!0,n[1],t)),n[1]=t):r.push([...arguments])}},l.parse=function(e){l.freeze();let t=D(e),n=l.Parser;return(k("parse",n),N(n,"parse"))?new n(String(t),t).parse():n(String(t),t)},l.stringify=function(e,t){l.freeze();let n=D(t),r=l.Compiler;return(S("stringify",r),O(e),N(r,"compile"))?new r(e,n).compile():r(e,n)},l.run=function(e,t,r){if(O(e),l.freeze(),r||"function"!=typeof t||(r=t,t=void 0),!r)return new Promise(i);function i(i,o){n.run(e,D(t),function(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)})}i(null,r)},l.runSync=function(e,t){let n,r;return l.run(e,t,function(e,t){E(e),n=t,r=!0}),A("runSync","run",r),n},l.process=function(e,t){if(l.freeze(),k("process",l.Parser),S("process",l.Compiler),!t)return new Promise(n);function n(n,r){let i=D(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}l.run(l.parse(i),i,(e,t,n)=>{if(!e&&t&&n){let r=l.stringify(t,n);null==r||("string"==typeof r||a(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},l.processSync=function(e){let t;l.freeze(),k("processSync",l.Parser),S("processSync",l.Compiler);let n=D(e);return l.process(n,function(e){t=!0,E(e)}),A("processSync","process",t),n},l;function l(){let t=e(),n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(T(!0,{},i)),t}})().freeze(),I={}.hasOwnProperty;function N(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(I.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function k(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function S(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function x(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function O(e){if(!_(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function A(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function D(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new y(e)}let R={};function F(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return L(e.children,t,n)}return Array.isArray(e)?L(e,t,n):""}function L(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=F(e[i],t,n);return r.join("")}function C(e,t,n,r){let i;let o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function $(e,t){return e.length>0?(C(e,e.length,0,t),e):t}let P={}.hasOwnProperty,j=J(/[A-Za-z]/),M=J(/[\dA-Za-z]/),U=J(/[#-'*+\--9=?A-Z^-~]/);function V(e){return null!==e&&(e<32||127===e)}let B=J(/\d/),q=J(/[\dA-Fa-f]/),z=J(/[!-/:-@[-`{-~]/);function G(e){return null!==e&&e<-2}function X(e){return null!==e&&(e<0||32===e)}function H(e){return -2===e||-1===e||32===e}let Q=J(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Y=J(/\s/);function J(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function W(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return H(r)?(e.enter(n),function r(a){return H(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let K={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),W(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return G(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},Z={tokenize:function(e){let t,n,r;let i=this,o=[],a=0;return l;function l(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,u,s)(t)}return s(t)}function u(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&g();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}y(a);let l=r;
121for(;l<i.events.length;)i.events[l][1].end=Object.assign({},n),l++;return C(i.events,o+1,0,i.events.slice(r)),i.events.length=l,s(e)}return l(e)}function s(n){if(a===o.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(ee,c,f)(n)}function c(e){return t&&g(),y(a),p(e)}function f(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,h(e)}function p(t){return i.containerState={},e.attempt(ee,d,h)(t)}function d(e){return a++,o.push([i.currentConstruct,i.containerState]),p(e)}function h(r){if(null===r){t&&g(),y(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),y(0),e.consume(n);return}return G(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function m(e,o){let l=i.sliceStream(e);if(o&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let l=i.events.length,u=l;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(y(a),o=l;o<i.events.length;)i.events[o][1].end=Object.assign({},n),o++;C(i.events,u+1,0,i.events.slice(l)),i.events.length=o}}function y(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function g(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},ee={tokenize:function(e,t,n){return W(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},et={tokenize:function(e,t,n){return function(t){return H(t)?W(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||G(e)?t(e):n(e)}},partial:!0};function en(e){let t,n,r,i,o,a,l;let u={},s=-1;for(;++s<e.length;){for(;(s in u);)s=u[s];if(t=e[s],s&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[s-1][1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r;let i=e[t][1],o=e[t][2],a=t-1,l=[],u=i._tokenizer||o.parser[i.contentType](i.start),s=u.events,c=[],f={},p=-1,d=i,h=0,m=0,y=[0];for(;d;){for(;e[++a][1]!==d;);l.push(a),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&u.defineSkip(d.start),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,y.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(u.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){let t=s.slice(y[p],y[p+1]),n=l.pop();c.unshift([n,n+t.length-1]),C(e,n,2,t)}for(p=-1;++p<c.length;)f[h+c[p][0]]=h+c[p][1],h+=c[p][1]-c[p][0]-1;return f}(e,s)),s=u[s],l=!0);else if(t[1]._container){for(r=s,n=void 0;r--;)if("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(o=e.slice(n,s)).unshift(t),C(e,n,s-n+1,o))}}return!l}let er={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):G(t)?e.check(ei,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return en(e),e}},ei={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),W(e,i,"linePrefix")};function i(i){if(null===i||G(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(et,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,W(e,e.attempt(this.parser.constructs.flow,r,e.attempt(er,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},ea={resolveAll:ec()}
121,el=es("string"),eu=es("text");function es(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:ec("text"===e?ef:void 0)}}function ec(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ef(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],o=t.sliceStream(i),a=o.length,l=-1,u=0;for(;a--;){let e=o[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)u++,l--;if(l)break;l=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{a++;break}}if(u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-u,offset:i.end.offset-u,_index:i.start._index+a,_bufferIndex:a?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},o.start),i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function ep(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let ed={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),H(n)?W(e,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||G(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},eh={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:B(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ed,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return B(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(et,r.interrupt?n:u,e.attempt(em,c,s))}
121function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return H(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(et,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,W(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!H(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ey,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,W(e,e.attempt(eh,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},em={tokenize:function(e,t,n){let r=this;return W(e,function(e){let i=r.events[r.events.length-1];return!H(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ey={tokenize:function(e,t,n){let r=this;return W(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eg={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return H(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return H(t)?W(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eg,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ev(e,t,n,r,i,o,a,l,u){let s=u||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||V(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||G(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return!c&&(null===i||41===i||X(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):c<s&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||V(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function eb(e,t,n,r,i,o){let a;let l=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),s};function s(f){return u>999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):G(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||G(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),a||(a=!H(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function eE(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===a?(e.exit(o),l(a)):null===t?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),W(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===a||null===t||G(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===a||92===t?(e.consume(t),s):s(t)}}function eT(e,t){let n;return function r(i){return G(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):H(i)?W(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e_(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let ew={tokenize:function(e,t,n){return function(t){return X(t)?eT(e,r)(t):n(t)};function r(t){return eE(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return H(t)?W(e,o,"whitespace")(t):o(t)}function o(e){return null===e||G(e)?t(e):n(e)}},partial:!0},eI={name:"codeIndented",tokenize:function(e,t,n){let r=this;
121return function(t){return e.enter("codeIndented"),W(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):G(n)?e.attempt(eN,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||G(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},eN={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):W(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):G(e)?i(e):n(e)}},partial:!0},ek={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),H(n)?W(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||G(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},eS=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ex=["pre","script","style","textarea"],eO={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(et,t,n)}},partial:!0},eA={tokenize:function(e,t,n){let r=this;return function(t){return G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eD={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eR={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),H(t)?W(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),H(i)?W(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||G(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a=0,l=0;return function(t){return function(t){let o=i.events[i.events.length-1];return a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),H(i)?W(e,u,"whitespace")(i):u(i))}(t)}(t)};function u(o){return null===o||G(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(eD,c,h)(o)):(e.enter("co
121deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||G(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):H(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),W(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function s(t){return null===t||G(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||G(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return a>0&&H(t)?W(e,d,"linePrefix",a+1)(t):d(t)}function d(t){return null===t||G(t)?e.check(eD,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||G(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eF=document.createElement("i");function eL(e){let t="&"+e+";";eF.innerHTML=t;let n=eF.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eC={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=M,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=q,s):(e.enter("characterReferenceValue"),r=7,i=B,s(t))}function s(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==M||eL(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<r?(e.consume(l),s):n(l)}}},e$={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return z(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eP={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),W(e,t,"linePrefix")}}},ej={name:"labelEnd",tokenize:function(e,t,n){let r,i;let o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(e_(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(eM,s,i?s:c)(t):91===t?e.attempt(eU,s,i?u:c)(t):i?s(t):c(t)}function u(t){return e.attempt(eV,s,c)(t)}function s(e){return t(e)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,l=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=a);let u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=$(o=[["enter",u,t],["enter",s,t]],e.slice(r+1,r+l+3)),o=$(o,[["enter",c,t]]),o=$(o,ep(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),o=$(o,[["exit",c,t],e[i-2],e[i-1],["exit",s,t]]),o=$(o,e.slice(i+1)),o=$(o,[["exit",u,t]]),C(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},eM={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return X(t)?eT(e,i)(t):i(t)}function i(t){return 41===t?s(t):ev(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return X(t)?eT(e,l)(t):s(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?eE(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function u(t){return X(t)?eT(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eU={tokenize:function(e,t,n){let r=this;return function(t){return eb.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};
121function i(e){return r.parser.defined.includes(e_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},eV={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eB={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ej.resolveAll};function eq(e){return null===e||X(e)||Y(e)?1:Q(e)?2:void 0}let ez={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=eq(i);return function(a){return n=a,e.enter("attentionSequence"),function a(l){if(l===n)return e.consume(l),a;let u=e.exit("attentionSequence"),s=eq(l),c=!s||2===s&&o||r.includes(l),f=!o||2===o&&s||r.includes(i);return u._open=!!(42===n?c:c&&(o||!f)),u._close=!!(42===n?f:f&&(s||!c)),t(l)}(a)}},resolveAll:function(e,t){let n,r,i,o,a,l,u,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f=Object.assign({},e[n][1].end),p=Object.assign({},e[c][1].start);eG(f,-l),eG(p,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=$(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=$(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=$(u,ep(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=$(u,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=$(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,C(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function eG(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eX={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ej.resolveAll},eH={42:eh,43:eh,45:eh,48:eh,49:eh,50:eh,51:eh,52:eh,53:eh,54:eh,55:eh,56:eh,57:eh,62:eg},eQ={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),eb.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=e_(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return X(t)?eT(e,l)(t):l(t)}function l(t){return ev(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(ew,s,s)(t)}function s(t){return H(t)?W(e,c,"whitespace")(t):c(t)}function c(o){return null===o||G(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},eY={[-2]:eI,[-1]:eI,32:eI},eJ={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||X(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||G(r)?(e.exit("atxHeading"),t(r)):H(r)?W(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||X(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},C(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}}
121,42:ed,45:[ek,ed],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,a,l;let u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s};function s(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,d):63===a?(e.consume(a),r=3,u.interrupt?t:R):j(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,a=0,p):j(i)?(e.consume(i),r=4,u.interrupt?t:R):n(i)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:R):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?u.interrupt?t:I:p:n(r)}function d(t){return j(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||X(a)){let l=47===a,s=o.toLowerCase();return!l&&!i&&ex.includes(s)?(r=1,u.interrupt?t(a):I(a)):eS.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):u.interrupt?t(a):I(a):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(a):i?function t(n){return H(n)?(e.consume(n),t):_(n)}(a):y(a))}return 45===a||M(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:I):n(r)}function y(t){return 47===t?(e.consume(t),_):58===t||95===t||j(t)?(e.consume(t),g):H(t)?(e.consume(t),y):_(t)}function g(t){return 45===t||46===t||58===t||95===t||M(t)?(e.consume(t),g):v(t)}function v(t){return 61===t?(e.consume(t),b):H(t)?(e.consume(t),v):y(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,E):H(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||X(n)?v(n):(e.consume(n),t)}(t)}function E(t){return t===l?(e.consume(t),l=null,T):null===t||G(t)?n(t):(e.consume(t),E)}function T(e){return 47===e||62===e||H(e)?y(e):n(e)}function _(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||G(t)?I(t):H(t)?(e.consume(t),w):n(t)}function I(t){return 45===t&&2===r?(e.consume(t),x):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),F):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),D):G(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eO,L,N)(t)):null===t||G(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),I)}function N(t){return e.check(eA,k,L)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),S}function S(t){return null===t||G(t)?N(t):(e.enter("htmlFlowData"),I(t))}function x(t){return 45===t?(e.consume(t),R):I(t)}function O(t){return 47===t?(e.consume(t),o="",A):I(t)}function A(t){if(62===t){let n=o.toLowerCase();return ex.includes(n)?(e.consume(t),F):I(t)}return j(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):I(t)}function D(t){return 93===t?(e.consume(t),R):I(t)}function R(t){return 62===t?(e.consume(t),F):45===t&&2===r?(e.consume(t),R):I(t)}function F(t){return null===t||G(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),F)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:ek,95:ed,96:eR,126:eR},eW={38:eC,92:e$},eK={[-5]:eP,[-4]:eP,[-3]:eP,33:eB,38:eC,42:ez,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return j(t)?(e.consume(t),o):l(t)}function o(t){return 43===t||45===t||46===t||M(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||M(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||V(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),u):U(t)?(e.consume(t),l):n(t)}function u(i){return M(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||M(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),E):63===t?(e.consume(t),v):j(t)?(e.consume(t),_):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,d):j(t)?(e.consume(t),g):n(t)}function s(t){return 45===t?(e.consume(t),p):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):G(t)?(o=c,A(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),p):c(t)}function p(e){return 62===e?O(e):45===e?f(e):c(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:d):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):G(t)?(o=h,A(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),y):h(t)}function y(t){return 62===t?O(t):93===t?(e.consume(t),y):h(t)}function g(t){return null===t||62===t?O(t):G(t)?(o=g,A(t)):(e.consume(t),g)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):G(t)?(o=v,A(t)):(e.consume(t),v)}function b(e){return 62===e?O(e):v(e)}function E(t){return j(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||M(t)?(e.consume(t),T):function t(n){return G(n)?(o=t,A(n)):H(n)?(e.consume(n),t):O(n)}(t)}function _(t){return 45===t||M(t)?(e.consume(t),_):47===t||62===t||X(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),O):58===t||95===t||j(t)?(e.consume(t),I):G(t)?(o=w,A(t)):H(t)?(e.consume(t),w):O(t)}function I(t){return 45===t||46===t||58===t||95===t||M(t)?(e.consume(t),I):function t(n){return 61===n?(e.consume(n),N):G(n)?(o=t,A(n)):H(n)?(e.consume(n),t):w(n)}(t)}function N(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):G(t)?(o=N,A(t)):H(t)?(e.consume(t),N):(e.consume(t),S)}function k(t){return t===r?(e.consume(t),r=void 0,x):null===t?n(t):G(t)?(o=k,A(t)):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||X(t)?w(t):(e.consume(t),S)}function x(e){return 47===e||62===e||X(e)?w(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),D}function D(t){return H(t)?W(e,R,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),o(t)}}}],91:eX,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return G(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},e$],93:ej,95:ez,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;
121return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),a):96===u?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(u)):G(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(u))}function l(t){return null===t||32===t||96===t||G(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},eZ={null:[ez,ea]},e0={null:[42,95]},e1={null:[]},e2=/[\0\t\n\r]/g;function e3(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}let e4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e6(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return e3(n.slice(t?2:1),t?16:10)}return eL(n)||e}let e5={}.hasOwnProperty,e9=function(e,t,n){let i,o,a,u;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(E),autolinkProtocol:p,autolinkEmail:p,atxHeading:o(g),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:p,characterReference:p,codeFenced:o(y),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(y,a),codeText:o(function(){return{type:"inlineCode",value:""}},a),codeTextData:p,data:p,codeFlowValue:p,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(v),hardBreakTrailing:o(v),htmlFlow:o(b,a),htmlFlowData:p,htmlText:o(b,a),htmlTextData:p,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:o(E),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:o(T,function(){n.expectingFirstListItemValue=!0}),listUnordered:o(T),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(g),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t;let r=this.sliceSerialize(e),i=n.characterReferenceType;i?(t=e3(r,"characterReferenceMarkerNumeric"===i?10:16),n.characterReferenceType=void 0):t=eL(r);let o=this.stack.pop();o.value+=t,o.position.end=e7(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e_(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(n.inReference=!0,"link"===r.type){let t=e.children;r.children=t}else r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e4,e6),n.identifier=e_(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(n.atHardBreak){r.children[r.children.length-1].position.end=e7(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(p.call(this,e),d.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=e_(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:s(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(e5.call(t,n)){if("canContainEols"===n){let r=t[n];r&&e[n].push(...r)}else if("transforms"===n){let r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},o={stack:[n],tokenStack:[],config:t,enter:u,exit:c,buffer:a,resume:f,setData:r,getData:i},l=[],s=-1;for(;++s<e.length;)("listOrdered"===e[s][1].type||"listUnordered"===e[s][1].type)&&("enter"===e[s][0]?l.push(s):s=function(e,t,n){let r,i,o,a,l=t-1,u=-1,s=!1;for(;++l<=n;){let t=e[l];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"
121===t[0]&&(!r||a||u||o||(o=l),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(l,0,["enter",r,t[2]]),l++,n++,o=void 0,a=!0)}}return e[t][1]._spread=s,n}(e,l.pop(),s));for(s=-1;++s<e.length;){let n=t[e[s][0]];e5.call(n,e[s][1].type)&&n[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},o),e[s][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||e8).call(o,void 0,e[0])}for(n.position={start:e7(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e7(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s<t.transforms.length;)n=t.transforms[s](n)||n;return n};function r(e,t){n[e]=t}function i(e){return n[e]}function o(e,t){return function(n){u.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function u(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:e7(t.start)},e}function s(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||e8).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+l({start:e.start,end:e.end})+"): itâs not open");return n.position.end=e7(e.end),n}function f(){return F(this.stack.pop(),"boolean"!=typeof R.includeImageAlt||R.includeImageAlt,"boolean"!=typeof R.includeHtml||R.includeHtml)}function p(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:e7(e.start)},t.children.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e7(e.end)}function h(){n.atHardBreak=!0}function m(e){var t;t=e.type,n.characterReferenceType=t}function y(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function b(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function T(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!en(e););return e}((function(e){let t={defined:[],lazy:{},constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r;let i=(P.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){P.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);C(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(K),document:n(Z),flow:n(eo),string:n(el),text:n(eu)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],a=[],l=[],u={consume:function(e){G(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,y()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),s.events.push(["enter",n,s]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=p(),s.events.push(["exit",t,s]),t},attempt:h(function(e,t){m(e,t.from)}),check:h(d),interrupt:h(d,{interrupt:!0})},s={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(f(e),t)}
121,now:p,defineSkip:function(e){i[e.line]=e.column,y()},write:function(e){return(a=$(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==a[a.length-1])?[]:(m(t,0),s.events=ep(o,s.events,s),s.events)}},c=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function f(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function p(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function d(e,t){t.restore()}function h(e,t){return function(n,i,o){let a,c,f,d;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function h(e){return(a=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(d=function(){let e=p(),t=s.previous,n=s.currentConstruct,i=s.events.length,o=Array.from(l);return{restore:function(){r=e,s.previous=t,s.currentConstruct=n,s.events.length=i,l=o,y()},from:i}}(),f=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,g,v)(n)}}function g(t){return e(f,d),i}function v(e){return(d.restore(),++c<a.length)?m(a[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&C(s.events,t,s.events.length-t,e.resolve(s.events.slice(t),s)),e.resolveTo&&(s.events=e.resolveTo(s.events,s))}function y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((o=1,a="",u=!0,function(e,t,n){let r,l,s,c,f;let p=[];for(e=a+e.toString(t),s=0,a="",u&&(65279===e.charCodeAt(0)&&s++,u=void 0);s<e.length;){if(e2.lastIndex=s,c=(r=e2.exec(e))&&void 0!==r.index?r.index:e.length,f=e.charCodeAt(c),!r){a=e.slice(s);break}if(10===f&&s===c&&i)p.push(-3),i=void 0;else switch(i&&(p.push(-5),i=void 0),s<c&&(p.push(e.slice(s,c)),o+=c-s),f){case 0:p.push(65533),o++;break;case 9:for(l=4*Math.ceil(o/4),p.push(-2);o++<l;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:i=!0,o=1}s=c+1}return n&&(i&&p.push(-5),a&&p.push(a),p.push(null)),p})(e,t,!0))))};function e7(e){return{line:e.line,column:e.column,offset:e.offset}}function e8(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+l({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+l({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+l({start:t.start,end:t.end})+") is still open")}function te(e){Object.assign(this,{Parser:t=>e9(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})}function tt(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&M(e.charCodeAt(n+1))&&M(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}let tn=function(e){if(null==e)return ti;if("string"==typeof e)return tr(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tn(e[n]);return tr(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):tr(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("function"==typeof e)return tr(e);throw Error("Expected function, string, or object as test")};function tr(e){return function(t,...n){return!!(t&&"object"==typeof t&&"type"in t&&e.call(this,t,...n))}}function ti(){return!0}let to=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);let i=tn(t),o=r?-1:1;(function e(a,l,u){let s=a&&"object"==typeof a?a:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(c,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return c;function c(){var s;let c,f,p,d=[];if((!t||i(a,l,u[u.length-1]||null))&&!1===(d=Array.isArray(s=n(a,u))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(a.children&&"skip"!==d[0])for(f=(r?a.children.length:-1)+o,p=u.concat(a);f>-1&&f<a.children.length;){if(!1===(c=e(a.children[f],f,p)())[0])return c;f="number"==typeof c[1]?c[1]:f+o}return d}})(e,void 0,[])()},ta=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),to(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},tl=ts("start"),tu=ts("end");function ts(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let tc={}.hasOwnProperty;function tf(e){return String(e||"").toUpperCase()}function tp(e,t){let n;let r=String(t.identifier).toUpperCase(),i=tt(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let a=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};
121return e.patch(t,u),e.applyData(t,u)}function td(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function th(e){let t=e.spread;return null==t?e.children.length>1:t}function tm(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let ty={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:tp,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},tp(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return td(e,t);let r={src:tt(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:tt(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return td(e,t);let r={href:tt(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:tt(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=th(n[r])}return t}(n):th(t),o={},a=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let u=r[r.length-1];u&&(i||"element"!==u.type||"p"!==u.tagName)&&a.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=tl(t.children[1]),a=tu(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
121,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,l=-1,u=[];for(;++l<a;){let n=t.children[l],r={},a=o?o[l]:void 0;a&&(r.align=a);let s={type:"element",tagName:i,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(t,s)),u.push(s)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,s),e.applyData(t,s)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(tm(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(tm(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tg,yaml:tg,definition:tg,footnoteDefinition:tg};function tg(){return null}let tv={}.hasOwnProperty;function tb(e,t){e.position&&(t.position={start:tl(e),end:tu(e)})}function tE(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tT(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return tv.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:t_(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(tv.call(n,"hProperties")||tv.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:t_(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function t_(e,t){let n=[];if("children"in t){let r=t.children,i=-1;for(;++i<r.length;){let o=tT(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){let e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function tw(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tI(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...ty,...n.handlers},a.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return ta(e,"definition",e=>{let n=tf(e.identifier);n&&!tc.call(t,n)&&(t[n]=e)}),function(e){let n=tf(e);return n&&tc.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=tb,a.applyData=tE,a.one=function(e,t){return tT(a,e,t)},a.all=function(e){return t_(a,e)},a.wrap=tw,a.augment=o,ta(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tv.call(i,t)||(i[t]=e)}),a;function o(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:tl(n),end:tu(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){let t=[],n=-1;for(;++n<e.footnoteOrder.length;){let r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;let i=e.all(r),o=String(r.identifier).toUpperCase(),a=tt(o.toLowerCase()),l=0,u=[];for(;++l<=e.footnoteCounts[o];){let t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"â©"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}let s=i[i.length-1];if(s&&"element"===s.type&&"p"===s.tagName){let e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...u)}else i.push(...u);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a}
121,children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var tN=function(e,t){var n;return e&&"run"in e?(n,r,i)=>{e.run(tI(n,t),r,e=>{i(e)})}:(n=e||t,e=>tI(e,n))},tk=n(4275);class tS{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tx(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new tS(n,r,t)}function tO(e){return e.toLowerCase()}tS.prototype.property={},tS.prototype.normal={},tS.prototype.space=null;class tA{constructor(e,t){this.property=e,this.attribute=t}}tA.prototype.space=null,tA.prototype.boolean=!1,tA.prototype.booleanish=!1,tA.prototype.overloadedBoolean=!1,tA.prototype.number=!1,tA.prototype.commaSeparated=!1,tA.prototype.spaceSeparated=!1,tA.prototype.commaOrSpaceSeparated=!1,tA.prototype.mustUseProperty=!1,tA.prototype.defined=!1;let tD=0,tR=tM(),tF=tM(),tL=tM(),tC=tM(),t$=tM(),tP=tM(),tj=tM();function tM(){return 2**++tD}let tU=Object.keys(i);class tV extends tA{constructor(e,t,n,r){var o,a;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l<tU.length;){let e=tU[l];o=tU[l],(a=(n&i[e])===i[e])&&(this[o]=a)}}}tV.prototype.defined=!0;let tB={}.hasOwnProperty;function tq(e){let t;let n={},r={};for(t in e.properties)if(tB.call(e.properties,t)){let i=e.properties[t],o=new tV(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(o.mustUseProperty=!0),n[t]=o,r[tO(t)]=t,r[tO(o.attribute)]=t}return new tS(n,r,e.space)}let tz=tq({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tG=tq({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tX(e,t){return t in e?e[t]:t}function tH(e,t){return tX(e,t.toLowerCase())}let tQ=tq({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tH,properties:{xmlns:null,xmlnsXLink:null}}),tY=tq({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tF,ariaAutoComplete:null,ariaBusy:tF,ariaChecked:tF,ariaColCount:tC,ariaColIndex:tC,ariaColSpan:tC,ariaControls:t$,ariaCurrent:null,ariaDescribedBy:t$,ariaDetails:null,ariaDisabled:tF,ariaDropEffect:t$,ariaErrorMessage:null,ariaExpanded:tF,ariaFlowTo:t$,ariaGrabbed:tF,ariaHasPopup:null,ariaHidden:tF,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:t$,ariaLevel:tC,ariaLive:null,ariaModal:tF,ariaMultiLine:tF,ariaMultiSelectable:tF,ariaOrientation:null,ariaOwns:t$,ariaPlaceholder:null,ariaPosInSet:tC,ariaPressed:tF,ariaReadOnly:tF,ariaRelevant:null,ariaRequired:tF,ariaRoleDescription:t$,ariaRowCount:tC,ariaRowIndex:tC,ariaRowSpan:tC,ariaSelected:tF,ariaSetSize:tC,ariaSort:null,ariaValueMax:tC,ariaValueMin:tC,ariaValueNow:tC,ariaValueText:null,role:null}}),tJ=tq({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tH,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tP,acceptCharset:t$,accessKey:t$,action:null,allow:null,allowFullScreen:tR,allowPaymentRequest:tR,allowUserMedia:tR,alt:null,as:null,async:tR,autoCapitalize:null,autoComplete:t$,autoFocus:tR,autoPlay:tR,capture:tR,charSet:null,checked:tR,cite:null,className:t$,cols:tC,colSpan:null,content:null,contentEditable:tF,controls:tR,controlsList:t$,coords:tC|tP,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tR,defer:tR,dir:null,dirName:null,disabled:tR,download:tL,draggable:tF,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tR,formTarget:null,headers:t$,height:tC,hidden:tR,high:tC,href:null,hrefLang:null,htmlFor:t$,httpEquiv:t$,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:tR,itemId:null,itemProp:t$,itemRef:t$,itemScope:tR,itemType:t$,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tR,low:tC,manifest:null,max:null,maxLength:tC,media:null,method:null,min:null,minLength:tC,multiple:tR,muted:tR,name:null,nonce:null,noModule:tR,noValidate:tR,onAbort:null,onAfterPrint:null,onAuxCl
121ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tR,optimum:tC,pattern:null,ping:t$,placeholder:null,playsInline:tR,poster:null,preload:null,readOnly:tR,referrerPolicy:null,rel:t$,required:tR,reversed:tR,rows:tC,rowSpan:tC,sandbox:t$,scope:null,scoped:tR,seamless:tR,selected:tR,shape:null,size:tC,sizes:null,slot:null,span:tC,spellCheck:tF,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tC,step:null,style:null,tabIndex:tC,target:null,title:null,translate:null,type:null,typeMustMatch:tR,useMap:null,value:tF,width:tC,wrap:null,align:null,aLink:null,archive:t$,axis:null,background:null,bgColor:null,border:tC,borderColor:null,bottomMargin:tC,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tR,declare:tR,event:null,face:null,frame:null,frameBorder:null,hSpace:tC,leftMargin:tC,link:null,longDesc:null,lowSrc:null,marginHeight:tC,marginWidth:tC,noResize:tR,noHref:tR,noShade:tR,noWrap:tR,object:null,profile:null,prompt:null,rev:null,rightMargin:tC,rules:null,scheme:null,scrolling:tF,standby:null,summary:null,text:null,topMargin:tC,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tC,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tR,disableRemotePlayback:tR,prefix:null,property:null,results:tC,security:null,unselectable:null}}),tW=tq({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
121-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tX,properties:{about:tj,accentHeight:tC,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tC,amplitude:tC,arabicForm:null,ascent:tC,attributeName:null,attributeType:null,azimuth:tC,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tC,by:null,calcMode:null,capHeight:tC,className:t$,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:tC,diffuseConstant:tC,direction:null,display:null,dur:null,divisor:tC,dominantBaseline:null,download:tR,dx:null,dy:null,edgeMode:null,editable:null,elevation:tC,enableBackground:null,end:null,event:null,exponent:tC,externalResourcesRequired:null,fill:null,fillOpacity:tC,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tP,g2:tP,glyphName:tP,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tC,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tC,horizOriginX:t
121C,horizOriginY:tC,id:null,ideographic:tC,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tC,k:tC,k1:tC,k2:tC,k3:tC,k4:tC,kernelMatrix:tj,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tC,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:tC,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:tC,overlineThickness:tC,paintOrder:null,panose1:null,path:null,pathLength:tC,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:t$,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tC,pointsAtY:tC,pointsAtZ:tC,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tj,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tj,rev:tj,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tj,requiredFeatures:tj,requiredFonts:tj,requiredFormats:tj,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:tC,specularExponent:tC,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tC,strikethroughThickness:tC,string:null,stroke:null,strokeDashArray:tj,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tC,strokeOpacity:tC,strokeWidth:null,style:null,surfaceScale:tC,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tj,tabIndex:tC,tableValues:null,target:null,targetX:tC,targetY:tC,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tj,to:null,transform:null,u1:null,u2:null,underlinePosition:tC,underlineThickness:tC,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tC,values:null,vAlphabetic:tC,vMathematical:tC,vectorEffect:null,vHanging:tC,vIdeographic:tC,version:null,vertAdvY:tC,vertOriginX:tC,vertOriginY:tC,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tC,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}
121),tK=tx([tG,tz,tQ,tY,tJ],"html"),tZ=tx([tG,tz,tQ,tY,tW],"svg"),t0=function(e){if(null==e)return t2;if("string"==typeof e)return t1(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=t0(e[n]);return t1(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):t1(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("function"==typeof e)return t1(e);throw Error("Expected function, string, or object as test")};function t1(e){return function(t,...n){return!!(t&&"object"==typeof t&&"type"in t&&e.call(this,t,...n))}}function t2(){return!0}let t3=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);let i=t0(t),o=r?-1:1;(function e(a,l,u){let s=a&&"object"==typeof a?a:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(c,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return c;function c(){var s;let c,f,p,d=[];if((!t||i(a,l,u[u.length-1]||null))&&!1===(d=Array.isArray(s=n(a,u))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(a.children&&"skip"!==d[0])for(f=(r?a.children.length:-1)+o,p=u.concat(a);f>-1&&f<a.children.length;){if(!1===(c=e(a.children[f],f,p)())[0])return c;f="number"==typeof c[1]?c[1]:f+o}return d}})(e,void 0,[])()},t4=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),t3(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)};function t6(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{t4(t,"element",(t,n,r)=>{let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var t5=n(1991);let t9=/^data[-\w.:]+$/i,t7=/-[a-z]/g,t8=/[A-Z]/g;function ne(e){return"-"+e.toLowerCase()}function nt(e){return e.charAt(1).toUpperCase()}let nn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var nr=n(8699);let ni=["http","https","mailto","tel"];function no(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<ni.length;){let e=ni[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}let na={}.hasOwnProperty,nl=new Set(["table","thead","tbody","tfoot","tr"]);function nu(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function ns(e,t){return t.toUpperCase()}let nc={}.hasOwnProperty,nf={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function np(e){for(let t in nf)if(nc.call(nf,t)&&nc.call(e,t)){let e=nf[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete nf[t]}let t=w().use(te).use(e.remarkPlugins||[]).use(tN,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(t6,e),n=new y;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},function e(t,n){let r;let i=[],a=-1;for(;++a<n.children.length;)"element"===(r=n.children[a]).type?i.push(function(t,n,r,i){let a;let l=t.options,u=void 0===l.transformLinkUri?no:l.transformLinkUri,s=t.schema,c=n.tagName,f={},p=s;if("html"===s.space&&"svg"===c&&(p=tZ,t.schema=p),n.properties)for(a in n.properties)na.call(n.properties,a)&&function(e,t,n,r){let i=function(e,t){let n=tO(t),r=t,i=tA;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&t9.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(t7,nt);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!t7.test(e)){let n=e.replace(t8,ne);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=tV}return new i(r,t)}(r.schema,t),o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"==typeof o&&(o=function(e){let t={};try{nr(e,function(e,n){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,ns)]=n})}catch{}return t}(o)),i.space&&i.property?e[na.call(nn,i.property)?nn[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}(f,a,n.properties[a],t);("ol"===c||"ul"===c)&&t.listDepth++;let d=e(t,n);("ol"===c||"ul"===c)&&t.listDepth--,t.schema=s;let h=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=l.components&&na.call(l.components,c)?l.components[c]:c,y="string"==typeof m||m===o.Fragment;if(!t5.isValidElementType(m))throw TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(f.key=r,"a"===c&&l.linkTarget&&(f.target="function"==typeof l.linkTarget?l.linkTarget(String(f.href||""),n.children,"string"==typeof f.title?f.title:null):l.linkTarget),"a"===c&&u&&(f.href=u(String(f.href||""),n.children,"string"==typeof f.title?f.title:null)),y||"code"!==c||"element"!==i.type||"pre"===i.tagName||(f.inline=!0),y||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(f.level=Number.parseInt(c.charAt(1),10)),"img"===c&&l.transformImageUri&&(f.src=l.transformImageUri(String(f.src||""),String(f.alt||""),"string"==typeof f.title?f.title:null)),!y&&"li"===c&&"element"===i.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);f.checked=e&&e.properties?!!e.properties.checked:null,f.index=nu(i,n),f.ordered="ol"===i.tagName}return y||"ol"!==c&&"ul"!==c||(f.ordered="ol"===c,f.depth=t.listDepth),"td"!==c&&"th"!==c||(f.align&&(f.style||(f.style={}),f.style.textAlign=f.align,delete f.align),y||(f.isHeader="th"===c)),y||"tr"!==c||"element"!==i.type||(f.isHeader="thead"===i.tagName),l.sourcePos&&(f["data-sourcepos"]=[h.start.line,":",h.start.column,"-",h.end.line,":",h.end.column].map(String).join("")),!y&&l.rawSourcePos&&(f.sourcePosition=n.position),!y&&l.includeElementIndex&&(f.index=nu(i,n),f.siblingCount=nu(i)),y||(f.node=n),d.length>0?o.createElement(m,f,d):o.createElement(m,f)}(t,r,a,n)):"text"===r.type?"element"===n.type&&nl.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||i.push(r.value):"raw"!==r.type||t.options.skipHtml||i.push(r.value);return i}({options:e,schema:tK,listDepth:0},r));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}
121np.propTypes={children:tk.string,className:tk.string,allowElement:tk.func,allowedElements:tk.arrayOf(tk.string),disallowedElements:tk.arrayOf(tk.string),unwrapDisallowed:tk.bool,remarkPlugins:tk.arrayOf(tk.oneOfType([tk.object,tk.func,tk.arrayOf(tk.oneOfType([tk.bool,tk.string,tk.object,tk.func,tk.arrayOf(tk.any)]))])),rehypePlugins:tk.arrayOf(tk.oneOfType([tk.object,tk.func,tk.arrayOf(tk.oneOfType([tk.bool,tk.string,tk.object,tk.func,tk.arrayOf(tk.any)]))])),sourcePos:tk.bool,rawSourcePos:tk.bool,skipHtml:tk.bool,includeElementIndex:tk.bool,transformLinkUri:tk.oneOfType([tk.func,tk.bool]),linkTarget:tk.oneOfType([tk.func,tk.string]),transformImageUri:tk.func,components:tk.object}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.