ruru
Version:
Grafast-flavoured GraphiQL distribution
3 lines • 1.17 MB
JavaScript
/*! For license information please see ruru.js.LICENSE.txt */
var e,t,n,r,i={359:(e,t,n)=>{n.d(t,{I:()=>d,o:()=>c});var r=n(93217),i=n(42455),o=n(98195),s=n(8553),a=n(25329),l=n(67274),u=n(70219);function c(e,t){null!=e&&e.kind===i.b.DOCUMENT||(0,r.U)(!1,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&(0,s.uq)(e);const n={description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},o=(0,u.c)(n,e,t);if(null==o.astNode)for(const e of o.types)switch(e.name){case"Query":o.query=e;break;case"Mutation":o.mutation=e;break;case"Subscription":o.subscription=e}const c=[...o.directives,...l.rc.filter(e=>o.directives.every(t=>t.name!==e.name))];return new a.V4({...o,directives:c})}function d(e,t){return c((0,o.qg)(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,enableDeferStream:null==t?void 0:t.enableDeferStream})}},620:(e,t,n)=>{n.d(t,{Qb:()=>r.A,VJ:()=>s.VJ,W8:()=>o.W8,qx:()=>a.q,r5:()=>i.A});var r=n(89739),i=(n(4827),n(18282)),o=n(14096),s=n(32732),a=n(81545)},2503:(e,t,n)=>{var r;n.d(t,{Io:()=>r}),n(32852),n(620),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(r||(r={}))},3420:(e,t,n)=>{n.d(t,{MD:()=>i,TZ:()=>l,VK:()=>s,_m:()=>o,a6:()=>d,aR:()=>a,dI:()=>u,fT:()=>f,i7:()=>p,xu:()=>c});var r=n(42455);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.b.OPERATION_DEFINITION||e.kind===r.b.FRAGMENT_DEFINITION}function s(e){return e.kind===r.b.FIELD||e.kind===r.b.FRAGMENT_SPREAD||e.kind===r.b.INLINE_FRAGMENT}function a(e){return e.kind===r.b.VARIABLE||e.kind===r.b.INT||e.kind===r.b.FLOAT||e.kind===r.b.STRING||e.kind===r.b.BOOLEAN||e.kind===r.b.NULL||e.kind===r.b.ENUM||e.kind===r.b.LIST||e.kind===r.b.OBJECT}function l(e){return a(e)&&(e.kind===r.b.LIST?e.values.some(l):e.kind===r.b.OBJECT?e.fields.some(e=>l(e.value)):e.kind!==r.b.VARIABLE)}function u(e){return e.kind===r.b.NAMED_TYPE||e.kind===r.b.LIST_TYPE||e.kind===r.b.NON_NULL_TYPE}function c(e){return e.kind===r.b.SCHEMA_DEFINITION||d(e)||e.kind===r.b.DIRECTIVE_DEFINITION}function d(e){return e.kind===r.b.SCALAR_TYPE_DEFINITION||e.kind===r.b.OBJECT_TYPE_DEFINITION||e.kind===r.b.INTERFACE_TYPE_DEFINITION||e.kind===r.b.UNION_TYPE_DEFINITION||e.kind===r.b.ENUM_TYPE_DEFINITION||e.kind===r.b.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.b.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.b.SCALAR_TYPE_EXTENSION||e.kind===r.b.OBJECT_TYPE_EXTENSION||e.kind===r.b.INTERFACE_TYPE_EXTENSION||e.kind===r.b.UNION_TYPE_EXTENSION||e.kind===r.b.ENUM_TYPE_EXTENSION||e.kind===r.b.INPUT_OBJECT_TYPE_EXTENSION}},4827:(e,t,n)=>{n.d(t,{Rq:()=>s,pi:()=>o,vM:()=>a});var r=n(89903),i=n(42455);const o=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||" "===e,s={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},a={Document:[(0,r.p_)("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return i.b.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[l("query"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],Mutation:[l("mutation"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],Subscription:[l("subscription"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],VariableDefinitions:[(0,r.p)("("),(0,r.p_)("VariableDefinition"),(0,r.p)(")")],VariableDefinition:["Variable",(0,r.p)(":"),"Type",(0,r.m7)("DefaultValue")],Variable:[(0,r.p)("$","variable"),u("variable")],DefaultValue:[(0,r.p)("="),"Value"],SelectionSet:[(0,r.p)("{"),(0,r.p_)("Selection"),(0,r.p)("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[u("property"),(0,r.p)(":"),u("qualifier"),(0,r.m7)("Arguments"),(0,r.p_)("Directive"),(0,r.m7)("SelectionSet")],Field:[u("property"),(0,r.m7)("Arguments"),(0,r.p_)("Directive"),(0,r.m7)("SelectionSet")],Arguments:[(0,r.p)("("),(0,r.p_)("Argument"),(0,r.p)(")")],Argument:[u("attribute"),(0,r.p)(":"),"Value"],FragmentSpread:[(0,r.p)("..."),u("def"),(0,r.p_)("Directive")],InlineFragment:[(0,r.p)("..."),(0,r.m7)("TypeCondition"),(0,r.p_)("Directive"),"SelectionSet"],FragmentDefinition:[l("fragment"),(0,r.m7)((0,r.FC)(u("def"),[l("on")])),"TypeCondition",(0,r.p_)("Directive"),"SelectionSet"],TypeCondition:[l("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[(0,r.t)("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[(0,r.t)("Name","builtin")],NullValue:[(0,r.t)("Name","keyword")],EnumValue:[u("string-2")],ListValue:[(0,r.p)("["),(0,r.p_)("Value"),(0,r.p)("]")],ObjectValue:[(0,r.p)("{"),(0,r.p_)("ObjectField"),(0,r.p)("}")],ObjectField:[u("attribute"),(0,r.p)(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[(0,r.p)("["),"Type",(0,r.p)("]"),(0,r.m7)((0,r.p)("!"))],NonNullType:["NamedType",(0,r.m7)((0,r.p)("!"))],NamedType:[{style:"atom",match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}}],Directive:[(0,r.p)("@","meta"),u("meta"),(0,r.m7)("Arguments")],DirectiveDef:[l("directive"),(0,r.p)("@","meta"),u("meta"),(0,r.m7)("ArgumentsDef"),l("on"),(0,r.p_)("DirectiveLocation",(0,r.p)("|"))],InterfaceDef:[l("interface"),u("atom"),(0,r.m7)("Implements"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("FieldDef"),(0,r.p)("}")],Implements:[l("implements"),(0,r.p_)("NamedType",(0,r.p)("&"))],DirectiveLocation:[u("string-2")],SchemaDef:[l("schema"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("OperationTypeDef"),(0,r.p)("}")],OperationTypeDef:[u("keyword"),(0,r.p)(":"),u("atom")],ScalarDef:[l("scalar"),u("atom"),(0,r.p_)("Directive")],ObjectTypeDef:[l("type"),u("atom"),(0,r.m7)("Implements"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("FieldDef"),(0,r.p)("}")],FieldDef:[u("property"),(0,r.m7)("ArgumentsDef"),(0,r.p)(":"),"Type",(0,r.p_)("Directive")],ArgumentsDef:[(0,r.p)("("),(0,r.p_)("InputValueDef"),(0,r.p)(")")],InputValueDef:[u("attribute"),(0,r.p)(":"),"Type",(0,r.m7)("DefaultValue"),(0,r.p_)("Directive")],UnionDef:[l("union"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("="),(0,r.p_)("UnionMember",(0,r.p)("|"))],UnionMember:["NamedType"],EnumDef:[l("enum"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("EnumValueDef"),(0,r.p)("}")],EnumValueDef:[u("string-2"),(0,r.p_)("Directive")],InputDef:[l("input"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("InputValueDef"),(0,r.p)("}")],ExtendDef:[l("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return i.b.SCHEMA_EXTENSION;case"scalar":return i.b.SCALAR_TYPE_EXTENSION;case"type":return i.b.OBJECT_TYPE_EXTENSION;case"interface":return i.b.INTERFACE_TYPE_EXTENSION;case"union":return i.b.UNION_TYPE_EXTENSION;case"enum":return i.b.ENUM_TYPE_EXTENSION;case"input":return i.b.INPUT_OBJECT_TYPE_EXTENSION}},[i.b.SCHEMA_EXTENSION]:["SchemaDef"],[i.b.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[i.b.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[i.b.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[i.b.UNION_TYPE_EXTENSION]:["UnionDef"],[i.b.ENUM_TYPE_EXTENSION]:["EnumDef"],[i.b.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function l(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function u(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}},5449:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(54833),i=n(36382),o=n(63858),s=n(48255),a=n(73663);function l(e){return{Field(t){const n=e.getParentType();if(n&&!e.getFieldDef()){const l=e.getSchema(),u=t.name.value;let c=(0,r.a)("to use an inline fragment on",function(e,t,n){if(!(0,a.Lc)(t))return[];const r=new Set,i=Object.create(null);for(const o of e.getPossibleTypes(t))if(o.getFields()[n]){r.add(o),i[o.name]=1;for(const e of o.getInterfaces()){var s;e.getFields()[n]&&(r.add(e),i[e.name]=(null!==(s=i[e.name])&&void 0!==s?s:0)+1)}}return[...r].sort((t,n)=>{const r=i[n.name]-i[t.name];return 0!==r?r:(0,a.kD)(t)&&e.isSubType(t,n)?-1:(0,a.kD)(n)&&e.isSubType(n,t)?1:(0,o.p)(t.name,n.name)}).map(e=>e.name)}(l,n,u));""===c&&(c=(0,r.a)(function(e,t){if((0,a.YQ)(e)||(0,a.kD)(e)){const n=Object.keys(e.getFields());return(0,i.x)(t,n)}return[]}(n,u))),e.reportError(new s.eO(`Cannot query field "${u}" on type "${n.name}".`+c,t))}}}}},5839:(e,t,n)=>{n.d(t,{I:()=>y,r:()=>d});var r=n(60942),i=n(69958);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//,l="",u="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{static isUri(e){return e instanceof d||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,c=!1){"object"==typeof e?(this.scheme=e.scheme||l,this.authority=e.authority||l,this.path=e.path||l,this.query=e.query||l,this.fragment=e.fragment||l):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||l,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||l),this.query=r||l,this.fragment=i||l,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}get fsPath(){return y(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=l),void 0===n?n=this.authority:null===n&&(n=l),void 0===r?r=this.path:null===r&&(r=l),void 0===i?i=this.query:null===i&&(i=l),void 0===o?o=this.fragment:null===o&&(o=l),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new p(t,n,r,i,o)}static parse(e,t=!1){const n=c.exec(e);return n?new p(n[2]||l,k(n[4]||l),k(n[5]||l),k(n[7]||l),k(n[9]||l),t):new p(l,l,l,l,l)}static file(e){let t=l;if(i.uF&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){const n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new p("file",t,e,l,l)}static from(e,t){return new p(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=i.uF&&"file"===e.scheme?d.file(r.IN.join(y(e,!0),...t)).path:r.SA.join(e.path,...t),e.with({path:n})}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new p(e);return t._formatted=e.external??null,t._fsPath=e._sep===f?e.fsPath??null:null,t}}return e}}const f=i.uF?1:void 0;class p extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const h={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t,n){let r,i=-1;for(let o=0;o<e.length;o++){const s=e.charCodeAt(o);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||n&&91===s||n&&93===s||n&&58===s)-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==r&&(r+=e.charAt(o));else{void 0===r&&(r=e.substr(0,o));const t=h[s];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),r+=t):-1===i&&(i=o)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function g(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=h[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function y(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.uF&&(n=n.replace(/\//g,"\\")),n}function v(e,t){const n=t?g:m;let r="",{scheme:i,authority:o,path:s,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=u,r+=u),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}o=o.toLowerCase(),e=o.lastIndexOf(":"),-1===e?r+=n(o,!1,!0):(r+=n(o.substr(0,e),!1,!0),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:m(l,!1,!1)),r}function b(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+b(e.substr(3)):e}}const E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function k(e){return e.match(E)?e.replace(E,e=>b(e)):e}},6868:(e,t,n)=>{n.d(t,{e:()=>c});var r=n(35198),i=n(71306),o=n(48255),s=n(42455),a=n(59762),l=n(42868),u=n(67274);function c(e){const t=Object.create(null),n=e.getSchema(),c=n?n.getDirectives():u.rc;for(const e of c)t[e.name]=e.locations;const d=e.getDocument().definitions;for(const e of d)e.kind===s.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=e.locations.map(e=>e.value));return{Directive(n,u,c,d,f){const p=n.name.value,h=t[p];if(!h)return void e.reportError(new o.eO(`Unknown directive "@${p}".`,n));const m=function(e){const t=e[e.length-1];switch("kind"in t||(0,i.V)(!1),t.kind){case s.b.OPERATION_DEFINITION:return function(e){switch(e){case a.cE.QUERY:return l.H.QUERY;case a.cE.MUTATION:return l.H.MUTATION;case a.cE.SUBSCRIPTION:return l.H.SUBSCRIPTION}}(t.operation);case s.b.FIELD:return l.H.FIELD;case s.b.FRAGMENT_SPREAD:return l.H.FRAGMENT_SPREAD;case s.b.INLINE_FRAGMENT:return l.H.INLINE_FRAGMENT;case s.b.FRAGMENT_DEFINITION:return l.H.FRAGMENT_DEFINITION;case s.b.VARIABLE_DEFINITION:return l.H.VARIABLE_DEFINITION;case s.b.SCHEMA_DEFINITION:case s.b.SCHEMA_EXTENSION:return l.H.SCHEMA;case s.b.SCALAR_TYPE_DEFINITION:case s.b.SCALAR_TYPE_EXTENSION:return l.H.SCALAR;case s.b.OBJECT_TYPE_DEFINITION:case s.b.OBJECT_TYPE_EXTENSION:return l.H.OBJECT;case s.b.FIELD_DEFINITION:return l.H.FIELD_DEFINITION;case s.b.INTERFACE_TYPE_DEFINITION:case s.b.INTERFACE_TYPE_EXTENSION:return l.H.INTERFACE;case s.b.UNION_TYPE_DEFINITION:case s.b.UNION_TYPE_EXTENSION:return l.H.UNION;case s.b.ENUM_TYPE_DEFINITION:case s.b.ENUM_TYPE_EXTENSION:return l.H.ENUM;case s.b.ENUM_VALUE_DEFINITION:return l.H.ENUM_VALUE;case s.b.INPUT_OBJECT_TYPE_DEFINITION:case s.b.INPUT_OBJECT_TYPE_EXTENSION:return l.H.INPUT_OBJECT;case s.b.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];return"kind"in t||(0,i.V)(!1),t.kind===s.b.INPUT_OBJECT_TYPE_DEFINITION?l.H.INPUT_FIELD_DEFINITION:l.H.ARGUMENT_DEFINITION}default:(0,i.V)(!1,"Unexpected kind: "+(0,r.N)(t.kind))}}(f);m&&!h.includes(m)&&e.reportError(new o.eO(`Directive "@${p}" may not be used on ${m}.`,n))}}}},8144:(e,t,n)=>{n.d(t,{_K:()=>a,bJ:()=>s,iD:()=>l});var r=n(69958);let i;const o=globalThis.vscode;if(void 0!==o&&void 0!==o.process){const e=o.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else i="undefined"!=typeof process&&"string"==typeof process?.versions?.node?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return r.uF?"win32":r.zx?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const s=i.cwd,a=i.env,l=i.platform},8238:(e,t,n)=>{n.d(t,{C:()=>o,V:()=>i});var r=n(73971);function i(e){return o(e.source,(0,r.g)(e.source,e.start))}function o(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=1===t.line?n:0,u=t.column+l,c=`${e.name}:${a}:${u}\n`,d=r.split(/\r\n|[\n\r]/g),f=d[i];if(f.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let e=0;e<f.length;e+=80)n.push(f.slice(e,e+80));return c+s([[`${a} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return c+s([[a-1+" |",d[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,d[i+1]]])}function s(e){const t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}},8553:(e,t,n)=>{n.d(t,{$T:()=>p,tf:()=>c,uq:()=>f});var r=n(93217),i=n(48255),o=n(90424),s=n(47626),a=n(57350),l=n(24556),u=n(81875);function c(e,t,n=l.g,c,d=new a.D(e)){var f;const p=null!==(f=null==c?void 0:c.maxErrors)&&void 0!==f?f:100;t||(0,r.U)(!1,"Must provide document."),(0,s.Y)(e);const h=Object.freeze({}),m=[],g=new u.dY(e,t,d,e=>{if(m.length>=p)throw m.push(new i.eO("Too many validation errors, error limit reached. Validation aborted.")),h;m.push(e)}),y=(0,o.oP)(n.map(e=>e(g)));try{(0,o.YR)(t,(0,a.S)(d,y))}catch(e){if(e!==h)throw e}return m}function d(e,t,n=l.H){const r=[],i=new u.ot(e,t,e=>{r.push(e)}),s=n.map(e=>e(i));return(0,o.YR)(e,(0,o.oP)(s)),r}function f(e){const t=d(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}function p(e,t){const n=d(e,t);if(0!==n.length)throw new Error(n.map(e=>e.message).join("\n\n"))}},8898:(e,t,n)=>{n.d(t,{K:()=>i});var r=n(48255);function i(e){return{FragmentSpread(t){const n=t.name.value;e.getFragment(n)||e.reportError(new r.eO(`Unknown fragment "${n}".`,t.name))}}}},9163:(e,t,n)=>{n.d(t,{J:()=>s});var r=n(90424),i=n(62012),o=n.n(i);const s=(e,t)=>{if(!t)return[];const n=new Map,i=new Set;(0,r.YR)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){i.has(e.name.value)||i.add(e.name.value)}});const s=new Set;for(const e of i)!n.has(e)&&t.has(e)&&s.add(o()(t.get(e)));const a=[];for(const e of s)(0,r.YR)(e,{FragmentSpread(e){!i.has(e.name.value)&&t.get(e.name.value)&&(s.add(o()(t.get(e.name.value))),i.add(e.name.value))}}),n.has(e.name.value)||a.push(e);return a}},9390:(e,t,n)=>{n.d(t,{IA:()=>h,VE:()=>p,YY:()=>m});var r=n(15487),i=n(35198),o=n(18261),s=n(48255),a=n(42455),l=n(9554),u=n(73663),c=n(89494),d=n(69327),f=n(89818);function p(e,t,n,r){const a=[],p=null==r?void 0:r.maxErrors;try{const r=function(e,t,n,r){const a={};for(const p of t){const t=p.variable.name.value,h=(0,c.v)(e,p.type);if(!(0,u.dX)(h)){const e=(0,l.y)(p.type);r(new s.eO(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,p.type));continue}if(!g(n,t)){if(p.defaultValue)a[t]=(0,d.i)(p.defaultValue,h);else if((0,u.bd)(h)){const e=(0,i.N)(h);r(new s.eO(`Variable "$${t}" of required type "${e}" was not provided.`,p))}continue}const m=n[t];if(null===m&&(0,u.bd)(h)){const e=(0,i.N)(h);r(new s.eO(`Variable "$${t}" of non-null type "${e}" must not be null.`,p))}else a[t]=(0,f.v)(m,h,(e,n,a)=>{let l=`Variable "$${t}" got invalid value `+(0,i.N)(n);e.length>0&&(l+=` at "${t}${(0,o.q)(e)}"`),r(new s.eO(l+"; "+a.message,p,void 0,void 0,void 0,a.originalError))})}return a}(e,t,n,e=>{if(null!=p&&a.length>=p)throw new s.eO("Too many errors processing variables, error limit reached. Execution aborted.");a.push(e)});if(0===a.length)return{coerced:r}}catch(e){a.push(e)}return{errors:a}}function h(e,t,n){var o;const c={},f=null!==(o=t.arguments)&&void 0!==o?o:[],p=(0,r.K)(f,e=>e.name.value);for(const r of e.args){const e=r.name,o=r.type,f=p[e];if(!f){if(void 0!==r.defaultValue)c[e]=r.defaultValue;else if((0,u.bd)(o))throw new s.eO(`Argument "${e}" of required type "${(0,i.N)(o)}" was not provided.`,t);continue}const h=f.value;let m=h.kind===a.b.NULL;if(h.kind===a.b.VARIABLE){const t=h.name.value;if(null==n||!g(n,t)){if(void 0!==r.defaultValue)c[e]=r.defaultValue;else if((0,u.bd)(o))throw new s.eO(`Argument "${e}" of required type "${(0,i.N)(o)}" was provided the variable "$${t}" which was not provided a runtime value.`,h);continue}m=null==n[t]}if(m&&(0,u.bd)(o))throw new s.eO(`Argument "${e}" of non-null type "${(0,i.N)(o)}" must not be null.`,h);const y=(0,d.i)(h,o,n);if(void 0===y)throw new s.eO(`Argument "${e}" has invalid value ${(0,l.y)(h)}.`,h);c[e]=y}return c}function m(e,t,n){var r;const i=null===(r=t.directives)||void 0===r?void 0:r.find(t=>t.name.value===e.name);if(i)return h(e,i,n)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},9554:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(90424),i=n(67714),o=n(48272);function s(e){return(0,r.YR)(e,a)}const a={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=c("(",l(e.variableDefinitions,", "),")"),n=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+c(" = ",n)+c(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>u(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=c("",e,": ")+t;let s=o+c("(",l(n,", "),")");return s.length>80&&(s=o+c("(\n",d(l(n,"\n")),"\n)")),l([s,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+c(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",c("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${c("(",l(n,", "),")")} on ${t} ${c("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):(0,o.T)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+c("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>c("",e,"\n")+l(["schema",l(t," "),u(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>c("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>c("",e,"\n")+l(["type",t,c("implements ",l(n," & ")),l(r," "),u(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>c("",e,"\n")+t+(f(n)?c("(\n",d(l(n,"\n")),"\n)"):c("(",l(n,", "),")"))+": "+r+c(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>c("",e,"\n")+l([t+": "+n,c("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>c("",e,"\n")+l(["interface",t,c("implements ",l(n," & ")),l(r," "),u(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>c("",e,"\n")+l(["union",t,l(n," "),c("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>c("",e,"\n")+l(["enum",t,l(n," "),u(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>c("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>c("",e,"\n")+l(["input",t,l(n," "),u(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>c("",e,"\n")+"directive @"+t+(f(n)?c("(\n",d(l(n,"\n")),"\n)"):c("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),u(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,c("implements ",l(t," & ")),l(n," "),u(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,c("implements ",l(t," & ")),l(n," "),u(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),c("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),u(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),u(n)]," ")}};function l(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function u(e){return c("{\n",d(l(e,"\n")),"\n}")}function c(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function d(e){return c(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}},10099:(e,t,n)=>{n.d(t,{R:()=>s});var r=n(48255),i=n(42455),o=n(85261);function s(e){return{OperationDefinition(t){if("subscription"===t.operation){const n=e.getSchema(),s=n.getSubscriptionType();if(s){const a=t.name?t.name.value:null,l=Object.create(null),u=e.getDocument(),c=Object.create(null);for(const e of u.definitions)e.kind===i.b.FRAGMENT_DEFINITION&&(c[e.name.value]=e);const{fields:d}=(0,o._)(n,c,l,s,t.selectionSet);if(d.size>1){const t=[...d.values()].slice(1).flat();e.reportError(new r.eO(null!=a?`Subscription "${a}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",t))}for(const t of d.values())t[0].name.value.startsWith("__")&&e.reportError(new r.eO(null!=a?`Subscription "${a}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",t))}}}}}},11098:(e,t,n)=>{const{deleteProperty:r}=Reflect,i=n(95858),o=n(12685),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,a=e=>{if(!i(e))throw new TypeError("Object keys must be strings or symbols");if((e=>"__proto__"===e||"constructor"===e||"prototype"===e)(e))throw new Error(`Cannot set unsafe key: "${e}"`)},l=(e,t)=>t&&"function"==typeof t.split?t.split(e):"symbol"==typeof e?[e]:Array.isArray(e)?e:((e,t,n)=>{const r=(e=>Array.isArray(e)?e.flat().map(String).join(","):e)(t?((e,t)=>{if("string"!=typeof e||!t)return e;let n=e+";";return void 0!==t.arrays&&(n+=`arrays=${t.arrays};`),void 0!==t.separator&&(n+=`separator=${t.separator};`),void 0!==t.split&&(n+=`split=${t.split};`),void 0!==t.merge&&(n+=`merge=${t.merge};`),void 0!==t.preservePaths&&(n+=`preservePaths=${t.preservePaths};`),n})(e,t):e);a(r);const i=c.cache.get(r)||n();return c.cache.set(r,i),i})(e,t,()=>((e,t={})=>{const n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"==typeof e&&!1!==r&&/\//.test(e))return[e];const i=[];let o="";const s=e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?i.push(t):i.push(e)};for(let t=0;t<e.length;t++){const r=e[t];"\\"!==r?r!==n?o+=r:(s(o),o=""):o+=e[++t]}return o&&s(o),i})(e,t)),u=(e,t,n,i)=>{if(a(t),void 0===n)r(e,t);else if(i&&i.merge){const r="function"===i.merge?i.merge:Object.assign;r&&o(e[t])&&o(n)?e[t]=r(e[t],n):e[t]=n}else e[t]=n;return e},c=(e,t,n,r)=>{if(!t||!s(e))return e;const i=l(t,r);let o=e;for(let e=0;e<i.length;e++){const t=i[e],l=i[e+1];if(a(t),void 0===l){u(o,t,n,r);break}"number"!=typeof l||Array.isArray(o[t])?(s(o[t])||(o[t]={}),o=o[t]):o=o[t]=[]}return e};c.split=l,c.cache=new Map,c.clear=()=>{c.cache=new Map},e.exports=c},11993:(e,t,n)=>{n.d(t,{yX:()=>r});class r{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}},12003:(e,t,n)=>{function r(){return globalThis._VSCODE_NLS_MESSAGES}function i(){return globalThis._VSCODE_NLS_LANGUAGE}n.d(t,{i8:()=>i,Ec:()=>r,kg:()=>a,aS:()=>u});const o="pseudo"===i()||"undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function s(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const r=n[0],i=t[r];let o=e;return"string"==typeof i?o=i:"number"!=typeof i&&"boolean"!=typeof i&&null!=i||(o=String(i)),o}),o&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function a(e,t,...n){return s("number"==typeof e?l(e,t):t,n)}function l(e,t){const n=r()?.[e];if("string"!=typeof n){if("string"==typeof t)return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}function u(e,t,...n){let r;r="number"==typeof e?l(e,t):t;const i=s(r,n);return{value:i,original:t===r?i:s(t,n)}}},12039:(e,t,n)=>{let r;n.d(t,{Y:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}))},12310:(e,t,n)=>{var r=n(14041);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var s={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},a=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=s.p;try{if(l.T=null,s.p=2,e)return e()}finally{l.T=t,s.p=n,s.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,s.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&s.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?s.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):"script"===n&&s.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);s.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&s.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);s.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);s.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else s.d.m(e)},t.requestFormReset=function(e){s.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.1.0"},12475:(e,t,n)=>{n.d(t,{J:()=>o});var r=n(46712),i=n(48255);function o(e){return{Field:t,Directive:t};function t(t){var n;const o=null!==(n=t.arguments)&&void 0!==n?n:[],s=(0,r.$)(o,e=>e.name.value);for(const[t,n]of s)n.length>1&&e.reportError(new i.eO(`There can be only one argument named "${t}".`,n.map(e=>e.name)))}}},12584:(e,t,n)=>{n.d(t,{_:()=>o});var r=n(46712),i=n(48255);function o(e){return{OperationDefinition(t){var n;const o=null!==(n=t.variableDefinitions)&&void 0!==n?n:[],s=(0,r.$)(o,e=>e.variable.name.value);for(const[t,n]of s)n.length>1&&e.reportError(new i.eO(`There can be only one variable named "$${t}".`,n.map(e=>e.variable.name)))}}}},12685:(e,t,n)=>{var r=n(19537);function i(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==i(e)&&"function"==typeof(t=e.constructor)&&!1!==i(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},12833:(e,t,n)=>{t.A_=void 0;var r,i=(r=n(60190))&&r.__esModule?r:{default:r};t.A_=i.default,i.default},13924:(e,t,n)=>{n.d(t,{JR:()=>r.J,Jb:()=>o.Ay,yX:()=>i.yX});var r=n(9163),i=(n(25322),n(11993)),o=(n(52248),n(66972))},14041:(e,t,n)=>{e.exports=n(42062)},14047:(e,t,n)=>{var r=n(14041),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(o=e,t):(o=e,s=n)}var o,s,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,c]);var p=o(e,d[0],d[1]);return a(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},14096:(e,t,n)=>{n.d(t,{W8:()=>c});var r,i=n(620),o=n(42455),s=n(90424),a=n(98195);!function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"}(r||(r={}));const l=[o.b.SCHEMA_DEFINITION,o.b.OPERATION_TYPE_DEFINITION,o.b.SCALAR_TYPE_DEFINITION,o.b.OBJECT_TYPE_DEFINITION,o.b.INTERFACE_TYPE_DEFINITION,o.b.UNION_TYPE_DEFINITION,o.b.ENUM_TYPE_DEFINITION,o.b.INPUT_OBJECT_TYPE_DEFINITION,o.b.DIRECTIVE_DEFINITION,o.b.SCHEMA_EXTENSION,o.b.SCALAR_TYPE_EXTENSION,o.b.OBJECT_TYPE_EXTENSION,o.b.INTERFACE_TYPE_EXTENSION,o.b.UNION_TYPE_EXTENSION,o.b.ENUM_TYPE_EXTENSION,o.b.INPUT_OBJECT_TYPE_EXTENSION],u=e=>{let t=r.UNKNOWN;if(e)try{(0,s.YR)((0,a.qg)(e),{enter(e){if("Document"!==e.kind)return!!l.includes(e.kind)&&(t=r.TYPE_SYSTEM,s.sP);t=r.EXECUTABLE}})}catch(e){return t}return t};function c(e,t,n,o,s){const a=o||function(e,t,n=0){let r=null,o=null,s=null;const a=function(e,t){const n=e.split("\n"),r=(0,i.r5)();let o=r.startState(),s="",a=new i.Qb("");for(let e=0;e<n.length;e++){for(a=new i.Qb(n[e]);!a.eol()&&(s=r.token(a,o),"BREAK"!==t(a,o,s,e)););t(a,o,s,e),o.kind||(o=r.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:o,style:s}}(e,(e,i,a,l)=>{if(!(l!==t.line||e.getCurrentPosition()+n<t.character+1))return r=a,o=Object.assign({},i),s=e.current(),"BREAK"});return{start:a.start,end:a.end,string:s||a.string,state:o||a.state,style:r||a.style}}(e,t,1);if(!a)return null;const l="Invalid"===a.state.kind?a.state.prevState:a.state;return l?{token:a,state:l,typeInfo:(0,i.VJ)(n,a.state),mode:(null==s?void 0:s.mode)||(c=e,(null==(d=null==s?void 0:s.uri)?void 0:d.endsWith(".graphqls"))?r.TYPE_SYSTEM:u(c))}:null;var c,d}},15487:(e,t,n)=>{function r(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}n.d(t,{K:()=>r})},15719:(e,t,n)=>{n.d(t,{L:()=>o});var r=n(55818),i=n(81304);class o extends i.Q{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new r.y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new o(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},15741:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(89494),i=n(42455),o=n(84143);function s(e,t){const n=Object.create(null);for(const s of t.definitions)if("OperationDefinition"===s.kind){const{variableDefinitions:t}=s;if(t)for(const{variable:s,type:a}of t){const t=(0,r.v)(e,a);t?n[s.name.value]=t:a.kind===i.b.NAMED_TYPE&&"Float"===a.name.value&&(n[s.name.value]=o.qS)}}return n}},16177:(e,t,n)=>{var r=n(2503);n(620),n(32852),r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Function,r.Io.Constructor},18261:(e,t,n)=>{function r(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}n.d(t,{q:()=>r})},18282:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(4827),i=n(42455);function o(e={eatWhitespace:e=>e.eatWhile(r.pi),lexRules:r.Rq,parseRules:r.vM,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return l(e.parseRules,t,i.b.DOCUMENT),t},token:(t,n)=>function(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:i,parseRules:o,eatWhitespace:d,editorConfig:p}=n;if(t.rule&&0===t.rule.length?u(t):t.needsAdvance&&(t.needsAdvance=!1,c(t,!0)),e.sol()){const n=(null==p?void 0:p.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(d(e))return"ws";const h=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(i,e);if(!h)return e.match(/\S+/)||e.match(/\s/),l(a,t,"Invalid"),"invalidchar";if("Comment"===h.kind)return l(a,t,"Comment"),"comment";const m=s({},t);if("Punctuation"===h.kind)if(/^[{([]/.test(h.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(h.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e.at(-1)<t.indentLevel&&(t.indentLevel=e.at(-1))}for(;t.rule;){let n="function"==typeof t.rule?0===t.step?t.rule(h,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null==n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"==typeof n){l(o,t,n);continue}if(null===(r=n.match)||void 0===r?void 0:r.call(n,h))return n.update&&n.update(t,h),"Punctuation"===h.kind?c(t,!0):t.needsAdvance=!0,n.style}f(t)}return s(t,m),l(a,t,"Invalid"),"invalidchar"}(t,n,e)}}function s(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const a={Invalid:[],Comment:[]};function l(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function u(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function c(e,t){var n;if(d(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const{separator:t}=n;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)u(e),e.rule&&(d(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function d(e){const t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function f(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)u(e);e.rule&&c(e,!1)}},18300:(e,t,n)=>{e.exports=n(14047)},19537:e=>{e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},20567:(e,t,n)=>{n.d(t,{A:()=>a,I:()=>s});var r=n(93217),i=n(48255),o=n(25881);function s(e){if(null!=e||(0,r.U)(!1,"Must provide name."),"string"==typeof e||(0,r.U)(!1,"Expected name to be a string."),0===e.length)throw new i.eO("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,o.xr)(e.charCodeAt(t)))throw new i.eO(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,o.un)(e.charCodeAt(0)))throw new i.eO(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function a(e){if("true"===e||"false"===e||"null"===e)throw new i.eO(`Enum values cannot be named: ${e}`);return s(e)}},22573:(e,t,n)=>{n.d(t,{Jh:()=>r,QT:()=>E,Qy:()=>g,Wj:()=>x,_B:()=>k,at:()=>w,fV:()=>v,uI:()=>b,vl:()=>m});var r,i=n(73226),o=n(93444),s=n(32293),a=n(70092),l=n(30222);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t,n){return i((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}function r(e,t,n){return i((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}function i(e,t){let n;const r=new m({onWillAddFirstListener(){n=e(r.fire,r)},onDidRemoveLastListener(){n?.dispose()}});return t?.add(r),r.event}function o(e,t,n=100,r=!1,i=!1,o,s){let a,l,u,c,d=0;const f=new m({leakWarningThreshold:o,onWillAddFirstListener(){a=e(e=>{d++,l=t(l,e),r&&!u&&(f.fire(l),l=void 0),c=()=>{const e=l;l=void 0,u=void 0,(!r||d>1)&&f.fire(e),d=0},"number"==typeof n?(clearTimeout(u),u=setTimeout(c,n)):void 0===u&&(u=0,queueMicrotask(c))})},onWillRemoveListener(){i&&d>0&&c?.()},onDidRemoveLastListener(){c=void 0,a.dispose()}});return s?.add(f),f.event}e.None=()=>s.jG.None,e.defer=function(e,t){return o(e,()=>{},0,void 0,!0,void 0,t)},e.once=t,e.onceIf=function(t,n){return e.once(e.filter(t,n))},e.map=n,e.forEach=function(e,t,n){return i((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)},e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>{const i=(0,s.qE)(...e.map(e=>e(e=>t.call(n,e))));return o=i,(a=r)instanceof Array?a.push(o):a&&a.add(o),o;var o,a}},e.reduce=function(e,t,r,i){let o=r;return n(e,e=>(o=t(o,e),o),i)},e.debounce=o,e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)},e.latch=function(e,t=(e,t)=>e===t,n){let i,o=!0;return r(e,e=>{const n=o||!t(e,i);return o=!1,i=e,n},n)},e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]},e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),o=e(e=>{i?i.push(e):a.fire(e)});r&&r.add(o);const s=()=>{i?.forEach(e=>a.fire(e)),i=null},a=new m({onWillAddFirstListener(){o||(o=e(e=>a.fire(e)),r&&r.add(o))},onDidAddFirstListener(){i&&(t?setTimeout(s):s())},onDidRemoveLastListener(){o&&o.dispose(),o=null}});return r&&r.add(a),a.event},e.chain=function(e,t){return(n,r,i)=>{const o=t(new l);return e(function(e){const t=o.evaluate(e);t!==a&&n.call(r,t)},void 0,i)}};const a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let n=t;return this.steps.push(t=>(n=e(n,t),n)),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push(r=>{const i=n||!e(r,t);return n=!1,t=r,i?r:a}),this}evaluate(e){for(const t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new m({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new m({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))},e.fromPromise=function(e){const t=new m;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.forward=function(e,t){return e(e=>t.fire(e))},e.runAndSubscribe=function(e,t,n){return t(n),e(e=>t(e))};class u{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;const n={onWillAddFirstListener:()=>{e.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{e.removeObserver(this)}};this.emitter=new m(n),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event},e.fromObservableLight=function(e){return(t,n,r)=>{let i=0,o=!1;const a={beginUpdate(){i++},endUpdate(){i--,0===i&&(e.reportChanges(),o&&(o=!1,t.call(n)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(a),e.reportChanges();const l={dispose(){e.removeObserver(a)}};return r instanceof s.Cm?r.add(l):Array.isArray(r)&&r.push(l),l}}}(r||(r={}));class u{static{this.all=new Set}static{this._idPool=0}constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${u._idPool++}`,u.all.add(this)}start(e){this._stopWatch=new l.W,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}class c{static{this._idPool=1}constructor(e,t,n=(c._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=t,this.name=n,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,t){const n=this.threshold;if(n<=0||t<n)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=.5*n;const[e,r]=this.getMostFrequentStack(),i=`[${this.name}] potential listener LEAK detected, having ${t} listeners already. MOST frequent listener (${r}):`;console.warn(i),console.warn(e);const o=new f(i,e);this._errorHandler(o)}return()=>{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,t=0;for(const[n,r]of this._stacks)(!e||t<r)&&(e=[n,r],t=r);return e}}class d{static create(){const e=new Error;return new d(e.stack??"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class f extends Error{constructor(e,t){super(e),this.name="ListenerLeakError",this.stack=t}}class p extends Error{constructor(e,t){super(e),this.name="ListenerRefusalError",this.stack=t}}class h{constructor(e){this.value=e}}class m{constructor(e){this._size=0,this._options=e,this._leakageMon=this._options?.leakWarningThreshold?new c(e?.onListenerError??i.dz,this._options?.leakWarningThreshold??-1):void 0,this._perfMon=this._options?._profName?new u(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,t,n)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);const t=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],n=new p(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]);return(this._options?.onListenerError||i.dz)(n),s.jG.None}if(this._disposed)return s.jG.None;t&&(e=e.bind(t));const r=new h(e);let o;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(r.stack=d.create(),o=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof h?(this._deliveryQueue??=new y,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._size++;const a=(0,s.s)(()=>{o?.(),this._removeListener(r)});return n instanceof s.Cm?n.add(a):Array.isArray(n)&&n.push(a),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),void(this._size=0);const t=this._listeners,n=t.indexOf(e);if(-1===n)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,t[n]=void 0;const r=this._deliveryQueue.current===this;if(2*this._size<=t.length){let e=0;for(let n=0;n<t.length;n++)t[n]?t[e++]=t[n]:r&&(this._deliveryQueue.end--,e<this._deliveryQueue.i&&this._deliveryQueue.i--);t.length=e}}_deliver(e,t){if(!e)return;const n=this._options?.onListenerError||i.dz;if(n)try{e.value(t)}catch(e){n(e)}else e.value(t)}_deliverQueue(e){const t=e.current._listeners;for(;e.i<e.end;)this._deliver(t[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof h)this._deliver(this._listeners,e);else{const t=this._deliveryQueue;t.enqueue(this,e,this._listeners.length),this._deliverQueue(t)}this._perfMon?.stop()}hasListeners(){return this._size>0}}const g=()=>new y;class y{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class v extends m{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.w,this._mergeFn=e?.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){if(this._eventQueue.size>0){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class b extends v{constructor(e){super(e),this._delay=e.delay??100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class E extends m{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=e?.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class k{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new m({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){const t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,s.s)((0,o.P)(()=>{this.hasListeners&&this.unhook(t);const e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){e.listener?.dispose(),e.listener=null}dispose(){this.emitter.dispose();for(const e of this.events)e.listener?.dispose();this.events=[]}}class w{constructor(){this.data=[]}wrapEvent(e,t,n){return(r,i,o)=>e(e=>{const o=this.data[this.data.length-1];if(!t)return void(o?o.buffers.push(()=>r.call(i,e)):r.call(i,e));const s=o;s?(s.items??=[],s.items.push(e),0===s.buffers.length&&o.buffers.push(()=>{s.reducedResult??=n?s.items.reduce(t,n):s.items.reduce(t),r.call(i,s.reducedResult)})):r.call(i,t(n,e))},void 0,o)}bufferEvents(e){const t={buffers:new Array};this.data.push(t);const n=e();return this.data.pop(),t.buffers.forEach(e=>e()),n}}class x{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=s.jG.None,this.emitter=new m({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},23153:(e,t,n)=>{function r(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}n.d(t,{A:()=>r})},24466:(e,t,n)=>{n.d(t,{y:()=>u});var r=n(54833),i=n(36382),o=n(48255),s=n(3420),a=n(84143),l=n(28957);function u(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),a=Object.create(null);for(const t of e.getDocument().definitions)(0,s.a6)(t)&&(a[t.name.value]=!0);const l=[...Object.keys(n),...Object.keys(a)];return{NamedType(t,u,d,f,p){const h=t.name.value;if(!n[h]&&!a[h]){var m;const n=null!==(m=p[2])&&void 0!==m?m:d,a=null!=n&&"kind"in(g=n)&&((0,s.xu)(g)||(0,s.fT)(g));if(a&&c.includes(h))return;const u=(0,i.x)(h,a?c.concat(l):l);e.reportError(new o.eO(`Unknown type "${h}".`+(0,r.a)(u),t))}var g}}}const c=[...a.YC,...l.V4].map(e=>e.name)},24556:(e,t,n)=>{n.d(t,{H:()=>U,g:()=>V});var r=n(38489),i=n(35157),o=n(84719),s=n(10099),a=n(24466),l=n(49911),u=n(99461),c=n(70048),d=n(5449),f=n(45536),p=n(8898),h=n(91981),m=n(58644),g=n(42833),y=n(12584),v=n(72027),b=n(39201),E=n(6868),k=n(26886),w=n(95919),x=n(81105),_=n(40825),S=n(12475),T=n(51838),C=n(67565),N=n(68022),A=n(25106),D=n(80656),O=n(55343),I=n(40354),L=n(27368),F=n(92954),R=n(73537),P=n(94410),M=n(77065),j=n(85966);const V=Object.freeze([r.T,i.H,o.P,s.R,a.y,l.T,u.J,c.A,d.Z,f.K,p.K,h.z,m.y,g.n,y._,v.Z,b.p,E.e,k.U,w.Z,x.d,_.P,S.J,T.U,C.X,N.E,A.K,D.C]),U=Object.freeze([O.l,I.u,L.i,F.g,R.X,P.E,M.Z,a.y,E.e,k.U,j.S,_.W,S.J,D.C,C.A])},25106:(e,t,n)=>{n.d(t,{K:()=>c});var r=n(35198),i=n(48255),o=n(42455),s=n(9554),a=n(73663),l=n(89494);function u(e){return Array.isArray(e)?e.map(([e,t])=>`subfields "${e}" conflict because `+u(t)).join(" and "):e}function c(e){const t=new w,n=new Map;return{SelectionSet(r){const o=function(e,t,n,r,i){const o=[],[s,a]=b(e,t,r,i);if(function(e,t,n,r,i){for(const[o,s]of Object.entries(i))if(s.length>1)for(let i=0;i<s.length;i++)for(let a=i+1;a<s.length;a++){const l=h(e,n,r,!1,o,s[i],s[a]);l&&t.push(l)}}(e,o,t,n,s),0!==a.length)for(let r=0;r<a.length;r++){d(e,o,t,n,!1,s,a[r]);for(let i=r+1;i<a.length;i++)f(e,o,t,n,!1,a[r],a[i])}return o}(e,n,t,e.getParentType(),r);for(const[[t,n],r,s]of o){const o=u(n);e.reportError(new i.eO(`Fields "${t}" conflict because ${o}. Use different aliases on the fields to fetch both if this was intentional.`,r.concat(s)))}}}}function d(e,t,n,r,i,o,s){const a=e.getFragment(s);if(!a)return;const[l,u]=E(e,n,a);if(o!==l){p(e,t,n,r,i,o,l);for(const s of u)d(e,t,n,r,i,o,s)}}function f(e,t,n,r,i,o,s){if(o===s)return;if(r.has(o,s,i))return;r.add(o,s,i);const a=e.getFragment(o),l=e.getFragment(s);if(!a||!l)return;const[u,c]=E(e,n,a),[d,h]=E(e,n,l);p(e,t,n,r,i,u,d);for(const s of h)f(e,t,n,r,i,o,s);for(const o of c)f(e,t,n,r,i,o,s)}function p(e,t,n,r,i,o,s){for(const[a,l]of Object.entries(o)){const o=s[a];if(o)for(const s of l)for(const l of o){const o=h(e,n,r,i,a,s,l);o&&t.push(o)}}}function h(e,t,n,i,o,s,l){const[u,c,h]=s,[E,k,w]=l,x=i||u!==E&&(0,a.YQ)(u)&&(0,a.YQ)(E);if(!x){var _,S,T,C;const e=c.name.value,t=k.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[c],[k]];if(N=null!==(_=c.arguments)&&void 0!==_?_:[],A=null!==(S=k.arguments)&&void 0!==S?S:[],N.length!==A.length||!N.every(e=>{const t=A.find(t=>t.name.value===e.name.value);return!!t&&y(e.value,t.value)}))return[[o,"they have differing arguments"],[c],[k]];if(!function(e,t){const n=g(e),r=g(t);return!n&&!r||!(!n||!r)&&(m(n,r,"initialCount")&&m(n,r,"label"))}(null!==(T=c.directives)&&void 0!==T?T:[],null!==(C=k.directives)&&void 0!==C?C:[]))return[[o,"they have differing stream directives"],[c],[k]]}var N,A;const D=null==h?void 0:h.type,O=null==w?void 0:w.type;if(D&&O&&v(D,O))return[[o,`they return conflicting types "${(0,r.N)(D)}" and "${(0,r.N)(O)}"`],[c],[k]];const I=c.selectionSet,L=k.selectionSet;if(I&&L){const r=function(e,t,n,r,i,o,s,a){const l=[],[u,c]=b(e,t,i,o),[h,m]=b(e,t,s,a);p(e,l,t,n,r,u,h);for(const i of m)d(e,l,t,n,r,u,i);for(const i of c)d(e,l,t,n,r,h,i);for(const i of c)for(const o of m)f(e,l,t,n,r,i,o);return l}(e,t,n,x,(0,a.MR)(D),I,(0,a.MR)(O),L);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()]]}(r,o,c,k)}}function m(e,t,n){var r,i;const o=(null!==(r=e.arguments)&&void 0!==r?r:[]).find(e=>e.name.value===n);if(!o)return!1;const s=(null!==(i=t.arguments)&&void 0!==i?i:[]).find(e=>e.name.value===n);return!!s&&y(o.value,s.value)}function g(e){return e.find(e=>"stream"===e.name.value)}function y(e,t){return(0,s.y)(e)===(0,s.y)(t)}function v(e,t){return(0,a.Fs)(e)?!(0,a.Fs)(t)||v(e.ofType,t.ofType):!!(0,a.Fs)(t)||((0,a.bd)(e)?!(0,a.bd)(t)||v(e.ofType,t.ofType):!!(0,a.bd)(t)||!(!(0,a.zf)(e)&&!(0,a.zf)(t))&&e!==t)}function b(e,t,n,r){const i=t.get(r);if(i)return i;const o=Object.create(null),s=Object.create(null);k(e,n,r,o,s);const a=[o,Object.keys(s)];return t.set(r,a),a}function E(e,t,n){const r=t.get(n.selectionSet);if(r)return r;const i=(0,l.v)(e.getSchema(),n.typeCondition);return b(e,t,i,n.selectionSet)}function k(e,t,n,r,i){for(const s of n.selections)switch(s.kind){case o.b.FIELD:{const e=s.name.value;let n;((0,a.YQ)(t)||(0,a.kD)(t))&&(n=t.getFields()[e]);const i=s.alias?s.alias.value:e;r[i]||(r[i]=[]),r[i].push([t,s,n]);break}case o.b.FRAGMENT_SPREAD:i[s.name.value]=!0;break;case o.b.INLINE_FRAGMENT:{const n=s.typeCondition,o=n?(0,l.v)(e.getSchema(),n):t;k(e,o,s.selectionSet,r,i);break}}}class w{constructor(){this._data=new Map}has(e,t,n){var r;const[i,o]=e<t?[e,t]:[t,e],s=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==s&&(!!n||n===s)}add(e,t,n){const[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)}}},25322:(e,t,n)=>{},25329:(e,t,n)=>{n.d(t,{GU:()=>p,V4:()=>h,Wl:()=>f});var r=n(35198),i=n(40698),o=n(93217),s=n(50792),a=n(91070),l=n(59762),u=n(28957),c=n(67274),d=n(73663);function f(e){return(0,s.h)(e,h)}function p(e){if(!f(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL schema.`);return e}class h{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,this._enableDeferStream=e.enableDeferStream,(0,a.Z)(e)||(0,o.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,o.U)(!1,`"types" must be Array if provided but got: ${(0,r.N)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,o.U)(!1,`"directives" must be Array if provided but got: ${(0,r.N)(e.directives)}.`),this.description=e.description,this.extensions=(0,i.z)(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:c.rc,!0===e.enableDeferStream&&(this._directives.some(e=>"defer"===e.name)||(this._directives=[...this._directives,c.BR]),this._directives.some(e=>"stream"===e.name)||(this._directives=[...this._directives,c.nK]));const s=new Set(e.types);if(null!=e.types)for(const t of e.types)s.delete(t),m(t,s);null!=this._queryType&&m(this._queryType,s),null!=this._mutationType&&m(this._mutationType,s),null!=this._subscriptionType&&m(this._subscriptionType,s);for(const e of this._directives)if((0,c.qT)(e))for(const t of e.args)m(t.type,s);m(u.em,s),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const e of s){if(null==e)continue;const t=e.name;if(t||(0,o.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw new Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,(0,d.kD)(e)){for(const t of e.getInterfaces())if((0,d.kD)(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if((0,d.YQ)(e))for(const t of e.getInterfaces())if((0,d.kD)(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 l.cE.QUERY:return this.getQueryType();case l.cE.MUTATION:return this.getMutationType();case l.cE.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,d.CK)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const 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),(0,d.CK)(e))for(const t of e.getTypes())n[t.name]=!0;else{const t=this.getImplementations(e);for(const e of t.objects)n[e.name]=!0;for(const 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 m(e,t){const n=(0,d.MR)(e);if(!t.has(n))if(t.add(n),(0,d.CK)(n))for(const e of n.getTypes())m(e,t);else if((0,d.YQ)(n)||(0,d.kD)(n)){for(const e of n.getInterfaces())m(e,t);for(const e of Object.values(n.getFields())){m(e.type,t);for(const n of e.args)m(n.type,t)}}else if((0,d.qK)(n))for(const e of Object.values(n.getFields()))m(e.type,t);return t}},25873:(e,t,n)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(86974)},25881:(e,t,n)=>{function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}n.d(t,{i0:()=>r,un:()=>s,xr:()=>a,yp:()=>i})},26886:(e,t,n)=>{n.d(t,{U:()=>a});var r=n(48255),i=n(42455),o=n(3420),s=n(67274);function a(e){const t=Object.create(null),n=e.getSchema(),a=n?n.getDirectives():s.rc;for(const e of a)t[e.name]=!e.isRepeatable;const l=e.getDocument().definitions;for(const e of l)e.kind===i.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=!e.repeatable);const u=Object.create(null),c=Object.create(null);return{enter(n){if(!("directives"in n)||!n.directives)return;let s;if(n.kind===i.b.SCHEMA_DEFINITION||n.kind===i.b.SCHEMA_EXTENSION)s=u;else if((0,o.a6)(n)||(0,o.i7)(n)){const e=n.name.value;s=c[e],void 0===s&&(c[e]=s=Object.create(null))}else s=Object.create(null);for(const i of n.directives){const n=i.name.value;t[n]&&(s[n]?e.reportError(new r.eO(`The directive "@${n}" can only be used once at this location.`,[s[n],i])):s[n]=i)}}}}},27368:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(48255);function i(e){const t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){const o=i.name.value;if(null==n||!n.getType(o))return t[o]?e.reportError(new r.eO(`There can be only one type named "${o}".`,[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.eO(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,i.name))}}},28957:(e,t,n)=>{n.d(t,{$4:()=>f,B0:()=>v,B1:()=>g,P8:()=>p,S0:()=>b,V4:()=>w,Xe:()=>E,Yh:()=>x,Ym:()=>m,em:()=>c,fY:()=>y,of:()=>k,sv:()=>d,z9:()=>h});var r=n(35198),i=n(71306),o=n(9554),s=n(42868),a=n(39709),l=n(84143),u=n(73663);const c=new u.bh({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:l.FV,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new u.Gc(new u.KT(new u.Gc(p))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new u.Gc(p),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:p,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:p,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new u.Gc(new u.KT(new u.Gc(d))),resolve:e=>e.getDirectives()}})}),d=new u.bh({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 u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},isRepeatable:{type:new u.Gc(l.kk),resolve:e=>e.isRepeatable},locations:{type:new u.Gc(new u.KT(new u.Gc(f))),resolve:e=>e.locations},args:{type:new u.Gc(new u.KT(new u.Gc(m))),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),f=new u.Zb({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:s.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:s.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:s.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:s.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:s.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:s.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:s.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:s.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:s.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:s.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:s.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:s.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:s.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:s.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:s.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:s.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:s.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:s.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:s.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),p=new u.bh({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 u.Gc(v),resolve:e=>(0,u.lg)(e)?y.SCALAR:(0,u.YQ)(e)?y.OBJECT:(0,u.kD)(e)?y.INTERFACE:(0,u.CK)(e)?y.UNION:(0,u.oF)(e)?y.ENUM:(0,u.qK)(e)?y.INPUT_OBJECT:(0,u.Fs)(e)?y.LIST:(0,u.bd)(e)?y.NON_NULL:void(0,i.V)(!1,`Unexpected type: "${(0,r.N)(e)}".`)},name:{type:l.FV,resolve:e=>"name"in e?e.name:void 0},description:{type:l.FV,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:l.FV,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new u.KT(new u.Gc(h)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.YQ)(e)||(0,u.kD)(e)){const n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new u.KT(new u.Gc(p)),resolve(e){if((0,u.YQ)(e)||(0,u.kD)(e))return e.getInterfaces()}},possibleTypes:{type:new u.KT(new u.Gc(p)),resolve(e,t,n,{schema:r}){if((0,u.Lc)(e))return r.getPossibleTypes(e)}},enumValues:{type:new u.KT(new u.Gc(g)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.oF)(e)){const n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new u.KT(new u.Gc(m)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.qK)(e)){const n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:p,resolve:e=>"ofType"in e?e.ofType:void 0}})}),h=new u.bh({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 u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},args:{type:new u.Gc(new u.KT(new u.Gc(m))),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new u.Gc(p),resolve:e=>e.type},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})}),m=new u.bh({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 u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},type:{type:new u.Gc(p),resolve:e=>e.type},defaultValue:{type:l.FV,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,r=(0,a.K)(n,t);return r?(0,o.y)(r):null}},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})}),g=new u.bh({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 u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})});let y;!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(y||(y={}));const v=new u.Zb({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:y.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:y.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:y.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:y.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:y.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:y.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:y.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),b={name:"__schema",type:new u.Gc(c),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},E={name:"__type",type:p,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new u.Gc(l.FV),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},k={name:"__typename",type:new u.Gc(l.FV),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},w=Object.freeze([c,d,f,p,h,m,g,v]);function x(e){return w.some(({name:t})=>e.name===t)}},29113:(e,t,n)=>{var r,i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))u.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},d={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(d,{$dispatcherGuard:()=>S,$makeReadOnly:()=>C,$reset:()=>T,$structuralCheck:()=>I,c:()=>E,clearRenderCounterRegistry:()=>A,renderCounterRegistry:()=>N,useRenderCounter:()=>D}),e.exports=(r=d,c(o({},"__esModule",{value:!0}),r));var f,p,h=((e,t,n)=>(n=null!=e?i(l(e)):{},c(e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(14041)),{useRef:m,useEffect:g,isValidElement:y}=h,v=null!=(f=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?f:h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.memo_cache_sentinel"),E="function"==typeof(null==(p=h.__COMPILER_RUNTIME)?void 0:p.c)?h.__COMPILER_RUNTIME.c:function(e){return h.useMemo(()=>{const t=new Array(e);for(let n=0;n<e;n++)t[n]=b;return t[b]=!0,t},[])},k={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{k[e]=()=>{throw new Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var w=null;function x(e){return v.ReactCurrentDispatcher.current=e,v.ReactCurrentDispatcher.current}k.useMemoCache=e=>{if(null==w)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return w.useMemoCache(e)};var _=[];function S(e){const t=v.ReactCurrentDispatcher.current;if(0===e){if(_.push(t),1===_.length&&(w=t),t===k)throw new Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");x(k)}else if(1===e){const e=_.pop();if(null==e)throw new Error("React Compiler internal error: unexpected null in guard stack");0===_.length&&(w=null),x(e)}else if(2===e)_.push(t),x(w);else{if(3!==e)throw new Error("React Compiler internal error: unreachable block"+e);{const e=_.pop();if(null==e)throw new Error("React Compiler internal error: unexpected null in guard stack");x(e)}}}function T(e){for(let t=0;t<e.length;t++)e[t]=b}function C(){throw new Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var N=new Map;function A(){for(const e of N.values())e.forEach(e=>{e.count=0})}function D(e){const t=m(null);null!=t.current&&(t.current.count+=1),g(()=>{if(null==t.current){const n={count:0};!function(e,t){let n=N.get(e);null==n&&(n=new Set,N.set(e,n)),n.add(t)}(e,n),t.current=n}return()=>{null!==t.current&&function(e,t){const n=N.get(e);null!=n&&n.delete(t)}(e,t.current)}})}var O=new Set;function I(e,t,n,r,i,o){function s(e,t,s,a){const l=`${r}:${o} [${i}] ${n}${s} changed from ${e} to ${t} at depth ${a}`;O.has(l)||(O.add(l),console.error(l))}!function e(t,n,r,i){if(!(i>2)&&t!==n)if(typeof t!=typeof n)s("type "+typeof t,"type "+typeof n,r,i);else if("object"==typeof t){const o=Array.isArray(t),a=Array.isArray(n);if(null===t&&null!==n)s("null","type "+typeof n,r,i);else if(null===n)s("type "+typeof t,"null",r,i);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)s(`Map instance with size ${t.size}`,`Map instance with size ${n.size}`,r,i);else for(const[o,a]of t)n.has(o)?e(a,n.get(o),`${r}.get(${o})`,i+1):s(`Map instance with key ${o}`,`Map instance without key ${o}`,r,i);else s("Map instance","other value",r,i);else if(n instanceof Map)s("other value","Map instance",r,i);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)s(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,i);else for(const e of n)t.has(e)||s(`Set instance without element ${e}`,`Set instance with element ${e}`,r,i);else s("Set instance","other value",r,i);else if(n instanceof Set)s("other value","Set instance",r,i);else if(o||a)if(o!==a)s("type "+(o?"array":"object"),"type "+(a?"array":"object"),r,i);else if(t.length!==n.length)s(`array with length ${t.length}`,`array with length ${n.length}`,r,i);else for(let o=0;o<t.length;o++)e(t[o],n[o],`${r}[${o}]`,i+1);else if(y(t)||y(n))y(t)!==y(n)?s("type "+(y(t)?"React element":"object"),"type "+(y(n)?"React element":"object"),r,i):t.type!==n.type?s(`React element of type ${t.type}`,`React element of type ${n.type}`,r,i):e(t.props,n.props,`[props of ${r}]`,i+1);else{for(const e in n)e in t||s(`object without key ${e}`,`object with key ${e}`,r,i);for(const o in t)o in n?e(t[o],n[o],`${r}.${o}`,i+1):s(`object with key ${o}`,`object without key ${o}`,r,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&s(isNaN(t)?"NaN":"non-NaN value",isNaN(n)?"NaN":"non-NaN value",r,i):t!==n&&s(t,n,r,i)}}(e,t,"",0)}},30222:(e,t,n)=>{n.d(t,{W:()=>i});const r=globalThis.performance&&"function"==typeof globalThis.performance.now;class i{static create(e){return new i(e)}constructor(e){this._now=r&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}},31085:(e,t,n)=>{e.exports=n(61197)},31710:(e,t,n)=>{n.d(t,{Qi:()=>a,XO:()=>o,bs:()=>l});var r=n(22573);const i=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof s||!(!t||"object"!=typeof t)&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Jh.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.vl),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}function l(e){const t=new a;return e.add({dispose(){t.cancel()}}),t.token}},32112:()=>{},32293:(e,t,n)=>{n.d(t,{$w:()=>b,AS:()=>d,Ay:()=>s,BO:()=>v,Cm:()=>h,HE:()=>g,VD:()=>a,Xm:()=>c,jG:()=>m,lC:()=>u,mp:()=>y,qE:()=>f,s:()=>p});var r=n(93444),i=n(73179);let o=null;function s(e){return o?.trackDisposable(e),e}function a(e){o?.markAsDisposed(e)}function l(e,t){o?.setParent(e,t)}function u(e){return o?.markAsSingleton(e),e}function c(e){return"object"==typeof e&&null!==e&&"function"==typeof e.dispose&&0===e.dispose.length}function d(e){if(i.f.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(...e){const t=p(()=>d(e));return function(e,t){if(o)for(const n of e)o.setParent(n,t)}(e,t),t}function p(e){const t=s({dispose:(0,r.P)(()=>{a(t),e()})});return t}class h{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{d(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return l(e,this),this._isDisposed?h.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),l(e,null))}}class m{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new h,s(this),l(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}class g{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value?.dispose(),e&&l(e,this),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,a(this),this._value?.dispose(),this._value=void 0}}class y{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0===--this._counter&&this._disposable.dispose(),this}}class v{constructor(e){this.object=e}dispose(){}}class b{constructor(){this._store=new Map,this._isDisposed=!1,s(this)}dispose(){a(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{d(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,n=!1){this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),n||this._store.get(e)?.dispose(),this._store.set(e,t)}deleteAndDispose(e){this._store.get(e)?.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}},32732:(e,t,n)=>{n.d(t,{VJ:()=>a});var r=n(28957),i=n(73663),o=n(620);function s(e,t,n){return n===r.S0.name&&e.getQueryType()===t?r.S0:n===r.Xe.name&&e.getQueryType()===t?r.Xe:n===r.of.name&&(0,i.ML)(t)?r.of:"getFields"in t?t.getFields()[n]:null}function a(e,t){let n,r,a,l,u,c,d,f,p,h,m;return function(e,t){const n=[];let r=e;for(;null==r?void 0:r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}(t,t=>{var g;switch(t.kind){case o.qx.QUERY:case"ShortQuery":h=e.getQueryType();break;case o.qx.MUTATION:h=e.getMutationType();break;case o.qx.SUBSCRIPTION:h=e.getSubscriptionType();break;case o.qx.INLINE_FRAGMENT:case o.qx.FRAGMENT_DEFINITION:t.type&&(h=e.getType(t.type));break;case o.qx.FIELD:case o.qx.ALIASED_FIELD:h&&t.name?(u=p?s(e,p,t.name):null,h=u?u.type:null):u=null;break;case o.qx.SELECTION_SET:p=(0,i.MR)(h);break;case o.qx.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case o.qx.INTERFACE_DEF:t.name&&(d=null,m=new i.VA({name:t.name,interfaces:[],fields:{}}));break;case o.qx.OBJECT_TYPE_DEF:t.name&&(m=null,d=new i.bh({name:t.name,interfaces:[],fields:{}}));break;case o.qx.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case o.qx.FIELD:r=u&&u.args;break;case o.qx.DIRECTIVE:r=a&&a.args;break;case o.qx.ALIASED_FIELD:{const n=null===(g=t.prevState)||void 0===g?void 0:g.name;if(!n){r=null;break}const i=p?s(e,p,n):null;if(!i){r=null;break}r=i.args;break}default:r=null}else r=null;break;case o.qx.ARGUMENT:if(r)for(let e=0;e<r.length;e++)if(r[e].name===t.name){n=r[e];break}c=null==n?void 0:n.type;break;case o.qx.VARIABLE_DEFINITION:case o.qx.VARIABLE:h=c;break;case o.qx.ENUM_VALUE:const y=(0,i.MR)(c);l=y instanceof i.Zb?y.getValues().find(e=>e.value===t.name):null;break;case o.qx.LIST_VALUE:const v=(0,i.yl)(c);c=v instanceof i.KT?v.ofType:null;break;case o.qx.OBJECT_VALUE:const b=(0,i.MR)(c);f=b instanceof i.zP?b.getFields():null;break;case o.qx.OBJECT_FIELD:const E=t.name&&f?f[t.name]:null;c=null==E?void 0:E.type,u=E,h=u?u.type:null;break;case o.qx.NAMED_TYPE:t.name&&(h=e.getType(t.name))}}),{argDef:n,argDefs:r,directiveDef:a,enumValue:l,fieldDef:u,inputType:c,objectFieldDefs:f,parentType:p,type:h,interfaceDef:m,objectTypeDef:d}}},32852:(e,t,n)=>{var r,i,o,s,a,l,u,c,d,f,p,h,m,g,y,v,b,E,k,w,x,_,S,T,C,N,A,D,O,I,L,F,R,P,M,j,V,U,B,$,q,z,H,K,W,Y,G,Q,X,Z,J,ee,te,ne,re,ie,oe,se,ae,le,ue,ce,de,fe,pe,he,me,ge,ye,ve,be,Ee,ke,we,xe,_e,Se,Te,Ce,Ne;n.d(t,{Q6:()=>l,yX:()=>a}),function(e){e.is=function(e){return"string"==typeof e}}(r||(r={})),function(e){e.is=function(e){return"string"==typeof e}}(i||(i={})),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,e.is=function(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(o||(o={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647,e.is=function(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(s||(s={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=s.MAX_VALUE),t===Number.MAX_VALUE&&(t=s.MAX_VALUE),{line:e,character:t}},e.is=function(e){let t=e;return Ne.objectLiteral(t)&&Ne.uinteger(t.line)&&Ne.uinteger(t.character)}}(a||(a={})),function(e){e.create=function(e,t,n,r){if(Ne.uinteger(e)&&Ne.uinteger(t)&&Ne.uinteger(n)&&Ne.uinteger(r))return{start:a.create(e,t),end:a.create(n,r)};if(a.is(e)&&a.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},e.is=function(e){let t=e;return Ne.objectLiteral(t)&&a.is(t.start)&&a.is(t.end)}}(l||(l={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){let t=e;return Ne.objectLiteral(t)&&l.is(t.range)&&(Ne.string(t.uri)||Ne.undefined(t.uri))}}(u||(u={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){let t=e;return Ne.objectLiteral(t)&&l.is(t.targetRange)&&Ne.string(t.targetUri)&&l.is(t.targetSelectionRange)&&(l.is(t.originSelectionRange)||Ne.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.numberRange(t.red,0,1)&&Ne.numberRange(t.green,0,1)&&Ne.numberRange(t.blue,0,1)&&Ne.numberRange(t.alpha,0,1)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&l.is(t.range)&&d.is(t.color)}}(f||(f={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.string(t.label)&&(Ne.undefined(t.textEdit)||w.is(t))&&(Ne.undefined(t.additionalTextEdits)||Ne.typedArray(t.additionalTextEdits,w.is))}}(p||(p={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(h||(h={})),function(e){e.create=function(e,t,n,r,i,o){const s={startLine:e,endLine:t};return Ne.defined(n)&&(s.startCharacter=n),Ne.defined(r)&&(s.endCharacter=r),Ne.defined(i)&&(s.kind=i),Ne.defined(o)&&(s.collapsedText=o),s},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.uinteger(t.startLine)&&Ne.uinteger(t.startLine)&&(Ne.undefined(t.startCharacter)||Ne.uinteger(t.startCharacter))&&(Ne.undefined(t.endCharacter)||Ne.uinteger(t.endCharacter))&&(Ne.undefined(t.kind)||Ne.string(t.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){let t=e;return Ne.defined(t)&&u.is(t.location)&&Ne.string(t.message)}}(g||(g={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(y||(y={})),function(e){e.Unnecessary=1,e.Deprecated=2}(v||(v={})),function(e){e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.string(t.href)}}(b||(b={})),function(e){e.create=function(e,t,n,r,i,o){let s={range:e,message:t};return Ne.defined(n)&&(s.severity=n),Ne.defined(r)&&(s.code=r),Ne.defined(i)&&(s.source=i),Ne.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t;let n=e;return Ne.defined(n)&&l.is(n.range)&&Ne.string(n.message)&&(Ne.number(n.severity)||Ne.undefined(n.severity))&&(Ne.integer(n.code)||Ne.string(n.code)||Ne.undefined(n.code))&&(Ne.undefined(n.codeDescription)||Ne.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Ne.string(n.source)||Ne.undefined(n.source))&&(Ne.undefined(n.relatedInformation)||Ne.typedArray(n.relatedInformation,g.is))}}(E||(E={})),function(e){e.create=function(e,t,...n){let r={title:e,command:t};return Ne.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.string(t.title)&&Ne.string(t.command)}}(k||(k={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.string(t.newText)&&l.is(t.range)}}(w||(w={})),function(e){e.create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&Ne.string(t.label)&&(Ne.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Ne.string(t.description)||void 0===t.description)}}(x||(x={})),function(e){e.is=function(e){const t=e;return Ne.string(t)}}(_||(_={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){const t=e;return w.is(t)&&(x.is(t.annotationId)||_.is(t.annotationId))}}(S||(S={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){let t=e;return Ne.defined(t)&&L.is(t.textDocument)&&Array.isArray(t.edits)}}(T||(T={})),function(e){e.create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"create"===t.kind&&Ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ne.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||_.is(t.annotationId))}}(C||(C={})),function(e){e.create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){let t=e;return t&&"rename"===t.kind&&Ne.string(t.oldUri)&&Ne.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ne.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||_.is(t.annotationId))}}(N||(N={})),function(e){e.create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"delete"===t.kind&&Ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ne.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ne.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||_.is(t.annotationId))}}(A||(A={})),function(e){e.is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(e=>Ne.string(e.kind)?C.is(e)||N.is(e)||A.is(e):T.is(e)))}}(D||(D={})),function(e){e.create=function(e){return{uri:e}},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.string(t.uri)}}(O||(O={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.string(t.uri)&&Ne.integer(t.version)}}(I||(I={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.string(t.uri)&&(null===t.version||Ne.integer(t.version))}}(L||(L={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.string(t.uri)&&Ne.string(t.languageId)&&Ne.integer(t.version)&&Ne.string(t.text)}}(F||(F={})),function(e){e.PlainText="plaintext",e.Markdown="markdown",e.is=function(t){const n=t;return n===e.PlainText||n===e.Markdown}}(R||(R={})),function(e){e.is=function(e){const t=e;return Ne.objectLiteral(e)&&R.is(t.kind)&&Ne.string(t.value)}}(P||(P={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(M||(M={})),function(e){e.PlainText=1,e.Snippet=2}(j||(j={})),function(e){e.Deprecated=1}(V||(V={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){const t=e;return t&&Ne.string(t.newText)&&l.is(t.insert)&&l.is(t.replace)}}(U||(U={})),function(e){e.asIs=1,e.adjustIndentation=2}(B||(B={})),function(e){e.is=function(e){const t=e;return t&&(Ne.string(t.detail)||void 0===t.detail)&&(Ne.string(t.description)||void 0===t.description)}}($||($={})),function(e){e.create=function(e){return{label:e}}}(q||(q={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(z||(z={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){const t=e;return Ne.string(t)||Ne.objectLiteral(t)&&Ne.string(t.language)&&Ne.string(t.value)}}(H||(H={})),function(e){e.is=function(e){let t=e;return!!t&&Ne.objectLiteral(t)&&(P.is(t.contents)||H.is(t.contents)||Ne.typedArray(t.contents,H.is))&&(void 0===e.range||l.is(e.range))}}(K||(K={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(W||(W={})),function(e){e.create=function(e,t,...n){let r={label:e};return Ne.defined(t)&&(r.documentation=t),Ne.defined(n)?r.parameters=n:r.parameters=[],r}}(Y||(Y={})),function(e){e.Text=1,e.Read=2,e.Write=3}(G||(G={})),function(e){e.create=function(e,t){let n={range:e};return Ne.number(t)&&(n.kind=t),n}}(Q||(Q={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(X||(X={})),function(e){e.Deprecated=1}(Z||(Z={})),function(e){e.create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(J||(J={})),function(e){e.create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}}}(ee||(ee={})),function(e){e.create=function(e,t,n,r,i,o){let s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){let t=e;return t&&Ne.string(t.name)&&Ne.number(t.kind)&&l.is(t.range)&&l.is(t.selectionRange)&&(void 0===t.detail||Ne.string(t.detail))&&(void 0===t.deprecated||Ne.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(te||(te={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(ne||(ne={})),function(e){e.Invoked=1,e.Automatic=2}(re||(re={})),function(e){e.create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.typedArray(t.diagnostics,E.is)&&(void 0===t.only||Ne.typedArray(t.only,Ne.string))&&(void 0===t.triggerKind||t.triggerKind===re.Invoked||t.triggerKind===re.Automatic)}}(ie||(ie={})),function(e){e.create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):k.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){let t=e;return t&&Ne.string(t.title)&&(void 0===t.diagnostics||Ne.typedArray(t.diagnostics,E.is))&&(void 0===t.kind||Ne.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||k.is(t.command))&&(void 0===t.isPreferred||Ne.boolean(t.isPreferred))&&(void 0===t.edit||D.is(t.edit))}}(oe||(oe={})),function(e){e.create=function(e,t){let n={range:e};return Ne.defined(t)&&(n.data=t),n},e.is=function(e){let t=e;return Ne.defined(t)&&l.is(t.range)&&(Ne.undefined(t.command)||k.is(t.command))}}(se||(se={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){let t=e;return Ne.defined(t)&&Ne.uinteger(t.tabSize)&&Ne.boolean(t.insertSpaces)}}(ae||(ae={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){let t=e;return Ne.defined(t)&&l.is(t.range)&&(Ne.undefined(t.target)||Ne.string(t.target))}}(le||(le={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){let n=t;return Ne.objectLiteral(n)&&l.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ue||(ue={})),function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"}(ce||(ce={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(de||(de={})),function(e){e.is=function(e){const t=e;return Ne.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}}(fe||(fe={})),function(e){e.create=function(e,t){return{range:e,text:t}},e.is=function(e){const t=e;return null!=t&&l.is(t.range)&&Ne.string(t.text)}}(pe||(pe={})),function(e){e.create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},e.is=function(e){const t=e;return null!=t&&l.is(t.range)&&Ne.boolean(t.caseSensitiveLookup)&&(Ne.string(t.variableName)||void 0===t.variableName)}}(he||(he={})),function(e){e.create=function(e,t){return{range:e,expression:t}},e.is=function(e){const t=e;return null!=t&&l.is(t.range)&&(Ne.string(t.expression)||void 0===t.expression)}}(me||(me={})),function(e){e.create=function(e,t){return{frameId:e,stoppedLocation:t}},e.is=function(e){const t=e;return Ne.defined(t)&&l.is(e.stoppedLocation)}}(ge||(ge={})),function(e){e.Type=1,e.Parameter=2,e.is=function(e){return 1===e||2===e}}(ye||(ye={})),function(e){e.create=function(e){return{value:e}},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&(void 0===t.tooltip||Ne.string(t.tooltip)||P.is(t.tooltip))&&(void 0===t.location||u.is(t.location))&&(void 0===t.command||k.is(t.command))}}(ve||(ve={})),function(e){e.create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},e.is=function(e){const t=e;return Ne.objectLiteral(t)&&a.is(t.position)&&(Ne.string(t.label)||Ne.typedArray(t.label,ve.is))&&(void 0===t.kind||ye.is(t.kind))&&void 0===t.textEdits||Ne.typedArray(t.textEdits,w.is)&&(void 0===t.tooltip||Ne.string(t.tooltip)||P.is(t.tooltip))&&(void 0===t.paddingLeft||Ne.boolean(t.paddingLeft))&&(void 0===t.paddingRight||Ne.boolean(t.paddingRight))}}(be||(be={})),function(e){e.createSnippet=function(e){return{kind:"snippet",value:e}}}(Ee||(Ee={})),function(e){e.create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}}(ke||(ke={})),function(e){e.create=function(e){return{items:e}}}(we||(we={})),function(e){e.Invoked=0,e.Automatic=1}(xe||(xe={})),function(e){e.create=function(e,t){return{range:e,text:t}}}(_e||(_e={})),function(e){e.create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}}}(Se||(Se={})),function(e){e.is=function(e){const t=e;return Ne.objectLiteral(t)&&i.is(t.uri)&&Ne.string(t.name)}}(Te||(Te={})),function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);let s=0,a=0,l=0;for(;s<i.length&&a<o.length;){let t=n(i[s],o[a]);e[l++]=t<=0?i[s++]:o[a++]}for(;s<i.length;)e[l++]=i[s++];for(;a<o.length;)e[l++]=o[a++];return e}e.create=function(e,t,n,r){return new Ae(e,t,n,r)},e.is=function(e){let t=e;return!!(Ne.defined(t)&&Ne.string(t.uri)&&(Ne.undefined(t.languageId)||Ne.string(t.languageId))&&Ne.uinteger(t.lineCount)&&Ne.func(t.getText)&&Ne.func(t.positionAt)&&Ne.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),i=t(n,(e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),o=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],s=e.offsetAt(n.range.start),a=e.offsetAt(n.range.end);if(!(a<=o))throw new Error("Overlapping edit");r=r.substring(0,s)+n.newText+r.substring(a,r.length),o=s}return r}}(Ce||(Ce={}));class Ae{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return a.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return a.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}}!function(e){const t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(Ne||(Ne={}))},35157:(e,t,n)=>{n.d(t,{H:()=>i});var r=n(48255);function i(e){const t=Object.create(null);return{OperationDefinition(n){const i=n.name;return i&&(t[i.value]?e.reportError(new r.eO(`There can be only one operation named "${i.value}".`,[t[i.value],i])):t[i.value]=i),!1},FragmentDefinition:()=>!1}}},35198:(e,t,n)=>{n.d(t,{N:()=>o});const r=10,i=2;function o(e){return s(e,[])}function s(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:s(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const n=Math.min(r,e.length),o=e.length-n,a=[];for(let r=0;r<n;++r)a.push(s(e[r],t));return 1===o?a.push("... 1 more item"):o>1&&a.push(`... ${o} more items`),"["+a.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map(([e,n])=>e+": "+s(n,t));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},36382:(e,t,n)=>{n.d(t,{x:()=>i});var r=n(63858);function i(e,t){const n=Object.create(null),i=new o(e),s=Math.floor(.4*e.length)+1;for(const e of t){const t=i.measure(e,s);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{const i=n[e]-n[t];return 0!==i?i:(0,r.p)(e,t)})}class o{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=s(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=s(n),i=this._inputArray;if(r.length<i.length){const e=r;r=i,i=e}const o=r.length,a=i.length;if(o-a>t)return;const l=this._rows;for(let e=0;e<=a;e++)l[0][e]=e;for(let e=1;e<=o;e++){const n=l[(e-1)%3],o=l[e%3];let s=o[0]=e;for(let t=1;t<=a;t++){const a=r[e-1]===i[t-1]?0:1;let u=Math.min(n[t]+1,o[t-1]+1,n[t-1]+a);if(e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]){const n=l[(e-2)%3][t-2];u=Math.min(u,n+1)}u<s&&(s=u),o[t]=u}if(s>t)return}const u=l[o%3][a];return u<=t?u:void 0}}function s(e){const t=e.length,n=new Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},36972:(e,t,n)=>{n.d(t,{W:()=>i});var r=n(55833);const i={add:(0,r.k)("add",6e4),plus:(0,r.k)("plus",6e4),gistNew:(0,r.k)("gist-new",6e4),repoCreate:(0,r.k)("repo-create",6e4),lightbulb:(0,r.k)("lightbulb",60001),lightBulb:(0,r.k)("light-bulb",60001),repo:(0,r.k)("repo",60002),repoDelete:(0,r.k)("repo-delete",60002),gistFork:(0,r.k)("gist-fork",60003),repoForked:(0,r.k)("repo-forked",60003),gitPullRequest:(0,r.k)("git-pull-request",60004),gitPullRequestAbandoned:(0,r.k)("git-pull-request-abandoned",60004),recordKeys:(0,r.k)("record-keys",60005),keyboard:(0,r.k)("keyboard",60005),tag:(0,r.k)("tag",60006),gitPullRequestLabel:(0,r.k)("git-pull-request-label",60006),tagAdd:(0,r.k)("tag-add",60006),tagRemove:(0,r.k)("tag-remove",60006),person:(0,r.k)("person",60007),personFollow:(0,r.k)("person-follow",60007),personOutline:(0,r.k)("person-outline",60007),personFilled:(0,r.k)("person-filled",60007),gitBranch:(0,r.k)("git-branch",60008),gitBranchCreate:(0,r.k)("git-branch-create",60008),gitBranchDelete:(0,r.k)("git-branch-delete",60008),sourceControl:(0,r.k)("source-control",60008),mirror:(0,r.k)("mirror",60009),mirrorPublic:(0,r.k)("mirror-public",60009),star:(0,r.k)("star",60010),starAdd:(0,r.k)("star-add",60010),starDelete:(0,r.k)("star-delete",60010),starEmpty:(0,r.k)("star-empty",60010),comment:(0,r.k)("comment",60011),commentAdd:(0,r.k)("comment-add",60011),alert:(0,r.k)("alert",60012),warning:(0,r.k)("warning",60012),search:(0,r.k)("search",60013),searchSave:(0,r.k)("search-save",60013),logOut:(0,r.k)("log-out",60014),signOut:(0,r.k)("sign-out",60014),logIn:(0,r.k)("log-in",60015),signIn:(0,r.k)("sign-in",60015),eye:(0,r.k)("eye",60016),eyeUnwatch:(0,r.k)("eye-unwatch",60016),eyeWatch:(0,r.k)("eye-watch",60016),circleFilled:(0,r.k)("circle-filled",60017),primitiveDot:(0,r.k)("primitive-dot",60017),closeDirty:(0,r.k)("close-dirty",60017),debugBreakpoint:(0,r.k)("debug-breakpoint",60017),debugBreakpointDisabled:(0,r.k)("debug-breakpoint-disabled",60017),debugHint:(0,r.k)("debug-hint",60017),terminalDecorationSuccess:(0,r.k)("terminal-decoration-success",60017),primitiveSquare:(0,r.k)("primitive-square",60018),edit:(0,r.k)("edit",60019),pencil:(0,r.k)("pencil",60019),info:(0,r.k)("info",60020),issueOpened:(0,r.k)("issue-opened",60020),gistPrivate:(0,r.k)("gist-private",60021),gitForkPrivate:(0,r.k)("git-fork-private",60021),lock:(0,r.k)("lock",60021),mirrorPrivate:(0,r.k)("mirror-private",60021),close:(0,r.k)("close",60022),removeClose:(0,r.k)("remove-close",60022),x:(0,r.k)("x",60022),repoSync:(0,r.k)("repo-sync",60023),sync:(0,r.k)("sync",60023),clone:(0,r.k)("clone",60024),desktopDownload:(0,r.k)("desktop-download",60024),beaker:(0,r.k)("beaker",60025),microscope:(0,r.k)("microscope",60025),vm:(0,r.k)("vm",60026),deviceDesktop:(0,r.k)("device-desktop",60026),file:(0,r.k)("file",60027),fileText:(0,r.k)("file-text",60027),more:(0,r.k)("more",60028),ellipsis:(0,r.k)("ellipsis",60028),kebabHorizontal:(0,r.k)("kebab-horizontal",60028),mailReply:(0,r.k)("mail-reply",60029),reply:(0,r.k)("reply",60029),organization:(0,r.k)("organization",60030),organizationFilled:(0,r.k)("organization-filled",60030),organizationOutline:(0,r.k)("organization-outline",60030),newFile:(0,r.k)("new-file",60031),fileAdd:(0,r.k)("file-add",60031),newFolder:(0,r.k)("new-folder",60032),fileDirectoryCreate:(0,r.k)("file-directory-create",60032),trash:(0,r.k)("trash",60033),trashcan:(0,r.k)("trashcan",60033),history:(0,r.k)("history",60034),clock:(0,r.k)("clock",60034),folder:(0,r.k)("folder",60035),fileDirectory:(0,r.k)("file-directory",60035),symbolFolder:(0,r.k)("symbol-folder",60035),logoGithub:(0,r.k)("logo-github",60036),markGithub:(0,r.k)("mark-github",60036),github:(0,r.k)("github",60036),terminal:(0,r.k)("terminal",60037),console:(0,r.k)("console",60037),repl:(0,r.k)("repl",60037),zap:(0,r.k)("zap",60038),symbolEvent:(0,r.k)("symbol-event",60038),error:(0,r.k)("error",60039),stop:(0,r.k)("stop",60039),variable:(0,r.k)("variable",60040),symbolVariable:(0,r.k)("symbol-variable",60040),array:(0,r.k)("array",60042),symbolArray:(0,r.k)("symbol-array",60042),symbolModule:(0,r.k)("symbol-module",60043),symbolPackage:(0,r.k)("symbol-package",60043),symbolNamespace:(0,r.k)("symbol-namespace",60043),symbolObject:(0,r.k)("symbol-object",60043),symbolMethod:(0,r.k)("symbol-method",60044),symbolFunction:(0,r.k)("symbol-function",60044),symbolConstructor:(0,r.k)("symbol-constructor",60044),symbolBoolean:(0,r.k)("symbol-boolean",60047),symbolNull:(0,r.k)("symbol-null",60047),symbolNumeric:(0,r.k)("symbol-numeric",60048),symbolNumber:(0,r.k)("symbol-number",60048),symbolStructure:(0,r.k)("symbol-structure",60049),symbolStruct:(0,r.k)("symbol-struct",60049),symbolParameter:(0,r.k)("symbol-parameter",60050),symbolTypeParameter:(0,r.k)("symbol-type-parameter",60050),symbolKey:(0,r.k)("symbol-key",60051),symbolText:(0,r.k)("symbol-text",60051),symbolReference:(0,r.k)("symbol-reference",60052),goToFile:(0,r.k)("go-to-file",60052),symbolEnum:(0,r.k)("symbol-enum",60053),symbolValue:(0,r.k)("symbol-value",60053),symbolRuler:(0,r.k)("symbol-ruler",60054),symbolUnit:(0,r.k)("symbol-unit",60054),activateBreakpoints:(0,r.k)("activate-breakpoints",60055),archive:(0,r.k)("archive",60056),arrowBoth:(0,r.k)("arrow-both",60057),arrowDown:(0,r.k)("arrow-down",60058),arrowLeft:(0,r.k)("arrow-left",60059),arrowRight:(0,r.k)("arrow-right",60060),arrowSmallDown:(0,r.k)("arrow-small-down",60061),arrowSmallLeft:(0,r.k)("arrow-small-left",60062),arrowSmallRight:(0,r.k)("arrow-small-right",60063),arrowSmallUp:(0,r.k)("arrow-small-up",60064),arrowUp:(0,r.k)("arrow-up",60065),bell:(0,r.k)("bell",60066),bold:(0,r.k)("bold",60067),book:(0,r.k)("book",60068),bookmark:(0,r.k)("bookmark",60069),debugBreakpointConditionalUnverified:(0,r.k)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,r.k)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,r.k)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,r.k)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,r.k)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,r.k)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,r.k)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,r.k)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,r.k)("debug-breakpoint-log-disabled",60075),briefcase:(0,r.k)("briefcase",60076),broadcast:(0,r.k)("broadcast",60077),browser:(0,r.k)("browser",60078),bug:(0,r.k)("bug",60079),calendar:(0,r.k)("calendar",60080),caseSensitive:(0,r.k)("case-sensitive",60081),check:(0,r.k)("check",60082),checklist:(0,r.k)("checklist",60083),chevronDown:(0,r.k)("chevron-down",60084),chevronLeft:(0,r.k)("chevron-left",60085),chevronRight:(0,r.k)("chevron-right",60086),chevronUp:(0,r.k)("chevron-up",60087),chromeClose:(0,r.k)("chrome-close",60088),chromeMaximize:(0,r.k)("chrome-maximize",60089),chromeMinimize:(0,r.k)("chrome-minimize",60090),chromeRestore:(0,r.k)("chrome-restore",60091),circleOutline:(0,r.k)("circle-outline",60092),circle:(0,r.k)("circle",60092),debugBreakpointUnverified:(0,r.k)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,r.k)("terminal-decoration-incomplete",60092),circleSlash:(0,r.k)("circle-slash",60093),circuitBoard:(0,r.k)("circuit-board",60094),clearAll:(0,r.k)("clear-all",60095),clippy:(0,r.k)("clippy",60096),closeAll:(0,r.k)("close-all",60097),cloudDownload:(0,r.k)("cloud-download",60098),cloudUpload:(0,r.k)("cloud-upload",60099),code:(0,r.k)("code",60100),collapseAll:(0,r.k)("collapse-all",60101),colorMode:(0,r.k)("color-mode",60102),commentDiscussion:(0,r.k)("comment-discussion",60103),creditCard:(0,r.k)("credit-card",60105),dash:(0,r.k)("dash",60108),dashboard:(0,r.k)("dashboard",60109),database:(0,r.k)("database",60110),debugContinue:(0,r.k)("debug-continue",60111),debugDisconnect:(0,r.k)("debug-disconnect",60112),debugPause:(0,r.k)("debug-pause",60113),debugRestart:(0,r.k)("debug-restart",60114),debugStart:(0,r.k)("debug-start",60115),debugStepInto:(0,r.k)("debug-step-into",60116),debugStepOut:(0,r.k)("debug-step-out",60117),debugStepOver:(0,r.k)("debug-step-over",60118),debugStop:(0,r.k)("debug-stop",60119),debug:(0,r.k)("debug",60120),deviceCameraVideo:(0,r.k)("device-camera-video",60121),deviceCamera:(0,r.k)("device-camera",60122),deviceMobile:(0,r.k)("device-mobile",60123),diffAdded:(0,r.k)("diff-added",60124),diffIgnored:(0,r.k)("diff-ignored",60125),diffModified:(0,r.k)("diff-modified",60126),diffRemoved:(0,r.k)("diff-removed",60127),diffRenamed:(0,r.k)("diff-renamed",60128),diff:(0,r.k)("diff",60129),diffSidebyside:(0,r.k)("diff-sidebyside",60129),discard:(0,r.k)("discard",60130),editorLayout:(0,r.k)("editor-layout",60131),emptyWindow:(0,r.k)("empty-window",60132),exclude:(0,r.k)("exclude",60133),extensions:(0,r.k)("extensions",60134),eyeClosed:(0,r.k)("eye-closed",60135),fileBinary:(0,r.k)("file-binary",60136),fileCode:(0,r.k)("file-code",60137),fileMedia:(0,r.k)("file-media",60138),filePdf:(0,r.k)("file-pdf",60139),fileSubmodule:(0,r.k)("file-submodule",60140),fileSymlinkDirectory:(0,r.k)("file-symlink-directory",60141),fileSymlinkFile:(0,r.k)("file-symlink-file",60142),fileZip:(0,r.k)("file-zip",60143),files:(0,r.k)("files",60144),filter:(0,r.k)("filter",60145),flame:(0,r.k)("flame",60146),foldDown:(0,r.k)("fold-down",60147),foldUp:(0,r.k)("fold-up",60148),fold:(0,r.k)("fold",60149),folderActive:(0,r.k)("folder-active",60150),folderOpened:(0,r.k)("folder-opened",60151),gear:(0,r.k)("gear",60152),gift:(0,r.k)("gift",60153),gistSecret:(0,r.k)("gist-secret",60154),gist:(0,r.k)("gist",60155),gitCommit:(0,r.k)("git-commit",60156),gitCompare:(0,r.k)("git-compare",60157),compareChanges:(0,r.k)("compare-changes",60157),gitMerge:(0,r.k)("git-merge",60158),githubAction:(0,r.k)("github-action",60159),githubAlt:(0,r.k)("github-alt",60160),globe:(0,r.k)("globe",60161),grabber:(0,r.k)("grabber",60162),graph:(0,r.k)("graph",60163),gripper:(0,r.k)("gripper",60164),heart:(0,r.k)("heart",60165),home:(0,r.k)("home",60166),horizontalRule:(0,r.k)("horizontal-rule",60167),hubot:(0,r.k)("hubot",60168),inbox:(0,r.k)("inbox",60169),issueReopened:(0,r.k)("issue-reopened",60171),issues:(0,r.k)("issues",60172),italic:(0,r.k)("italic",60173),jersey:(0,r.k)("jersey",60174),json:(0,r.k)("json",60175),kebabVertical:(0,r.k)("kebab-vertical",60176),key:(0,r.k)("key",60177),law:(0,r.k)("law",60178),lightbulbAutofix:(0,r.k)("lightbulb-autofix",60179),linkExternal:(0,r.k)("link-external",60180),link:(0,r.k)("link",60181),listOrdered:(0,r.k)("list-ordered",60182),listUnordered:(0,r.k)("list-unordered",60183),liveShare:(0,r.k)("live-share",60184),loading:(0,r.k)("loading",60185),location:(0,r.k)("location",60186),mailRead:(0,r.k)("mail-read",60187),mail:(0,r.k)("mail",60188),markdown:(0,r.k)("markdown",60189),megaphone:(0,r.k)("megaphone",60190),mention:(0,r.k)("mention",60191),milestone:(0,r.k)("milestone",60192),gitPullRequestMilestone:(0,r.k)("git-pull-request-milestone",60192),mortarBoard:(0,r.k)("mortar-board",60193),move:(0,r.k)("move",60194),multipleWindows:(0,r.k)("multiple-windows",60195),mute:(0,r.k)("mute",60196),noNewline:(0,r.k)("no-newline",60197),note:(0,r.k)("note",60198),octoface:(0,r.k)("octoface",60199),openPreview:(0,r.k)("open-preview",60200),package:(0,r.k)("package",60201),paintcan:(0,r.k)("paintcan",60202),pin:(0,r.k)("pin",60203),play:(0,r.k)("play",60204),run:(0,r.k)("run",60204),plug:(0,r.k)("plug",60205),preserveCase:(0,r.k)("preserve-case",60206),preview:(0,r.k)("preview",60207),project:(0,r.k)("project",60208),pulse:(0,r.k)("pulse",60209),question:(0,r.k)("question",60210),quote:(0,r.k)("quote",60211),radioTower:(0,r.k)("radio-tower",60212),reactions:(0,r.k)("reactions",60213),references:(0,r.k)("references",60214),refresh:(0,r.k)("refresh",60215),regex:(0,r.k)("regex",60216),remoteExplorer:(0,r.k)("remote-explorer",60217),remote:(0,r.k)("remote",60218),remove:(0,r.k)("remove",60219),replaceAll:(0,r.k)("replace-all",60220),replace:(0,r.k)("replace",60221),repoClone:(0,r.k)("repo-clone",60222),repoForcePush:(0,r.k)("repo-force-push",60223),repoPull:(0,r.k)("repo-pull",60224),repoPush:(0,r.k)("repo-push",60225),report:(0,r.k)("report",60226),requestChanges:(0,r.k)("request-changes",60227),rocket:(0,r.k)("rocket",60228),rootFolderOpened:(0,r.k)("root-folder-opened",60229),rootFolder:(0,r.k)("root-folder",60230),rss:(0,r.k)("rss",60231),ruby:(0,r.k)("ruby",60232),saveAll:(0,r.k)("save-all",60233),saveAs:(0,r.k)("save-as",60234),save:(0,r.k)("save",60235),screenFull:(0,r.k)("screen-full",60236),screenNormal:(0,r.k)("screen-normal",60237),searchStop:(0,r.k)("search-stop",60238),server:(0,r.k)("server",60240),settingsGear:(0,r.k)("settings-gear",60241),settings:(0,r.k)("settings",60242),shield:(0,r.k)("shield",60243),smiley:(0,r.k)("smiley",60244),sortPrecedence:(0,r.k)("sort-precedence",60245),splitHorizontal:(0,r.k)("split-horizontal",60246),splitVertical:(0,r.k)("split-vertical",60247),squirrel:(0,r.k)("squirrel",60248),starFull:(0,r.k)("star-full",60249),starHalf:(0,r.k)("star-half",60250),symbolClass:(0,r.k)("symbol-class",60251),symbolColor:(0,r.k)("symbol-color",60252),symbolConstant:(0,r.k)("symbol-constant",60253),symbolEnumMember:(0,r.k)("symbol-enum-member",60254),symbolField:(0,r.k)("symbol-field",60255),symbolFile:(0,r.k)("symbol-file",60256),symbolInterface:(0,r.k)("symbol-interface",60257),symbolKeyword:(0,r.k)("symbol-keyword",60258),symbolMisc:(0,r.k)("symbol-misc",60259),symbolOperator:(0,r.k)("symbol-operator",60260),symbolProperty:(0,r.k)("symbol-property",60261),wrench:(0,r.k)("wrench",60261),wrenchSubaction:(0,r.k)("wrench-subaction",60261),symbolSnippet:(0,r.k)("symbol-snippet",60262),tasklist:(0,r.k)("tasklist",60263),telescope:(0,r.k)("telescope",60264),textSize:(0,r.k)("text-size",60265),threeBars:(0,r.k)("three-bars",60266),thumbsdown:(0,r.k)("thumbsdown",60267),thumbsup:(0,r.k)("thumbsup",60268),tools:(0,r.k)("tools",60269),triangleDown:(0,r.k)("triangle-down",60270),triangleLeft:(0,r.k)("triangle-left",60271),triangleRight:(0,r.k)("triangle-right",60272),triangleUp:(0,r.k)("triangle-up",60273),twitter:(0,r.k)("twitter",60274),unfold:(0,r.k)("unfold",60275),unlock:(0,r.k)("unlock",60276),unmute:(0,r.k)("unmute",60277),unverified:(0,r.k)("unverified",60278),verified:(0,r.k)("verified",60279),versions:(0,r.k)("versions",60280),vmActive:(0,r.k)("vm-active",60281),vmOutline:(0,r.k)("vm-outline",60282),vmRunning:(0,r.k)("vm-running",60283),watch:(0,r.k)("watch",60284),whitespace:(0,r.k)("whitespace",60285),wholeWord:(0,r.k)("whole-word",60286),window:(0,r.k)("window",60287),wordWrap:(0,r.k)("word-wrap",60288),zoomIn:(0,r.k)("zoom-in",60289),zoomOut:(0,r.k)("zoom-out",60290),listFilter:(0,r.k)("list-filter",60291),listFlat:(0,r.k)("list-flat",60292),listSelection:(0,r.k)("list-selection",60293),selection:(0,r.k)("selection",60293),listTree:(0,r.k)("list-tree",60294),debugBreakpointFunctionUnverified:(0,r.k)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,r.k)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,r.k)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,r.k)("debug-stackframe-active",60297),circleSmallFilled:(0,r.k)("circle-small-filled",60298),debugStackframeDot:(0,r.k)("debug-stackframe-dot",60298),terminalDecorationMark:(0,r.k)("terminal-decoration-mark",60298),debugStackframe:(0,r.k)("debug-stackframe",60299),debugStackframeFocused:(0,r.k)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,r.k)("debug-breakpoint-unsupported",60300),symbolString:(0,r.k)("symbol-string",60301),debugReverseContinue:(0,r.k)("debug-reverse-continue",60302),debugStepBack:(0,r.k)("debug-step-back",60303),debugRestartFrame:(0,r.k)("debug-restart-frame",60304),debugAlt:(0,r.k)("debug-alt",60305),callIncoming:(0,r.k)("call-incoming",60306),callOutgoing:(0,r.k)("call-outgoing",60307),menu:(0,r.k)("menu",60308),expandAll:(0,r.k)("expand-all",60309),feedback:(0,r.k)("feedback",60310),gitPullRequestReviewer:(0,r.k)("git-pull-request-reviewer",60310),groupByRefType:(0,r.k)("group-by-ref-type",60311),ungroupByRefType:(0,r.k)("ungroup-by-ref-type",60312),account:(0,r.k)("account",60313),gitPullRequestAssignee:(0,r.k)("git-pull-request-assignee",60313),bellDot:(0,r.k)("bell-dot",60314),debugConsole:(0,r.k)("debug-console",60315),library:(0,r.k)("library",60316),output:(0,r.k)("output",60317),runAll:(0,r.k)("run-all",60318),syncIgnored:(0,r.k)("sync-ignored",60319),pinned:(0,r.k)("pinned",60320),githubInverted:(0,r.k)("github-inverted",60321),serverProcess:(0,r.k)("server-process",60322),serverEnvironment:(0,r.k)("server-environment",60323),pass:(0,r.k)("pass",60324),issueClosed:(0,r.k)("issue-closed",60324),stopCircle:(0,r.k)("stop-circle",60325),playCircle:(0,r.k)("play-circle",60326),record:(0,r.k)("record",60327),debugAltSmall:(0,r.k)("debug-alt-small",60328),vmConnect:(0,r.k)("vm-connect",60329),cloud:(0,r.k)("cloud",60330),merge:(0,r.k)("merge",60331),export:(0,r.k)("export",60332),graphLeft:(0,r.k)("graph-left",60333),magnet:(0,r.k)("magnet",60334),notebook:(0,r.k)("notebook",60335),redo:(0,r.k)("redo",60336),checkAll:(0,r.k)("check-all",60337),pinnedDirty:(0,r.k)("pinned-dirty",60338),passFilled:(0,r.k)("pass-filled",60339),circleLargeFilled:(0,r.k)("circle-large-filled",60340),circleLarge:(0,r.k)("circle-large",60341),circleLargeOutline:(0,r.k)("circle-large-outline",60341),combine:(0,r.k)("combine",60342),gather:(0,r.k)("gather",60342),table:(0,r.k)("table",60343),variableGroup:(0,r.k)("variable-group",60344),typeHierarchy:(0,r.k)("type-hierarchy",60345),typeHierarchySub:(0,r.k)("type-hierarchy-sub",60346),typeHierarchySuper:(0,r.k)("type-hierarchy-super",60347),gitPullRequestCreate:(0,r.k)("git-pull-request-create",60348),runAbove:(0,r.k)("run-above",60349),runBelow:(0,r.k)("run-below",60350),notebookTemplate:(0,r.k)("notebook-template",60351),debugRerun:(0,r.k)("debug-rerun",60352),workspaceTrusted:(0,r.k)("workspace-trusted",60353),workspaceUntrusted:(0,r.k)("workspace-untrusted",60354),workspaceUnknown:(0,r.k)("workspace-unknown",60355),terminalCmd:(0,r.k)("terminal-cmd",60356),terminalDebian:(0,r.k)("terminal-debian",60357),terminalLinux:(0,r.k)("terminal-linux",60358),terminalPowershell:(0,r.k)("terminal-powershell",60359),terminalTmux:(0,r.k)("terminal-tmux",60360),terminalUbuntu:(0,r.k)("terminal-ubuntu",60361),terminalBash:(0,r.k)("terminal-bash",60362),arrowSwap:(0,r.k)("arrow-swap",60363),copy:(0,r.k)("copy",60364),personAdd:(0,r.k)("person-add",60365),filterFilled:(0,r.k)("filter-filled",60366),wand:(0,r.k)("wand",60367),debugLineByLine:(0,r.k)("debug-line-by-line",60368),inspect:(0,r.k)("inspect",60369),layers:(0,r.k)("layers",60370),layersDot:(0,r.k)("layers-dot",60371),layersActive:(0,r.k)("layers-active",60372),compass:(0,r.k)("compass",60373),compassDot:(0,r.k)("compass-dot",60374),compassActive:(0,r.k)("compass-active",60375),azure:(0,r.k)("azure",60376),issueDraft:(0,r.k)("issue-draft",60377),gitPullRequestClosed:(0,r.k)("git-pull-request-closed",60378),gitPullRequestDraft:(0,r.k)("git-pull-request-draft",60379),debugAll:(0,r.k)("debug-all",60380),debugCoverage:(0,r.k)("debug-coverage",60381),runErrors:(0,r.k)("run-errors",60382),folderLibrary:(0,r.k)("folder-library",60383),debugContinueSmall:(0,r.k)("debug-continue-small",60384),beakerStop:(0,r.k)("beaker-stop",60385),graphLine:(0,r.k)("graph-line",60386),graphScatter:(0,r.k)("graph-scatter",60387),pieChart:(0,r.k)("pie-chart",60388),bracket:(0,r.k)("bracket",60175),bracketDot:(0,r.k)("bracket-dot",60389),bracketError:(0,r.k)("bracket-error",60390),lockSmall:(0,r.k)("lock-small",60391),azureDevops:(0,r.k)("azure-devops",60392),verifiedFilled:(0,r.k)("verified-filled",60393),newline:(0,r.k)("newline",60394),layout:(0,r.k)("layout",60395),layoutActivitybarLeft:(0,r.k)("layout-activitybar-left",60396),layoutActivitybarRight:(0,r.k)("layout-activitybar-right",60397),layoutPanelLeft:(0,r.k)("layout-panel-left",60398),layoutPanelCenter:(0,r.k)("layout-panel-center",60399),layoutPanelJustify:(0,r.k)("layout-panel-justify",60400),layoutPanelRight:(0,r.k)("layout-panel-right",60401),layoutPanel:(0,r.k)("layout-panel",60402),layoutSidebarLeft:(0,r.k)("layout-sidebar-left",60403),layoutSidebarRight:(0,r.k)("layout-sidebar-right",60404),layoutStatusbar:(0,r.k)("layout-statusbar",60405),layoutMenubar:(0,r.k)("layout-menubar",60406),layoutCentered:(0,r.k)("layout-centered",60407),target:(0,r.k)("target",60408),indent:(0,r.k)("indent",60409),recordSmall:(0,r.k)("record-small",60410),errorSmall:(0,r.k)("error-small",60411),terminalDecorationError:(0,r.k)("terminal-decoration-error",60411),arrowCircleDown:(0,r.k)("arrow-circle-down",60412),arrowCircleLeft:(0,r.k)("arrow-circle-left",60413),arrowCircleRight:(0,r.k)("arrow-circle-right",60414),arrowCircleUp:(0,r.k)("arrow-circle-up",60415),layoutSidebarRightOff:(0,r.k)("layout-sidebar-right-off",60416),layoutPanelOff:(0,r.k)("layout-panel-off",60417),layoutSidebarLeftOff:(0,r.k)("layout-sidebar-left-off",60418),blank:(0,r.k)("blank",60419),heartFilled:(0,r.k)("heart-filled",60420),map:(0,r.k)("map",60421),mapHorizontal:(0,r.k)("map-horizontal",60421),foldHorizontal:(0,r.k)("fold-horizontal",60421),mapFilled:(0,r.k)("map-filled",60422),mapHorizontalFilled:(0,r.k)("map-horizontal-filled",60422),foldHorizontalFilled:(0,r.k)("fold-horizontal-filled",60422),circleSmall:(0,r.k)("circle-small",60423),bellSlash:(0,r.k)("bell-slash",60424),bellSlashDot:(0,r.k)("bell-slash-dot",60425),commentUnresolved:(0,r.k)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,r.k)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,r.k)("git-pull-request-new-changes",60428),searchFuzzy:(0,r.k)("search-fuzzy",60429),commentDraft:(0,r.k)("comment-draft",60430),send:(0,r.k)("send",60431),sparkle:(0,r.k)("sparkle",60432),insert:(0,r.k)("insert",60433),mic:(0,r.k)("mic",60434),thumbsdownFilled:(0,r.k)("thumbsdown-filled",60435),thumbsupFilled:(0,r.k)("thumbsup-filled",60436),coffee:(0,r.k)("coffee",60437),snake:(0,r.k)("snake",60438),game:(0,r.k)("game",60439),vr:(0,r.k)("vr",60440),chip:(0,r.k)("chip",60441),piano:(0,r.k)("piano",60442),music:(0,r.k)("music",60443),micFilled:(0,r.k)("mic-filled",60444),repoFetch:(0,r.k)("repo-fetch",60445),copilot:(0,r.k)("copilot",60446),lightbulbSparkle:(0,r.k)("lightbulb-sparkle",60447),robot:(0,r.k)("robot",60448),sparkleFilled:(0,r.k)("sparkle-filled",60449),diffSingle:(0,r.k)("diff-single",60450),diffMultiple:(0,r.k)("diff-multiple",60451),surroundWith:(0,r.k)("surround-with",60452),share:(0,r.k)("share",60453),gitStash:(0,r.k)("git-stash",60454),gitStashApply:(0,r.k)("git-stash-apply",60455),gitStashPop:(0,r.k)("git-stash-pop",60456),vscode:(0,r.k)("vscode",60457),vscodeInsiders:(0,r.k)("vscode-insiders",60458),codeOss:(0,r.k)("code-oss",60459),runCoverage:(0,r.k)("run-coverage",60460),runAllCoverage:(0,r.k)("run-all-coverage",60461),coverage:(0,r.k)("coverage",60462),githubProject:(0,r.k)("github-project",60463),mapVertical:(0,r.k)("map-vertical",60464),foldVertical:(0,r.k)("fold-vertical",60464),mapVerticalFilled:(0,r.k)("map-vertical-filled",60465),foldVerticalFilled:(0,r.k)("fold-vertical-filled",60465),goToSearch:(0,r.k)("go-to-search",60466),percentage:(0,r.k)("percentage",60467),sortPercentage:(0,r.k)("sort-percentage",60467),attach:(0,r.k)("attach",60468),dialogError:(0,r.k)("dialog-error","error"),dialogWarning:(0,r.k)("dialog-warning","warning"),dialogInfo:(0,r.k)("dialog-info","info"),dialogClose:(0,r.k)("dialog-close","close"),treeItemExpanded:(0,r.k)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,r.k)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,r.k)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,r.k)("tree-filter-clear","close"),treeItemLoading:(0,r.k)("tree-item-loading","loading"),menuSelection:(0,r.k)("menu-selection","check"),menuSubmenu:(0,r.k)("menu-submenu","chevron-right"),menuBarMore:(0,r.k)("menubar-more","more"),scrollbarButtonLeft:(0,r.k)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,r.k)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,r.k)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,r.k)("scrollbar-button-down","triangle-down"),toolBarMore:(0,r.k)("toolbar-more","more"),quickInputBack:(0,r.k)("quick-input-back","arrow-left"),dropDownButton:(0,r.k)("drop-down-button",60084),symbolCustomColor:(0,r.k)("symbol-customcolor",60252),exportIcon:(0,r.k)("export",60332),workspaceUnspecified:(0,r.k)("workspace-unspecified",60355),newLine:(0,r.k)("newline",60394),thumbsDownFilled:(0,r.k)("thumbsdown-filled",60435),thumbsUpFilled:(0,r.k)("thumbsup-filled",60436),gitFetch:(0,r.k)("git-fetch",60445),lightbulbSparkleAutofix:(0,r.k)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,r.k)("debug-breakpoint-pending",60377)}},37066:(e,t,n)=>{n.d(t,{Io:()=>i.Io,JR:()=>o.JR,Jb:()=>o.Jb,W8:()=>r.W8,yX:()=>o.yX}),n(79302);var r=n(620),i=n(2503),o=n(13924)},37970:(e,t,n)=>{n.r(t),n.d(t,{KeyMod:()=>f,createMonacoBaseAPI:()=>p});var r=n(31710),i=n(22573),o=n(58518),s=n(5839),a=n(55818),l=n(81304),u=n(15719),c=n(51753),d=n(69014);class f{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(e,t){return(0,o.m5)(e,t)}}function p(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.Qi,Emitter:i.vl,KeyCode:d.DD,KeyMod:f,Position:a.y,Range:l.Q,Selection:u.L,SelectionDirection:d.SB,MarkerSeverity:d.cj,MarkerTag:d.d_,Uri:s.r,Token:c.ou}}},38489:(e,t,n)=>{n.d(t,{T:()=>s});var r=n(48255),i=n(42455),o=n(3420);function s(e){return{Document(t){for(const n of t.definitions)if(!(0,o._m)(n)){const t=n.kind===i.b.SCHEMA_DEFINITION||n.kind===i.b.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new r.eO(`The ${t} definition is not executable.`,n))}return!1}}}},39201:(e,t,n)=>{n.d(t,{p:()=>i});var r=n(48255);function i(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const i=Object.create(null),o=e.getRecursiveVariableUsages(n);for(const{node:e}of o)i[e.name.value]=!0;for(const o of t){const t=o.variable.name.value;!0!==i[t]&&e.reportError(new r.eO(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,o))}}},VariableDefinition(e){t.push(e)}}}},39537:(e,t,n)=>{n.d(t,{_:()=>a,k:()=>s});var r=n(35198),i=n(93217),o=n(50792);class s{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,i.U)(!1,`Body must be a string. Received: ${(0,r.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,i.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,i.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function a(e){return(0,o.h)(e,s)}},39709:(e,t,n)=>{n.d(t,{K:()=>c});var r=n(35198),i=n(71306),o=n(91070),s=n(23153),a=n(42455),l=n(84143),u=n(73663);function c(e,t){if((0,u.bd)(t)){const n=c(e,t.ofType);return(null==n?void 0:n.kind)===a.b.NULL?null:n}if(null===e)return{kind:a.b.NULL};if(void 0===e)return null;if((0,u.Fs)(t)){const n=t.ofType;if((0,s.A)(e)){const t=[];for(const r of e){const e=c(r,n);null!=e&&t.push(e)}return{kind:a.b.LIST,values:t}}return c(e,n)}if((0,u.qK)(t)){if(!(0,o.Z)(e))return null;const n=[];for(const r of Object.values(t.getFields())){const t=c(e[r.name],r.type);t&&n.push({kind:a.b.OBJECT_FIELD,name:{kind:a.b.NAME,value:r.name},value:t})}return{kind:a.b.OBJECT,fields:n}}if((0,u.zf)(t)){const n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:a.b.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){const e=String(n);return d.test(e)?{kind:a.b.INT,value:e}:{kind:a.b.FLOAT,value:e}}if("string"==typeof n)return(0,u.oF)(t)?{kind:a.b.ENUM,value:n}:t===l.N1&&d.test(n)?{kind:a.b.INT,value:n}:{kind:a.b.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${(0,r.N)(n)}.`)}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(t))}const d=/^-?(?:0|[1-9][0-9]*)$/},40354:(e,t,n)=>{n.d(t,{u:()=>i});var r=n(48255);function i(e){const t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){var o;const s=null!==(o=t.operationTypes)&&void 0!==o?o:[];for(const t of s){const o=t.operation,s=n[o];i[o]?e.reportError(new r.eO(`Type for ${o} already defined in the schema. It cannot be redefined.`,t)):s?e.reportError(new r.eO(`There can be only one ${o} type in schema.`,[s,t])):n[o]=t}return!1}}},40698:(e,t,n)=>{function r(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[n,r]of Object.entries(e))t[n]=r;return t}n.d(t,{z:()=>r})},40825:(e,t,n)=>{n.d(t,{P:()=>l,W:()=>u});var r=n(54833),i=n(36382),o=n(48255),s=n(42455),a=n(67274);function l(e){return{...u(e),Argument(t){const n=e.getArgument(),s=e.getFieldDef(),a=e.getParentType();if(!n&&s&&a){const n=t.name.value,l=s.args.map(e=>e.name),u=(0,i.x)(n,l);e.reportError(new o.eO(`Unknown argument "${n}" on field "${a.name}.${s.name}".`+(0,r.a)(u),t))}}}}function u(e){const t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():a.rc;for(const e of l)t[e.name]=e.args.map(e=>e.name);const u=e.getDocument().definitions;for(const e of u)if(e.kind===s.b.DIRECTIVE_DEFINITION){var c;const n=null!==(c=e.arguments)&&void 0!==c?c:[];t[e.name.value]=n.map(e=>e.name.value)}return{Directive(n){const s=n.name.value,a=t[s];if(n.arguments&&a)for(const t of n.arguments){const n=t.name.value;if(!a.includes(n)){const l=(0,i.x)(n,a);e.reportError(new o.eO(`Unknown argument "${n}" on directive "@${s}".`+(0,r.a)(l),t))}}return!1}}}},41675:(e,t,n)=>{n.r(t),n.d(t,{BREAK:()=>se.sP,BreakingChangeType:()=>mt,DEFAULT_DEPRECATION_REASON:()=>w.Il,DangerousChangeType:()=>gt,DirectiveLocation:()=>ae.H,ExecutableDefinitionsRule:()=>me.T,FieldsOnCorrectTypeRule:()=>ge.Z,FragmentsOnCompositeTypesRule:()=>ye.T,GRAPHQL_MAX_INT:()=>Z.BW,GRAPHQL_MIN_INT:()=>Z.nM,GraphQLBoolean:()=>Z.kk,GraphQLDeferDirective:()=>w.BR,GraphQLDeprecatedDirective:()=>w.yK,GraphQLDirective:()=>w.RR,GraphQLEnumType:()=>x.Zb,GraphQLError:()=>g.eO,GraphQLFloat:()=>Z.qS,GraphQLID:()=>Z.N1,GraphQLIncludeDirective:()=>w.HQ,GraphQLInputObjectType:()=>x.zP,GraphQLInt:()=>Z.Fh,GraphQLInterfaceType:()=>x.VA,GraphQLList:()=>x.KT,GraphQLNonNull:()=>x.Gc,GraphQLObjectType:()=>x.bh,GraphQLScalarType:()=>x.Ag,GraphQLSchema:()=>X.V4,GraphQLSkipDirective:()=>w.MQ,GraphQLSpecifiedByDirective:()=>w.gw,GraphQLStreamDirective:()=>w.nK,GraphQLString:()=>Z.FV,GraphQLUnionType:()=>x.hI,Kind:()=>E.b,KnownArgumentNamesRule:()=>ve.P,KnownDirectivesRule:()=>be.e,KnownFragmentNamesRule:()=>Ee.K,KnownTypeNamesRule:()=>ke.y,Lexer:()=>re.J,Location:()=>b.aZ,LoneAnonymousOperationRule:()=>we.P,LoneSchemaDefinitionRule:()=>Be.l,NoDeprecatedCustomRule:()=>de,NoFragmentCyclesRule:()=>xe.n,NoSchemaIntrospectionCustomRule:()=>fe,NoUndefinedVariablesRule:()=>_e.Z,NoUnusedFragmentsRule:()=>Se.z,NoUnusedVariablesRule:()=>Te.p,OperationTypeNode:()=>b.cE,OverlappingFieldsCanBeMergedRule:()=>Ce.K,PossibleFragmentSpreadsRule:()=>Ne.y,PossibleTypeExtensionsRule:()=>Ye.S,ProvidedRequiredArgumentsRule:()=>Ae.X,ScalarLeafsRule:()=>De.A,SchemaMetaFieldDef:()=>k.S0,SingleFieldSubscriptionsRule:()=>Oe.R,Source:()=>ee.k,Token:()=>b.ou,TokenKind:()=>ie.Y,TypeInfo:()=>Bt.D,TypeKind:()=>k.fY,TypeMetaFieldDef:()=>k.Xe,TypeNameMetaFieldDef:()=>k.of,UniqueArgumentDefinitionNamesRule:()=>Ke.E,UniqueArgumentNamesRule:()=>Ie.J,UniqueDirectiveNamesRule:()=>We.Z,UniqueDirectivesPerLocationRule:()=>Le.U,UniqueEnumValueNamesRule:()=>ze.g,UniqueFieldDefinitionNamesRule:()=>He.X,UniqueFragmentNamesRule:()=>Fe.K,UniqueInputFieldNamesRule:()=>Re.C,UniqueOperationNamesRule:()=>Pe.H,UniqueOperationTypesRule:()=>$e.u,UniqueTypeNamesRule:()=>qe.i,UniqueVariableNamesRule:()=>Me._,ValidationContext:()=>pe.dY,ValuesOfCorrectTypeRule:()=>je.U,VariablesAreInputTypesRule:()=>Ve.J,VariablesInAllowedPositionRule:()=>Ue.E,__Directive:()=>k.sv,__DirectiveLocation:()=>k.$4,__EnumValue:()=>k.B1,__Field:()=>k.z9,__InputValue:()=>k.Ym,__Schema:()=>k.em,__Type:()=>k.P8,__TypeKind:()=>k.B0,assertAbstractType:()=>x.N_,assertCompositeType:()=>x.Ye,assertDirective:()=>w.yq,assertEnumType:()=>x.el,assertEnumValueName:()=>J.A,assertInputObjectType:()=>x.Yq,assertInputType:()=>x.L9,assertInterfaceType:()=>x.qL,assertLeafType:()=>x.D0,assertListType:()=>x.dL,assertName:()=>J.I,assertNamedType:()=>x.sF,assertNonNullType:()=>x.ZX,assertNullableType:()=>x.wG,assertObjectType:()=>x.qC,assertOutputType:()=>x.yh,assertScalarType:()=>x.Zx,assertSchema:()=>X.GU,assertType:()=>x.j,assertUnionType:()=>x.EG,assertValidName:()=>dt,assertValidSchema:()=>c.Y,assertWrappingType:()=>x.B3,astFromValue:()=>ht.K,buildASTSchema:()=>Rt.o,buildClientSchema:()=>Ft.D,buildSchema:()=>Rt.I,coerceInputValue:()=>$t.v,concatAST:()=>ot,createSourceEventStream:()=>ce,defaultFieldResolver:()=>q,defaultTypeResolver:()=>$,doTypesOverlap:()=>qt.uI,execute:()=>C,executeSync:()=>N,extendSchema:()=>Pt.i,findBreakingChanges:()=>yt,findDangerousChanges:()=>vt,formatError:()=>g.Wk,getDirectiveValues:()=>_.YY,getEnterLeaveForKind:()=>se.XO,getIntrospectionQuery:()=>Xe.I,getLocation:()=>te.g,getNamedType:()=>x.MR,getNullableType:()=>x.yl,getOperationAST:()=>Lt.A,getOperationRootType:()=>Qe,getVisitFn:()=>se.UY,graphql:()=>Y,graphqlSync:()=>G,introspectionFromSchema:()=>Ze,introspectionTypes:()=>k.V4,isAbstractType:()=>x.Lc,isCompositeType:()=>x.ML,isConstValueNode:()=>le.TZ,isDefinitionNode:()=>le.MD,isDirective:()=>w.qT,isEnumType:()=>x.oF,isEqualType:()=>qt.n8,isExecutableDefinitionNode:()=>le._m,isInputObjectType:()=>x.qK,isInputType:()=>x.dX,isInterfaceType:()=>x.kD,isIntrospectionType:()=>k.Yh,isLeafType:()=>x.zf,isListType:()=>x.Fs,isNamedType:()=>x.sy,isNonNullType:()=>x.bd,isNullableType:()=>x.wj,isObjectType:()=>x.YQ,isOutputType:()=>x.oH,isRequiredArgument:()=>x.xP,isRequiredInputField:()=>x.YX,isScalarType:()=>x.lg,isSchema:()=>X.Wl,isSelectionNode:()=>le.VK,isSpecifiedDirective:()=>w.Qe,isSpecifiedScalarType:()=>Z.PZ,isType:()=>x.Xj,isTypeDefinitionNode:()=>le.a6,isTypeExtensionNode:()=>le.i7,isTypeNode:()=>le.dI,isTypeSubTypeOf:()=>qt.sP,isTypeSystemDefinitionNode:()=>le.xu,isTypeSystemExtensionNode:()=>le.fT,isUnionType:()=>x.CK,isValidNameError:()=>ft,isValueNode:()=>le.aR,isWrappingType:()=>x.lS,lexicographicSortSchema:()=>tt,locatedError:()=>v,parse:()=>l.qg,parseConstValue:()=>l.u8,parseType:()=>l.Mb,parseValue:()=>l.$x,print:()=>oe.y,printError:()=>g.yJ,printIntrospectionSchema:()=>Mt.w$,printLocation:()=>ne.V,printSchema:()=>Mt.rK,printSourceLocation:()=>ne.C,printType:()=>Mt.OC,responsePathAsArray:()=>h.A,separateOperations:()=>st,specifiedDirectives:()=>w.rc,specifiedRules:()=>he.g,specifiedScalarTypes:()=>Z.YC,stripIgnoredCharacters:()=>ct,subscribe:()=>ue,syntaxError:()=>Ge.I,typeFromAST:()=>jt.v,validate:()=>u.tf,validateSchema:()=>c.i,valueFromAST:()=>Vt.i,valueFromASTUntyped:()=>Ut.F,version:()=>r,versionInfo:()=>i,visit:()=>se.YR,visitInParallel:()=>se.oP,visitWithTypeInfo:()=>Bt.S});const r="16.1.0-experimental-stream-defer.6",i=Object.freeze({major:16,minor:1,patch:0,preReleaseTag:"experimental-stream-defer.6"});var o=n(93217);function s(e){return"function"==typeof(null==e?void 0:e.then)}function a(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}var l=n(98195),u=n(8553),c=n(47626),d=n(35198),f=n(71306),p=n(91070),h=n(77407),m=n(23153),g=n(48255);class y extends Error{constructor(e){super("Unexpected error value: "+(0,d.N)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function v(e,t,n){var r;const i=(o=e)instanceof Error?o:new y(o);var o;return function(e){return Array.isArray(e.path)}(i)?i:new g.eO(i.message,null!==(r=i.nodes)&&void 0!==r?r:t,i.source,i.positions,n,i)}var b=n(59762),E=n(42455),k=n(28957),w=n(67274),x=n(73663),_=n(9390),S=n(85261);const T=function(){let e;return function(t,n,r){void 0===e&&(e=new WeakMap);let i=e.get(t);void 0===i&&(i=new WeakMap,e.set(t,i));let o=i.get(n);void 0===o&&(o=new WeakMap,i.set(n,o));let s=o.get(r);return void 0===s&&(a=t,l=n,u=r,s=(0,S.S)(a.schema,a.fragments,a.variableValues,l,u),o.set(r,s)),s;var a,l,u}}();function C(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:n,variableValues:r,rootValue:i}=e;D(t,n,r);const a=O(e);if(!("schema"in a))return{errors:a};try{const{operation:e}=a,t=function(e,t,n){const r=e.schema.getRootType(t.operation);if(null==r)throw new g.eO(`Schema is not configured to execute ${t.operation} operation.`,t);const{fields:i,patches:o}=(0,S._)(e.schema,e.fragments,e.variableValues,r,t.selectionSet),a=void 0;let l;switch(t.operation){case b.cE.QUERY:l=I(e,r,n,a,i);break;case b.cE.MUTATION:l=function(e,t,n,r,i){return function(e,t){let n=Object.create(null);for(const r of e)n=s(n)?n.then(e=>t(e,r)):t(n,r);return n}(i.entries(),(i,[o,a])=>{const l=(0,h.f)(r,o,t.name),u=L(e,t,n,a,l);return void 0===u?i:s(u)?u.then(e=>(i[o]=e,i)):(i[o]=u,i)})}(e,r,n,a,i);break;case b.cE.SUBSCRIPTION:l=I(e,r,n,a,i)}for(const t of o){const{label:i,fields:o}=t;e.dispatcher.addFields(e,r,n,o,i,a)}return l}(a,e,i);if(s(t))return t.then(e=>{const t=A(e,a.errors);return a.dispatcher.hasSubsequentPayloads()?a.dispatcher.get(t):t},e=>(a.errors.push(e),A(null,a.errors)));const n=A(t,a.errors);return a.dispatcher.hasSubsequentPayloads()?a.dispatcher.get(n):n}catch(e){return a.errors.push(e),A(null,a.errors)}}function N(e){const t=C(e);if(s(t)||a(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function A(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function D(e,t,n){t||(0,o.U)(!1,"Must provide document."),(0,c.Y)(e),null==n||(0,p.Z)(n)||(0,o.U)(!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 O(e){var t,n;const{schema:r,document:i,rootValue:o,contextValue:s,variableValues:a,operationName:l,fieldResolver:u,typeResolver:c,subscribeFieldResolver:d}=e;let f;const p=Object.create(null);for(const e of i.definitions)switch(e.kind){case E.b.OPERATION_DEFINITION:if(null==l){if(void 0!==f)return[new g.eO("Must provide operation name if query contains multiple operations.")];f=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===l&&(f=e);break;case E.b.FRAGMENT_DEFINITION:p[e.name.value]=e}if(!f)return null!=l?[new g.eO(`Unknown operation named "${l}".`)]:[new g.eO("Must provide an operation.")];const h=null!==(n=f.variableDefinitions)&&void 0!==n?n:[],m=(0,_.VE)(r,h,null!=a?a:{},{maxErrors:50});return m.errors?m.errors:{schema:r,fragments:p,rootValue:o,contextValue:s,operation:f,variableValues:m.coerced,fieldResolver:null!=u?u:q,typeResolver:null!=c?c:$,subscribeFieldResolver:null!=d?d:q,dispatcher:new H,errors:[]}}function I(e,t,n,r,i,o){const a=Object.create(null);let l=!1;for(const[u,c]of i.entries()){const i=L(e,t,n,c,(0,h.f)(r,u,t.name),o);void 0!==i&&(a[u]=i,s(i)&&(l=!0))}return l?(u=a,Promise.all(Object.values(u)).then(e=>{const t=Object.create(null);for(const[n,r]of Object.keys(u).entries())t[r]=e[n];return t})):a;var u}function L(e,t,n,r,i,o){var a,l;const u=null!==(a=null==o?void 0:o.errors)&&void 0!==a?a:e.errors,c=z(e.schema,t,r[0]);if(!c)return;const d=c.type,f=null!==(l=c.resolve)&&void 0!==l?l:e.fieldResolver,p=F(e,c,r,t,i);try{const t=f(n,(0,_.IA)(c,r[0],e.variableValues),e.contextValue,p);let a;return a=s(t)?t.then(t=>P(e,d,r,p,i,t,o)):P(e,d,r,p,i,t,o),s(a)?a.then(void 0,e=>R(v(e,r,(0,h.A)(i)),d,u)):a}catch(e){return R(v(e,r,(0,h.A)(i)),d,u)}}function F(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 R(e,t,n){if((0,x.bd)(t))throw e;return n.push(e),null}function P(e,t,n,r,i,o,l){if(o instanceof Error)throw o;if((0,x.bd)(t)){const s=P(e,t.ofType,n,r,i,o,l);if(null===s)throw new Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return s}return null==o?null:(0,x.Fs)(t)?function(e,t,n,r,i,o,l){var u;const c=t.ofType,d=null!==(u=null==l?void 0:l.errors)&&void 0!==u?u:e.errors;if(a(o)){const t=o[Symbol.asyncIterator]();return function(e,t,n,r,i,o,a){var l;let u=!1;const c=null!==(l=null==a?void 0:a.errors)&&void 0!==l?l:e.errors,d=M(e,n);return new Promise((l,f)=>{!function p(m,g){if(d&&"number"==typeof d.initialCount&&m>=d.initialCount)return e.dispatcher.addAsyncIteratorValue(m,o,e,n,r,t,i,d.label,a),void l(g);const y=(0,h.f)(i,m,void 0);o.next().then(({value:i,done:o})=>{if(o)l(g);else{try{const o=P(e,t,n,r,y,i,a);s(o)&&(u=!0),g.push(o)}catch(e){g.push(null),R(v(e,n,(0,h.A)(y)),t,c),l(g)}p(m+1,g)}},e=>{g.push(null),R(v(e,n,(0,h.A)(y)),t,c),l(g)}).then(null,e=>{f(e)})}(0,[])}).then(e=>u?Promise.all(e):e)}(e,c,n,r,i,t,l)}if(!(0,m.A)(o))throw new g.eO(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);const f=M(e,n);let p=!1,y=l;const b=[];let E=0;for(const t of o){const o=(0,h.f)(i,E,void 0);try{let i;if(f&&"number"==typeof f.initialCount&&E>=f.initialCount){y=e.dispatcher.addValue(o,t,e,n,r,c,f.label,y),E++;continue}i=s(t)?t.then(t=>P(e,c,n,r,o,t,l)):P(e,c,n,r,o,t,l),s(i)?(p=!0,b.push(i.then(void 0,e=>R(v(e,n,(0,h.A)(o)),c,d)))):b.push(i)}catch(e){const t=v(e,n,(0,h.A)(o));b.push(R(t,c,d))}E++}return p?Promise.all(b):b}(e,t,n,r,i,o,l):(0,x.zf)(t)?function(e,t){const n=e.serialize(t);if(null==n)throw new Error(`Expected \`${(0,d.N)(e)}.serialize(${(0,d.N)(t)})\` to return non-nullable value, returned: ${(0,d.N)(n)}`);return n}(t,o):(0,x.Lc)(t)?function(e,t,n,r,i,o,a){var l;const u=null!==(l=t.resolveType)&&void 0!==l?l:e.typeResolver,c=e.contextValue,d=u(o,c,r,t);return s(d)?d.then(s=>V(e,j(s,e,t,n,r,o),n,r,i,o,a)):V(e,j(d,e,t,n,r,o),n,r,i,o,a)}(e,t,n,r,i,o,l):(0,x.YQ)(t)?V(e,t,n,r,i,o,l):void(0,f.V)(!1,"Cannot complete value of unexpected output type: "+(0,d.N)(t))}function M(e,t){if(!0!==e.schema._enableDeferStream)return;const n=(0,_.YY)(w.nK,t[0],e.variableValues);return n&&!1!==n.if?("number"==typeof n.initialCount||(0,f.V)(!1,"initialCount must be a number"),n.initialCount>=0||(0,f.V)(!1,"initialCount must be a positive integer"),{initialCount:n.initialCount,label:"string"==typeof n.label?n.label:void 0}):void 0}function j(e,t,n,r,i,o){if(null==e)throw new g.eO(`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((0,x.YQ)(e))throw new g.eO("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!=typeof e)throw new g.eO(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,d.N)(o)}, received "${(0,d.N)(e)}".`);const s=t.schema.getType(e);if(null==s)throw new g.eO(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,r);if(!(0,x.YQ)(s))throw new g.eO(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,r);if(!t.schema.isSubType(n,s))throw new g.eO(`Runtime Object type "${s.name}" is not a possible type for "${n.name}".`,r);return s}function V(e,t,n,r,i,o,a){if(t.isTypeOf){const l=t.isTypeOf(o,e.contextValue,r);if(s(l))return l.then(r=>{if(!r)throw U(t,o,n);return B(e,t,n,i,o,a)});if(!l)throw U(t,o,n)}return B(e,t,n,i,o,a)}function U(e,t,n){return new g.eO(`Expected value of type "${e.name}" but got: ${(0,d.N)(t)}.`,n)}function B(e,t,n,r,i,o){const{fields:s,patches:a}=T(e,t,n),l=I(e,t,i,r,s,o);for(const n of a){const{label:s,fields:a}=n;e.dispatcher.addFields(e,t,i,a,s,r,o)}return l}const $=function(e,t,n,r){if((0,p.Z)(e)&&"string"==typeof e.__typename)return e.__typename;const i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){const a=i[r];if(a.isTypeOf){const i=a.isTypeOf(e,t,n);if(s(i))o[r]=i;else if(i)return a.name}}return o.length?Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name}):void 0},q=function(e,t,n,r){if((0,p.Z)(e)||"function"==typeof e){const i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function z(e,t,n){const r=n.name.value;return r===k.S0.name&&e.getQueryType()===t?k.S0:r===k.Xe.name&&e.getQueryType()===t?k.Xe:r===k.of.name?k.of:t.getFields()[r]}class H{constructor(){this._subsequentPayloads=[],this._iterators=[],this._isDone=!1,this._hasReturnedInitialResult=!1}hasSubsequentPayloads(){return 0!==this._subsequentPayloads.length}addFields(e,t,n,r,i,o,s){const a=new K({label:i,path:o});let l;try{l=I(e,t,n,o,r,a)}catch(e){a.errors.push(e),l=null}const u=Promise.resolve(l).then(e=>null!=s&&s.dataPromise?s.dataPromise.then(()=>e):e).then(e=>({value:W(e,a),done:!1}),e=>(a.errors.push(e),{value:W(null,a),done:!1}));return a.addDataPromise(u),this._subsequentPayloads.push(u),a}addValue(e,t,n,r,i,o,s,a){const l=new K({label:s,path:e}),u=Promise.resolve(t).then(t=>P(n,o,r,i,e,t,l)).then(void 0,t=>R(v(t,r,(0,h.A)(e)),o,l.errors)).then(e=>null!=a&&a.dataPromise?a.dataPromise.then(()=>e):e).then(e=>({value:W(e,l),done:!1}),e=>(l.errors.push(e),{value:W(null,l),done:!1}));return l.addDataPromise(u),this._subsequentPayloads.push(u),l}addAsyncIteratorValue(e,t,n,r,i,o,a,l,u){const c=this._subsequentPayloads,d=this._iterators;d.push(t),function e(f){const p=(0,h.f)(a,f,void 0),m=new K({label:l,path:p}),g=t.next().then(({value:a,done:l})=>{if(l)return d.splice(d.indexOf(t),1),{value:void 0,done:!0};try{const t=P(n,o,r,i,p,a,m);return s(t)?t.then(t=>(e(f+1),{value:W(t,m),done:!1})):(e(f+1),{value:W(t,m),done:!1})}catch(t){return R(v(t,r,(0,h.A)(p)),o,m.errors),e(f+1),{value:W(null,m),done:!1}}},e=>(R(v(e,r,(0,h.A)(p)),o,m.errors),{value:W(null,m),done:!1})).then(e=>null!=u&&u.dataPromise?u.dataPromise.then(()=>e):e).then(null,e=>(m.errors.push(e),{value:W(null,m),done:!1}));m.addDataPromise(g),c.push(g)}(e)}_race(){return 0===this._subsequentPayloads.length||this._isDone?Promise.resolve({value:{hasNext:!1},done:!1}):new Promise(e=>{let t=!1;this._subsequentPayloads.forEach(n=>{n.then(r=>{if(t)return;if(t=!0,0===this._subsequentPayloads.length)return void e({value:void 0,done:!0});const i=this._subsequentPayloads.indexOf(n);if(-1===i)return void e(this._race());this._subsequentPayloads.splice(i,1);const{value:o,done:s}=r;if(s)return void e(this._race());const a={...o,hasNext:this._subsequentPayloads.length>0};e({value:a,done:!1})})})})}_next(){return this._hasReturnedInitialResult?0===this._subsequentPayloads.length?Promise.resolve({value:void 0,done:!0}):this._race():(this._hasReturnedInitialResult=!0,Promise.resolve({value:{...this._initialResult,hasNext:!0},done:!1}))}async _return(){return await Promise.all(this._iterators.map(e=>{var t;return null===(t=e.return)||void 0===t?void 0:t.call(e)})),this._isDone=!0,{value:void 0,done:!0}}async _throw(e){return await Promise.all(this._iterators.map(e=>{var t;return null===(t=e.return)||void 0===t?void 0:t.call(e)})),this._isDone=!0,Promise.reject(e)}get(e){return this._initialResult=e,{[Symbol.asyncIterator](){return this},next:()=>this._next(),return:()=>this._return(),throw:e=>this._throw(e)}}}class K{constructor(e){this.label=e.label,this.path=e.path,this.errors=[]}addDataPromise(e){this.dataPromise=e}}function W(e,t){const{path:n,label:r,errors:i}=t,o={data:e,path:n?(0,h.A)(n):[]};return null!=r&&(o.label=r),i&&i.length>0&&(o.errors=i),o}function Y(e){return new Promise(t=>t(Q(e)))}function G(e){const t=Q(e);if(s(t)||a(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function Q(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:n,rootValue:r,contextValue:i,variableValues:s,operationName:a,fieldResolver:d,typeResolver:f}=e,p=(0,c.i)(t);if(p.length>0)return{errors:p};let h;try{h=(0,l.qg)(n)}catch(e){return{errors:[e]}}const m=(0,u.tf)(t,h);return m.length>0?{errors:m}:C({schema:t,document:h,rootValue:r,contextValue:i,variableValues:s,operationName:a,fieldResolver:d,typeResolver:f})}var X=n(25329),Z=n(84143),J=n(20567),ee=n(39537),te=n(73971),ne=n(8238),re=n(98472),ie=n(12039),oe=n(9554),se=n(90424),ae=n(42868),le=n(3420);async function ue(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:n,rootValue:r,contextValue:i,variableValues:s,operationName:l,fieldResolver:u,subscribeFieldResolver:c}=e,d=await ce(t,n,r,i,s,l,c);return a(d)?function(e){const t=e[Symbol.asyncIterator].call(e);let n=[t];return{next:async function e(){const t=n[0];if(!t)return{value:void 0,done:!0};const r=await t.next();if(r.done)return n.shift(),e();if(a(r.value)){const t=r.value[Symbol.asyncIterator]();return n.unshift(t),e()}return r},return:()=>(n=[],t.return()),throw:e=>(n=[],t.throw(e)),[Symbol.asyncIterator](){return this}}}(function(e){const r=e[Symbol.asyncIterator]();async function o(e){if(e.done)return e;try{return{value:await(o=e.value,C({schema:t,document:n,rootValue:o,contextValue:i,variableValues:s,operationName:l,fieldResolver:u})),done:!1}}catch(e){if("function"==typeof r.return)try{await r.return()}catch(e){}throw e}var o}return{next:async()=>o(await r.next()),return:async()=>"function"==typeof r.return?o(await r.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof r.throw)return o(await r.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(d)):d}async function ce(e,t,n,r,i,o,s){D(e,t,i);const l=O({schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,subscribeFieldResolver:s});if(!("schema"in l))return{errors:l};try{const e=await async function(e){const{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,s=t.getSubscriptionType();if(null==s)throw new g.eO("Schema is not configured to execute subscription operation.",r);const{fields:a}=(0,S._)(t,n,i,s,r.selectionSet),[l,u]=[...a.entries()][0],c=z(t,s,u[0]);if(!c){const e=u[0].name.value;throw new g.eO(`The subscription field "${e}" is not defined.`,u)}const d=(0,h.f)(void 0,l,s.name),f=F(e,c,u,s,d);try{var p;const t=(0,_.IA)(c,u[0],i),n=e.contextValue,r=null!==(p=c.subscribe)&&void 0!==p?p:e.subscribeFieldResolver,s=await r(o,t,n,f);if(s instanceof Error)throw s;return s}catch(e){throw v(e,u,(0,h.A)(d))}}(l);if(!a(e))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,d.N)(e)}.`);return e}catch(e){if(e instanceof g.eO)return{errors:[e]};throw e}}function de(e){return{Field(t){const n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){const i=e.getParentType();null!=i||(0,f.V)(!1),e.reportError(new g.eO(`The field ${i.name}.${n.name} is deprecated. ${r}`,t))}},Argument(t){const n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){const i=e.getDirective();if(null!=i)e.reportError(new g.eO(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,t));else{const i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,f.V)(!1),e.reportError(new g.eO(`Field "${i.name}.${o.name}" argument "${n.name}" is deprecated. ${r}`,t))}}},ObjectField(t){const n=(0,x.MR)(e.getParentInputType());if((0,x.qK)(n)){const r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new g.eO(`The input field ${n.name}.${r.name} is deprecated. ${i}`,t))}},EnumValue(t){const n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){const i=(0,x.MR)(e.getInputType());null!=i||(0,f.V)(!1),e.reportError(new g.eO(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,t))}}}}function fe(e){return{Field(t){const n=(0,x.MR)(e.getType());n&&(0,k.Yh)(n)&&e.reportError(new g.eO(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,t))}}}var pe=n(81875),he=n(24556),me=n(38489),ge=n(5449),ye=n(49911),ve=n(40825),be=n(6868),Ee=n(8898),ke=n(24466),we=n(84719),xe=n(42833),_e=n(72027),Se=n(91981),Te=n(39201),Ce=n(25106),Ne=n(58644),Ae=n(67565),De=n(70048),Oe=n(10099),Ie=n(12475),Le=n(26886),Fe=n(45536),Re=n(80656),Pe=n(35157),Me=n(12584),je=n(51838),Ve=n(99461),Ue=n(68022),Be=n(55343),$e=n(40354),qe=n(27368),ze=n(92954),He=n(73537),Ke=n(94410),We=n(77065),Ye=n(85966),Ge=n(59841);function Qe(e,t){if("query"===t.operation){const n=e.getQueryType();if(!n)throw new g.eO("Schema does not define the required query root type.",t);return n}if("mutation"===t.operation){const n=e.getMutationType();if(!n)throw new g.eO("Schema is not configured for mutations.",t);return n}if("subscription"===t.operation){const n=e.getSubscriptionType();if(!n)throw new g.eO("Schema is not configured for subscriptions.",t);return n}throw new g.eO("Can only have query, mutation and subscription operations.",t)}var Xe=n(58881);function Ze(e,t){const n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},r=N({schema:e,document:(0,l.qg)((0,Xe.I)(n))});return!r.errors&&r.data||(0,f.V)(!1),r.data}var Je=n(96394),et=n(63858);function tt(e){const t=e.toConfig(),n=(0,Je.L)(rt(t.types),e=>e.name,function(e){if((0,x.lg)(e)||(0,k.Yh)(e))return e;if((0,x.YQ)(e)){const t=e.toConfig();return new x.bh({...t,interfaces:()=>l(t.interfaces),fields:()=>a(t.fields)})}if((0,x.kD)(e)){const t=e.toConfig();return new x.VA({...t,interfaces:()=>l(t.interfaces),fields:()=>a(t.fields)})}if((0,x.CK)(e)){const t=e.toConfig();return new x.hI({...t,types:()=>l(t.types)})}if((0,x.oF)(e)){const t=e.toConfig();return new x.Zb({...t,values:nt(t.values,e=>e)})}if((0,x.qK)(e)){const t=e.toConfig();return new x.zP({...t,fields:()=>nt(t.fields,e=>({...e,type:r(e.type)}))})}(0,f.V)(!1,"Unexpected type: "+(0,d.N)(e))});return new X.V4({...t,types:Object.values(n),directives:rt(t.directives).map(function(e){const t=e.toConfig();return new w.RR({...t,locations:it(t.locations,e=>e),args:s(t.args)})}),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)});function r(e){return(0,x.Fs)(e)?new x.KT(r(e.ofType)):(0,x.bd)(e)?new x.Gc(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function s(e){return nt(e,e=>({...e,type:r(e.type)}))}function a(e){return nt(e,e=>({...e,type:r(e.type),args:e.args&&s(e.args)}))}function l(e){return rt(e).map(i)}}function nt(e,t){const n=Object.create(null);for(const r of Object.keys(e).sort(et.p))n[r]=t(e[r]);return n}function rt(e){return it(e,e=>e.name)}function it(e,t){return e.slice().sort((e,n)=>{const r=t(e),i=t(n);return(0,et.p)(r,i)})}function ot(e){const t=[];for(const n of e)t.push(...n.definitions);return{kind:E.b.DOCUMENT,definitions:t}}function st(e){const t=[],n=Object.create(null);for(const r of e.definitions)switch(r.kind){case E.b.OPERATION_DEFINITION:t.push(r);break;case E.b.FRAGMENT_DEFINITION:n[r.name.value]=lt(r.selectionSet)}const r=Object.create(null);for(const i of t){const t=new Set;for(const e of lt(i.selectionSet))at(t,n,e);r[i.name?i.name.value:""]={kind:E.b.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===E.b.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function at(e,t,n){if(!e.has(n)){e.add(n);const r=t[n];if(void 0!==r)for(const n of r)at(e,t,n)}}function lt(e){const t=[];return(0,se.YR)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}var ut=n(67714);function ct(e){const t=(0,ee._)(e)?e:new ee.k(e),n=t.body,r=new re.J(t);let i="",o=!1;for(;r.advance().kind!==ie.Y.EOF;){const e=r.token,t=e.kind,s=!(0,re.Z)(e.kind);o&&(s||e.kind===ie.Y.SPREAD)&&(i+=" ");const a=n.slice(e.start,e.end);t===ie.Y.BLOCK_STRING?i+=(0,ut.yo)(e.value,{minimize:!0}):i+=a,o=s}return i}function dt(e){const t=ft(e);if(t)throw t;return e}function ft(e){if("string"==typeof e||(0,o.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new g.eO(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,J.I)(e)}catch(e){return e}}var pt=n(15487),ht=n(39709);let mt,gt;function yt(e,t){return bt(e,t).filter(e=>e.type in mt)}function vt(e,t){return bt(e,t).filter(e=>e.type in gt)}function bt(e,t){return[...kt(e,t),...Et(e,t)]}function Et(e,t){const n=[],r=It(e.getDirectives(),t.getDirectives());for(const e of r.removed)n.push({type:mt.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(const[e,t]of r.persisted){const r=It(e.args,t.args);for(const t of r.added)(0,x.xP)(t)&&n.push({type:mt.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(const t of r.removed)n.push({type:mt.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});e.isRepeatable&&!t.isRepeatable&&n.push({type:mt.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`});for(const r of e.locations)t.locations.includes(r)||n.push({type:mt.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}function kt(e,t){const n=[],r=It(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const e of r.removed)n.push({type:mt.TYPE_REMOVED,description:(0,Z.PZ)(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(const[e,t]of r.persisted)(0,x.oF)(e)&&(0,x.oF)(t)?n.push(..._t(e,t)):(0,x.CK)(e)&&(0,x.CK)(t)?n.push(...xt(e,t)):(0,x.qK)(e)&&(0,x.qK)(t)?n.push(...wt(e,t)):(0,x.YQ)(e)&&(0,x.YQ)(t)||(0,x.kD)(e)&&(0,x.kD)(t)?n.push(...Tt(e,t),...St(e,t)):e.constructor!==t.constructor&&n.push({type:mt.TYPE_CHANGED_KIND,description:`${e.name} changed from ${Dt(e)} to ${Dt(t)}.`});return n}function wt(e,t){const n=[],r=It(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of r.added)(0,x.YX)(t)?n.push({type:mt.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:gt.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(const t of r.removed)n.push({type:mt.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of r.persisted)At(t.type,i.type)||n.push({type:mt.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function xt(e,t){const n=[],r=It(e.getTypes(),t.getTypes());for(const t of r.added)n.push({type:gt.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(const t of r.removed)n.push({type:mt.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}function _t(e,t){const n=[],r=It(e.getValues(),t.getValues());for(const t of r.added)n.push({type:gt.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(const t of r.removed)n.push({type:mt.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}function St(e,t){const n=[],r=It(e.getInterfaces(),t.getInterfaces());for(const t of r.added)n.push({type:gt.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(const t of r.removed)n.push({type:mt.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function Tt(e,t){const n=[],r=It(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of r.removed)n.push({type:mt.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of r.persisted)n.push(...Ct(e,t,i)),Nt(t.type,i.type)||n.push({type:mt.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function Ct(e,t,n){const r=[],i=It(t.args,n.args);for(const n of i.removed)r.push({type:mt.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(const[n,o]of i.persisted)if(At(n.type,o.type)){if(void 0!==n.defaultValue)if(void 0===o.defaultValue)r.push({type:gt.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{const i=Ot(n.defaultValue,n.type),s=Ot(o.defaultValue,o.type);i!==s&&r.push({type:gt.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${s}.`})}}else r.push({type:mt.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(o.type)}.`});for(const n of i.added)(0,x.xP)(n)?r.push({type:mt.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:gt.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}function Nt(e,t){return(0,x.Fs)(e)?(0,x.Fs)(t)&&Nt(e.ofType,t.ofType)||(0,x.bd)(t)&&Nt(e,t.ofType):(0,x.bd)(e)?(0,x.bd)(t)&&Nt(e.ofType,t.ofType):(0,x.sy)(t)&&e.name===t.name||(0,x.bd)(t)&&Nt(e,t.ofType)}function At(e,t){return(0,x.Fs)(e)?(0,x.Fs)(t)&&At(e.ofType,t.ofType):(0,x.bd)(e)?(0,x.bd)(t)&&At(e.ofType,t.ofType)||!(0,x.bd)(t)&&At(e.ofType,t):(0,x.sy)(t)&&e.name===t.name}function Dt(e){return(0,x.lg)(e)?"a Scalar type":(0,x.YQ)(e)?"an Object type":(0,x.kD)(e)?"an Interface type":(0,x.CK)(e)?"a Union type":(0,x.oF)(e)?"an Enum type":(0,x.qK)(e)?"an Input type":void(0,f.V)(!1,"Unexpected type: "+(0,d.N)(e))}function Ot(e,t){const n=(0,ht.K)(e,t);null!=n||(0,f.V)(!1);const r=(0,se.YR)(n,{ObjectValue(e){const t=[...e.fields];return t.sort((e,t)=>(0,et.p)(e.name.value,t.name.value)),{...e,fields:t}}});return(0,oe.y)(r)}function It(e,t){const n=[],r=[],i=[],o=(0,pt.K)(e,({name:e})=>e),s=(0,pt.K)(t,({name:e})=>e);for(const t of e){const e=s[t.name];void 0===e?r.push(t):i.push([t,e])}for(const e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(mt||(mt={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(gt||(gt={}));var Lt=n(85187),Ft=n(65410),Rt=n(359),Pt=n(70219),Mt=n(56514),jt=n(89494),Vt=n(69327),Ut=n(48542),Bt=n(57350),$t=n(89818),qt=n(64917)},42062:(e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var E=b.prototype=new v;E.constructor=b,m(E,y.prototype),E.isPureReactComponent=!0;var k=Array.isArray,w={H:null,A:null,T:null,S:null,V:null},x=Object.prototype.hasOwnProperty;function _(e,t,r,i,o,s){return r=s.ref,{$$typeof:n,type:e,key:t,ref:void 0!==r?r:null,props:s}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function N(){}function A(e,t,i,o,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(a){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case f:return A((c=e._init)(e._payload),t,i,o,s)}}if(c)return s=s(e),c=""===o?"."+C(e,0):o,k(s)?(i="",null!=c&&(i=c.replace(T,"$&/")+"/"),A(s,t,i,"",function(e){return e})):null!=s&&(S(s)&&(l=s,u=i+(null==s.key||e&&e.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+c,s=_(l.type,u,void 0,0,0,l.props)),t.push(s)),1;c=0;var d,h=""===o?".":o+":";if(k(e))for(var m=0;m<e.length;m++)c+=A(o=e[m],t,i,a=h+C(o,m),s);else if("function"==typeof(m=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=p&&d[p]||d["@@iterator"])?d:null))for(e=m.call(e),m=0;!(o=e.next()).done;)c+=A(o=o.value,t,i,a=h+C(o,m++),s);else if("object"===a){if("function"==typeof e.then)return A(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(N,N):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,o,s);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function D(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(){}t.Children={map:D,forEach:function(e,t,n){D(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return D(e,function(){t++}),t},toArray:function(e){return D(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=s,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),i=e.key;if(null!=t)for(o in t.ref,void 0!==t.key&&(i=""+t.key),t)!x.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var s=Array(o),a=0;a<o;a++)s[a]=arguments[a+2];r.children=s}return _(e.type,i,void 0,0,0,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},t.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var a=Array(s),l=0;l<s;l++)a[l]=arguments[l+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return _(e,o,void 0,0,0,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(L,I)}catch(e){I(e)}finally{w.T=t}},t.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},t.use=function(e){return w.H.use(e)},t.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},t.useCallback=function(e,t){return w.H.useCallback(e,t)},t.useContext=function(e){return w.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},t.useEffect=function(e,t,n){var r=w.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},t.useId=function(){return w.H.useId()},t.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return w.H.useMemo(e,t)},t.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},t.useRef=function(e){return w.H.useRef(e)},t.useState=function(e){return w.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return w.H.useTransition()},t.version="19.1.0"},42455:(e,t,n)=>{let r;n.d(t,{b:()=>r}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},42833:(e,t,n)=>{n.d(t,{n:()=>i});var r=n(48255);function i(e){const t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>(o(e),!1)};function o(s){if(t[s.name.value])return;const a=s.name.value;t[a]=!0;const l=e.getFragmentSpreads(s.selectionSet);if(0!==l.length){i[a]=n.length;for(const t of l){const s=t.name.value,a=i[s];if(n.push(t),void 0===a){const t=e.getFragment(s);t&&o(t)}else{const t=n.slice(a),i=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new r.eO(`Cannot spread fragment "${s}" within itself`+(""!==i?` via ${i}.`:"."),t))}n.pop()}i[a]=void 0}}}},42868:(e,t,n)=>{let r;n.d(t,{H:()=>r}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},43144:(e,t,n)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(12310)},45536:(e,t,n)=>{n.d(t,{K:()=>i});var r=n(48255);function i(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const i=n.name.value;return t[i]?e.reportError(new r.eO(`There can be only one fragment named "${i}".`,[t[i],n.name])):t[i]=n.name,!1}}}},46712:(e,t,n)=>{function r(e,t){const n=new Map;for(const r of e){const e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}n.d(t,{$:()=>r})},47626:(e,t,n)=>{n.d(t,{Y:()=>f,i:()=>d});var r=n(35198),i=n(48255),o=n(59762),s=n(64917),a=n(25329),l=n(28957),u=n(67274),c=n(73663);function d(e){if((0,a.GU)(e),e.__validationErrors)return e.__validationErrors;const t=new p(e);!function(e){const t=e.schema,n=t.getQueryType();if(n){if(!(0,c.YQ)(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${(0,r.N)(n)}.`,null!==(i=h(t,o.cE.QUERY))&&void 0!==i?i:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);const s=t.getMutationType();var a;s&&!(0,c.YQ)(s)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,r.N)(s)}.`,null!==(a=h(t,o.cE.MUTATION))&&void 0!==a?a:s.astNode);const l=t.getSubscriptionType();var u;l&&!(0,c.YQ)(l)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,r.N)(l)}.`,null!==(u=h(t,o.cE.SUBSCRIPTION))&&void 0!==u?u:l.astNode)}(t),function(e){for(const n of e.schema.getDirectives())if((0,u.qT)(n)){m(e,n);for(const i of n.args){var t;m(e,i),(0,c.dX)(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${(0,r.N)(i.type)}.`,i.astNode),(0,c.xP)(i)&&null!=i.deprecationReason&&e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[S(i.astNode),null===(t=i.astNode)||void 0===t?void 0:t.type])}}else e.reportError(`Expected directive but got: ${(0,r.N)(n)}.`,null==n?void 0:n.astNode)}(t),function(e){const t=function(e){const t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;const s=Object.values(o.getFields());for(const t of s)if((0,c.bd)(t.type)&&(0,c.qK)(t.type.ofType)){const o=t.type.ofType,s=r[o.name];if(n.push(t),void 0===s)i(o);else{const t=n.slice(s),r=t.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${o.name}" within itself through a series of non-null fields: "${r}".`,t.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}(e),n=e.schema.getTypeMap();for(const i of Object.values(n))(0,c.sy)(i)?((0,l.Yh)(i)||m(e,i),(0,c.YQ)(i)||(0,c.kD)(i)?(g(e,i),y(e,i)):(0,c.CK)(i)?E(e,i):(0,c.oF)(i)?k(e,i):(0,c.qK)(i)&&(w(e,i),t(i))):e.reportError(`Expected GraphQL named type but got: ${(0,r.N)(i)}.`,i.astNode)}(t);const n=t.getErrors();return e.__validationErrors=n,n}function f(e){const t=d(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}class p{constructor(e){this._errors=[],this.schema=e}reportError(e,t){const n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new i.eO(e,n))}getErrors(){return this._errors}}function h(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 m(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function g(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){var i;m(e,a),(0,c.oH)(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${(0,r.N)(a.type)}.`,null===(i=a.astNode)||void 0===i?void 0:i.type);for(const n of a.args){const i=n.name;var o,s;m(e,n),(0,c.dX)(n.type)||e.reportError(`The type of ${t.name}.${a.name}(${i}:) must be Input Type but got: ${(0,r.N)(n.type)}.`,null===(o=n.astNode)||void 0===o?void 0:o.type),(0,c.xP)(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${a.name}(${i}:) cannot be deprecated.`,[S(n.astNode),null===(s=n.astNode)||void 0===s?void 0:s.type])}}}function y(e,t){const n=Object.create(null);for(const i of t.getInterfaces())(0,c.kD)(i)?t!==i?n[i.name]?e.reportError(`Type ${t.name} can only implement ${i.name} once.`,x(t,i)):(n[i.name]=!0,b(e,t,i),v(e,t,i)):e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,x(t,i)):e.reportError(`Type ${(0,r.N)(t)} must only implement Interface types, it cannot implement ${(0,r.N)(i)}.`,x(t,i))}function v(e,t,n){const i=t.getFields();for(const d of Object.values(n.getFields())){const f=d.name,p=i[f];if(p){var o,a;(0,s.sP)(e.schema,p.type,d.type)||e.reportError(`Interface field ${n.name}.${f} expects type ${(0,r.N)(d.type)} but ${t.name}.${f} is type ${(0,r.N)(p.type)}.`,[null===(o=d.astNode)||void 0===o?void 0:o.type,null===(a=p.astNode)||void 0===a?void 0:a.type]);for(const i of d.args){const o=i.name,a=p.args.find(e=>e.name===o);var l,u;a?(0,s.n8)(i.type,a.type)||e.reportError(`Interface field argument ${n.name}.${f}(${o}:) expects type ${(0,r.N)(i.type)} but ${t.name}.${f}(${o}:) is type ${(0,r.N)(a.type)}.`,[null===(l=i.astNode)||void 0===l?void 0:l.type,null===(u=a.astNode)||void 0===u?void 0:u.type]):e.reportError(`Interface field argument ${n.name}.${f}(${o}:) expected but ${t.name}.${f} does not provide it.`,[i.astNode,p.astNode])}for(const r of p.args){const i=r.name;!d.args.find(e=>e.name===i)&&(0,c.xP)(r)&&e.reportError(`Object field ${t.name}.${f} includes required argument ${i} that is missing from the Interface field ${n.name}.${f}.`,[r.astNode,d.astNode])}}else e.reportError(`Interface field ${n.name}.${f} expected but ${t.name} does not provide it.`,[d.astNode,t.astNode,...t.extensionASTNodes])}}function b(e,t,n){const r=t.getInterfaces();for(const 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}.`,[...x(n,i),...x(t,n)])}function E(e,t){const n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const o of n)i[o.name]?e.reportError(`Union type ${t.name} can only include type ${o.name} once.`,_(t,o.name)):(i[o.name]=!0,(0,c.YQ)(o)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,r.N)(o)}.`,_(t,String(o))))}function k(e,t){const n=t.getValues();0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const t of n)m(e,t)}function w(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const s of n){var i,o;m(e,s),(0,c.dX)(s.type)||e.reportError(`The type of ${t.name}.${s.name} must be Input Type but got: ${(0,r.N)(s.type)}.`,null===(i=s.astNode)||void 0===i?void 0:i.type),(0,c.YX)(s)&&null!=s.deprecationReason&&e.reportError(`Required input field ${t.name}.${s.name} cannot be deprecated.`,[S(s.astNode),null===(o=s.astNode)||void 0===o?void 0:o.type])}}function x(e,t){const{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 _(e,t){const{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 S(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===u.yK.name)}},48255:(e,t,n)=>{n.d(t,{Wk:()=>u,eO:()=>s,yJ:()=>l});var r=n(91070),i=n(73971),o=n(8238);class s extends Error{constructor(e,t,n,o,l,u,c){var d,f,p;super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=a(Array.isArray(t)?t:t?[t]:void 0);const h=a(null===(d=this.nodes)||void 0===d?void 0:d.map(e=>e.loc).filter(e=>null!=e));this.source=null!=n?n:null==h||null===(f=h[0])||void 0===f?void 0:f.source,this.positions=null!=o?o:null==h?void 0:h.map(e=>e.start),this.locations=o&&n?o.map(e=>(0,i.g)(n,e)):null==h?void 0:h.map(e=>(0,i.g)(e.source,e.start));const m=(0,r.Z)(null==u?void 0:u.extensions)?null==u?void 0:u.extensions:void 0;this.extensions=null!==(p=null!=c?c:m)&&void 0!==p?p:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+(0,o.V)(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+(0,o.C)(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function a(e){return void 0===e||0===e.length?void 0:e}function l(e){return e.toString()}function u(e){return e.toJSON()}},48272:(e,t,n)=>{function r(e){return`"${e.replace(i,o)}"`}n.d(t,{T:()=>r});const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\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"]},48542:(e,t,n)=>{n.d(t,{F:()=>o});var r=n(96394),i=n(42455);function o(e,t){switch(e.kind){case i.b.NULL:return null;case i.b.INT:return parseInt(e.value,10);case i.b.FLOAT:return parseFloat(e.value);case i.b.STRING:case i.b.ENUM:case i.b.BOOLEAN:return e.value;case i.b.LIST:return e.values.map(e=>o(e,t));case i.b.OBJECT:return(0,r.L)(e.fields,e=>e.name.value,e=>o(e.value,t));case i.b.VARIABLE:return null==t?void 0:t[e.name.value]}}},49911:(e,t,n)=>{n.d(t,{T:()=>a});var r=n(48255),i=n(9554),o=n(73663),s=n(89494);function a(e){return{InlineFragment(t){const n=t.typeCondition;if(n){const t=(0,s.v)(e.getSchema(),n);if(t&&!(0,o.ML)(t)){const t=(0,i.y)(n);e.reportError(new r.eO(`Fragment cannot condition on non composite type "${t}".`,n))}}},FragmentDefinition(t){const n=(0,s.v)(e.getSchema(),t.typeCondition);if(n&&!(0,o.ML)(n)){const n=(0,i.y)(t.typeCondition);e.reportError(new r.eO(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,t.typeCondition))}}}}},50792:(e,t,n)=>{n.d(t,{h:()=>r});const r=function(e,t){return e instanceof t}},51753:(e,t,n)=>{n.d(t,{uB:()=>C,HC:()=>d,Kb:()=>m,FX:()=>p,rY:()=>b,lO:()=>A,M$:()=>c,r4:()=>N,qw:()=>f,sm:()=>L,v_:()=>D,OV:()=>S,YT:()=>T,GE:()=>E,WA:()=>h,gP:()=>_,ou:()=>y,dG:()=>O,$M:()=>v,OB:()=>I,PK:()=>x,Iu:()=>k});var r=n(36972),i=n(5839),o=n(81304),s=n(22573),a=n(32293);class l{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new s.vl,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,a.s)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){this._factories.get(e)?.dispose();const n=new u(this,e,t);return this._factories.set(e,n),(0,a.s)(()=>{const t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(await n.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class u extends a.jG{get isResolved(){return this._isResolved}constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}var c,d,f,p,h,m,g=n(12003);class y{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class v{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class b{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}!function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(c||(c={})),function(e){const t=new Map;t.set(0,r.W.symbolMethod),t.set(1,r.W.symbolFunction),t.set(2,r.W.symbolConstructor),t.set(3,r.W.symbolField),t.set(4,r.W.symbolVariable),t.set(5,r.W.symbolClass),t.set(6,r.W.symbolStruct),t.set(7,r.W.symbolInterface),t.set(8,r.W.symbolModule),t.set(9,r.W.symbolProperty),t.set(10,r.W.symbolEvent),t.set(11,r.W.symbolOperator),t.set(12,r.W.symbolUnit),t.set(13,r.W.symbolValue),t.set(15,r.W.symbolEnum),t.set(14,r.W.symbolConstant),t.set(15,r.W.symbolEnum),t.set(16,r.W.symbolEnumMember),t.set(17,r.W.symbolKeyword),t.set(27,r.W.symbolSnippet),t.set(18,r.W.symbolText),t.set(19,r.W.symbolColor),t.set(20,r.W.symbolFile),t.set(21,r.W.symbolReference),t.set(22,r.W.symbolCustomColor),t.set(23,r.W.symbolFolder),t.set(24,r.W.symbolTypeParameter),t.set(25,r.W.account),t.set(26,r.W.issues),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=r.W.symbolProperty),n};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let r=n.get(e);return void 0!==r||t||(r=9),r}}(d||(d={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(f||(f={}));class E{constructor(e,t,n,r){this.range=e,this.text=t,this.completionKind=n,this.isSnippetText=r}equals(e){return o.Q.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function k(e){return e&&i.r.isUri(e.uri)&&o.Q.isIRange(e.range)&&(o.Q.isIRange(e.originSelectionRange)||o.Q.isIRange(e.targetSelectionRange))}!function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"}(p||(p={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(m||(m={}));const w={17:(0,g.kg)("Array","array"),16:(0,g.kg)("Boolean","boolean"),4:(0,g.kg)("Class","class"),13:(0,g.kg)("Constant","constant"),8:(0,g.kg)("Constructor","constructor"),9:(0,g.kg)("Enum","enumeration"),21:(0,g.kg)("EnumMember","enumeration member"),23:(0,g.kg)("Event","event"),7:(0,g.kg)("Field","field"),0:(0,g.kg)("File","file"),11:(0,g.kg)("Function","function"),10:(0,g.kg)("Interface","interface"),19:(0,g.kg)("Key","key"),5:(0,g.kg)("Method","method"),1:(0,g.kg)("Module","module"),2:(0,g.kg)("Namespace","namespace"),20:(0,g.kg)("Null","null"),15:(0,g.kg)("Number","number"),18:(0,g.kg)("Object","object"),24:(0,g.kg)("Operator","operator"),3:(0,g.kg)("Package","package"),6:(0,g.kg)("Property","property"),14:(0,g.kg)("String","string"),22:(0,g.kg)("Struct","struct"),25:(0,g.kg)("TypeParameter","type parameter"),12:(0,g.kg)("Variable","variable")};function x(e,t){return(0,g.kg)("symbolAriaLabel","{0} ({1})",e,w[t])}var _,S,T,C,N;!function(e){const t=new Map;t.set(0,r.W.symbolFile),t.set(1,r.W.symbolModule),t.set(2,r.W.symbolNamespace),t.set(3,r.W.symbolPackage),t.set(4,r.W.symbolClass),t.set(5,r.W.symbolMethod),t.set(6,r.W.symbolProperty),t.set(7,r.W.symbolField),t.set(8,r.W.symbolConstructor),t.set(9,r.W.symbolEnum),t.set(10,r.W.symbolInterface),t.set(11,r.W.symbolFunction),t.set(12,r.W.symbolVariable),t.set(13,r.W.symbolConstant),t.set(14,r.W.symbolString),t.set(15,r.W.symbolNumber),t.set(16,r.W.symbolBoolean),t.set(17,r.W.symbolArray),t.set(18,r.W.symbolObject),t.set(19,r.W.symbolKey),t.set(20,r.W.symbolNull),t.set(21,r.W.symbolEnumMember),t.set(22,r.W.symbolStruct),t.set(23,r.W.symbolEvent),t.set(24,r.W.symbolOperator),t.set(25,r.W.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=r.W.symbolProperty),n}}(_||(_={}));class A{static{this.Comment=new A("comment")}static{this.Imports=new A("imports")}static{this.Region=new A("region")}static fromValue(e){switch(e){case"comment":return A.Comment;case"imports":return A.Imports;case"region":return A.Region}return new A(e)}constructor(e){this.value=e}}!function(e){e[e.AIGenerated=1]="AIGenerated"}(S||(S={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(T||(T={})),function(e){e.is=function(e){return!(!e||"object"!=typeof e)&&"string"==typeof e.id&&"string"==typeof e.title}}(C||(C={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(N||(N={}));class D{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const O=new l,I=new l;var L;!function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(L||(L={}))},51838:(e,t,n)=>{n.d(t,{U:()=>c});var r=n(15487),i=n(35198),o=n(54833),s=n(36382),a=n(48255),l=n(9554),u=n(73663);function c(e){return{ListValue(t){const n=(0,u.yl)(e.getParentInputType());if(!(0,u.Fs)(n))return d(e,t),!1},ObjectValue(t){const n=(0,u.MR)(e.getInputType());if(!(0,u.qK)(n))return d(e,t),!1;const o=(0,r.K)(t.fields,e=>e.name.value);for(const r of Object.values(n.getFields()))if(!o[r.name]&&(0,u.YX)(r)){const o=(0,i.N)(r.type);e.reportError(new a.eO(`Field "${n.name}.${r.name}" of required type "${o}" was not provided.`,t))}},ObjectField(t){const n=(0,u.MR)(e.getParentInputType());if(!e.getInputType()&&(0,u.qK)(n)){const r=(0,s.x)(t.name.value,Object.keys(n.getFields()));e.reportError(new a.eO(`Field "${t.name.value}" is not defined by type "${n.name}".`+(0,o.a)(r),t))}},NullValue(t){const n=e.getInputType();(0,u.bd)(n)&&e.reportError(new a.eO(`Expected value of type "${(0,i.N)(n)}", found ${(0,l.y)(t)}.`,t))},EnumValue:t=>d(e,t),IntValue:t=>d(e,t),FloatValue:t=>d(e,t),StringValue:t=>d(e,t),BooleanValue:t=>d(e,t)}}function d(e,t){const n=e.getInputType();if(!n)return;const r=(0,u.MR)(n);if((0,u.zf)(r))try{if(void 0===r.parseLiteral(t,void 0)){const r=(0,i.N)(n);e.reportError(new a.eO(`Expected value of type "${r}", found ${(0,l.y)(t)}.`,t))}}catch(r){const o=(0,i.N)(n);r instanceof a.eO?e.reportError(r):e.reportError(new a.eO(`Expected value of type "${o}", found ${(0,l.y)(t)}; `+r.message,t,void 0,void 0,void 0,r))}else{const r=(0,i.N)(n);e.reportError(new a.eO(`Expected value of type "${r}", found ${(0,l.y)(t)}.`,t))}}},52248:(e,t,n)=>{var r=n(55343),i=n(40354),o=n(27368),s=n(92954),a=n(73537),l=n(77065),u=n(24466),c=n(6868),d=n(26886),f=n(85966),p=n(12475),h=n(80656),m=n(12584),g=n(49911),y=n(67565);r.l,i.u,o.i,s.g,a.X,l.Z,u.y,c.e,d.U,f.S,p.J,h.C,m._,g.T,y.X},54833:(e,t,n)=>{n.d(t,{a:()=>i});const r=5;function i(e,t){const[n,i]=t?[e,t]:[void 0,e];let o=" Did you mean ";n&&(o+=n+" ");const s=i.map(e=>`"${e}"`);switch(s.length){case 0:return"";case 1:return o+s[0]+"?";case 2:return o+s[0]+" or "+s[1]+"?"}const a=s.slice(0,r),l=a.pop();return o+a.join(", ")+", or "+l+"?"}},55343:(e,t,n)=>{n.d(t,{l:()=>i});var r=n(48255);function i(e){var t,n,i;const o=e.getSchema(),s=null!==(t=null!==(n=null!==(i=null==o?void 0:o.astNode)&&void 0!==i?i:null==o?void 0:o.getQueryType())&&void 0!==n?n:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType();let a=0;return{SchemaDefinition(t){s?e.reportError(new r.eO("Cannot define a new schema within a schema extension.",t)):(a>0&&e.reportError(new r.eO("Must provide only one schema definition.",t)),++a)}}}},55818:(e,t,n)=>{n.d(t,{y:()=>r});class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){const n=0|e.lineNumber,r=0|t.lineNumber;return n===r?(0|e.column)-(0|t.column):n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}}},55833:(e,t,n)=>{n.d(t,{J:()=>s,k:()=>o});var r=n(69708);const i=Object.create(null);function o(e,t){if((0,r.Kg)(t)){const n=i[t];if(void 0===n)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return i[e]=t,{id:e}}function s(){return i}},56514:(e,t,n)=>{n.d(t,{OC:()=>v,rK:()=>p,w$:()=>h});var r=n(35198),i=n(71306),o=n(42455),s=n(9554),a=n(67714),l=n(28957),u=n(84143),c=n(67274),d=n(73663),f=n(39709);function p(e){return g(e,e=>!(0,c.Qe)(e),m)}function h(e){return g(e,c.Qe,l.Yh)}function m(e){return!(0,u.PZ)(e)&&!(0,l.Yh)(e)}function g(e,t,n){const r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[y(e),...r.map(e=>function(e){return S(e)+"directive @"+e.name+w(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e)),...i.map(e=>v(e))].filter(Boolean).join("\n\n")}function y(e){if(null==e.description&&function(e){const t=e.getQueryType();if(t&&"Query"!==t.name)return!1;const n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;const r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;const t=[],n=e.getQueryType();n&&t.push(` query: ${n.name}`);const r=e.getMutationType();r&&t.push(` mutation: ${r.name}`);const i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),S(e)+`schema {\n${t.join("\n")}\n}`}function v(e){return(0,d.lg)(e)?function(e){return S(e)+`scalar ${e.name}`+(null==(t=e).specifiedByURL?"":` @specifiedBy(url: ${(0,s.y)({kind:o.b.STRING,value:t.specifiedByURL})})`);var t}(e):(0,d.YQ)(e)?function(e){return S(e)+`type ${e.name}`+b(e)+E(e)}(e):(0,d.kD)(e)?function(e){return S(e)+`interface ${e.name}`+b(e)+E(e)}(e):(0,d.CK)(e)?function(e){const t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return S(e)+"union "+e.name+n}(e):(0,d.oF)(e)?function(e){const t=e.getValues().map((e,t)=>S(e," ",!t)+" "+e.name+_(e.deprecationReason));return S(e)+`enum ${e.name}`+k(t)}(e):(0,d.qK)(e)?function(e){const t=Object.values(e.getFields()).map((e,t)=>S(e," ",!t)+" "+x(e));return S(e)+`input ${e.name}`+k(t)}(e):void(0,i.V)(!1,"Unexpected type: "+(0,r.N)(e))}function b(e){const t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function E(e){const t=Object.values(e.getFields()).map((e,t)=>S(e," ",!t)+" "+e.name+w(e.args," ")+": "+String(e.type)+_(e.deprecationReason));return k(t)}function k(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function w(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(x).join(", ")+")":"(\n"+e.map((e,n)=>S(e," "+t,!n)+" "+t+x(e)).join("\n")+"\n"+t+")"}function x(e){const t=(0,f.K)(e.defaultValue,e.type);let n=e.name+": "+String(e.type);return t&&(n+=` = ${(0,s.y)(t)}`),n+_(e.deprecationReason)}function _(e){return null==e?"":e!==c.Il?` @deprecated(reason: ${(0,s.y)({kind:o.b.STRING,value:e})})`:" @deprecated"}function S(e,t="",n=!0){const{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+(0,s.y)({kind:o.b.STRING,value:r,block:(0,a.CS)(r)}).replace(/\n/g,"\n"+t)+"\n"}},57350:(e,t,n)=>{n.d(t,{D:()=>u,S:()=>d});var r=n(42455),i=n(59762),o=n(90424),s=n(73663),a=n(28957),l=n(89494);class u{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:c,t&&((0,s.dX)(t)&&this._inputTypeStack.push(t),(0,s.ML)(t)&&this._parentTypeStack.push(t),(0,s.oH)(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){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){const t=this._schema;switch(e.kind){case r.b.SELECTION_SET:{const e=(0,s.MR)(this.getType());this._parentTypeStack.push((0,s.ML)(e)?e:void 0);break}case r.b.FIELD:{const n=this.getParentType();let r,i;n&&(r=this._getFieldDef(t,n,e),r&&(i=r.type)),this._fieldDefStack.push(r),this._typeStack.push((0,s.oH)(i)?i:void 0);break}case r.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case r.b.OPERATION_DEFINITION:{const n=t.getRootType(e.operation);this._typeStack.push((0,s.YQ)(n)?n:void 0);break}case r.b.INLINE_FRAGMENT:case r.b.FRAGMENT_DEFINITION:{const n=e.typeCondition,r=n?(0,l.v)(t,n):(0,s.MR)(this.getType());this._typeStack.push((0,s.oH)(r)?r:void 0);break}case r.b.VARIABLE_DEFINITION:{const n=(0,l.v)(t,e.type);this._inputTypeStack.push((0,s.dX)(n)?n:void 0);break}case r.b.ARGUMENT:{var n;let t,r;const i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value),t&&(r=t.type)),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(r)?r:void 0);break}case r.b.LIST:{const e=(0,s.yl)(this.getInputType()),t=(0,s.Fs)(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,s.dX)(t)?t:void 0);break}case r.b.OBJECT_FIELD:{const t=(0,s.MR)(this.getInputType());let n,r;(0,s.qK)(t)&&(r=t.getFields()[e.name.value],r&&(n=r.type)),this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(n)?n:void 0);break}case r.b.ENUM:{const t=(0,s.MR)(this.getInputType());let n;(0,s.oF)(t)&&(n=t.getValue(e.value)),this._enumValue=n;break}}}leave(e){switch(e.kind){case r.b.SELECTION_SET:this._parentTypeStack.pop();break;case r.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case r.b.DIRECTIVE:this._directive=null;break;case r.b.OPERATION_DEFINITION:case r.b.INLINE_FRAGMENT:case r.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case r.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case r.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.b.LIST:case r.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.b.ENUM:this._enumValue=null}}}function c(e,t,n){const r=n.name.value;return r===a.S0.name&&e.getQueryType()===t?a.S0:r===a.Xe.name&&e.getQueryType()===t?a.Xe:r===a.of.name&&(0,s.ML)(t)?a.of:(0,s.YQ)(t)||(0,s.kD)(t)?t.getFields()[r]:void 0}function d(e,t){return{enter(...n){const r=n[0];e.enter(r);const s=(0,o.XO)(t,r.kind).enter;if(s){const o=s.apply(t,n);return void 0!==o&&(e.leave(r),(0,i.Ll)(o)&&e.enter(o)),o}},leave(...n){const r=n[0],i=(0,o.XO)(t,r.kind).leave;let s;return i&&(s=i.apply(t,n)),e.leave(r),s}}}},58518:(e,t,n)=>{n.d(t,{Fo:()=>f,YM:()=>h,m5:()=>m,uw:()=>a});class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const i=new r,o=new r,s=new r,a=new Array(230),l={},u=[],c=Object.create(null),d=Object.create(null),f=[],p=[];for(let e=0;e<=193;e++)f[e]=-1;for(let e=0;e<=132;e++)p[e]=-1;var h;function m(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const e of t){const[t,h,m,g,y,v,b,E,k]=e;if(r[h]||(r[h]=!0,u[h]=m,c[m]=h,d[m.toLowerCase()]=h,t&&(f[h]=g,0!==g&&3!==g&&5!==g&&4!==g&&6!==g&&57!==g&&(p[g]=h))),!n[g]){if(n[g]=!0,!y)throw new Error(`String representation missing for key code ${g} around scan code ${m}`);i.define(g,y),o.define(g,E||y),s.define(g,k||E||y)}v&&(a[v]=g),b&&(l[b]=g)}p[3]=46}(),function(e){e.toString=function(e){return i.keyCodeToStr(e)},e.fromString=function(e){return i.strToKeyCode(e)},e.toUserSettingsUS=function(e){return o.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return o.strToKeyCode(e)||s.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return i.keyCodeToStr(e)}}(h||(h={}))},58644:(e,t,n)=>{n.d(t,{y:()=>l});var r=n(35198),i=n(48255),o=n(73663),s=n(89494),a=n(64917);function l(e){return{InlineFragment(t){const n=e.getType(),s=e.getParentType();if((0,o.ML)(n)&&(0,o.ML)(s)&&!(0,a.uI)(e.getSchema(),n,s)){const o=(0,r.N)(s),a=(0,r.N)(n);e.reportError(new i.eO(`Fragment cannot be spread here as objects of type "${o}" can never be of type "${a}".`,t))}},FragmentSpread(t){const n=t.name.value,l=function(e,t){const n=e.getFragment(t);if(n){const t=(0,s.v)(e.getSchema(),n.typeCondition);if((0,o.ML)(t))return t}}(e,n),u=e.getParentType();if(l&&u&&!(0,a.uI)(e.getSchema(),l,u)){const o=(0,r.N)(u),s=(0,r.N)(l);e.reportError(new i.eO(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${s}".`,t))}}}}},58881:(e,t,n)=>{function r(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"";function o(e){return t.inputValueDeprecation?e:""}return`\n query IntrospectionQuery {\n __schema {\n ${t.schemaDescription?n:""}\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ${n}\n ${i}\n locations\n args${o("(includeDeprecated: true)")} {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ${n}\n ${r}\n fields(includeDeprecated: true) {\n name\n ${n}\n args${o("(includeDeprecated: true)")} {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields${o("(includeDeprecated: true)")} {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ${n}\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ${n}\n type { ...TypeRef }\n defaultValue\n ${o("isDeprecated")}\n ${o("deprecationReason")}\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n `}n.d(t,{I:()=>r})},59762:(e,t,n)=>{n.d(t,{Ll:()=>a,aD:()=>o,aZ:()=>r,cE:()=>l,ou:()=>i});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function a(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}let l;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(l||(l={}))},59841:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(48255);function i(e,t,n){return new r.eO(`Syntax Error: ${n}`,void 0,e,[t])}},60190:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.defaultValue=T;var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(14041)),l=n(41675);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function h(e){return e.charAt(0).toUpperCase()+e.slice(1)}var m={keyword:"#B11A04",def:"#D2054E",property:"#1F61A0",qualifier:"#1C92A9",attribute:"#8B2BB9",number:"#2882F9",string:"#D64292",builtin:"#D47509",string2:"#0B7FC7",variable:"#397D13",atom:"#CA9800"},g=a.createElement("svg",{width:"12",height:"9"},a.createElement("path",{fill:"#666",d:"M 0 2 L 9 2 L 4.5 7.5 z"})),y=a.createElement("svg",{width:"12",height:"9"},a.createElement("path",{fill:"#666",d:"M 0 0 L 0 9 L 5.5 4.5 z"})),v=a.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM16 16H2V2H16V16ZM14.99 6L13.58 4.58L6.99 11.17L4.41 8.6L2.99 10.01L6.99 14L14.99 6Z",fill:"#666"})),b=a.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M16 2V16H2V2H16ZM16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0Z",fill:"#CCC"}));function E(e){return e.checked?e.styleConfig.checkboxChecked:e.styleConfig.checkboxUnchecked}function k(e){var t=e.getFields();if(t.id){var n=["id"];return t.email?n.push("email"):t.name&&n.push("name"),n}if(t.edges)return["edges"];if(t.node)return["node"];if(t.nodes)return["nodes"];var r=[];return Object.keys(t).forEach(function(e){(0,l.isLeafType)(t[e].type)&&r.push(e)}),r.length?r.slice(0,2):["__typename"]}function w(e){return(0,l.isNonNullType)(e.type)&&void 0===e.defaultValue}function x(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}function _(e,t){if("string"!=typeof t&&"VariableDefinition"===t.kind)return t.variable;if((0,l.isScalarType)(e))try{switch(e.name){case"String":return{kind:"StringValue",value:String(e.parseValue(t))};case"Float":return{kind:"FloatValue",value:String(e.parseValue(parseFloat(t)))};case"Int":return{kind:"IntValue",value:String(e.parseValue(parseInt(t,10)))};case"Boolean":try{var n=JSON.parse(t);return"boolean"==typeof n?{kind:"BooleanValue",value:n}:{kind:"BooleanValue",value:!1}}catch(e){return{kind:"BooleanValue",value:!1}}default:return{kind:"StringValue",value:String(e.parseValue(t))}}}catch(e){return console.error("error coercing arg value",e,t),{kind:"StringValue",value:t}}else try{var r=e.parseValue(t);return r?{kind:"EnumValue",value:String(r)}:{kind:"EnumValue",value:e.getValues()[0].name}}catch(t){return{kind:"EnumValue",value:e.getValues()[0].name}}}var S=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r._getArgSelection=function(){return r.props.selection.fields.find(function(e){return e.name.value===r.props.arg.name})},r._removeArg=function(){var e=r.props.selection,t=r._getArgSelection();r._previousArgSelection=t,r.props.modifyFields(e.fields.filter(function(e){return e!==t}),!0)},r._addArg=function(){var e=r.props,t=e.selection,n=e.arg,i=e.getDefaultScalarArgValue,o=e.parentField,s=e.makeDefaultArg,a=x(n.type),u=null;if(r._previousArgSelection)u=r._previousArgSelection;else if((0,l.isInputObjectType)(a)){var d=a.getFields();u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:{kind:"ObjectValue",fields:L(i,s,o,Object.keys(d).map(function(e){return d[e]}))}}}else(0,l.isLeafType)(a)&&(u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:i(o,n,a)});if(u)return r.props.modifyFields([].concat(c(t.fields||[]),[u]),!0);console.error("Unable to add arg for argType",a)},r._setArgValue=function(e,t){var n=!1,i=!1,s=!1;try{"VariableDefinition"===e.kind?i=!0:null==e?n=!0:"string"==typeof e.kind&&(s=!0)}catch(e){}var a=r.props.selection,u=r._getArgSelection();if(u){var c=x(r.props.arg.type);if((0,l.isLeafType)(c)||i||n||s){var d=void 0,f=void 0;return null==e?f=null:!e.target&&e.kind&&"VariableDefinition"===e.kind?f=(d=e).variable:"string"==typeof e.kind?f=e:e.target&&"string"==typeof e.target.value&&(d=e.target.value,f=_(c,d)),r.props.modifyFields((a.fields||[]).map(function(e){return e===u?o({},e,{value:f}):e}),t)}console.warn("Unable to handle non leaf types in InputArgView.setArgValue",e)}else console.error("missing arg selection when setting arg value")},r._modifyChildFields=function(e){return r.props.modifyFields(r.props.selection.fields.map(function(t){return t.name.value===r.props.arg.name?o({},t,{value:{kind:"ObjectValue",fields:e}}):t}),!0)},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return a.createElement(D,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._modifyChildFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(a.PureComponent);function T(e){if((0,l.isEnumType)(e))return{kind:"EnumValue",value:e.getValues()[0].name};switch(e.name){case"String":default:return{kind:"StringValue",value:""};case"Float":return{kind:"FloatValue",value:"1.5"};case"Int":return{kind:"IntValue",value:"10"};case"Boolean":return{kind:"BooleanValue",value:!1}}}function C(e,t,n){return T(n)}var N=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r._getArgSelection=function(){return(r.props.selection.arguments||[]).find(function(e){return e.name.value===r.props.arg.name})},r._removeArg=function(e){var t=r.props.selection,n=r._getArgSelection();return r._previousArgSelection=n,r.props.modifyArguments((t.arguments||[]).filter(function(e){return e!==n}),e)},r._addArg=function(e){var t=r.props,n=t.selection,i=t.getDefaultScalarArgValue,o=t.makeDefaultArg,s=t.parentField,a=t.arg,u=x(a.type),d=null;if(r._previousArgSelection)d=r._previousArgSelection;else if((0,l.isInputObjectType)(u)){var f=u.getFields();d={kind:"Argument",name:{kind:"Name",value:a.name},value:{kind:"ObjectValue",fields:L(i,o,s,Object.keys(f).map(function(e){return f[e]}))}}}else(0,l.isLeafType)(u)&&(d={kind:"Argument",name:{kind:"Name",value:a.name},value:i(s,a,u)});return d?r.props.modifyArguments([].concat(c(n.arguments||[]),[d]),e):(console.error("Unable to add arg for argType",u),null)},r._setArgValue=function(e,t){var n=!1,i=!1,s=!1;try{"VariableDefinition"===e.kind?i=!0:null==e?n=!0:"string"==typeof e.kind&&(s=!0)}catch(e){}var a=r.props.selection,u=r._getArgSelection();if(u||i){var c=x(r.props.arg.type);if((0,l.isLeafType)(c)||i||n||s){var d=void 0,f=void 0;return null==e?f=null:e.target&&"string"==typeof e.target.value?(d=e.target.value,f=_(c,d)):e.target||"VariableDefinition"!==e.kind?"string"==typeof e.kind&&(f=e):f=(d=e).variable,r.props.modifyArguments((a.arguments||[]).map(function(e){return e===u?o({},e,{value:f}):e}),t)}console.warn("Unable to handle non leaf types in ArgView._setArgValue")}else console.error("missing arg selection when setting arg value")},r._setArgFields=function(e,t){var n=r.props.selection,i=r._getArgSelection();if(i)return r.props.modifyArguments((n.arguments||[]).map(function(t){return t===i?o({},t,{value:{kind:"ObjectValue",fields:e}}):t}),t);console.error("missing arg selection when setting arg value")},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return a.createElement(D,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._setArgFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(a.PureComponent),A=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._handleChange=function(e){r.props.setArgValue(e,!0)},f(r,n)}return p(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this._ref,t=document.activeElement;!e||!t||t instanceof HTMLTextAreaElement||(e.focus(),e.setSelectionRange(0,e.value.length))}},{key:"render",value:function(){var e=this,t=this.props,n=t.arg,r=t.argValue,i=t.styleConfig,o=x(n.type),s="string"==typeof r.value?r.value:"",l="StringValue"===this.props.argValue.kind?i.colors.string:i.colors.number;return a.createElement("span",{style:{color:l}},"String"===o.name?'"':"",a.createElement("input",{style:{border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(1,Math.min(15,s.length))+"ch",color:l},ref:function(t){e._ref=t},type:"text",onChange:this._handleChange,value:s}),"String"===o.name?'"':"")}}]),t}(a.PureComponent),D=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={displayArgActions:!1},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.argValue,r=t.arg,s=t.styleConfig,u=x(r.type),d=null;if(n)if("Variable"===n.kind)d=a.createElement("span",{style:{color:s.colors.variable}},"$",n.name.value);else if((0,l.isScalarType)(u))d="Boolean"===u.name?a.createElement("select",{style:{color:s.colors.builtin},onChange:this.props.setArgValue,value:"BooleanValue"===n.kind?n.value:void 0},a.createElement("option",{key:"true",value:"true"},"true"),a.createElement("option",{key:"false",value:"false"},"false")):a.createElement(A,{setArgValue:this.props.setArgValue,arg:r,argValue:n,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig});else if((0,l.isEnumType)(u))"EnumValue"===n.kind?d=a.createElement("select",{style:{backgroundColor:"white",color:s.colors.string2},onChange:this.props.setArgValue,value:n.value},u.getValues().map(function(e){return a.createElement("option",{key:e.name,value:e.name},e.name)})):console.error("arg mismatch between arg and selection",u,n);else if((0,l.isInputObjectType)(u))if("ObjectValue"===n.kind){var f=u.getFields();d=a.createElement("div",{style:{marginLeft:16}},Object.keys(f).sort().map(function(t){return a.createElement(S,{key:t,arg:f[t],parentField:e.props.parentField,selection:n,modifyFields:e.props.setArgFields,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}))}else console.error("arg mismatch between arg and selection",u,n);var p=n&&"Variable"===n.kind,h=this.state.displayArgActions?a.createElement("button",{type:"submit",className:"toolbar-button",title:p?"Remove the variable":"Extract the current value into a GraphQL variable",onClick:function(t){t.preventDefault(),t.stopPropagation(),p?function(){if(n&&n.name&&n.name.value){var t=n.name.value,r=(e.props.definition.variableDefinitions||[]).find(function(e){return e.variable.name.value===t});if(r){var i=r.defaultValue,s=e.props.setArgValue(i,{commit:!1});if(s){var a=s.definitions.find(function(t){return t.name.value===e.props.definition.name.value});if(!a)return;var u=0;(0,l.visit)(a,{Variable:function(e){e.name.value===t&&(u+=1)}});var c=a.variableDefinitions||[];u<2&&(c=c.filter(function(e){return e.variable.name.value!==t}));var d=o({},a,{variableDefinitions:c}),f=s.definitions.map(function(e){return a===e?d:e}),p=o({},s,{definitions:f});e.props.onCommit(p)}}}}():function(){var t,s=r.name,a=(e.props.definition.variableDefinitions||[]).filter(function(e){return e.variable.name.value.startsWith(s)}).length;t=a>0?""+s+a:s;var u=r.type.toString(),d={kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:t}},type:(0,l.parseType)(u),directives:[]},f=void 0,p={};if(null!=n){var h=(0,l.visit)(n,{Variable:function(t){var n,r=t.name.value,i=(n=r,(e.props.definition.variableDefinitions||[]).find(function(e){return e.variable.name.value===n}));if(p[r]=p[r]+1||1,i)return i.defaultValue}}),m="NonNullType"===d.type.kind?o({},d,{type:d.type.type}):d;f=o({},m,{defaultValue:h})}else f=d;var g=Object.entries(p).filter(function(e){var t=i(e,2);return t[0],t[1]<2}).map(function(e){var t=i(e,2),n=t[0];return t[1],n});if(f){var y=e.props.setArgValue(f,!1);if(y){var v=y.definitions.find(function(t){return!!(t.operation&&t.name&&t.name.value&&e.props.definition.name&&e.props.definition.name.value)&&t.name.value===e.props.definition.name.value}),b=[].concat(c(v.variableDefinitions||[]),[f]).filter(function(e){return-1===g.indexOf(e.variable.name.value)}),E=o({},v,{variableDefinitions:b}),k=y.definitions.map(function(e){return v===e?E:e}),w=o({},y,{definitions:k});e.props.onCommit(w)}}}()},style:s.styles.actionButtonStyle},a.createElement("span",{style:{color:s.colors.variable}},"$")):null;return a.createElement("div",{style:{cursor:"pointer",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-arg-name":r.name,"data-arg-type":u.name,className:"graphiql-explorer-"+r.name},a.createElement("span",{style:{cursor:"pointer"},onClick:function(t){var r=!n;r?e.props.addArg(!0):e.props.removeArg(!0),e.setState({displayArgActions:r})}},(0,l.isInputObjectType)(u)?a.createElement("span",null,n?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):a.createElement(E,{checked:!!n,styleConfig:this.props.styleConfig}),a.createElement("span",{style:{color:s.colors.attribute},title:r.description,onMouseEnter:function(){null!=n&&e.setState({displayArgActions:!0})},onMouseLeave:function(){return e.setState({displayArgActions:!1})}},r.name,w(r)?"*":"",": ",h," ")," "),d||a.createElement("span",null)," ")}}]),t}(a.PureComponent),O=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:r.props.getDefaultFieldNames(r.props.implementingType).map(function(e){return{kind:"Field",name:{kind:"Name",value:e}}})}}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(t){return t!==e}))},r._getSelection=function(){var e=r.props.selections.find(function(e){return"InlineFragment"===e.kind&&e.typeCondition&&r.props.implementingType.name===e.typeCondition.name.value});return e?"InlineFragment"===e.kind?e:void 0:null},r._modifyChildSelections=function(e,t){var n=r._getSelection();return r.props.modifySelections(r.props.selections.map(function(t){return t===n?{directives:t.directives,kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:e}}:t}),t)},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.implementingType,r=t.schema,i=t.getDefaultFieldNames,o=t.styleConfig,s=this._getSelection(),l=n.getFields(),u=s&&s.selectionSet?s.selectionSet.selections:[];return a.createElement("div",{className:"graphiql-explorer-"+n.name},a.createElement("span",{style:{cursor:"pointer"},onClick:s?this._removeFragment:this._addFragment},a.createElement(E,{checked:!!s,styleConfig:this.props.styleConfig}),a.createElement("span",{style:{color:o.colors.atom}},this.props.implementingType.name)),s?a.createElement("div",{style:{marginLeft:16}},Object.keys(l).sort().map(function(t){return a.createElement(R,{key:t,field:l[t],selections:u,modifySelections:e._modifyChildSelections,schema:r,getDefaultFieldNames:i,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,onCommit:e.props.onCommit,styleConfig:e.props.styleConfig,definition:e.props.definition,availableFragments:e.props.availableFragments})})):null)}}]),t}(a.PureComponent),I=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"FragmentSpread",name:r.props.fragment.name}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(e){return!("FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value)}))},r._getSelection=function(){return r.props.selections.find(function(e){return"FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value})},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this.props.styleConfig,t=this._getSelection();return a.createElement("div",{className:"graphiql-explorer-"+this.props.fragment.name.value},a.createElement("span",{style:{cursor:"pointer"},onClick:t?this._removeFragment:this._addFragment},a.createElement(E,{checked:!!t,styleConfig:this.props.styleConfig}),a.createElement("span",{style:{color:e.colors.def},className:"graphiql-explorer-"+this.props.fragment.name.value},this.props.fragment.name.value)))}}]),t}(a.PureComponent);function L(e,t,n,r){var i=[],o=!0,s=!1,a=void 0;try{for(var u,c=r[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var d=u.value;if((0,l.isRequiredInputField)(d)||t&&t(n,d)){var f=x(d.type);(0,l.isInputObjectType)(f)?function(){var r=f.getFields();i.push({kind:"ObjectField",name:{kind:"Name",value:d.name},value:{kind:"ObjectValue",fields:L(e,t,n,Object.keys(r).map(function(e){return r[e]}))}})}():(0,l.isLeafType)(f)&&i.push({kind:"ObjectField",name:{kind:"Name",value:d.name},value:e(n,d,f)})}}}catch(e){s=!0,a=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw a}}return i}function F(e,t,n){var r=[],i=!0,o=!1,s=void 0;try{for(var a,u=n.args[Symbol.iterator]();!(i=(a=u.next()).done);i=!0){var c=a.value;if(w(c)||t&&t(n,c)){var d=x(c.type);(0,l.isInputObjectType)(d)?function(){var i=d.getFields();r.push({kind:"Argument",name:{kind:"Name",value:c.name},value:{kind:"ObjectValue",fields:L(e,t,n,Object.keys(i).map(function(e){return i[e]}))}})}():(0,l.isLeafType)(d)&&r.push({kind:"Argument",name:{kind:"Name",value:c.name},value:e(n,c,d)})}}}catch(e){o=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw s}}return r}var R=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={displayFieldActions:!1},r._addAllFieldsToSelections=function(e){var t={kind:"SelectionSet",selections:e?Object.keys(e).map(function(e){return{kind:"Field",name:{kind:"Name",value:e},arguments:[]}}):[]},n=[].concat(c(r.props.selections.filter(function(e){return"InlineFragment"===e.kind||e.name.value!==r.props.field.name})),[{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:F(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field),selectionSet:t}]);r.props.modifySelections(n)},r._addFieldToSelections=function(e){var t=[].concat(c(r.props.selections),[r._previousSelection||{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:F(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field)}]);r.props.modifySelections(t)},r._handleUpdateSelections=function(e){if(r._getSelection()&&!e.altKey)r._removeFieldFromSelections();else{var t=(0,l.getNamedType)(r.props.field.type),n=(0,l.isObjectType)(t)&&t.getFields();n&&e.altKey?r._addAllFieldsToSelections(n):r._addFieldToSelections(n)}},r._removeFieldFromSelections=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(t){return t!==e}))},r._getSelection=function(){var e=r.props.selections.find(function(e){return"Field"===e.kind&&r.props.field.name===e.name.value});return e?"Field"===e.kind?e:void 0:null},r._setArguments=function(e,t){var n=r._getSelection();if(n)return r.props.modifySelections(r.props.selections.map(function(t){return t===n?{alias:n.alias,arguments:e,directives:n.directives,kind:"Field",name:n.name,selectionSet:n.selectionSet}:t}),t);console.error("Missing selection when setting arguments",e)},r._modifyChildSelections=function(e,t){return r.props.modifySelections(r.props.selections.map(function(t){if("Field"===t.kind&&r.props.field.name===t.name.value){if("Field"!==t.kind)throw new Error("invalid selection");return{alias:t.alias,arguments:t.arguments,directives:t.directives,kind:"Field",name:t.name,selectionSet:{kind:"SelectionSet",selections:e}}}return t}),t)},f(r,n)}return p(t,e),s(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.field,i=n.schema,s=n.getDefaultFieldNames,u=n.styleConfig,d=this._getSelection(),f=function(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}(r.type),p=r.args.sort(function(e,t){return e.name.localeCompare(t.name)}),h="graphiql-explorer-node graphiql-explorer-"+r.name;r.isDeprecated&&(h+=" graphiql-explorer-deprecated");var m=(0,l.isObjectType)(f)||(0,l.isInterfaceType)(f)||(0,l.isUnionType)(f)?this.props.availableFragments&&this.props.availableFragments[f.name]:null,g=a.createElement("div",{className:h},a.createElement("span",{title:r.description,style:{cursor:"pointer",display:"inline-flex",alignItems:"center",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-field-name":r.name,"data-field-type":f.name,onClick:this._handleUpdateSelections,onMouseEnter:function(){(0,l.isObjectType)(f)&&d&&d.selectionSet&&d.selectionSet.selections.filter(function(e){return"FragmentSpread"!==e.kind}).length>0&&e.setState({displayFieldActions:!0})},onMouseLeave:function(){return e.setState({displayFieldActions:!1})}},(0,l.isObjectType)(f)?a.createElement("span",null,d?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):null,(0,l.isObjectType)(f)?null:a.createElement(E,{checked:!!d,styleConfig:this.props.styleConfig}),a.createElement("span",{style:{color:u.colors.property},className:"graphiql-explorer-field-view"},r.name),this.state.displayFieldActions?a.createElement("button",{type:"submit",className:"toolbar-button",title:"Extract selections into a new reusable fragment",onClick:function(t){t.preventDefault(),t.stopPropagation();var n=f.name+"Fragment",r=(m||[]).filter(function(e){return e.name.value.startsWith(n)}).length;r>0&&(n=""+n+r);var i=d&&d.selectionSet?d.selectionSet.selections:[],s=[{kind:"FragmentSpread",name:{kind:"Name",value:n},directives:[]}],a={kind:"FragmentDefinition",name:{kind:"Name",value:n},typeCondition:{kind:"NamedType",name:{kind:"Name",value:f.name}},directives:[],selectionSet:{kind:"SelectionSet",selections:i}},l=e._modifyChildSelections(s,!1);if(l){var u=o({},l,{definitions:[].concat(c(l.definitions),[a])});e.props.onCommit(u)}else console.warn("Unable to complete extractFragment operation")},style:o({},u.styles.actionButtonStyle)},a.createElement("span",null,"…")):null),d&&p.length?a.createElement("div",{style:{marginLeft:16},className:"graphiql-explorer-graphql-arguments"},p.map(function(t){return a.createElement(N,{key:t.name,parentField:r,arg:t,selection:d,modifyArguments:e._setArguments,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})):null);if(d&&((0,l.isObjectType)(f)||(0,l.isInterfaceType)(f)||(0,l.isUnionType)(f))){var y=(0,l.isUnionType)(f)?{}:f.getFields(),v=d&&d.selectionSet?d.selectionSet.selections:[];return a.createElement("div",{className:"graphiql-explorer-"+r.name},g,a.createElement("div",{style:{marginLeft:16}},m?m.map(function(t){var n=i.getType(t.typeCondition.name.value),r=t.name.value;return n?a.createElement(I,{key:r,fragment:t,selections:v,modifySelections:e._modifyChildSelections,schema:i,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit}):null}):null,Object.keys(y).sort().map(function(n){return a.createElement(t,{key:n,field:y[n],selections:v,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})}),(0,l.isInterfaceType)(f)||(0,l.isUnionType)(f)?i.getPossibleTypes(f).map(function(t){return a.createElement(O,{key:t.name,implementingType:t,selections:v,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}):null))}return g}}]),t}(a.PureComponent),P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[],name:{kind:"Name",value:"MyQuery"},directives:[],selectionSet:{kind:"SelectionSet",selections:[]}}]},M=null;var j={buttonStyle:{fontSize:"1.2em",padding:"0px",backgroundColor:"white",border:"none",margin:"5px 0px",height:"40px",width:"100%",display:"block",maxWidth:"none"},actionButtonStyle:{padding:"0px",backgroundColor:"white",border:"none",margin:"0px",maxWidth:"none",height:"15px",width:"15px",display:"inline-block",fontSize:"smaller"},explorerActionsStyle:{margin:"4px -8px -8px",paddingLeft:"8px",bottom:"0px",width:"100%",textAlign:"center",background:"none",borderTop:"none",borderBottom:"none"}},V=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.state={newOperationType:"query",displayTitleActions:!1},r._modifySelections=function(e,t){var n=r.props.definition;0===n.selectionSet.selections.length&&r._previousOperationDef&&(n=r._previousOperationDef);var i=void 0;if("FragmentDefinition"===n.kind)i=o({},n,{selectionSet:o({},n.selectionSet,{selections:e})});else if("OperationDefinition"===n.kind){var s=e.filter(function(e){return!("Field"===e.kind&&"__typename"===e.name.value)});0===s.length&&(s=[{kind:"Field",name:{kind:"Name",value:"__typename ## Placeholder value"}}]),i=o({},n,{selectionSet:o({},n.selectionSet,{selections:s})})}return r.props.onEdit(i,t)},r._onOperationRename=function(e){return r.props.onOperationRename(e.target.value)},r._handlePotentialRun=function(e){(function(e){return e.ctrlKey&&"Enter"===e.key})(e)&&"FragmentDefinition"!==r.props.definition.kind&&r.props.onRunOperation(r.props.name)},r._rootViewElId=function(){var e=r.props;return e.operationType+"-"+(e.name||"unknown")},f(r,n)}return p(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this._rootViewElId();this.props.onMount(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.operationType,r=t.definition,i=t.schema,s=t.getDefaultFieldNames,l=t.styleConfig,u=this._rootViewElId(),c=this.props.fields||{},d=r.selectionSet.selections,f=this.props.name||h(n)+" Name";return a.createElement("div",{id:u,tabIndex:"0",onKeyDown:this._handlePotentialRun,style:{borderBottom:this.props.isLast?"none":"1px solid #d6d6d6",marginBottom:"0em",paddingBottom:"1em"}},a.createElement("div",{style:{color:l.colors.keyword,paddingBottom:4},className:"graphiql-operation-title-bar",onMouseEnter:function(){return e.setState({displayTitleActions:!0})},onMouseLeave:function(){return e.setState({displayTitleActions:!1})}},n," ",a.createElement("span",{style:{color:l.colors.def}},a.createElement("input",{style:{color:l.colors.def,border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(4,f.length)+"ch"},autoComplete:"false",placeholder:h(n)+" Name",value:this.props.name,onKeyDown:this._handlePotentialRun,onChange:this._onOperationRename})),this.props.onTypeName?a.createElement("span",null,a.createElement("br",null),"on "+this.props.onTypeName):"",this.state.displayTitleActions?a.createElement(a.Fragment,null,a.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationDestroy()},style:o({},l.styles.actionButtonStyle)},a.createElement("span",null,"✕")),a.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationClone()},style:o({},l.styles.actionButtonStyle)},a.createElement("span",null,"⎘"))):""),Object.keys(c).sort().map(function(t){return a.createElement(R,{key:t,field:c[t],selections:d,modifySelections:e._modifySelections,schema:i,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})}))}}]),t}(a.PureComponent);function U(){return a.createElement("div",{style:{fontFamily:"sans-serif",display:"flex",flexDirection:"column",alignItems:"center",margin:"1em",marginTop:0,flexGrow:1,justifyContent:"flex-end"}},a.createElement("div",{style:{borderTop:"1px solid #d6d6d6",paddingTop:"1em",width:"100%",textAlign:"center"}},"GraphiQL Explorer by ",a.createElement("a",{href:"https://www.onegraph.com"},"OneGraph")),a.createElement("div",null,"Contribute on"," ",a.createElement("a",{href:"https://github.com/OneGraph/graphiql-explorer"},"GitHub")))}var B=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={newOperationType:"query",operation:null,operationToScrollTo:null},r._resetScroll=function(){var e=r._ref;e&&(e.scrollLeft=0)},r._onEdit=function(e){return r.props.onEdit(e)},r._setAddOperationType=function(e){r.setState({newOperationType:e})},r._handleRootViewMount=function(e){if(r.state.operationToScrollTo&&r.state.operationToScrollTo===e){var t=".graphiql-explorer-root #"+e,n=document.querySelector(t);n&&n.scrollIntoView()}},f(r,n)}return p(t,e),s(t,[{key:"componentDidMount",value:function(){this._resetScroll()}},{key:"render",value:function(){var e=this,t=this.props,n=t.schema,i=t.query,s=t.makeDefaultArg;if(!n)return a.createElement("div",{style:{fontFamily:"sans-serif"},className:"error-container"},"No Schema Available");var d={colors:this.props.colors||m,checkboxChecked:this.props.checkboxChecked||v,checkboxUnchecked:this.props.checkboxUnchecked||b,arrowClosed:this.props.arrowClosed||y,arrowOpen:this.props.arrowOpen||g,styles:this.props.styles?o({},j,this.props.styles):j},f=n.getQueryType(),p=n.getMutationType(),E=n.getSubscriptionType();if(!f&&!p&&!E)return a.createElement("div",null,"Missing query type");var w=f&&f.getFields(),x=p&&p.getFields(),_=E&&E.getFields(),S=function(e){if(M&&M[0]===e)return M[1];var t=function(e){try{return e.trim()?(0,l.parse)(e,{noLocation:!0}):null}catch(e){return new Error(e)}}(e);return t?t instanceof Error?M?M[1]:P:(M=[e,t],t):P}(i),T=this.props.getDefaultFieldNames||k,N=this.props.getDefaultScalarArgValue||C,A=S.definitions.map(function(e){return"FragmentDefinition"===e.kind||"OperationDefinition"===e.kind?e:null}).filter(Boolean),D=0===A.length?P.definitions:A,O=[w?a.createElement("option",{key:"query",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"query"},"Query"):null,x?a.createElement("option",{key:"mutation",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"mutation"},"Mutation"):null,_?a.createElement("option",{key:"subscription",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"subscription"},"Subscription"):null].filter(Boolean),I=0===O.length||this.props.hideActions?null:a.createElement("div",{style:{minHeight:"50px",maxHeight:"50px",overflow:"none"}},a.createElement("form",{className:"variable-editor-title graphiql-explorer-actions",style:o({},d.styles.explorerActionsStyle,{display:"flex",flexDirection:"row",alignItems:"center",borderTop:"1px solid rgb(214, 214, 214)"}),onSubmit:function(e){return e.preventDefault()}},a.createElement("span",{style:{display:"inline-block",flexGrow:"0",textAlign:"right"}},"Add new"," "),a.createElement("select",{onChange:function(t){return e._setAddOperationType(t.target.value)},value:this.state.newOperationType,style:{flexGrow:"2"}},O),a.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.state.newOperationType?(t=e.state.newOperationType,n=S.definitions,i=(r=1===S.definitions.length&&S.definitions[0]===P.definitions[0])?[]:n.filter(function(e){return"OperationDefinition"===e.kind&&e.operation===t}),s="My"+h(t)+(0===i.length?"":i.length+1),a={kind:"OperationDefinition",operation:t,name:{kind:"Name",value:s},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename # Placeholder value",loc:null},arguments:[],directives:[],selectionSet:null,loc:null}],loc:null},loc:null},u=r?[a]:[].concat(c(S.definitions),[a]),d=o({},S,{definitions:u}),e.setState({operationToScrollTo:t+"-"+s}),void e.props.onEdit((0,l.print)(d))):null;var t,n,r,i,s,a,u,d},style:o({},d.styles.buttonStyle,{height:"22px",width:"22px"})},a.createElement("span",null,"+")))),L=this.props.externalFragments&&this.props.externalFragments.reduce(function(e,t){if("FragmentDefinition"===t.kind){var n=t.typeCondition.name.value,r=e[n]||[],i=[].concat(c(r),[t]).sort(function(e,t){return e.name.value.localeCompare(t.name.value)});return o({},e,u({},n,i))}return e},{}),F=D.reduce(function(e,t){if("FragmentDefinition"===t.kind){var n=t.typeCondition.name.value,r=e[n]||[],i=[].concat(c(r),[t]).sort(function(e,t){return e.name.value.localeCompare(t.name.value)});return o({},e,u({},n,i))}return e},{}),R=o({},F,L),B=this.props.showAttribution?a.createElement(U,null):null;return a.createElement("div",{ref:function(t){e._ref=t},style:{fontSize:12,textOverflow:"ellipsis",whiteSpace:"nowrap",margin:0,padding:8,fontFamily:'Consolas, Inconsolata, "Droid Sans Mono", Monaco, monospace',display:"flex",flexDirection:"column",height:"100%"},className:"graphiql-explorer-root"},a.createElement("div",{style:{flexGrow:"1",overflow:"scroll"}},D.map(function(t,i){var u=t&&t.name&&t.name.value,f="FragmentDefinition"===t.kind?"fragment":t&&t.operation||"query",p="FragmentDefinition"===t.kind&&"NamedType"===t.typeCondition.kind&&n.getType(t.typeCondition.name.value),h=p instanceof l.GraphQLObjectType?p.getFields():null,m="query"===f?w:"mutation"===f?x:"subscription"===f?_:"FragmentDefinition"===t.kind?h:null,g="FragmentDefinition"===t.kind?t.typeCondition.name.value:null,y=function(t){var n=(0,l.print)(t);e.props.onEdit(n)};return a.createElement(V,{key:i,isLast:i===D.length-1,fields:m,operationType:f,name:u,definition:t,onOperationRename:function(n){var r,i,s,a,u=(s=o({},r=t,{name:null==(i=n)||""===i?null:{kind:"Name",value:i,loc:void 0}}),a=S.definitions.map(function(e){return r===e?s:e}),o({},S,{definitions:a}));e.props.onEdit((0,l.print)(u))},onOperationDestroy:function(){var n,r,i=(n=t,r=S.definitions.filter(function(e){return n!==e}),o({},S,{definitions:r}));e.props.onEdit((0,l.print)(i))},onOperationClone:function(){var n=function(t){var n;n="FragmentDefinition"===t.kind?"fragment":t.operation;var r=(t.name&&t.name.value||"")+"Copy",i=o({},t,{name:{kind:"Name",value:r,loc:void 0}}),s=S.definitions,a=[].concat(c(s),[i]);return e.setState({operationToScrollTo:n+"-"+r}),o({},S,{definitions:a})}(t);e.props.onEdit((0,l.print)(n))},onTypeName:g,onMount:e._handleRootViewMount,onCommit:y,onEdit:function(e,n){var i;if(i="object"!==(void 0===n?"undefined":r(n))||void 0===n.commit||n.commit,e){var s=o({},S,{definitions:S.definitions.map(function(n){return n===t?e:n})});return i?(y(s),s):s}return S},schema:n,getDefaultFieldNames:T,getDefaultScalarArgValue:N,makeDefaultArg:s,onRunOperation:function(){e.props.onRunOperation&&e.props.onRunOperation(u)},styleConfig:d,availableFragments:R})}),B),I)}}]),t}(a.PureComponent);B.defaultProps={getDefaultFieldNames:k,getDefaultScalarArgValue:C};var $=function(e){function t(){var e,n,r;d(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={hasError:!1,error:null,errorInfo:null},f(r,n)}return p(t,e),s(t,[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,errorInfo:t}),console.error("Error in component",e,t)}},{key:"render",value:function(){return this.state.hasError?a.createElement("div",{style:{padding:18,fontFamily:"sans-serif"}},a.createElement("div",null,"Something went wrong"),a.createElement("details",{style:{whiteSpace:"pre-wrap"}},this.state.error?this.state.error.toString():null,a.createElement("br",null),this.state.errorInfo?this.state.errorInfo.componentStack:null)):this.props.children}}]),t}(a.Component),q=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),s(t,[{key:"render",value:function(){return a.createElement("div",{className:"docExplorerWrap",style:{height:"100%",width:this.props.width,minWidth:this.props.width,zIndex:7,display:this.props.explorerIsOpen?"flex":"none",flexDirection:"column",overflow:"hidden"}},a.createElement("div",{className:"doc-explorer-title-bar"},a.createElement("div",{className:"doc-explorer-title"},this.props.title),a.createElement("div",{className:"doc-explorer-rhs"},a.createElement("div",{className:"docExplorerHide",onClick:this.props.onToggleExplorer},"✕"))),a.createElement("div",{className:"doc-explorer-contents",style:{padding:"0px",overflowY:"unset"}},a.createElement($,null,a.createElement(B,this.props))))}}]),t}(a.PureComponent);q.defaultValue=T,q.defaultProps={width:320,title:"Explorer"},t.default=q},60942:(e,t,n)=>{n.d(t,{IN:()=>g,LC:()=>S,P8:()=>_,S8:()=>b,SA:()=>v,V8:()=>w,Vn:()=>T,fj:()=>E,hd:()=>k,pD:()=>x});var r=n(8144);const i=46,o=47,s=92,a=58;class l extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function u(e,t){if("string"!=typeof e)throw new l(t,"string",e)}const c="win32"===r.iD;function d(e){return e===o||e===s}function f(e){return e===o}function p(e){return e>=65&&e<=90||e>=97&&e<=122}function h(e,t,n,r){let s="",a=0,l=-1,u=0,c=0;for(let d=0;d<=e.length;++d){if(d<e.length)c=e.charCodeAt(d);else{if(r(c))break;c=o}if(r(c)){if(l===d-1||1===u);else if(2===u){if(s.length<2||2!==a||s.charCodeAt(s.length-1)!==i||s.charCodeAt(s.length-2)!==i){if(s.length>2){const e=s.lastIndexOf(n);-1===e?(s="",a=0):(s=s.slice(0,e),a=s.length-1-s.lastIndexOf(n)),l=d,u=0;continue}if(0!==s.length){s="",a=0,l=d,u=0;continue}}t&&(s+=s.length>0?`${n}..`:"..",a=2)}else s.length>0?s+=`${n}${e.slice(l+1,d)}`:s=e.slice(l+1,d),a=d-l-1;l=d,u=0}else c===i&&-1!==u?++u:u=-1}return s}function m(e,t){!function(e){if(null===e||"object"!=typeof e)throw new l("pathObject","Object",e)}(t);const n=t.dir||t.root,r=t.base||`${t.name||""}${i=t.ext,i?`${"."===i[0]?"":"."}${i}`:""}`;var i;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const g={resolve(...e){let t="",n="",i=!1;for(let o=e.length-1;o>=-1;o--){let l;if(o>=0){if(l=e[o],u(l,`paths[${o}]`),0===l.length)continue}else 0===t.length?l=r.bJ():(l=r._K[`=${t}`]||r.bJ(),(void 0===l||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&l.charCodeAt(2)===s)&&(l=`${t}\\`));const c=l.length;let f=0,h="",m=!1;const g=l.charCodeAt(0);if(1===c)d(g)&&(f=1,m=!0);else if(d(g))if(m=!0,d(l.charCodeAt(1))){let e=2,t=e;for(;e<c&&!d(l.charCodeAt(e));)e++;if(e<c&&e!==t){const n=l.slice(t,e);for(t=e;e<c&&d(l.charCodeAt(e));)e++;if(e<c&&e!==t){for(t=e;e<c&&!d(l.charCodeAt(e));)e++;e!==c&&e===t||(h=`\\\\${n}\\${l.slice(t,e)}`,f=e)}}}else f=1;else p(g)&&l.charCodeAt(1)===a&&(h=l.slice(0,2),f=2,c>2&&d(l.charCodeAt(2))&&(m=!0,f=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(i){if(t.length>0)break}else if(n=`${l.slice(f)}\\${n}`,i=m,m&&t.length>0)break}return n=h(n,!i,"\\",d),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){u(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const o=e.charCodeAt(0);if(1===t)return f(o)?"\\":e;if(d(o))if(i=!0,d(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!d(e.charCodeAt(i));)i++;if(i<t&&i!==o){const s=e.slice(o,i);for(o=i;i<t&&d(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!d(e.charCodeAt(i));)i++;if(i===t)return`\\\\${s}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${s}\\${e.slice(o,i)}`,r=i)}}}else r=1;else p(o)&&e.charCodeAt(1)===a&&(n=e.slice(0,2),r=2,t>2&&d(e.charCodeAt(2))&&(i=!0,r=3));let s=r<t?h(e.slice(r),!i,"\\",d):"";return 0!==s.length||i||(s="."),s.length>0&&d(e.charCodeAt(t-1))&&(s+="\\"),void 0===n?i?`\\${s}`:s:i?`${n}\\${s}`:`${n}${s}`},isAbsolute(e){u(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return d(n)||t>2&&p(n)&&e.charCodeAt(1)===a&&d(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];u(i,"path"),i.length>0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&d(n.charCodeAt(0))){++i;const e=n.length;e>1&&d(n.charCodeAt(1))&&(++i,e>2&&(d(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&d(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return g.normalize(t)},relative(e,t){if(u(e,"from"),u(t,"to"),e===t)return"";const n=g.resolve(e),r=g.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===s;)i++;let o=e.length;for(;o-1>i&&e.charCodeAt(o-1)===s;)o--;const a=o-i;let l=0;for(;l<t.length&&t.charCodeAt(l)===s;)l++;let c=t.length;for(;c-1>l&&t.charCodeAt(c-1)===s;)c--;const d=c-l,f=a<d?a:d;let p=-1,h=0;for(;h<f;h++){const n=e.charCodeAt(i+h);if(n!==t.charCodeAt(l+h))break;n===s&&(p=h)}if(h!==f){if(-1===p)return r}else{if(d>f){if(t.charCodeAt(l+h)===s)return r.slice(l+h+1);if(2===h)return r.slice(l+h)}a>f&&(e.charCodeAt(i+h)===s?p=h:2===h&&(p=3)),-1===p&&(p=0)}let m="";for(h=i+p+1;h<=o;++h)h!==o&&e.charCodeAt(h)!==s||(m+=0===m.length?"..":"\\..");return l+=p,m.length>0?`${m}${r.slice(l,c)}`:(r.charCodeAt(l)===s&&++l,r.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;const t=g.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===s){if(t.charCodeAt(1)===s){const e=t.charCodeAt(2);if(63!==e&&e!==i)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(p(t.charCodeAt(0))&&t.charCodeAt(1)===a&&t.charCodeAt(2)===s)return`\\\\?\\${t}`;return e},dirname(e){u(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return d(i)?e:".";if(d(i)){if(n=r=1,d(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!d(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&d(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!d(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else p(i)&&e.charCodeAt(1)===a&&(n=t>2&&d(e.charCodeAt(2))?3:2,r=n);let o=-1,s=!0;for(let n=t-1;n>=r;--n)if(d(e.charCodeAt(n))){if(!s){o=n;break}}else s=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){void 0!==t&&u(t,"suffix"),u(e,"path");let n,r=0,i=-1,o=!0;if(e.length>=2&&p(e.charCodeAt(0))&&e.charCodeAt(1)===a&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(d(l)){if(!o){r=n+1;break}}else-1===a&&(o=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1===--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(d(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){u(e,"path");let t=0,n=-1,r=0,o=-1,s=!0,l=0;e.length>=2&&e.charCodeAt(1)===a&&p(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(d(t)){if(!s){r=a+1;break}}else-1===o&&(s=!1,o=a+1),t===i?-1===n?n=a:1!==l&&(l=1):-1!==n&&(l=-1)}return-1===n||-1===o||0===l||1===l&&n===o-1&&n===r+1?"":e.slice(n,o)},format:m.bind(null,"\\"),parse(e){u(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,o=e.charCodeAt(0);if(1===n)return d(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(d(o)){if(r=1,d(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!d(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&d(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!d(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(p(o)&&e.charCodeAt(1)===a){if(n<=2)return t.root=t.dir=e,t;if(r=2,d(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let s=-1,l=r,c=-1,f=!0,h=e.length-1,m=0;for(;h>=r;--h)if(o=e.charCodeAt(h),d(o)){if(!f){l=h+1;break}}else-1===c&&(f=!1,c=h+1),o===i?-1===s?s=h:1!==m&&(m=1):-1!==s&&(m=-1);return-1!==c&&(-1===s||0===m||1===m&&s===c-1&&s===l+1?t.base=t.name=e.slice(l,c):(t.name=e.slice(l,s),t.base=e.slice(l,c),t.ext=e.slice(s,c))),t.dir=l>0&&l!==r?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},y=(()=>{if(c){const e=/\\/g;return()=>{const t=r.bJ().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>r.bJ()})(),v={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:y();u(i,`paths[${r}]`),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===o)}return t=h(t,!n,"/",f),n?`/${t}`:t.length>0?t:"."},normalize(e){if(u(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===o,n=e.charCodeAt(e.length-1)===o;return 0===(e=h(e,!t,"/",f)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(u(e,"path"),e.length>0&&e.charCodeAt(0)===o),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];u(r,"path"),r.length>0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":v.normalize(t)},relative(e,t){if(u(e,"from"),u(t,"to"),e===t)return"";if((e=v.resolve(e))===(t=v.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let a=-1,l=0;for(;l<s;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;n===o&&(a=l)}if(l===s)if(i>s){if(t.charCodeAt(1+l)===o)return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else r>s&&(e.charCodeAt(1+l)===o?a=l:0===l&&(a=0));let c="";for(l=1+a+1;l<=n;++l)l!==n&&e.charCodeAt(l)!==o||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(u(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===o;let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(e.charCodeAt(t)===o){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&u(t,"ext"),u(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){const u=e.charCodeAt(n);if(u===o){if(!s){r=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(u===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===o){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){u(e,"path");let t=-1,n=0,r=-1,s=!0,a=0;for(let l=e.length-1;l>=0;--l){const u=e.charCodeAt(l);if(u!==o)-1===r&&(s=!1,r=l+1),u===i?-1===t?t=l:1!==a&&(a=1):-1!==t&&(a=-1);else if(!s){n=l+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:m.bind(null,"/"),parse(e){u(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===o;let r;n?(t.root="/",r=1):r=0;let s=-1,a=0,l=-1,c=!0,d=e.length-1,f=0;for(;d>=r;--d){const t=e.charCodeAt(d);if(t!==o)-1===l&&(c=!1,l=d+1),t===i?-1===s?s=d:1!==f&&(f=1):-1!==s&&(f=-1);else if(!c){a=d+1;break}}if(-1!==l){const r=0===a&&n?1:a;-1===s||0===f||1===f&&s===l-1&&s===a+1?t.base=t.name=e.slice(r,l):(t.name=e.slice(r,s),t.base=e.slice(r,l),t.ext=e.slice(s,l))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};v.win32=g.win32=g,v.posix=g.posix=v;const b=c?g.normalize:v.normalize,E=c?g.join:v.join,k=c?g.resolve:v.resolve,w=c?g.relative:v.relative,x=c?g.dirname:v.dirname,_=c?g.basename:v.basename,S=c?g.extname:v.extname,T=c?g.sep:v.sep},61197:(e,t)=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},61504:(e,t,n)=>{n(620),n(13924)},62012:e=>{function t(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},63858:(e,t,n)=>{function r(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let o=e.charCodeAt(n),a=t.charCodeAt(r);if(s(o)&&s(a)){let l=0;do{++n,l=10*l+o-i,o=e.charCodeAt(n)}while(s(o)&&l>0);let u=0;do{++r,u=10*u+a-i,a=t.charCodeAt(r)}while(s(a)&&u>0);if(l<u)return-1;if(l>u)return 1}else{if(o<a)return-1;if(o>a)return 1;++n,++r}}return e.length-t.length}n.d(t,{p:()=>r});const i=48,o=57;function s(e){return!isNaN(e)&&i<=e&&e<=o}},64917:(e,t,n)=>{n.d(t,{n8:()=>i,sP:()=>o,uI:()=>s});var r=n(73663);function i(e,t){return e===t||((0,r.bd)(e)&&(0,r.bd)(t)||!(!(0,r.Fs)(e)||!(0,r.Fs)(t)))&&i(e.ofType,t.ofType)}function o(e,t,n){return t===n||((0,r.bd)(n)?!!(0,r.bd)(t)&&o(e,t.ofType,n.ofType):(0,r.bd)(t)?o(e,t.ofType,n):(0,r.Fs)(n)?!!(0,r.Fs)(t)&&o(e,t.ofType,n.ofType):!(0,r.Fs)(t)&&(0,r.Lc)(n)&&((0,r.kD)(t)||(0,r.YQ)(t))&&e.isSubType(n,t))}function s(e,t,n){return t===n||((0,r.Lc)(t)?(0,r.Lc)(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!(0,r.Lc)(n)&&e.isSubType(n,t))}},65410:(e,t,n)=>{n.d(t,{D:()=>h});var r=n(35198),i=n(93217),o=n(96394),s=n(91070),a=n(98195),l=n(25329),u=n(67274),c=n(84143),d=n(28957),f=n(73663),p=n(69327);function h(e,t){(0,s.Z)(e)&&(0,s.Z)(e.__schema)||(0,i.U)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,r.N)(e)}.`);const n=e.__schema,h=(0,o.L)(n.types,e=>e.name,e=>function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case d.fY.SCALAR:return i=e,new f.Ag({name:i.name,description:i.description,specifiedByURL:i.specifiedByURL});case d.fY.OBJECT:return n=e,new f.bh({name:n.name,description:n.description,interfaces:()=>x(n),fields:()=>_(n)});case d.fY.INTERFACE:return t=e,new f.VA({name:t.name,description:t.description,interfaces:()=>x(t),fields:()=>_(t)});case d.fY.UNION:return function(e){if(!e.possibleTypes){const t=(0,r.N)(e);throw new Error(`Introspection result missing possibleTypes: ${t}.`)}return new f.hI({name:e.name,description:e.description,types:()=>e.possibleTypes.map(k)})}(e);case d.fY.ENUM:return function(e){if(!e.enumValues){const t=(0,r.N)(e);throw new Error(`Introspection result missing enumValues: ${t}.`)}return new f.Zb({name:e.name,description:e.description,values:(0,o.L)(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case d.fY.INPUT_OBJECT:return function(e){if(!e.inputFields){const t=(0,r.N)(e);throw new Error(`Introspection result missing inputFields: ${t}.`)}return new f.zP({name:e.name,description:e.description,fields:()=>T(e.inputFields)})}(e)}var t,n,i;const s=(0,r.N)(e);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${s}.`)}(e));for(const e of[...c.YC,...d.V4])h[e.name]&&(h[e.name]=e);const m=n.queryType?k(n.queryType):null,g=n.mutationType?k(n.mutationType):null,y=n.subscriptionType?k(n.subscriptionType):null,v=n.directives?n.directives.map(function(e){if(!e.args){const t=(0,r.N)(e);throw new Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){const t=(0,r.N)(e);throw new Error(`Introspection result missing directive locations: ${t}.`)}return new u.RR({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:T(e.args)})}):[];return new l.V4({description:n.description,query:m,mutation:g,subscription:y,types:Object.values(h),directives:v,assumeValid:null==t?void 0:t.assumeValid});function b(e){if(e.kind===d.fY.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new f.KT(b(t))}if(e.kind===d.fY.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const n=b(t);return new f.Gc((0,f.wG)(n))}return E(e)}function E(e){const t=e.name;if(!t)throw new Error(`Unknown type reference: ${(0,r.N)(e)}.`);const n=h[t];if(!n)throw new 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 k(e){return(0,f.qC)(E(e))}function w(e){return(0,f.qL)(E(e))}function x(e){if(null===e.interfaces&&e.kind===d.fY.INTERFACE)return[];if(!e.interfaces){const t=(0,r.N)(e);throw new Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(w)}function _(e){if(!e.fields)throw new Error(`Introspection result missing fields: ${(0,r.N)(e)}.`);return(0,o.L)(e.fields,e=>e.name,S)}function S(e){const t=b(e.type);if(!(0,f.oH)(t)){const e=(0,r.N)(t);throw new Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){const t=(0,r.N)(e);throw new Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:T(e.args)}}function T(e){return(0,o.L)(e,e=>e.name,C)}function C(e){const t=b(e.type);if(!(0,f.dX)(t)){const e=(0,r.N)(t);throw new Error(`Introspection must provide input type for arguments, but received: ${e}.`)}const n=null!=e.defaultValue?(0,p.i)((0,a.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}},66310:(e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,s=i>>>1;r<s;){var a=2*(r+1)-1,l=e[a],u=a+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,E="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(g=!1,k(e),!m)if(null!==r(u))m=!0,_||(_=!0,x());else{var t=r(c);null!==t&&I(w,t.startTime-e)}}var x,_=!1,S=-1,T=5,C=-1;function N(){return!(!y&&t.unstable_now()-C<T)}function A(){if(y=!1,_){var e=t.unstable_now();C=e;var n=!0;try{e:{m=!1,g&&(g=!1,b(S),S=-1),h=!0;var o=p;try{t:{for(k(e),f=r(u);null!==f&&!(f.expirationTime>e&&N());){var s=f.callback;if("function"==typeof s){f.callback=null,p=f.priorityLevel;var a=s(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof a){f.callback=a,k(e),n=!0;break t}f===r(u)&&i(u),k(e)}else i(u);f=r(u)}if(null!==f)n=!0;else{var l=r(c);null!==l&&I(w,l.startTime-e),n=!1}}break e}finally{f=null,p=o,h=!1}n=void 0}}finally{n?x():_=!1}}}if("function"==typeof E)x=function(){E(A)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,O=D.port2;D.port1.onmessage=A,x=function(){O.postMessage(null)}}else x=function(){v(A,0)};function I(e,n){S=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>s?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(g?(b(S),S=-1):g=!0,I(w,o-s))):(e.sortIndex=a,n(u,e),m||h||(m=!0,_||(_=!0,x()))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},66972:(e,t,n)=>{n.d(t,{Ay:()=>s});var r=n(90424),i=n(98195),o=n(15741);function s(e,t){if(t)try{const n=(0,i.qg)(t);return Object.assign(Object.assign({},function(e,t){const n=t?(0,o.S)(t,e):void 0,i=[];return(0,r.YR)(e,{OperationDefinition(e){i.push(e)}}),{variableToType:n,operations:i}}(n,e)),{documentAST:n})}catch(e){}}},67274:(e,t,n)=>{n.d(t,{BR:()=>y,HQ:()=>m,Il:()=>b,MQ:()=>g,Qe:()=>x,RR:()=>h,gw:()=>k,nK:()=>v,qT:()=>f,rc:()=>w,yK:()=>E,yq:()=>p});var r=n(35198),i=n(40698),o=n(93217),s=n(50792),a=n(91070),l=n(42868),u=n(20567),c=n(84143),d=n(73663);function f(e){return(0,s.h)(e,h)}function p(e){if(!f(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL directive.`);return e}class h{constructor(e){var t,n;this.name=(0,u.I)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=(0,i.z)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,o.U)(!1,`@${e.name} locations must be an Array.`);const r=null!==(n=e.args)&&void 0!==n?n:{};(0,a.Z)(r)&&!Array.isArray(r)||(0,o.U)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,d.Kx)(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,d.g0)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const m=new h({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[l.H.FIELD,l.H.FRAGMENT_SPREAD,l.H.INLINE_FRAGMENT],args:{if:{type:new d.Gc(c.kk),description:"Included when true."}}}),g=new h({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[l.H.FIELD,l.H.FRAGMENT_SPREAD,l.H.INLINE_FRAGMENT],args:{if:{type:new d.Gc(c.kk),description:"Skipped when true."}}}),y=new h({name:"defer",description:"Directs the executor to defer this fragment when the `if` argument is true or undefined.",locations:[l.H.FRAGMENT_SPREAD,l.H.INLINE_FRAGMENT],args:{if:{type:c.kk,description:"Deferred when true or undefined."},label:{type:c.FV,description:"Unique name"}}}),v=new h({name:"stream",description:"Directs the executor to stream plural fields when the `if` argument is true or undefined.",locations:[l.H.FIELD],args:{if:{type:c.kk,description:"Stream when true or undefined."},label:{type:c.FV,description:"Unique name"},initialCount:{defaultValue:0,type:c.Fh,description:"Number of items to return immediately"}}}),b="No longer supported",E=new h({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[l.H.FIELD_DEFINITION,l.H.ARGUMENT_DEFINITION,l.H.INPUT_FIELD_DEFINITION,l.H.ENUM_VALUE],args:{reason:{type:c.FV,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:b}}}),k=new h({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[l.H.SCALAR],args:{url:{type:new d.Gc(c.FV),description:"The URL that specifies the behavior of this scalar."}}}),w=Object.freeze([m,g,E,k]);function x(e){return w.some(({name:t})=>t===e.name)}},67565:(e,t,n)=>{n.d(t,{A:()=>d,X:()=>c});var r=n(35198),i=n(15487),o=n(48255),s=n(42455),a=n(9554),l=n(67274),u=n(73663);function c(e){return{...d(e),Field:{leave(t){var n;const i=e.getFieldDef();if(!i)return!1;const s=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map(e=>e.name.value));for(const n of i.args)if(!s.has(n.name)&&(0,u.xP)(n)){const s=(0,r.N)(n.type);e.reportError(new o.eO(`Field "${i.name}" argument "${n.name}" of type "${s}" is required, but it was not provided.`,t))}}}}}function d(e){var t;const n=Object.create(null),c=e.getSchema(),d=null!==(t=null==c?void 0:c.getDirectives())&&void 0!==t?t:l.rc;for(const e of d)n[e.name]=(0,i.K)(e.args.filter(u.xP),e=>e.name);const p=e.getDocument().definitions;for(const e of p)if(e.kind===s.b.DIRECTIVE_DEFINITION){var h;const t=null!==(h=e.arguments)&&void 0!==h?h:[];n[e.name.value]=(0,i.K)(t.filter(f),e=>e.name.value)}return{Directive:{leave(t){const i=t.name.value,s=n[i];if(s){var l;const n=null!==(l=t.arguments)&&void 0!==l?l:[],c=new Set(n.map(e=>e.name.value));for(const[n,l]of Object.entries(s))if(!c.has(n)){const s=(0,u.Xj)(l.type)?(0,r.N)(l.type):(0,a.y)(l.type);e.reportError(new o.eO(`Directive "@${i}" argument "${n}" of type "${s}" is required, but it was not provided.`,t))}}}}}}function f(e){return e.type.kind===s.b.NON_NULL_TYPE&&null==e.defaultValue}},67714:(e,t,n)=>{n.d(t,{CS:()=>s,OC:()=>i,yo:()=>a});var r=n(25881);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let t=0;t<e.length;++t){var s;const a=e[t],l=o(a);l!==a.length&&(r=null!==(s=r)&&void 0!==s?s:t,i=t,0!==t&&l<n&&(n=l))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}function s(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!(t||r&&i)}function a(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.i0)(e.charCodeAt(0))),a=n.endsWith('\\"""'),l=e.endsWith('"')&&!a,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||s||a);let f="";const p=o&&(0,r.i0)(e.charCodeAt(0));return(d&&!p||s)&&(f+="\n"),f+=n,(d||c)&&(f+="\n"),'"""'+f+'"""'}},68022:(e,t,n)=>{n.d(t,{E:()=>u});var r=n(35198),i=n(48255),o=n(42455),s=n(73663),a=n(89494),l=n(64917);function u(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const o=e.getRecursiveVariableUsages(n);for(const{node:n,type:s,defaultValue:l}of o){const o=n.name.value,u=t[o];if(u&&s){const t=e.getSchema(),d=(0,a.v)(t,u.type);if(d&&!c(t,d,u.defaultValue,s,l)){const t=(0,r.N)(d),a=(0,r.N)(s);e.reportError(new i.eO(`Variable "$${o}" of type "${t}" used in position expecting type "${a}".`,[u,n]))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function c(e,t,n,r,i){if((0,s.bd)(r)&&!(0,s.bd)(t)){if((null==n||n.kind===o.b.NULL)&&void 0===i)return!1;const s=r.ofType;return(0,l.sP)(e,t,s)}return(0,l.sP)(e,t,r)}},68172:(e,t,n)=>{n.d(t,{St:()=>a,ph:()=>s,pu:()=>l});var r=n(56514),i=n(359),o=n(37066);n(69014);const s=e=>"getModeId"in e?e.getModeId():e.getLanguageId();function a(e){return new o.yX(e.lineNumber-1,e.column-1)}const l=e=>{const{schema:t,documentAST:n,introspectionJSON:o,introspectionJSONString:s,documentString:a,...l}=e;if(t)return{...l,documentString:(0,r.rK)(t)};if(s)return{...l,introspectionJSONString:s};if(a)return{...l,documentString:a};if(o)return{...l,introspectionJSONString:JSON.stringify(o)};if(n){const e=(0,i.o)(n,l.buildSchemaOptions);return{...l,documentString:(0,r.rK)(e)}}throw new Error("No schema supplied")}},68746:(e,t,n)=>{n(13924)},69014:(e,t,n)=>{var r,i,o,s,a,l,u,c,d,f,p,h,m,g,y,v,b,E,k,w,x,_,S,T,C,N,A,D,O,I,L,F,R,P,M,j,V,U,B,$,q,z,H,K,W,Y;n.d(t,{A5:()=>L,Ah:()=>F,DD:()=>_,DO:()=>P,Gn:()=>r,H_:()=>z,Ic:()=>R,Io:()=>s,Kb:()=>f,M$:()=>v,OV:()=>D,QP:()=>a,Qj:()=>u,R3:()=>C,SB:()=>U,U7:()=>H,VW:()=>E,VX:()=>N,WA:()=>$,WU:()=>g,XR:()=>V,YT:()=>O,ZS:()=>y,_E:()=>o,cj:()=>S,dE:()=>I,d_:()=>T,e0:()=>p,h5:()=>c,hS:()=>A,hW:()=>M,jT:()=>B,kK:()=>W,kf:()=>m,l:()=>b,m9:()=>K,of:()=>d,ok:()=>i,ov:()=>j,p2:()=>h,qw:()=>w,r4:()=>k,sm:()=>x,t7:()=>l,tJ:()=>Y,v0:()=>q}),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(i||(i={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(s||(s={})),function(e){e[e.Deprecated=1]="Deprecated"}(a||(a={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(l||(l={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(p||(p={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.inlineEdit=63]="inlineEdit",e[e.letterSpacing=64]="letterSpacing",e[e.lightbulb=65]="lightbulb",e[e.lineDecorationsWidth=66]="lineDecorationsWidth",e[e.lineHeight=67]="lineHeight",e[e.lineNumbers=68]="lineNumbers",e[e.lineNumbersMinChars=69]="lineNumbersMinChars",e[e.linkedEditing=70]="linkedEditing",e[e.links=71]="links",e[e.matchBrackets=72]="matchBrackets",e[e.minimap=73]="minimap",e[e.mouseStyle=74]="mouseStyle",e[e.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=76]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",e[e.multiCursorModifier=78]="multiCursorModifier",e[e.multiCursorPaste=79]="multiCursorPaste",e[e.multiCursorLimit=80]="multiCursorLimit",e[e.occurrencesHighlight=81]="occurrencesHighlight",e[e.overviewRulerBorder=82]="overviewRulerBorder",e[e.overviewRulerLanes=83]="overviewRulerLanes",e[e.padding=84]="padding",e[e.pasteAs=85]="pasteAs",e[e.parameterHints=86]="parameterHints",e[e.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",e[e.placeholder=88]="placeholder",e[e.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",e[e.quickSuggestions=90]="quickSuggestions",e[e.quickSuggestionsDelay=91]="quickSuggestionsDelay",e[e.readOnly=92]="readOnly",e[e.readOnlyMessage=93]="readOnlyMessage",e[e.renameOnType=94]="renameOnType",e[e.renderControlCharacters=95]="renderControlCharacters",e[e.renderFinalNewline=96]="renderFinalNewline",e[e.renderLineHighlight=97]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=99]="renderValidationDecorations",e[e.renderWhitespace=100]="renderWhitespace",e[e.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",e[e.roundedSelection=102]="roundedSelection",e[e.rulers=103]="rulers",e[e.scrollbar=104]="scrollbar",e[e.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=106]="scrollBeyondLastLine",e[e.scrollPredominantAxis=107]="scrollPredominantAxis",e[e.selectionClipboard=108]="selectionClipboard",e[e.selectionHighlight=109]="selectionHighlight",e[e.selectOnLineNumbers=110]="selectOnLineNumbers",e[e.showFoldingControls=111]="showFoldingControls",e[e.showUnused=112]="showUnused",e[e.snippetSuggestions=113]="snippetSuggestions",e[e.smartSelect=114]="smartSelect",e[e.smoothScrolling=115]="smoothScrolling",e[e.stickyScroll=116]="stickyScroll",e[e.stickyTabStops=117]="stickyTabStops",e[e.stopRenderingLineAfter=118]="stopRenderingLineAfter",e[e.suggest=119]="suggest",e[e.suggestFontSize=120]="suggestFontSize",e[e.suggestLineHeight=121]="suggestLineHeight",e[e.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",e[e.suggestSelection=123]="suggestSelection",e[e.tabCompletion=124]="tabCompletion",e[e.tabIndex=125]="tabIndex",e[e.unicodeHighlighting=126]="unicodeHighlighting",e[e.unusualLineTerminators=127]="unusualLineTerminators",e[e.useShadowDOM=128]="useShadowDOM",e[e.useTabStops=129]="useTabStops",e[e.wordBreak=130]="wordBreak",e[e.wordSegmenterLocales=131]="wordSegmenterLocales",e[e.wordSeparators=132]="wordSeparators",e[e.wordWrap=133]="wordWrap",e[e.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=136]="wordWrapColumn",e[e.wordWrapOverride1=137]="wordWrapOverride1",e[e.wordWrapOverride2=138]="wordWrapOverride2",e[e.wrappingIndent=139]="wrappingIndent",e[e.wrappingStrategy=140]="wrappingStrategy",e[e.showDeprecated=141]="showDeprecated",e[e.inlayHints=142]="inlayHints",e[e.editorClassName=143]="editorClassName",e[e.pixelRatio=144]="pixelRatio",e[e.tabFocusMode=145]="tabFocusMode",e[e.layoutInfo=146]="layoutInfo",e[e.wrappingInfo=147]="wrappingInfo",e[e.defaultColorDecorators=148]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"}(h||(h={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"}(y||(y={})),function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(v||(v={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(b||(b={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(E||(E={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(k||(k={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(w||(w={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(x||(x={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(_||(_={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(S||(S={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(T||(T={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"}(N||(N={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(A||(A={})),function(e){e[e.AIGenerated=1]="AIGenerated"}(D||(D={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(O||(O={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(I||(I={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(L||(L={})),function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"}(F||(F={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(R||(R={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(M||(M={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(j||(j={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(V||(V={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(U||(U={})),function(e){e.Off="off",e.OnCode="onCode",e.On="on"}(B||(B={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}($||($={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(q||(q={})),function(e){e[e.Deprecated=1]="Deprecated"}(z||(z={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(H||(H={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(K||(K={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(W||(W={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(Y||(Y={}))},69327:(e,t,n)=>{n.d(t,{i:()=>l});var r=n(15487),i=n(35198),o=n(71306),s=n(42455),a=n(73663);function l(e,t,n){if(e){if(e.kind===s.b.VARIABLE){const r=e.name.value;if(null==n||void 0===n[r])return;const i=n[r];if(null===i&&(0,a.bd)(t))return;return i}if((0,a.bd)(t)){if(e.kind===s.b.NULL)return;return l(e,t.ofType,n)}if(e.kind===s.b.NULL)return null;if((0,a.Fs)(t)){const r=t.ofType;if(e.kind===s.b.LIST){const t=[];for(const i of e.values)if(u(i,n)){if((0,a.bd)(r))return;t.push(null)}else{const e=l(i,r,n);if(void 0===e)return;t.push(e)}return t}const i=l(e,r,n);if(void 0===i)return;return[i]}if((0,a.qK)(t)){if(e.kind!==s.b.OBJECT)return;const i=Object.create(null),o=(0,r.K)(e.fields,e=>e.name.value);for(const e of Object.values(t.getFields())){const t=o[e.name];if(!t||u(t.value,n)){if(void 0!==e.defaultValue)i[e.name]=e.defaultValue;else if((0,a.bd)(e.type))return;continue}const r=l(t.value,e.type,n);if(void 0===r)return;i[e.name]=r}return i}if((0,a.zf)(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,o.V)(!1,"Unexpected input type: "+(0,i.N)(t))}}function u(e,t){return e.kind===s.b.VARIABLE&&(null==t||void 0===t[e.name.value])}},69708:(e,t,n)=>{function r(e){return"string"==typeof e}function i(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function o(e){const t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!!e&&"function"==typeof e[Symbol.iterator]}function l(e){return!0===e||!1===e}function u(e){return void 0===e}function c(e){return!d(e)}function d(e){return u(e)||null===e}function f(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function p(e){if(d(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function h(e){return"function"==typeof e}function m(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)g(e[r],t[r])}function g(e,t){if(r(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(h(t)){try{if(e instanceof t)return}catch{}if(!d(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}n.d(t,{Et:()=>s,Gv:()=>i,Kg:()=>r,Lm:()=>l,O9:()=>c,Tn:()=>h,b0:()=>u,eU:()=>p,iu:()=>o,j:()=>f,jx:()=>m,xZ:()=>a,z:()=>d})},69958:(e,t,n)=>{n.d(t,{BH:()=>F,Fr:()=>I,H8:()=>B,HZ:()=>A,OS:()=>M,UP:()=>z,_p:()=>P,cm:()=>U,gm:()=>$,ib:()=>N,j9:()=>C,lg:()=>D,m0:()=>H,nr:()=>q,uF:()=>S,un:()=>O,zx:()=>T});var r=n(12003);const i="en";let o,s,a=!1,l=!1,u=!1,c=!1,d=!1,f=!1,p=!1,h=!1,m=!1,g=!1,y=i,v=null,b=null;const E=globalThis;let k;void 0!==E.vscode&&void 0!==E.vscode.process?k=E.vscode.process:"undefined"!=typeof process&&"string"==typeof process?.versions?.node&&(k=process);const w="string"==typeof k?.versions?.electron,x=w&&"renderer"===k?.type;if("object"==typeof k){a="win32"===k.platform,l="darwin"===k.platform,u="linux"===k.platform,c=u&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=w,m=!!k.env.CI||!!k.env.BUILD_ARTIFACTSTAGINGDIRECTORY,o=i,y=i;const e=k.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);o=t.userLocale,v=t.osLocale,y=t.resolvedLanguage||i,b=t.languagePack?.translationsConfigFile}catch(e){}d=!0}else"object"!=typeof navigator||x?console.error("Unable to resolve platform."):(s=navigator.userAgent,a=s.indexOf("Windows")>=0,l=s.indexOf("Macintosh")>=0,h=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,u=s.indexOf("Linux")>=0,g=s?.indexOf("Mobi")>=0,f=!0,y=r.i8()||i,o=navigator.language.toLowerCase(),v=o);let _=0;l?_=1:a?_=3:u&&(_=2);const S=a,T=l,C=u,N=d,A=f,D=f&&"function"==typeof E.importScripts?E.origin:void 0,O=h,I=g,L=s,F=y,R="function"==typeof E.postMessage&&!E.importScripts,P=(()=>{if(R){const e=[];E.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),E.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})(),M=l||h?2:a?1:3;let j=!0,V=!1;function U(){if(!V){V=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);j=513===t[0]}return j}const B=!!(L&&L.indexOf("Chrome")>=0),$=!!(L&&L.indexOf("Firefox")>=0),q=!!(!B&&L&&L.indexOf("Safari")>=0),z=!!(L&&L.indexOf("Edg/")>=0),H=!!(L&&L.indexOf("Android")>=0)},70048:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(35198),i=n(48255),o=n(73663);function s(e){return{Field(t){const n=e.getType(),s=t.selectionSet;if(n)if((0,o.zf)((0,o.MR)(n))){if(s){const o=t.name.value,a=(0,r.N)(n);e.reportError(new i.eO(`Field "${o}" must not have a selection since type "${a}" has no subfields.`,s))}}else if(!s){const o=t.name.value,s=(0,r.N)(n);e.reportError(new i.eO(`Field "${o}" of type "${s}" must have a selection of subfields. Did you mean "${o} { ... }"?`,t))}}}}},70092:(e,t,n)=>{n.d(t,{w:()=>i});class r{static{this.Undefined=new r(void 0)}constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let e=this._first;for(;e!==r.Undefined;){const t=e.next;e.prev=r.Undefined,e.next=r.Undefined,e=t}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}}},70219:(e,t,n)=>{n.d(t,{c:()=>b,i:()=>v});var r=n(15487),i=n(35198),o=n(93871),s=n(71306),a=n(93217),l=n(42455),u=n(3420),c=n(8553),d=n(9390),f=n(25329),p=n(84143),h=n(28957),m=n(67274),g=n(73663),y=n(69327);function v(e,t,n){(0,f.GU)(e),null!=t&&t.kind===l.b.DOCUMENT||(0,a.U)(!1,"Must provide valid Document AST."),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&(0,c.$T)(t,e);const r=e.toConfig(),i=b(r,t,n);return r===i?e:new f.V4(i)}function b(e,t,n){var r,a,c,d,f;const v=[],b=Object.create(null),x=[];let _;const S=[];for(const e of t.definitions)if(e.kind===l.b.SCHEMA_DEFINITION)_=e;else if(e.kind===l.b.SCHEMA_EXTENSION)S.push(e);else if((0,u.a6)(e))v.push(e);else if((0,u.i7)(e)){const t=e.name.value,n=b[t];b[t]=n?n.concat([e]):[e]}else e.kind===l.b.DIRECTIVE_DEFINITION&&x.push(e);if(0===Object.keys(b).length&&0===v.length&&0===x.length&&0===S.length&&null==_)return e;const T=Object.create(null);for(const t of e.types)T[t.name]=O(t);for(const e of v){var C;const t=e.name.value;T[t]=null!==(C=E[t])&&void 0!==C?C:q(e)}const N={query:e.query&&D(e.query),mutation:e.mutation&&D(e.mutation),subscription:e.subscription&&D(e.subscription),..._&&F([_]),...F(S)};return{description:null===(r=_)||void 0===r||null===(a=r.description)||void 0===a?void 0:a.value,...N,types:Object.values(T),directives:[...e.directives.map(function(e){const t=e.toConfig();return new m.RR({...t,args:(0,o.I)(t.args,L)})}),...x.map(function(e){var t;return new m.RR({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:j(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(c=_)&&void 0!==c?c:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(S),assumeValid:null!==(d=null==n?void 0:n.assumeValid)&&void 0!==d&&d,enableDeferStream:null!==(f=null==n?void 0:n.enableDeferStream)&&void 0!==f&&f};function A(e){return(0,g.Fs)(e)?new g.KT(A(e.ofType)):(0,g.bd)(e)?new g.Gc(A(e.ofType)):D(e)}function D(e){return T[e.name]}function O(e){return(0,h.Yh)(e)||(0,p.PZ)(e)?e:(0,g.lg)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[n.name])&&void 0!==t?t:[];let i=n.specifiedByURL;for(const e of r){var o;i=null!==(o=w(e))&&void 0!==o?o:i}return new g.Ag({...n,specifiedByURL:i,extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,g.YQ)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[n.name])&&void 0!==t?t:[];return new g.bh({...n,interfaces:()=>[...e.getInterfaces().map(D),...B(r)],fields:()=>({...(0,o.I)(n.fields,I),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,g.kD)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[n.name])&&void 0!==t?t:[];return new g.VA({...n,interfaces:()=>[...e.getInterfaces().map(D),...B(r)],fields:()=>({...(0,o.I)(n.fields,I),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,g.CK)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[n.name])&&void 0!==t?t:[];return new g.hI({...n,types:()=>[...e.getTypes().map(D),...$(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,g.oF)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[e.name])&&void 0!==t?t:[];return new g.Zb({...n,values:{...n.values,...U(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,g.qK)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=b[n.name])&&void 0!==t?t:[];return new g.zP({...n,fields:()=>({...(0,o.I)(n.fields,e=>({...e,type:A(e.type)})),...V(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):void(0,s.V)(!1,"Unexpected type: "+(0,i.N)(e))}function I(e){return{...e,type:A(e.type),args:e.args&&(0,o.I)(e.args,L)}}function L(e){return{...e,type:A(e.type)}}function F(e){const t={};for(const r of e){var n;const e=null!==(n=r.operationTypes)&&void 0!==n?n:[];for(const n of e)t[n.operation]=R(n.type)}return t}function R(e){var t;const n=e.name.value,r=null!==(t=E[n])&&void 0!==t?t:T[n];if(void 0===r)throw new Error(`Unknown type: "${n}".`);return r}function P(e){return e.kind===l.b.LIST_TYPE?new g.KT(P(e.type)):e.kind===l.b.NON_NULL_TYPE?new g.Gc(P(e.type)):R(e)}function M(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={type:P(n.type),description:null===(r=n.description)||void 0===r?void 0:r.value,args:j(n.arguments),deprecationReason:k(n),astNode:n}}}return t}function j(e){const t=null!=e?e:[],n=Object.create(null);for(const e of t){var r;const t=P(e.type);n[e.name.value]={type:t,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:(0,y.i)(e.defaultValue,t),deprecationReason:k(e),astNode:e}}return n}function V(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;const e=P(n.type);t[n.name.value]={type:e,description:null===(r=n.description)||void 0===r?void 0:r.value,defaultValue:(0,y.i)(n.defaultValue,e),deprecationReason:k(n),astNode:n}}}return t}function U(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.values)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={description:null===(r=n.description)||void 0===r?void 0:r.value,deprecationReason:k(n),astNode:n}}}return t}function B(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(R))&&void 0!==t?t:[]})}function $(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(R))&&void 0!==t?t:[]})}function q(e){var t;const n=e.name.value,r=null!==(t=b[n])&&void 0!==t?t:[];switch(e.kind){case l.b.OBJECT_TYPE_DEFINITION:{var i;const t=[e,...r];return new g.bh({name:n,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>B(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case l.b.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...r];return new g.VA({name:n,description:null===(o=e.description)||void 0===o?void 0:o.value,interfaces:()=>B(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case l.b.ENUM_TYPE_DEFINITION:{var s;const t=[e,...r];return new g.Zb({name:n,description:null===(s=e.description)||void 0===s?void 0:s.value,values:U(t),astNode:e,extensionASTNodes:r})}case l.b.UNION_TYPE_DEFINITION:{var a;const t=[e,...r];return new g.hI({name:n,description:null===(a=e.description)||void 0===a?void 0:a.value,types:()=>$(t),astNode:e,extensionASTNodes:r})}case l.b.SCALAR_TYPE_DEFINITION:var u;return new g.Ag({name:n,description:null===(u=e.description)||void 0===u?void 0:u.value,specifiedByURL:w(e),astNode:e,extensionASTNodes:r});case l.b.INPUT_OBJECT_TYPE_DEFINITION:{var c;const t=[e,...r];return new g.zP({name:n,description:null===(c=e.description)||void 0===c?void 0:c.value,fields:()=>V(t),astNode:e,extensionASTNodes:r})}}}}const E=(0,r.K)([...p.YC,...h.V4],e=>e.name);function k(e){const t=(0,d.YY)(m.yK,e);return null==t?void 0:t.reason}function w(e){const t=(0,d.YY)(m.gw,e);return null==t?void 0:t.url}},71306:(e,t,n)=>{function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{V:()=>r})},71754:(e,t,n)=>{n(620)},72027:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(48255);function i(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const i=e.getRecursiveVariableUsages(n);for(const{node:o}of i){const i=o.name.value;!0!==t[i]&&e.reportError(new r.eO(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,[o,n]))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}},72155:(e,t,n)=>{n(13924)},73179:(e,t,n)=>{var r;n.d(t,{f:()=>r}),function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){let n=0;for(const r of e)if(t(r,n++))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.flatMap=function*(e,t){let n=0;for(const r of e)yield*t(r,n++)},e.concat=function*(...e){for(const t of e)yield*t},e.reduce=function(e,t,n){let r=n;for(const n of e)r=t(r,n);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]},e.asyncToArray=async function(e){const t=[];for await(const n of e)t.push(n);return Promise.resolve(t)}}(r||(r={}))},73226:(e,t,n)=>{n.d(t,{AL:()=>u,D7:()=>m,EM:()=>p,MB:()=>l,M_:()=>o,Qg:()=>d,aD:()=>c,cU:()=>s,dz:()=>i,iH:()=>f});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(h.isErrorNoTelemetry(e))throw new h(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){l(e)||r.onUnexpectedError(e)}function o(e){l(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:h.isErrorNoTelemetry(e)}}return e}const a="Canceled";function l(e){return e instanceof u||e instanceof Error&&e.name===a&&e.message===a}class u extends Error{constructor(){super(a),this.name=this.message}}function c(){const e=new Error(a);return e.name=e.message,e}function d(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function f(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class p extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class h extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof h)return e;const t=new h;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},73537:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(48255),i=n(73663);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o;const a=t.name.value;i[a]||(i[a]=Object.create(null));const l=null!==(o=t.fields)&&void 0!==o?o:[],u=i[a];for(const t of l){const i=t.name.value;s(n[a],i)?e.reportError(new r.eO(`Field "${a}.${i}" already exists in the schema. It cannot also be defined in this type extension.`,t.name)):u[i]?e.reportError(new r.eO(`Field "${a}.${i}" can only be defined once.`,[u[i],t.name])):u[i]=t.name}return!1}}function s(e,t){return!!((0,i.YQ)(e)||(0,i.kD)(e)||(0,i.qK)(e))&&null!=e.getFields()[t]}},73663:(e,t,n)=>{n.d(t,{Ag:()=>oe,B3:()=>Q,CK:()=>C,D0:()=>$,EG:()=>N,Fs:()=>L,Gc:()=>Y,KT:()=>W,Kx:()=>ue,L9:()=>j,Lc:()=>H,ML:()=>q,MR:()=>ne,N_:()=>K,VA:()=>he,Xj:()=>b,YQ:()=>x,YX:()=>ke,Ye:()=>z,Yq:()=>I,ZX:()=>P,Zb:()=>ye,Zx:()=>w,bd:()=>R,bh:()=>se,dL:()=>F,dX:()=>M,el:()=>D,g0:()=>fe,hI:()=>me,j:()=>E,kD:()=>S,lS:()=>G,lg:()=>k,oF:()=>A,oH:()=>V,qC:()=>_,qK:()=>O,qL:()=>T,sF:()=>te,sy:()=>ee,wG:()=>Z,wj:()=>X,xP:()=>pe,yh:()=>U,yl:()=>J,zP:()=>be,zf:()=>B});var r=n(35198),i=n(15487),o=n(93871),s=n(40698),a=n(93217),l=n(96394),u=n(50792),c=n(54833),d=n(91070),f=n(78574),p=n(36382),h=n(48255),m=n(42455),g=n(9554),y=n(48542),v=n(20567);function b(e){return k(e)||x(e)||S(e)||C(e)||A(e)||O(e)||L(e)||R(e)}function E(e){if(!b(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL type.`);return e}function k(e){return(0,u.h)(e,oe)}function w(e){if(!k(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Scalar type.`);return e}function x(e){return(0,u.h)(e,se)}function _(e){if(!x(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Object type.`);return e}function S(e){return(0,u.h)(e,he)}function T(e){if(!S(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Interface type.`);return e}function C(e){return(0,u.h)(e,me)}function N(e){if(!C(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Union type.`);return e}function A(e){return(0,u.h)(e,ye)}function D(e){if(!A(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Enum type.`);return e}function O(e){return(0,u.h)(e,be)}function I(e){if(!O(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Input Object type.`);return e}function L(e){return(0,u.h)(e,W)}function F(e){if(!L(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL List type.`);return e}function R(e){return(0,u.h)(e,Y)}function P(e){if(!R(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL Non-Null type.`);return e}function M(e){return k(e)||A(e)||O(e)||G(e)&&M(e.ofType)}function j(e){if(!M(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL input type.`);return e}function V(e){return k(e)||x(e)||S(e)||C(e)||A(e)||G(e)&&V(e.ofType)}function U(e){if(!V(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL output type.`);return e}function B(e){return k(e)||A(e)}function $(e){if(!B(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL leaf type.`);return e}function q(e){return x(e)||S(e)||C(e)}function z(e){if(!q(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL composite type.`);return e}function H(e){return S(e)||C(e)}function K(e){if(!H(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL abstract type.`);return e}class W{constructor(e){b(e)||(0,a.U)(!1,`Expected ${(0,r.N)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class Y{constructor(e){X(e)||(0,a.U)(!1,`Expected ${(0,r.N)(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 G(e){return L(e)||R(e)}function Q(e){if(!G(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL wrapping type.`);return e}function X(e){return b(e)&&!R(e)}function Z(e){if(!X(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL nullable type.`);return e}function J(e){if(e)return R(e)?e.ofType:e}function ee(e){return k(e)||x(e)||S(e)||C(e)||A(e)||O(e)}function te(e){if(!ee(e))throw new Error(`Expected ${(0,r.N)(e)} to be a GraphQL named type.`);return e}function ne(e){if(e){let t=e;for(;G(t);)t=t.ofType;return t}}function re(e){return"function"==typeof e?e():e}function ie(e){return"function"==typeof e?e():e}class oe{constructor(e){var t,n,i,o;const l=null!==(t=e.parseValue)&&void 0!==t?t:f.T;this.name=(0,v.I)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:f.T,this.parseValue=l,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>l((0,y.F)(e,t)),this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(o=e.extensionASTNodes)&&void 0!==o?o:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,a.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,r.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,a.U)(!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,a.U)(!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 se{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>le(e),this._interfaces=()=>ae(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,a.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,r.N)(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:de(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ae(e){var t;const n=re(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,a.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function le(e){const t=ie(e.fields);return ce(t)||(0,a.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,o.I)(t,(t,n)=>{var i;ce(t)||(0,a.U)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,a.U)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,r.N)(t.resolve)}.`);const o=null!==(i=t.args)&&void 0!==i?i:{};return ce(o)||(0,a.U)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:(0,v.I)(n),description:t.description,type:t.type,args:ue(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,s.z)(t.extensions),astNode:t.astNode}})}function ue(e){return Object.entries(e).map(([e,t])=>({name:(0,v.I)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,s.z)(t.extensions),astNode:t.astNode}))}function ce(e){return(0,d.Z)(e)&&!Array.isArray(e)}function de(e){return(0,o.I)(e,e=>({description:e.description,type:e.type,args:fe(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function fe(e){return(0,l.L)(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function pe(e){return R(e.type)&&void 0===e.defaultValue}class he{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=le.bind(void 0,e),this._interfaces=ae.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,a.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,r.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}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:de(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class me{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=ge.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,a.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,r.N)(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 ge(e){const t=re(e.types);return Array.isArray(t)||(0,a.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class ye{constructor(e){var t,n,o;this.name=(0,v.I)(e.name),this.description=e.description,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=(n=this.name,ce(o=e.values)||(0,a.U)(!1,`${n} values must be an object with value names as keys.`),Object.entries(o).map(([e,t])=>(ce(t)||(0,a.U)(!1,`${n}.${e} must refer to an object with a "value" key representing an internal value but got: ${(0,r.N)(t)}.`),{name:(0,v.A)(e),description:t.description,value:void 0!==t.value?t.value:e,deprecationReason:t.deprecationReason,extensions:(0,s.z)(t.extensions),astNode:t.astNode}))),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=(0,i.K)(this._values,e=>e.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){const t=this._valueLookup.get(e);if(void 0===t)throw new h.eO(`Enum "${this.name}" cannot represent value: ${(0,r.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=(0,r.N)(e);throw new h.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+ve(this,t))}const t=this.getValue(e);if(null==t)throw new h.eO(`Value "${e}" does not exist in "${this.name}" enum.`+ve(this,e));return t.value}parseLiteral(e,t){if(e.kind!==m.b.ENUM){const t=(0,g.y)(e);throw new h.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+ve(this,t),e)}const n=this.getValue(e.value);if(null==n){const t=(0,g.y)(e);throw new h.eO(`Value "${t}" does not exist in "${this.name}" enum.`+ve(this,t),e)}return n.value}toConfig(){const e=(0,l.L)(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 ve(e,t){const n=e.getValues().map(e=>e.name),r=(0,p.x)(t,n);return(0,c.a)("the enum value",r)}class be{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=Ee.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=(0,o.I)(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 Ee(e){const t=ie(e.fields);return ce(t)||(0,a.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,o.I)(t,(t,n)=>(!("resolve"in t)||(0,a.U)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,v.I)(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,s.z)(t.extensions),astNode:t.astNode}))}function ke(e){return R(e.type)&&void 0===e.defaultValue}},73971:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(71306);const i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;for(const s of e.body.matchAll(i)){if("number"==typeof s.index||(0,r.V)(!1),s.index>=t)break;n=s.index+s[0].length,o+=1}return{line:o,column:t+1-n}}},75302:(e,t,n)=>{const r=n(19537);function i(e,t,n){return"function"==typeof n.join?n.join(e):e[0]+t+e[1]}function o(e,t,n){return"function"!=typeof n.isValid||n.isValid(e,t)}function s(e){return r(e)||Array.isArray(e)||"function"==typeof e}e.exports=function(e,t,n){if(r(n)||(n={default:n}),!s(e))return void 0!==n.default?n.default:e;"number"==typeof t&&(t=String(t));const a=Array.isArray(t),l="string"==typeof t,u=n.separator||".",c=n.joinChar||("string"==typeof u?u:".");if(!l&&!a)return e;if(l&&t in e)return o(t,e,n)?e[t]:n.default;let d=a?t:function(e,t,n){return"function"==typeof n.split?n.split(e):e.split(t)}(t,u,n),f=d.length,p=0;do{let t=d[p];for("number"==typeof t&&(t=String(t));t&&"\\"===t.slice(-1);)t=i([t.slice(0,-1),d[++p]||""],c,n);if(t in e){if(!o(t,e,n))return n.default;e=e[t]}else{let r=!1,s=p+1;for(;s<f;)if(t=i([t,d[s++]],c,n),r=t in e){if(!o(t,e,n))return n.default;e=e[t],p=s-1;break}if(!r)return n.default}}while(++p<f&&s(e));return p===f?e:n.default}},77065:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(48255);function i(e){const t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){const o=i.name.value;if(null==n||!n.getDirective(o))return t[o]?e.reportError(new r.eO(`There can be only one directive named "@${o}".`,[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.eO(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,i.name))}}}},77407:(e,t,n)=>{function r(e,t,n){return{prev:e,key:t,typename:n}}function i(e){const t=[];let n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}n.d(t,{A:()=>i,f:()=>r})},78574:(e,t,n)=>{function r(e){return e}n.d(t,{T:()=>r})},79302:(e,t,n)=>{n(16177),n(72155),n(61504),n(68746),n(71754)},80656:(e,t,n)=>{n.d(t,{C:()=>o});var r=n(71306),i=n(48255);function o(e){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const e=t.pop();e||(0,r.V)(!1),n=e}},ObjectField(t){const r=t.name.value;n[r]?e.reportError(new i.eO(`There can be only one input field named "${r}".`,[n[r],t.name])):n[r]=t.name}}}},81105:(e,t,n)=>{n.d(t,{d:()=>s});var r=n(48255),i=n(73663),o=n(67274);function s(e){return{Directive(t){const n=e.getFieldDef(),s=e.getParentType();n&&s&&t.name.value===o.nK.name&&!((0,i.Fs)(n.type)||(0,i.lS)(n.type)&&(0,i.Fs)(n.type.ofType))&&e.reportError(new r.eO(`Stream directive cannot be used on non-list field "${n.name}" on type "${s.name}".`,t))}}}},81304:(e,t,n)=>{n.d(t,{Q:()=>i});var r=n(55818);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<e.startColumn||t.lineNumber===e.endLineNumber&&t.column>e.endColumn)}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<=e.startColumn||t.lineNumber===e.endLineNumber&&t.column>=e.endColumn)}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn;const a=t.startLineNumber,l=t.startColumn,u=t.endLineNumber,c=t.endColumn;return n<a?(n=a,r=l):n===a&&(r=Math.max(r,l)),o>u?(o=u,s=c):o===u&&(s=Math.min(s,c)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.y(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.y(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return i.collapseToEnd(this)}static collapseToEnd(e){return new i(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new i(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;return n===r?(0|e.endColumn)-(0|t.endColumn):n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}}},81545:(e,t,n)=>{n.d(t,{q:()=>i});var r=n(42455);const i=Object.assign(Object.assign({},r.b),{ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"})},81875:(e,t,n)=>{n.d(t,{dY:()=>l,ot:()=>a});var r=n(42455),i=n(90424),o=n(57350);class s{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{t=Object.create(null);for(const e of this.getDocument().definitions)e.kind===r.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const n=[e];let i;for(;i=n.pop();)for(const e of i.selections)e.kind===r.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&n.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const n=Object.create(null),r=[e.selectionSet];let i;for(;i=r.pop();)for(const e of this.getFragmentSpreads(i)){const i=e.name.value;if(!0!==n[i]){n[i]=!0;const e=this.getFragment(i);e&&(t.push(e),r.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class a extends s{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class l extends s{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){const n=[],r=new o.D(this._schema);(0,i.YR)(e,(0,o.S)(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){t=this.getVariableUsages(e);for(const n of 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()}}},84143:(e,t,n)=>{n.d(t,{BW:()=>u,FV:()=>p,Fh:()=>d,N1:()=>m,PZ:()=>y,YC:()=>g,kk:()=>h,nM:()=>c,qS:()=>f});var r=n(35198),i=n(91070),o=n(42455),s=n(9554),a=n(48255),l=n(73663);const u=2147483647,c=-2147483648,d=new l.Ag({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){const t=v(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 a.eO(`Int cannot represent non-integer value: ${(0,r.N)(t)}`);if(n>u||n<c)throw new a.eO("Int cannot represent non 32-bit signed integer value: "+(0,r.N)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new a.eO(`Int cannot represent non-integer value: ${(0,r.N)(e)}`);if(e>u||e<c)throw new a.eO(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==o.b.INT)throw new a.eO(`Int cannot represent non-integer value: ${(0,s.y)(e)}`,e);const t=parseInt(e.value,10);if(t>u||t<c)throw new a.eO(`Int cannot represent non 32-bit signed integer value: ${e.value}`,e);return t}}),f=new l.Ag({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){const t=v(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 a.eO(`Float cannot represent non numeric value: ${(0,r.N)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new a.eO(`Float cannot represent non numeric value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==o.b.FLOAT&&e.kind!==o.b.INT)throw new a.eO(`Float cannot represent non numeric value: ${(0,s.y)(e)}`,e);return parseFloat(e.value)}}),p=new l.Ag({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){const t=v(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 a.eO(`String cannot represent value: ${(0,r.N)(e)}`)},parseValue(e){if("string"!=typeof e)throw new a.eO(`String cannot represent a non string value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==o.b.STRING)throw new a.eO(`String cannot represent a non string value: ${(0,s.y)(e)}`,e);return e.value}}),h=new l.Ag({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=v(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new a.eO(`Boolean cannot represent a non boolean value: ${(0,r.N)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new a.eO(`Boolean cannot represent a non boolean value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==o.b.BOOLEAN)throw new a.eO(`Boolean cannot represent a non boolean value: ${(0,s.y)(e)}`,e);return e.value}}),m=new l.Ag({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){const t=v(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new a.eO(`ID cannot represent value: ${(0,r.N)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new a.eO(`ID cannot represent value: ${(0,r.N)(e)}`)},parseLiteral(e){if(e.kind!==o.b.STRING&&e.kind!==o.b.INT)throw new a.eO("ID cannot represent a non-string and non-integer value: "+(0,s.y)(e),e);return e.value}}),g=Object.freeze([p,d,f,h,m]);function y(e){return g.some(({name:t})=>e.name===t)}function v(e){if((0,i.Z)(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!(0,i.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}},84719:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(48255),i=n(42455);function o(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===i.b.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new r.eO("This anonymous operation must be the only defined operation.",n))}}}},85187:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(42455);function i(e,t){let n=null;for(const o of e.definitions){var i;if(o.kind===r.b.OPERATION_DEFINITION)if(null==t){if(n)return null;n=o}else if((null===(i=o.name)||void 0===i?void 0:i.value)===t)return o}return n}},85261:(e,t,n)=>{n.d(t,{S:()=>u,_:()=>l});var r=n(42455),i=n(67274),o=n(73663),s=n(89494),a=n(9390);function l(e,t,n,r,i){const o=new Map,s=[];return c(e,t,n,r,i,o,s,new Set),{fields:o,patches:s}}function u(e,t,n,r,i){const o=new Map,s=new Set,a=[],l={fields:o,patches:a};for(const l of i)l.selectionSet&&c(e,t,n,r,l.selectionSet,o,a,s);return l}function c(e,t,n,i,o,s,a,l){for(const u of o.selections)switch(u.kind){case r.b.FIELD:{if(!f(n,u))continue;const e=h(u),t=s.get(e);void 0!==t?t.push(u):s.set(e,[u]);break}case r.b.INLINE_FRAGMENT:{if(!f(n,u)||!p(e,u,i))continue;const r=d(e,n,u);if(r){const o=new Map;c(e,t,n,i,u.selectionSet,o,a,l),a.push({label:r.label,fields:o})}else c(e,t,n,i,u.selectionSet,s,a,l);break}case r.b.FRAGMENT_SPREAD:{const r=u.name.value;if(!f(n,u))continue;const o=d(e,n,u);if(l.has(r)&&!o)continue;const h=t[r];if(!h||!p(e,h,i))continue;if(l.add(r),o){const r=new Map;c(e,t,n,i,h.selectionSet,r,a,l),a.push({label:o.label,fields:r})}else c(e,t,n,i,h.selectionSet,s,a,l);break}}}function d(e,t,n){if(!0!==e._enableDeferStream)return;const r=(0,a.YY)(i.BR,n,t);return r&&!1!==r.if?{label:"string"==typeof r.label?r.label:void 0}:void 0}function f(e,t){const n=(0,a.YY)(i.MQ,t,e);if(!0===(null==n?void 0:n.if))return!1;const r=(0,a.YY)(i.HQ,t,e);return!1!==(null==r?void 0:r.if)}function p(e,t,n){const r=t.typeCondition;if(!r)return!0;const i=(0,s.v)(e,r);return i===n||!!(0,o.Lc)(i)&&e.isSubType(i,n)}function h(e){return e.alias?e.alias.value:e.name.value}},85608:(e,t,n)=>{n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>S,__asyncGenerator:()=>_,__asyncValues:()=>T,__await:()=>x,__awaiter:()=>h,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>L,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>i,__generator:()=>m,__importDefault:()=>O,__importStar:()=>D,__makeTemplateObject:()=>C,__metadata:()=>p,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>s,__rewriteRelativeImportExtension:()=>j,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>E,__spreadArray:()=>w,__spreadArrays:()=>k,__values:()=>v,default:()=>V});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=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},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var g=(0,n[p])("accessor"===l?{get:d.get,set:d.set}:d[u],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(d.get=a),(a=s(g.set))&&(d.set=a),(a=s(g.init))&&i.unshift(a)}else(a=s(g))&&("field"===l?i.unshift(a):d[u]=a)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}var g=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]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function w(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))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||a(e,t)})},t&&(r[e]=t(r[e])))}function a(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var N=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},A=function(e){return A=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},A(e)};function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=A(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return N(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var P="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new P(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function j(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e}):e}const V={__extends:i,__assign:o,__rest:s,__decorate:a,__param:l,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:E,__spreadArrays:k,__spreadArray:w,__await:x,__asyncGenerator:_,__asyncDelegator:S,__asyncValues:T,__makeTemplateObject:C,__importStar:D,__importDefault:O,__classPrivateFieldGet:I,__classPrivateFieldSet:L,__classPrivateFieldIn:F,__addDisposableResource:R,__disposeResources:M,__rewriteRelativeImportExtension:j}},85966:(e,t,n)=>{n.d(t,{S:()=>d});var r=n(35198),i=n(71306),o=n(54833),s=n(36382),a=n(48255),l=n(42455),u=n(3420),c=n(73663);function d(e){const t=e.getSchema(),n=Object.create(null);for(const t of e.getDocument().definitions)(0,u.a6)(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:d,ObjectTypeExtension:d,InterfaceTypeExtension:d,UnionTypeExtension:d,EnumTypeExtension:d,InputObjectTypeExtension:d};function d(u){const d=u.name.value,p=n[d],h=null==t?void 0:t.getType(d);let m;if(p?m=f[p.kind]:h&&(g=h,m=(0,c.lg)(g)?l.b.SCALAR_TYPE_EXTENSION:(0,c.YQ)(g)?l.b.OBJECT_TYPE_EXTENSION:(0,c.kD)(g)?l.b.INTERFACE_TYPE_EXTENSION:(0,c.CK)(g)?l.b.UNION_TYPE_EXTENSION:(0,c.oF)(g)?l.b.ENUM_TYPE_EXTENSION:(0,c.qK)(g)?l.b.INPUT_OBJECT_TYPE_EXTENSION:void(0,i.V)(!1,"Unexpected type: "+(0,r.N)(g))),m){if(m!==u.kind){const t=function(e){switch(e){case l.b.SCALAR_TYPE_EXTENSION:return"scalar";case l.b.OBJECT_TYPE_EXTENSION:return"object";case l.b.INTERFACE_TYPE_EXTENSION:return"interface";case l.b.UNION_TYPE_EXTENSION:return"union";case l.b.ENUM_TYPE_EXTENSION:return"enum";case l.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,i.V)(!1,"Unexpected kind: "+(0,r.N)(e))}}(u.kind);e.reportError(new a.eO(`Cannot extend non-${t} type "${d}".`,p?[p,u]:u))}}else{const r=Object.keys({...n,...null==t?void 0:t.getTypeMap()}),i=(0,s.x)(d,r);e.reportError(new a.eO(`Cannot extend type "${d}" because it is not defined.`+(0,o.a)(i),u.name))}var g}}const f={[l.b.SCALAR_TYPE_DEFINITION]:l.b.SCALAR_TYPE_EXTENSION,[l.b.OBJECT_TYPE_DEFINITION]:l.b.OBJECT_TYPE_EXTENSION,[l.b.INTERFACE_TYPE_DEFINITION]:l.b.INTERFACE_TYPE_EXTENSION,[l.b.UNION_TYPE_DEFINITION]:l.b.UNION_TYPE_EXTENSION,[l.b.ENUM_TYPE_DEFINITION]:l.b.ENUM_TYPE_EXTENSION,[l.b.INPUT_OBJECT_TYPE_DEFINITION]:l.b.INPUT_OBJECT_TYPE_EXTENSION}},86974:(e,t,n)=>{var r=n(97967),i=n(14041),o=n(43144);function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(a(e)!==e)throw Error(s(188))}function c(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=c(e)))return t;e=e.sibling}return null}var d=Object.assign,f=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),b=Symbol.for("react.consumer"),E=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),S=Symbol.for("react.lazy");Symbol.for("react.scope");var T=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var C=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var N=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}var D=Symbol.for("react.client.reference");function O(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===D?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case y:return"Profiler";case g:return"StrictMode";case w:return"Suspense";case x:return"SuspenseList";case T:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case h:return"Portal";case E:return(e.displayName||"Context")+".Provider";case b:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:O(e.type)||"Memo";case S:t=e._payload,e=e._init;try{return O(e(t))}catch(e){}}return null}var I=Array.isArray,L=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},P=[],M=-1;function j(e){return{current:e}}function V(e){0>M||(e.current=P[M],P[M]=null,M--)}function U(e,t){M++,P[M]=e.current,e.current=t}var B=j(null),$=j(null),q=j(null),z=j(null);function H(e,t){switch(U(q,t),U($,e),U(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?rd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=id(t=rd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(B),U(B,e)}function K(){V(B),V($),V(q)}function W(e){null!==e.memoizedState&&U(z,e);var t=B.current,n=id(t,e.type);t!==n&&(U($,e),U(B,n))}function Y(e){$.current===e&&(V(B),V($)),z.current===e&&(V(z),Wd._currentValue=R)}var G=Object.prototype.hasOwnProperty,Q=r.unstable_scheduleCallback,X=r.unstable_cancelCallback,Z=r.unstable_shouldYield,J=r.unstable_requestPaint,ee=r.unstable_now,te=r.unstable_getCurrentPriorityLevel,ne=r.unstable_ImmediatePriority,re=r.unstable_UserBlockingPriority,ie=r.unstable_NormalPriority,oe=r.unstable_LowPriority,se=r.unstable_IdlePriority,ae=r.log,le=r.unstable_setDisableYieldValue,ue=null,ce=null;function de(e){if("function"==typeof ae&&le(e),ce&&"function"==typeof ce.setStrictMode)try{ce.setStrictMode(ue,e)}catch(e){}}var fe=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(pe(e)/he|0)|0},pe=Math.log,he=Math.LN2,me=256,ge=4194304;function ye(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ve(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var a=134217727&r;return 0!==a?0!==(r=a&~o)?i=ye(r):0!==(s&=a)?i=ye(s):n||0!==(n=a&~e)&&(i=ye(n)):0!==(a=r&~o)?i=ye(a):0!==s?i=ye(s):n||0!==(n=r&~e)&&(i=ye(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function be(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ee(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ke(){var e=me;return!(4194048&(me<<=1))&&(me=256),e}function we(){var e=ge;return!(62914560&(ge<<=1))&&(ge=4194304),e}function xe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _e(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Se(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-fe(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function Te(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-fe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Ce(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ne(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Ae(){var e=F.p;return 0!==e?e:void 0===(e=window.event)?32:af(e.type)}var De=Math.random().toString(36).slice(2),Oe="__reactFiber$"+De,Ie="__reactProps$"+De,Le="__reactContainer$"+De,Fe="__reactEvents$"+De,Re="__reactListeners$"+De,Pe="__reactHandles$"+De,Me="__reactResources$"+De,je="__reactMarker$"+De;function Ve(e){delete e[Oe],delete e[Ie],delete e[Fe],delete e[Re],delete e[Pe]}function Ue(e){var t=e[Oe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Le]||n[Oe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=vd(e);null!==e;){if(n=e[Oe])return n;e=vd(e)}return t}n=(e=n).parentNode}return null}function Be(e){if(e=e[Oe]||e[Le]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function $e(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function qe(e){var t=e[Me];return t||(t=e[Me]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ze(e){e[je]=!0}var He=new Set,Ke={};function We(e,t){Ye(e,t),Ye(e+"Capture",t)}function Ye(e,t){for(Ke[e]=t,e=0;e<t.length;e++)He.add(t[e])}var Ge,Qe,Xe=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ze={},Je={};function et(e,t,n){if(i=t,G.call(Je,i)||!G.call(Ze,i)&&(Xe.test(i)?Je[i]=!0:(Ze[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function tt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function nt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function rt(e){if(void 0===Ge)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ge=t&&t[1]||"",Qe=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Ge+e+Qe}var it=!1;function ot(e,t){if(!e||it)return"";it=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),s=o[0],a=o[1];if(s&&a){var l=s.split("\n"),u=a.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=i);break}}}finally{it=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?rt(n):""}function st(e){switch(e.tag){case 26:case 27:case 5:return rt(e.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return ot(e.type,!1);case 11:return ot(e.type.render,!1);case 1:return ot(e.type,!0);case 31:return rt("Activity");default:return""}}function at(e){try{var t="";do{t+=st(e),e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function lt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ut(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ct(e){e._valueTracker||(e._valueTracker=function(e){var t=ut(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function dt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ut(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ft(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var pt=/[\n"\\]/g;function ht(e){return e.replace(pt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function mt(e,t,n,r,i,o,s,a){e.name="",null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.type=s:e.removeAttribute("type"),null!=t?"number"===s?(0===t&&""===e.value||e.value!=t)&&(e.value=""+lt(t)):e.value!==""+lt(t)&&(e.value=""+lt(t)):"submit"!==s&&"reset"!==s||e.removeAttribute("value"),null!=t?yt(e,s,lt(t)):null!=n?yt(e,s,lt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.name=""+lt(a):e.removeAttribute("name")}function gt(e,t,n,r,i,o,s,a){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return;n=null!=n?""+lt(n):"",t=null!=t?""+lt(t):n,a||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=a?e.checked:!!r,e.defaultChecked=!!r,null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s&&(e.name=s)}function yt(e,t,n){"number"===t&&ft(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function vt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+lt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function bt(e,t,n){null==t||((t=""+lt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+lt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Et(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(s(92));if(I(r)){if(1<r.length)throw Error(s(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=lt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var wt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||wt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function _t(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(s(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&xt(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&xt(e,o,t[o])}function St(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ct=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Nt(e){return Ct.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var At=null;function Dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ot=null,It=null;function Lt(e){var t=Be(e);if(t&&(e=t.stateNode)){var n=e[Ie]||null;e:switch(e=t.stateNode,t.type){case"input":if(mt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ht(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Ie]||null;if(!i)throw Error(s(90));mt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&dt(r)}break e;case"textarea":bt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&vt(e,!!n.multiple,t,!1)}}}var Ft=!1;function Rt(e,t,n){if(Ft)return e(t,n);Ft=!0;try{return e(t)}finally{if(Ft=!1,(null!==Ot||null!==It)&&(Uu(),Ot&&(t=Ot,e=It,It=Ot=null,Lt(t),e)))for(t=0;t<e.length;t++)Lt(e[t])}}function Pt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Ie]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}var Mt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),jt=!1;if(Mt)try{var Vt={};Object.defineProperty(Vt,"passive",{get:function(){jt=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(e){jt=!1}var Ut=null,Bt=null,$t=null;function qt(){if($t)return $t;var e,t,n=Bt,r=n.length,i="value"in Ut?Ut.value:Ut.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[o-t];t++);return $t=i.slice(e,1<t?1-t:void 0)}function zt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Ht(){return!0}function Kt(){return!1}function Wt(e){function t(t,n,r,i,o){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Ht:Kt,this.isPropagationStopped=Kt,this}return d(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Ht)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Ht)},persist:function(){},isPersistent:Ht}),t}var Yt,Gt,Qt,Xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zt=Wt(Xt),Jt=d({},Xt,{view:0,detail:0}),en=Wt(Jt),tn=d({},Jt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qt&&(Qt&&"mousemove"===e.type?(Yt=e.screenX-Qt.screenX,Gt=e.screenY-Qt.screenY):Gt=Yt=0,Qt=e),Yt)},movementY:function(e){return"movementY"in e?e.movementY:Gt}}),nn=Wt(tn),rn=Wt(d({},tn,{dataTransfer:0})),on=Wt(d({},Jt,{relatedTarget:0})),sn=Wt(d({},Xt,{animationName:0,elapsedTime:0,pseudoElement:0})),an=Wt(d({},Xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ln=Wt(d({},Xt,{data:0})),un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=dn[e])&&!!t[e]}function pn(){return fn}var hn=Wt(d({},Jt,{key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pn,charCode:function(e){return"keypress"===e.type?zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),mn=Wt(d({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),gn=Wt(d({},Jt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pn})),yn=Wt(d({},Xt,{propertyName:0,elapsedTime:0,pseudoElement:0})),vn=Wt(d({},tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),bn=Wt(d({},Xt,{newState:0,oldState:0})),En=[9,13,27,32],kn=Mt&&"CompositionEvent"in window,wn=null;Mt&&"documentMode"in document&&(wn=document.documentMode);var xn=Mt&&"TextEvent"in window&&!wn,_n=Mt&&(!kn||wn&&8<wn&&11>=wn),Sn=String.fromCharCode(32),Tn=!1;function Cn(e,t){switch(e){case"keyup":return-1!==En.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var An=!1,Dn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function On(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dn[e.type]:"textarea"===t}function In(e,t,n,r){Ot?It?It.push(r):It=[r]:Ot=r,0<(t=qc(t,"onChange")).length&&(n=new Zt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ln=null,Fn=null;function Rn(e){Rc(e,0)}function Pn(e){if(dt($e(e)))return e}function Mn(e,t){if("change"===e)return t}var jn=!1;if(Mt){var Vn;if(Mt){var Un="oninput"in document;if(!Un){var Bn=document.createElement("div");Bn.setAttribute("oninput","return;"),Un="function"==typeof Bn.oninput}Vn=Un}else Vn=!1;jn=Vn&&(!document.documentMode||9<document.documentMode)}function $n(){Ln&&(Ln.detachEvent("onpropertychange",qn),Fn=Ln=null)}function qn(e){if("value"===e.propertyName&&Pn(Fn)){var t=[];In(t,Fn,e,Dt(e)),Rt(Rn,t)}}function zn(e,t,n){"focusin"===e?($n(),Fn=n,(Ln=t).attachEvent("onpropertychange",qn)):"focusout"===e&&$n()}function Hn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Pn(Fn)}function Kn(e,t){if("click"===e)return Pn(t)}function Wn(e,t){if("input"===e||"change"===e)return Pn(t)}var Yn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Gn(e,t){if(Yn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!G.call(t,i)||!Yn(e[i],t[i]))return!1}return!0}function Qn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xn(e,t){var n,r=Qn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qn(r)}}function Zn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Zn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Jn(e){for(var t=ft((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ft((e=t.contentWindow).document)}return t}function er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var tr=Mt&&"documentMode"in document&&11>=document.documentMode,nr=null,rr=null,ir=null,or=!1;function sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;or||null==nr||nr!==ft(r)||(r="selectionStart"in(r=nr)&&er(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ir&&Gn(ir,r)||(ir=r,0<(r=qc(rr,"onSelect")).length&&(t=new Zt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nr)))}function ar(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:ar("Animation","AnimationEnd"),animationiteration:ar("Animation","AnimationIteration"),animationstart:ar("Animation","AnimationStart"),transitionrun:ar("Transition","TransitionRun"),transitionstart:ar("Transition","TransitionStart"),transitioncancel:ar("Transition","TransitionCancel"),transitionend:ar("Transition","TransitionEnd")},ur={},cr={};function dr(e){if(ur[e])return ur[e];if(!lr[e])return e;var t,n=lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return ur[e]=n[t];return e}Mt&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);var fr=dr("animationend"),pr=dr("animationiteration"),hr=dr("animationstart"),mr=dr("transitionrun"),gr=dr("transitionstart"),yr=dr("transitioncancel"),vr=dr("transitionend"),br=new Map,Er="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function kr(e,t){br.set(e,t),We(t,[e])}Er.push("scrollEnd");var wr=new WeakMap;function xr(e,t){if("object"==typeof e&&null!==e){var n=wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:at(t)},wr.set(e,t),t)}return{value:e,source:t,stack:at(t)}}var _r=[],Sr=0,Tr=0;function Cr(){for(var e=Sr,t=Tr=Sr=0;t<e;){var n=_r[t];_r[t++]=null;var r=_r[t];_r[t++]=null;var i=_r[t];_r[t++]=null;var o=_r[t];if(_r[t++]=null,null!==r&&null!==i){var s=r.pending;null===s?i.next=i:(i.next=s.next,s.next=i),r.pending=i}0!==o&&Or(n,i,o)}}function Nr(e,t,n,r){_r[Sr++]=e,_r[Sr++]=t,_r[Sr++]=n,_r[Sr++]=r,Tr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ar(e,t,n,r){return Nr(e,t,n,r),Ir(e)}function Dr(e,t){return Nr(e,null,null,t),Ir(e)}function Or(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-fe(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function Ir(e){if(50<Ou)throw Ou=0,Iu=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Lr={};function Fr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rr(e,t,n,r){return new Fr(e,t,n,r)}function Pr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mr(e,t){var n=e.alternate;return null===n?((n=Rr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function jr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vr(e,t,n,r,i,o){var a=0;if(r=e,"function"==typeof e)Pr(e)&&(a=1);else if("string"==typeof e)a=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,B.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case T:return(e=Rr(31,n,t,i)).elementType=T,e.lanes=o,e;case m:return Ur(n.children,i,o,t);case g:a=8,i|=24;break;case y:return(e=Rr(12,n,t,2|i)).elementType=y,e.lanes=o,e;case w:return(e=Rr(13,n,t,i)).elementType=w,e.lanes=o,e;case x:return(e=Rr(19,n,t,i)).elementType=x,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case v:case E:a=10;break e;case b:a=9;break e;case k:a=11;break e;case _:a=14;break e;case S:a=16,r=null;break e}a=29,n=Error(s(130,null===e?"null":typeof e,"")),r=null}return(t=Rr(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Ur(e,t,n,r){return(e=Rr(7,e,r,t)).lanes=n,e}function Br(e,t,n){return(e=Rr(6,e,null,t)).lanes=n,e}function $r(e,t,n){return(t=Rr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qr=[],zr=0,Hr=null,Kr=0,Wr=[],Yr=0,Gr=null,Qr=1,Xr="";function Zr(e,t){qr[zr++]=Kr,qr[zr++]=Hr,Hr=e,Kr=t}function Jr(e,t,n){Wr[Yr++]=Qr,Wr[Yr++]=Xr,Wr[Yr++]=Gr,Gr=e;var r=Qr;e=Xr;var i=32-fe(r)-1;r&=~(1<<i),n+=1;var o=32-fe(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Qr=1<<32-fe(t)+i|n<<i|r,Xr=o+e}else Qr=1<<o|n<<i|r,Xr=e}function ei(e){null!==e.return&&(Zr(e,1),Jr(e,1,0))}function ti(e){for(;e===Hr;)Hr=qr[--zr],qr[zr]=null,Kr=qr[--zr],qr[zr]=null;for(;e===Gr;)Gr=Wr[--Yr],Wr[Yr]=null,Xr=Wr[--Yr],Wr[Yr]=null,Qr=Wr[--Yr],Wr[Yr]=null}var ni=null,ri=null,ii=!1,oi=null,si=!1,ai=Error(s(519));function li(e){throw hi(xr(Error(s(418,"")),e)),ai}function ui(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Oe]=e,t[Ie]=r,n){case"dialog":Pc("cancel",t),Pc("close",t);break;case"iframe":case"object":case"embed":Pc("load",t);break;case"video":case"audio":for(n=0;n<Lc.length;n++)Pc(Lc[n],t);break;case"source":Pc("error",t);break;case"img":case"image":case"link":Pc("error",t),Pc("load",t);break;case"details":Pc("toggle",t);break;case"input":Pc("invalid",t),gt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ct(t);break;case"select":Pc("invalid",t);break;case"textarea":Pc("invalid",t),Et(t,r.value,r.defaultValue,r.children),ct(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Gc(t.textContent,n)?(null!=r.popover&&(Pc("beforetoggle",t),Pc("toggle",t)),null!=r.onScroll&&Pc("scroll",t),null!=r.onScrollEnd&&Pc("scrollend",t),null!=r.onClick&&(t.onclick=Qc),t=!0):t=!1,t||li(e)}function ci(e){for(ni=e.return;ni;)switch(ni.tag){case 5:case 13:return void(si=!1);case 27:case 3:return void(si=!0);default:ni=ni.return}}function di(e){if(e!==ni)return!1;if(!ii)return ci(e),ii=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||od(e.type,e.memoizedProps)),t=!t),t&&ri&&li(e),ci(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){ri=gd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}ri=null}}else 27===n?(n=ri,fd(e.type)?(e=yd,yd=null,ri=e):ri=n):ri=ni?gd(e.stateNode.nextSibling):null;return!0}function fi(){ri=ni=null,ii=!1}function pi(){var e=oi;return null!==e&&(null===vu?vu=e:vu.push.apply(vu,e),oi=null),e}function hi(e){null===oi?oi=[e]:oi.push(e)}var mi=j(null),gi=null,yi=null;function vi(e,t,n){U(mi,t._currentValue),t._currentValue=n}function bi(e){e._currentValue=mi.current,V(mi)}function Ei(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=i.dependencies;if(null!==o){var a=i.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=i;for(var u=0;u<t.length;u++)if(l.context===t[u]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),Ei(o.return,n,e),r||(a=null);break e}o=l.next}}else if(18===i.tag){if(null===(a=i.return))throw Error(s(341));a.lanes|=n,null!==(o=a.alternate)&&(o.lanes|=n),Ei(a,n,e),a=null}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===e){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}}function wi(e,t,n,r){e=null;for(var i=t,o=!1;null!==i;){if(!o)if(524288&i.flags)o=!0;else if(262144&i.flags)break;if(10===i.tag){var a=i.alternate;if(null===a)throw Error(s(387));if(null!==(a=a.memoizedProps)){var l=i.type;Yn(i.pendingProps.value,a.value)||(null!==e?e.push(l):e=[l])}}else if(i===z.current){if(null===(a=i.alternate))throw Error(s(387));a.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(Wd):e=[Wd])}i=i.return}null!==e&&ki(t,e,n,r),t.flags|=262144}function xi(e){for(e=e.firstContext;null!==e;){if(!Yn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _i(e){gi=e,yi=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Si(e){return Ci(gi,e)}function Ti(e,t){return null===gi&&_i(e),Ci(e,t)}function Ci(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===yi){if(null===e)throw Error(s(308));yi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else yi=yi.next=t;return n}var Ni="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ai=r.unstable_scheduleCallback,Di=r.unstable_NormalPriority,Oi={$$typeof:E,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ii(){return{controller:new Ni,data:new Map,refCount:0}}function Li(e){e.refCount--,0===e.refCount&&Ai(Di,function(){e.controller.abort()})}var Fi=null,Ri=0,Pi=0,Mi=null;function ji(){if(0===--Ri&&null!==Fi){null!==Mi&&(Mi.status="fulfilled");var e=Fi;Fi=null,Pi=0,Mi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Vi=L.S;L.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Fi){var n=Fi=[];Ri=0,Pi=Nc(),Mi={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ri++,t.then(ji,ji)}(0,t),null!==Vi&&Vi(e,t)};var Ui=j(null);function Bi(){var e=Ui.current;return null!==e?e:nu.pooledCache}function $i(e,t){U(Ui,null===t?Ui.current:t.pool)}function qi(){var e=Bi();return null===e?null:{parent:Oi._currentValue,pool:e}}var zi=Error(s(460)),Hi=Error(s(474)),Ki=Error(s(542)),Wi={then:function(){}};function Yi(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Gi(){}function Qi(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Gi,Gi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw Ji(e=t.reason),e;default:if("string"==typeof t.status)t.then(Gi,Gi);else{if(null!==(e=nu)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Ji(e=t.reason),e}throw Xi=t,zi}}var Xi=null;function Zi(){if(null===Xi)throw Error(s(459));var e=Xi;return Xi=null,e}function Ji(e){if(e===zi||e===Ki)throw Error(s(483))}var eo=!1;function to(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function no(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ro(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&tu){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ir(e),Or(e,null,n),t}return Nr(e,r,t,n),Ir(e)}function oo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Te(e,n)}}function so(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var s={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=s:o=o.next=s,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ao=!1;function lo(){if(ao&&null!==Mi)throw Mi}function uo(e,t,n,r){ao=!1;var i=e.updateQueue;eo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var l=a,u=l.next;l.next=null,null===s?o=u:s.next=u,s=l;var c=e.alternate;null!==c&&(a=(c=c.updateQueue).lastBaseUpdate)!==s&&(null===a?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l)}if(null!==o){var f=i.baseState;for(s=0,c=u=l=null,a=o;;){var p=-536870913&a.lane,h=p!==a.lane;if(h?(iu&p)===p:(r&p)===p){0!==p&&p===Pi&&(ao=!0),null!==c&&(c=c.next={lane:0,tag:a.tag,payload:a.payload,callback:null,next:null});e:{var m=e,g=a;p=t;var y=n;switch(g.tag){case 1:if("function"==typeof(m=g.payload)){f=m.call(y,f,p);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=g.payload)?m.call(y,f,p):m))break e;f=d({},f,p);break e;case 2:eo=!0}}null!==(p=a.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[p]:h.push(p))}else h={lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=h,l=f):c=c.next=h,s|=p;if(null===(a=a.next)){if(null===(a=i.shared.pending))break;a=(h=a).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===c&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===o&&(i.shared.lanes=0),fu|=s,e.lanes=s,e.memoizedState=f}}function co(e,t){if("function"!=typeof e)throw Error(s(191,e));e.call(t)}function fo(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)co(n[e],t)}var po=j(null),ho=j(0);function mo(e,t){U(ho,e=cu),U(po,t),cu=e|t.baseLanes}function go(){U(ho,cu),U(po,po.current)}function yo(){cu=ho.current,V(po),V(ho)}var vo=0,bo=null,Eo=null,ko=null,wo=!1,xo=!1,_o=!1,So=0,To=0,Co=null,No=0;function Ao(){throw Error(s(321))}function Do(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yn(e[n],t[n]))return!1;return!0}function Oo(e,t,n,r,i,o){return vo=o,bo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=null===e||null===e.memoizedState?Hs:Ks,_o=!1,o=n(r,i),_o=!1,xo&&(o=Lo(t,n,r,i)),Io(e),o}function Io(e){L.H=zs;var t=null!==Eo&&null!==Eo.next;if(vo=0,ko=Eo=bo=null,wo=!1,To=0,Co=null,t)throw Error(s(300));null===e||Ta||null!==(e=e.dependencies)&&xi(e)&&(Ta=!0)}function Lo(e,t,n,r){bo=e;var i=0;do{if(xo&&(Co=null),To=0,xo=!1,25<=i)throw Error(s(301));if(i+=1,ko=Eo=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}L.H=Ws,o=t(n,r)}while(xo);return o}function Fo(){var e=L.H,t=e.useState()[0];return t="function"==typeof t.then?Uo(t):t,e=e.useState()[0],(null!==Eo?Eo.memoizedState:null)!==e&&(bo.flags|=1024),t}function Ro(){var e=0!==So;return So=0,e}function Po(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(wo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}wo=!1}vo=0,ko=Eo=bo=null,xo=!1,To=So=0,Co=null}function jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ko?bo.memoizedState=ko=e:ko=ko.next=e,ko}function Vo(){if(null===Eo){var e=bo.alternate;e=null!==e?e.memoizedState:null}else e=Eo.next;var t=null===ko?bo.memoizedState:ko.next;if(null!==t)ko=t,Eo=e;else{if(null===e){if(null===bo.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(Eo=e).memoizedState,baseState:Eo.baseState,baseQueue:Eo.baseQueue,queue:Eo.queue,next:null},null===ko?bo.memoizedState=ko=e:ko=ko.next=e}return ko}function Uo(e){var t=To;return To+=1,null===Co&&(Co=[]),e=Qi(Co,e,t),t=bo,null===(null===ko?t.memoizedState:ko.next)&&(t=t.alternate,L.H=null===t||null===t.memoizedState?Hs:Ks),e}function Bo(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Uo(e);if(e.$$typeof===E)return Si(e)}throw Error(s(438,String(e)))}function $o(e){var t=null,n=bo.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=bo.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},bo.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=C;return t.index++,n}function qo(e,t){return"function"==typeof t?t(e):t}function zo(e){return Ho(Vo(),Eo,e)}function Ho(e,t,n){var r=e.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,null===i)e.memoizedState=o;else{var l=a=null,u=null,c=t=i.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(iu&f)===f:(vo&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Pi&&(d=!0);else{if((vo&p)===p){c=c.next,p===Pi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,a=o):u=u.next=f,bo.lanes|=p,fu|=p}f=c.action,_o&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else p={lane:f,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,a=o):u=u.next=p,bo.lanes|=f,fu|=f;c=c.next}while(null!==c&&c!==t);if(null===u?a=o:u.next=l,!Yn(o,e.memoizedState)&&(Ta=!0,d&&null!==(n=Mi)))throw n;e.memoizedState=o,e.baseState=a,e.baseQueue=u,r.lastRenderedState=o}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ko(e){var t=Vo(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=e(o,a.action),a=a.next}while(a!==i);Yn(o,t.memoizedState)||(Ta=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Wo(e,t,n){var r=bo,i=Vo(),o=ii;if(o){if(void 0===n)throw Error(s(407));n=n()}else n=t();var a=!Yn((Eo||i).memoizedState,n);if(a&&(i.memoizedState=n,Ta=!0),i=i.queue,gs(2048,8,Qo.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==ko&&1&ko.memoizedState.tag){if(r.flags|=2048,ps(9,{destroy:void 0,resource:void 0},Go.bind(null,r,i,n,t),null),null===nu)throw Error(s(349));o||124&vo||Yo(r,t,n)}return n}function Yo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=bo.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},bo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,Xo(t)&&Zo(e)}function Qo(e,t,n){return n(function(){Xo(t)&&Zo(e)})}function Xo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yn(e,n)}catch(e){return!0}}function Zo(e){var t=Dr(e,2);null!==t&&Ru(t,0,2)}function Jo(e){var t=jo();if("function"==typeof e){var n=e;if(e=n(),_o){de(!0);try{n()}finally{de(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:e},t}function es(e,t,n,r){return e.baseState=n,Ho(e,Eo,"function"==typeof r?r:qo)}function ts(e,t,n,r,i){if(Bs(e))throw Error(s(485));if(null!==(e=t.action)){var o={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==L.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,ns(t,o)):(o.next=n.next,t.pending=n.next=o)}}function ns(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=L.T,s={};L.T=s;try{var a=n(i,r),l=L.S;null!==l&&l(s,a),rs(e,t,a)}catch(n){os(e,t,n)}finally{L.T=o}}else try{rs(e,t,o=n(i,r))}catch(n){os(e,t,n)}}function rs(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){is(e,t,n)},function(n){return os(e,t,n)}):is(e,t,n)}function is(e,t,n){t.status="fulfilled",t.value=n,ss(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,ns(e,n)))}function os(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ss(t),t=t.next}while(t!==r)}e.action=null}function ss(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function as(e,t){return t}function ls(e,t){if(ii){var n=nu.formState;if(null!==n){e:{var r=bo;if(ii){if(ri){t:{for(var i=ri,o=si;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=gd(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ri=gd(i.nextSibling),r="F!"===i.data;break e}}li(r)}r=!1}r&&(t=n[0])}}return(n=jo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:t},n.queue=r,n=js.bind(null,bo,r),r.dispatch=n,r=Jo(!1),o=Us.bind(null,bo,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=jo()).queue=i,n=ts.bind(null,bo,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function us(e){return cs(Vo(),Eo,e)}function cs(e,t,n){if(t=Ho(e,t,as)[0],e=zo(qo)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Uo(t)}catch(e){if(e===zi)throw Ki;throw e}else r=t;var i=(t=Vo()).queue,o=i.dispatch;return n!==t.memoizedState&&(bo.flags|=2048,ps(9,{destroy:void 0,resource:void 0},ds.bind(null,i,n),null)),[r,o,e]}function ds(e,t){e.action=t}function fs(e){var t=Vo(),n=Eo;if(null!==n)return cs(t,n,e);Vo(),t=t.memoizedState;var r=(n=Vo()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ps(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=bo.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},bo.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function hs(){return Vo().memoizedState}function ms(e,t,n,r){var i=jo();r=void 0===r?null:r,bo.flags|=e,i.memoizedState=ps(1|t,{destroy:void 0,resource:void 0},n,r)}function gs(e,t,n,r){var i=Vo();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==Eo&&null!==r&&Do(r,Eo.memoizedState.deps)?i.memoizedState=ps(t,o,n,r):(bo.flags|=e,i.memoizedState=ps(1|t,o,n,r))}function ys(e,t){ms(8390656,8,e,t)}function vs(e,t){gs(2048,8,e,t)}function bs(e,t){return gs(4,2,e,t)}function Es(e,t){return gs(4,4,e,t)}function ks(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function ws(e,t,n){n=null!=n?n.concat([e]):null,gs(4,4,ks.bind(null,t,e),n)}function xs(){}function _s(e,t){var n=Vo();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Do(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ss(e,t){var n=Vo();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Do(t,r[1]))return r[0];if(r=e(),_o){de(!0);try{e()}finally{de(!1)}}return n.memoizedState=[r,t],r}function Ts(e,t,n){return void 0===n||1073741824&vo?e.memoizedState=t:(e.memoizedState=n,e=Fu(),bo.lanes|=e,fu|=e,n)}function Cs(e,t,n,r){return Yn(n,t)?n:null!==po.current?(e=Ts(e,n,r),Yn(e,t)||(Ta=!0),e):42&vo?(e=Fu(),bo.lanes|=e,fu|=e,t):(Ta=!0,e.memoizedState=n)}function Ns(e,t,n,r,i){var o=F.p;F.p=0!==o&&8>o?o:8;var s,a,l,u=L.T,c={};L.T=c,Us(e,!1,t,n);try{var d=i(),f=L.S;if(null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then){var p=(s=r,a=[],l={status:"pending",value:null,reason:null,then:function(e){a.push(e)}},d.then(function(){l.status="fulfilled",l.value=s;for(var e=0;e<a.length;e++)(0,a[e])(s)},function(e){for(l.status="rejected",l.reason=e,e=0;e<a.length;e++)(0,a[e])(void 0)}),l);Vs(e,t,p,Lu())}else Vs(e,t,r,Lu())}catch(n){Vs(e,t,{then:function(){},status:"rejected",reason:n},Lu())}finally{F.p=o,L.T=u}}function As(){}function Ds(e,t,n,r){if(5!==e.tag)throw Error(s(476));var i=Os(e).queue;Ns(e,i,t,R,null===n?As:function(){return Is(e),n(r)})}function Os(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:R},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Is(e){Vs(e,Os(e).next.queue,{},Lu())}function Ls(){return Si(Wd)}function Fs(){return Vo().memoizedState}function Rs(){return Vo().memoizedState}function Ps(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Lu(),r=io(t,e=ro(n),n);return null!==r&&(Ru(r,0,n),oo(r,t,n)),t={cache:Ii()},void(e.payload=t)}t=t.return}}function Ms(e,t,n){var r=Lu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Bs(e)?$s(t,n):null!==(n=Ar(e,t,n,r))&&(Ru(n,0,r),qs(n,t,r))}function js(e,t,n){Vs(e,t,n,Lu())}function Vs(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bs(e))$s(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Yn(a,s))return Nr(e,t,i,0),null===nu&&Cr(),!1}catch(e){}if(null!==(n=Ar(e,t,i,r)))return Ru(n,0,r),qs(n,t,r),!0}return!1}function Us(e,t,n,r){if(r={lane:2,revertLane:Nc(),action:r,hasEagerState:!1,eagerState:null,next:null},Bs(e)){if(t)throw Error(s(479))}else null!==(t=Ar(e,n,r,2))&&Ru(t,0,2)}function Bs(e){var t=e.alternate;return e===bo||null!==t&&t===bo}function $s(e,t){xo=wo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Te(e,n)}}var zs={readContext:Si,use:Bo,useCallback:Ao,useContext:Ao,useEffect:Ao,useImperativeHandle:Ao,useLayoutEffect:Ao,useInsertionEffect:Ao,useMemo:Ao,useReducer:Ao,useRef:Ao,useState:Ao,useDebugValue:Ao,useDeferredValue:Ao,useTransition:Ao,useSyncExternalStore:Ao,useId:Ao,useHostTransitionStatus:Ao,useFormState:Ao,useActionState:Ao,useOptimistic:Ao,useMemoCache:Ao,useCacheRefresh:Ao},Hs={readContext:Si,use:Bo,useCallback:function(e,t){return jo().memoizedState=[e,void 0===t?null:t],e},useContext:Si,useEffect:ys,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ms(4194308,4,ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ms(4194308,4,e,t)},useInsertionEffect:function(e,t){ms(4,2,e,t)},useMemo:function(e,t){var n=jo();t=void 0===t?null:t;var r=e();if(_o){de(!0);try{e()}finally{de(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=jo();if(void 0!==n){var i=n(t);if(_o){de(!0);try{n(t)}finally{de(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},jo().memoizedState=e},useState:function(e){var t=(e=Jo(e)).queue,n=js.bind(null,bo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(jo(),e,t)},useTransition:function(){var e=Jo(!1);return e=Ns.bind(null,bo,e.queue,!0,!1),jo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=bo,i=jo();if(ii){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===nu)throw Error(s(349));124&iu||Yo(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ys(Qo.bind(null,r,o,e),[e]),r.flags|=2048,ps(9,{destroy:void 0,resource:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=jo(),t=nu.identifierPrefix;if(ii){var n=Xr;t="«"+t+"R"+(n=(Qr&~(1<<32-fe(Qr)-1)).toString(32)+n),0<(n=So++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=No++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Ls,useFormState:ls,useActionState:ls,useOptimistic:function(e){var t=jo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Us.bind(null,bo,!0,n),n.dispatch=t,[e,t]},useMemoCache:$o,useCacheRefresh:function(){return jo().memoizedState=Ps.bind(null,bo)}},Ks={readContext:Si,use:Bo,useCallback:_s,useContext:Si,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:bs,useLayoutEffect:Es,useMemo:Ss,useReducer:zo,useRef:hs,useState:function(){return zo(qo)},useDebugValue:xs,useDeferredValue:function(e,t){return Cs(Vo(),Eo.memoizedState,e,t)},useTransition:function(){var e=zo(qo)[0],t=Vo().memoizedState;return["boolean"==typeof e?e:Uo(e),t]},useSyncExternalStore:Wo,useId:Fs,useHostTransitionStatus:Ls,useFormState:us,useActionState:us,useOptimistic:function(e,t){return es(Vo(),0,e,t)},useMemoCache:$o,useCacheRefresh:Rs},Ws={readContext:Si,use:Bo,useCallback:_s,useContext:Si,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:bs,useLayoutEffect:Es,useMemo:Ss,useReducer:Ko,useRef:hs,useState:function(){return Ko(qo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Vo();return null===Eo?Ts(n,e,t):Cs(n,Eo.memoizedState,e,t)},useTransition:function(){var e=Ko(qo)[0],t=Vo().memoizedState;return["boolean"==typeof e?e:Uo(e),t]},useSyncExternalStore:Wo,useId:Fs,useHostTransitionStatus:Ls,useFormState:fs,useActionState:fs,useOptimistic:function(e,t){var n=Vo();return null!==Eo?es(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:$o,useCacheRefresh:Rs},Ys=null,Gs=0;function Qs(e){var t=Gs;return Gs+=1,null===Ys&&(Ys=[]),Qi(Ys,e,t)}function Xs(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Zs(e,t){if(t.$$typeof===f)throw Error(s(525));throw e=Object.prototype.toString.call(t),Error(s(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Js(e){return(0,e._init)(e._payload)}function ea(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=Mr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Br(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===m?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===S&&Js(o)===t.type)?(Xs(t=i(t,n.props),n),t.return=e,t):(Xs(t=Vr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=$r(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ur(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Br(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return Xs(n=Vr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case h:return(t=$r(t,e.mode,n)).return=e,t;case S:return f(e,t=(0,t._init)(t._payload),n)}if(I(t)||A(t))return(t=Ur(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,Qs(t),n);if(t.$$typeof===E)return f(e,Ti(e,t),n);Zs(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===i?u(e,t,n,r):null;case h:return n.key===i?c(e,t,n,r):null;case S:return g(e,t,n=(i=n._init)(n._payload),r)}if(I(n)||A(n))return null!==i?null:d(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,Qs(n),r);if(n.$$typeof===E)return g(e,t,Ti(e,n),r);Zs(e,n)}return null}function y(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case h:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return y(e,t,n,r=(0,r._init)(r._payload),i)}if(I(r)||A(r))return d(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return y(e,t,n,Qs(r),i);if(r.$$typeof===E)return y(e,t,n,Ti(t,r),i);Zs(t,r)}return null}function v(l,u,c,d){if("object"==typeof c&&null!==c&&c.type===m&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case p:e:{for(var b=c.key;null!==u;){if(u.key===b){if((b=c.type)===m){if(7===u.tag){n(l,u.sibling),(d=i(u,c.props.children)).return=l,l=d;break e}}else if(u.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===S&&Js(b)===u.type){n(l,u.sibling),Xs(d=i(u,c.props),c),d.return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===m?((d=Ur(c.props.children,l.mode,d,c.key)).return=l,l=d):(Xs(d=Vr(c.type,c.key,c.props,null,l.mode,d),c),d.return=l,l=d)}return a(l);case h:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(d=i(u,c.children||[])).return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}(d=$r(c,l.mode,d)).return=l,l=d}return a(l);case S:return v(l,u,c=(b=c._init)(c._payload),d)}if(I(c))return function(i,s,a,l){for(var u=null,c=null,d=s,p=s=0,h=null;null!==d&&p<a.length;p++){d.index>p?(h=d,d=null):h=d.sibling;var m=g(i,d,a[p],l);if(null===m){null===d&&(d=h);break}e&&d&&null===m.alternate&&t(i,d),s=o(m,s,p),null===c?u=m:c.sibling=m,c=m,d=h}if(p===a.length)return n(i,d),ii&&Zr(i,p),u;if(null===d){for(;p<a.length;p++)null!==(d=f(i,a[p],l))&&(s=o(d,s,p),null===c?u=d:c.sibling=d,c=d);return ii&&Zr(i,p),u}for(d=r(d);p<a.length;p++)null!==(h=y(d,i,p,a[p],l))&&(e&&null!==h.alternate&&d.delete(null===h.key?p:h.key),s=o(h,s,p),null===c?u=h:c.sibling=h,c=h);return e&&d.forEach(function(e){return t(i,e)}),ii&&Zr(i,p),u}(l,u,c,d);if(A(c)){if("function"!=typeof(b=A(c)))throw Error(s(150));return function(i,a,l,u){if(null==l)throw Error(s(151));for(var c=null,d=null,p=a,h=a=0,m=null,v=l.next();null!==p&&!v.done;h++,v=l.next()){p.index>h?(m=p,p=null):m=p.sibling;var b=g(i,p,v.value,u);if(null===b){null===p&&(p=m);break}e&&p&&null===b.alternate&&t(i,p),a=o(b,a,h),null===d?c=b:d.sibling=b,d=b,p=m}if(v.done)return n(i,p),ii&&Zr(i,h),c;if(null===p){for(;!v.done;h++,v=l.next())null!==(v=f(i,v.value,u))&&(a=o(v,a,h),null===d?c=v:d.sibling=v,d=v);return ii&&Zr(i,h),c}for(p=r(p);!v.done;h++,v=l.next())null!==(v=y(p,i,h,v.value,u))&&(e&&null!==v.alternate&&p.delete(null===v.key?h:v.key),a=o(v,a,h),null===d?c=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),ii&&Zr(i,h),c}(l,u,c=b.call(c),d)}if("function"==typeof c.then)return v(l,u,Qs(c),d);if(c.$$typeof===E)return v(l,u,Ti(l,c),d);Zs(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(d=i(u,c)).return=l,l=d):(n(l,u),(d=Br(c,l.mode,d)).return=l,l=d),a(l)):n(l,u)}return function(e,t,n,r){try{Gs=0;var i=v(e,t,n,r);return Ys=null,i}catch(t){if(t===zi||t===Ki)throw t;var o=Rr(29,t,null,e.mode);return o.lanes=r,o.return=e,o}}}var ta=ea(!0),na=ea(!1),ra=j(null),ia=null;function oa(e){var t=e.alternate;U(ua,1&ua.current),U(ra,e),null===ia&&(null===t||null!==po.current||null!==t.memoizedState)&&(ia=e)}function sa(e){if(22===e.tag){if(U(ua,ua.current),U(ra,e),null===ia){var t=e.alternate;null!==t&&null!==t.memoizedState&&(ia=e)}}else aa()}function aa(){U(ua,ua.current),U(ra,ra.current)}function la(e){V(ra),ia===e&&(ia=null),V(ua)}var ua=j(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||md(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function da(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:d({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var fa={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lu(),i=ro(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=io(e,i,r))&&(Ru(t,0,r),oo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lu(),i=ro(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=io(e,i,r))&&(Ru(t,0,r),oo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lu(),r=ro(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=io(e,r,n))&&(Ru(t,0,n),oo(t,e,n))}};function pa(e,t,n,r,i,o,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!(t.prototype&&t.prototype.isPureReactComponent&&Gn(n,r)&&Gn(i,o))}function ha(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&fa.enqueueReplaceState(t,t.state,null)}function ma(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=d({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}var ga="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function ya(e){ga(e)}function va(e){console.error(e)}function ba(e){ga(e)}function Ea(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ka(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function wa(e,t,n){return(n=ro(n)).tag=3,n.payload={element:null},n.callback=function(){Ea(e,t)},n}function xa(e){return(e=ro(e)).tag=3,e}function _a(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){ka(t,n,r)}}var s=n.stateNode;null!==s&&"function"==typeof s.componentDidCatch&&(e.callback=function(){ka(t,n,r),"function"!=typeof i&&(null===xu?xu=new Set([this]):xu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Sa=Error(s(461)),Ta=!1;function Ca(e,t,n,r){t.child=null===e?na(t,null,n,r):ta(t,e.child,n,r)}function Na(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var s={};for(var a in r)"ref"!==a&&(s[a]=r[a])}else s=r;return _i(t),r=Oo(e,t,n,s,o,i),a=Ro(),null===e||Ta?(ii&&a&&ei(t),t.flags|=1,Ca(e,t,r,i),t.child):(Po(e,t,i),Ya(e,t,i))}function Aa(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Pr(o)||void 0!==o.defaultProps||null!==n.compare?((e=Vr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Da(e,t,o,r,i))}if(o=e.child,!Ga(e,i)){var s=o.memoizedProps;if((n=null!==(n=n.compare)?n:Gn)(s,r)&&e.ref===t.ref)return Ya(e,t,i)}return t.flags|=1,(e=Mr(o,r)).ref=t.ref,e.return=t,t.child=e}function Da(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(Gn(o,r)&&e.ref===t.ref){if(Ta=!1,t.pendingProps=r=o,!Ga(e,i))return t.lanes=e.lanes,Ya(e,t,i);131072&e.flags&&(Ta=!0)}}return Fa(e,t,n,r,i)}function Oa(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==o?o.baseLanes|n:n,null!==e){for(i=t.child=e.child,o=0;null!==i;)o=o|i.lanes|i.childLanes,i=i.sibling;t.childLanes=o&~r}else t.childLanes=0,t.child=null;return Ia(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Ia(e,t,null!==o?o.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&$i(0,null!==o?o.cachePool:null),null!==o?mo(t,o):go(),sa(t)}else null!==o?($i(0,o.cachePool),mo(t,o),aa(),t.memoizedState=null):(null!==e&&$i(0,null),go(),aa());return Ca(e,t,i,n),t.child}function Ia(e,t,n,r){var i=Bi();return i=null===i?null:{parent:Oi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&$i(0,null),go(),sa(t),null!==e&&wi(e,t,r,!0),null}function La(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(s(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Fa(e,t,n,r,i){return _i(t),n=Oo(e,t,n,r,void 0,i),r=Ro(),null===e||Ta?(ii&&r&&ei(t),t.flags|=1,Ca(e,t,n,i),t.child):(Po(e,t,i),Ya(e,t,i))}function Ra(e,t,n,r,i,o){return _i(t),t.updateQueue=null,n=Lo(t,r,n,i),Io(e),r=Ro(),null===e||Ta?(ii&&r&&ei(t),t.flags|=1,Ca(e,t,n,o),t.child):(Po(e,t,o),Ya(e,t,o))}function Pa(e,t,n,r,i){if(_i(t),null===t.stateNode){var o=Lr,s=n.contextType;"object"==typeof s&&null!==s&&(o=Si(s)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=fa,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},to(t),s=n.contextType,o.context="object"==typeof s&&null!==s?Si(s):Lr,o.state=t.memoizedState,"function"==typeof(s=n.getDerivedStateFromProps)&&(da(t,n,s,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(s=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),s!==o.state&&fa.enqueueReplaceState(o,o.state,null),uo(t,r,o,i),lo(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var a=t.memoizedProps,l=ma(n,a);o.props=l;var u=o.context,c=n.contextType;s=Lr,"object"==typeof c&&null!==c&&(s=Si(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,a=t.pendingProps!==a,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a||u!==s)&&ha(t,o,r,s),eo=!1;var f=t.memoizedState;o.state=f,uo(t,r,o,i),lo(),u=t.memoizedState,a||f!==u||eo?("function"==typeof d&&(da(t,n,d,r),u=t.memoizedState),(l=eo||pa(t,n,l,r,f,u,s))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=s,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,no(e,t),c=ma(n,s=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,l=Lr,"object"==typeof u&&null!==u&&(l=Si(u)),(u="function"==typeof(a=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==d||f!==l)&&ha(t,o,r,l),eo=!1,f=t.memoizedState,o.state=f,uo(t,r,o,i),lo();var p=t.memoizedState;s!==d||f!==p||eo||null!==e&&null!==e.dependencies&&xi(e.dependencies)?("function"==typeof a&&(da(t,n,a,r),p=t.memoizedState),(c=eo||pa(t,n,c,r,f,p,l)||null!==e&&null!==e.dependencies&&xi(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,La(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ta(t,e.child,null,i),t.child=ta(t,null,n,i)):Ca(e,t,n,i),t.memoizedState=o.state,e=t.child):e=Ya(e,t,i),e}function Ma(e,t,n,r){return fi(),t.flags|=256,Ca(e,t,n,r),t.child}var ja={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Va(e){return{baseLanes:e,cachePool:qi()}}function Ua(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=mu),e}function Ba(e,t,n){var r,i=t.pendingProps,o=!1,a=!!(128&t.flags);if((r=a)||(r=(null===e||null!==e.memoizedState)&&!!(2&ua.current)),r&&(o=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(ii){if(o?oa(t):aa(),ii){var l,u=ri;if(l=u){e:{for(l=u,u=si;8!==l.nodeType;){if(!u){u=null;break e}if(null===(l=gd(l.nextSibling))){u=null;break e}}u=l}null!==u?(t.memoizedState={dehydrated:u,treeContext:null!==Gr?{id:Qr,overflow:Xr}:null,retryLane:536870912,hydrationErrors:null},(l=Rr(18,null,null,0)).stateNode=u,l.return=t,t.child=l,ni=t,ri=null,l=!0):l=!1}l||li(t)}if(null!==(u=t.memoizedState)&&null!==(u=u.dehydrated))return md(u)?t.lanes=32:t.lanes=536870912,null;la(t)}return u=i.children,i=i.fallback,o?(aa(),u=qa({mode:"hidden",children:u},o=t.mode),i=Ur(i,o,n,null),u.return=t,i.return=t,u.sibling=i,t.child=u,(o=t.child).memoizedState=Va(n),o.childLanes=Ua(e,r,n),t.memoizedState=ja,i):(oa(t),$a(t,u))}if(null!==(l=e.memoizedState)&&null!==(u=l.dehydrated)){if(a)256&t.flags?(oa(t),t.flags&=-257,t=za(e,t,n)):null!==t.memoizedState?(aa(),t.child=e.child,t.flags|=128,t=null):(aa(),o=i.fallback,u=t.mode,i=qa({mode:"visible",children:i.children},u),(o=Ur(o,u,n,null)).flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,ta(t,e.child,null,n),(i=t.child).memoizedState=Va(n),i.childLanes=Ua(e,r,n),t.memoizedState=ja,t=o);else if(oa(t),md(u)){if(r=u.nextSibling&&u.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(s(419))).stack="",i.digest=r,hi({value:i,source:null,stack:null}),t=za(e,t,n)}else if(Ta||wi(e,t,n,!1),r=0!==(n&e.childLanes),Ta||r){if(null!==(r=nu)&&0!==(i=0!==((i=42&(i=n&-n)?1:Ce(i))&(r.suspendedLanes|n))?0:i)&&i!==l.retryLane)throw l.retryLane=i,Dr(e,i),Ru(r,0,i),Sa;"$?"===u.data||Ku(),t=za(e,t,n)}else"$?"===u.data?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,ri=gd(u.nextSibling),ni=t,ii=!0,oi=null,si=!1,null!==e&&(Wr[Yr++]=Qr,Wr[Yr++]=Xr,Wr[Yr++]=Gr,Qr=e.id,Xr=e.overflow,Gr=t),(t=$a(t,i.children)).flags|=4096);return t}return o?(aa(),o=i.fallback,u=t.mode,c=(l=e.child).sibling,(i=Mr(l,{mode:"hidden",children:i.children})).subtreeFlags=65011712&l.subtreeFlags,null!==c?o=Mr(c,o):(o=Ur(o,u,n,null)).flags|=2,o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,null===(u=e.child.memoizedState)?u=Va(n):(null!==(l=u.cachePool)?(c=Oi._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=qi(),u={baseLanes:u.baseLanes|n,cachePool:l}),o.memoizedState=u,o.childLanes=Ua(e,r,n),t.memoizedState=ja,i):(oa(t),e=(n=e.child).sibling,(n=Mr(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function $a(e,t){return(t=qa({mode:"visible",children:t},e.mode)).return=e,e.child=t}function qa(e,t){return(e=Rr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function za(e,t,n){return ta(t,e.child,null,n),(e=$a(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ha(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function Ka(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Wa(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ca(e,t,r.children,n),2&(r=ua.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ha(e,n,t);else if(19===e.tag)Ha(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(U(ua,r),i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ka(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ca(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ka(t,!0,n,null,o);break;case"together":Ka(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ya(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),fu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(wi(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=Mr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ga(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!xi(e))}function Qa(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Ta=!0;else{if(!(Ga(e,n)||128&t.flags))return Ta=!1,function(e,t,n){switch(t.tag){case 3:H(t,t.stateNode.containerInfo),vi(0,Oi,e.memoizedState.cache),fi();break;case 27:case 5:W(t);break;case 4:H(t,t.stateNode.containerInfo);break;case 10:vi(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(oa(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ba(e,t,n):(oa(t),null!==(e=Ya(e,t,n))?e.sibling:null);oa(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(wi(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return Wa(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(ua,ua.current),r)break;return null;case 22:case 23:return t.lanes=0,Oa(e,t,n);case 24:vi(0,Oi,e.memoizedState.cache)}return Ya(e,t,n)}(e,t,n);Ta=!!(131072&e.flags)}else Ta=!1,ii&&1048576&t.flags&&Jr(t,Kr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,i=r._init;if(r=i(r._payload),t.type=r,"function"!=typeof r){if(null!=r){if((i=r.$$typeof)===k){t.tag=11,t=Na(null,t,r,e,n);break e}if(i===_){t.tag=14,t=Aa(null,t,r,e,n);break e}}throw t=O(r)||r,Error(s(306,t,""))}Pr(r)?(e=ma(r,e),t.tag=1,t=Pa(null,t,r,e,n)):(t.tag=0,t=Fa(null,t,r,e,n))}return t;case 0:return Fa(e,t,t.type,t.pendingProps,n);case 1:return Pa(e,t,r=t.type,i=ma(r,t.pendingProps),n);case 3:e:{if(H(t,t.stateNode.containerInfo),null===e)throw Error(s(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,no(e,t),uo(t,r,null,n);var a=t.memoizedState;if(r=a.cache,vi(0,Oi,r),r!==o.cache&&ki(t,[Oi],n,!0),lo(),r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ma(e,t,r,n);break e}if(r!==i){hi(i=xr(Error(s(424)),t)),t=Ma(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,ri=gd(e.firstChild),ni=t,ii=!0,oi=null,si=!0,n=na(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fi(),r===i){t=Ya(e,t,n);break e}Ca(e,t,r,n)}t=t.child}return t;case 26:return La(e,t),null===e?(n=Cd(t.type,null,t.pendingProps,null))?t.memoizedState=n:ii||(n=t.type,e=t.pendingProps,(r=nd(q.current).createElement(n))[Oe]=t,r[Ie]=e,Jc(r,n,e),ze(r),t.stateNode=r):t.memoizedState=Cd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return W(t),null===e&&ii&&(r=t.stateNode=bd(t.type,t.pendingProps,q.current),ni=t,si=!0,i=ri,fd(t.type)?(yd=i,ri=gd(r.firstChild)):ri=i),Ca(e,t,t.pendingProps.children,n),La(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ii&&((i=r=ri)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[je])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=gd(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,si))?(t.stateNode=r,ni=t,ri=gd(r.firstChild),si=!1,i=!0):i=!1),i||li(t)),W(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,r=o.children,od(i,o)?r=null:null!==a&&od(i,a)&&(t.flags|=32),null!==t.memoizedState&&(i=Oo(e,t,Fo,null,null,n),Wd._currentValue=i),La(e,t),Ca(e,t,r,n),t.child;case 6:return null===e&&ii&&((e=n=ri)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=gd(e.nextSibling)))return null}return e}(n,t.pendingProps,si))?(t.stateNode=n,ni=t,ri=null,e=!0):e=!1),e||li(t)),null;case 13:return Ba(e,t,n);case 4:return H(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ta(t,null,r,n):Ca(e,t,r,n),t.child;case 11:return Na(e,t,t.type,t.pendingProps,n);case 7:return Ca(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ca(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,vi(0,t.type,r.value),Ca(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,_i(t),r=r(i=Si(i)),t.flags|=1,Ca(e,t,r,n),t.child;case 14:return Aa(e,t,t.type,t.pendingProps,n);case 15:return Da(e,t,t.type,t.pendingProps,n);case 19:return Wa(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},null===e?((n=qa(r,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Mr(e.child,r)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Oa(e,t,n);case 24:return _i(t),r=Si(Oi),null===e?(null===(i=Bi())&&(i=nu,o=Ii(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},to(t),vi(0,Oi,i)):(0!==(e.lanes&n)&&(no(e,t),uo(t,null,null,n),lo()),i=e.memoizedState,o=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),vi(0,Oi,r)):(r=o.cache,vi(0,Oi,r),r!==i.cache&&ki(t,[Oi],n,!0))),Ca(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Xa(e){e.flags|=4}function Za(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Ud(t)){if(null!==(t=ra.current)&&((4194048&iu)===iu?null!==ia:(62914560&iu)!==iu&&!(536870912&iu)||t!==ia))throw Xi=Wi,Hi;e.flags|=8192}}function Ja(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?we():536870912,e.lanes|=t,gu|=t)}function el(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function tl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function nl(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return tl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),bi(Oi),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(di(t)?Xa(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,pi())),tl(t),null;case 26:return n=t.memoizedState,null===e?(Xa(t),null!==n?(tl(t),Za(t,n)):(tl(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Xa(t),tl(t),Za(t,n)):(tl(t),t.flags&=-16777217):(e.memoizedProps!==r&&Xa(t),tl(t),t.flags&=-16777217),null;case 27:Y(t),n=q.current;var i=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xa(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return tl(t),null}e=B.current,di(t)?ui(t):(e=bd(i,r,n),t.stateNode=e,Xa(t))}return tl(t),null;case 5:if(Y(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xa(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return tl(t),null}if(e=B.current,di(t))ui(t);else{switch(i=nd(q.current),e){case 1:e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?i.createElement(n,{is:r.is}):i.createElement(n)}}e[Oe]=t,e[Ie]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=e;e:switch(Jc(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Xa(t)}}return tl(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Xa(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));if(e=q.current,di(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=ni))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Oe]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Gc(e.nodeValue,n)))||li(t)}else(e=nd(e).createTextNode(r))[Oe]=t,t.stateNode=e}return tl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(s(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(s(317));i[Oe]=t}else fi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;tl(t),i=!1}else i=pi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&t.flags?(la(t),t):(la(t),null)}if(la(t),128&t.flags)return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){i=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool);var o=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Ja(t,t.updateQueue),tl(t),null;case 4:return K(),null===e&&Vc(t.stateNode.containerInfo),tl(t),null;case 10:return bi(t.type),tl(t),null;case 19:if(V(ua),null===(i=t.memoizedState))return tl(t),null;if(r=!!(128&t.flags),null===(o=i.rendering))if(r)el(i,!1);else{if(0!==du||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=ca(e))){for(t.flags|=128,el(i,!1),e=o.updateQueue,t.updateQueue=e,Ja(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)jr(n,e),n=n.sibling;return U(ua,1&ua.current|2),t.child}e=e.sibling}null!==i.tail&&ee()>ku&&(t.flags|=128,r=!0,el(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(o))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Ja(t,e),el(i,!0),null===i.tail&&"hidden"===i.tailMode&&!o.alternate&&!ii)return tl(t),null}else 2*ee()-i.renderingStartTime>ku&&536870912!==n&&(t.flags|=128,r=!0,el(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=i.last)?e.sibling=o:t.child=o,i.last=o)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ee(),t.sibling=null,e=ua.current,U(ua,r?1&e|2:1&e),t):(tl(t),null);case 22:case 23:return la(t),yo(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(tl(t),6&t.subtreeFlags&&(t.flags|=8192)):tl(t),null!==(n=t.updateQueue)&&Ja(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&V(Ui),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),bi(Oi),tl(t),null;case 25:case 30:return null}throw Error(s(156,t.tag))}function rl(e,t){switch(ti(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return bi(Oi),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Y(t),null;case 13:if(la(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));fi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return V(ua),null;case 4:return K(),null;case 10:return bi(t.type),null;case 22:case 23:return la(t),yo(),null!==e&&V(Ui),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return bi(Oi),null;default:return null}}function il(e,t){switch(ti(t),t.tag){case 3:bi(Oi),K();break;case 26:case 27:case 5:Y(t);break;case 4:K();break;case 13:la(t);break;case 19:V(ua);break;case 10:bi(t.type);break;case 22:case 23:la(t),yo(),null!==e&&V(Ui);break;case 24:bi(Oi)}}function ol(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,s=n.inst;r=o(),s.destroy=r}n=n.next}while(n!==i)}}catch(e){uc(t,t.return,e)}}function sl(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var s=r.inst,a=s.destroy;if(void 0!==a){s.destroy=void 0,i=t;var l=n,u=a;try{u()}catch(e){uc(i,l,e)}}}r=r.next}while(r!==o)}}catch(e){uc(t,t.return,e)}}function al(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{fo(t,n)}catch(t){uc(e,e.return,t)}}}function ll(e,t,n){n.props=ma(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){uc(e,t,n)}}function ul(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){uc(e,t,n)}}function cl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){uc(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){uc(e,t,n)}else n.current=null}function dl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){uc(e,e.return,t)}}function fl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,a=null,l=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||Xc(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":o=h;break;case"name":i=h;break;case"checked":c=h;break;case"defaultChecked":d=h;break;case"value":a=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:h!==f&&Xc(e,t,p,h,r,f)}}return void mt(e,a,l,u,c,d,o,i);case"select":for(o in h=a=l=p=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(o)||Xc(e,t,o,null,r,u)}for(i in r)if(o=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=o||null!=u))switch(i){case"value":p=o;break;case"defaultValue":l=o;break;case"multiple":a=o;default:o!==u&&Xc(e,t,i,o,r,u)}return t=l,n=a,r=h,void(null!=p?vt(e,!!n,p,!1):!!r!=!!n&&(null!=t?vt(e,!!n,t,!0):vt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=p=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:Xc(e,t,l,null,r,i)}for(a in r)if(i=r[a],o=n[a],r.hasOwnProperty(a)&&(null!=i||null!=o))switch(a){case"value":p=i;break;case"defaultValue":h=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(s(91));break;default:i!==o&&Xc(e,t,a,i,r,o)}return void bt(e,p,h);case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:Xc(e,t,m,null,r,p));for(u in r)p=r[u],h=n[u],!r.hasOwnProperty(u)||p===h||null==p&&null==h||("selected"===u?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:Xc(e,t,u,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&Xc(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(s(137,t));break;default:Xc(e,t,c,p,r,h)}return;default:if(St(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&Zc(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||Zc(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&Xc(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||Xc(e,t,f,p,r,h)}(r,e.type,n,t),r[Ie]=t}catch(t){uc(e,e.return,t)}}function pl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&fd(e.type)||4===e.tag}function hl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||pl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&fd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ml(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qc));else if(4!==r&&(27===r&&fd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function gl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&fd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(gl(e,t,n),e=e.sibling;null!==e;)gl(e,t,n),e=e.sibling}function yl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Jc(t,r,n),t[Oe]=e,t[Ie]=n}catch(t){uc(e,e.return,t)}}var vl=!1,bl=!1,El=!1,kl="function"==typeof WeakSet?WeakSet:Set,wl=null;function xl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Pl(e,n),4&r&&ol(5,n);break;case 1:if(Pl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){uc(n,n.return,e)}else{var i=ma(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){uc(n,n.return,e)}}64&r&&al(n),512&r&&ul(n,n.return);break;case 3:if(Pl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{fo(e,t)}catch(e){uc(n,n.return,e)}}break;case 27:null===t&&4&r&&yl(n);case 26:case 5:Pl(e,n),null===t&&4&r&&dl(n),512&r&&ul(n,n.return);break;case 12:Pl(e,n);break;case 13:Pl(e,n),4&r&&Al(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=pc.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||vl)){t=null!==t&&null!==t.memoizedState||bl,i=vl;var o=bl;vl=r,(bl=t)&&!o?jl(e,n,!!(8772&n.subtreeFlags)):Pl(e,n),vl=i,bl=o}break;case 30:break;default:Pl(e,n)}}function _l(e){var t=e.alternate;null!==t&&(e.alternate=null,_l(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ve(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Sl=null,Tl=!1;function Cl(e,t,n){for(n=n.child;null!==n;)Nl(e,t,n),n=n.sibling}function Nl(e,t,n){if(ce&&"function"==typeof ce.onCommitFiberUnmount)try{ce.onCommitFiberUnmount(ue,n)}catch(e){}switch(n.tag){case 26:bl||cl(n,t),Cl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:bl||cl(n,t);var r=Sl,i=Tl;fd(n.type)&&(Sl=n.stateNode,Tl=!1),Cl(e,t,n),Ed(n.stateNode),Sl=r,Tl=i;break;case 5:bl||cl(n,t);case 6:if(r=Sl,i=Tl,Sl=null,Cl(e,t,n),Tl=i,null!==(Sl=r))if(Tl)try{(9===Sl.nodeType?Sl.body:"HTML"===Sl.nodeName?Sl.ownerDocument.body:Sl).removeChild(n.stateNode)}catch(e){uc(n,t,e)}else try{Sl.removeChild(n.stateNode)}catch(e){uc(n,t,e)}break;case 18:null!==Sl&&(Tl?(pd(9===(e=Sl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Sf(e)):pd(Sl,n.stateNode));break;case 4:r=Sl,i=Tl,Sl=n.stateNode.containerInfo,Tl=!0,Cl(e,t,n),Sl=r,Tl=i;break;case 0:case 11:case 14:case 15:bl||sl(2,n,t),bl||sl(4,n,t),Cl(e,t,n);break;case 1:bl||(cl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&ll(n,t,r)),Cl(e,t,n);break;case 21:Cl(e,t,n);break;case 22:bl=(r=bl)||null!==n.memoizedState,Cl(e,t,n),bl=r;break;default:Cl(e,t,n)}}function Al(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Sf(e)}catch(e){uc(t,t.return,e)}}function Dl(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new kl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new kl),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){var r=hc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Ol(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],o=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 27:if(fd(l.type)){Sl=l.stateNode,Tl=!1;break e}break;case 5:Sl=l.stateNode,Tl=!1;break e;case 3:case 4:Sl=l.stateNode.containerInfo,Tl=!0;break e}l=l.return}if(null===Sl)throw Error(s(160));Nl(o,a,i),Sl=null,Tl=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Ll(t,e),t=t.sibling}var Il=null;function Ll(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ol(t,e),Fl(e),4&r&&(sl(3,e,e.return),ol(3,e),sl(5,e,e.return));break;case 1:Ol(t,e),Fl(e),512&r&&(bl||null===n||cl(n,n.return)),64&r&&vl&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var i=Il;if(Ol(t,e),Fl(e),512&r&&(bl||null===n||cl(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(o=i.getElementsByTagName("title")[0])||o[je]||o[Oe]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector("head > title"))),Jc(o,r,n),o[Oe]=e,ze(o),r=o;break e;case"link":var a=jd("link","href",i).get(r+(n.href||""));if(a)for(var l=0;l<a.length;l++)if((o=a[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){a.splice(l,1);break t}Jc(o=i.createElement(r),r,n),i.head.appendChild(o);break;case"meta":if(a=jd("meta","content",i).get(r+(n.content||"")))for(l=0;l<a.length;l++)if((o=a[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){a.splice(l,1);break t}Jc(o=i.createElement(r),r,n),i.head.appendChild(o);break;default:throw Error(s(468,r))}o[Oe]=e,ze(o),r=o}e.stateNode=r}else Vd(i,e.type,e.stateNode);else e.stateNode=Ld(i,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?Vd(i,e.type,e.stateNode):Ld(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&fl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ol(t,e),Fl(e),512&r&&(bl||null===n||cl(n,n.return)),null!==n&&4&r&&fl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ol(t,e),Fl(e),512&r&&(bl||null===n||cl(n,n.return)),32&e.flags){i=e.stateNode;try{kt(i,"")}catch(t){uc(e,e.return,t)}}4&r&&null!=e.stateNode&&fl(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(El=!0);break;case 6:if(Ol(t,e),Fl(e),4&r){if(null===e.stateNode)throw Error(s(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){uc(e,e.return,t)}}break;case 3:if(Md=null,i=Il,Il=xd(t.containerInfo),Ol(t,e),Il=i,Fl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Sf(t.containerInfo)}catch(t){uc(e,e.return,t)}El&&(El=!1,Rl(e));break;case 4:r=Il,Il=xd(e.stateNode.containerInfo),Ol(t,e),Fl(e),Il=r;break;case 12:default:Ol(t,e),Fl(e);break;case 13:Ol(t,e),Fl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Eu=ee()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Dl(e,r));break;case 22:i=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=vl,d=bl;if(vl=c||i,bl=d||u,Ol(t,e),bl=d,vl=c,Fl(e),8192&r)e:for(t=e.stateNode,t._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===n||u||vl||bl||Ml(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,i)"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none";else{l=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;l.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){uc(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=i?"":u.memoizedProps}catch(e){uc(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Dl(e,n));break;case 19:Ol(t,e),Fl(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Dl(e,r));case 30:case 21:}}function Fl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(pl(r)){n=r;break}r=r.return}if(null==n)throw Error(s(160));switch(n.tag){case 27:var i=n.stateNode;gl(e,hl(e),i);break;case 5:var o=n.stateNode;32&n.flags&&(kt(o,""),n.flags&=-33),gl(e,hl(e),o);break;case 3:case 4:var a=n.stateNode.containerInfo;ml(e,hl(e),a);break;default:throw Error(s(161))}}catch(t){uc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Rl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Rl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Pl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)xl(e,t.alternate,t),t=t.sibling}function Ml(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:sl(4,t,t.return),Ml(t);break;case 1:cl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&ll(t,t.return,n),Ml(t);break;case 27:Ed(t.stateNode);case 26:case 5:cl(t,t.return),Ml(t);break;case 22:null===t.memoizedState&&Ml(t);break;default:Ml(t)}e=e.sibling}}function jl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,s=o.flags;switch(o.tag){case 0:case 11:case 15:jl(i,o,n),ol(4,o);break;case 1:if(jl(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(e){uc(r,r.return,e)}if(null!==(i=(r=o).updateQueue)){var a=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)co(l[i],a)}catch(e){uc(r,r.return,e)}}n&&64&s&&al(o),ul(o,o.return);break;case 27:yl(o);case 26:case 5:jl(i,o,n),n&&null===r&&4&s&&dl(o),ul(o,o.return);break;case 12:jl(i,o,n);break;case 13:jl(i,o,n),n&&4&s&&Al(i,o);break;case 22:null===o.memoizedState&&jl(i,o,n),ul(o,o.return);break;case 30:break;default:jl(i,o,n)}t=t.sibling}}function Vl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Li(n))}function Ul(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Li(e))}function Bl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)$l(e,t,n,r),t=t.sibling}function $l(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Bl(e,t,n,r),2048&i&&ol(9,t);break;case 1:case 13:default:Bl(e,t,n,r);break;case 3:Bl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Li(e)));break;case 12:if(2048&i){Bl(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,s=o.id,a=o.onPostCommit;"function"==typeof a&&a(s,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){uc(t,t.return,e)}}else Bl(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,null!==t.memoizedState?2&o._visibility?Bl(e,t,n,r):zl(e,t):2&o._visibility?Bl(e,t,n,r):(o._visibility|=2,ql(e,t,n,r,!!(10256&t.subtreeFlags))),2048&i&&Vl(s,t);break;case 24:Bl(e,t,n,r),2048&i&&Ul(t.alternate,t)}}function ql(e,t,n,r,i){for(i=i&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var o=e,s=t,a=n,l=r,u=s.flags;switch(s.tag){case 0:case 11:case 15:ql(o,s,a,l,i),ol(8,s);break;case 23:break;case 22:var c=s.stateNode;null!==s.memoizedState?2&c._visibility?ql(o,s,a,l,i):zl(o,s):(c._visibility|=2,ql(o,s,a,l,i)),i&&2048&u&&Vl(s.alternate,s);break;case 24:ql(o,s,a,l,i),i&&2048&u&&Ul(s.alternate,s);break;default:ql(o,s,a,l,i)}t=t.sibling}}function zl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:zl(n,r),2048&i&&Vl(r.alternate,r);break;case 24:zl(n,r),2048&i&&Ul(r.alternate,r);break;default:zl(n,r)}t=t.sibling}}var Hl=8192;function Kl(e){if(e.subtreeFlags&Hl)for(e=e.child;null!==e;)Wl(e),e=e.sibling}function Wl(e){switch(e.tag){case 26:Kl(e),e.flags&Hl&&null!==e.memoizedState&&function(e,t,n){if(null===Bd)throw Error(s(475));var r=Bd;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var i=Nd(n.href),o=e.querySelector(Ad(i));if(o)return null!==(e=o._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=qd.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=o,void ze(o);o=e.ownerDocument||e,n=Dd(n),(i=kd.get(i))&&Rd(n,i),ze(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Jc(o,"link",n),t.instance=o}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(r.count++,t=qd.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(Il,e.memoizedState,e.memoizedProps);break;case 5:default:Kl(e);break;case 3:case 4:var t=Il;Il=xd(e.stateNode.containerInfo),Kl(e),Il=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Hl,Hl=16777216,Kl(e),Hl=t):Kl(e))}}function Yl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Gl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];wl=r,Zl(r,e)}Yl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Ql(e),e=e.sibling}function Ql(e){switch(e.tag){case 0:case 11:case 15:Gl(e),2048&e.flags&&sl(9,e,e.return);break;case 3:case 12:default:Gl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Xl(e)):Gl(e)}}function Xl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];wl=r,Zl(r,e)}Yl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:sl(8,t,t.return),Xl(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Xl(t));break;default:Xl(t)}e=e.sibling}}function Zl(e,t){for(;null!==wl;){var n=wl;switch(n.tag){case 0:case 11:case 15:sl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Li(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,wl=r;else e:for(n=e;null!==wl;){var i=(r=wl).sibling,o=r.return;if(_l(r),r===n){wl=null;break e}if(null!==i){i.return=o,wl=i;break e}wl=o}}}var Jl={getCacheForType:function(e){var t=Si(Oi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},eu="function"==typeof WeakMap?WeakMap:Map,tu=0,nu=null,ru=null,iu=0,ou=0,su=null,au=!1,lu=!1,uu=!1,cu=0,du=0,fu=0,pu=0,hu=0,mu=0,gu=0,yu=null,vu=null,bu=!1,Eu=0,ku=1/0,wu=null,xu=null,_u=0,Su=null,Tu=null,Cu=0,Nu=0,Au=null,Du=null,Ou=0,Iu=null;function Lu(){return 2&tu&&0!==iu?iu&-iu:null!==L.T?0!==Pi?Pi:Nc():Ae()}function Fu(){0===mu&&(mu=536870912&iu&&!ii?536870912:ke());var e=ra.current;return null!==e&&(e.flags|=32),mu}function Ru(e,t,n){(e!==nu||2!==ou&&9!==ou)&&null===e.cancelPendingCommit||($u(e,0),Vu(e,iu,mu,!1)),_e(e,n),2&tu&&e===nu||(e===nu&&(!(2&tu)&&(pu|=n),4===du&&Vu(e,iu,mu,!1)),kc(e))}function Pu(e,t,n){if(6&tu)throw Error(s(327));for(var r=!n&&!(124&t)&&0===(t&e.expiredLanes)||be(e,t),i=r?function(e,t){var n=tu;tu|=2;var r=zu(),i=Hu();nu!==e||iu!==t?(wu=null,ku=ee()+500,$u(e,t)):lu=be(e,t);e:for(;;)try{if(0!==ou&&null!==ru){t=ru;var o=su;t:switch(ou){case 1:ou=0,su=null,Zu(e,t,o,1);break;case 2:case 9:if(Yi(o)){ou=0,su=null,Xu(t);break}t=function(){2!==ou&&9!==ou||nu!==e||(ou=7),kc(e)},o.then(t,t);break e;case 3:ou=7;break e;case 4:ou=5;break e;case 7:Yi(o)?(ou=0,su=null,Xu(t)):(ou=0,su=null,Zu(e,t,o,7));break;case 5:var a=null;switch(ru.tag){case 26:a=ru.memoizedState;case 5:case 27:var l=ru;if(!a||Ud(a)){ou=0,su=null;var u=l.sibling;if(null!==u)ru=u;else{var c=l.return;null!==c?(ru=c,Ju(c)):ru=null}break t}}ou=0,su=null,Zu(e,t,o,5);break;case 6:ou=0,su=null,Zu(e,t,o,6);break;case 8:Bu(),du=6;break e;default:throw Error(s(462))}}Gu();break}catch(t){qu(e,t)}return yi=gi=null,L.H=r,L.A=i,tu=n,null!==ru?0:(nu=null,iu=0,Cr(),du)}(e,t):Wu(e,t,!0),o=r;;){if(0===i){lu&&!r&&Vu(e,t,0,!1);break}if(n=e.current.alternate,!o||ju(n)){if(2===i){if(o=t,e.errorRecoveryDisabledLanes&o)var a=0;else a=0!=(a=-536870913&e.pendingLanes)?a:536870912&a?536870912:0;if(0!==a){t=a;e:{var l=e;i=yu;var u=l.current.memoizedState.isDehydrated;if(u&&($u(l,a).flags|=256),2!==(a=Wu(l,a,!1))){if(uu&&!u){l.errorRecoveryDisabledLanes|=o,pu|=o,i=4;break e}o=vu,vu=i,null!==o&&(null===vu?vu=o:vu.push.apply(vu,o))}i=a}if(o=!1,2!==i)continue}}if(1===i){$u(e,0),Vu(e,t,0,!0);break}e:{switch(r=e,o=i){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t)break;case 6:Vu(r,t,mu,!au);break e;case 2:vu=null;break;case 3:case 5:break;default:throw Error(s(329))}if((62914560&t)===t&&10<(i=Eu+300-ee())){if(Vu(r,t,mu,!au),0!==ve(r,0,!0))break e;r.timeoutHandle=ad(Mu.bind(null,r,n,vu,wu,bu,t,mu,pu,gu,au,o,2,-0,0),i)}else Mu(r,n,vu,wu,bu,t,mu,pu,gu,au,o,0,-0,0)}break}i=Wu(e,t,!1),o=!1}kc(e)}function Mu(e,t,n,r,i,o,a,l,u,c,d,f,p,h){if(e.timeoutHandle=-1,(8192&(f=t.subtreeFlags)||!(16785408&~f))&&(Bd={stylesheets:null,count:0,unsuspend:$d},Wl(t),null!==(f=function(){if(null===Bd)throw Error(s(475));var e=Bd;return e.stylesheets&&0===e.count&&Hd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Hd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=f(tc.bind(null,e,t,o,n,r,i,a,l,u,d,1,p,h)),void Vu(e,o,a,!c);tc(e,t,o,n,r,i,a,l,u)}function ju(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Yn(o(),i))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Vu(e,t,n,r){t&=~hu,t&=~pu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-fe(i),s=1<<o;r[o]=-1,i&=~s}0!==n&&Se(e,n,t)}function Uu(){return!!(6&tu)||(wc(0,!1),!1)}function Bu(){if(null!==ru){if(0===ou)var e=ru.return;else yi=gi=null,Mo(e=ru),Ys=null,Gs=0,e=ru;for(;null!==e;)il(e.alternate,e),e=e.return;ru=null}}function $u(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,ld(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Bu(),nu=e,ru=n=Mr(e.current,null),iu=t,ou=0,su=null,au=!1,lu=be(e,t),uu=!1,gu=mu=hu=pu=fu=du=0,vu=yu=null,bu=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-fe(r),o=1<<i;t|=e[i],r&=~o}return cu=t,Cr(),n}function qu(e,t){bo=null,L.H=zs,t===zi||t===Ki?(t=Zi(),ou=3):t===Hi?(t=Zi(),ou=4):ou=t===Sa?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,su=t,null===ru&&(du=1,Ea(e,xr(t,e.current)))}function zu(){var e=L.H;return L.H=zs,null===e?zs:e}function Hu(){var e=L.A;return L.A=Jl,e}function Ku(){du=4,au||(4194048&iu)!==iu&&null!==ra.current||(lu=!0),!(134217727&fu)&&!(134217727&pu)||null===nu||Vu(nu,iu,mu,!1)}function Wu(e,t,n){var r=tu;tu|=2;var i=zu(),o=Hu();nu===e&&iu===t||(wu=null,$u(e,t)),t=!1;var s=du;e:for(;;)try{if(0!==ou&&null!==ru){var a=ru,l=su;switch(ou){case 8:Bu(),s=6;break e;case 3:case 2:case 9:case 6:null===ra.current&&(t=!0);var u=ou;if(ou=0,su=null,Zu(e,a,l,u),n&&lu){s=0;break e}break;default:u=ou,ou=0,su=null,Zu(e,a,l,u)}}Yu(),s=du;break}catch(t){qu(e,t)}return t&&e.shellSuspendCounter++,yi=gi=null,tu=r,L.H=i,L.A=o,null===ru&&(nu=null,iu=0,Cr()),s}function Yu(){for(;null!==ru;)Qu(ru)}function Gu(){for(;null!==ru&&!Z();)Qu(ru)}function Qu(e){var t=Qa(e.alternate,e,cu);e.memoizedProps=e.pendingProps,null===t?Ju(e):ru=t}function Xu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ra(n,t,t.pendingProps,t.type,void 0,iu);break;case 11:t=Ra(n,t,t.pendingProps,t.type.render,t.ref,iu);break;case 5:Mo(t);default:il(n,t),t=Qa(n,t=ru=jr(t,cu),cu)}e.memoizedProps=e.pendingProps,null===t?Ju(e):ru=t}function Zu(e,t,n,r){yi=gi=null,Mo(t),Ys=null,Gs=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&wi(t,n,i,!0),null!==(n=ra.current)){switch(n.tag){case 13:return null===ia?Ku():null===n.alternate&&0===du&&(du=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Wi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),cc(e,r,i)),!1;case 22:return n.flags|=65536,r===Wi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),cc(e,r,i)),!1}throw Error(s(435,n.tag))}return cc(e,r,i),Ku(),!1}if(ii)return null!==(t=ra.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==ai&&hi(xr(e=Error(s(422),{cause:r}),n))):(r!==ai&&hi(xr(t=Error(s(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,r=xr(r,n),so(e,i=wa(e.stateNode,r,i)),4!==du&&(du=2)),!1;var o=Error(s(520),{cause:r});if(o=xr(o,n),null===yu?yu=[o]:yu.push(o),4!==du&&(du=2),null===t)return!0;r=xr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,so(n,e=wa(n.stateNode,r,e)),!1;case 1:if(t=n.type,o=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==xu&&xu.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,_a(i=xa(i),e,n,r),so(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,iu))return du=1,Ea(e,xr(n,e.current)),void(ru=null)}catch(t){if(null!==i)throw ru=i,t;return du=1,Ea(e,xr(n,e.current)),void(ru=null)}32768&t.flags?(ii||1===r?e=!0:lu||536870912&iu?e=!1:(au=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=ra.current)&&13===r.tag&&(r.flags|=16384)),ec(t,e)):Ju(t)}function Ju(e){var t=e;do{if(32768&t.flags)return void ec(t,au);e=t.return;var n=nl(t.alternate,t,cu);if(null!==n)return void(ru=n);if(null!==(t=t.sibling))return void(ru=t);ru=t=e}while(null!==t);0===du&&(du=5)}function ec(e,t){do{var n=rl(e.alternate,e);if(null!==n)return n.flags&=32767,void(ru=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(ru=e);ru=e=n}while(null!==e);du=6,ru=null}function tc(e,t,n,r,i,o,a,l,u){e.cancelPendingCommit=null;do{sc()}while(0!==_u);if(6&tu)throw Error(s(327));if(null!==t){if(t===e.current)throw Error(s(177));if(o=t.lanes|t.childLanes,function(e,t,n,r,i,o){var s=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var a=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=s&~n;0<n;){var c=31-fe(n),d=1<<c;a[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Se(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(s&~t))}(e,n,o|=Tr,a,l,u),e===nu&&(ru=nu=null,iu=0),Tu=t,Su=e,Cu=n,Nu=o,Au=i,Du=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,Q(ie,function(){return ac(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=L.T,L.T=null,i=F.p,F.p=2,a=tu,tu|=4;try{!function(e,t){if(e=e.containerInfo,ed=Jd,er(e=Jn(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var a=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==i&&3!==f.nodeType||(l=a+i),f!==o||0!==r&&3!==f.nodeType||(u=a+r),3===f.nodeType&&(a+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===i&&(l=a),p===o&&++d===r&&(u=a),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(td={focusedElem:e,selectionRange:n},Jd=!1,wl=t;null!==wl;)if(e=(t=wl).child,1024&t.subtreeFlags&&null!==e)e.return=t,wl=e;else for(;null!==wl;){switch(o=(t=wl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==o){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var m=ma(n.type,i,(n.elementType,n.type));e=r.getSnapshotBeforeUpdate(m,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){uc(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))hd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":hd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(s(163))}if(null!==(e=t.sibling)){e.return=t.return,wl=e;break}wl=t.return}}(e,t)}finally{tu=a,F.p=i,L.T=r}}_u=1,nc(),rc(),ic()}}function nc(){if(1===_u){_u=0;var e=Su,t=Tu,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=L.T,L.T=null;var r=F.p;F.p=2;var i=tu;tu|=4;try{Ll(t,e);var o=td,s=Jn(e.containerInfo),a=o.focusedElem,l=o.selectionRange;if(s!==a&&a&&a.ownerDocument&&Zn(a.ownerDocument.documentElement,a)){if(null!==l&&er(a)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in a)a.selectionStart=u,a.selectionEnd=Math.min(c,a.value.length);else{var d=a.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=a.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!p.extend&&m>g&&(s=g,g=m,m=s);var y=Xn(a,m),v=Xn(a,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=a;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof a.focus&&a.focus(),a=0;a<d.length;a++){var E=d[a];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}Jd=!!ed,td=ed=null}finally{tu=i,F.p=r,L.T=n}}e.current=t,_u=2}}function rc(){if(2===_u){_u=0;var e=Su,t=Tu,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=L.T,L.T=null;var r=F.p;F.p=2;var i=tu;tu|=4;try{xl(e,t.alternate,t)}finally{tu=i,F.p=r,L.T=n}}_u=3}}function ic(){if(4===_u||3===_u){_u=0,J();var e=Su,t=Tu,n=Cu,r=Du;10256&t.subtreeFlags||10256&t.flags?_u=5:(_u=0,Tu=Su=null,oc(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(xu=null),Ne(n),t=t.stateNode,ce&&"function"==typeof ce.onCommitFiberRoot)try{ce.onCommitFiberRoot(ue,t,void 0,!(128&~t.current.flags))}catch(e){}if(null!==r){t=L.T,i=F.p,F.p=2,L.T=null;try{for(var o=e.onRecoverableError,s=0;s<r.length;s++){var a=r[s];o(a.value,{componentStack:a.stack})}}finally{L.T=t,F.p=i}}3&Cu&&sc(),kc(e),i=e.pendingLanes,4194090&n&&42&i?e===Iu?Ou++:(Ou=0,Iu=e):Ou=0,wc(0,!1)}}function oc(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Li(t))}function sc(e){return nc(),rc(),ic(),ac()}function ac(){if(5!==_u)return!1;var e=Su,t=Nu;Nu=0;var n=Ne(Cu),r=L.T,i=F.p;try{F.p=32>n?32:n,L.T=null,n=Au,Au=null;var o=Su,a=Cu;if(_u=0,Tu=Su=null,Cu=0,6&tu)throw Error(s(331));var l=tu;if(tu|=4,Ql(o.current),$l(o,o.current,a,n),tu=l,wc(0,!1),ce&&"function"==typeof ce.onPostCommitFiberRoot)try{ce.onPostCommitFiberRoot(ue,o)}catch(e){}return!0}finally{F.p=i,L.T=r,oc(e,t)}}function lc(e,t,n){t=xr(n,t),null!==(e=io(e,t=wa(e.stateNode,t,2),2))&&(_e(e,2),kc(e))}function uc(e,t,n){if(3===e.tag)lc(e,e,n);else for(;null!==t;){if(3===t.tag){lc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===xu||!xu.has(r))){e=xr(n,e),null!==(r=io(t,n=xa(2),2))&&(_a(n,r,t,e),_e(r,2),kc(r));break}}t=t.return}}function cc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new eu;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(uu=!0,i.add(n),e=dc.bind(null,e,t,n),t.then(e,e))}function dc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,nu===e&&(iu&n)===n&&(4===du||3===du&&(62914560&iu)===iu&&300>ee()-Eu?!(2&tu)&&$u(e,0):hu|=n,gu===iu&&(gu=0)),kc(e)}function fc(e,t){0===t&&(t=we()),null!==(e=Dr(e,t))&&(_e(e,t),kc(e))}function pc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),fc(e,n)}function hc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==r&&r.delete(t),fc(e,n)}var mc=null,gc=null,yc=!1,vc=!1,bc=!1,Ec=0;function kc(e){e!==gc&&null===e.next&&(null===gc?mc=gc=e:gc=gc.next=e),vc=!0,yc||(yc=!0,cd(function(){6&tu?Q(ne,xc):_c()}))}function wc(e,t){if(!bc&&vc){bc=!0;do{for(var n=!1,r=mc;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var s=r.suspendedLanes,a=r.pingedLanes;o=(1<<31-fe(42|e)+1)-1,o=201326741&(o&=i&~(s&~a))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Cc(r,o))}else o=iu,!(3&(o=ve(r,r===nu?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||be(r,o)||(n=!0,Cc(r,o));r=r.next}}while(n);bc=!1}}function xc(){_c()}function _c(){vc=yc=!1;var e,t=0;0!==Ec&&(((e=window.event)&&"popstate"===e.type?e!==sd&&(sd=e,!0):(sd=null,!1))&&(t=Ec),Ec=0);for(var n=ee(),r=null,i=mc;null!==i;){var o=i.next,s=Sc(i,n);0===s?(i.next=null,null===r?mc=o:r.next=o,null===o&&(gc=r)):(r=i,(0!==t||3&s)&&(vc=!0)),i=o}wc(t,!1)}function Sc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var s=31-fe(o),a=1<<s,l=i[s];-1===l?0!==(a&n)&&0===(a&r)||(i[s]=Ee(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}if(n=iu,n=ve(e,e===(t=nu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===ou||9===ou)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&X(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||be(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&X(r),Ne(n)){case 2:case 8:n=re;break;case 32:default:n=ie;break;case 268435456:n=se}return r=Tc.bind(null,e),n=Q(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&X(r),e.callbackPriority=2,e.callbackNode=null,2}function Tc(e,t){if(0!==_u&&5!==_u)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sc()&&e.callbackNode!==n)return null;var r=iu;return 0===(r=ve(e,e===nu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Pu(e,r,t),Sc(e,ee()),null!=e.callbackNode&&e.callbackNode===n?Tc.bind(null,e):null)}function Cc(e,t){if(sc())return null;Pu(e,t,!0)}function Nc(){return 0===Ec&&(Ec=ke()),Ec}function Ac(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Nt(""+e)}function Dc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Oc=0;Oc<Er.length;Oc++){var Ic=Er[Oc];kr(Ic.toLowerCase(),"on"+(Ic[0].toUpperCase()+Ic.slice(1)))}kr(fr,"onAnimationEnd"),kr(pr,"onAnimationIteration"),kr(hr,"onAnimationStart"),kr("dblclick","onDoubleClick"),kr("focusin","onFocus"),kr("focusout","onBlur"),kr(mr,"onTransitionRun"),kr(gr,"onTransitionStart"),kr(yr,"onTransitionCancel"),kr(vr,"onTransitionEnd"),Ye("onMouseEnter",["mouseout","mouseover"]),Ye("onMouseLeave",["mouseout","mouseover"]),Ye("onPointerEnter",["pointerout","pointerover"]),Ye("onPointerLeave",["pointerout","pointerover"]),We("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),We("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),We("onBeforeInput",["compositionend","keypress","textInput","paste"]),We("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),We("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),We("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Lc));function Rc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;o=a,i.currentTarget=u;try{o(i)}catch(e){ga(e)}i.currentTarget=null,o=l}else for(s=0;s<r.length;s++){if(l=(a=r[s]).instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;o=a,i.currentTarget=u;try{o(i)}catch(e){ga(e)}i.currentTarget=null,o=l}}}}function Pc(e,t){var n=t[Fe];void 0===n&&(n=t[Fe]=new Set);var r=e+"__bubble";n.has(r)||(Uc(t,e,2,!1),n.add(r))}function Mc(e,t,n){var r=0;t&&(r|=4),Uc(n,e,r,t)}var jc="_reactListening"+Math.random().toString(36).slice(2);function Vc(e){if(!e[jc]){e[jc]=!0,He.forEach(function(t){"selectionchange"!==t&&(Fc.has(t)||Mc(t,!1,e),Mc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jc]||(t[jc]=!0,Mc("selectionchange",!1,t))}}function Uc(e,t,n,r){switch(af(t)){case 2:var i=ef;break;case 8:i=tf;break;default:i=nf}n=i.bind(null,t,n,e),i=void 0,!jt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Bc(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;if(l===i)break;if(4===s)for(s=r.return;null!==s;){var u=s.tag;if((3===u||4===u)&&s.stateNode.containerInfo===i)return;s=s.return}for(;null!==l;){if(null===(s=Ue(l)))return;if(5===(u=s.tag)||6===u||26===u||27===u){r=o=s;continue e}l=l.parentNode}}r=r.return}Rt(function(){var r=o,i=Dt(n),s=[];e:{var l=br.get(e);if(void 0!==l){var u=Zt,c=e;switch(e){case"keypress":if(0===zt(n))break e;case"keydown":case"keyup":u=hn;break;case"focusin":c="focus",u=on;break;case"focusout":c="blur",u=on;break;case"beforeblur":case"afterblur":u=on;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=nn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=rn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=gn;break;case fr:case pr:case hr:u=sn;break;case vr:u=yn;break;case"scroll":case"scrollend":u=en;break;case"wheel":u=vn;break;case"copy":case"cut":case"paste":u=an;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=mn;break;case"toggle":case"beforetoggle":u=bn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=Pt(m,p))&&d.push($c(m,g,h)),f)break;m=m.return}0<d.length&&(l=new u(l,c,null,n,i),s.push({event:l,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===At||!(c=n.relatedTarget||n.fromElement)||!Ue(c)&&!c[Le])&&(u||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ue(c):null)&&(f=a(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=nn,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=mn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==u?l:$e(u),h=null==c?l:$e(c),(l=new d(g,m+"leave",u,n,i)).target=f,l.relatedTarget=h,g=null,Ue(i)===r&&((d=new d(p,m+"enter",c,n,i)).target=h,d.relatedTarget=f,g=d),f=g,u&&c)e:{for(p=c,m=0,h=d=u;h;h=zc(h))m++;for(h=0,g=p;g;g=zc(g))h++;for(;0<m-h;)d=zc(d),m--;for(;0<h-m;)p=zc(p),h--;for(;m--;){if(d===p||null!==p&&d===p.alternate)break e;d=zc(d),p=zc(p)}d=null}else d=null;null!==u&&Hc(s,l,u,d,!1),null!==c&&null!==f&&Hc(s,f,c,d,!0)}if("select"===(u=(l=r?$e(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Mn;else if(On(l))if(jn)y=Wn;else{y=Hn;var v=zn}else!(u=l.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&St(r.elementType)&&(y=Mn):y=Kn;switch(y&&(y=y(e,r))?In(s,y,n,i):(v&&v(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&yt(l,"number",l.value)),v=r?$e(r):window,e){case"focusin":(On(v)||"true"===v.contentEditable)&&(nr=v,rr=r,ir=null);break;case"focusout":ir=rr=nr=null;break;case"mousedown":or=!0;break;case"contextmenu":case"mouseup":case"dragend":or=!1,sr(s,n,i);break;case"selectionchange":if(tr)break;case"keydown":case"keyup":sr(s,n,i)}var b;if(kn)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else An?Cn(e,n)&&(E="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(E="onCompositionStart");E&&(_n&&"ko"!==n.locale&&(An||"onCompositionStart"!==E?"onCompositionEnd"===E&&An&&(b=qt()):(Bt="value"in(Ut=i)?Ut.value:Ut.textContent,An=!0)),0<(v=qc(r,E)).length&&(E=new ln(E,e,null,n,i),s.push({event:E,listeners:v}),(b||null!==(b=Nn(n)))&&(E.data=b))),(b=xn?function(e,t){switch(e){case"compositionend":return Nn(t);case"keypress":return 32!==t.which?null:(Tn=!0,Sn);case"textInput":return(e=t.data)===Sn&&Tn?null:e;default:return null}}(e,n):function(e,t){if(An)return"compositionend"===e||!kn&&Cn(e,t)?(e=qt(),$t=Bt=Ut=null,An=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _n&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(E=qc(r,"onBeforeInput")).length&&(v=new ln("onBeforeInput","beforeinput",null,n,i),s.push({event:v,listeners:E}),v.data=b),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Ac((i[Ie]||null).action),s=r.submitter;s&&null!==(t=(t=s[Ie]||null)?Ac(t.formAction):s.getAttribute("formAction"))&&(o=t,s=null);var a=new Zt("action","action",null,r,i);e.push({event:a,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Ec){var e=s?Dc(i,s):new FormData(i);Ds(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(a.preventDefault(),e=s?Dc(i,s):new FormData(i),Ds(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(s,e,r,n,i)}Rc(s,t)})}function $c(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qc(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Pt(e,n))&&r.unshift($c(e,i,o)),null!=(i=Pt(e,t))&&r.push($c(e,i,o))),3===e.tag)return r;e=e.return}return[]}function zc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Hc(e,t,n,r,i){for(var o=t._reactName,s=[];null!==n&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(a=a.tag,null!==l&&l===r)break;5!==a&&26!==a&&27!==a||null===u||(l=u,i?null!=(u=Pt(n,o))&&s.unshift($c(n,u,l)):i||null!=(u=Pt(n,o))&&s.push($c(n,u,l))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}var Kc=/\r\n?/g,Wc=/\u0000|\uFFFD/g;function Yc(e){return("string"==typeof e?e:""+e).replace(Kc,"\n").replace(Wc,"")}function Gc(e,t){return t=Yc(t),Yc(e)===t}function Qc(){}function Xc(e,t,n,r,i,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||kt(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&kt(e,""+r);break;case"className":tt(e,"class",r);break;case"tabIndex":tt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tt(e,n,r);break;case"style":_t(e,r,o);break;case"data":if("object"!==t){tt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Nt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&Xc(e,t,"name",i.name,i,null),Xc(e,t,"formEncType",i.formEncType,i,null),Xc(e,t,"formMethod",i.formMethod,i,null),Xc(e,t,"formTarget",i.formTarget,i,null)):(Xc(e,t,"encType",i.encType,i,null),Xc(e,t,"method",i.method,i,null),Xc(e,t,"target",i.target,i,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Nt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Qc);break;case"onScroll":null!=r&&Pc("scroll",e);break;case"onScrollEnd":null!=r&&Pc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Nt(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Pc("beforetoggle",e),Pc("toggle",e),et(e,"popover",r);break;case"xlinkActuate":nt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":nt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":nt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":nt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":nt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":nt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":nt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":nt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":nt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":et(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&et(e,n=Tt.get(n)||n,r)}}function Zc(e,t,n,r,i,o){switch(n){case"style":_t(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(s(60));e.innerHTML=n}}break;case"children":"string"==typeof r?kt(e,r):("number"==typeof r||"bigint"==typeof r)&&kt(e,""+r);break;case"onScroll":null!=r&&Pc("scroll",e);break;case"onScrollEnd":null!=r&&Pc("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Qc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ke.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(o=null!=(o=e[Ie]||null)?o[n]:null)&&e.removeEventListener(t,o,i),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):et(e,n,r):("function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i)))}}function Jc(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pc("error",e),Pc("load",e);var r,i=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var a=n[r];if(null!=a)switch(r){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Xc(e,t,r,a,n,null)}}return o&&Xc(e,t,"srcSet",n.srcSet,n,null),void(i&&Xc(e,t,"src",n.src,n,null));case"input":Pc("invalid",e);var l=r=a=o=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":o=d;break;case"type":a=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:Xc(e,t,i,d,n,null)}}return gt(e,r,l,u,c,a,o,!1),void ct(e);case"select":for(o in Pc("invalid",e),i=a=r=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":r=l;break;case"defaultValue":a=l;break;case"multiple":i=l;default:Xc(e,t,o,l,n,null)}return t=r,n=a,e.multiple=!!i,void(null!=t?vt(e,!!i,t,!1):null!=n&&vt(e,!!i,n,!0));case"textarea":for(a in Pc("invalid",e),r=o=i=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":i=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:Xc(e,t,a,l,n,null)}return Et(e,i,o,r),void ct(e);case"option":for(u in n)n.hasOwnProperty(u)&&null!=(i=n[u])&&("selected"===u?e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i:Xc(e,t,u,i,n,null));return;case"dialog":Pc("beforetoggle",e),Pc("toggle",e),Pc("cancel",e),Pc("close",e);break;case"iframe":case"object":Pc("load",e);break;case"video":case"audio":for(i=0;i<Lc.length;i++)Pc(Lc[i],e);break;case"image":Pc("error",e),Pc("load",e);break;case"details":Pc("toggle",e);break;case"embed":case"source":case"link":Pc("error",e),Pc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Xc(e,t,c,i,n,null)}return;default:if(St(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(i=n[d])&&Zc(e,t,d,i,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(i=n[l])&&Xc(e,t,l,i,n,null)}var ed=null,td=null;function nd(e){return 9===e.nodeType?e:e.ownerDocument}function rd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function id(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function od(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var sd=null,ad="function"==typeof setTimeout?setTimeout:void 0,ld="function"==typeof clearTimeout?clearTimeout:void 0,ud="function"==typeof Promise?Promise:void 0,cd="function"==typeof queueMicrotask?queueMicrotask:void 0!==ud?function(e){return ud.resolve(null).then(e).catch(dd)}:ad;function dd(e){setTimeout(function(){throw e})}function fd(e){return"head"===e}function pd(e,t){var n=t,r=0,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0<r&&8>r){n=r;var s=e.ownerDocument;if(1&n&&Ed(s.documentElement),2&n&&Ed(s.body),4&n)for(Ed(n=s.head),s=n.firstChild;s;){var a=s.nextSibling,l=s.nodeName;s[je]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===s.rel.toLowerCase()||n.removeChild(s),s=a}}if(0===i)return e.removeChild(o),void Sf(t);i--}else"$"===n||"$?"===n||"$!"===n?i++:r=n.charCodeAt(0)-48;else r=0;n=o}while(n);Sf(t)}function hd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":hd(n),Ve(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function md(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function gd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var yd=null;function vd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function bd(e,t,n){switch(t=nd(n),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function Ed(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ve(e)}var kd=new Map,wd=new Set;function xd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var _d=F.d;F.d={f:function(){var e=_d.f(),t=Uu();return e||t},r:function(e){var t=Be(e);null!==t&&5===t.tag&&"form"===t.type?Is(t):_d.r(e)},D:function(e){_d.D(e),Td("dns-prefetch",e,null)},C:function(e,t){_d.C(e,t),Td("preconnect",e,t)},L:function(e,t,n){_d.L(e,t,n);var r=Sd;if(r&&e&&t){var i='link[rel="preload"][as="'+ht(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+ht(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+ht(n.imageSizes)+'"]')):i+='[href="'+ht(e)+'"]';var o=i;switch(t){case"style":o=Nd(e);break;case"script":o=Od(e)}kd.has(o)||(e=d({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),kd.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Ad(o))||"script"===t&&r.querySelector(Id(o))||(Jc(t=r.createElement("link"),"link",e),ze(t),r.head.appendChild(t)))}},m:function(e,t){_d.m(e,t);var n=Sd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+ht(r)+'"][href="'+ht(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Od(e)}if(!kd.has(o)&&(e=d({rel:"modulepreload",href:e},t),kd.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Id(o)))return}Jc(r=n.createElement("link"),"link",e),ze(r),n.head.appendChild(r)}}},X:function(e,t){_d.X(e,t);var n=Sd;if(n&&e){var r=qe(n).hoistableScripts,i=Od(e),o=r.get(i);o||((o=n.querySelector(Id(i)))||(e=d({src:e,async:!0},t),(t=kd.get(i))&&Pd(e,t),ze(o=n.createElement("script")),Jc(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){_d.S(e,t,n);var r=Sd;if(r&&e){var i=qe(r).hoistableStyles,o=Nd(e);t=t||"default";var s=i.get(o);if(!s){var a={loading:0,preload:null};if(s=r.querySelector(Ad(o)))a.loading=5;else{e=d({rel:"stylesheet",href:e,"data-precedence":t},n),(n=kd.get(o))&&Rd(e,n);var l=s=r.createElement("link");ze(l),Jc(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){a.loading|=1}),l.addEventListener("error",function(){a.loading|=2}),a.loading|=4,Fd(s,t,r)}s={type:"stylesheet",instance:s,count:1,state:a},i.set(o,s)}}},M:function(e,t){_d.M(e,t);var n=Sd;if(n&&e){var r=qe(n).hoistableScripts,i=Od(e),o=r.get(i);o||((o=n.querySelector(Id(i)))||(e=d({src:e,async:!0,type:"module"},t),(t=kd.get(i))&&Pd(e,t),ze(o=n.createElement("script")),Jc(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Sd="undefined"==typeof document?null:document;function Td(e,t,n){var r=Sd;if(r&&"string"==typeof t&&t){var i=ht(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),wd.has(i)||(wd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(Jc(t=r.createElement("link"),"link",e),ze(t),r.head.appendChild(t)))}}function Cd(e,t,n,r){var i,o,a,l,u=(u=q.current)?xd(u):null;if(!u)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Nd(n.href),(r=(n=qe(u).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Nd(n.href);var c=qe(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(Ad(e)))&&!c._p&&(d.instance=c,d.state.loading=5),kd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},kd.set(e,n),c||(i=u,o=e,a=n,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=i.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),Jc(o,"link",a),ze(o),i.head.appendChild(o))))),t&&null===r)throw Error(s(528,""));return d}if(t&&null!==r)throw Error(s(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Od(n),(r=(n=qe(u).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function Nd(e){return'href="'+ht(e)+'"'}function Ad(e){return'link[rel="stylesheet"]['+e+"]"}function Dd(e){return d({},e,{"data-precedence":e.precedence,precedence:null})}function Od(e){return'[src="'+ht(e)+'"]'}function Id(e){return"script[async]"+e}function Ld(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ht(n.href)+'"]');if(r)return t.instance=r,ze(r),r;var i=d({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return ze(r=(e.ownerDocument||e).createElement("style")),Jc(r,"style",i),Fd(r,n.precedence,e),t.instance=r;case"stylesheet":i=Nd(n.href);var o=e.querySelector(Ad(i));if(o)return t.state.loading|=4,t.instance=o,ze(o),o;r=Dd(n),(i=kd.get(i))&&Rd(r,i),ze(o=(e.ownerDocument||e).createElement("link"));var a=o;return a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),Jc(o,"link",r),t.state.loading|=4,Fd(o,n.precedence,e),t.instance=o;case"script":return o=Od(n.src),(i=e.querySelector(Id(o)))?(t.instance=i,ze(i),i):(r=n,(i=kd.get(o))&&Pd(r=d({},n),i),ze(i=(e=e.ownerDocument||e).createElement("script")),Jc(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(s(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Fd(r,n.precedence,e));return t.instance}function Fd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,s=0;s<r.length;s++){var a=r[s];if(a.dataset.precedence===t)o=a;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Rd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Pd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Md=null;function jd(e,t,n){if(null===Md){var r=new Map,i=Md=new Map;i.set(n,r)}else(r=(i=Md).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[je]||o[Oe]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var s=o.getAttribute(t)||"";s=e+s;var a=r.get(s);a?a.push(o):r.set(s,[o])}}return r}function Vd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Ud(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Bd=null;function $d(){}function qd(){if(this.count--,0===this.count)if(this.stylesheets)Hd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var zd=null;function Hd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,zd=new Map,t.forEach(Kd,e),zd=null,qd.call(e))}function Kd(e,t){if(!(4&t.state.loading)){var n=zd.get(e);if(n)var r=n.get(null);else{n=new Map,zd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var s=i[o];"LINK"!==s.nodeName&&"not all"===s.getAttribute("media")||(n.set(s.dataset.precedence,s),r=s)}r&&n.set(null,r)}s=(i=t.instance).getAttribute("data-precedence"),(o=n.get(s)||r)===r&&n.set(null,i),n.set(s,i),this.count++,r=qd.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var Wd={$$typeof:E,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function Yd(e,t,n,r,i,o,s,a){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xe(0),this.hiddenUpdates=xe(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=a,this.incompleteTransitions=new Map}function Gd(e,t,n,r,i,o){i=function(e){return e?e=Lr:Lr}(i),null===r.context?r.context=i:r.pendingContext=i,(r=ro(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=io(e,r,t))&&(Ru(n,0,t),oo(n,e,t))}function Qd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Xd(e,t){Qd(e,t),(e=e.alternate)&&Qd(e,t)}function Zd(e){if(13===e.tag){var t=Dr(e,67108864);null!==t&&Ru(t,0,67108864),Xd(e,67108864)}}var Jd=!0;function ef(e,t,n,r){var i=L.T;L.T=null;var o=F.p;try{F.p=2,nf(e,t,n,r)}finally{F.p=o,L.T=i}}function tf(e,t,n,r){var i=L.T;L.T=null;var o=F.p;try{F.p=8,nf(e,t,n,r)}finally{F.p=o,L.T=i}}function nf(e,t,n,r){if(Jd){var i=rf(r);if(null===i)Bc(e,t,r,of,n),gf(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return uf=yf(uf,e,t,n,r,i),!0;case"dragenter":return cf=yf(cf,e,t,n,r,i),!0;case"mouseover":return df=yf(df,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ff.set(o,yf(ff.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,pf.set(o,yf(pf.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(gf(e,r),4&t&&-1<mf.indexOf(e)){for(;null!==i;){var o=Be(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var s=ye(o.pendingLanes);if(0!==s){var a=o;for(a.pendingLanes|=2,a.entangledLanes|=2;s;){var l=1<<31-fe(s);a.entanglements[1]|=l,s&=~l}kc(o),!(6&tu)&&(ku=ee()+500,wc(0,!1))}}break;case 13:null!==(a=Dr(o,2))&&Ru(a,0,2),Uu(),Xd(o,2)}if(null===(o=rf(r))&&Bc(e,t,r,of,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Bc(e,t,r,null,n)}}function rf(e){return sf(e=Dt(e))}var of=null;function sf(e){if(of=null,null!==(e=Ue(e))){var t=a(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return of=e,null}function af(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(te()){case ne:return 2;case re:return 8;case ie:case oe:return 32;case se:return 268435456;default:return 32}default:return 32}}var lf=!1,uf=null,cf=null,df=null,ff=new Map,pf=new Map,hf=[],mf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function gf(e,t){switch(e){case"focusin":case"focusout":uf=null;break;case"dragenter":case"dragleave":cf=null;break;case"mouseover":case"mouseout":df=null;break;case"pointerover":case"pointerout":ff.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pf.delete(t.pointerId)}}function yf(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=Be(t))&&Zd(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function vf(e){var t=Ue(e.target);if(null!==t){var n=a(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void function(e){var t=F.p;try{return F.p=e,function(){if(13===n.tag){var e=Lu();e=Ce(e);var t=Dr(n,e);null!==t&&Ru(t,0,e),Xd(n,e)}}()}finally{F.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function bf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=rf(e.nativeEvent);if(null!==n)return null!==(t=Be(n))&&Zd(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);At=r,n.target.dispatchEvent(r),At=null,t.shift()}return!0}function Ef(e,t,n){bf(e)&&n.delete(t)}function kf(){lf=!1,null!==uf&&bf(uf)&&(uf=null),null!==cf&&bf(cf)&&(cf=null),null!==df&&bf(df)&&(df=null),ff.forEach(Ef),pf.forEach(Ef)}function wf(e,t){e.blockedOn===t&&(e.blockedOn=null,lf||(lf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,kf)))}var xf=null;function _f(e){xf!==e&&(xf=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){xf===e&&(xf=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!=typeof r){if(null===sf(r||n))continue;break}var o=Be(n);null!==o&&(e.splice(t,3),t-=3,Ds(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Sf(e){function t(t){return wf(t,e)}null!==uf&&wf(uf,e),null!==cf&&wf(cf,e),null!==df&&wf(df,e),ff.forEach(t),pf.forEach(t);for(var n=0;n<hf.length;n++){var r=hf[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<hf.length&&null===(n=hf[0]).blockedOn;)vf(n),null===n.blockedOn&&hf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],s=i[Ie]||null;if("function"==typeof o)s||_f(n);else if(s){var a=null;if(o&&o.hasAttribute("formAction")){if(i=o,s=o[Ie]||null)a=s.formAction;else if(null!==sf(i))continue}else a=s.action;"function"==typeof a?n[r+1]=a:(n.splice(r,3),r-=3),_f(n)}}}function Tf(e){this._internalRoot=e}function Cf(e){this._internalRoot=e}Cf.prototype.render=Tf.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));Gd(t.current,Lu(),e,t,null,null)},Cf.prototype.unmount=Tf.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Gd(e.current,2,null,e,null,null),Uu(),t[Le]=null}},Cf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ae();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hf.length&&0!==t&&t<hf[n].priority;n++);hf.splice(n,0,e),0===n&&vf(e)}};var Nf=i.version;if("19.1.0"!==Nf)throw Error(s(527,Nf,"19.1.0"));F.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw e=Object.keys(e).join(","),Error(s(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=a(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return u(i),e;if(o===r)return u(i),t;o=o.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,c=i.child;c;){if(c===n){l=!0,n=i,r=o;break}if(c===r){l=!0,r=i,n=o;break}c=c.sibling}if(!l){for(c=o.child;c;){if(c===n){l=!0,n=o,r=i;break}if(c===r){l=!0,r=o,n=i;break}c=c.sibling}if(!l)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?c(e):null)?null:e.stateNode};var Af={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Df=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Df.isDisabled&&Df.supportsFiber)try{ue=Df.inject(Af),ce=Df}catch(e){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(s(299));var n,r=!1,i="",o=ya,a=va,l=ba;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=function(e,t,n,r,i,o,s,a,l,u,c,d){return e=new Yd(e,t,n,s,a,l,u,d),t=1,!0===o&&(t|=24),o=Rr(3,null,null,t),e.current=o,o.stateNode=e,(t=Ii()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},to(o),e}(e,1,!1,null,0,r,i,o,a,l,0,null),e[Le]=t.current,Vc(e),new Tf(t)}},89494:(e,t,n)=>{n.d(t,{v:()=>o});var r=n(42455),i=n(73663);function o(e,t){switch(t.kind){case r.b.LIST_TYPE:{const n=o(e,t.type);return n&&new i.KT(n)}case r.b.NON_NULL_TYPE:{const n=o(e,t.type);return n&&new i.Gc(n)}case r.b.NAMED_TYPE:return e.getType(t.name.value)}}},89739:(e,t,n)=>{n.d(t,{A:()=>r});class r{constructor(e){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;return"string"==typeof e?(i=new RegExp(e,n?"i":"g").test(this._sourceText.slice(this._pos,this._pos+e.length)),r=e):e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=null==i?void 0:i[0]),!(null==i||!("string"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}},89818:(e,t,n)=>{n.d(t,{v:()=>p});var r=n(35198),i=n(71306),o=n(54833),s=n(91070),a=n(36382),l=n(18261),u=n(77407),c=n(23153),d=n(48255),f=n(73663);function p(e,t,n=h){return m(e,t,n,void 0)}function h(e,t,n){let i="Invalid value "+(0,r.N)(t);throw e.length>0&&(i+=` at "value${(0,l.q)(e)}"`),n.message=i+": "+n.message,n}function m(e,t,n,l){if((0,f.bd)(t))return null!=e?m(e,t.ofType,n,l):void n((0,u.A)(l),e,new d.eO(`Expected non-nullable type "${(0,r.N)(t)}" not to be null.`));if(null==e)return null;if((0,f.Fs)(t)){const r=t.ofType;return(0,c.A)(e)?Array.from(e,(e,t)=>{const i=(0,u.f)(l,t,void 0);return m(e,r,n,i)}):[m(e,r,n,l)]}if((0,f.qK)(t)){if(!(0,s.Z)(e))return void n((0,u.A)(l),e,new d.eO(`Expected type "${t.name}" to be an object.`));const i={},c=t.getFields();for(const o of Object.values(c)){const s=e[o.name];if(void 0!==s)i[o.name]=m(s,o.type,n,(0,u.f)(l,o.name,t.name));else if(void 0!==o.defaultValue)i[o.name]=o.defaultValue;else if((0,f.bd)(o.type)){const t=(0,r.N)(o.type);n((0,u.A)(l),e,new d.eO(`Field "${o.name}" of required type "${t}" was not provided.`))}}for(const r of Object.keys(e))if(!c[r]){const i=(0,a.x)(r,Object.keys(t.getFields()));n((0,u.A)(l),e,new d.eO(`Field "${r}" is not defined by type "${t.name}".`+(0,o.a)(i)))}return i}if((0,f.zf)(t)){let r;try{r=t.parseValue(e)}catch(r){return void(r instanceof d.eO?n((0,u.A)(l),e,r):n((0,u.A)(l),e,new d.eO(`Expected type "${t.name}". `+r.message,void 0,void 0,void 0,void 0,r)))}return void 0===r&&n((0,u.A)(l),e,new d.eO(`Expected type "${t.name}".`)),r}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(t))}},89903:(e,t,n)=>{function r(e){return{ofRule:e}}function i(e,t){return{ofRule:e,isList:!0,separator:t}}function o(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function a(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}n.d(t,{FC:()=>o,m7:()=>r,p:()=>a,p_:()=>i,t:()=>s})},90424:(e,t,n)=>{n.d(t,{UY:()=>d,XO:()=>c,YR:()=>l,oP:()=>u,sP:()=>a});var r=n(35198),i=n(93217),o=n(59762),s=n(42455);const a=Object.freeze({});function l(e,t,n=o.aD){const l=new Map;for(const e of Object.values(s.b))l.set(e,c(t,e));let u,d,f,p,h=Array.isArray(e),m=[e],g=-1,y=[];const v=[],b=[];let E=e;do{g++;const e=g===m.length,s=e&&0!==y.length;if(e){if(f=0===b.length?void 0:v[v.length-1],d=p,p=b.pop(),s)if(h){d=d.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(d.splice(r,1),e++):d[r]=n}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(const[e,t]of y)d[e]=t}g=u.index,m=u.keys,y=u.edits,h=u.inArray,u=u.prev}else{if(f=p?h?g:m[g]:void 0,d=p?p[f]:E,null==d)continue;p&&v.push(f)}let c;if(!Array.isArray(d)){var k,w;(0,o.Ll)(d)||(0,i.U)(!1,`Invalid AST Node: ${(0,r.N)(d)}.`);const n=e?null===(k=l.get(d.kind))||void 0===k?void 0:k.leave:null===(w=l.get(d.kind))||void 0===w?void 0:w.enter;if(c=null==n?void 0:n.call(t,d,f,p,v,b),c===a)break;if(!1===c){if(!e){v.pop();continue}}else if(void 0!==c&&(y.push([f,c]),!e)){if(!(0,o.Ll)(c)){v.pop();continue}d=c}}var x;void 0===c&&s&&y.push([f,d]),e?v.pop():(u={inArray:h,index:g,keys:m,edits:y,prev:u},h=Array.isArray(d),m=h?d:null!==(x=n[d.kind])&&void 0!==x?x:[],g=-1,y=[],p&&b.push(p),p=d)}while(void 0!==u);return 0!==y.length&&(E=y[y.length-1][1]),E}function u(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(s.b)){let i=!1;const o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){const{enter:n,leave:a}=c(e[t],r);i||(i=null!=n||null!=a),o[t]=n,s[t]=a}if(!i)continue;const l={enter(...n){const r=n[0];for(let s=0;s<e.length;s++)if(null===t[s]){var i;const l=null===(i=o[s])||void 0===i?void 0:i.apply(e[s],n);if(!1===l)t[s]=r;else if(l===a)t[s]=a;else if(void 0!==l)return l}},leave(...n){const r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;const r=null===(i=s[o])||void 0===i?void 0:i.apply(e[o],n);if(r===a)t[o]=a;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=l}return n}function c(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function d(e,t,n){const{enter:r,leave:i}=c(e,t);return n?i:r}},91070:(e,t,n)=>{function r(e){return"object"==typeof e&&null!==e}n.d(t,{Z:()=>r})},91981:(e,t,n)=>{n.d(t,{z:()=>i});var r=n(48255);function i(e){const t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){const i=Object.create(null);for(const n of t)for(const t of e.getRecursivelyReferencedFragments(n))i[t.name.value]=!0;for(const t of n){const n=t.name.value;!0!==i[n]&&e.reportError(new r.eO(`Fragment "${n}" is never used.`,t))}}}}}},92954:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(48255),i=n(73663);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:s,EnumTypeExtension:s};function s(t){var s;const a=t.name.value;o[a]||(o[a]=Object.create(null));const l=null!==(s=t.values)&&void 0!==s?s:[],u=o[a];for(const t of l){const o=t.name.value,s=n[a];(0,i.oF)(s)&&s.getValue(o)?e.reportError(new r.eO(`Enum value "${a}.${o}" already exists in the schema. It cannot also be defined in this type extension.`,t.name)):u[o]?e.reportError(new r.eO(`Enum value "${a}.${o}" can only be defined once.`,[u[o],t.name])):u[o]=t.name}return!1}}},93217:(e,t,n)=>{function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{U:()=>r})},93444:(e,t,n)=>{function r(e,t){const n=this;let r,i=!1;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}n.d(t,{P:()=>r})},93871:(e,t,n)=>{function r(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}n.d(t,{I:()=>r})},94410:(e,t,n)=>{n.d(t,{E:()=>o});var r=n(46712),i=n(48255);function o(e){return{DirectiveDefinition(e){var t;const 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;const r=e.name.value,i=null!==(t=e.fields)&&void 0!==t?t:[];for(const e of i){var o;n(`${r}.${e.name.value}`,null!==(o=e.arguments)&&void 0!==o?o:[])}return!1}function n(t,n){const o=(0,r.$)(n,e=>e.name.value);for(const[n,r]of o)r.length>1&&e.reportError(new i.eO(`Argument "${t}(${n}:)" can only be defined once.`,r.map(e=>e.name)));return!1}}},95858:e=>{e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},95919:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(48255),i=n(67274);function o(e){return{Directive(t){const n=e.getSchema().getMutationType(),o=e.getSchema().getSubscriptionType(),s=e.getParentType();s&&t.name.value===i.BR.name&&(n&&s===n&&e.reportError(new r.eO(`Defer directive cannot be used on root mutation type "${s.name}".`,t)),o&&s===o&&e.reportError(new r.eO(`Defer directive cannot be used on root subscription type "${s.name}".`,t))),s&&t.name.value===i.nK.name&&(n&&s===n&&e.reportError(new r.eO(`Stream directive cannot be used on root mutation type "${s.name}".`,t)),o&&s===o&&e.reportError(new r.eO(`Stream directive cannot be used on root subscription type "${s.name}".`,t)))}}}},96394:(e,t,n)=>{function r(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}n.d(t,{L:()=>r})},97967:(e,t,n)=>{e.exports=n(66310)},98195:(e,t,n)=>{n.d(t,{$x:()=>d,Mb:()=>p,qg:()=>c,u8:()=>f});var r=n(59841),i=n(42455),o=n(59762),s=n(12039),a=n(39537),l=n(42868),u=n(98472);function c(e,t){return new h(e,t).parseDocument()}function d(e,t){const n=new h(e,t);n.expectToken(s.Y.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(s.Y.EOF),r}function f(e,t){const n=new h(e,t);n.expectToken(s.Y.SOF);const r=n.parseConstValueLiteral();return n.expectToken(s.Y.EOF),r}function p(e,t){const n=new h(e,t);n.expectToken(s.Y.SOF);const r=n.parseTypeReference();return n.expectToken(s.Y.EOF),r}class h{constructor(e,t){const n=(0,a._)(e)?e:new a.k(e);this._lexer=new u.J(n),this._options=t}parseName(){const e=this.expectToken(s.Y.NAME);return this.node(e,{kind:i.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:i.b.DOCUMENT,definitions:this.many(s.Y.SOF,this.parseDefinition,s.Y.EOF)})}parseDefinition(){if(this.peek(s.Y.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===s.Y.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(s.Y.BRACE_L))return this.node(e,{kind:i.b.OPERATION_DEFINITION,operation:o.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(s.Y.NAME)&&(n=this.parseName()),this.node(e,{kind:i.b.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(s.Y.NAME);switch(e.value){case"query":return o.cE.QUERY;case"mutation":return o.cE.MUTATION;case"subscription":return o.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.Y.PAREN_L,this.parseVariableDefinition,s.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:i.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(s.Y.DOLLAR),this.node(e,{kind:i.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:i.b.SELECTION_SET,selections:this.many(s.Y.BRACE_L,this.parseSelection,s.Y.BRACE_R)})}parseSelection(){return this.peek(s.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(s.Y.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:i.b.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.Y.PAREN_L,t,s.Y.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(s.Y.COLON),this.node(t,{kind:i.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(s.Y.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(s.Y.NAME)?this.node(e,{kind:i.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:i.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;const t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(t,{kind:i.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:i.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case s.Y.BRACKET_L:return this.parseList(e);case s.Y.BRACE_L:return this.parseObject(e);case s.Y.INT:return this._lexer.advance(),this.node(t,{kind:i.b.INT,value:t.value});case s.Y.FLOAT:return this._lexer.advance(),this.node(t,{kind:i.b.FLOAT,value:t.value});case s.Y.STRING:case s.Y.BLOCK_STRING:return this.parseStringLiteral();case s.Y.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:i.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:i.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:i.b.NULL});default:return this.node(t,{kind:i.b.ENUM,value:t.value})}case s.Y.DOLLAR:if(e){if(this.expectToken(s.Y.DOLLAR),this._lexer.token.kind===s.Y.NAME){const e=this._lexer.token.value;throw(0,r.I)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:i.b.STRING,value:e.value,block:e.kind===s.Y.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:i.b.LIST,values:this.any(s.Y.BRACKET_L,()=>this.parseValueLiteral(e),s.Y.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:i.b.OBJECT,fields:this.any(s.Y.BRACE_L,()=>this.parseObjectField(e),s.Y.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(s.Y.COLON),this.node(t,{kind:i.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(s.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(s.Y.AT),this.node(t,{kind:i.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(s.Y.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(s.Y.BRACKET_R),t=this.node(e,{kind:i.b.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(s.Y.BANG)?this.node(e,{kind:i.b.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:i.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.Y.STRING)||this.peek(s.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(s.Y.BRACE_L,this.parseOperationTypeDefinition,s.Y.BRACE_R);return this.node(e,{kind:i.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.Y.COLON);const n=this.parseNamedType();return this.node(e,{kind:i.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:i.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:i.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.Y.BRACE_L,this.parseFieldDefinition,s.Y.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(s.Y.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:i.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(s.Y.PAREN_L,this.parseInputValueDef,s.Y.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(s.Y.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(s.Y.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(e,{kind:i.b.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:i.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:s})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:i.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(s.Y.EQUALS)?this.delimitedMany(s.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:i.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(s.Y.BRACE_L,this.parseEnumValueDefinition,s.Y.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:i.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.I)(this._lexer.source,this._lexer.token.start,`${m(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:i.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(s.Y.BRACE_L,this.parseInputValueDef,s.Y.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===s.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(s.Y.BRACE_L,this.parseOperationTypeDefinition,s.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:i.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:i.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:i.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:i.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:i.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:i.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:i.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.Y.AT);const n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(e,{kind:i.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(s.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(l.H,t.value))return t;throw this.unexpected(e)}node(e,t){var n;return!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation)&&(t.loc=new o.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,r.I)(this._lexer.source,t.start,`Expected ${g(e)}, found ${m(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==s.Y.NAME||t.value!==e)throw(0,r.I)(this._lexer.source,t.start,`Expected "${e}", found ${m(t)}.`);this._lexer.advance()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===s.Y.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return(0,r.I)(this._lexer.source,t.start,`Unexpected ${m(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}}function m(e){const t=e.value;return g(e.kind)+(null!=t?` "${t}"`:"")}function g(e){return(0,u.Z)(e)?`"${e}"`:e}},98472:(e,t,n)=>{n.d(t,{J:()=>l,Z:()=>u});var r=n(59841),i=n(59762),o=n(12039),s=n(67714),a=n(25881);class l{constructor(e){const t=new i.ou(o.Y.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==o.Y.EOF)do{if(e.next)e=e.next;else{const t=g(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===o.Y.COMMENT);return e}}function u(e){return e===o.Y.BANG||e===o.Y.DOLLAR||e===o.Y.AMP||e===o.Y.PAREN_L||e===o.Y.PAREN_R||e===o.Y.SPREAD||e===o.Y.COLON||e===o.Y.EQUALS||e===o.Y.AT||e===o.Y.BRACKET_L||e===o.Y.BRACKET_R||e===o.Y.BRACE_L||e===o.Y.PIPE||e===o.Y.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function d(e,t){return f(e.charCodeAt(t))&&p(e.charCodeAt(t+1))}function f(e){return e>=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function h(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return o.Y.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,o){const s=e.line,a=1+n-e.lineStart;return new i.ou(t,n,r,s,a,o)}function g(e,t){const n=e.source.body,i=n.length;let s=t;for(;s<i;){const t=n.charCodeAt(s);switch(t){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++e.line,e.lineStart=s;continue;case 13:10===n.charCodeAt(s+1)?s+=2:++s,++e.line,e.lineStart=s;continue;case 35:return y(e,s);case 33:return m(e,o.Y.BANG,s,s+1);case 36:return m(e,o.Y.DOLLAR,s,s+1);case 38:return m(e,o.Y.AMP,s,s+1);case 40:return m(e,o.Y.PAREN_L,s,s+1);case 41:return m(e,o.Y.PAREN_R,s,s+1);case 46:if(46===n.charCodeAt(s+1)&&46===n.charCodeAt(s+2))return m(e,o.Y.SPREAD,s,s+3);break;case 58:return m(e,o.Y.COLON,s,s+1);case 61:return m(e,o.Y.EQUALS,s,s+1);case 64:return m(e,o.Y.AT,s,s+1);case 91:return m(e,o.Y.BRACKET_L,s,s+1);case 93:return m(e,o.Y.BRACKET_R,s,s+1);case 123:return m(e,o.Y.BRACE_L,s,s+1);case 124:return m(e,o.Y.PIPE,s,s+1);case 125:return m(e,o.Y.BRACE_R,s,s+1);case 34:return 34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)?T(e,s):E(e,s)}if((0,a.yp)(t)||45===t)return v(e,s,t);if((0,a.un)(t))return C(e,s);throw(0,r.I)(e.source,s,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||d(n,s)?`Unexpected character: ${h(e,s)}.`:`Invalid character: ${h(e,s)}.`)}return m(e,o.Y.EOF,i,i)}function y(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else{if(!d(n,i))break;i+=2}}return m(e,o.Y.COMMENT,t,i,n.slice(t+1,i))}function v(e,t,n){const i=e.source.body;let s=t,l=n,u=!1;if(45===l&&(l=i.charCodeAt(++s)),48===l){if(l=i.charCodeAt(++s),(0,a.yp)(l))throw(0,r.I)(e.source,s,`Invalid number, unexpected digit after 0: ${h(e,s)}.`)}else s=b(e,s,l),l=i.charCodeAt(s);if(46===l&&(u=!0,l=i.charCodeAt(++s),s=b(e,s,l),l=i.charCodeAt(s)),69!==l&&101!==l||(u=!0,l=i.charCodeAt(++s),43!==l&&45!==l||(l=i.charCodeAt(++s)),s=b(e,s,l),l=i.charCodeAt(s)),46===l||(0,a.un)(l))throw(0,r.I)(e.source,s,`Invalid number, expected digit but got: ${h(e,s)}.`);return m(e,u?o.Y.FLOAT:o.Y.INT,t,s,i.slice(t,s))}function b(e,t,n){if(!(0,a.yp)(n))throw(0,r.I)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);const i=e.source.body;let o=t+1;for(;(0,a.yp)(i.charCodeAt(o));)++o;return o}function E(e,t){const n=e.source.body,i=n.length;let s=t+1,a=s,l="";for(;s<i;){const i=n.charCodeAt(s);if(34===i)return l+=n.slice(a,s),m(e,o.Y.STRING,t,s+1,l);if(92!==i){if(10===i||13===i)break;if(c(i))++s;else{if(!d(n,s))throw(0,r.I)(e.source,s,`Invalid character within String: ${h(e,s)}.`);s+=2}}else{l+=n.slice(a,s);const t=117===n.charCodeAt(s+1)?123===n.charCodeAt(s+2)?k(e,s):w(e,s):S(e,s);l+=t.value,s+=t.size,a=s}}throw(0,r.I)(e.source,s,"Unterminated string.")}function k(e,t){const n=e.source.body;let i=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!c(i))break;return{value:String.fromCodePoint(i),size:o}}if(i=i<<4|_(e),i<0)break}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function w(e,t){const n=e.source.body,i=x(n,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(f(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=x(n,t+8);if(p(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function x(e,t){return _(e.charCodeAt(t))<<12|_(e.charCodeAt(t+1))<<8|_(e.charCodeAt(t+2))<<4|_(e.charCodeAt(t+3))}function _(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function S(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw(0,r.I)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function T(e,t){const n=e.source.body,i=n.length;let a=e.lineStart,l=t+3,u=l,f="";const p=[];for(;l<i;){const i=n.charCodeAt(l);if(34===i&&34===n.charCodeAt(l+1)&&34===n.charCodeAt(l+2)){f+=n.slice(u,l),p.push(f);const r=m(e,o.Y.BLOCK_STRING,t,l+3,(0,s.OC)(p).join("\n"));return e.line+=p.length-1,e.lineStart=a,r}if(92!==i||34!==n.charCodeAt(l+1)||34!==n.charCodeAt(l+2)||34!==n.charCodeAt(l+3))if(10!==i&&13!==i)if(c(i))++l;else{if(!d(n,l))throw(0,r.I)(e.source,l,`Invalid character within String: ${h(e,l)}.`);l+=2}else f+=n.slice(u,l),p.push(f),13===i&&10===n.charCodeAt(l+1)?l+=2:++l,f="",u=l,a=l;else f+=n.slice(u,l),u=l+1,l+=4}throw(0,r.I)(e.source,l,"Unterminated string.")}function C(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,a.xr)(e))break;++i}return m(e,o.Y.NAME,t,i,n.slice(t,i))}},99461:(e,t,n)=>{n.d(t,{J:()=>a});var r=n(48255),i=n(9554),o=n(73663),s=n(89494);function a(e){return{VariableDefinition(t){const n=(0,s.v)(e.getSchema(),t.type);if(void 0!==n&&!(0,o.dX)(n)){const n=t.variable.name.value,o=(0,i.y)(t.type);e.reportError(new r.eO(`Variable "$${n}" cannot be non-input type "${o}".`,t.type))}}}}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.m=i,s.amdO={},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>o[e]=()=>n[e]);return o.default=()=>n,s.d(i,o),i},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>e+".js",s.miniCssF=e=>e+".ruru.css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.j=1595,(()=>{var e;if("string"==typeof import.meta.url&&(e=import.meta.url),!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e={1595:0};s.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{107:1}[t]&&n.push(e[t]=(e=>new Promise((t,n)=>{var r=s.miniCssF(e),i=s.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(s=n[r]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===e||i===t))return s}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var s;if((i=(s=o[r]).getAttribute("data-href"))===e||i===t)return s}})(r,i))return t();((e,t,n,r,i)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",s.nc&&(o.nonce=s.nc),o.onerror=o.onload=n=>{if(o.onerror=o.onload=null,"load"===n.type)r();else{var s=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=a,o.parentNode&&o.parentNode.removeChild(o),i(l)}},o.href=t,document.head.appendChild(o)})(e,i,0,t,n)}))(t).then(()=>{e[t]=0},n=>{throw delete e[t],n}))}}})(),n={1595:0},r=e=>{var t,r,{__webpack_ids__:i,__webpack_modules__:o,__webpack_runtime__:a}=e,l=0;for(t in o)s.o(o,t)&&(s.m[t]=o[t]);for(a&&a(s);l<i.length;l++)r=i[l],s.o(n,r)&&n[r]&&n[r][0](),n[i[l]]=0},s.f.j=(e,t)=>{var i=s.o(n,e)?n[e]:void 0;if(0!==i)if(i)t.push(i[1]);else{var o=import("./"+s.u(e)).then(r,t=>{throw 0!==n[e]&&(n[e]=void 0),t});o=Promise.race([o,new Promise(t=>i=n[e]=[t])]),t.push(i[1]=o)}},s.nc=void 0;var a={};s.r(a),s.d(a,{decode:()=>mn,encode:()=>vn,format:()=>bn,parse:()=>In});var l={};s.r(l),s.d(l,{Any:()=>Rn,Cc:()=>Pn,Cf:()=>Mn,P:()=>Ln,S:()=>Fn,Z:()=>jn});var u={};s.r(u),s.d(u,{arrayReplaceAt:()=>fr,assign:()=>dr,escapeHtml:()=>_r,escapeRE:()=>Tr,fromCodePoint:()=>hr,has:()=>cr,isMdAsciiPunct:()=>Dr,isPunctChar:()=>Ar,isSpace:()=>Cr,isString:()=>lr,isValidEntityCode:()=>pr,isWhiteSpace:()=>Nr,lib:()=>Ir,normalizeReference:()=>Or,unescapeAll:()=>br,unescapeMd:()=>vr});var c={};s.r(c),s.d(c,{parseLinkDestination:()=>Fr,parseLinkLabel:()=>Lr,parseLinkTitle:()=>Rr});var d=s(14041),f=s.t(d,2),p=s(25873),h=s(31085),m=s(29113),g=s(73663);const y=e=>{let t;const n=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(!Object.is(i,t)){const e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(r,i,o);return o},v=e=>e?y(e):y,b=e=>e;function E(e,t=b){const n=d.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return d.useDebugValue(n),n}const k=e=>{const t=v(e),n=e=>E(t,e);return Object.assign(n,t),n},w=e=>Symbol.iterator in e,x=e=>"entries"in e,_=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[e,t]of n)if(!Object.is(t,r.get(e)))return!1;return!0};function S(e){const t=d.useRef(void 0);return n=>{const r=e(n);return i=t.current,o=r,Object.is(i,o)||"object"==typeof i&&null!==i&&"object"==typeof o&&null!==o&&Object.getPrototypeOf(i)===Object.getPrototypeOf(o)&&(w(i)&&w(o)?x(i)&&x(o)?_(i,o):((e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done})(i,o):_({entries:()=>Object.entries(i)},{entries:()=>Object.entries(o)}))?t.current:t.current=r;var i,o}}var T=Object.defineProperty,C=Object.defineProperties,N=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,I=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),L=(e,t,n)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&L(e,n,t[n]);if(A)for(var n of A(t))O.call(t,n)&&L(e,n,t[n]);return e},R=(e,t)=>C(e,N(t)),P=function(e,t){this[0]=e,this[1]=t};function M(e){return"object"==typeof e&&null!==e&&"function"==typeof e.then}function j(e){return"object"==typeof e&&null!==e&&"subscribe"in e&&"function"==typeof e.subscribe}function V(e){return"object"==typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}s(32112);var U=s(90424);function B(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}const $=e=>{const{pushValue:t,asyncIterableIterator:n}=function(){let e={type:"running"},t=B();const n=[],r=function(e,t,n){const r=async function*(){yield*e}(),i=r.return.bind(r);if(t&&(r.return=(...e)=>(t(),i(...e))),n){const e=r.throw.bind(r);r.throw=t=>(n(t),e(t))}return r}(async function*(){for(;;)if(n.length>0)yield n.shift();else{if("error"===e.type)throw e.error;if("finished"===e.type)return;await t.promise}}(),()=>{"running"===e.type&&(e={type:"finished"},t.resolve())},n=>{"running"===e.type&&(e={type:"error",error:n},t.resolve())});return{pushValue:function(r){"running"===e.type&&(n.push(r),t.resolve(),t=B())},asyncIterableIterator:r}}(),r=e({next:e=>{t(e)},complete:()=>{n.return()},error:e=>{n.throw(e)}}),i=n.return;let o;return n.return=()=>(void 0===o&&(r(),o=i()),o),n},q=e=>t=>$(n=>e.subscribe(t,R(F({},n),{error(e){e instanceof CloseEvent?n.error(new Error(`Socket closed with event ${e.code} ${e.reason||""}`.trim())):n.error(e)}}))),z=(e,t)=>function(n,r){return i=function*(){const i=yield new P(t(e.url,{method:"POST",body:JSON.stringify(n),headers:F(F({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),null==r?void 0:r.headers)}).then(e=>async function(e){if(!e.ok||!e.body||e.bodyUsed)return e;let t=e.headers.get("content-type");if(!t||!~t.indexOf("multipart/"))return e;let n=t.indexOf("boundary="),r="-";if(~n){let e=n+9,i=t.indexOf(";",e);r=t.slice(e,i>-1?i:void 0).trim().replace(/"/g,"")}return async function*(e,t,n){let r,i,o,s=new TextDecoder("utf8"),a=e.getReader(),l=!n||!n.multiple,u=t.length,c="",d=[];try{let n;e:for(;!(n=await a.read()).done;){let a=s.decode(n.value,{stream:!0});r=c.length,c+=a;let f=a.indexOf(t);for(~f?r+=f:r=c.indexOf(t),d=[];~r;){let n=c.slice(0,r),s=c.slice(r+u);if(i){let t=n.indexOf("\r\n\r\n")+4,r=n.lastIndexOf("\r\n",t),i=!1,a=n.slice(t,r>-1?void 0:r),u=String(n.slice(0,t)).trim().split("\r\n"),c={},f=u.length;for(;o=u[--f];o=o.split(": "),c[o.shift().toLowerCase()]=o.join(": "));if(o=c["content-type"],o&&~o.indexOf("application/json"))try{a=JSON.parse(a),i=!0}catch(e){}if(o={headers:c,body:a,json:i},l?yield o:d.push(o),"--"===s.slice(0,2))break e}else t="\r\n"+t,i=u+=2;c=s,r=c.indexOf(t)}d.length&&(yield d)}}finally{d.length&&(yield d),await a.cancel()}}(e.body,`--${r}`,{multiple:!0})}(e)));if("object"!=typeof(o=i)||null===o||!("AsyncGenerator"===o[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in o))return yield i.json();var o;try{for(var s,a,l,u=((e,t,n)=>(t=e[I("asyncIterator")])?t.call(e):(e=e[I("iterator")](),t={},(n=(n,r)=>(r=e[n])&&(t[n]=t=>new Promise((n,i,o)=>(t=r.call(e,t),o=t.done,Promise.resolve(t.value).then(e=>n({value:e,done:o}),i)))))("next"),n("return"),t))(i);s=!(a=yield new P(u.next())).done;s=!1){const e=a.value;if(e.some(e=>!e.json)){const t=e.map(e=>`Headers::\n${e.headers}\n\nBody::\n${e.body}`);throw new Error(`Expected multipart chunks to be of json type. got:\n${t}`)}yield e.map(e=>e.body)}}catch(a){l=[a]}finally{try{s&&(a=u.return)&&(yield new P(a.call(u)))}finally{if(l)throw l[0]}}},o=(e,t,n,r)=>{try{var s=i[e](t),a=(t=s.value)instanceof P,l=s.done;Promise.resolve(a?t[0]:t).then(i=>a?o("return"===e?e:"next",t[1]?{done:i.done,value:i.value}:i,n,r):n({value:i,done:l})).catch(e=>o("throw",e,n,r))}catch(e){r(e)}},s=e=>a[e]=t=>new Promise((n,r)=>o(e,t,n,r)),a={},i=i.apply(this,null),a[I("asyncIterator")]=()=>a,s("next"),s("throw"),s("return"),a;var i,o,s,a};function H(e){const t=e.fetch||"undefined"!=typeof window&&window.fetch;if(!t)throw new Error("No valid fetcher implementation available");e.enableIncrementalDelivery=!1!==e.enableIncrementalDelivery;const n=((e,t)=>async(n,r)=>(await t(e.url,{method:"POST",body:JSON.stringify(n),headers:F(F({"content-type":"application/json"},e.headers),null==r?void 0:r.headers)})).json())(e,t),r=e.enableIncrementalDelivery?z(e,t):n;return async(t,i)=>{if("IntrospectionQuery"===t.operationName)return(e.schemaFetcher||n)(t,i);if(null!=i&&i.documentAST&&((e,t)=>{let n=!1;return(0,U.YR)(e,{OperationDefinition(e){var r;t===(null==(r=e.name)?void 0:r.value)&&"subscription"===e.operation&&(n=!0)}}),n})(i.documentAST,t.operationName||void 0)){const n=await async function(e,t){if(e.wsClient)return q(e.wsClient);if(e.subscriptionUrl)return async function(e,t){let n;try{const{createClient:r}=await s.e(7226).then(s.bind(s,17226));return n=r({url:e,connectionParams:t}),q(n)}catch(t){if((e=>"object"==typeof e&&null!==e&&"code"in e)(t)&&"MODULE_NOT_FOUND"===t.code)throw new Error("You need to install the 'graphql-ws' package to use websockets when passing a 'subscriptionUrl'");console.error(`Error creating websocket client for ${e}`,t)}}(e.subscriptionUrl,F(F({},e.wsConnectionParams),null==t?void 0:t.headers));const n=e.legacyClient||e.legacyWsClient;return n?(r=n,e=>{const t=r.request(e);return $(e=>t.subscribe(e).unsubscribe)}):void 0;var r}(e,i);if(!n)throw new Error("Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. "+(e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."));return n(t)}return r(t,i)}}function K(e){return JSON.stringify(e,null,2)}function W(e){return e instanceof Error?function(e){return R(F({},e),{message:e.message,stack:e.stack})}(e):e}function Y(e){return Array.isArray(e)?K({errors:e.map(e=>W(e))}):K({errors:[W(e)]})}function G(e){return K(e)}var Q=s(98195),X=s(57350),Z=s(9554),J=s(42455);function ee(e,t,n){const r=[];if(!e||!t)return{insertions:r,result:t};let i;try{i=(0,Q.qg)(t)}catch(e){return{insertions:r,result:t}}const o=n||te,s=new X.D(e);return(0,U.YR)(i,{leave(e){s.leave(e)},enter(e){if(s.enter(e),"Field"===e.kind&&!e.selectionSet){const n=ne(function(e){if(e)return e}(s.getType()),o);if(n&&e.loc){const i=function(e,t){let n=t,r=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.slice(n,r)}(t,e.loc.start);r.push({index:e.loc.end,string:" "+(0,Z.y)(n).replaceAll("\n","\n"+i)})}}}}),{insertions:r,result:re(t,r)}}function te(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const e of Object.keys(t))(0,g.zf)(t[e].type)&&n.push(e);return n}function ne(e,t){const n=(0,g.MR)(e);if(!e||(0,g.zf)(e))return;const r=t(n);return Array.isArray(r)&&0!==r.length&&"getFields"in n?{kind:J.b.SELECTION_SET,selections:r.map(e=>{const r=n.getFields()[e],i=r?r.type:null;return{kind:J.b.FIELD,name:{kind:J.b.NAME,value:e},selectionSet:ne(i,t)}})}:void 0}function re(e,t){if(0===t.length)return e;let n="",r=0;for(const{index:i,string:o}of t)n+=e.slice(r,i)+o,r=i;return n+=e.slice(r),n}function ie(e,t,n){var r;const i=n?(0,g.MR)(n).name:null,o=[],s=[];for(let a of t){if("FragmentSpread"===a.kind){const t=a.name.value;if(!a.directives||0===a.directives.length){if(s.includes(t))continue;s.push(t)}const n=e[a.name.value];if(n){const{typeCondition:e,directives:t,selectionSet:r}=n;a={kind:J.b.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:r}}}if(a.kind===J.b.INLINE_FRAGMENT&&(!a.directives||0===(null==(r=a.directives)?void 0:r.length))){const t=a.typeCondition?a.typeCondition.name.value:null;if(!t||t===i){o.push(...ie(e,a.selectionSet.selections,n));continue}}o.push(a)}return o}function oe(e,t){const n=t?new X.D(t):null,r=Object.create(null);for(const t of e.definitions)t.kind===J.b.FRAGMENT_DEFINITION&&(r[t.name.value]=t);const i={SelectionSet(e){const t=n?n.getParentType():null;let{selections:i}=e;return i=ie(r,i,t),R(F({},e),{selections:i})},FragmentDefinition:()=>null},o=(0,U.YR)(e,n?(0,X.S)(n,i):i);return(0,U.YR)(o,{SelectionSet(e){let{selections:t}=e;return t=function(e,t){var n;const r=new Map,i=[];for(const o of e)if("Field"===o.kind){const e=t(o),s=r.get(e);if(null!=(n=o.directives)&&n.length){const e=F({},o);i.push(e)}else if(null!=s&&s.selectionSet&&o.selectionSet)s.selectionSet.selections=[...s.selectionSet.selections,...o.selectionSet.selections];else if(!s){const t=F({},o);r.set(e,t),i.push(t)}}else i.push(o);return i}(t,e=>e.alias?e.alias.value:e.name.value),R(F({},e),{selections:t})},FragmentDefinition:()=>null})}class se{constructor(e){e?this.storage=e:null===e||"undefined"==typeof window?this.storage=null:this.storage={getItem:localStorage.getItem.bind(localStorage),setItem:localStorage.setItem.bind(localStorage),removeItem:localStorage.removeItem.bind(localStorage),get length(){let e=0;for(const t in localStorage)0===t.indexOf(`${ae}:`)&&(e+=1);return e},clear(){for(const e in localStorage)0===e.indexOf(`${ae}:`)&&localStorage.removeItem(e)}}}get(e){if(!this.storage)return null;const t=`${ae}:${e}`,n=this.storage.getItem(t);return"null"===n||"undefined"===n?(this.storage.removeItem(t),null):n||null}set(e,t){let n=!1,r=null;if(this.storage){const i=`${ae}:${e}`;if(t)try{this.storage.setItem(i,t)}catch(e){r=e instanceof Error?e:new Error(`${e}`),n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}(this.storage,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}clear(){this.storage&&this.storage.clear()}}const ae="graphiql";class le{constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,this.items=this.fetchAll()}get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e,t){if("number"==typeof t&&this.items[t]){const n=this.items[t];if(n.query===e.query&&n.variables===e.variables&&n.headers===e.headers&&n.operationName===e.operationName)return this.items.splice(t,1,e),void this.save()}const n=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==n&&(this.items.splice(n,1,e),this.save())}delete(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){const e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){const t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){const e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(null!=e&&e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}class ue{constructor(e,t){this.storage=e,this.maxHistoryLength=t,this.updateHistory=({query:e,variables:t,headers:n,operationName:r})=>{if(!this.shouldSaveQuery(e,t,n,this.history.fetchRecent()))return;this.history.push({query:e,variables:t,headers:n,operationName:r});const i=this.history.items,o=this.favorite.items;this.queries=i.concat(o)},this.deleteHistory=({query:e,variables:t,headers:n,operationName:r,favorite:i},o=!1)=>{function s(i){const o=i.items.find(i=>i.query===e&&i.variables===t&&i.headers===n&&i.operationName===r);o&&i.delete(o)}(i||o)&&s(this.favorite),(!i||o)&&s(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new le("queries",this.storage,this.maxHistoryLength),this.favorite=new le("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(e,t,n,r){if(!e)return!1;try{(0,Q.qg)(e)}catch(e){return!1}return!(e.length>1e5||r&&JSON.stringify(e)===JSON.stringify(r.query)&&(JSON.stringify(t)===JSON.stringify(r.variables)&&(JSON.stringify(n)===JSON.stringify(r.headers)||n&&!r.headers)||t&&!r.variables))}toggleFavorite({query:e,variables:t,headers:n,operationName:r,label:i,favorite:o}){const s={query:e,variables:t,headers:n,operationName:r,label:i};o?(s.favorite=!1,this.favorite.delete(s),this.history.push(s)):(s.favorite=!0,this.favorite.push(s),this.history.delete(s)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:e,variables:t,headers:n,operationName:r,label:i,favorite:o},s){const a={query:e,variables:t,headers:n,operationName:r,label:i};o?this.favorite.edit(R(F({},a),{favorite:o}),s):this.history.edit(a,s),this.queries=[...this.history.items,...this.favorite.items]}}var ce=s(25329),de=s(47626),fe=s(37970),pe=s(69014);const he="undefined"!=typeof navigator&&navigator.userAgent.includes("Mac");function me(e,t="⌘"){return he?e.replace("Ctrl",t):e}const ge=Object.freeze({prettify:{key:"Shift-Ctrl-P",keybindings:[fe.KeyMod.Shift|fe.KeyMod.WinCtrl|pe.DD.KeyP]},mergeFragments:{key:"Shift-Ctrl-M",keybindings:[fe.KeyMod.Shift|fe.KeyMod.WinCtrl|pe.DD.KeyM]},runQuery:{key:"Ctrl-Enter",keybindings:[fe.KeyMod.CtrlCmd|pe.DD.Enter]},autoComplete:{key:"Space"},copyQuery:{key:"Shift-Ctrl-C",keybindings:[fe.KeyMod.Shift|fe.KeyMod.WinCtrl|pe.DD.KeyC]},refetchSchema:{key:"Shift-Ctrl-R"},searchInEditor:{key:"Ctrl-F"},searchInDocs:{key:"Ctrl-Alt-K"}}),ye="headers",ve="visiblePlugin",be="query",Ee="variables",ke="tabState",we="shouldPersistHeaders",xe="theme",_e=`# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and testing\n# GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that start\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Prettify query: ${ge.prettify.key} (or press the prettify button)\n#\n# Merge fragments: ${ge.mergeFragments.key} (or press the merge button)\n#\n# Run Query: ${me(ge.runQuery.key,"Cmd")} (or press the play button)\n#\n# Auto Complete: ${ge.autoComplete.key} (or just start typing)\n#\n\n`,Se={id:"graphql-prettify",label:"Prettify Editors",contextMenuGroupId:"graphql",keybindings:ge.prettify.keybindings},Te={id:"graphql-merge",label:"Merge Fragments into Query",contextMenuGroupId:"graphql",keybindings:ge.mergeFragments.keybindings},Ce={id:"graphql-run",label:"Run Operation",contextMenuGroupId:"graphql",keybindings:ge.runQuery.keybindings},Ne={id:"graphql-copy",label:"Copy Query",contextMenuGroupId:"graphql",keybindings:ge.copyQuery.keybindings},Ae="variables.json",De={allowComments:!0,trailingCommas:"ignore"},Oe={validateVariablesJSON:{},jsonDiagnosticSettings:{validate:!0,schemaValidation:"error",...De}},Ie=async e=>{const[t,{printers:n},{parsers:r}]=await Promise.all([s.e(2408).then(s.bind(s,12408)),s.e(2541).then(s.bind(s,82541)),s.e(5708).then(s.t.bind(s,5708,23))]);return t.format(e,{parser:"graphql",plugins:[{printers:n},{parsers:r}]})},Le={dark:"graphiql-DARK",light:"graphiql-LIGHT"},Fe={transparent:"#ffffff00",bg:{dark:"#212a3b",light:"#ffffffff"},primary:{dark:"#ff5794",light:"#d60590"},primaryBg:{dark:"#ff579419",light:"#d6059019"},secondary:{dark:"#b7c2d711",light:"#3b4b6811"}},Re=e=>({"editor.background":Fe.transparent,"scrollbar.shadow":Fe.transparent,"textLink.foreground":Fe.primary[e],"textLink.activeForeground":Fe.primary[e],"editorLink.activeForeground":Fe.primary[e],"editorHoverWidget.background":Fe.bg[e],"list.hoverBackground":Fe.primaryBg[e],"list.highlightForeground":Fe.primary[e],"list.focusHighlightForeground":Fe.primary[e],"menu.background":Fe.bg[e],"editorSuggestWidget.background":Fe.bg[e],"editorSuggestWidget.selectedBackground":Fe.primaryBg[e],"editorSuggestWidget.selectedForeground":Fe.primary[e],"quickInput.background":Fe.bg[e],"quickInputList.focusForeground":"dark"===e?"#ffffff":"#444444","highlighted.label":Fe.primary[e],"quickInput.widget":Fe.primary[e],highlight:Fe.primary[e],"editorWidget.background":Fe.bg[e],"input.background":Fe.secondary[e],focusBorder:Fe.primary[e],"toolbar.hoverBackground":Fe.primaryBg[e],"inputOption.hoverBackground":Fe.primaryBg[e],"quickInputList.focusBackground":Fe.primaryBg[e],"editorWidget.resizeBorder":Fe.primary[e],"pickerGroup.foreground":Fe.primary[e],"menu.selectionBackground":Fe.primaryBg[e],"menu.selectionForeground":Fe.primary[e]}),Pe={dark:{base:"vs-dark",inherit:!0,colors:Re("dark"),rules:[{token:"argument.identifier.gql",foreground:"#908aff"}]},light:{base:"vs",inherit:!0,colors:Re("light"),rules:[{token:"argument.identifier.gql",foreground:"#6c69ce"}]}};function Me(e){return e&&"object"==typeof e&&!Array.isArray(e)&&je(e,"id")&&je(e,"title")&&Ve(e,"query")&&Ve(e,"variables")&&Ve(e,"headers")&&Ve(e,"operationName")&&Ve(e,"response")}function je(e,t){return t in e&&"string"==typeof e[t]}function Ve(e,t){return t in e&&("string"==typeof e[t]||null===e[t])}function Ue(e,t=!1){return JSON.stringify(e,(e,n)=>"hash"===e||"response"===e||!t&&"headers"===e?null:n)}function Be({query:e=null,variables:t=null,headers:n=null}={}){const r=e?He(e):null;return{id:qe(),hash:ze({query:e,variables:t,headers:n}),title:r||Ke,query:e,variables:t,headers:n,operationName:r,response:null}}function $e(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;const i={...n,...t};return{...i,hash:ze(i),title:i.operationName||(i.query?He(i.query):void 0)||Ke}})}}function qe(){const e=()=>Math.floor(65536*(1+Math.random())).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function ze(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function He(e){const t=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return(null==t?void 0:t[2])??null}const Ke="<untitled>",We=e=>t=>E(e,t&&S(t)),Ye=v((e,t)=>({actions:{async initialize(){if(Boolean(t().monaco))return;const[n,{initializeMode:r}]=await Promise.all([Promise.all([s.e(1613),s.e(6611),s.e(9570),s.e(1237),s.e(4399),s.e(1320),s.e(2155),s.e(2203),s.e(107),s.e(1251)]).then(s.bind(s,62370)),Promise.all([s.e(1613),s.e(6611),s.e(9570),s.e(1237),s.e(4399),s.e(1320),s.e(2155),s.e(2203),s.e(107),s.e(9578)]).then(s.bind(s,1568))]);globalThis.__MONACO=n,n.languages.json.jsonDefaults.setDiagnosticsOptions(De),n.editor.defineTheme(Le.dark,Pe.dark),n.editor.defineTheme(Le.light,Pe.light),navigator.userAgent.includes("Firefox/")&&async function(){const{MouseTargetFactory:e}=await Promise.all([s.e(1237),s.e(2203),s.e(8882)]).then(s.bind(s,49635)),t=e._doHitTestWithCaretPositionFromPoint;e._doHitTestWithCaretPositionFromPoint=(...e)=>{const[n,r]=e;return n.viewDomNode.ownerDocument.caretPositionFromPoint(r.clientX,r.clientY)?t(...e):{type:0}}}();const i=r({diagnosticSettings:Oe});e({monaco:n,monacoGraphQL:i})}}})),Ge=We(Ye);function Qe(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}function Xe(e,t,n){const r=(0,m.c)(10),{updateActiveTabValues:i}=Tt();let o;r[0]!==n?(o=e=>({editor:e["variables"===n?"variableEditor":"headerEditor"],storage:e.storage}),r[0]=n,r[1]=o):o=r[1];const{editor:s,storage:a}=St(o);let l,u;r[2]!==e||r[3]!==s||r[4]!==a||r[5]!==t||r[6]!==n||r[7]!==i?(l=()=>{if(!s)return;const r=Qe(500,e=>{null!==t&&a.set(t,e)}),o=Qe(100,e=>{i({[n]:e})}),l=s.getModel().onDidChangeContent(t=>{const n=s.getValue();r(n),o(n),null==e||e(n)});return()=>{l.dispose()}},u=[e,s,t,n,i,a],r[2]=e,r[3]=s,r[4]=a,r[5]=t,r[6]=n,r[7]=i,r[8]=l,r[9]=u):(l=r[8],u=r[9]),(0,d.useEffect)(l,u)}const Ze=(e,t)=>{const n=(0,m.c)(4),r=(0,d.useRef)(!1);let i,o,s;n[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>()=>{r.current=!1},o=[],n[0]=i,n[1]=o):(i=n[0],o=n[1]),(0,d.useEffect)(i,o),n[2]!==e?(s=()=>{if(r.current)return e();r.current=!0},n[2]=e,n[3]=s):s=n[3],(0,d.useEffect)(s,t)};function Je(e){return 32===e||9===e}function et(e){return 10===e||13===e}function tt(e){return e>=48&&e<=57}var nt;!function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"}(nt||(nt={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const rt=200;var it,ot,st;function at(e,t,n=it.DEFAULT){const r=function(e,t=!1){const n=e.length;let r=0,i="",o=0,s=16,a=0,l=0,u=0,c=0,d=0;function f(t,n){let i=0,o=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else{if(!(t>=97&&t<=102))break;o=16*o+t-97+10}r++,i++}return i<t&&(o=-1),o}function p(){if(i="",d=0,o=r,l=a,c=u,r>=n)return o=n,s=17;let t=e.charCodeAt(r);if(Je(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Je(t));return s=15}if(et(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,i=function(){let t="",i=r;for(;;){if(r>=n){t+=e.substring(i,r),d=2;break}const o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92!==o){if(o>=0&&o<=31){if(et(o)){t+=e.substring(i,r),d=2;break}d=6}r++}else{if(t+=e.substring(i,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:const e=f(4,!0);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r}}return t}(),s=10;case 47:const l=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!et(e.charCodeAt(r));)r++;return i=e.substring(l,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;const t=n-1;let o=!1;for(;r<t;){const t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,o=!0;break}r++,et(t)&&(13===t&&10===e.charCodeAt(r)&&r++,a++,u=r)}return o||(r++,d=1),i=e.substring(l,r),s=13}return i+=String.fromCharCode(t),r++,s=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!tt(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&tt(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(r++,!(r<e.length&&tt(e.charCodeAt(r))))return d=3,e.substring(t,r);for(r++;r<e.length&&tt(e.charCodeAt(r));)r++}let n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if(r++,(r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&tt(e.charCodeAt(r))){for(r++;r<e.length&&tt(e.charCodeAt(r));)r++;n=r}else d=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&h(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(i=e.substring(o,r),i){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return i+=String.fromCharCode(t),r++,s=16}}function h(e){if(Je(e)||et(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,i="",o=0,s=16,d=0},getPosition:()=>r,scan:t?function(){let e;do{e=p()}while(e>=12&&e<=15);return e}:p,getToken:()=>s,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-c,getTokenError:()=>d}}(e,!1),i=[];let o=0;function s(e){return e?t=>0===o&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(e){return e?t=>0===o&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(e){return e?()=>{o>0?o++:!1===e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())&&(o=1)}:()=>!0}function u(e){return e?()=>{o>0&&o--,0===o&&e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const c=l(t.onObjectBegin),d=a(t.onObjectProperty),f=u(t.onObjectEnd),p=l(t.onArrayBegin),h=u(t.onArrayEnd),m=a(t.onLiteralValue),g=s(t.onSeparator),y=(b=t.onComment)?()=>0===o&&b(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0,v=s(t.onError);var b;const E=n&&n.disallowComments,k=n&&n.allowTrailingComma;function w(){for(;;){const e=r.scan();switch(r.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:E||x(11);break;case 2:x(12);break;case 6:x(16)}switch(e){case 12:case 13:E?x(10):y();break;case 16:x(1);break;case 15:case 14:break;default:return e}}}function x(e,t=[],n=[]){if(v(e),t.length+n.length>0){let e=r.getToken();for(;17!==e;){if(-1!==t.indexOf(e)){w();break}if(-1!==n.indexOf(e))break;e=w()}}}function _(e){const t=r.getTokenValue();return e?m(t):(d(t),i.push(t)),w(),!0}function S(){return 10!==r.getToken()?(x(3,[],[2,5]),!1):(_(!1),6===r.getToken()?(g(":"),w(),T()||x(4,[],[2,5])):x(5,[],[2,5]),i.pop(),!0)}function T(){switch(r.getToken()){case 3:return function(){p(),w();let e=!0,t=!1;for(;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||x(4,[],[]),g(","),w(),4===r.getToken()&&k)break}else t&&x(6,[],[]);e?(i.push(0),e=!1):i[i.length-1]++,T()||x(4,[],[4,5]),t=!0}return h(),e||i.pop(),4!==r.getToken()?x(8,[4],[]):w(),!0}();case 1:return function(){c(),w();let e=!1;for(;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||x(4,[],[]),g(","),w(),2===r.getToken()&&k)break}else e&&x(6,[],[]);S()||x(4,[],[2,5]),e=!0}return f(),2!==r.getToken()?x(7,[2],[]):w(),!0}();case 10:return _(!0);default:return function(){switch(r.getToken()){case 11:const e=r.getTokenValue();let t=Number(e);isNaN(t)&&(x(2),t=0),m(t);break;case 7:m(null);break;case 8:m(!0);break;case 9:m(!1);break;default:return!1}return w(),!0}()}}return w(),17===r.getToken()?!!n.allowEmptyContent||(x(4,[],[]),!1):T()?(17!==r.getToken()&&x(9,[],[]),!0):(x(4,[],[]),!1)}new Array(rt).fill(0).map((e,t)=>"\n"+" ".repeat(t)),new Array(rt).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(rt).fill(0).map((e,t)=>"\r\n"+" ".repeat(t)),new Array(rt).fill(0).map((e,t)=>"\n"+"\t".repeat(t)),new Array(rt).fill(0).map((e,t)=>"\r"+"\t".repeat(t)),new Array(rt).fill(0).map((e,t)=>"\r\n"+"\t".repeat(t)),function(e){e.DEFAULT={allowTrailingComma:!1}}(it||(it={})),function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(ot||(ot={})),function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"}(st||(st={}));var lt;async function ut(e){const[t,{printers:n},{parsers:r}]=await Promise.all([s.e(2408).then(s.bind(s,12408)),s.e(3242).then(s.bind(s,73242)),s.e(2581).then(s.t.bind(s,2581,23))]);return t.format(e,{parser:"jsonc",plugins:[{printers:n},{parsers:r}],printWidth:0})}!function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"}(lt||(lt={}));const ct=new Intl.ListFormat("en",{style:"long",type:"conjunction"});function dt(e=""){let t;try{t=function(e){const t=[],n=function(e,t=[],n=it.DEFAULT){let r=null,i=[];const o=[];function s(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}const a={onObjectBegin:()=>{const e={};s(e),o.push(i),i=e,r=null},onObjectProperty:e=>{r=e},onObjectEnd:()=>{i=o.pop()},onArrayBegin:()=>{const e=[];s(e),o.push(i),i=e,r=null},onArrayEnd:()=>{i=o.pop()},onLiteralValue:s,onError:(e,n,r)=>{t.push({error:e,offset:n,length:r})}};return at(e,a,n),i[0]}(e,t,{allowTrailingComma:!0,allowEmptyContent:!0});if(t.length){const e=ct.format(t.map(({error:e})=>function(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}(e)));throw new SyntaxError(e)}return n}(e)}catch(e){throw new Error(`are invalid JSON: ${e instanceof Error?e.message:e}.`)}if(t){if("object"!=typeof t||Array.isArray(t))throw new TypeError("are not a JSON object.");return t}}var ft=s(37066),pt=s(11098),ht=s.n(pt),mt=s(75302),gt=s.n(mt),yt=s(81304);const vt=new WeakMap;function bt(e,t){var n,r,i;let o=["data",...t.path??[]];for(const n of[e,t])if(n.pending){let t=vt.get(e);void 0===t&&(t=new Map,vt.set(e,t));for(const{id:e,path:r}of n.pending)t.set(e,["data",...r])}const{items:s,data:a,id:l}=t;if(s)if(l){if(o=null==(n=vt.get(e))?void 0:n.get(l),void 0===o)throw new Error("Invalid incremental delivery format.");gt()(e,o.join(".")).push(...s)}else{o=["data",...t.path??[]];for(const t of s)ht()(e,o.join("."),t),o[o.length-1]++}if(a){if(l){if(o=null==(r=vt.get(e))?void 0:r.get(l),void 0===o)throw new Error("Invalid incremental delivery format.");const{subPath:n}=t;void 0!==n&&(o=[...o,...n])}ht()(e,o.join("."),a,{merge:!0})}if(t.errors&&(e.errors||(e.errors=[]),e.errors.push(...t.errors)),t.extensions&&ht()(e,"extensions",t.extensions,{merge:!0}),t.incremental)for(const n of t.incremental)bt(e,n);if(t.completed)for(const{id:n,errors:r}of t.completed)null==(i=vt.get(e))||i.delete(n),r&&(e.errors||(e.errors=[]),e.errors.push(...r))}var Et=s(58881),kt=s(65410);const wt=(0,d.createContext)(null),xt=e=>{const t=(0,m.c)(5);if(!e.fetcher)throw new TypeError("The `GraphiQLProvider` component requires a `fetcher` function to be passed as prop.");if(e.validationRules)throw new TypeError("The `validationRules` prop has been removed. Use custom GraphQL worker, see https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#custom-webworker-for-passing-non-static-config-to-worker.");if(e.query)throw new TypeError("The `query` prop has been removed. Use `initialQuery` prop instead, or set value programmatically using:\n\nconst queryEditor = useGraphiQL(state => state.queryEditor)\n\nuseEffect(() => {\n queryEditor.setValue(query)\n}, [query])");if(e.variables)throw new TypeError("The `variables` prop has been removed. Use `initialVariables` prop instead, or set value programmatically using:\n\nconst variableEditor = useGraphiQL(state => state.variableEditor)\n\nuseEffect(() => {\n variableEditor.setValue(variables)\n}, [variables])");if(e.headers)throw new TypeError("The `headers` prop has been removed. Use `initialHeaders` prop instead, or set value programmatically using:\n\nconst headerEditor = useGraphiQL(state => state.headerEditor)\n\nuseEffect(() => {\n headerEditor.setValue(headers)\n}, [headers])");if(e.response)throw new TypeError("The `response` prop has been removed. Set value programmatically using:\n\nconst responseEditor = useGraphiQL(state => state.responseEditor)\n\nuseEffect(() => {\n responseEditor.setValue(response)\n}, [response])");const{actions:n}=Ge(),[r,i]=(0,d.useState)(!1);let o,s,a;return t[0]!==n?(o=()=>{n.initialize(),i(!0)},t[0]=n,t[1]=o):o=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(s=[],t[2]=s):s=t[2],(0,d.useEffect)(o,s),r?(t[3]!==e?(a=(0,h.jsx)(_t,{...e}),t[3]=e,t[4]=a):a=t[4],a):null},_t=e=>{const t=(0,m.c)(76);let n,r,i,o,s,a,l,u,c,f,p,g,y,v,b,E,w,x,_,S,T,C,N,A,D,O,I;t[0]!==e?(({defaultHeaders:i,defaultQuery:E,defaultTabs:o,externalFragments:s,onEditOperationName:c,onTabChange:p,shouldPersistHeaders:_,onCopyQuery:u,onPrettifyQuery:S,dangerouslyAssumeSchemaIsValid:T,fetcher:a,inputValueDeprecation:C,introspectionQueryName:N,onSchemaChange:f,schema:b,schemaDescription:A,getDefaultFieldNames:l,operationName:D,onTogglePluginVisibility:g,plugins:O,referencePlugin:v,visiblePlugin:I,children:r,defaultTheme:w,editorTheme:x,storage:n,...y}=e),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=s,t[6]=a,t[7]=l,t[8]=u,t[9]=c,t[10]=f,t[11]=p,t[12]=g,t[13]=y,t[14]=v,t[15]=b,t[16]=E,t[17]=w,t[18]=x,t[19]=_,t[20]=S,t[21]=T,t[22]=C,t[23]=N,t[24]=A,t[25]=D,t[26]=O,t[27]=I):(n=t[1],r=t[2],i=t[3],o=t[4],s=t[5],a=t[6],l=t[7],u=t[8],c=t[9],f=t[10],p=t[11],g=t[12],y=t[13],v=t[14],b=t[15],E=t[16],w=t[17],x=t[18],_=t[19],S=t[20],T=t[21],C=t[22],N=t[23],A=t[24],D=t[25],O=t[26],I=t[27]);const L=void 0===E?_e:E,F=void 0!==_&&_,R=void 0===S?Ie:S,P=void 0!==T&&T,U=void 0!==C&&C,B=void 0===N?"IntrospectionQuery":N,$=void 0!==A&&A,q=void 0===D?null:D;let z;t[28]!==O?(z=void 0===O?[]:O,t[28]=O,t[29]=z):z=t[29];const H=z,K=void 0===w?null:w,W=void 0===x?Le:x,Q=(0,d.useRef)(null),X=(0,d.useId)();if(null===Q.current){let e;if(t[30]!==n||t[31]!==i||t[32]!==L||t[33]!==o||t[34]!==K||t[35]!==W||t[36]!==s||t[37]!==a||t[38]!==l||t[39]!==U||t[40]!==B||t[41]!==u||t[42]!==c||t[43]!==R||t[44]!==f||t[45]!==p||t[46]!==g||t[47]!==q||t[48]!==H||t[49]!==y.initialHeaders||t[50]!==y.initialQuery||t[51]!==y.initialVariables||t[52]!==v||t[53]!==$||t[54]!==F||t[55]!==X||t[56]!==I){const r=new se(n),d=function(){const e=r.get(ve);return H.find(t=>t.title===e)||(e&&r.set(ve,""),I)},h=function(){const e=r.get(xe);switch(e){case"light":return"light";case"dark":return"dark";default:return"string"==typeof e&&r.set(xe,""),K}},m=function(){const e=y.initialQuery??r.get(be),t=y.initialVariables??r.get(Ee),n=y.initialHeaders??r.get(ye),{tabs:m,activeTabIndex:b}=function({defaultQuery:e,defaultHeaders:t,headers:n,query:r,variables:i,defaultTabs:o=[{query:r??e,variables:i,headers:n??t}],shouldPersistHeaders:s,storage:a}){const l=a.get(ke);try{if(!l)throw new Error("Storage for tabs is empty");const e=JSON.parse(l),t=s?n:void 0;if((u=e)&&"object"==typeof u&&!Array.isArray(u)&&function(e,t){return t in e&&"number"==typeof e[t]}(u,"activeTabIndex")&&"tabs"in u&&Array.isArray(u.tabs)&&u.tabs.every(Me)){const o=ze({query:r,variables:i,headers:t});let s=-1;for(let t=0;t<e.tabs.length;t++){const n=e.tabs[t];n.hash=ze({query:n.query,variables:n.variables,headers:n.headers}),n.hash===o&&(s=t)}if(s>=0)e.activeTabIndex=s;else{const t=r?He(r):null;e.tabs.push({id:qe(),hash:o,title:t||Ke,query:r,variables:i,headers:n,operationName:t,response:null}),e.activeTabIndex=e.tabs.length-1}return e}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:o.map(Be)}}var u}({defaultHeaders:i,defaultQuery:L,defaultTabs:o,headers:n,query:e,shouldPersistHeaders:F,storage:r,variables:t}),E=null!==r.get(we),w=!1!==F&&E?"true"===r.get(we):F,x=(e=>e?k(e):k)((...o)=>{const d=o,h=(y={storage:r},()=>y)(...d);var y;const E=(e=>(t,n)=>{function r({query:e,variables:t,headers:r,response:i}){const{queryEditor:o,variableEditor:s,headerEditor:a,responseEditor:l,defaultHeaders:u}=n();null==o||o.setValue(e??""),null==s||s.setValue(t??""),null==a||a.setValue(r??u??""),null==l||l.setValue(i??"")}const i={addTab(){t(({defaultHeaders:e,onTabChange:t,tabs:i,activeTabIndex:o,actions:s})=>{const a=function(e){const{queryEditor:t,variableEditor:r,headerEditor:i,responseEditor:o,operationName:s}=n();return $e(e,{query:(null==t?void 0:t.getValue())??null,variables:(null==r?void 0:r.getValue())??null,headers:(null==i?void 0:i.getValue())??null,response:(null==o?void 0:o.getValue())??null,operationName:s??null})}({tabs:i,activeTabIndex:o}),l={tabs:[...a.tabs,Be({headers:e})],activeTabIndex:a.tabs.length};return s.storeTabs(l),r(l.tabs[l.activeTabIndex]),null==t||t(l),l})},changeTab(e){t(({actions:t,onTabChange:n,tabs:i})=>{t.stop();const o={tabs:i,activeTabIndex:e};return t.storeTabs(o),r(o.tabs[o.activeTabIndex]),null==n||n(o),o})},moveTab(e){t(({onTabChange:t,actions:n,tabs:i,activeTabIndex:o})=>{const s=i[o],a={tabs:e,activeTabIndex:e.indexOf(s)};return n.storeTabs(a),r(a.tabs[a.activeTabIndex]),null==t||t(a),a})},closeTab(e){t(({activeTabIndex:t,onTabChange:n,actions:i,tabs:o})=>{t===e&&i.stop();const s={tabs:o.filter((t,n)=>e!==n),activeTabIndex:Math.max(t-1,0)};return i.storeTabs(s),r(s.tabs[s.activeTabIndex]),null==n||n(s),s})},updateActiveTabValues(e){t(({activeTabIndex:t,tabs:n,onTabChange:r,actions:i})=>{const o=$e({tabs:n,activeTabIndex:t},e);return i.storeTabs(o),null==r||r(o),o})},setEditor({headerEditor:e,queryEditor:n,responseEditor:r,variableEditor:i}){const o=Object.entries({headerEditor:e,queryEditor:n,responseEditor:r,variableEditor:i}).filter(([e,t])=>t),s=Object.fromEntries(o);t(s)},setOperationName(e){t(({onEditOperationName:t,actions:n})=>(n.updateActiveTabValues({operationName:e}),null==t||t(e),{operationName:e}))},setShouldPersistHeaders(e){const{headerEditor:r,tabs:i,activeTabIndex:o,storage:s}=n();if(e){s.set(ye,(null==r?void 0:r.getValue())??"");const e=Ue({tabs:i,activeTabIndex:o},!0);s.set(ke,e)}else s.set(ye,""),function(e){const t=e.get(ke);if(t){const n=JSON.parse(t);e.set(ke,JSON.stringify(n,(e,t)=>"headers"===e?null:t))}}(s);s.set(we,e.toString()),t({shouldPersistHeaders:e})},storeTabs({tabs:e,activeTabIndex:t}){const{shouldPersistHeaders:r,storage:i}=n();Qe(500,e=>{i.set(ke,e)})(Ue({tabs:e,activeTabIndex:t},r))},setOperationFacts({documentAST:e,operationName:n,operations:r}){t({documentAST:e,operationName:n,operations:r})},async copyQuery(){const{queryEditor:e,onCopyQuery:t}=n();if(!e)return;const r=e.getValue();null==t||t(r);try{await navigator.clipboard.writeText(r)}catch(e){console.warn("Failed to copy query!",e)}},async prettifyEditors(){const{queryEditor:e,headerEditor:t,variableEditor:r,onPrettifyQuery:i}=n();if(r)try{const e=r.getValue(),t=await ut(e);t!==e&&r.setValue(t)}catch(e){console.warn("Parsing variables JSON failed, skip prettification.",e)}if(t)try{const e=t.getValue(),n=await ut(e);n!==e&&t.setValue(n)}catch(e){console.warn("Parsing headers JSON failed, skip prettification.",e)}if(e)try{const t=e.getValue(),n=await i(t);n!==t&&e.setValue(n)}catch(e){console.warn("Parsing query failed, skip prettification.",e)}},mergeQuery(){const{queryEditor:e,documentAST:t,schema:r}=n(),i=null==e?void 0:e.getValue();t&&i&&e.setValue((0,Z.y)(oe(t,r)))}};return{...e,actions:i}})({activeTabIndex:b,defaultHeaders:i,defaultQuery:L,externalFragments:Ct(s),initialHeaders:n??i??"",initialQuery:e??(0===b?m[0].query:null)??"",initialVariables:t??"",onCopyQuery:u,onEditOperationName:c,onPrettifyQuery:R,onTabChange:p,shouldPersistHeaders:w,tabs:m,uriInstanceId:X.replaceAll(/[:«»]/g,"")+"-"})(...d),k=(e=>(t,n)=>({...e,isFetching:!1,subscription:null,queryId:0,actions:{stop(){t(({subscription:e})=>(null==e||e.unsubscribe(),{isFetching:!1,subscription:null}))},async run(){const{externalFragments:e,headerEditor:r,queryEditor:i,responseEditor:o,variableEditor:s,actions:a,operationName:l,documentAST:u,subscription:c,overrideOperationName:d,queryId:f,fetcher:p}=n();if(!i||!o)return;if(c)return void a.stop();function h(e){null==o||o.setValue(e),a.updateActiveTabValues({response:e})}function m(e,t){t&&h(Y({message:`${t===s?"Variables":"Request headers"} ${e.message}`}))}const g=f+1;t({queryId:g});let y,v,b=function(){const{queryEditor:e,schema:t,getDefaultFieldNames:r}=n();if(!e)return;const i=e.getValue(),{insertions:o,result:s=""}=ee(t,i,r);if(!o.length)return s;const a=e.getModel(),l=e.getSelection(),u=a.getOffsetAt(l.getPosition());a.setValue(s);let c=0;const d=o.map(({index:e,string:t})=>{const n=a.getPositionAt(e+c),r=a.getPositionAt(e+(c+=t.length));return{range:new yt.Q(n.lineNumber,n.column,r.lineNumber,r.column),options:{className:"auto-inserted-leaf",hoverMessage:{value:"Automatically added leaf fields"},isWholeLine:!1}}}),f=e.createDecorationsCollection([]);f.set(d),setTimeout(()=>{f.clear()},7e3);let p=u;for(const{index:e,string:t}of o)e<u&&(p+=t.length);const h=a.getPositionAt(p);return e.setPosition(h),s}()||i.getValue();try{y=dt(null==s?void 0:s.getValue())}catch(e){return void m(e,s)}try{v=dt(null==r?void 0:r.getValue())}catch(e){return void m(e,r)}const E=u?(0,ft.JR)(u,e):[];E.length&&(b+="\n"+E.map(e=>(0,Z.y)(e)).join("\n")),h(""),t({isFetching:!0});try{const e={},r=r=>{if(g!==n().queryId)return;let i=!!Array.isArray(r)&&r;if(!i&&"object"==typeof r&&"hasNext"in r&&(i=[r]),i){for(const t of i)bt(e,t);t({isFetching:!1}),h(G(e))}else t({isFetching:!1}),h(G(r))},i=p({query:b,variables:y,operationName:d??l},{headers:v,documentAST:u}),o=await i;if(j(o)){const e=o.subscribe({next(e){r(e)},error(e){t({isFetching:!1}),h(Y(e)),t({subscription:null})},complete(){t({isFetching:!1,subscription:null})}});t({subscription:e})}else if(V(o)){const e={unsubscribe:()=>{var e,t;return null==(t=(e=o[Symbol.asyncIterator]()).return)?void 0:t.call(e)}};t({subscription:e});for await(const e of o)r(e);t({isFetching:!1,subscription:null})}else r(o)}catch(e){t({isFetching:!1}),h(Y(e)),t({subscription:null})}}}}))({fetcher:a,getDefaultFieldNames:l,overrideOperationName:q})(...d),x=(e=>t=>({plugins:[],visiblePlugin:null,...e,actions:{setVisiblePlugin(e=null){t(t=>{const{visiblePlugin:n,plugins:r,onTogglePluginVisibility:i,storage:o}=t,s="string"==typeof e,a=e&&r.find(t=>(s?t.title:t)===e)||null;return a===n?t:(null==i||i(a),o.set(ve,(null==a?void 0:a.title)??""),{visiblePlugin:a})})},setPlugins(e){const n=new Set,r="All GraphiQL plugins must have a unique title";for(const{title:t}of e){if("string"!=typeof t||!t)throw new Error(r);if(n.has(t))throw new Error(`${r}, found two plugins with the title '${t}'`);n.add(t)}t({plugins:e})}}}))({onTogglePluginVisibility:g,referencePlugin:v})(...d),_=(e=>(t,n)=>({...e,fetchError:null,isIntrospecting:!1,schema:null,validationErrors:[],schemaReference:null,requestCounter:0,shouldIntrospect:!0,actions:{setSchemaReference(e){t({schemaReference:e})},async introspect(){const{requestCounter:e,shouldIntrospect:r,onSchemaChange:i,headerEditor:o,fetcher:s,inputValueDeprecation:a,introspectionQueryName:l,schemaDescription:u}=n();if(!r)return;const c=e+1;t({requestCounter:c,isIntrospecting:!0,fetchError:null});try{let e,r=function(e){const t=async function(e){const t=await e;return V(t)?async function(e){var t;const n=null==(t=("return"in e?e:e[Symbol.asyncIterator]()).return)?void 0:t.bind(e),r=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return null==n||n(),r.value}(t):j(t)?(n=t,new Promise((e,t)=>{const r=n.subscribe({next(t){e(t),r.unsubscribe()},error:t,complete(){t(new Error("no value resolved"))}})})):t;var n}(s({query:e,operationName:l},d));if(!M(t))throw new TypeError("Fetcher did not return a Promise for introspection.");return t};try{e=dt(null==o?void 0:o.getValue())}catch(e){throw new Error(`Introspection failed. Request headers ${e instanceof Error?e.message:e}`)}const d=e?{headers:e}:{},f=(0,Et.I)({inputValueDeprecation:a,schemaDescription:u}),p="IntrospectionQuery"===l?f:f.replace("query IntrospectionQuery",`query ${l}`);let h,m=await r(p);if("object"==typeof m&&"data"in m||(m=await r(f.replace("subscriptionType { name }",""))),t({isIntrospecting:!1}),m.data&&"__schema"in m.data)h=m.data;else{const e="string"==typeof m?m:G(m);t({fetchError:e})}if(c!==n().requestCounter||!h)return;const g=(0,kt.D)(h);t({schema:g}),null==i||i(g)}catch(e){if(c!==n().requestCounter)return;e instanceof Error&&delete e.stack,t({isIntrospecting:!1,fetchError:Y(e)})}}}}))({inputValueDeprecation:U,introspectionQueryName:B,onSchemaChange:f,schemaDescription:$})(...d),S=(({editorTheme:e})=>(t,n)=>({theme:null,actions:{setTheme(r){const{storage:i}=n();i.set(xe,r??""),document.body.classList.remove("graphiql-light","graphiql-dark"),r&&document.body.classList.add(`graphiql-${r}`);const{monaco:o}=Ye.getState(),s=r??(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),a=e[s];null==o||o.editor.setTheme(a),t({theme:r,monacoTheme:a})}}}))({editorTheme:W})(...d);return{...h,...E,...k,...x,..._,...S,actions:{...E.actions,...k.actions,...x.actions,..._.actions,...S.actions}}}),{actions:_}=x.getState();return _.storeTabs({activeTabIndex:b,tabs:m}),_.setPlugins(H),_.setVisiblePlugin(d()),_.setTheme(h()),x};e=m(),t[30]=n,t[31]=i,t[32]=L,t[33]=o,t[34]=K,t[35]=W,t[36]=s,t[37]=a,t[38]=l,t[39]=U,t[40]=B,t[41]=u,t[42]=c,t[43]=R,t[44]=f,t[45]=p,t[46]=g,t[47]=q,t[48]=H,t[49]=y.initialHeaders,t[50]=y.initialQuery,t[51]=y.initialVariables,t[52]=v,t[53]=$,t[54]=F,t[55]=X,t[56]=I,t[57]=e}else e=t[57];Q.current=e}let J,te,ne,re,ie,ae,le,ue,fe;return t[58]!==a?(J=()=>{Q.current.setState({fetcher:a})},te=[a],t[58]=a,t[59]=J,t[60]=te):(J=t[59],te=t[60]),Ze(J,te),t[61]!==H||t[62]!==I?(ne=()=>{const{actions:e}=Q.current.getState();e.setPlugins(H),e.setVisiblePlugin(I)},re=[H,I],t[61]=H,t[62]=I,t[63]=ne,t[64]=re):(ne=t[63],re=t[64]),Ze(ne,re),t[65]!==P||t[66]!==b?(ie=()=>{const e=(0,ce.Wl)(b)||null==b?b:void 0,t=!e||P?[]:(0,de.i)(e),n=Q.current;n.setState(n=>{const{requestCounter:r}=n;return{requestCounter:r+1,schema:e,shouldIntrospect:!(0,ce.Wl)(b)&&null!==b,validationErrors:t}});const{actions:r}=n.getState();r.introspect()},t[65]=P,t[66]=b,t[67]=ie):ie=t[67],t[68]!==P||t[69]!==a||t[70]!==b?(ae=[b,P,a],t[68]=P,t[69]=a,t[70]=b,t[71]=ae):ae=t[71],(0,d.useEffect)(ie,ae),t[72]===Symbol.for("react.memo_cache_sentinel")?(le=()=>{const e=function(e){if(e.ctrlKey&&"R"===e.key){const{actions:e}=Q.current.getState();e.introspect()}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},ue=[],t[72]=le,t[73]=ue):(le=t[72],ue=t[73]),(0,d.useEffect)(le,ue),t[74]!==r?(fe=(0,h.jsx)(wt.Provider,{value:Q,children:r}),t[74]=r,t[75]=fe):fe=t[75],fe};function St(e){const t=(0,d.useContext)(wt);if(!t)throw new Error('"useGraphiQL" hook must be used within a <GraphiQLProvider> component.\nIt looks like you are trying to use the hook outside the GraphiQL provider tree.');return E(t.current,S(e))}const Tt=()=>St(Nt);function Ct(e){const t=new Map;if(e)if(Array.isArray(e))for(const n of e)t.set(n.name.value,n);else{if("string"!=typeof e)throw new TypeError("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of `FragmentDefinitionNode` objects.");(0,U.YR)((0,Q.qg)(e),{FragmentDefinition(e){t.set(e.name.value,e)}})}return t}function Nt(e){return e.actions}const At=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),d.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"}))),Dt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5}))),Ot=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75}))),It=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5}))),Lt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M1 1L12.9998 12.9997"}),d.createElement("path",{d:"M13 1L1.00079 13.0003"}))),Ft=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),d.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5}))),Rt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2}))),Pt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"}))),Mt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}))),jt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"}))),Vt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),d.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"}))),Ut=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),d.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5}))),Bt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"}))),$t=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),d.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"}))),qt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),d.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),d.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5}))),zt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),d.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"}))),Ht=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}))),Kt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),d.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3}))),Wt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),d.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),d.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),d.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5}))),Yt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),d.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}))),Gt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"}))),Qt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"}))),Xt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),d.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),d.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),d.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),d.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}))),Zt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),d.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),d.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),d.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1}))),Jt=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),d.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2}))),en=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"}))),tn=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"}))),nn=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5}))),rn=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"}))),on=an(({title:e,titleId:t,...n})=>d.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"}))),sn=an(({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),d.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})));function an(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon",n=n=>{const r=(0,m.c)(2);let i;return r[0]!==n?(i=(0,h.jsx)(e,{title:t,...n}),r[0]=n,r[1]=i):i=r[1],i};return n.displayName=e.name,n}function ln(...e){return t=>{const n=Object.create(null);for(const r of e)n[r]=t[r];return n}}function un(e){return"__"===e.name.slice(0,2)}function cn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=cn(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function dn(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=cn(e))&&(r&&(r+=" "),r+=t);return r}const fn=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(6);let r,i;return n[0]!==e.className?(r=dn("graphiql-spinner",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,h.jsx)("div",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});fn.displayName="Spinner";const pn={};function hn(e,t){"string"!=typeof t&&(t=hn.defaultChars);const n=function(e){let t=pn[e];if(t)return t;t=pn[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const o=parseInt(e.slice(r+1,r+3),16);if(o<128)t+=n[o];else{if(192==(224&o)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=o<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&o)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=o<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&o)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),s=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&s)){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&s;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t})}hn.defaultChars=";/?:@&=+$,#",hn.componentChars="";const mn=hn,gn={};function yn(e,t,n){"string"!=typeof t&&(n=t,t=yn.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=gn[e];if(t)return t;t=gn[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let t=0,o=e.length;t<o;t++){const s=e.charCodeAt(t);if(n&&37===s&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(s<128)i+=r[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}yn.defaultChars=";/?:@&=+$,-_.!~*'()#",yn.componentChars="-_.!~*'()";const vn=yn;function bn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function En(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const kn=/^([a-z0-9.+-]+:)/i,wn=/:[0-9]*$/,xn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,_n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Sn=["'"].concat(_n),Tn=["%","/","?",";","#"].concat(Sn),Cn=["/","?","#"],Nn=/^[+a-z0-9A-Z_-]{0,63}$/,An=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Dn={javascript:!0,"javascript:":!0},On={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};En.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=xn.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=kn.exec(o);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,o=o.substr(s.length)),(t||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2),!i||s&&Dn[s]||(o=o.substr(2),this.slashes=!0)),!Dn[s]&&(i||s&&!On[s])){let e,t,n=-1;for(let e=0;e<Cn.length;e++)r=o.indexOf(Cn[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n),-1!==t&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<Tn.length;e++)r=o.indexOf(Tn[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;const i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(Nn)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(Nn)){const r=e.slice(0,t),i=e.slice(t+1),s=n.match(An);s&&(r.push(s[1]),i.unshift(s[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),On[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},En.prototype.parseHost=function(e){let t=wn.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const In=function(e,t){if(e&&e instanceof En)return e;const n=new En;return n.parse(e,t),n},Ln=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Fn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Rn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Pn=/[\0-\x1F\x7F-\x9F]/,Mn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,jn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Vn=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Un=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Bn;const $n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),qn=null!==(Bn=String.fromCodePoint)&&void 0!==Bn?Bn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var zn,Hn,Kn,Wn,Yn;function Gn(e){return e>=zn.ZERO&&e<=zn.NINE}function Qn(e){return e>=zn.UPPER_A&&e<=zn.UPPER_F||e>=zn.LOWER_A&&e<=zn.LOWER_F}function Xn(e){return e===zn.EQUALS||function(e){return e>=zn.UPPER_A&&e<=zn.UPPER_Z||e>=zn.LOWER_A&&e<=zn.LOWER_Z||Gn(e)}(e)}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(zn||(zn={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Hn||(Hn={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Kn||(Kn={})),(Yn=Wn||(Wn={}))[Yn.Legacy=0]="Legacy",Yn[Yn.Strict=1]="Strict",Yn[Yn.Attribute=2]="Attribute";class Zn{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Kn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wn.Strict}startEntity(e){this.decodeMode=e,this.state=Kn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Kn.EntityStart:return e.charCodeAt(t)===zn.NUM?(this.state=Kn.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Kn.NamedEntity,this.stateNamedEntity(e,t));case Kn.NumericStart:return this.stateNumericStart(e,t);case Kn.NumericDecimal:return this.stateNumericDecimal(e,t);case Kn.NumericHex:return this.stateNumericHex(e,t);case Kn.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===zn.LOWER_X?(this.state=Kn.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Kn.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Gn(r)&&!Qn(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Gn(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===zn.SEMI)this.consumed+=1;else if(this.decodeMode===Wn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=$n.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==zn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Hn.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=er(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Wn.Attribute&&(0===i||Xn(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Hn.VALUE_LENGTH)>>14,0!==i){if(o===zn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Wn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&Hn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~Hn.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Kn.NamedEntity:return 0===this.result||this.decodeMode===Wn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Kn.NumericDecimal:return this.emitNumericEntity(0,2);case Kn.NumericHex:return this.emitNumericEntity(0,3);case Kn.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Kn.EntityStart:return 0}}}function Jn(e){let t="";const n=new Zn(e,e=>t+=qn(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);const s=n.write(e,o+1);if(s<0){i=o+n.end();break}i=o+s,o=0===s?i+1:i}const s=t+e.slice(i);return t="",s}}function er(e,t,n,r){const i=(t&Hn.BRANCH_LENGTH)>>7,o=t&Hn.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let s=n,a=s+i-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(n<r)s=t+1;else{if(!(n>r))return e[t+i];a=t-1}}return-1}const tr=Jn(Vn);function nr(e,t=Wn.Legacy){return tr(e,t)}function rr(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Jn(Un),new Map(rr([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(rr([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(rr([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(rr([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));const ir=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function or(e,t){return function(n){let r,i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}var sr,ar;function lr(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}String.prototype.codePointAt,or(/[&<>'"]/g,ir),or(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),or(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(sr||(sr={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(ar||(ar={}));const ur=Object.prototype.hasOwnProperty;function cr(e,t){return ur.call(e,t)}function dr(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function fr(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function pr(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function hr(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const mr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,gr=new RegExp(mr.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),yr=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vr(e){return e.indexOf("\\")<0?e:e.replace(mr,"$1")}function br(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(gr,function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&yr.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return pr(n)?hr(n):e}const n=nr(e);return n!==e?n:e}(e,n)})}const Er=/[&<>"]/,kr=/[&<>"]/g,wr={"&":"&","<":"<",">":">",'"':"""};function xr(e){return wr[e]}function _r(e){return Er.test(e)?e.replace(kr,xr):e}const Sr=/[.?*+^$[\]\\(){}|-]/g;function Tr(e){return e.replace(Sr,"\\$&")}function Cr(e){switch(e){case 9:case 32:return!0}return!1}function Nr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ar(e){return Ln.test(e)||Fn.test(e)}function Dr(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Or(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Ir={mdurl:a,ucmicro:l};function Lr(e,t,n){let r,i,o,s;const a=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<a;){if(o=e.src.charCodeAt(e.pos),93===o&&(r--,0===r)){i=!0;break}if(s=e.pos,e.md.inline.skipToken(e),91===o)if(s===e.pos-1)r++;else if(n)return e.pos=l,-1}let u=-1;return i&&(u=e.pos),e.pos=l,u}function Fr(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return o;if(60===r)return o;if(62===r)return o.pos=i+1,o.str=br(e.slice(t+1,i)),o.ok=!0,o;92===r&&i+1<n?i+=2:i++}return o}let s=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===r&&(s++,s>32))return o;if(41===r){if(0===s)break;s--}i++}return t===i||0!==s||(o.str=br(e.slice(t,i)),o.pos=i,o.ok=!0),o}function Rr(e,t,n,r){let i,o=t;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(o>=n)return s;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return s;t++,o++,40===r&&(r=41),s.marker=r}for(;o<n;){if(i=e.charCodeAt(o),i===s.marker)return s.pos=o+1,s.str+=br(e.slice(t,o)),s.ok=!0,s;if(40===i&&41===s.marker)return s;92===i&&o+1<n&&o++,o++}return s.can_continue=!0,s.str+=br(e.slice(t,o)),s}const Pr={};function Mr(){this.rules=dr({},Pr)}Pr.code_inline=function(e,t,n,r,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+_r(o.content)+"</code>"},Pr.code_block=function(e,t,n,r,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+_r(e[t].content)+"</code></pre>\n"},Pr.fence=function(e,t,n,r,i){const o=e[t],s=o.info?br(o.info).trim():"";let a,l="",u="";if(s){const e=s.split(/(\s+)/g);l=e[0],u=e.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,u)||_r(o.content),0===a.indexOf("<pre"))return a+"\n";if(s){const e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${a}</code></pre>\n`}return`<pre><code${i.renderAttrs(o)}>${a}</code></pre>\n`},Pr.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},Pr.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Pr.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Pr.text=function(e,t){return _r(e[t].content)},Pr.html_block=function(e,t){return e[t].content},Pr.html_inline=function(e,t){return e[t].content},Mr.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+_r(e.attrs[t][0])+'="'+_r(e.attrs[t][1])+'"';return r},Mr.prototype.renderToken=function(e,t,n){const r=e[t];let i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===r.tag)&&(o=!1)}return i+=o?">\n":">",i},Mr.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,s=e.length;o<s;o++){const s=e[o].type;void 0!==i[s]?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},Mr.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},Mr.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,s=e.length;o<s;o++){const s=e[o].type;"inline"===s?r+=this.renderInline(e[o].children,t,n):void 0!==i[s]?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r};const jr=Mr;function Vr(){this.__rules__=[],this.__cache__=null}Vr.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Vr.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},Vr.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},Vr.prototype.before=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},Vr.prototype.after=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},Vr.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},Vr.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},Vr.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},Vr.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},Vr.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};const Ur=Vr;function Br(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Br.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},Br.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Br.prototype.attrSet=function(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},Br.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},Br.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};const $r=Br;function qr(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}qr.prototype.Token=$r;const zr=qr,Hr=/\r\n?|\n/g,Kr=/\0/g;function Wr(e){return/^<a[>\s]/i.test(e)}function Yr(e){return/^<\/a\s*>/i.test(e)}const Gr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Qr=/\((c|tm|r)\)/i,Xr=/\((c|tm|r)\)/gi,Zr={c:"©",r:"®",tm:"™"};function Jr(e,t){return Zr[t.toLowerCase()]}function ei(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(Xr,Jr)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function ti(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||Gr.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const ni=/['"]/,ri=/['"]/g;function ii(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function oi(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const o=e[i],s=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,u=a.length;e:for(;l<u;){ri.lastIndex=l;const c=ri.exec(a);if(!c)break;let d=!0,f=!0;l=c.index+1;const p="'"===c[0];let h=32;if(c.index-1>=0)h=a.charCodeAt(c.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l<u)m=a.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const g=Dr(h)||Ar(String.fromCharCode(h)),y=Dr(m)||Ar(String.fromCharCode(m)),v=Nr(h),b=Nr(m);if(b?d=!1:y&&(v||g||(d=!1)),v?f=!1:g&&(b||y||(f=!1)),34===m&&'"'===c[0]&&h>=48&&h<=57&&(f=d=!1),d&&f&&(d=g,f=y),d||f){if(f)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<s)break;if(d.single===p&&r[n].level===s){let s,f;d=r[n],p?(s=t.md.options.quotes[2],f=t.md.options.quotes[3]):(s=t.md.options.quotes[0],f=t.md.options.quotes[1]),o.content=ii(o.content,c.index,f),e[d.token].content=ii(e[d.token].content,d.pos,s),l+=f.length-1,d.token===i&&(l+=s.length-1),a=o.content,u=a.length,r.length=n;continue e}}d?r.push({token:i,pos:c.index,single:p,level:s}):f&&p&&(o.content=ii(o.content,c.index,"’"))}else p&&(o.content=ii(o.content,c.index,"’"))}}}const si=[["normalize",function(e){let t;t=e.src.replace(Hr,"\n"),t=t.replace(Kr,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,i=0;for(let o=r.length-1;o>=0;o--){const s=r[o];if("link_close"!==s.type){if("html_inline"===s.type&&(Wr(s.content)&&i>0&&i--,Yr(s.content)&&i++),!(i>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const i=s.content;let a=e.md.linkify.match(i);const l=[];let u=s.level,c=0;a.length>0&&0===a[0].index&&o>0&&"text_special"===r[o-1].type&&(a=a.slice(1));for(let t=0;t<a.length;t++){const n=a[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let o=a[t].text;o=a[t].schema?"mailto:"!==a[t].schema||/^mailto:/i.test(o)?e.md.normalizeLinkText(o):e.md.normalizeLinkText("mailto:"+o).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+o).replace(/^http:\/\//,"");const s=a[t].index;if(s>c){const t=new e.Token("text","",0);t.content=i.slice(c,s),t.level=u,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",r]],d.level=u++,d.markup="linkify",d.info="auto",l.push(d);const f=new e.Token("text","",0);f.content=o,f.level=u,l.push(f);const p=new e.Token("link_close","a",-1);p.level=--u,p.markup="linkify",p.info="auto",l.push(p),c=a[t].lastIndex}if(c<i.length){const t=new e.Token("text","",0);t.content=i.slice(c),t.level=u,l.push(t)}t[n].children=r=fr(r,o,l)}}else for(o--;r[o].level!==s.level&&"link_open"!==r[o].type;)o--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(Qr.test(e.tokens[t].content)&&ei(e.tokens[t].children),Gr.test(e.tokens[t].content)&&ti(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ni.test(e.tokens[t].content)&&oi(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;const i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function ai(){this.ruler=new Ur;for(let e=0;e<si.length;e++)this.ruler.push(si[e][0],si[e][1])}ai.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},ai.prototype.State=zr;const li=ai;function ui(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,s=!1;t<o;t++){const a=i.charCodeAt(t);if(!s){if(Cr(a)){n++,9===a?r+=4-r%4:r++;continue}s=!0}10!==a&&t!==o-1||(10!==a&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),s=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ui.prototype.push=function(e,t,n){const r=new $r(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},ui.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},ui.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},ui.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&Cr(this.src.charCodeAt(e));e++);return e},ui.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Cr(this.src.charCodeAt(--e)))return e+1;return e},ui.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},ui.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},ui.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,s=e;s<t;s++,o++){let e=0;const a=this.bMarks[s];let l,u=a;for(l=s+1<t||r?this.eMarks[s]+1:this.eMarks[s];u<l&&e<n;){const t=this.src.charCodeAt(u);if(Cr(t))9===t?e+=4-(e+this.bsCount[s])%4:e++;else{if(!(u-a<this.tShift[s]))break;e++}u++}i[o]=e>n?new Array(e-n+1).join(" ")+this.src.slice(u,l):this.src.slice(u,l)}return i.join("")},ui.prototype.Token=$r;const ci=ui;function di(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function fi(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,s=0,a="";for(;r<n;)124===i&&(o?(a+=e.substring(s,r-1),s=r):(t.push(a+e.substring(s,r)),a="",s=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(a+e.substring(s)),t}function pi(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!Cr(e.src.charCodeAt(r))?-1:r}function hi(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(i-n>=10)return-1}return i<r&&(o=e.src.charCodeAt(i),!Cr(o))?-1:i}const mi="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",gi="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",yi=new RegExp("^(?:"+mi+"|"+gi+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),vi=new RegExp("^(?:"+mi+"|"+gi+")"),bi=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["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"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(vi.source+"\\s*$"),/^$/,!1]],Ei=[["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s)return!1;if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a&&!Cr(a))return!1;if(45===s&&Cr(a))return!1;for(;o<e.eMarks[i];){const t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!Cr(t))return!1;o++}let l=di(e,t+1),u=l.split("|");const c=[];for(let e=0;e<u.length;e++){const t=u[e].trim();if(!t){if(0===e||e===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?c.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?c.push("left"):c.push("")}if(l=di(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;u=fi(l),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();const d=u.length;if(0===d||d!==c.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),h=[t,0];e.push("table_open","table",1).map=h,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<u.length;t++){const n=e.push("th_open","th",1);c[t]&&(n.attrs=[["style","text-align:"+c[t]]]);const r=e.push("inline","",0);r.content=u[t].trim(),r.children=[],e.push("th_close","th",-1)}let m;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let g=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,o=p.length;t<o;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=di(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(u=fi(l),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),g+=d-u.length,g>65536)break;i===t+2&&(e.push("tbody_open","tbody",1).map=m=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);c[t]&&(n.attrs=[["style","text-align:"+c[t]]]);const r=e.push("inline","",0);r.content=u[t]?u[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return m&&(e.push("tbody_close","tbody",-1),m[1]=i),e.push("table_close","table",-1),h[1]=i,e.parentType=f,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>o)return!1;const s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i;i=e.skipChars(i,s);let l=i-a;if(l<3)return!1;const u=e.src.slice(a,i),c=e.src.slice(i,o);if(96===s&&c.indexOf(String.fromCharCode(s))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;!(d++,d>=n||(i=a=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===s&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,s),i-a<l||(i=e.skipSpaces(i),i<o)))){f=!0;break}l=e.sCount[t],e.line=d+(f?1:0);const p=e.push("fence","code",0);return p.info=c,p.content=e.getLines(t+1,d,l,!0),p.markup=u,p.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const a=[],l=[],u=[],c=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let p,h=!1;for(p=t;p<n;p++){const t=e.sCount[p]<e.blkIndent;if(i=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],i>=o)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[p]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[p]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let s=r;for(a.push(e.bMarks[p]),e.bMarks[p]=i;i<o;){const t=e.src.charCodeAt(i);if(!Cr(t))break;9===t?s+=4-(s+e.bsCount[p]+(n?1:0))%4:s++,i++}h=i>=o,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(t?1:0),u.push(e.sCount[p]),e.sCount[p]=s-r,c.push(e.tShift[p]),e.tShift[p]=i-e.bMarks[p];continue}if(h)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,p,n,!0)){r=!0;break}if(r){e.lineMax=p,0!==e.blkIndent&&(a.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),u.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}a.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),u.push(e.sCount[p]),e.sCount[p]=-1}const m=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const y=[t,0];g.map=y,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=s,e.parentType=f,y[1]=e.line;for(let n=0;n<c.length;n++)e.bMarks[n+t]=a[n],e.tShift[n+t]=c[n],e.sCount[n+t]=u[n],e.bsCount[n+t]=l[n];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o<i;){const t=e.src.charCodeAt(o++);if(t!==s&&!Cr(t))return!1;t===s&&a++}if(a<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(s)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,s,a,l=t,u=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let c,d,f,p=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(f=hi(e,l))>=0){if(c=!0,s=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(s,f-1)),p&&1!==d)return!1}else{if(!((f=pi(e,l))>=0))return!1;c=!1}if(p&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(r)return!0;const h=e.src.charCodeAt(f-1),m=e.tokens.length;c?(a=e.push("ordered_list_open","ol",1),1!==d&&(a.attrs=[["start",d]])):a=e.push("bullet_list_open","ul",1);const g=[l,0];a.map=g,a.markup=String.fromCharCode(h);let y=!1;const v=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";l<n;){o=f,i=e.eMarks[l];const t=e.sCount[l]+f-(e.bMarks[l]+e.tShift[l]);let r=t;for(;o<i;){const t=e.src.charCodeAt(o);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}o++}const d=o;let p;p=d>=i?1:r-t,p>4&&(p=1);const m=t+p;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(h);const g=[l,0];a.map=g,c&&(a.info=e.src.slice(s,f-1));const b=e.tight,E=e.tShift[l],k=e.sCount[l],w=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!y||(u=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[l]=E,e.sCount[l]=k,e.tight=b,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(h),l=e.line,g[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let x=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,l,n,!0)){x=!0;break}if(x)break;if(c){if(f=hi(e,l),f<0)break;s=e.bMarks[l]+e.tShift[l]}else if(f=pi(e,l),f<0)break;if(h!==e.src.charCodeAt(f-1))break}return a=c?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(h),g[1]=l,e.line=l,e.parentType=b,u&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function a(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,s=r.length;i<s;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}const i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let l=e.src.slice(i,o+1);o=l.length;let u=-1;for(i=1;i<o;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){u=i;break}if(10===e){const e=a(s);null!==e&&(l+=e,o=l.length,s++)}else if(92===e&&(i++,i<o&&10===l.charCodeAt(i))){const e=a(s);null!==e&&(l+=e,o=l.length,s++)}}if(u<0||58!==l.charCodeAt(u+1))return!1;for(i=u+2;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=a(s);null!==e&&(l+=e,o=l.length,s++)}else if(!Cr(e))break}const c=e.md.helpers.parseLinkDestination(l,i,o);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;i=c.pos;const f=i,p=s,h=i;for(;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=a(s);null!==e&&(l+=e,o=l.length,s++)}else if(!Cr(e))break}let m,g=e.md.helpers.parseLinkTitle(l,i,o);for(;g.can_continue;){const t=a(s);if(null===t)break;l+=t,i=o,o=l.length,s++,g=e.md.helpers.parseLinkTitle(l,i,o,g)}for(i<o&&h!==i&&g.ok?(m=g.str,i=g.pos):(m="",i=f,s=p);i<o&&Cr(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i)&&m)for(m="",i=f,s=p;i<o&&Cr(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i))return!1;const y=Or(l.slice(1,u));return!!y&&(r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[y]&&(e.env.references[y]={title:m,href:d}),e.line=s),!0)}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,o),a=0;for(;a<bi.length&&!bi[a][0].test(s);a++);if(a===bi.length)return!1;if(r)return bi[a][2];let l=t+1;if(!bi[a][1].test(s))for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],s=e.src.slice(i,o),bi[a][1].test(s)){0!==s.length&&l++;break}e.line=l;const u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(i);if(35!==s||i>=o)return!1;let a=1;for(s=e.src.charCodeAt(++i);35===s&&i<o&&a<=6;)a++,s=e.src.charCodeAt(++i);if(a>6||i<o&&!Cr(s))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Cr(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const u=e.push("heading_open","h"+String(a),1);u.markup="########".slice(0,a),u.map=[t,e.line];const c=e.push("inline","",0);return c.content=e.src.slice(i,o).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o,s=0,a=t+1;for(;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let t=e.bMarks[a]+e.tShift[a];const n=e.eMarks[a];if(t<n&&(o=e.src.charCodeAt(t),(45===o||61===o)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){s=61===o?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}if(!s)return!1;const l=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;const u=e.push("heading_open","h"+String(s),1);u.markup=String.fromCharCode(o),u.map=[t,e.line];const c=e.push("inline","",0);return c.content=l,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(s),-1).markup=String.fromCharCode(o),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let i=0,s=r.length;i<s;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}const s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=s,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function ki(){this.ruler=new Ur;for(let e=0;e<Ei.length;e++)this.ruler.push(Ei[e][0],Ei[e][1],{alt:(Ei[e][2]||[]).slice()})}ki.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let s=t,a=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n))&&!(e.sCount[s]<e.blkIndent);){if(e.level>=o){e.line=n;break}const t=e.line;let l=!1;for(let o=0;o<i;o++)if(l=r[o](e,s,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s<n&&e.isEmpty(s)&&(a=!0,s++,e.line=s)}},ki.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},ki.prototype.State=ci;const wi=ki;function xi(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}xi.prototype.pushPending=function(){const e=new $r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},xi.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new $r(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},xi.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const s=o-e,a=o<n?this.src.charCodeAt(o):32,l=Dr(i)||Ar(String.fromCharCode(i)),u=Dr(a)||Ar(String.fromCharCode(a)),c=Nr(i),d=Nr(a),f=!d&&(!u||c||l),p=!c&&(!l||d||u);return{can_open:f&&(t||!p||l),can_close:p&&(t||!f||u),length:s}},xi.prototype.Token=$r;const _i=xi;function Si(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}const Ti=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Ci=[];for(let e=0;e<256;e++)Ci.push(0);function Ni(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const i=t[o];if(126!==i.marker)continue;if(-1===i.end)continue;const s=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[s.token-1].type&&"~"===e.tokens[s.token-1].content&&r.push(s.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Ci[e.charCodeAt(0)]=1});const Ai={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const s=String.fromCharCode(r);if(o<2)return!1;let a;o%2&&(a=e.push("text","",0),a.content=s,o--);for(let t=0;t<o;t+=2)a=e.push("text","",0),a.content=s+s,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Ni(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Ni(e,t[r].delimiters)}};function Di(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}const Oi={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Di(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Di(e,t[r].delimiters)}},Ii=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Li=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,Fi=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ri=/^&([a-z][a-z0-9]{1,31});/i;function Pi(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let s=0;s<n;s++){const n=e[s];if(o.push(0),e[r].marker===n.marker&&i===n.token-1||(r=s),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[n.marker][(n.open?3:0)+n.length%3];let l=r-o[r]-1,u=l;for(;l>a;l-=o[l]+1){const t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?o[l-1]+1:0;o[s]=s-l+r,o[l]=r,n.open=!1,t.end=s,t.close=!1,u=-1,i=-2;break}}}-1!==u&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=u)}}const Mi=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!Si(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(Ti);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=s.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Cr(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),Cr(i));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}const s="\\"+o;if(!t){const t=e.push("text_special","",0);i<256&&0!==Ci[i]?t.content=o:t.content=s,t.markup=s,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const i=e.posMax;for(;n<i&&96===e.src.charCodeAt(n);)n++;const o=e.src.slice(r,n),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=o),e.pos+=s,!0;let a,l=n;for(;-1!==(a=e.src.indexOf("`",l));){for(l=a+1;l<i&&96===e.src.charCodeAt(l);)l++;const r=l-a;if(r===s){if(!t){const t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(n,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[r]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}],["strikethrough",Ai.tokenize],["emphasis",Oi.tokenize],["link",function(e,t){let n,r,i,o,s="",a="",l=e.pos,u=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let h=p+1;if(h<d&&40===e.src.charCodeAt(h)){for(u=!1,h++;h<d&&(n=e.src.charCodeAt(h),Cr(n)||10===n);h++);if(h>=d)return!1;if(l=h,i=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),i.ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?h=i.pos:s="",l=h;h<d&&(n=e.src.charCodeAt(h),Cr(n)||10===n);h++);if(i=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<d&&l!==h&&i.ok)for(a=i.str,h=i.pos;h<d&&(n=e.src.charCodeAt(h),Cr(n)||10===n);h++);}(h>=d||41!==e.src.charCodeAt(h))&&(u=!0),h++}if(u){if(void 0===e.env.references)return!1;if(h<d&&91===e.src.charCodeAt(h)?(l=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?r=e.src.slice(l,h++):h=p+1):h=p+1,r||(r=e.src.slice(f,p)),o=e.env.references[Or(r)],!o)return e.pos=c,!1;s=o.href,a=o.title}if(!t){e.pos=f,e.posMax=p;const t=[["href",s]];e.push("link_open","a",1).attrs=t,a&&t.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,s,a,l,u,c="";const d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const p=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(o=h+1,o<f&&40===e.src.charCodeAt(o)){for(o++;o<f&&(n=e.src.charCodeAt(o),Cr(n)||10===n);o++);if(o>=f)return!1;for(u=o,a=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),a.ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?o=a.pos:c=""),u=o;o<f&&(n=e.src.charCodeAt(o),Cr(n)||10===n);o++);if(a=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<f&&u!==o&&a.ok)for(l=a.str,o=a.pos;o<f&&(n=e.src.charCodeAt(o),Cr(n)||10===n);o++);else l="";if(o>=f||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<f&&91===e.src.charCodeAt(o)?(u=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(u,o++):o=h+1):o=h+1,i||(i=e.src.slice(p,h)),s=e.env.references[Or(i)],!s)return e.pos=d,!1;c=s.href,l=s.title}if(!t){r=e.src.slice(p,h);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",c],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const o=e.src.slice(r+1,n);if(Li.test(o)){const n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(Ii.test(o)){const n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const o=e.src.slice(r).match(yi);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],s=t.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var s;return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(Fi);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=pr(t)?hr(t):hr(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(Ri);if(r){const n=nr(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],ji=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Pi(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&Pi(t[e].delimiters)}],["strikethrough",Ai.postProcess],["emphasis",Oi.postProcess],["fragments_join",function(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function Vi(){this.ruler=new Ur;for(let e=0;e<Mi.length;e++)this.ruler.push(Mi[e][0],Mi[e][1]);this.ruler2=new Ur;for(let e=0;e<ji.length;e++)this.ruler2.push(ji[e][0],ji[e][1])}Vi.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let s=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,o[t]=e.pos},Vi.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let s=!1;if(e.level<i)for(let r=0;r<n;r++)if(s=t[r](e,!1),s){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Vi.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),s=o.length;for(let e=0;e<s;e++)o[e](i)},Vi.prototype.State=_i;const Ui=Vi;function Bi(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function $i(e){return Object.prototype.toString.call(e)}function qi(e){return"[object Function]"===$i(e)}function zi(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Hi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},Ki={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Wi="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Yi(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Rn.source,t.src_Cc=Pn.source,t.src_Z=jn.source,t.src_P=Ln.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===$i(n))return"[object RegExp]"!==$i(n.validate)?qi(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(qi(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$i(e)}(n)?o(t,n):i.push(t)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const s=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(zi).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Gi(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Qi(e,t){const n=new Gi(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xi(e,t){if(!(this instanceof Xi))return new Xi(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||Hi.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=Bi({},Hi,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Bi({},Ki,e),this.__compiled__={},this.__tlds__=Wi,this.__tlds_replaced__=!1,this.re={},Yi(this)}Xi.prototype.add=function(e,t){return this.__schemas__[e]=t,Yi(this),this},Xi.prototype.set=function(e){return this.__opts__=Bi(this.__opts__,e),this},Xi.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,o,s,a,l,u;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},Xi.prototype.pretest=function(e){return this.re.pretest.test(e)},Xi.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Xi.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Qi(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(Qi(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},Xi.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Qi(this,0)):null},Xi.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),Yi(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Yi(this),this)},Xi.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Xi.prototype.onCompile=function(){};const Zi=Xi,Ji=2147483647,eo=36,to=/^xn--/,no=/[^\0-\x7F]/,ro=/[\x2E\u3002\uFF0E\uFF61]/g,io={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oo=Math.floor,so=String.fromCharCode;function ao(e){throw new RangeError(io[e])}function lo(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(ro,".")).split("."),t).join(".");return r+i}function uo(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const co=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:eo},fo=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},po=function(e,t,n){let r=0;for(e=n?oo(e/700):e>>1,e+=oo(e/t);e>455;r+=eo)e=oo(e/35);return oo(r+36*e/(e+38))},ho=function(e){const t=[],n=e.length;let r=0,i=128,o=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n<s;++n)e.charCodeAt(n)>=128&&ao("not-basic"),t.push(e.charCodeAt(n));for(let a=s>0?s+1:0;a<n;){const s=r;for(let t=1,i=eo;;i+=eo){a>=n&&ao("invalid-input");const s=co(e.charCodeAt(a++));s>=eo&&ao("invalid-input"),s>oo((Ji-r)/t)&&ao("overflow"),r+=s*t;const l=i<=o?1:i>=o+26?26:i-o;if(s<l)break;const u=eo-l;t>oo(Ji/u)&&ao("overflow"),t*=u}const l=t.length+1;o=po(r-s,l,0==s),oo(r/l)>Ji-i&&ao("overflow"),i+=oo(r/l),r%=l,t.splice(r++,0,i)}return String.fromCodePoint(...t)},mo=function(e){const t=[],n=(e=uo(e)).length;let r=128,i=0,o=72;for(const n of e)n<128&&t.push(so(n));const s=t.length;let a=s;for(s&&t.push("-");a<n;){let n=Ji;for(const t of e)t>=r&&t<n&&(n=t);const l=a+1;n-r>oo((Ji-i)/l)&&ao("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(n<r&&++i>Ji&&ao("overflow"),n===r){let e=i;for(let n=eo;;n+=eo){const r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;const i=e-r,s=eo-r;t.push(so(fo(r+i%s,0))),e=oo(i/s)}t.push(so(fo(e,0))),o=po(i,l,a===s),i=0,++a}++i,++r}return t.join("")},go=function(e){return lo(e,function(e){return no.test(e)?"xn--"+mo(e):e})},yo=function(e){return lo(e,function(e){return to.test(e)?ho(e.slice(4).toLowerCase()):e})},vo={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},bo=/^(vbscript|javascript|file|data):/,Eo=/^data:image\/(gif|png|jpeg|webp);/;function ko(e){const t=e.trim().toLowerCase();return!bo.test(t)||Eo.test(t)}const wo=["http:","https:","mailto:"];function xo(e){const t=In(e,!0);if(t.hostname&&(!t.protocol||wo.indexOf(t.protocol)>=0))try{t.hostname=go(t.hostname)}catch(e){}return vn(bn(t))}function _o(e){const t=In(e,!0);if(t.hostname&&(!t.protocol||wo.indexOf(t.protocol)>=0))try{t.hostname=yo(t.hostname)}catch(e){}return mn(bn(t),mn.defaultChars+"%")}function So(e,t){if(!(this instanceof So))return new So(e,t);t||lr(e)||(t=e||{},e="default"),this.inline=new Ui,this.block=new wi,this.core=new li,this.renderer=new jr,this.linkify=new Zi,this.validateLink=ko,this.normalizeLink=xo,this.normalizeLinkText=_o,this.utils=u,this.helpers=dr({},c),this.options={},this.configure(e),t&&this.set(t)}So.prototype.set=function(e){return dr(this.options,e),this},So.prototype.configure=function(e){const t=this;if(lr(e)){const t=e;if(!(e=vo[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},So.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},So.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},So.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},So.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},So.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},So.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},So.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const To=new So({breaks:!1,linkify:!0}),Co=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(18);let r,i,o,s;n[0]!==e?(({children:r,onlyShowFirstChild:i,type:s,...o}=e),n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=s):(r=n[1],i=n[2],o=n[3],s=n[4]);const a=`graphiql-markdown-${s}`,l=i&&"graphiql-markdown-preview";let u,c,d,f;return n[5]!==o.className||n[6]!==a||n[7]!==l?(u=dn(a,l,o.className),n[5]=o.className,n[6]=a,n[7]=l,n[8]=u):u=n[8],n[9]!==r?(c=To.render(r),n[9]=r,n[10]=c):c=n[10],n[11]!==c?(d={__html:c},n[11]=c,n[12]=d):d=n[12],n[13]!==o||n[14]!==t||n[15]!==u||n[16]!==d?(f=(0,h.jsx)("div",{...o,ref:t,className:u,dangerouslySetInnerHTML:d}),n[13]=o,n[14]=t,n[15]=u,n[16]=d,n[17]=f):f=n[17],f});Co.displayName="MarkdownContent";const No=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(6);let r,i;return n[0]!==e.className?(r=dn("graphiql-un-styled",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,h.jsx)("button",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});No.displayName="UnStyledButton";const Ao=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(7);let r,i;return n[0]!==e.className||n[1]!==e.state?(r=dn("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=r):r=n[2],n[3]!==e||n[4]!==t||n[5]!==r?(i=(0,h.jsx)("button",{...e,ref:t,className:r}),n[3]=e,n[4]=t,n[5]=r,n[6]=i):i=n[6],i});Ao.displayName="Button";var Do=s(39709);const Oo=e=>{const t=(0,m.c)(12),{field:n}=e;if(!("defaultValue"in n)||void 0===n.defaultValue)return null;const r=n.defaultValue,i=n.type;let o,s,a,l,u,c;if(t[0]!==n.defaultValue||t[1]!==n.type){l=Symbol.for("react.early_return_sentinel");{const e=(0,Do.K)(r,i);e?(a=" = ",o="graphiql-doc-explorer-default-value",s=(e=>e?(0,Z.y)(e):"")(e)):l=null}t[0]=n.defaultValue,t[1]=n.type,t[2]=o,t[3]=s,t[4]=a,t[5]=l}else o=t[2],s=t[3],a=t[4],l=t[5];return l!==Symbol.for("react.early_return_sentinel")?l:(t[6]!==o||t[7]!==s?(u=(0,h.jsx)("span",{className:o,children:s}),t[6]=o,t[7]=s,t[8]=u):u=t[8],t[9]!==a||t[10]!==u?(c=(0,h.jsxs)(h.Fragment,{children:[a,u]}),t[9]=a,t[10]=u,t[11]=c):c=t[11],c)};function Io(e,t){return(0,g.bd)(e)?(0,h.jsxs)(h.Fragment,{children:[Io(e.ofType,t),"!"]}):(0,g.Fs)(e)?(0,h.jsxs)(h.Fragment,{children:["[",Io(e.ofType,t),"]"]}):t(e)}const Lo=e=>{const t=(0,m.c)(5),{type:n}=e,{push:r}=_f();let i,o;return t[0]!==r?(i=e=>(0,h.jsx)("a",{className:"graphiql-doc-explorer-type-name",onClick:t=>{t.preventDefault(),r({name:e.name,def:e})},href:"#",children:e.name}),t[0]=r,t[1]=i):i=t[1],t[2]!==i||t[3]!==n?(o=Io(n,i),t[2]=i,t[3]=n,t[4]=o):o=t[4],o},Fo=e=>{const t=(0,m.c)(19),{arg:n,showDefaultValue:r,inline:i}=e;let o,s,a,l;t[0]!==n.name?(o=(0,h.jsx)("span",{className:"graphiql-doc-explorer-argument-name",children:n.name}),t[0]=n.name,t[1]=o):o=t[1],t[2]!==n.type?(s=(0,h.jsx)(Lo,{type:n.type}),t[2]=n.type,t[3]=s):s=t[3],t[4]!==n||t[5]!==r?(a=!1!==r&&(0,h.jsx)(Oo,{field:n}),t[4]=n,t[5]=r,t[6]=a):a=t[6],t[7]!==o||t[8]!==s||t[9]!==a?(l=(0,h.jsxs)("span",{children:[o,": ",s,a]}),t[7]=o,t[8]=s,t[9]=a,t[10]=l):l=t[10];const u=l;if(i)return u;let c,d,f;return t[11]!==n.description?(c=n.description?(0,h.jsx)(Co,{type:"description",children:n.description}):null,t[11]=n.description,t[12]=c):c=t[12],t[13]!==n.deprecationReason?(d=n.deprecationReason?(0,h.jsxs)("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[(0,h.jsx)("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),(0,h.jsx)(Co,{type:"deprecation",children:n.deprecationReason})]}):null,t[13]=n.deprecationReason,t[14]=d):d=t[14],t[15]!==u||t[16]!==c||t[17]!==d?(f=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-argument",children:[u,c,d]}),t[15]=u,t[16]=c,t[17]=d,t[18]=f):f=t[18],f},Ro=e=>{const t=(0,m.c)(3);let n;return t[0]!==e.children||t[1]!==e.preview?(n=e.children?(0,h.jsxs)("div",{className:"graphiql-doc-explorer-deprecation",children:[(0,h.jsx)("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),(0,h.jsx)(Co,{type:"deprecation",onlyShowFirstChild:e.preview??!0,children:e.children})]}):null,t[0]=e.children,t[1]=e.preview,t[2]=n):n=t[2],n},Po=e=>{const t=(0,m.c)(2),{directive:n}=e;let r;return t[0]!==n.name.value?(r=(0,h.jsxs)("span",{className:"graphiql-doc-explorer-directive",children:["@",n.name.value]}),t[0]=n.name.value,t[1]=r):r=t[1],r},Mo=e=>{const t=(0,m.c)(10),{title:n,children:r}=e,i=jo[n];let o,s,a,l;return t[0]!==i?(o=(0,h.jsx)(i,{}),t[0]=i,t[1]=o):o=t[1],t[2]!==o||t[3]!==n?(s=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-section-title",children:[o,n]}),t[2]=o,t[3]=n,t[4]=s):s=t[4],t[5]!==r?(a=(0,h.jsx)("div",{className:"graphiql-doc-explorer-section-content",children:r}),t[5]=r,t[6]=a):a=t[6],t[7]!==s||t[8]!==a?(l=(0,h.jsxs)("div",{children:[s,a]}),t[7]=s,t[8]=a,t[9]=l):l=t[9],l},jo={Arguments:At,"Deprecated Arguments":Rt,"Deprecated Enum Values":Pt,"Deprecated Fields":Mt,Directives:jt,"Enum Values":Bt,Fields:$t,Implements:zt,Implementations:sn,"Possible Types":sn,"Root Types":Jt,Type:sn,"All Schema Types":sn},Vo=e=>{const t=(0,m.c)(15),{field:n}=e;let r,i,o,s,a,l;return t[0]!==n.description?(r=n.description?(0,h.jsx)(Co,{type:"description",children:n.description}):null,t[0]=n.description,t[1]=r):r=t[1],t[2]!==n.deprecationReason?(i=(0,h.jsx)(Ro,{preview:!1,children:n.deprecationReason}),t[2]=n.deprecationReason,t[3]=i):i=t[3],t[4]!==n.type?(o=(0,h.jsx)(Mo,{title:"Type",children:(0,h.jsx)(Lo,{type:n.type})}),t[4]=n.type,t[5]=o):o=t[5],t[6]!==n?(s=(0,h.jsx)(Uo,{field:n}),a=(0,h.jsx)(Bo,{field:n}),t[6]=n,t[7]=s,t[8]=a):(s=t[7],a=t[8]),t[9]!==r||t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==a?(l=(0,h.jsxs)(h.Fragment,{children:[r,i,o,s,a]}),t[9]=r,t[10]=i,t[11]=o,t[12]=s,t[13]=a,t[14]=l):l=t[14],l},Uo=e=>{const t=(0,m.c)(12),{field:n}=e,[r,i]=(0,d.useState)(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{i(!0)},t[0]=o):o=t[0];const s=o;if(!("args"in n))return null;let a,l,u,c,f;if(t[1]!==n.args){a=[],l=[];for(const e of n.args)e.deprecationReason?l.push(e):a.push(e);u=a.length>0?(0,h.jsx)(Mo,{title:"Arguments",children:a.map($o)}):null,t[1]=n.args,t[2]=a,t[3]=l,t[4]=u}else a=t[2],l=t[3],u=t[4];return t[5]!==a.length||t[6]!==l||t[7]!==r?(c=l.length>0?r||0===a.length?(0,h.jsx)(Mo,{title:"Deprecated Arguments",children:l.map(qo)}):(0,h.jsx)(Ao,{type:"button",onClick:s,children:"Show Deprecated Arguments"}):null,t[5]=a.length,t[6]=l,t[7]=r,t[8]=c):c=t[8],t[9]!==u||t[10]!==c?(f=(0,h.jsxs)(h.Fragment,{children:[u,c]}),t[9]=u,t[10]=c,t[11]=f):f=t[11],f},Bo=e=>{var t;const n=(0,m.c)(4),{field:r}=e,i=null==(t=r.astNode)?void 0:t.directives;if(!(null==i?void 0:i.length))return null;let o,s;return n[0]!==i?(o=i.map(zo),n[0]=i,n[1]=o):o=n[1],n[2]!==o?(s=(0,h.jsx)(Mo,{title:"Directives",children:o}),n[2]=o,n[3]=s):s=n[3],s};function $o(e){return(0,h.jsx)(Fo,{arg:e},e.name)}function qo(e){return(0,h.jsx)(Fo,{arg:e},e.name)}function zo(e){return(0,h.jsx)("div",{children:(0,h.jsx)(Po,{directive:e})},e.name.value)}const Ho=e=>{const t=(0,m.c)(43),{schema:n}=e;let r;t[0]!==n?(r=n.getQueryType(),t[0]=n,t[1]=r):r=t[1];const i=r;let o;t[2]!==n?(o=n.getMutationType(),t[2]=n,t[3]=o):o=t[3];const s=o;let a;t[4]!==n?(a=n.getSubscriptionType(),t[4]=n,t[5]=a):a=t[5];const l=a;let u,c,d,f,p,g,y,v;if(t[6]!==s||t[7]!==i||t[8]!==n||t[9]!==l){const e=n.getTypeMap(),r=null==i?void 0:i.name,o=null==s?void 0:s.name,a=null==l?void 0:l.name;let m;t[15]!==a||t[16]!==r||t[17]!==o?(m=[r,o,a],t[15]=a,t[16]=r,t[17]=o,t[18]=m):m=t[18];const g=m,y=n.description||"A GraphQL schema provides a root type for each kind of operation.";let v,b,E,k;t[19]!==y?(f=(0,h.jsx)(Co,{type:"description",children:y}),t[19]=y,t[20]=f):f=t[20],t[21]!==i?(v=i?(0,h.jsxs)("div",{children:[(0,h.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",(0,h.jsx)(Lo,{type:i})]}):null,t[21]=i,t[22]=v):v=t[22],t[23]!==s?(b=s&&(0,h.jsxs)("div",{children:[(0,h.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",(0,h.jsx)(Lo,{type:s})]}),t[23]=s,t[24]=b):b=t[24],t[25]!==l?(E=l&&(0,h.jsxs)("div",{children:[(0,h.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",(0,h.jsx)(Lo,{type:l})]}),t[25]=l,t[26]=E):E=t[26],t[27]!==v||t[28]!==b||t[29]!==E?(p=(0,h.jsxs)(Mo,{title:"Root Types",children:[v,b,E]}),t[27]=v,t[28]=b,t[29]=E,t[30]=p):p=t[30],u=Mo,d="All Schema Types",t[31]!==g?(k=e=>g.includes(e.name)||e.name.startsWith("__")?null:(0,h.jsx)("div",{children:(0,h.jsx)(Lo,{type:e})},e.name),t[31]=g,t[32]=k):k=t[32],c=Object.values(e).map(k),t[6]=s,t[7]=i,t[8]=n,t[9]=l,t[10]=u,t[11]=c,t[12]=d,t[13]=f,t[14]=p}else u=t[10],c=t[11],d=t[12],f=t[13],p=t[14];return t[33]!==c?(g=(0,h.jsx)("div",{children:c}),t[33]=c,t[34]=g):g=t[34],t[35]!==u||t[36]!==d||t[37]!==g?(y=(0,h.jsx)(u,{title:d,children:g}),t[35]=u,t[36]=d,t[37]=g,t[38]=y):y=t[38],t[39]!==f||t[40]!==p||t[41]!==y?(v=(0,h.jsxs)(h.Fragment,{children:[f,p,y]}),t[39]=f,t[40]=p,t[41]=y,t[42]=v):v=t[42],v},Ko="undefined"!=typeof document?d.useLayoutEffect:()=>{};function Wo(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Yo(e){let t=(0,d.useRef)({isFocused:!1,observer:null});Ko(()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){const t=(0,d.useRef)(null);return Ko(()=>{t.current=e},[e]),(0,d.useCallback)((...e)=>{const n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,d.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,i=e=>{if(t.current.isFocused=!1,r.disabled){let t=Wo(e);n(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function Go(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function Qo(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Xo(e){let t=null;return()=>(null==t&&(t=e()),t)}const Zo=Xo(function(){return Qo(/^Mac/i)}),Jo=Xo(function(){return Qo(/^iPhone/i)}),es=Xo(function(){return Qo(/^iPad/i)||Zo()&&navigator.maxTouchPoints>1}),ts=Xo(function(){return Jo()||es()}),ns=(Xo(function(){return Zo()||ts()}),Xo(function(){return Go(/AppleWebKit/i)&&!ns()}),Xo(function(){return Go(/Chrome/i)})),rs=Xo(function(){return Go(/Android/i)});Xo(function(){return Go(/Firefox/i)});const is=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},os=e=>e&&"window"in e&&e.window===e?e:is(e).defaultView||window;let ss=null,as=new Set,ls=new Map,us=!1,cs=!1;const ds={Tab:!0,Escape:!0};function fs(e,t){for(let n of as)n(e,t)}function ps(e){us=!0,function(e){return!(e.metaKey||!Zo()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(ss="keyboard",fs("keyboard",e))}function hs(e){ss="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(us=!0,fs("pointer",e))}function ms(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(rs()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(us=!0,ss="virtual")}function gs(e){e.target!==window&&e.target!==document&&e.isTrusted&&(us||cs||(ss="virtual",fs("virtual",e)),us=!1,cs=!1)}function ys(){us=!1,cs=!0}function vs(e){if("undefined"==typeof window||"undefined"==typeof document||ls.get(os(e)))return;const t=os(e),n=is(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){us=!0,r.apply(this,arguments)},n.addEventListener("keydown",ps,!0),n.addEventListener("keyup",ps,!0),n.addEventListener("click",ms,!0),t.addEventListener("focus",gs,!0),t.addEventListener("blur",ys,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",hs,!0),n.addEventListener("pointermove",hs,!0),n.addEventListener("pointerup",hs,!0)),t.addEventListener("beforeunload",()=>{bs(e)},{once:!0}),ls.set(t,{focus:r})}const bs=(e,t)=>{const n=os(e),r=is(e);t&&r.removeEventListener("DOMContentLoaded",t),ls.has(n)&&(n.HTMLElement.prototype.focus=ls.get(n).focus,r.removeEventListener("keydown",ps,!0),r.removeEventListener("keyup",ps,!0),r.removeEventListener("click",ms,!0),n.removeEventListener("focus",gs,!0),n.removeEventListener("blur",ys,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",hs,!0),r.removeEventListener("pointermove",hs,!0),r.removeEventListener("pointerup",hs,!0)),ls.delete(n))};function Es(){return"pointer"!==ss}"undefined"!=typeof document&&function(e){const t=is(e);let n;"loading"!==t.readyState?vs(e):(n=()=>{vs(e)},t.addEventListener("DOMContentLoaded",n))}();const ks=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ws(e,t){return!(!t||!e)&&e.contains(t)}const xs=(e=document)=>e.activeElement;function _s(e){return e.target}function Ss(){let e=(0,d.useRef)(new Map),t=(0,d.useCallback)((t,n,r,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,o,i)},[]),n=(0,d.useCallback)((t,n,r,i)=>{var o;let s=(null===(o=e.current.get(r))||void 0===o?void 0:o.fn)||r;t.removeEventListener(n,s,i),e.current.delete(r)},[]),r=(0,d.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,d.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Ts(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=(0,d.useRef)({isFocusWithin:!1}),{addGlobalListener:s,removeAllGlobalListeners:a}=Ss(),l=(0,d.useCallback)(e=>{e.currentTarget.contains(e.target)&&o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,a(),n&&n(e),i&&i(!1))},[n,i,o,a]),u=Yo(l),c=(0,d.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;const t=is(e.target),n=xs(t);if(!o.current.isFocusWithin&&n===_s(e.nativeEvent)){r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,u(e);let n=e.currentTarget;s(t,"focus",e=>{if(o.current.isFocusWithin&&!ws(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});!function(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}(r,n);let i=Wo(r);l(i)}},{capture:!0})}},[r,i,u,s,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}function Cs(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=(0,d.useRef)({isFocused:!1,isFocusVisible:t||Es()}),[o,s]=(0,d.useState)(!1),[a,l]=(0,d.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),u=(0,d.useCallback)(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),c=(0,d.useCallback)(e=>{i.current.isFocused=e,s(e),u()},[u]);var f,p,h;f=e=>{i.current.isFocusVisible=e,u()},p=[],h={isTextInput:n},vs(),(0,d.useEffect)(()=>{let e=(e,t)=>{(function(e,t,n){let r=is(null==n?void 0:n.target);const i="undefined"!=typeof window?os(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?os(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?os(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?os(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof i&&!ks.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof s&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof a&&!ds[n.key])})(!!(null==h?void 0:h.isTextInput),e,t)&&f(Es())};return as.add(e),()=>{as.delete(e)}},p);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const o=(0,d.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),s=Yo(o),a=(0,d.useCallback)(e=>{const t=is(e.target),r=t?xs(t):xs();e.target===e.currentTarget&&r===_s(e.nativeEvent)&&(n&&n(e),i&&i(!0),s(e))},[i,n,s]);return{focusProps:{onFocus:!t&&(n||i||r)?a:void 0,onBlur:t||!r&&!i?void 0:o}}}({isDisabled:r,onFocusChange:c}),{focusWithinProps:g}=Ts({isDisabled:!r,onFocusWithinChange:c});return{isFocused:o,isFocusVisible:a,focusProps:r?g:m}}let Ns=!1,As=0;function Ds(e){"touch"===e.pointerType&&(Ns=!0,setTimeout(()=>{Ns=!1},50))}function Os(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",Ds),As++,()=>{As--,As>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",Ds)}}function Is(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,s]=(0,d.useState)(!1),a=(0,d.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,d.useEffect)(Os,[]);let{addGlobalListener:l,removeAllGlobalListeners:u}=Ss(),{hoverProps:c,triggerHoverEnd:f}=(0,d.useMemo)(()=>{let e=(e,t)=>{let i=a.target;a.pointerType="",a.target=null,"touch"!==t&&a.isHovered&&i&&(a.isHovered=!1,u(),r&&r({type:"hoverend",target:i,pointerType:t}),n&&n(!1),s(!1))},o={};return"undefined"!=typeof PointerEvent&&(o.onPointerEnter=r=>{Ns&&"mouse"===r.pointerType||((r,o)=>{if(a.pointerType=o,i||"touch"===o||a.isHovered||!r.currentTarget.contains(r.target))return;a.isHovered=!0;let u=r.currentTarget;a.target=u,l(is(r.target),"pointerover",t=>{a.isHovered&&a.target&&!ws(a.target,t.target)&&e(0,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:o}),n&&n(!0),s(!0)})(r,r.pointerType)},o.onPointerLeave=t=>{!i&&t.currentTarget.contains(t.target)&&e(0,t.pointerType)}),{hoverProps:o,triggerHoverEnd:e}},[t,n,r,i,a,l,u]);return(0,d.useEffect)(()=>{i&&f({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:c,isHovered:o}}var Ls=s(43144);function Fs(e,t,n){let r,i=n.initialDeps??[];function o(){var o,s,a,l;let u;n.key&&(null==(o=n.debug)?void 0:o.call(n))&&(u=Date.now());const c=e(),d=c.length!==i.length||c.some((e,t)=>i[t]!==e);if(!d)return r;let f;if(i=c,n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(f=Date.now()),r=t(...c),n.key&&(null==(a=n.debug)?void 0:a.call(n))){const e=Math.round(100*(Date.now()-u))/100,t=Math.round(100*(Date.now()-f))/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(l=null==n?void 0:n.onChange)||l.call(n,r),r}return o.updateDeps=e=>{i=e},o}function Rs(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const Ps=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},Ms=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},js=e=>e,Vs=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},Us=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=e=>{const{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(Ms(n)),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(t=>{const r=()=>{const e=t[0];if(null==e?void 0:e.borderBoxSize){const t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(Ms(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},Bs={passive:!0},$s="undefined"==typeof window||"onscrollend"in window,qs=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&$s?()=>{}:Ps(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),s=r=>()=>{const{horizontal:s,isRtl:a}=e.options;i=s?n.scrollLeft*(a?-1:1):n.scrollTop,o(),t(i,r)},a=s(!0),l=s(!1);l(),n.addEventListener("scroll",a,Bs);const u=e.options.useScrollendEvent&&$s;return u&&n.addEventListener("scrollend",l,Bs),()=>{n.removeEventListener("scroll",a),u&&n.removeEventListener("scrollend",l)}},zs=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},Hs=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const s=e+t;null==(o=null==(i=r.scrollElement)?void 0:i.scrollTo)||o.call(i,{[r.options.horizontal?"left":"top"]:s,behavior:n})};class Ks{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{const t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:js,rangeExtractor:Vs,onChange:()=>{},measureElement:zs,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=Fs(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const n=new Map,r=new Map;for(let i=t-1;i>=0;i--){const t=e[i];if(n.has(t.lane))continue;const o=r.get(t.lane);if(null==o||t.end>o.end?r.set(t.lane,t):t.end<o.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=Fs(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,n,r,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i}),{key:!1}),this.getMeasurements=Fs(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));const s=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const a=this.measurementsCache.slice(0,s);for(let i=s;i<e;i++){const e=r(i),s=1===this.options.lanes?a[i-1]:this.getFurthestMeasurement(a,i),l=s?s.end+this.options.gap:t+n,u=o.get(e),c="number"==typeof u?u:this.options.estimateSize(i),d=l+c,f=s?s.lane:i%this.options.lanes;a[i]={index:i,start:l,size:c,end:d,key:e,lane:f}}return this.measurementsCache=a,a},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Fs(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const i=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:i};let o=Ws(0,i,t=>e[t].start,n),s=o;if(1===r)for(;s<i&&e[s].end<n+t;)s++;else if(r>1){const a=Array(r).fill(0);for(;s<i&&a.some(e=>e<n+t);){const t=e[s];a[t.lane]=t.end,s++}const l=Array(r).fill(n+t);for(;o>=0&&l.some(e=>e>=n);){const t=e[o];l[t.lane]=t.start,o--}o=Math.max(0,o-o%r),s=Math.min(i,s+(r-1-s%r))}return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n,lanes:r}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Fs(()=>{let e=null,t=null;const n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>null===r||null===i?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;const i=r.key,o=this.elementsCache.get(i);o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const n=this.measurementsCache[e];if(!n)return;const r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):"backward"===this.scrollDirection&&n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.measureElement=e=>{e?this._measureElement(e,void 0):this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))})},this.getVirtualItems=Fs(()=>[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{const n=[];for(let r=0,i=e.length;r<i;r++){const i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return Rs(t[Ws(0,t.length-1,e=>Rs(t[e]).start,e)])},this.getOffsetForAlignment=(e,t,n=0)=>{const r=this.getSize(),i=this.getScrollOffset();"auto"===t&&(t=e>=i+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r);const o=this.getTotalSize()-r;return Math.max(Math.min(o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=this.measurementsCache[e];if(!n)return;const r=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(n.end>=i+r-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}const o="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const r=this.getOffsetForIndex(e,t);if(!r)return;const[i,o]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){const t=this.getOffsetForIndex(e,o);if(!t)return;const[r]=t;((e,t)=>Math.abs(e-t)<=1)(r,this.getScrollOffset())||this.scrollToIndex(e,{align:o,behavior:n})}else this.scrollToIndex(e,{align:o,behavior:n})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let n;if(0===t.length)n=this.options.paddingStart;else if(1===this.options.lanes)n=(null==(e=t[t.length-1])?void 0:e.end)??0;else{const e=Array(this.options.lanes).fill(null);let r=t.length-1;for(;r>=0&&e.some(e=>null===e);){const n=t[r];null===e[n.lane]&&(e[n.lane]=n.end),r--}n=Math.max(...e.filter(e=>null!==e))}return Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const Ws=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else{if(!(o>r))return i;t=i-1}}return e>0?e-1:0},Ys="undefined"!=typeof document?d.useLayoutEffect:d.useEffect;var Gs=Object.defineProperty,Qs=(e,t,n)=>(((e,t,n)=>{t in e?Gs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let Xs=new class{constructor(){Qs(this,"current",this.detect()),Qs(this,"handoffState","pending"),Qs(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function Zs(e){var t,n;return Xs.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(n=null==(t=e.current)?void 0:t.ownerDocument)?n:document:null:document}function Js(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function ea(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return Js(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=ea();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ta(){let[e]=(0,d.useState)(ea);return(0,d.useEffect)(()=>()=>e.dispose(),[e]),e}let na=(e,t)=>{Xs.isServer?(0,d.useEffect)(e,t):(0,d.useLayoutEffect)(e,t)};function ra(e){let t=(0,d.useRef)(e);return na(()=>{t.current=e},[e]),t}let ia=function(e){let t=ra(e);return d.useCallback((...e)=>t.current(...e),[t])};function oa(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function sa(e,t=!1){let[n,r]=(0,d.useReducer)(()=>({}),{}),i=(0,d.useMemo)(()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}(e),[e,n]);return na(()=>{if(!e)return;let t=new ResizeObserver(r);return t.observe(e),()=>{t.disconnect()}},[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}class aa extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var la,ua,ca,da=Object.defineProperty,fa=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},pa=(e,t,n)=>(fa(e,t,"read from private field"),n?n.call(e):t.get(e)),ha=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ma=(e,t,n,r)=>(fa(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class ga{constructor(e){ha(this,la,{}),ha(this,ua,new aa(()=>new Set)),ha(this,ca,new Set),((e,t,n)=>{((e,t,n)=>{t in e?da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n)})(this,"disposables",ea()),ma(this,la,e)}dispose(){this.disposables.dispose()}get state(){return pa(this,la)}subscribe(e,t){let n={selector:e,callback:t,current:e(pa(this,la))};return pa(this,ca).add(n),this.disposables.add(()=>{pa(this,ca).delete(n)})}on(e,t){return pa(this,ua).get(e).add(t),this.disposables.add(()=>{pa(this,ua).get(e).delete(t)})}send(e){let t=this.reduce(pa(this,la),e);if(t!==pa(this,la)){ma(this,la,t);for(let e of pa(this,ca)){let t=e.selector(pa(this,la));ya(e.current,t)||(e.current=t,e.callback(t))}for(let t of pa(this,ua).get(e.type))t(pa(this,la),e)}}}function ya(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&va(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&va(e.entries(),t.entries()):!(!ba(e)||!ba(t))&&va(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function va(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function ba(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function Ea(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ea),r}la=new WeakMap,ua=new WeakMap,ca=new WeakMap;var ka,wa=Object.defineProperty,xa=(e,t,n)=>(((e,t,n)=>{t in e?wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),_a=((ka=_a||{})[ka.Push=0]="Push",ka[ka.Pop=1]="Pop",ka);let Sa={0(e,t){let n=t.id,r=e.stack,i=e.stack.indexOf(n);if(-1!==i){let t=e.stack.slice();return t.splice(i,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let i=e.stack.slice();return i.splice(r,1),{...e,stack:i}}};class Ta extends ga{constructor(){super(...arguments),xa(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),xa(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new Ta({stack:[]})}reduce(e,t){return Ea(t.type,Sa,e,t)}}const Ca=new aa(()=>Ta.new());var Na=s(18300);function Aa(e,t,n=ya){return(0,Na.useSyncExternalStoreWithSelector)(ia(t=>e.subscribe(Da,t)),ia(()=>e.state),ia(()=>e.state),ia(t),n)}function Da(e){return e}function Oa(e,t){let n=(0,d.useId)(),r=Ca.get(t),[i,o]=Aa(r,(0,d.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return na(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!o||i)}let Ia=new Map,La=new Map;function Fa(e){var t;let n=null!=(t=La.get(e))?t:0;return La.set(e,n+1),0!==n||(Ia.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let n=null!=(t=La.get(e))?t:1;if(1===n?La.delete(e):La.set(e,n-1),1!==n)return;let r=Ia.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Ia.delete(e))}(e)}function Ra(e,{allowed:t,disallowed:n}={}){let r=Oa(e,"inert-others");na(()=>{var e,i;if(!r)return;let o=ea();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(Fa(t));let s=null!=(i=null==t?void 0:t())?i:[];for(let e of s){if(!e)continue;let t=Zs(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some(t=>e.contains(t))||o.add(Fa(e));n=n.parentElement}}return o.dispose},[r,t,n])}function Pa(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function Ma(e){return Pa(e)&&"tagName"in e}function ja(e){return Ma(e)&&"accessKey"in e}function Va(e){return Ma(e)&&"tabIndex"in e}function Ua(e){return ja(e)&&"INPUT"===e.nodeName}function Ba(e){return ja(e)&&"LABEL"===e.nodeName}function $a(e){return ja(e)&&"FIELDSET"===e.nodeName}function qa(e){return ja(e)&&"LEGEND"===e.nodeName}let za=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ha,Ka,Wa=((Ka=Wa||{})[Ka.First=1]="First",Ka[Ka.Previous=2]="Previous",Ka[Ka.Next=4]="Next",Ka[Ka.Last=8]="Last",Ka[Ka.WrapAround=16]="WrapAround",Ka[Ka.NoScroll=32]="NoScroll",Ka[Ka.AutoFocus=64]="AutoFocus",Ka),Ya=((Ha=Ya||{})[Ha.Error=0]="Error",Ha[Ha.Overflow=1]="Overflow",Ha[Ha.Success=2]="Success",Ha[Ha.Underflow=3]="Underflow",Ha),Ga=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ga||{}),Qa=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Qa||{});var Xa=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Xa||{});function Za(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Ja(){return Za()||/Android/gi.test(window.navigator.userAgent)}function el(e,t,n,r){let i=ra(n);(0,d.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function tl(e,t,n){let r=ra(n),i=(0,d.useCallback)(function(e,n){if(e.defaultPrevented)return;let i=n(e);if(null===i||!i.getRootNode().contains(i)||!i.isConnected)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of o)if(null!==t&&(t.contains(i)||e.composed&&e.composedPath().includes(t)))return;return!function(e,t=0){var n;return e!==(null==(n=Zs(e))?void 0:n.body)&&Ea(t,{0:()=>e.matches(za),1(){let t=e;for(;null!==t;){if(t.matches(za))return!0;t=t.parentElement}return!1}})}(i,Qa.Loose)&&-1!==i.tabIndex&&e.preventDefault(),r.current(e,i)},[r,t]),o=(0,d.useRef)(null);el(e,"pointerdown",e=>{var t,n;Ja()||(o.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),el(e,"pointerup",e=>{if(Ja()||!o.current)return;let t=o.current;return o.current=null,i(e,()=>t)},!0);let s=(0,d.useRef)({x:0,y:0});el(e,"touchstart",e=>{s.current.x=e.touches[0].clientX,s.current.y=e.touches[0].clientY},!0),el(e,"touchend",e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-s.current.x)>=30||Math.abs(n-s.current.y)>=30))return i(e,()=>Va(e.target)?e.target:null)},!0),function(e,t,n,r){let o=ra(e=>i(e,()=>function(e){return ja(e)&&"IFRAME"===e.nodeName}(window.document.activeElement)?window.document.activeElement:null));(0,d.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}(e,"blur",0,!0)}function nl(...e){return(0,d.useMemo)(()=>Zs(...e),[...e])}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0)),["textarea","input"].join(",");var rl,il=((rl=il||{})[rl.Ignore=0]="Ignore",rl[rl.Select=1]="Select",rl[rl.Close=2]="Close",rl);const ol={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}};function sl(e){let t=(0,d.useRef)({value:"",selectionStart:null,selectionEnd:null});return function(e,n,r,i){let o=ra(e=>{let n=e.target;Ua(n)&&(t.current={value:n.value,selectionStart:n.selectionStart,selectionEnd:n.selectionEnd})});(0,d.useEffect)(()=>{function t(e){o.current(e)}return(e=null!=e?e:window).addEventListener(n,t,i),()=>e.removeEventListener(n,t,i)},[e,n,i])}(e,"blur"),ia(()=>{if(document.activeElement!==e&&Ua(e)&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:r}=t.current;null!==n&&null!==r&&e.setSelectionRange(n,r)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function al(e,t){return(0,d.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0},[e.type,e.as,t])}function ll(){let e;return{before({doc:t}){var n;let r=t.documentElement,i=null!=(n=t.defaultView)?n:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);n.style(r,"paddingRight",`${o}px`)}}}function ul(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let cl=function(e,t){let n=new Map,r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...i){let o=t[e].call(n,...i);o&&(n=o,r.forEach(e=>e()))}}}(0,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:ea(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:ul(n)},i=[Za()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=ea();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let i=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",t=>{if(Va(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:i}=new URL(n.href),s=e.querySelector(i);Va(s)&&!r(s)&&(o=s)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(Va(e.target)&&function(e){return Ma(e)&&"style"in e}(e.target))if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(Va(e.target)){if(Ua(e.target))return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;i!==t&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},ll(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach(({before:e})=>null==e?void 0:e(r)),i.forEach(({after:e})=>null==e?void 0:e(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function dl(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let r=function(e){return(0,d.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}(cl),i=t?r.get(t):void 0,o=!!i&&i.count>0;na(()=>{if(t&&e)return cl.dispatch("PUSH",t,n),()=>cl.dispatch("POP",t,n)},[e,t])}(Oa(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}cl.subscribe(()=>{let e=cl.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&cl.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&cl.dispatch("TEARDOWN",n)}});let fl=Symbol();function pl(...e){let t=(0,d.useRef)(e);(0,d.useEffect)(()=>{t.current=e},[e]);let n=ia(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[fl]))?void 0:n}function hl(e){return[e.screenX,e.screenY]}var ml,gl;"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(ml=null==process?void 0:process.env)?void 0:ml.NODE_ENV)&&void 0===(null==(gl=null==Element?void 0:Element.prototype)?void 0:gl.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var yl,vl=((yl=vl||{})[yl.None=0]="None",yl[yl.Closed=1]="Closed",yl[yl.Enter=2]="Enter",yl[yl.Leave=4]="Leave",yl);function bl(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function El(e,t){let n=(0,d.useRef)([]),r=ia(e);(0,d.useEffect)(()=>{let e=[...n.current];for(let[i,o]of t.entries())if(n.current[i]!==o){let i=r(t,e);return n.current=t,i}},[r,...t])}let kl=(0,d.createContext)(void 0);function wl(){return(0,d.useContext)(kl)}const xl=["top","right","bottom","left"],_l=Math.min,Sl=Math.max,Tl=Math.round,Cl=Math.floor,Nl=e=>({x:e,y:e}),Al={left:"right",right:"left",bottom:"top",top:"bottom"},Dl={start:"end",end:"start"};function Ol(e,t,n){return Sl(e,_l(t,n))}function Il(e,t){return"function"==typeof e?e(t):e}function Ll(e){return e.split("-")[0]}function Fl(e){return e.split("-")[1]}function Rl(e){return"x"===e?"y":"x"}function Pl(e){return"y"===e?"height":"width"}function Ml(e){return["top","bottom"].includes(Ll(e))?"y":"x"}function jl(e){return Rl(Ml(e))}function Vl(e){return e.replace(/start|end/g,e=>Dl[e])}function Ul(e){return e.replace(/left|right|bottom|top/g,e=>Al[e])}function Bl(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function $l(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ql(){return"undefined"!=typeof window}function zl(e){return Wl(e)?(e.nodeName||"").toLowerCase():"#document"}function Hl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Kl(e){var t;return null==(t=(Wl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Wl(e){return!!ql()&&(e instanceof Node||e instanceof Hl(e).Node)}function Yl(e){return!!ql()&&(e instanceof Element||e instanceof Hl(e).Element)}function Gl(e){return!!ql()&&(e instanceof HTMLElement||e instanceof Hl(e).HTMLElement)}function Ql(e){return!(!ql()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Hl(e).ShadowRoot)}function Xl(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ru(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Zl(e){return["table","td","th"].includes(zl(e))}function Jl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function eu(e){const t=tu(),n=Yl(e)?ru(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function tu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function nu(e){return["html","body","#document"].includes(zl(e))}function ru(e){return Hl(e).getComputedStyle(e)}function iu(e){return Yl(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ou(e){if("html"===zl(e))return e;const t=e.assignedSlot||e.parentNode||Ql(e)&&e.host||Kl(e);return Ql(t)?t.host:t}function su(e){const t=ou(e);return nu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gl(t)&&Xl(t)?t:su(t)}function au(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=su(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=Hl(i);if(o){const e=lu(s);return t.concat(s,s.visualViewport||[],Xl(i)?i:[],e&&n?au(e):[])}return t.concat(i,au(i,[],n))}function lu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function uu(e,t,n){let{reference:r,floating:i}=e;const o=Ml(t),s=jl(t),a=Pl(s),l=Ll(t),u="y"===o,c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Fl(t)){case"start":p[s]-=f*(n&&u?-1:1);break;case"end":p[s]+=f*(n&&u?-1:1)}return p}async function cu(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Il(t,e),h=Bl(p),m=a[f?"floating"===d?"reference":"floating":d],g=$l(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),y="floating"===d?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},E=$l(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-E.top+h.top)/b.y,bottom:(E.bottom-g.bottom+h.bottom)/b.y,left:(g.left-E.left+h.left)/b.x,right:(E.right-g.right+h.right)/b.x}}function du(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fu(e){return xl.some(t=>e[t]>=0)}function pu(e){const t=ru(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Gl(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Tl(n)!==o||Tl(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function hu(e){return Yl(e)?e:e.contextElement}function mu(e){const t=hu(e);if(!Gl(t))return Nl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=pu(t);let s=(o?Tl(n.width):n.width)/r,a=(o?Tl(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const gu=Nl(0);function yu(e){const t=Hl(e);return tu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:gu}function vu(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=hu(e);let s=Nl(1);t&&(r?Yl(r)&&(s=mu(r)):s=mu(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Hl(e))&&t}(o,n,r)?yu(o):Nl(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const e=Hl(o),t=r&&Yl(r)?Hl(r):r;let n=e,i=lu(n);for(;i&&r&&t!==n;){const e=mu(i),t=i.getBoundingClientRect(),r=ru(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=o,u+=s,n=Hl(i),i=lu(n)}}return $l({width:c,height:d,x:l,y:u})}function bu(e,t){const n=iu(e).scrollLeft;return t?t.left+n:vu(Kl(e)).left+n}function Eu(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:bu(e,r)),y:r.top+t.scrollTop}}function ku(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Hl(e),r=Kl(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const e=tu();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=Kl(e),n=iu(e),r=e.ownerDocument.body,i=Sl(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Sl(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+bu(e);const a=-n.scrollTop;return"rtl"===ru(r).direction&&(s+=Sl(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(Kl(e));else if(Yl(t))r=function(e,t){const n=vu(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Gl(e)?mu(e):Nl(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=yu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $l(r)}function wu(e,t){const n=ou(e);return!(n===t||!Yl(n)||nu(n))&&("fixed"===ru(n).position||wu(n,t))}function xu(e,t,n){const r=Gl(t),i=Kl(t),o="fixed"===n,s=vu(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Nl(0);function u(){l.x=bu(i)}if(r||!r&&!o)if(("body"!==zl(t)||Xl(i))&&(a=iu(t)),r){const e=vu(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=!i||r||o?Nl(0):Eu(i,a);return{x:s.left+a.scrollLeft-l.x-c.x,y:s.top+a.scrollTop-l.y-c.y,width:s.width,height:s.height}}function _u(e){return"static"===ru(e).position}function Su(e,t){if(!Gl(e)||"fixed"===ru(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Kl(e)===n&&(n=n.ownerDocument.body),n}function Tu(e,t){const n=Hl(e);if(Jl(e))return n;if(!Gl(e)){let t=ou(e);for(;t&&!nu(t);){if(Yl(t)&&!_u(t))return t;t=ou(t)}return n}let r=Su(e,t);for(;r&&Zl(r)&&_u(r);)r=Su(r,t);return r&&nu(r)&&_u(r)&&!eu(r)?n:r||function(e){let t=ou(e);for(;Gl(t)&&!nu(t);){if(eu(t))return t;if(Jl(t))return null;t=ou(t)}return null}(e)||n}const Cu={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,s=Kl(r),a=!!t&&Jl(t.floating);if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Nl(1);const c=Nl(0),d=Gl(r);if((d||!d&&!o)&&(("body"!==zl(r)||Xl(s))&&(l=iu(r)),Gl(r))){const e=vu(r);u=mu(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const f=!s||d||o?Nl(0):Eu(s,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}},getDocumentElement:Kl,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?Jl(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=au(e,[],!1).filter(e=>Yl(e)&&"body"!==zl(e)),i=null;const o="fixed"===ru(e).position;let s=o?ou(e):e;for(;Yl(s)&&!nu(s);){const t=ru(s),n=eu(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Xl(s)&&!n&&wu(e,s))?r=r.filter(e=>e!==s):i=t,s=ou(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=ku(t,n,i);return e.top=Sl(r.top,e.top),e.right=_l(r.right,e.right),e.bottom=_l(r.bottom,e.bottom),e.left=Sl(r.left,e.left),e},ku(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Tu,getElementRects:async function(e){const t=this.getOffsetParent||Tu,n=this.getDimensions,r=await n(e.floating);return{reference:xu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=pu(e);return{width:t,height:n}},getScale:mu,isElement:Yl,isRTL:function(e){return"rtl"===ru(e).direction}};function Nu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Au(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,u=hu(e),c=i||o?[...u?au(u):[],...au(t)]:[];c.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=u&&a?function(e,t){let n,r=null;const i=Kl(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(a||t(),!f||!p)return;const h={rootMargin:-Cl(d)+"px "+-Cl(i.clientWidth-(c+f))+"px "+-Cl(i.clientHeight-(d+p))+"px "+-Cl(c)+"px",threshold:Sl(0,_l(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||Nu(u,e.getBoundingClientRect())||s(),m=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(u,n):null;let f,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let m=l?vu(e):null;return l&&function t(){const r=vu(e);m&&!Nu(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const Du=cu,Ou=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=Ll(n),a=Fl(n),l="y"===Ml(n),u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,d=Il(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},Iu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Il(e,t),u={x:n,y:r},c=await cu(t,l),d=Ml(Ll(i)),f=Rl(d);let p=u[f],h=u[d];if(o){const e="y"===f?"bottom":"right";p=Ol(p+c["y"===f?"top":"left"],p,p-c[e])}if(s){const e="y"===d?"bottom":"right";h=Ol(h+c["y"===d?"top":"left"],h,h-c[e])}const m=a.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:o,[d]:s}}}}}},Lu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=Il(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const y=Ll(i),v=Ml(a),b=Ll(a)===a,E=await(null==l.isRTL?void 0:l.isRTL(u.floating)),k=f||(b||!m?[Ul(a)]:function(e){const t=Ul(e);return[Vl(e),t,Vl(t)]}(a)),w="none"!==h;!f&&w&&k.push(...function(e,t,n,r){const i=Fl(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}(Ll(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(Vl)))),o}(a,m,h,E));const x=[a,...k],_=await cu(t,g),S=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&S.push(_[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Fl(e),i=jl(e),o=Pl(i);let s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Ul(s)),[s,Ul(s)]}(i,s,E);S.push(_[e[0]],_[e[1]])}if(T=[...T,{placement:i,overflows:S}],!S.every(e=>e<=0)){var C,N;const e=((null==(C=o.flip)?void 0:C.index)||0)+1,t=x[e];if(t&&("alignment"!==d||v===Ml(t)||T.every(e=>e.overflows[0]>0&&Ml(e.placement)===v)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(N=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var A;const e=null==(A=T.filter(e=>{if(w){const t=Ml(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:A[0];e&&(n=e);break}case"initialPlacement":n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},Fu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=Il(e,t),c=await cu(t,u),d=Ll(i),f=Fl(i),p="y"===Ml(i),{width:h,height:m}=o.floating;let g,y;"top"===d||"bottom"===d?(g=d,y=f===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,g="end"===f?"top":"bottom");const v=m-c.top-c.bottom,b=h-c.left-c.right,E=_l(m-c[g],v),k=_l(h-c[y],b),w=!t.middlewareData.shift;let x=E,_=k;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(_=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(x=v),w&&!f){const e=Sl(c.left,0),t=Sl(c.right,0),n=Sl(c.top,0),r=Sl(c.bottom,0);p?_=h-2*(0!==e||0!==t?e+t:Sl(c.left,c.right)):x=m-2*(0!==n||0!==r?n+r:Sl(c.top,c.bottom))}await l({...t,availableWidth:_,availableHeight:x});const S=await s.getDimensions(a.floating);return h!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}},Ru=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Il(e,t);switch(r){case"referenceHidden":{const e=du(await cu(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:fu(e)}}}case"escaped":{const e=du(await cu(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:fu(e)}}}default:return{}}}}},Pu=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Il(e,t)||{};if(null==u)return{};const d=Bl(c),f={x:n,y:r},p=jl(i),h=Pl(p),m=await s.getDimensions(u),g="y"===p,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",E=o.reference[h]+o.reference[p]-f[p]-o.floating[h],k=f[p]-o.reference[p],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let x=w?w[b]:0;x&&await(null==s.isElement?void 0:s.isElement(w))||(x=a.floating[b]||o.floating[h]);const _=E/2-k/2,S=x/2-m[h]/2-1,T=_l(d[y],S),C=_l(d[v],S),N=T,A=x-m[h]-C,D=x/2-m[h]/2+_,O=Ol(N,D,A),I=!l.arrow&&null!=Fl(i)&&D!==O&&o.reference[h]/2-(D<N?T:C)-m[h]/2<0,L=I?D<N?D-N:D-A:0;return{[p]:f[p]+L,data:{[p]:O,centerOffset:D-O-L,...I&&{alignmentOffset:L}},reset:I}}}),Mu=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Il(e,t),c={x:n,y:r},d=Ml(i),f=Rl(d);let p=c[f],h=c[d];const m=Il(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,n=o.reference[f]+o.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var y,v;const e="y"===f?"width":"height",t=["top","left"].includes(Ll(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(y=s.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(v=s.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},ju=(e,t,n)=>{const r=new Map,i={platform:Cu,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=uu(u,r,l),f=r,p={},h=0;for(let n=0;n<a.length;n++){const{name:o,fn:m}=a[n],{x:g,y,data:v,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=y?y:d,p={...p,[o]:{...p[o],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:c,y:d}=uu(u,f,l))),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}})(e,t,{...i,platform:o})};var Vu="undefined"!=typeof document?d.useLayoutEffect:function(){};function Uu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Uu(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(!("_owner"===n&&e.$$typeof||Uu(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Bu(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $u(e,t){const n=Bu(e);return Math.round(t*n)/n}function qu(e){const t=d.useRef(e);return Vu(()=>{t.current=e}),t}function zu(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=d.useState(r);Uu(p,r)||h(r);const[m,g]=d.useState(null),[y,v]=d.useState(null),b=d.useCallback(e=>{e!==x.current&&(x.current=e,g(e))},[]),E=d.useCallback(e=>{e!==_.current&&(_.current=e,v(e))},[]),k=o||m,w=s||y,x=d.useRef(null),_=d.useRef(null),S=d.useRef(c),T=null!=l,C=qu(l),N=qu(i),A=qu(u),D=d.useCallback(()=>{if(!x.current||!_.current)return;const e={placement:t,strategy:n,middleware:p};N.current&&(e.platform=N.current),ju(x.current,_.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};O.current&&!Uu(S.current,t)&&(S.current=t,Ls.flushSync(()=>{f(t)}))})},[p,t,n,N,A]);Vu(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);const O=d.useRef(!1);Vu(()=>(O.current=!0,()=>{O.current=!1}),[]),Vu(()=>{if(k&&(x.current=k),w&&(_.current=w),k&&w){if(C.current)return C.current(k,w,D);D()}},[k,w,D,C,T]);const I=d.useMemo(()=>({reference:x,floating:_,setReference:b,setFloating:E}),[b,E]),L=d.useMemo(()=>({reference:k,floating:w}),[k,w]),F=d.useMemo(()=>{const e={position:n,left:0,top:0};if(!L.floating)return e;const t=$u(L.floating,c.x),r=$u(L.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...Bu(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,L.floating,c.x,c.y]);return d.useMemo(()=>({...c,update:D,refs:I,elements:L,floatingStyles:F}),[c,D,I,L,F])}const Hu=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?Pu({element:n.current,padding:r}).fn(t):{}:n?Pu({element:n,padding:r}).fn(t):{};var i}}),Ku=(e,t)=>({...Ou(e),options:[e,t]}),Wu=(e,t)=>({...Iu(e),options:[e,t]}),Yu=(e,t)=>({...Mu(e),options:[e,t]}),Gu=(e,t)=>({...Lu(e),options:[e,t]}),Qu=(e,t)=>({...Fu(e),options:[e,t]}),Xu=(e,t)=>({...Ru(e),options:[e,t]}),Zu=(e,t)=>({...Hu(e),options:[e,t]}),Ju={...f},ec=Ju.useInsertionEffect||(e=>e());function tc(e){const t=d.useRef(()=>{});return ec(()=>{t.current=e}),d.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var nc="undefined"!=typeof document?d.useLayoutEffect:d.useEffect;let rc=!1,ic=0;const oc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ic++,sc=Ju.useId||function(){const[e,t]=d.useState(()=>rc?oc():void 0);return nc(()=>{null==e&&t(oc())},[]),d.useEffect(()=>{rc=!0},[]),e};const ac=d.createContext(null),lc=d.createContext(null),uc="data-floating-ui-focusable";function cc(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=sc(),o=d.useRef({}),[s]=d.useState(()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}()),a=null!=((null==(h=d.useContext(ac))?void 0:h.id)||null),[l,u]=d.useState(r.reference),c=tc((e,t,r)=>{o.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)}),f=d.useMemo(()=>({setPositionReference:u}),[]),p=d.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);var h;return d.useMemo(()=>({dataRef:o,open:t,onOpenChange:c,elements:p,events:s,floatingId:i,refs:f}),[t,c,p,s,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,s]=d.useState(null),[a,l]=d.useState(null),u=(null==i?void 0:i.domReference)||o,c=d.useRef(null),f=d.useContext(lc);nc(()=>{u&&(c.current=u)},[u]);const p=zu({...e,elements:{...i,...a&&{reference:a}}}),h=d.useCallback(e=>{const t=Yl(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l(t),p.refs.setReference(t)},[p.refs]),m=d.useCallback(e=>{(Yl(e)||null===e)&&(c.current=e,s(e)),(Yl(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!Yl(e))&&p.refs.setReference(e)},[p.refs]),g=d.useMemo(()=>({...p.refs,setReference:m,setPositionReference:h,domReference:c}),[p.refs,m,h]),y=d.useMemo(()=>({...p.elements,domReference:u}),[p.elements,u]),v=d.useMemo(()=>({...p,...r,refs:g,elements:y,nodeId:t}),[p,g,y,t,r]);return nc(()=>{r.dataRef.current.floatingContext=v;const e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),d.useMemo(()=>({...p,context:v,refs:g,elements:y}),[p,g,y,v])}const dc="active",fc="selected";function pc(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[dc]:t,[fc]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[uc]:""},...o,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,o]=t;var s;i&&[dc,fc].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(s=r.get(n))||s.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)})):e[n]=o)}),e):e,{})}}function hc(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let mc=(0,d.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});mc.displayName="FloatingContext";let gc=(0,d.createContext)(null);function yc(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,d.useContext)(gc),n=(0,d.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);na(()=>{null==t||t(null!=n?n:null)},[t,n]);let r=(0,d.useContext)(mc);return(0,d.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}function vc({children:e,enabled:t=!0}){let[n,r]=(0,d.useState)(null),[i,o]=(0,d.useState)(0),s=(0,d.useRef)(null),[a,l]=(0,d.useState)(null);!function(e){na(()=>{if(!e)return;let t=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}(a);let u=t&&null!==n&&null!==a,{to:c="bottom",gap:f=0,offset:p=0,padding:h=0,inner:m}=function(e,t){var n,r,i;let o=bc(null!=(n=null==e?void 0:e.gap)?n:"var(--anchor-gap, 0)",t),s=bc(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),a=bc(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}(n,a),[g,y="center"]=c.split(" ");na(()=>{u&&o(0)},[u]);let{refs:v,floatingStyles:b,context:E}=cc({open:u,placement:"selection"===g?"center"===y?"bottom":`bottom-${y}`:"center"===y?`${g}`:`${g}-${y}`,strategy:"absolute",transform:!1,middleware:[Ku({mainAxis:"selection"===g?0:f,crossAxis:p}),Wu({padding:h}),"selection"!==g&&Gu({padding:h}),"selection"===g&&m?(x={...m,padding:h,overflowRef:s,offset:i,minItemsVisible:4,referenceOverflowThreshold:h,onFallbackChange(e){var t,n;if(!e)return;let r=E.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,s=Math.min(4,r.childElementCount),a=0,l=0;for(let e of null!=(n=null==(t=E.elements.floating)?void 0:t.childNodes)?n:[])if(ja(e)){let t=e.offsetTop,n=t+e.clientHeight+i,o=r.scrollTop,u=o+r.clientHeight;if(!(t>=o&&n<=u)){l=Math.max(0,Math.min(n,u)-Math.max(t,o)),a=e.clientHeight;break}s--}s>=1&&o(e=>{let t=a*s-l+i;return e>=t?e:t})}},{name:"inner",options:x,async fn(e){const{listRef:t,overflowRef:n,onFallbackChange:r,offset:i=0,index:o=0,minItemsVisible:s=4,referenceOverflowThreshold:a=0,scrollRef:l,...u}=Il(x,e),{rects:c,elements:{floating:d}}=e,f=t.current[o],p=(null==l?void 0:l.current)||d,h=d.clientTop||p.clientTop,m=0!==d.clientTop,g=0!==p.clientTop,y=d===p;if(!f)return{};const v={...e,...await Ku(-f.offsetTop-d.clientTop-c.reference.height/2-f.offsetHeight/2-i).fn(e)},b=await Du(hc(v,p.scrollHeight+h+d.clientTop),u),E=await Du(v,{...u,elementContext:"reference"}),k=Sl(0,b.top),w=v.y+k,_=(p.scrollHeight>p.clientHeight?e=>e:Tl)(Sl(0,p.scrollHeight+(m&&y||g?2*h:0)-k-Sl(0,b.bottom)));if(p.style.maxHeight=_+"px",p.scrollTop=k,r){const e=p.offsetHeight<f.offsetHeight*_l(s,t.current.length)-1||E.top>=-a||E.bottom>=-a;Ls.flushSync(()=>r(e))}return n&&(n.current=await Du(hc({...v,y:w},p.offsetHeight+h+d.clientTop),u)),{y:w}}}):null,Qu({padding:h,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:Au}),[k=g,w=y]=E.placement.split("-");var x;"selection"===g&&(k="selection");let _=(0,d.useMemo)(()=>({anchor:[k,w].filter(Boolean).join(" ")}),[k,w]),S=function(e,t){const{open:n,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=tc(a),u=d.useRef(!1),c=d.useRef(null),f=d.useRef(null);d.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==o.current)return;const n=e.deltaY,r=o.current.top>=-.5,i=o.current.bottom>=-.5,s=t.scrollHeight-t.clientHeight,a=n<0?-1:1,u=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),Ls.flushSync(()=>{l(e=>e+Math[u](n,s*a))})):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||r.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame(()=>{c.current=t.scrollTop,null!=o.current&&(f.current={...o.current})}),()=>{c.current=null,f.current=null,t.removeEventListener("wheel",e)}):void 0},[i,n,r.floating,o,s,l]);const p=d.useMemo(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const e=(null==s?void 0:s.current)||r.floating;if(o.current&&e&&u.current){if(null!==c.current){const t=e.scrollTop-c.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&Ls.flushSync(()=>l(e=>e+t))}requestAnimationFrame(()=>{c.current=e.scrollTop})}}}),[r.floating,l,o,s]);return d.useMemo(()=>i?{floating:p}:{},[i,p])}(E,{overflowRef:s,onChange:o}),{getReferenceProps:T,getFloatingProps:C}=function(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),i=d.useCallback(t=>pc(t,e,"reference"),t),o=d.useCallback(t=>pc(t,e,"floating"),n),s=d.useCallback(t=>pc(t,e,"item"),r);return d.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}([S]),N=ia(e=>{l(e),v.setFloating(e)});return d.createElement(gc.Provider,{value:r},d.createElement(mc.Provider,{value:{setFloating:N,setReference:v.setReference,styles:b,getReferenceProps:T,getFloatingProps:C,slot:_}},e))}function bc(e,t,n=void 0){let r=ta(),i=ia((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let i=kc(e,t);return[i,n=>{let o=Ec(e);{let s=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));r.requestAnimationFrame(function a(){r.nextFrame(a);let l=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(s[e]!==r){s[e]=r,l=!0;break}}if(!l)return;let u=kc(e,t);i!==u&&(n(u),i=u)})}return r.dispose}]}return[n,null]}),o=(0,d.useMemo)(()=>i(e,t)[0],[e,t]),[s=o,a]=(0,d.useState)();return na(()=>{let[n,r]=i(e,t);if(a(n),r)return r(a)},[e,t]),s}function Ec(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...Ec(r)]:[n]}return[]}function kc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function wc(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))_c(n,xc(t,r),i);return n}function xc(e,t){return e?e+"["+t+"]":t}function _c(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())_c(e,xc(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):wc(n,t,e)}function Sc(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}gc.displayName="PlacementContext";var Tc=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Tc||{}),Cc=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Cc||{});function Nc(){let e=function(){let e=(0,d.useRef)([]),t=(0,d.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]);return(...n)=>{if(!n.every(e=>null==e))return e.current=n,t}}();return(0,d.useCallback)(t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:s,mergeRefs:a}){a=null!=a?a:Dc;let l=Oc(t,e);if(o)return Ac(l,n,r,s,a);let u=null!=i?i:0;if(2&u){let{static:e=!1,...t}=l;if(e)return Ac(t,n,r,s,a)}if(1&u){let{unmount:e=!0,...t}=l;return Ea(e?0:1,{0:()=>null,1:()=>Ac({...t,hidden:!0,style:{display:"none"}},n,r,s,a)})}return Ac(l,n,r,s,a)}({mergeRefs:e,...t}),[e])}function Ac(e,t={},n,r,i){let{as:o=n,children:s,refName:a="ref",...l}=Rc(e,["unmount","static"]),u=void 0!==e.ref?{[a]:e.ref}:{},c="function"==typeof s?s(t):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e){f["data-headlessui-state"]=n.join(" ");for(let e of n)f[`data-${e}`]=""}}if(o===d.Fragment&&(Object.keys(Fc(l)).length>0||Object.keys(Fc(f)).length>0)){if((0,d.isValidElement)(c)&&!(Array.isArray(c)&&c.length>1)){let e=c.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>Sc(t(...e),l.className):Sc(t,l.className),r=n?{className:n}:{},o=Oc(c.props,Fc(Rc(l,["ref"])));for(let e in f)e in o&&delete f[e];return(0,d.cloneElement)(c,Object.assign({},o,f,u,{ref:i(Pc(c),u.ref)},r))}if(Object.keys(Fc(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Fc(l)).concat(Object.keys(Fc(f))).map(e=>` - ${e}`).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join("\n")].join("\n"))}return(0,d.createElement)(o,Object.assign({},Rc(l,["ref"]),o!==d.Fragment&&u,o!==d.Fragment&&f),c)}function Dc(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function Oc(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function Ic(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){let r=n[e];for(let e of r)null==e||e(...t)}});return t}function Lc(e){var t;return Object.assign((0,d.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Fc(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Rc(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Pc(e){return d.version.split(".")[0]>="19"?e.props.ref:e.ref}var Mc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Mc||{});let jc=Lc(function(e,t){var n;let{features:r=1,...i}=e,o={ref:t,"aria-hidden":!(2&~r)||(null!=(n=i["aria-hidden"])?n:void 0),hidden:!(4&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}};return Nc()({ourProps:o,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})}),Vc=(0,d.createContext)(null);function Uc({children:e}){let t=(0,d.useContext)(Vc);if(!t)return d.createElement(d.Fragment,null,e);let{target:n}=t;return n?(0,Ls.createPortal)(d.createElement(d.Fragment,null,e),n):null}function Bc({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[o,s]=(0,d.useState)(null),a=ta();return(0,d.useEffect)(()=>{if(r&&o)return a.addEventListener(o,"reset",r)},[o,t,r]),d.createElement(Uc,null,d.createElement($c,{setForm:s,formId:t}),wc(e).map(([e,r])=>d.createElement(jc,{features:Mc.Hidden,...Fc({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...i})})))}function $c({setForm:e,formId:t}){return(0,d.useEffect)(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:d.createElement(jc,{features:Mc.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}function qc({children:e,freeze:t}){let n=zc(t,e);return d.createElement(d.Fragment,null,n)}function zc(e,t){let[n,r]=(0,d.useState)(t);return!e&&n!==t&&r(t),e?n:t}let Hc=(0,d.createContext)(void 0);function Kc(){return(0,d.useContext)(Hc)}let Wc=(0,d.createContext)(null);Wc.displayName="OpenClosedContext";var Yc=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Yc||{});function Gc({value:e,children:t}){return d.createElement(Wc.Provider,{value:e},t)}let Qc=[];!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){if(!Va(e.target)||e.target===document.body||Qc[0]===e.target)return;let t=e.target;t=t.closest(za),Qc.unshift(null!=t?t:e.target),Qc=Qc.filter(e=>null!=e&&e.isConnected),Qc.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();var Xc=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Xc||{});function Zc(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}let Jc=(0,d.createContext)(null);function ed(){let e=(0,d.useContext)(Jc);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ed),e}return e}Jc.displayName="DescriptionContext";let td=Lc(function(e,t){let n=(0,d.useId)(),r=wl(),{id:i=`headlessui-description-${n}`,...o}=e,s=ed(),a=pl(t);na(()=>s.register(i),[i,s.register]);let l=r||!1,u=(0,d.useMemo)(()=>({...s.slot,disabled:l}),[s.slot,l]),c={ref:a,...s.props,id:i};return Nc()({ourProps:c,theirProps:o,slot:u,defaultTag:"p",name:s.name||"Description"})});Object.assign(td,{});var nd=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(nd||{});let rd=(0,d.createContext)(null);function id(){let e=(0,d.useContext)(rd);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,id),e}return e}function od(e){var t,n,r;let i=null!=(n=null==(t=(0,d.useContext)(rd))?void 0:t.value)?n:void 0;return(null!=(r=null==e?void 0:e.length)?r:0)>0?[i,...e].filter(Boolean).join(" "):i}rd.displayName="LabelContext";let sd=Lc(function(e,t){var n;let r=(0,d.useId)(),i=id(),o=Kc(),s=wl(),{id:a=`headlessui-label-${r}`,htmlFor:l=(null!=o?o:null==(n=i.props)?void 0:n.htmlFor),passive:u=!1,...c}=e,f=pl(t);na(()=>i.register(a),[a,i.register]);let p=ia(e=>{let t=e.currentTarget;if((e.target===e.currentTarget||!function(e){return!!Ma(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')}(e.target))&&(Ba(t)&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),Ba(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(Ua(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),h=s||!1,m=(0,d.useMemo)(()=>({...i.slot,disabled:h}),[i.slot,h]),g={ref:f,...i.props,id:a,htmlFor:l,onClick:p};return u&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in c&&delete c.onClick),Nc()({ourProps:g,theirProps:c,slot:m,defaultTag:l?"label":"div",name:i.name||"Label"})}),ad=Object.assign(sd,{});var ld,ud=((ld=ud||{})[ld.Left=0]="Left",ld[ld.Right=2]="Right",ld);function cd(e){let t=ia(e),n=(0,d.useRef)(!1);(0,d.useEffect)(()=>(n.current=!1,()=>{n.current=!0,Js(()=>{n.current&&t()})}),[t])}let dd=(0,d.createContext)(!1);let fd=d.Fragment,pd=Lc(function(e,t){let{ownerDocument:n=null,...r}=e,i=(0,d.useRef)(null),o=pl(function(e,t=!0){return Object.assign(e,{[fl]:t})}(e=>{i.current=e}),t),s=nl(i),a=null!=n?n:s,l=function(e){let t=(0,d.useContext)(dd),n=(0,d.useContext)(md),[r,i]=(0,d.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(Xs.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");if(i)return i;if(null===e)return null;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)});return(0,d.useEffect)(()=>{null!==r&&(null!=e&&e.body.contains(r)||null==e||e.body.appendChild(r))},[r,e]),(0,d.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),r}(a),[u]=(0,d.useState)(()=>{var e;return Xs.isServer?null:null!=(e=null==a?void 0:a.createElement("div"))?e:null}),c=(0,d.useContext)(gd),p=function(){let e=function(){let e="undefined"==typeof document;return f.useSyncExternalStore(()=>()=>{},()=>!1,()=>!e)}(),[t,n]=d.useState(Xs.isHandoffComplete);return t&&!1===Xs.isHandoffComplete&&n(!1),d.useEffect(()=>{!0!==t&&n(!0)},[t]),d.useEffect(()=>Xs.handoff(),[]),!e&&t}();na(()=>{!l||!u||l.contains(u)||(u.setAttribute("data-headlessui-portal",""),l.appendChild(u))},[l,u]),na(()=>{if(u&&c)return c.register(u)},[c,u]),cd(()=>{var e;!l||!u||(Pa(u)&&l.contains(u)&&l.removeChild(u),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))});let h=Nc();return p&&l&&u?(0,Ls.createPortal)(h({ourProps:{ref:o},theirProps:r,slot:{},defaultTag:fd,name:"Portal"}),u):null}),hd=d.Fragment,md=(0,d.createContext)(null),gd=(0,d.createContext)(null),yd=Lc(function(e,t){let n=pl(t),{enabled:r=!0,ownerDocument:i,...o}=e,s=Nc();return r?d.createElement(pd,{...o,ownerDocument:i,ref:n}):s({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:fd,name:"Portal"})}),vd=Lc(function(e,t){let{target:n,...r}=e,i={ref:pl(t)},o=Nc();return d.createElement(md.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:hd,name:"Popover.Group"}))}),bd=Object.assign(yd,{Group:vd});var Ed,kd=Object.defineProperty,wd=(e,t,n)=>(((e,t,n)=>{t in e?kd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),xd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(xd||{}),_d=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(_d||{}),Sd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(Sd||{}),Td=((Ed=Td||{})[Ed.OpenCombobox=0]="OpenCombobox",Ed[Ed.CloseCombobox=1]="CloseCombobox",Ed[Ed.GoToOption=2]="GoToOption",Ed[Ed.SetTyping=3]="SetTyping",Ed[Ed.RegisterOption=4]="RegisterOption",Ed[Ed.UnregisterOption=5]="UnregisterOption",Ed[Ed.DefaultToFirstOption=6]="DefaultToFirstOption",Ed[Ed.SetActivationTrigger=7]="SetActivationTrigger",Ed[Ed.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",Ed[Ed.SetInputElement=9]="SetInputElement",Ed[Ed.SetButtonElement=10]="SetButtonElement",Ed[Ed.SetOptionsElement=11]="SetOptionsElement",Ed);function Cd(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),i=r.length>0&&null!==r[0].dataRef.current.order?r.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):function(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(r,e=>e.dataRef.current.domRef.current),o=n?i.indexOf(n):null;return-1===o&&(o=null),{options:i,activeOptionIndex:o}}let Nd={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;if(null!=(n=e.dataRef.current)&&n.value){let t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(-1!==t)return{...e,activeOptionIndex:t,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3:(e,t)=>e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping},2(e,t){var n,r,i,o;if(null!=(n=e.dataRef.current)&&n.disabled||e.optionsElement&&(null==(r=e.dataRef.current)||!r.optionsPropsRef.current.static)&&1===e.comboboxState)return e;if(e.virtual){let{options:n,disabled:r}=e.virtual,o=t.focus===Xc.Specific?t.idx:Zc(t,{resolveItems:()=>n,resolveActiveIndex:()=>{var t,i;return null!=(i=null!=(t=e.activeOptionIndex)?t:n.findIndex(e=>!r(e)))?i:null},resolveDisabled:r,resolveId(){throw new Error("Function not implemented.")}}),s=null!=(i=t.trigger)?i:2;return e.activeOptionIndex===o&&e.activationTrigger===s?e:{...e,activeOptionIndex:o,activationTrigger:s,isTyping:!1,__demoMode:!1}}let s=Cd(e);if(null===s.activeOptionIndex){let e=s.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(s.activeOptionIndex=e)}let a=t.focus===Xc.Specific?t.idx:Zc(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),l=null!=(o=t.trigger)?o:2;return e.activeOptionIndex===a&&e.activationTrigger===l?e:{...e,...s,isTyping:!1,activeOptionIndex:a,activationTrigger:l,__demoMode:!1}},4:(e,t)=>{var n,r,i,o;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:[...e.options,t.payload]};let s=t.payload,a=Cd(e,e=>(e.push(s),e));null===e.activeOptionIndex&&null!=(i=(r=e.dataRef.current).isSelected)&&i.call(r,t.payload.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(s));let l={...e,...a,activationTrigger:2};return null!=(o=e.dataRef.current)&&o.__demoMode&&void 0===e.dataRef.current.value&&(l.activeOptionIndex=0),l},5:(e,t)=>{var n;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:e.options.filter(e=>e.id!==t.id)};let r=Cd(e,e=>{let n=e.findIndex(e=>e.id===t.id);return-1!==n&&e.splice(n,1),e});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(e,t)=>{var n,r;if(null===e.virtual)return{...e,virtual:{options:t.options,disabled:null!=(n=t.disabled)?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let i=e.activeOptionIndex;if(null!==e.activeOptionIndex){let n=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i=-1!==n?n:null}return{...e,activeOptionIndex:i,virtual:{options:t.options,disabled:null!=(r=t.disabled)?r:()=>!1}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}};class Ad extends ga{constructor(e){super(e),wd(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:r,value:i}=this.state.dataRef.current;return Ea(r,{0:()=>null==t?void 0:t(e),1:()=>{let r=i.slice(),o=r.findIndex(t=>n(t,e));return-1===o?r.push(e):r.splice(o,1),null==t?void 0:t(r)}})},registerOption:(e,t)=>(this.send({type:4,payload:{id:e,dataRef:t}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(t.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:e})}),goToOption:(e,t)=>(this.send({type:6,value:!1}),this.send({type:2,...e,trigger:t})),setIsTyping:e=>{this.send({type:3,isTyping:e})},closeCombobox:()=>{var e,t;this.send({type:1}),this.send({type:6,value:!1}),null==(t=(e=this.state.dataRef.current).onClose)||t.call(e)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:e=>{this.send({type:7,trigger:e})},selectActiveOption:()=>{let e=this.selectors.activeOptionIndex(this.state);if(null!==e){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[e]);else{let{dataRef:t}=this.state.options[e];this.actions.onChange(t.current.value)}this.actions.goToOption({focus:Xc.Specific,idx:e})}},setInputElement:e=>{this.send({type:9,element:e})},setButtonElement:e=>{this.send({type:10,element:e})},setOptionsElement:e=>{this.send({type:11,element:e})}}),wd(this,"selectors",{activeDescendantId:e=>{var t,n;let r=this.selectors.activeOptionIndex(e);if(null!==r)return e.virtual?null==(n=e.options.find(t=>!t.dataRef.current.disabled&&e.dataRef.current.compare(t.dataRef.current.value,e.virtual.options[r])))?void 0:n.id:null==(t=e.options[r])?void 0:t.id},activeOptionIndex:e=>{if(e.defaultToFirstOption&&null===e.activeOptionIndex&&(e.virtual?e.virtual.options.length>0:e.options.length>0)){if(e.virtual){let{options:t,disabled:n}=e.virtual,r=t.findIndex(e=>{var t;return!(null!=(t=null==n?void 0:n(e))&&t)});if(-1!==r)return r}let t=e.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==t)return t}return e.activeOptionIndex},activeOption:e=>{var t,n;let r=this.selectors.activeOptionIndex(e);return null===r?null:e.virtual?e.virtual.options[null!=r?r:0]:null!=(n=null==(t=e.options[r])?void 0:t.dataRef.current.value)?n:null},isActive:(e,t,n)=>{var r;let i=this.selectors.activeOptionIndex(e);return null!==i&&(e.virtual?i===e.dataRef.current.calculateIndex(t):(null==(r=e.options[i])?void 0:r.id)===n)},shouldScrollIntoView:(e,t,n)=>!(e.virtual||e.__demoMode||0!==e.comboboxState||0===e.activationTrigger||!this.selectors.isActive(e,t,n))});{let e=this.state.id,t=Ca.get(null);this.disposables.add(t.on(_a.Push,n=>{!t.selectors.isTop(n,e)&&0===this.state.comboboxState&&this.actions.closeCombobox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}}static new({id:e,virtual:t=null,__demoMode:n=!1}){var r;return new Ad({id:e,dataRef:{current:{}},comboboxState:n?0:1,isTyping:!1,options:[],virtual:t?{options:t.options,disabled:null!=(r=t.disabled)?r:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:n})}reduce(e,t){return Ea(t.type,Nd,e,t)}}const Dd=(0,d.createContext)(null);function Od(e){let t=(0,d.useContext)(Dd);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Id),t}return t}function Id({id:e,virtual:t=null,__demoMode:n=!1}){let r=(0,d.useMemo)(()=>Ad.new({id:e,virtual:t,__demoMode:n}),[]);return cd(()=>r.dispose()),r}let Ld=(0,d.createContext)(null);function Fd(e){let t=(0,d.useContext)(Ld);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Fd),t}return t}Ld.displayName="ComboboxDataContext";let Rd=(0,d.createContext)(null);function Pd(e){let t=Od("VirtualProvider"),n=Fd("VirtualProvider"),{options:r}=n.virtual,i=Aa(t,e=>e.optionsElement),[o,s]=(0,d.useMemo)(()=>{let e=i;if(!e)return[0,0];let t=window.getComputedStyle(e);return[parseFloat(t.paddingBlockStart||t.paddingTop),parseFloat(t.paddingBlockEnd||t.paddingBottom)]},[i]),a=function(e){return function(e){const t=d.useReducer(()=>({}),{})[1],n={...e,onChange:(n,r)=>{var i;r?(0,Ls.flushSync)(t):t(),null==(i=e.onChange)||i.call(e,n,r)}},[r]=d.useState(()=>new Ks(n));return r.setOptions(n),Ys(()=>r._didMount(),[]),Ys(()=>r._willUpdate()),r}({observeElementRect:Us,observeElementOffset:qs,scrollToFn:Hs,...e})}({enabled:0!==r.length,scrollPaddingStart:o,scrollPaddingEnd:s,count:r.length,estimateSize:()=>40,getScrollElement:()=>t.state.optionsElement,overscan:12}),[l,u]=(0,d.useState)(0);na(()=>{u(e=>e+1)},[r]);let c=a.getVirtualItems(),f=Aa(t,e=>e.activationTrigger===Sd.Pointer),p=Aa(t,t.selectors.activeOptionIndex);return 0===c.length?null:d.createElement(Rd.Provider,{value:a},d.createElement("div",{style:{position:"relative",width:"100%",height:`${a.getTotalSize()}px`},ref:e=>{e&&(f||null!==p&&r.length>p&&a.scrollToIndex(p))}},c.map(t=>{var n;return d.createElement(d.Fragment,{key:t.key},d.cloneElement(null==(n=e.children)?void 0:n.call(e,{...e.slot,option:r[t.index]}),{key:`${l}-${t.key}`,"data-index":t.index,"aria-setsize":r.length,"aria-posinset":t.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${t.start}px)`,overflowAnchor:"none"}}))})))}let Md=d.Fragment,jd=Tc.RenderStrategy|Tc.Static,Vd=Lc(function(e,t){let n=(0,d.useId)(),r=wl(),{value:i,defaultValue:o,onChange:s,form:a,name:l,by:u,invalid:c=!1,disabled:f=r||!1,onClose:p,__demoMode:h=!1,multiple:m=!1,immediate:g=!1,virtual:y=null,nullable:v,...b}=e,E=function(e){let[t]=(0,d.useState)(e);return t}(o),[k=(m?[]:void 0),w]=function(e,t,n){let[r,i]=(0,d.useState)(n),o=void 0!==e,s=(0,d.useRef)(o),a=(0,d.useRef)(!1),l=(0,d.useRef)(!1);return!o||s.current||a.current?!o&&s.current&&!l.current&&(l.current=!0,s.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(a.current=!0,s.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?e:r,ia(e=>(o||i(e),null==t?void 0:t(e)))]}(i,s,E),x=Id({id:n,virtual:y,__demoMode:h}),_=(0,d.useRef)({static:!1,hold:!1}),S=function(e=oa){return(0,d.useCallback)((t,n)=>{if("string"==typeof e){let r=e;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e(t,n)},[e])}(u),T=ia(e=>y?null===u?y.options.indexOf(e):y.options.findIndex(t=>S(t,e)):x.state.options.findIndex(t=>S(t.dataRef.current.value,e))),C=(0,d.useCallback)(e=>Ea(D.mode,{[_d.Multi]:()=>k.some(t=>S(t,e)),[_d.Single]:()=>S(k,e)}),[k]),N=Aa(x,e=>e.virtual),A=ia(()=>null==p?void 0:p()),D=(0,d.useMemo)(()=>({__demoMode:h,immediate:g,optionsPropsRef:_,value:k,defaultValue:E,disabled:f,invalid:c,mode:m?_d.Multi:_d.Single,virtual:y?N:null,onChange:w,isSelected:C,calculateIndex:T,compare:S,onClose:A}),[k,E,f,c,m,w,C,h,x,y,N,A]);na(()=>{var e;y&&x.send({type:Td.UpdateVirtualConfiguration,options:y.options,disabled:null!=(e=y.disabled)?e:null})},[y,null==y?void 0:y.options,null==y?void 0:y.disabled]),na(()=>{x.state.dataRef.current=D},[D]);let[O,I,L,F]=Aa(x,e=>[e.comboboxState,e.buttonElement,e.inputElement,e.optionsElement]),R=Ca.get(null),P=Aa(R,(0,d.useCallback)(e=>R.selectors.isTop(e,n),[R,n]));tl(P,[I,L,F],()=>x.actions.closeCombobox());let M=Aa(x,x.selectors.activeOptionIndex),j=Aa(x,x.selectors.activeOption),V=(0,d.useMemo)(()=>({open:O===xd.Open,disabled:f,invalid:c,activeIndex:M,activeOption:j,value:k}),[D,f,k,c,j,O]),[U,B]=function({inherit:e=!1}={}){let t=od(),[n,r]=(0,d.useState)([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,(0,d.useMemo)(()=>function(e){let t=ia(e=>(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))),n=(0,d.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return d.createElement(rd.Provider,{value:n},e.children)},[r])]}(),$=null===t?{}:{ref:t},q=(0,d.useCallback)(()=>{if(void 0!==E)return null==w?void 0:w(E)},[w,E]),z=Nc();return d.createElement(B,{value:U,props:{htmlFor:null==L?void 0:L.id},slot:{open:O===xd.Open,disabled:f}},d.createElement(vc,null,d.createElement(Ld.Provider,{value:D},d.createElement(Dd.Provider,{value:x},d.createElement(Gc,{value:Ea(O,{[xd.Open]:Yc.Open,[xd.Closed]:Yc.Closed})},null!=l&&d.createElement(Bc,{disabled:f,data:null!=k?{[l]:k}:{},form:a,onReset:q}),z({ourProps:$,theirProps:b,slot:V,defaultTag:Md,name:"Combobox"}))))))}),Ud=Lc(function(e,t){let n=Od("Combobox.Button"),r=Fd("Combobox.Button"),[i,o]=(0,d.useState)(null),s=pl(t,o,n.actions.setButtonElement),a=(0,d.useId)(),{id:l=`headlessui-combobox-button-${a}`,disabled:u=r.disabled||!1,autoFocus:c=!1,...f}=e,[p,h,m]=Aa(n,e=>[e.comboboxState,e.inputElement,e.optionsElement]),g=sl(h);!function(e,{trigger:t,action:n,close:r,select:i}){let o=(0,d.useRef)(null);el(e&&null!==t,"pointerdown",e=>{Pa(null==e?void 0:e.target)&&null!=t&&t.contains(e.target)&&(o.current=new Date)}),el(e&&null!==t,"pointerup",e=>{if(null===o.current||!Va(e.target))return;let t=n(e),s=(new Date).getTime()-o.current.getTime();switch(o.current=null,t.kind){case 0:return;case 1:s>200&&(i(t.target),r());break;case 2:r()}},{capture:!0})}(p===xd.Open,{trigger:i,action:(0,d.useCallback)(e=>{if(null!=i&&i.contains(e.target))return ol.Ignore;if(null!=h&&h.contains(e.target))return ol.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return ja(t)?ol.Select(t):null!=m&&m.contains(e.target)?ol.Ignore:ol.Close},[i,h,m]),close:n.actions.closeCombobox,select:n.actions.selectActiveOption});let y=ia(e=>{switch(e.key){case nd.Space:case nd.Enter:return e.preventDefault(),e.stopPropagation(),n.state.comboboxState===xd.Closed&&(0,Ls.flushSync)(()=>n.actions.openCombobox()),void g();case nd.ArrowDown:return e.preventDefault(),e.stopPropagation(),n.state.comboboxState===xd.Closed&&((0,Ls.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:Xc.First})),void g();case nd.ArrowUp:return e.preventDefault(),e.stopPropagation(),n.state.comboboxState===xd.Closed&&((0,Ls.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:Xc.Last})),void g();case nd.Escape:if(n.state.comboboxState!==xd.Open)return;return e.preventDefault(),n.state.optionsElement&&!r.optionsPropsRef.current.static&&e.stopPropagation(),(0,Ls.flushSync)(()=>n.actions.closeCombobox()),void g();default:return}}),v=ia(e=>{e.preventDefault(),!function(e){let t=e.parentElement,n=null;for(;t&&!$a(t);)qa(t)&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(qa(t))return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget)&&(e.button===ud.Left&&(n.state.comboboxState===xd.Open?n.actions.closeCombobox():n.actions.openCombobox()),g())}),b=od([l]),{isFocusVisible:E,focusProps:k}=Cs({autoFocus:c}),{isHovered:w,hoverProps:x}=Is({isDisabled:u}),{pressed:_,pressProps:S}=function({disabled:e=!1}={}){let t=(0,d.useRef)(null),[n,r]=(0,d.useState)(!1),i=ta(),o=ia(()=>{t.current=null,r(!1),i.dispose()}),s=ia(e=>{if(i.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=Zs(e.currentTarget);i.addEventListener(n,"pointerup",o,!1),i.addEventListener(n,"pointermove",e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);r(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}},!1),i.addEventListener(n,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}({disabled:u}),T=(0,d.useMemo)(()=>({open:p===xd.Open,active:_||p===xd.Open,disabled:u,invalid:r.invalid,value:r.value,hover:w,focus:E}),[r,w,E,_,u,p]),C=Ic({ref:s,id:l,type:al(e,i),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==m?void 0:m.id,"aria-expanded":p===xd.Open,"aria-labelledby":b,disabled:u||void 0,autoFocus:c,onPointerDown:v,onKeyDown:y},k,x,S);return Nc()({ourProps:C,theirProps:f,slot:T,defaultTag:"button",name:"Combobox.Button"})}),Bd=Lc(function(e,t){var n,r;let i=Od("Combobox.Input"),o=Fd("Combobox.Input"),s=(0,d.useId)(),a=Kc(),{id:l=a||`headlessui-combobox-input-${s}`,onChange:u,displayValue:c,disabled:f=o.disabled||!1,autoFocus:p=!1,type:h="text",...m}=e,[g]=Aa(i,e=>[e.inputElement]),y=(0,d.useRef)(null),v=pl(y,t,(0,d.useContext)(mc).setReference,i.actions.setInputElement),b=nl(g),[E,k]=Aa(i,e=>[e.comboboxState,e.isTyping]),w=ta(),x=ia(()=>{i.actions.onChange(null),i.state.optionsElement&&(i.state.optionsElement.scrollTop=0),i.actions.goToOption({focus:Xc.Nothing})});El(([e,t],[n,r])=>{if(i.state.isTyping)return;let o=y.current;o&&((r===xd.Open&&t===xd.Closed||e!==n)&&(o.value=e),requestAnimationFrame(()=>{if(i.state.isTyping||!o||(null==b?void 0:b.activeElement)!==o)return;let{selectionStart:e,selectionEnd:t}=o;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&o.setSelectionRange(o.value.length,o.value.length)}))},[(0,d.useMemo)(()=>{var e;return"function"==typeof c&&void 0!==o.value?null!=(e=c(o.value))?e:"":"string"==typeof o.value?o.value:""},[o.value,c]),E,b,k]),El(([e],[t])=>{if(e===xd.Open&&t===xd.Closed){if(i.state.isTyping)return;let e=y.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:o}=e;e.value="",e.value=t,null!==o?e.setSelectionRange(n,r,o):e.setSelectionRange(n,r)}},[E]);let _=(0,d.useRef)(!1),S=ia(()=>{_.current=!0}),T=ia(()=>{w.nextFrame(()=>{_.current=!1})}),C=ia(e=>{switch(i.actions.setIsTyping(!0),e.key){case nd.Enter:if(i.state.comboboxState!==xd.Open||_.current)return;if(e.preventDefault(),e.stopPropagation(),null===i.selectors.activeOptionIndex(i.state))return void i.actions.closeCombobox();i.actions.selectActiveOption(),o.mode===_d.Single&&i.actions.closeCombobox();break;case nd.ArrowDown:return e.preventDefault(),e.stopPropagation(),Ea(i.state.comboboxState,{[xd.Open]:()=>i.actions.goToOption({focus:Xc.Next}),[xd.Closed]:()=>i.actions.openCombobox()});case nd.ArrowUp:return e.preventDefault(),e.stopPropagation(),Ea(i.state.comboboxState,{[xd.Open]:()=>i.actions.goToOption({focus:Xc.Previous}),[xd.Closed]:()=>{(0,Ls.flushSync)(()=>i.actions.openCombobox()),o.value||i.actions.goToOption({focus:Xc.Last})}});case nd.Home:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),i.actions.goToOption({focus:Xc.First});case nd.PageUp:return e.preventDefault(),e.stopPropagation(),i.actions.goToOption({focus:Xc.First});case nd.End:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),i.actions.goToOption({focus:Xc.Last});case nd.PageDown:return e.preventDefault(),e.stopPropagation(),i.actions.goToOption({focus:Xc.Last});case nd.Escape:return i.state.comboboxState!==xd.Open?void 0:(e.preventDefault(),i.state.optionsElement&&!o.optionsPropsRef.current.static&&e.stopPropagation(),o.mode===_d.Single&&null===o.value&&x(),i.actions.closeCombobox());case nd.Tab:if(i.state.comboboxState!==xd.Open)return;o.mode===_d.Single&&i.state.activationTrigger!==Sd.Focus&&i.actions.selectActiveOption(),i.actions.closeCombobox()}}),N=ia(e=>{null==u||u(e),o.mode===_d.Single&&""===e.target.value&&x(),i.actions.openCombobox()}),A=ia(e=>{var t,n,r;let s=null!=(t=e.relatedTarget)?t:Qc.find(t=>t!==e.currentTarget);if(!(null!=(n=i.state.optionsElement)&&n.contains(s)||null!=(r=i.state.buttonElement)&&r.contains(s)||i.state.comboboxState!==xd.Open))return e.preventDefault(),o.mode===_d.Single&&null===o.value&&x(),i.actions.closeCombobox()}),D=ia(e=>{var t,n,r;let s=null!=(t=e.relatedTarget)?t:Qc.find(t=>t!==e.currentTarget);null!=(n=i.state.buttonElement)&&n.contains(s)||null!=(r=i.state.optionsElement)&&r.contains(s)||o.disabled||o.immediate&&i.state.comboboxState!==xd.Open&&w.microTask(()=>{(0,Ls.flushSync)(()=>i.actions.openCombobox()),i.actions.setActivationTrigger(Sd.Focus)})}),O=od(),I=function(){var e,t;return null!=(t=null==(e=(0,d.useContext)(Jc))?void 0:e.value)?t:void 0}(),{isFocused:L,focusProps:F}=Cs({autoFocus:p}),{isHovered:R,hoverProps:P}=Is({isDisabled:f}),M=Aa(i,e=>e.optionsElement),j=(0,d.useMemo)(()=>({open:E===xd.Open,disabled:f,invalid:o.invalid,hover:R,focus:L,autofocus:p}),[o,R,L,p,f,o.invalid]),V=Ic({ref:v,id:l,role:"combobox",type:h,"aria-controls":null==M?void 0:M.id,"aria-expanded":E===xd.Open,"aria-activedescendant":Aa(i,i.selectors.activeDescendantId),"aria-labelledby":O,"aria-describedby":I,"aria-autocomplete":"list",defaultValue:null!=(r=null!=(n=e.defaultValue)?n:void 0!==o.defaultValue?null==c?void 0:c(o.defaultValue):null)?r:o.defaultValue,disabled:f||void 0,autoFocus:p,onCompositionStart:S,onCompositionEnd:T,onKeyDown:C,onChange:N,onFocus:D,onBlur:A},F,P);return Nc()({ourProps:V,theirProps:m,slot:j,defaultTag:"input",name:"Combobox.Input"})}),$d=ad,qd=Lc(function(e,t){var n,r,i;let o=(0,d.useId)(),{id:s=`headlessui-combobox-options-${o}`,hold:a=!1,anchor:l,portal:u=!1,modal:c=!0,transition:f=!1,...p}=e,h=Od("Combobox.Options"),m=Fd("Combobox.Options"),g=function(e){return(0,d.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}(l);g&&(u=!0);let[y,v]=yc(g),[b,E]=(0,d.useState)(null),k=function(){let{getFloatingProps:e,slot:t}=(0,d.useContext)(mc);return(0,d.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}(),w=pl(t,g?y:null,h.actions.setOptionsElement,E),[x,_,S,T,C]=Aa(h,e=>[e.comboboxState,e.inputElement,e.buttonElement,e.optionsElement,e.activationTrigger]),N=nl(_||S),A=nl(T),D=(0,d.useContext)(Wc),[O,I]=function(e,t,n,r){let[i,o]=(0,d.useState)(n),{hasFlag:s,addFlag:a,removeFlag:l}=function(e=0){let[t,n]=(0,d.useState)(e),r=(0,d.useCallback)(e=>n(e),[t]),i=(0,d.useCallback)(e=>n(t=>t|e),[t]),o=(0,d.useCallback)(e=>(t&e)===e,[t]),s=(0,d.useCallback)(e=>n(t=>t&~e),[n]),a=(0,d.useCallback)(e=>n(t=>t^e),[n]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}(e&&i?3:0),u=(0,d.useRef)(!1),c=(0,d.useRef)(!1),f=ta();return na(()=>{var i;if(e)return n&&o(!0),t?(null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=ea();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(function(e,t){var n,r;let i=ea();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===s.length?(t(),i.dispose):(Promise.allSettled(s.map(e=>e.finished)).then(()=>{o||t()}),i.dispose)}(e,r))})}),o.dispose}(t,{inFlight:u,prepare(){c.current?c.current=!1:c.current=u.current,u.current=!0,!c.current&&(n?(a(3),l(4)):(a(4),l(2)))},run(){c.current?n?(l(3),a(4)):(l(4),a(3)):n?l(1):a(1)},done(){var e;c.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(u.current=!1,l(7),n||o(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})):void(n&&a(3))},[e,n,t,f]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(f,b,null!==D?(D&Yc.Open)===Yc.Open:x===xd.Open);!function(e,t,n){let r=ra(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,d.useEffect)(()=>{if(!e)return;let n=null===t?null:ja(t)?t:t.current;if(!n)return;let i=ea();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}return()=>i.dispose()},[t,r,e])}(O,_,h.actions.closeCombobox),dl(!m.__demoMode&&c&&x===xd.Open,A),Ra(!m.__demoMode&&c&&x===xd.Open,{allowed:(0,d.useCallback)(()=>[_,S,T],[_,S,T])}),na(()=>{var t;m.optionsPropsRef.current.static=null!=(t=e.static)&&t},[m.optionsPropsRef,e.static]),na(()=>{m.optionsPropsRef.current.hold=a},[m.optionsPropsRef,a]),function(e,{container:t,accept:n,walk:r}){let i=(0,d.useRef)(n),o=(0,d.useRef)(r);(0,d.useEffect)(()=>{i.current=n,o.current=r},[n,r]),na(()=>{if(!t||!e)return;let n=Zs(t);if(!n)return;let r=i.current,s=o.current,a=Object.assign(e=>r(e),{acceptNode:r}),l=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,a,!1);for(;l.nextNode();)s(l.currentNode)},[t,e,i,o])}(x===xd.Open,{container:T,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let L=od([null==S?void 0:S.id]),F=(0,d.useMemo)(()=>({open:x===xd.Open,option:void 0}),[x]),R=ia(()=>{h.actions.setActivationTrigger(Sd.Pointer)}),P=ia(e=>{e.preventDefault(),h.actions.setActivationTrigger(Sd.Pointer)}),M=Ic(g?k():{},{"aria-labelledby":L,role:"listbox","aria-multiselectable":m.mode===_d.Multi||void 0,id:s,ref:w,style:{...p.style,...v,"--input-width":sa(_,!0).width,"--button-width":sa(S,!0).width},onWheel:C===Sd.Pointer?void 0:R,onMouseDown:P,...bl(I)}),j=O&&x===xd.Closed,V=zc(j,null==(n=m.virtual)?void 0:n.options),U=zc(j,m.value),B=ia(e=>m.compare(U,e)),$=(0,d.useMemo)(()=>{if(!m.virtual)return m;if(void 0===V)throw new Error("Missing `options` in virtual mode");return V!==m.virtual.options?{...m,virtual:{...m.virtual,options:V}}:m},[m,V,null==(r=m.virtual)?void 0:r.options]);m.virtual&&Object.assign(p,{children:d.createElement(Ld.Provider,{value:$},d.createElement(Pd,{slot:F},p.children))});let q=Nc(),z=(0,d.useMemo)(()=>m.mode===_d.Multi?m:{...m,isSelected:B},[m,B]);return d.createElement(bd,{enabled:!!u&&(e.static||O),ownerDocument:N},d.createElement(Ld.Provider,{value:z},q({ourProps:M,theirProps:{...p,children:d.createElement(qc,{freeze:j},"function"==typeof p.children?null==(i=p.children)?void 0:i.call(p,F):p.children)},slot:F,defaultTag:"div",features:jd,visible:O,name:"Combobox.Options"})))}),zd=Lc(function(e,t){var n,r,i;let o=Fd("Combobox.Option"),s=Od("Combobox.Option"),a=(0,d.useId)(),{id:l=`headlessui-combobox-option-${a}`,value:u,disabled:c=null!=(i=null==(r=null==(n=o.virtual)?void 0:n.disabled)?void 0:r.call(n,u))&&i,order:f=null,...p}=e,[h]=Aa(s,e=>[e.inputElement]),m=sl(h),g=Aa(s,(0,d.useCallback)(e=>s.selectors.isActive(e,u,l),[u,l])),y=o.isSelected(u),v=(0,d.useRef)(null),b=ra({disabled:c,value:u,domRef:v,order:f}),E=(0,d.useContext)(Rd),k=pl(t,v,E?E.measureElement:null),w=ia(()=>{s.actions.setIsTyping(!1),s.actions.onChange(u)});na(()=>s.actions.registerOption(l,b),[b,l]);let x=Aa(s,(0,d.useCallback)(e=>s.selectors.shouldScrollIntoView(e,u,l),[u,l]));na(()=>{if(x)return ea().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=v.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[x,v]);let _=ia(e=>{e.preventDefault(),e.button===ud.Left&&(c||(w(),Ja()||requestAnimationFrame(()=>m()),o.mode===_d.Single&&s.actions.closeCombobox()))}),S=ia(()=>{if(c)return s.actions.goToOption({focus:Xc.Nothing});let e=o.calculateIndex(u);s.actions.goToOption({focus:Xc.Specific,idx:e})}),T=function(){let e=(0,d.useRef)([-1,-1]);return{wasMoved(t){let n=hl(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=hl(t)}}}(),C=ia(e=>T.update(e)),N=ia(e=>{if(!T.wasMoved(e)||c||g)return;let t=o.calculateIndex(u);s.actions.goToOption({focus:Xc.Specific,idx:t},Sd.Pointer)}),A=ia(e=>{T.wasMoved(e)&&(c||g&&(o.optionsPropsRef.current.hold||s.actions.goToOption({focus:Xc.Nothing})))}),D=(0,d.useMemo)(()=>({active:g,focus:g,selected:y,disabled:c}),[g,y,c]),O={id:l,ref:k,role:"option",tabIndex:!0===c?void 0:-1,"aria-disabled":!0===c||void 0,"aria-selected":y,disabled:void 0,onMouseDown:_,onFocus:S,onPointerEnter:C,onMouseEnter:C,onPointerMove:N,onMouseMove:N,onPointerLeave:A,onMouseLeave:A};return Nc()({ourProps:O,theirProps:p,slot:D,defaultTag:"div",name:"Combobox.Option"})}),Hd=Object.assign(Vd,{Input:Bd,Button:Ud,Label:$d,Options:qd,Option:zd});const Kd=()=>{const e=(0,m.c)(32),t=xf(),{push:n}=_f(),r=(0,d.useRef)(null),i=function(){const e=(0,m.c)(5),t=xf(),n=St(Wd);let r;e[0]!==t?(r=t.at(-1),e[0]=t,e[1]=r):r=e[1];const i=r;let o;return e[2]!==i||e[3]!==n?(o=e=>{const t={within:[],types:[],fields:[]};if(!n)return t;const r=i.def,o=n.getTypeMap();let s=Object.keys(o);r&&(s=s.filter(e=>e!==r.name),s.unshift(r.name));for(const n of s){if(t.within.length+t.types.length+t.fields.length>=100)break;const i=o[n];if(r!==i&&Yd(n,e)&&t.types.push({type:i}),!(0,g.YQ)(i)&&!(0,g.kD)(i)&&!(0,g.qK)(i))continue;const s=i.getFields();for(const n in s){const o=s[n];let a;if(!Yd(n,e)){if(!("args"in o))continue;if(a=o.args.filter(t=>Yd(t.name,e)),0===a.length)continue}t[r===i?"within":"fields"].push(...a?a.map(e=>({type:i,field:o,argument:e})):[{type:i,field:o}])}}return t},e[2]=i,e[3]=n,e[4]=o):o=e[4],o}(),[o,s]=(0,d.useState)("");let a;e[0]!==i||e[1]!==o?(a=()=>i(o),e[0]=i,e[1]=o,e[2]=a):a=e[2];const[l,u]=(0,d.useState)(a);let c;e[3]!==i?(c=Qe(200,e=>{u(i(e))}),e[3]=i,e[4]=c):c=e[4];const f=c,[p]=(0,d.useState)(r),y=p.current===document.activeElement;let v,b,E,k,w;if(e[5]!==f||e[6]!==o?(v=()=>{f(o)},b=[f,o],e[5]=f,e[6]=o,e[7]=v,e[8]=b):(v=e[7],b=e[8]),(0,d.useEffect)(v,b),e[9]!==t||e[10]!==n){let r;E=t.at(-1),e[14]!==n?(r=e=>{e&&n("field"in e?{name:e.field.name,def:e.field}:{name:e.type.name,def:e.type})},e[14]=n,e[15]=r):r=e[15],k=r,w=1===t.length||(0,g.YQ)(E.def)||(0,g.kD)(E.def)||(0,g.qK)(E.def),e[9]=t,e[10]=n,e[11]=E,e[12]=k,e[13]=w}else E=e[11],k=e[12],w=e[13];if(!w)return null;const x=y?void 0:"idle",_=`Search ${E.name}...`;let S,T,C,N,A,D,O;return e[16]===Symbol.for("react.memo_cache_sentinel")?(S=()=>{r.current.focus()},T=(0,h.jsx)(Kt,{}),e[16]=S,e[17]=T):(S=e[16],T=e[17]),e[18]===Symbol.for("react.memo_cache_sentinel")?(N=e=>s(e.target.value),C=me(me(ge.searchInDocs.key).replaceAll("-"," ")),e[18]=C,e[19]=N):(C=e[18],N=e[19]),e[20]!==o||e[21]!==C?(A=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-search-input",onClick:S,children:[T,(0,h.jsx)(Bd,{autoComplete:"off",onChange:N,placeholder:C,ref:r,value:o,"data-cy":"doc-explorer-input"})]}),e[20]=o,e[21]=C,e[22]=A):A=e[22],e[23]!==y||e[24]!==l?(D=y&&(0,h.jsxs)(qd,{"data-cy":"doc-explorer-list",children:[l.within.length+l.types.length+l.fields.length===0?(0,h.jsx)("div",{className:"graphiql-doc-explorer-search-empty",children:"No results found"}):l.within.map(Xd),l.within.length>0&&l.types.length+l.fields.length>0?(0,h.jsx)("div",{className:"graphiql-doc-explorer-search-divider",children:"Other results"}):null,l.types.map(Zd),l.fields.map(Jd)]}),e[23]=y,e[24]=l,e[25]=D):D=e[25],e[26]!==k||e[27]!==A||e[28]!==D||e[29]!==x||e[30]!==_?(O=(0,h.jsxs)(Hd,{as:"div",className:"graphiql-doc-explorer-search",onChange:k,"data-state":x,"aria-label":_,children:[A,D]}),e[26]=k,e[27]=A,e[28]=D,e[29]=x,e[30]=_,e[31]=O):O=e[31],O};function Wd(e){return e.schema}function Yd(e,t){try{const n=t.replaceAll(/[^_0-9A-Za-z]/g,e=>"\\"+e);return new RegExp(n,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}const Gd=e=>{const t=(0,m.c)(2),{type:n}=e;let r;return t[0]!==n.name?(r=(0,h.jsx)("span",{className:"graphiql-doc-explorer-search-type",children:n.name}),t[0]=n.name,t[1]=r):r=t[1],r},Qd=e=>{const t=(0,m.c)(7),{field:n,argument:r}=e;let i,o,s;return t[0]!==n.name?(i=(0,h.jsx)("span",{className:"graphiql-doc-explorer-search-field",children:n.name}),t[0]=n.name,t[1]=i):i=t[1],t[2]!==r?(o=r?(0,h.jsxs)(h.Fragment,{children:["(",(0,h.jsx)("span",{className:"graphiql-doc-explorer-search-argument",children:r.name}),":"," ",Io(r.type,ef),")"]}):null,t[2]=r,t[3]=o):o=t[3],t[4]!==i||t[5]!==o?(s=(0,h.jsxs)(h.Fragment,{children:[i,o]}),t[4]=i,t[5]=o,t[6]=s):s=t[6],s};function Xd(e,t){return(0,h.jsx)(zd,{value:e,"data-cy":"doc-explorer-option",children:(0,h.jsx)(Qd,{field:e.field,argument:e.argument})},`within-${t}`)}function Zd(e,t){return(0,h.jsx)(zd,{value:e,"data-cy":"doc-explorer-option",children:(0,h.jsx)(Gd,{type:e.type})},`type-${t}`)}function Jd(e,t){return(0,h.jsxs)(zd,{value:e,"data-cy":"doc-explorer-option",children:[(0,h.jsx)(Gd,{type:e.type}),".",(0,h.jsx)(Qd,{field:e.field,argument:e.argument})]},`field-${t}`)}function ef(e){return(0,h.jsx)(Gd,{type:e})}const tf=e=>{const t=(0,m.c)(6),{field:n}=e,{push:r}=_f();let i,o;return t[0]!==n||t[1]!==r?(i=e=>{e.preventDefault(),r({name:n.name,def:n})},t[0]=n,t[1]=r,t[2]=i):i=t[2],t[3]!==n.name||t[4]!==i?(o=(0,h.jsx)("a",{className:"graphiql-doc-explorer-field-name",onClick:i,href:"#",children:n.name}),t[3]=n.name,t[4]=i,t[5]=o):o=t[5],o},nf=e=>{const t=(0,m.c)(2),{type:n}=e;let r;return t[0]!==n?(r=(0,g.sy)(n)?(0,h.jsxs)(h.Fragment,{children:[n.description?(0,h.jsx)(Co,{type:"description",children:n.description}):null,(0,h.jsx)(rf,{type:n}),(0,h.jsx)(of,{type:n}),(0,h.jsx)(af,{type:n}),(0,h.jsx)(uf,{type:n})]}):null,t[0]=n,t[1]=r):r=t[1],r},rf=e=>{const t=(0,m.c)(5),{type:n}=e;if(!(0,g.YQ)(n))return null;let r;t[0]!==n?(r=n.getInterfaces(),t[0]=n,t[1]=r):r=t[1];const i=r;let o;return t[2]!==i.length||t[3]!==n?(o=i.length>0?(0,h.jsx)(Mo,{title:"Implements",children:n.getInterfaces().map(cf)}):null,t[2]=i.length,t[3]=n,t[4]=o):o=t[4],o},of=e=>{const t=(0,m.c)(12),{type:n}=e,[r,i]=(0,d.useState)(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{i(!0)},t[0]=o):o=t[0];const s=o;if(!(0,g.YQ)(n)&&!(0,g.kD)(n)&&!(0,g.qK)(n))return null;let a,l,u,c,f;if(t[1]!==n){const e=n.getFields();l=[],a=[];for(const t of Object.keys(e).map(t=>e[t]))t.deprecationReason?a.push(t):l.push(t);u=l.length>0?(0,h.jsx)(Mo,{title:"Fields",children:l.map(df)}):null,t[1]=n,t[2]=a,t[3]=l,t[4]=u}else a=t[2],l=t[3],u=t[4];return t[5]!==a||t[6]!==l.length||t[7]!==r?(c=a.length>0?r||0===l.length?(0,h.jsx)(Mo,{title:"Deprecated Fields",children:a.map(ff)}):(0,h.jsx)(Ao,{type:"button",onClick:s,children:"Show Deprecated Fields"}):null,t[5]=a,t[6]=l.length,t[7]=r,t[8]=c):c=t[8],t[9]!==u||t[10]!==c?(f=(0,h.jsxs)(h.Fragment,{children:[u,c]}),t[9]=u,t[10]=c,t[11]=f):f=t[11],f},sf=e=>{const t=(0,m.c)(22),{field:n}=e;let r,i,o,s,a,l,u,c,d;if(t[0]!==n){const e="args"in n?n.args.filter(pf):[];o="graphiql-doc-explorer-item",r=(0,h.jsx)(tf,{field:n}),i=e.length>0?(0,h.jsxs)(h.Fragment,{children:["(",(0,h.jsx)("span",{children:e.map(t=>1===e.length?(0,h.jsx)(Fo,{arg:t,inline:!0},t.name):(0,h.jsx)("div",{className:"graphiql-doc-explorer-argument-multiple",children:(0,h.jsx)(Fo,{arg:t,inline:!0})},t.name))}),")"]}):null,t[0]=n,t[1]=r,t[2]=i,t[3]=o}else r=t[1],i=t[2],o=t[3];return t[4]!==n.type?(s=(0,h.jsx)(Lo,{type:n.type}),t[4]=n.type,t[5]=s):s=t[5],t[6]!==n?(a=(0,h.jsx)(Oo,{field:n}),t[6]=n,t[7]=a):a=t[7],t[8]!==r||t[9]!==i||t[10]!==s||t[11]!==a?(l=(0,h.jsxs)("div",{children:[r,i,": ",s,a]}),t[8]=r,t[9]=i,t[10]=s,t[11]=a,t[12]=l):l=t[12],t[13]!==n.description?(u=n.description?(0,h.jsx)(Co,{type:"description",onlyShowFirstChild:!0,children:n.description}):null,t[13]=n.description,t[14]=u):u=t[14],t[15]!==n.deprecationReason?(c=(0,h.jsx)(Ro,{children:n.deprecationReason}),t[15]=n.deprecationReason,t[16]=c):c=t[16],t[17]!==o||t[18]!==l||t[19]!==u||t[20]!==c?(d=(0,h.jsxs)("div",{className:o,children:[l,u,c]}),t[17]=o,t[18]=l,t[19]=u,t[20]=c,t[21]=d):d=t[21],d},af=e=>{const t=(0,m.c)(12),{type:n}=e,[r,i]=(0,d.useState)(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{i(!0)},t[0]=o):o=t[0];const s=o;if(!(0,g.oF)(n))return null;let a,l,u,c,f;if(t[1]!==n){u=[],a=[];for(const e of n.getValues())e.deprecationReason?a.push(e):u.push(e);l=u.length>0&&(0,h.jsx)(Mo,{title:"Enum Values",children:u.map(hf)}),t[1]=n,t[2]=a,t[3]=l,t[4]=u}else a=t[2],l=t[3],u=t[4];return t[5]!==a||t[6]!==r||t[7]!==u.length?(c=a.length>0&&(r||!u.length?(0,h.jsx)(Mo,{title:"Deprecated Enum Values",children:a.map(mf)}):(0,h.jsx)(Ao,{type:"button",onClick:s,children:"Show Deprecated Values"})),t[5]=a,t[6]=r,t[7]=u.length,t[8]=c):c=t[8],t[9]!==l||t[10]!==c?(f=(0,h.jsxs)(h.Fragment,{children:[l,c]}),t[9]=l,t[10]=c,t[11]=f):f=t[11],f},lf=e=>{const t=(0,m.c)(10),{value:n}=e;let r,i,o,s;return t[0]!==n.name?(r=(0,h.jsx)("div",{className:"graphiql-doc-explorer-enum-value",children:n.name}),t[0]=n.name,t[1]=r):r=t[1],t[2]!==n.description?(i=n.description&&(0,h.jsx)(Co,{type:"description",children:n.description}),t[2]=n.description,t[3]=i):i=t[3],t[4]!==n.deprecationReason?(o=n.deprecationReason&&(0,h.jsx)(Co,{type:"deprecation",children:n.deprecationReason}),t[4]=n.deprecationReason,t[5]=o):o=t[5],t[6]!==r||t[7]!==i||t[8]!==o?(s=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-item",children:[r,i,o]}),t[6]=r,t[7]=i,t[8]=o,t[9]=s):s=t[9],s},uf=e=>{const t=(0,m.c)(6),{type:n}=e,r=St(gf);if(!r||!(0,g.Lc)(n))return null;const i=(0,g.kD)(n)?"Implementations":"Possible Types";let o,s;return t[0]!==r||t[1]!==n?(o=r.getPossibleTypes(n).map(yf),t[0]=r,t[1]=n,t[2]=o):o=t[2],t[3]!==i||t[4]!==o?(s=(0,h.jsx)(Mo,{title:i,children:o}),t[3]=i,t[4]=o,t[5]=s):s=t[5],s};function cf(e){return(0,h.jsx)("div",{children:(0,h.jsx)(Lo,{type:e})},e.name)}function df(e){return(0,h.jsx)(sf,{field:e},e.name)}function ff(e){return(0,h.jsx)(sf,{field:e},e.name)}function pf(e){return!e.deprecationReason}function hf(e){return(0,h.jsx)(lf,{value:e},e.name)}function mf(e){return(0,h.jsx)(lf,{value:e},e.name)}function gf(e){return e.schema}function yf(e){return(0,h.jsx)("div",{children:(0,h.jsx)(Lo,{type:e})},e.name)}const vf={title:"Documentation Explorer",icon:function(){return St(e=>e.visiblePlugin)===vf?(0,h.jsx)(Vt,{}):(0,h.jsx)(Ut,{})},content:()=>{const e=(0,m.c)(39);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=ln("fetchError","isIntrospecting","schema","validationErrors"),e[0]=t):t=e[0];const{fetchError:n,isIntrospecting:r,schema:i,validationErrors:o}=St(t),s=xf(),{pop:a}=_f();let l,u,c,d,f,p,y,v,b,E;if(e[1]!==s||e[2]!==n||e[3]!==r||e[4]!==i||e[5]!==o){if(u=s.at(-1),l=null,n){let t;e[8]===Symbol.for("react.memo_cache_sentinel")?(t=(0,h.jsx)("div",{className:"graphiql-doc-explorer-error",children:"Error fetching schema"}),e[8]=t):t=e[8],l=t}else if(o[0]){let t;e[9]!==o[0].message?(t=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-error",children:["Schema is invalid: ",o[0].message]}),e[9]=o[0].message,e[10]=t):t=e[10],l=t}else if(r){let t;e[11]===Symbol.for("react.memo_cache_sentinel")?(t=(0,h.jsx)(fn,{}),e[11]=t):t=e[11],l=t}else if(i){if(1===s.length){let t;e[13]!==i?(t=(0,h.jsx)(Ho,{schema:i}),e[13]=i,e[14]=t):t=e[14],l=t}else if((0,g.Xj)(u.def)){let t;e[15]!==u.def?(t=(0,h.jsx)(nf,{type:u.def}),e[15]=u.def,e[16]=t):t=e[16],l=t}else if(u.def){let t;e[17]!==u.def?(t=(0,h.jsx)(Vo,{field:u.def}),e[17]=u.def,e[18]=t):t=e[18],l=t}}else{let t;e[12]===Symbol.for("react.memo_cache_sentinel")?(t=(0,h.jsx)("div",{className:"graphiql-doc-explorer-error",children:"No GraphQL schema available"}),e[12]=t):t=e[12],l=t}e[1]=s,e[2]=n,e[3]=r,e[4]=i,e[5]=o,e[6]=l,e[7]=u}else l=e[6],u=e[7];if(s.length>1){let t;e[19]!==s?(t=s.at(-2),e[19]=s,e[20]=t):t=e[20],c=t.name}return e[21]!==a||e[22]!==c?(d=c&&(0,h.jsxs)("a",{href:"#",className:"graphiql-doc-explorer-back",onClick:e=>{e.preventDefault(),a()},"aria-label":`Go back to ${c}`,children:[(0,h.jsx)(Ot,{}),c]}),e[21]=a,e[22]=c,e[23]=d):d=e[23],e[24]!==u.name?(f=(0,h.jsx)("div",{className:"graphiql-doc-explorer-title",children:u.name}),e[24]=u.name,e[25]=f):f=e[25],e[26]!==d||e[27]!==f?(p=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-header-content",children:[d,f]}),e[26]=d,e[27]=f,e[28]=p):p=e[28],e[29]!==u.name?(y=(0,h.jsx)(Kd,{},u.name),e[29]=u.name,e[30]=y):y=e[30],e[31]!==p||e[32]!==y?(v=(0,h.jsxs)("div",{className:"graphiql-doc-explorer-header",children:[p,y]}),e[31]=p,e[32]=y,e[33]=v):v=e[33],e[34]!==l?(b=(0,h.jsx)("div",{className:"graphiql-doc-explorer-content",children:l}),e[34]=l,e[35]=b):b=e[35],e[36]!==v||e[37]!==b?(E=(0,h.jsxs)("section",{className:"graphiql-doc-explorer","aria-label":"Documentation Explorer",children:[v,b]}),e[36]=v,e[37]=b,e[38]=E):E=e[38],E}},bf=[{name:"Docs"}],Ef=v((e,t)=>({explorerNavStack:bf,actions:{push(t){e(e=>{const n=e.explorerNavStack;return{explorerNavStack:n.at(-1).def===t.def?n:[...n,t]}})},pop(){e(e=>{const t=e.explorerNavStack;return{explorerNavStack:t.length>1?t.slice(0,-1):t}})},reset(){e(e=>{const t=e.explorerNavStack;return{explorerNavStack:1===t.length?t:bf}})},resolveSchemaReferenceToNavItem(e){if(!e)return;const{kind:n,typeInfo:r}=e,i=function(e,t){return"Field"===e&&t.fieldDef||"AliasedField"===e&&t.fieldDef?function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:un(e.fieldDef)?null:e.parentType}}(t):"Directive"===e&&t.directiveDef?function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}(t):"Argument"===e&&t.argDef?function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:un(e.fieldDef)?null:e.parentType}}(t):"EnumValue"===e&&t.enumValue?function(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?(0,g.MR)(e.inputType):void 0}}(t):"NamedType"===e&&t.type?function(e){return{kind:"Type",schema:e.schema,type:e.type}}(t):void 0}(n,r);if(!i)return;const{push:o}=t().actions;switch(i.kind){case"Type":o({name:i.type.name,def:i.type});break;case"Field":i.type&&o({name:i.type.name,def:i.type}),o({name:i.field.name,def:i.field});break;case"Argument":i.field&&o({name:i.field.name,def:i.field});break;case"EnumValue":i.type&&o({name:i.type.name,def:i.type})}},rebuildNavStackWithSchema(t){e(e=>{const n=e.explorerNavStack;if(1===n.length)return e;const r=[...bf];let i=null;for(const e of n)if(e!==bf[0])if(e.def)if((0,g.sy)(e.def)){const n=t.getType(e.def.name);if(!n)break;r.push({name:e.name,def:n}),i=n}else{if(null===i)break;if((0,g.YQ)(i)||(0,g.qK)(i)){const t=i.getFields()[e.name];if(!t)break;r.push({name:e.name,def:t})}else{if((0,g.lg)(i)||(0,g.oF)(i)||(0,g.kD)(i)||(0,g.CK)(i))break;{const t=i;if(!t.args.some(t=>t.name===e.name))break;r.push({name:e.name,def:t})}}}else i=null,r.push(e);return{explorerNavStack:r}})}}})),kf=e=>{const t=(0,m.c)(9),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=ln("schema","validationErrors","schemaReference"),t[0]=r):r=t[0];const{schema:i,validationErrors:o,schemaReference:s}=St(r);let a,l,u,c,f;return t[1]!==s?(a=()=>{const{resolveSchemaReferenceToNavItem:e}=Ef.getState().actions;e(s)},l=[s],t[1]=s,t[2]=a,t[3]=l):(a=t[2],l=t[3]),(0,d.useEffect)(a,l),t[4]!==i||t[5]!==o?(u=()=>{const{reset:e,rebuildNavStackWithSchema:t}=Ef.getState().actions;null==i||o.length>0?e():t(i)},c=[i,o],t[4]=i,t[5]=o,t[6]=u,t[7]=c):(u=t[6],c=t[7]),(0,d.useEffect)(u,c),t[8]===Symbol.for("react.memo_cache_sentinel")?(f=[],t[8]=f):f=t[8],(0,d.useEffect)(Tf,f),n},wf=We(Ef),xf=()=>wf(Cf),_f=()=>wf(Nf);function Sf(){const e=document.querySelector(".graphiql-doc-explorer-search-input");null==e||e.click()}function Tf(){const e=function(e){if(!e.altKey||!e[he?"metaKey":"ctrlKey"]||"KeyK"!==e.code)return;const t=document.querySelector('.graphiql-sidebar button[aria-label="Show Documentation Explorer"]');null==t||t.click(),requestAnimationFrame(Sf)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}function Cf(e){return e.explorerNavStack}function Nf(e){return e.actions}var Af=s(12833);const Df=({title:e,titleId:t,...n})=>d.createElement("svg",{width:5,height:8,viewBox:"0 0 5 8",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M0.910453 6.86965L3.88955 3.89061C4.09782 3.68233 4.09782 3.34465 3.88955 3.13637L0.910453 0.157278C0.574475 -0.178701 0 0.0592511 0 0.534408V6.49259C0 6.96768 0.574475 7.20565 0.910453 6.86965Z"})),Of=({title:e,titleId:t,...n})=>d.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",fill:"none","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("circle",{cx:7.5,cy:7.5,r:6,strokeWidth:2})),If=({title:e,titleId:t,...n})=>d.createElement("svg",{width:15,height:15,viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("circle",{cx:7.5,cy:7.5,r:7.5}),d.createElement("path",{d:"M4.64641 7.00106L6.8801 9.23256L10.5017 5.61325",stroke:"white",strokeWidth:1.5})),Lf={keyword:"hsl(var(--color-primary))",def:"hsl(var(--color-tertiary))",property:"hsl(var(--color-info))",qualifier:"hsl(var(--color-secondary))",attribute:"hsl(var(--color-tertiary))",number:"hsl(var(--color-success))",string:"hsl(var(--color-warning))",builtin:"hsl(var(--color-success))",string2:"hsl(var(--color-secondary))",variable:"hsl(var(--color-secondary))",atom:"hsl(var(--color-tertiary))"},Ff=(0,h.jsx)(Df,{style:{width:"var(--px-16)",transform:"rotate(90deg)"}}),Rf=(0,h.jsx)(Df,{style:{width:"var(--px-16)"}}),Pf=(0,h.jsx)(Of,{style:{marginRight:"var(--px-4)"}}),Mf=(0,h.jsx)(If,{style:{fill:"hsl(var(--color-info))",marginRight:"var(--px-4)"}}),jf={buttonStyle:{cursor:"pointer",fontSize:"2em",lineHeight:0},explorerActionsStyle:{paddingTop:"var(--px-16)"},actionButtonStyle:{}},Vf=e=>{const{setOperationName:t,run:n}=Tt(),r=St(e=>e.schema),i=(0,d.useCallback)(e=>{e&&t(e),n()},[n,t]),[o,s]=function(e){const t=(0,m.c)(12),[n,r]=e;let i;t[0]!==n?(i={pending:null,last:n},t[0]=n,t[1]=i):i=t[1];const o=(0,d.useRef)(i),[s,a]=(0,d.useState)(n);let l,u,c;t[2]!==s||t[3]!==r||t[4]!==n?(l=()=>{if(o.current.last!==n)if(o.current.last=n,null!==o.current.pending){if(o.current.pending===n)return o.current.pending=null,void(n!==s&&(o.current.pending=s,r(s)));o.current.pending=null,a(n)}else a(n)},u=[n,s,r],t[2]=s,t[3]=r,t[4]=n,t[5]=l,t[6]=u):(l=t[5],u=t[6]),(0,d.useEffect)(l,u),t[7]!==r?(c=e=>{a(e),null===o.current.pending&&o.current.last!==e&&(o.current.pending=e,r(e))},t[7]=r,t[8]=c):c=t[8];const f=c;let p;return t[9]!==f||t[10]!==s?(p=[s,f],t[9]=f,t[10]=s,t[11]=p):p=t[11],p}((e=>{const t=(0,m.c)(12);let n;t[0]!==e?(n=t=>t[`${e}Editor`],t[0]=e,t[1]=n):n=t[1];const r=St(n),[i,o]=(0,d.useState)("");let s;t[2]!==r?(s=null==r?void 0:r.getModel(),t[2]=r,t[3]=s):s=t[3];const a=s;let l,u,c;t[4]!==a?(l=()=>{if(!a)return;const e=function(){o(a.getValue())},t=a.onDidChangeContent(e);return e(),()=>{t.dispose()}},u=[a],t[4]=a,t[5]=l,t[6]=u):(l=t[5],u=t[6]),(0,d.useEffect)(l,u),t[7]!==a?(c=function(e){a.setValue(e)},t[7]=a,t[8]=c):c=t[8];const f=c;let p;return t[9]!==f||t[10]!==i?(p=[i,f],t[9]=f,t[10]=i,t[11]=p):p=t[11],p})("query"));return(0,h.jsx)(Af.A_,{schema:r,onRunOperation:i,explorerIsOpen:!0,colors:Lf,arrowOpen:Ff,arrowClosed:Rf,checkboxUnchecked:Pf,checkboxChecked:Mf,styles:jf,query:o,onEdit:s,...e})};function Uf(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function Bf(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function $f(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Bf(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Bf(e[t],null)}}}}function qf(...e){return d.useCallback($f(...e),e)}function zf(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d.createContext(e));return function(n){const r=n?.[e]||t;return d.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=d.createContext(r),o=n.length;n=[...n,r];const s=t=>{const{scope:n,children:r,...s}=t,a=n?.[e]?.[o]||i,l=d.useMemo(()=>s,Object.values(s));return(0,h.jsx)(a.Provider,{value:l,children:r})};return s.displayName=t+"Provider",[s,function(n,s){const a=s?.[e]?.[o]||i,l=d.useContext(a);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Hf(r,...t)]}function Hf(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Kf(e){const t=Wf(e),n=d.forwardRef((e,n)=>{const{children:r,...i}=e,o=d.Children.toArray(r),s=o.find(Gf);if(s){const e=s.props.children,r=o.map(t=>t===s?d.Children.count(e)>1?d.Children.only(null):d.isValidElement(e)?e.props.children:null:t);return(0,h.jsx)(t,{...i,ref:n,children:d.isValidElement(e)?d.cloneElement(e,void 0,r):null})}return(0,h.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Wf(e){const t=d.forwardRef((e,t)=>{const{children:n,...r}=e;if(d.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),i=function(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{const t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==d.Fragment&&(i.ref=t?$f(t,e):e),d.cloneElement(n,i)}return d.Children.count(n)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Yf=Symbol("radix.slottable");function Gf(e){return d.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Yf}var Qf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=Kf(`Primitive.${t}`),r=d.forwardRef((e,r)=>{const{asChild:i,...o}=e,s=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,h.jsx)(s,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Xf(e,t){e&&Ls.flushSync(()=>e.dispatchEvent(t))}function Zf(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...e)=>t.current?.(...e),[])}var Jf,ep="dismissableLayer.update",tp=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),np=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=d.useContext(tp),[c,f]=d.useState(null),p=c?.ownerDocument??globalThis?.document,[,m]=d.useState({}),g=qf(t,e=>f(e)),y=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=y.indexOf(v),E=c?y.indexOf(c):-1,k=u.layersWithOutsidePointerEventsDisabled.size>0,w=E>=b,x=function(e,t=globalThis?.document){const n=Zf(e),r=d.useRef(!1),i=d.useRef(()=>{});return d.useEffect(()=>{const e=e=>{if(e.target&&!r.current){let r=function(){op("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...u.branches].some(e=>e.contains(t));w&&!n&&(i?.(e),s?.(e),e.defaultPrevented||a?.())},p),_=function(e,t=globalThis?.document){const n=Zf(e),r=d.useRef(!1);return d.useEffect(()=>{const e=e=>{e.target&&!r.current&&op("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||a?.())},p);return function(e,t=globalThis?.document){const n=Zf(e);d.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{E===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))},p),d.useEffect(()=>{if(c)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(Jf=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ip(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=Jf)}},[c,p,n,u]),d.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ip())},[c,u]),d.useEffect(()=>{const e=()=>m({});return document.addEventListener(ep,e),()=>document.removeEventListener(ep,e)},[]),(0,h.jsx)(Qf.div,{...l,ref:g,style:{pointerEvents:k?w?"auto":"none":void 0,...e.style},onFocusCapture:Uf(e.onFocusCapture,_.onFocusCapture),onBlurCapture:Uf(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:Uf(e.onPointerDownCapture,x.onPointerDownCapture)})});np.displayName="DismissableLayer";var rp=d.forwardRef((e,t)=>{const n=d.useContext(tp),r=d.useRef(null),i=qf(t,r);return d.useEffect(()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,h.jsx)(Qf.div,{...e,ref:i})});function ip(){const e=new CustomEvent(ep);document.dispatchEvent(e)}function op(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Xf(i,o):i.dispatchEvent(o)}rp.displayName="DismissableLayerBranch";var sp=globalThis?.document?d.useLayoutEffect:()=>{},ap=f[" useId ".trim().toString()]||(()=>{}),lp=0;function up(e){const[t,n]=d.useState(ap());return sp(()=>{e||n(e=>e??String(lp++))},[e]),e||(t?`radix-${t}`:"")}var cp=d.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return(0,h.jsx)(Qf.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,h.jsx)("polygon",{points:"0,0 30,0 15,10"})})});cp.displayName="Arrow";var dp=cp,fp="Popper",[pp,hp]=zf(fp),[mp,gp]=pp(fp),yp=e=>{const{__scopePopper:t,children:n}=e,[r,i]=d.useState(null);return(0,h.jsx)(mp,{scope:t,anchor:r,onAnchorChange:i,children:n})};yp.displayName=fp;var vp="PopperAnchor",bp=d.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=gp(vp,n),s=d.useRef(null),a=qf(t,s);return d.useEffect(()=>{o.onAnchorChange(r?.current||s.current)}),r?null:(0,h.jsx)(Qf.div,{...i,ref:a})});bp.displayName=vp;var Ep="PopperContent",[kp,wp]=pp(Ep),xp=d.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:g,...y}=e,v=gp(Ep,n),[b,E]=d.useState(null),k=qf(t,e=>E(e)),[w,x]=d.useState(null),_=function(e){const[t,n]=d.useState(void 0);return sp(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let i,o;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,o=t.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(w),S=_?.width??0,T=_?.height??0,C=r+("center"!==o?"-"+o:""),N="number"==typeof c?c:{top:0,right:0,bottom:0,left:0,...c},A=Array.isArray(u)?u:[u],D=A.length>0,O={padding:N,boundary:A.filter(Cp),altBoundary:D},{refs:I,floatingStyles:L,placement:F,isPositioned:R,middlewareData:P}=zu({strategy:"fixed",placement:C,whileElementsMounted:(...e)=>Au(...e,{animationFrame:"always"===m}),elements:{reference:v.anchor},middleware:[Ku({mainAxis:i+T,alignmentAxis:s}),l&&Wu({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?Yu():void 0,...O}),l&&Gu({...O}),Qu({...O,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${r}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}}),w&&Zu({element:w,padding:a}),Np({arrowWidth:S,arrowHeight:T}),p&&Xu({strategy:"referenceHidden",...O})]}),[M,j]=Ap(F),V=Zf(g);sp(()=>{R&&V?.()},[R,V]);const U=P.arrow?.x,B=P.arrow?.y,$=0!==P.arrow?.centerOffset,[q,z]=d.useState();return sp(()=>{b&&z(window.getComputedStyle(b).zIndex)},[b]),(0,h.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:R?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[P.transformOrigin?.x,P.transformOrigin?.y].join(" "),...P.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,h.jsx)(kp,{scope:n,placedSide:M,onArrowChange:x,arrowX:U,arrowY:B,shouldHideArrow:$,children:(0,h.jsx)(Qf.div,{"data-side":M,"data-align":j,...y,ref:k,style:{...y.style,animation:R?void 0:"none"}})})})});xp.displayName=Ep;var _p="PopperArrow",Sp={top:"bottom",right:"left",bottom:"top",left:"right"},Tp=d.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,i=wp(_p,n),o=Sp[i.placedSide];return(0,h.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,h.jsx)(dp,{...r,ref:t,style:{...r.style,display:"block"}})})});function Cp(e){return null!==e}Tp.displayName=_p;var Np=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:i}=t,o=0!==i.arrow?.centerOffset,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=Ap(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,f=(i.arrow?.y??0)+a/2;let p="",h="";return"bottom"===l?(p=o?c:`${d}px`,h=-a+"px"):"top"===l?(p=o?c:`${d}px`,h=`${r.floating.height+a}px`):"right"===l?(p=-a+"px",h=o?c:`${f}px`):"left"===l&&(p=`${r.floating.width+a}px`,h=o?c:`${f}px`),{data:{x:p,y:h}}}});function Ap(e){const[t,n="center"]=e.split("-");return[t,n]}var Dp=yp,Op=bp,Ip=xp,Lp=Tp,Fp=d.forwardRef((e,t)=>{const{container:n,...r}=e,[i,o]=d.useState(!1);sp(()=>o(!0),[]);const s=n||i&&globalThis?.document?.body;return s?Ls.createPortal((0,h.jsx)(Qf.div,{...r,ref:t}),s):null});Fp.displayName="Portal";var Rp=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=d.useState(),r=d.useRef(null),i=d.useRef(e),o=d.useRef("none"),s=e?"mounted":"unmounted",[a,l]=function(e,t){return d.useReducer((e,n)=>t[e][n]??e,e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const e=Pp(r.current);o.current="mounted"===a?e:"none"},[a]),sp(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,s=Pp(t);l(e?"MOUNT":"none"===s||"none"===t?.display?"UNMOUNT":n&&r!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),sp(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,s=o=>{const s=Pp(r.current).includes(o.animationName);if(o.target===t&&s&&(l("ANIMATION_END"),!i.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},a=e=>{e.target===t&&(o.current=Pp(r.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:d.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):d.Children.only(n),o=qf(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(i));return"function"==typeof n||r.isPresent?d.cloneElement(i,{ref:o}):null};function Pp(e){return e?.animationName||"none"}Rp.displayName="Presence";var Mp=f[" useInsertionEffect ".trim().toString()]||sp;function jp({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=function({defaultProp:e,onChange:t}){const[n,r]=d.useState(e),i=d.useRef(n),o=d.useRef(t);return Mp(()=>{o.current=t},[t]),d.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}({defaultProp:t,onChange:n}),a=void 0!==e,l=a?e:i;{const t=d.useRef(void 0!==e);d.useEffect(()=>{const e=t.current;if(e!==a){const t=e?"controlled":"uncontrolled",n=a?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,r])}const u=d.useCallback(t=>{if(a){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[a,e,o,s]);return[l,u]}Symbol("RADIX:SYNC_STATE");var Vp=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Up=d.forwardRef((e,t)=>(0,h.jsx)(Qf.span,{...e,ref:t,style:{...Vp,...e.style}}));Up.displayName="VisuallyHidden";var Bp=Up,[$p,qp]=zf("Tooltip",[hp]),zp=hp(),Hp="TooltipProvider",Kp=700,Wp="tooltip.open",[Yp,Gp]=$p(Hp),Qp=e=>{const{__scopeTooltip:t,delayDuration:n=Kp,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=d.useRef(!0),a=d.useRef(!1),l=d.useRef(0);return d.useEffect(()=>{const e=l.current;return()=>window.clearTimeout(e)},[]),(0,h.jsx)(Yp,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:d.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:d.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:d.useCallback(e=>{a.current=e},[]),disableHoverableContent:i,children:o})};Qp.displayName=Hp;var Xp="Tooltip",[Zp,Jp]=$p(Xp),eh=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:s,delayDuration:a}=e,l=Gp(Xp,e.__scopeTooltip),u=zp(t),[c,f]=d.useState(null),p=up(),m=d.useRef(0),g=s??l.disableHoverableContent,y=a??l.delayDuration,v=d.useRef(!1),[b,E]=jp({prop:r,defaultProp:i??!1,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(Wp))):l.onClose(),o?.(e)},caller:Xp}),k=d.useMemo(()=>b?v.current?"delayed-open":"instant-open":"closed",[b]),w=d.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,E(!0)},[E]),x=d.useCallback(()=>{window.clearTimeout(m.current),m.current=0,E(!1)},[E]),_=d.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,E(!0),m.current=0},y)},[y,E]);return d.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,h.jsx)(Dp,{...u,children:(0,h.jsx)(Zp,{scope:t,contentId:p,open:b,stateAttribute:k,trigger:c,onTriggerChange:f,onTriggerEnter:d.useCallback(()=>{l.isOpenDelayedRef.current?_():w()},[l.isOpenDelayedRef,_,w]),onTriggerLeave:d.useCallback(()=>{g?x():(window.clearTimeout(m.current),m.current=0)},[x,g]),onOpen:w,onClose:x,disableHoverableContent:g,children:n})})};eh.displayName=Xp;var th="TooltipTrigger",nh=d.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Jp(th,n),o=Gp(th,n),s=zp(n),a=qf(t,d.useRef(null),i.onTriggerChange),l=d.useRef(!1),u=d.useRef(!1),c=d.useCallback(()=>l.current=!1,[]);return d.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),(0,h.jsx)(Op,{asChild:!0,...s,children:(0,h.jsx)(Qf.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:a,onPointerMove:Uf(e.onPointerMove,e=>{"touch"!==e.pointerType&&(u.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),u.current=!0))}),onPointerLeave:Uf(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:Uf(e.onPointerDown,()=>{i.open&&i.onClose(),l.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:Uf(e.onFocus,()=>{l.current||i.onOpen()}),onBlur:Uf(e.onBlur,i.onClose),onClick:Uf(e.onClick,i.onClose)})})});nh.displayName=th;var rh="TooltipPortal",[ih,oh]=$p(rh,{forceMount:void 0}),sh=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=Jp(rh,t);return(0,h.jsx)(ih,{scope:t,forceMount:n,children:(0,h.jsx)(Rp,{present:n||o.open,children:(0,h.jsx)(Fp,{asChild:!0,container:i,children:r})})})};sh.displayName=rh;var ah="TooltipContent",lh=d.forwardRef((e,t)=>{const n=oh(ah,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=Jp(ah,e.__scopeTooltip);return(0,h.jsx)(Rp,{present:r||s.open,children:s.disableHoverableContent?(0,h.jsx)(ph,{side:i,...o,ref:t}):(0,h.jsx)(uh,{side:i,...o,ref:t})})}),uh=d.forwardRef((e,t)=>{const n=Jp(ah,e.__scopeTooltip),r=Gp(ah,e.__scopeTooltip),i=d.useRef(null),o=qf(t,i),[s,a]=d.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,p=d.useCallback(()=>{a(null),f(!1)},[f]),m=d.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),o=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...i,...function(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())]);a(o),f(!0)},[f]);return d.useEffect(()=>()=>p(),[p]),d.useEffect(()=>{if(l&&c){const e=e=>m(e,c),t=e=>m(e,l);return l.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}},[l,c,m,p]),d.useEffect(()=>{if(s){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=l?.contains(t)||c?.contains(t),i=!function(e,t){const{x:n,y:r}=e;let i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){const s=t[e],a=t[o],l=s.x,u=s.y,c=a.x,d=a.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(i=!i)}return i}(n,s);r?p():i&&(p(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,c,s,u,p]),(0,h.jsx)(ph,{...e,ref:o})}),[ch,dh]=$p(Xp,{isInside:!1}),fh=function(e){const t=({children:e})=>(0,h.jsx)(h.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=Yf,t}("TooltipContent"),ph=d.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=Jp(ah,n),u=zp(n),{onClose:c}=l;return d.useEffect(()=>(document.addEventListener(Wp,c),()=>document.removeEventListener(Wp,c)),[c]),d.useEffect(()=>{if(l.trigger){const e=e=>{const t=e.target;t?.contains(l.trigger)&&c()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[l.trigger,c]),(0,h.jsx)(np,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:c,children:(0,h.jsxs)(Ip,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,h.jsx)(fh,{children:r}),(0,h.jsx)(ch,{scope:n,isInside:!0,children:(0,h.jsx)(Bp,{id:l.contentId,role:"tooltip",children:i||r})})]})})});lh.displayName=ah;var hh="TooltipArrow",mh=d.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=zp(n);return dh(hh,n).isInside?null:(0,h.jsx)(Lp,{...i,...r,ref:t})});mh.displayName=hh;var gh=Qp,yh=eh,vh=nh,bh=sh,Eh=lh;const kh=Object.assign(e=>{const t=(0,m.c)(10),{children:n,align:r,side:i,sideOffset:o,label:s}=e,a=void 0===r?"start":r,l=void 0===i?"bottom":i,u=void 0===o?5:o;let c,d,f;return t[0]!==n?(c=(0,h.jsx)(vh,{asChild:!0,children:n}),t[0]=n,t[1]=c):c=t[1],t[2]!==a||t[3]!==s||t[4]!==l||t[5]!==u?(d=(0,h.jsx)(bh,{children:(0,h.jsx)(Eh,{className:"graphiql-tooltip",align:a,side:l,sideOffset:u,children:s})}),t[2]=a,t[3]=s,t[4]=l,t[5]=u,t[6]=d):d=t[6],t[7]!==c||t[8]!==d?(f=(0,h.jsxs)(yh,{children:[c,d]}),t[7]=c,t[8]=d,t[9]=f):f=t[9],f},{Provider:gh}),wh=v((e,t)=>({historyStorage:null,actions:{addToHistory(n){const{historyStorage:r}=t();null==r||r.updateHistory(n),e({})},editLabel(n,r){const{historyStorage:i}=t();null==i||i.editLabel(n,r),e({})},toggleFavorite(n){const{historyStorage:r}=t();null==r||r.toggleFavorite(n),e({})},setActive:e=>e,deleteFromHistory(n,r){const{historyStorage:i}=t();null==i||i.deleteHistory(n,r),e({})}}})),xh=e=>{const t=(0,m.c)(11),{maxHistoryLength:n,children:r}=e,i=void 0===n?20:n;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=ln("isFetching","tabs","activeTabIndex","storage"),t[0]=o):o=t[0];const{isFetching:s,tabs:a,activeTabIndex:l,storage:u}=St(o),c=a[l];let f;t[1]!==i||t[2]!==u?(f=new ue(u,i),t[1]=i,t[2]=u,t[3]=f):f=t[3];const p=f;let h,g,y,v;return t[4]!==p?(h=()=>{wh.setState({historyStorage:p})},g=[p],t[4]=p,t[5]=h,t[6]=g):(h=t[5],g=t[6]),(0,d.useEffect)(h,g),t[7]!==c||t[8]!==s?(y=()=>{if(!s)return;const{addToHistory:e}=wh.getState().actions;e({query:c.query??void 0,variables:c.variables??void 0,headers:c.headers??void 0,operationName:c.operationName??void 0})},v=[s,c],t[7]=c,t[8]=s,t[9]=y,t[10]=v):(y=t[9],v=t[10]),(0,d.useEffect)(y,v),r},_h=We(wh),Sh=[],Th=()=>_h(Nh);function Ch(e){var t;return(null==(t=e.historyStorage)?void 0:t.queries)??Sh}function Nh(e){return e.actions}const Ah=e=>{const t=(0,m.c)(39),{editLabel:n,toggleFavorite:r,deleteFromHistory:i,setActive:o}=Th();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=ln("headerEditor","queryEditor","variableEditor"),t[0]=s):s=t[0];const{headerEditor:a,queryEditor:l,variableEditor:u}=St(s),c=(0,d.useRef)(null),f=(0,d.useRef)(null),[p,g]=(0,d.useState)(!1);let y,v,b;var E;t[1]!==p?(y=()=>{var e;p&&(null==(e=c.current)||e.focus())},v=[p],t[1]=p,t[2]=y,t[3]=v):(y=t[2],v=t[3]),(0,d.useEffect)(y,v),t[4]!==e.item.label||t[5]!==e.item.operationName||t[6]!==e.item.query?(b=e.item.label||e.item.operationName||(null==(E=e.item.query)?void 0:E.split("\n").map(e=>e.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")),t[4]=e.item.label,t[5]=e.item.operationName,t[6]=e.item.query,t[7]=b):b=t[7];const k=b;let w;t[8]!==n||t[9]!==e.item?(w=()=>{var t;g(!1);const{index:r,...i}=e.item;n({...i,label:null==(t=c.current)?void 0:t.value},r)},t[8]=n,t[9]=e.item,t[10]=w):w=t[10];const x=w;let _;t[11]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{g(!1)},t[11]=_):_=t[11];const S=_;let T;t[12]===Symbol.for("react.memo_cache_sentinel")?(T=e=>{e.stopPropagation(),g(!0)},t[12]=T):T=t[12];const C=T;let N;t[13]!==a||t[14]!==e.item||t[15]!==l||t[16]!==o||t[17]!==u?(N=()=>{const{query:t,variables:n,headers:r}=e.item;null==l||l.setValue(t??""),null==u||u.setValue(n??""),null==a||a.setValue(r??""),o(e.item)},t[13]=a,t[14]=e.item,t[15]=l,t[16]=o,t[17]=u,t[18]=N):N=t[18];const A=N;let D;t[19]!==i||t[20]!==e.item?(D=t=>{t.stopPropagation(),i(e.item)},t[19]=i,t[20]=e.item,t[21]=D):D=t[21];const O=D;let I;t[22]!==e.item||t[23]!==r?(I=t=>{t.stopPropagation(),r(e.item)},t[22]=e.item,t[23]=r,t[24]=I):I=t[24];const L=I,F=p&&"editable";let R,P,M;return t[25]!==F?(R=dn("graphiql-history-item",F),t[25]=F,t[26]=R):R=t[26],t[27]!==k||t[28]!==n||t[29]!==O||t[30]!==A||t[31]!==x||t[32]!==L||t[33]!==p||t[34]!==e.item?(P=p?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("input",{type:"text",defaultValue:e.item.label,ref:c,onKeyDown:t=>{"Esc"===t.key?g(!1):"Enter"===t.key&&(g(!1),n({...e.item,label:t.currentTarget.value}))},placeholder:"Type a label"}),(0,h.jsx)(No,{type:"button",ref:f,onClick:x,children:"Save"}),(0,h.jsx)(No,{type:"button",ref:f,onClick:S,children:(0,h.jsx)(Lt,{})})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(kh,{label:"Set active",children:(0,h.jsx)(No,{type:"button",className:"graphiql-history-item-label",onClick:A,"aria-label":"Set active",children:k})}),(0,h.jsx)(kh,{label:"Edit label",children:(0,h.jsx)(No,{type:"button",className:"graphiql-history-item-action",onClick:C,"aria-label":"Edit label",children:(0,h.jsx)(Yt,{"aria-hidden":"true"})})}),(0,h.jsx)(kh,{label:e.item.favorite?"Remove favorite":"Add favorite",children:(0,h.jsx)(No,{type:"button",className:"graphiql-history-item-action",onClick:L,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?(0,h.jsx)(tn,{"aria-hidden":"true"}):(0,h.jsx)(nn,{"aria-hidden":"true"})})}),(0,h.jsx)(kh,{label:"Delete from history",children:(0,h.jsx)(No,{type:"button",className:"graphiql-history-item-action",onClick:O,"aria-label":"Delete from history",children:(0,h.jsx)(on,{"aria-hidden":"true"})})})]}),t[27]=k,t[28]=n,t[29]=O,t[30]=A,t[31]=x,t[32]=L,t[33]=p,t[34]=e.item,t[35]=P):P=t[35],t[36]!==R||t[37]!==P?(M=(0,h.jsx)("li",{className:R,children:P}),t[36]=R,t[37]=P,t[38]=M):M=t[38],M};function Dh(e,t){return{...e,index:t}}function Oh(e){return e.favorite}function Ih(e){return!e.favorite}function Lh(e){return(0,h.jsx)(Ah,{item:e},e.index)}function Fh(e){return(0,h.jsx)(Ah,{item:e},e.index)}const Rh={title:"History",icon:qt,content:()=>{const e=(0,m.c)(13),t=_h(Ch),{deleteFromHistory:n}=Th();let r;r=t.slice().map(Dh).reverse();const i=r.filter(Oh);i.length&&(r=r.filter(Ih));const[o,s]=(0,d.useState)(null);let a,l;e[0]!==o?(a=()=>{o&&setTimeout(()=>{s(null)},2e3)},l=[o],e[0]=o,e[1]=a,e[2]=l):(a=e[1],l=e[2]),(0,d.useEffect)(a,l);const u=Boolean(i.length),c=Boolean(r.length),f=(o||c)&&(0,h.jsx)(Ao,{type:"button",state:o||void 0,disabled:!r.length,onClick:()=>{try{!function(e,t){for(const n of e)t(n,!0)}(r,n),s("success")}catch{s("error")}},children:{success:"Cleared",error:"Failed to Clear"}[o]||"Clear"});let p;e[3]!==f?(p=(0,h.jsxs)("div",{className:"graphiql-history-header",children:["History",f]}),e[3]=f,e[4]=p):p=e[4];const g=u&&(0,h.jsx)("ul",{className:"graphiql-history-items",children:i.map(Lh)});let y;e[5]!==u||e[6]!==c?(y=u&&c&&(0,h.jsx)("div",{className:"graphiql-history-item-spacer"}),e[5]=u,e[6]=c,e[7]=y):y=e[7];const v=c&&(0,h.jsx)("ul",{className:"graphiql-history-items",children:r.map(Fh)});let b;return e[8]!==p||e[9]!==g||e[10]!==y||e[11]!==v?(b=(0,h.jsxs)("section",{"aria-label":"History",className:"graphiql-history",children:[p,g,y,v]}),e[8]=p,e[9]=g,e[10]=y,e[11]=v,e[12]=b):b=e[12],b}},Ph=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(19);let r,i,o;n[0]!==e?(({label:r,onClick:i,...o}=e),n[0]=e,n[1]=r,n[2]=i,n[3]=o):(r=n[1],i=n[2],o=n[3]);const[s,a]=(0,d.useState)(null);let l;n[4]!==i?(l=e=>{try{i&&i(e),a(null)}catch(e){a(e instanceof Error?e:new Error(`Toolbar button click failed: ${e}`))}},n[4]=i,n[5]=l):l=n[5];const u=l,c=s&&"error";let f;n[6]!==o.className||n[7]!==c?(f=dn("graphiql-toolbar-button",c,o.className),n[6]=o.className,n[7]=c,n[8]=f):f=n[8];const p=s?s.message:r,g=s?"true":o["aria-invalid"];let y,v;return n[9]!==u||n[10]!==o||n[11]!==t||n[12]!==f||n[13]!==p||n[14]!==g?(y=(0,h.jsx)(No,{...o,ref:t,type:"button",className:f,onClick:u,"aria-label":p,"aria-invalid":g}),n[9]=u,n[10]=o,n[11]=t,n[12]=f,n[13]=p,n[14]=g,n[15]=y):y=n[15],n[16]!==r||n[17]!==y?(v=(0,h.jsx)(kh,{label:r,children:y}),n[16]=r,n[17]=y,n[18]=v):v=n[18],v});function Mh(e){const t=e+"CollectionProvider",[n,r]=zf(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{const{scope:t,children:n}=e,r=d.useRef(null),o=d.useRef(new Map).current;return(0,h.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};s.displayName=t;const a=e+"CollectionSlot",l=Kf(a),u=d.forwardRef((e,t)=>{const{scope:n,children:r}=e,i=qf(t,o(a,n).collectionRef);return(0,h.jsx)(l,{ref:i,children:r})});u.displayName=a;const c=e+"CollectionItemSlot",f="data-radix-collection-item",p=Kf(c),m=d.forwardRef((e,t)=>{const{scope:n,children:r,...i}=e,s=d.useRef(null),a=qf(t,s),l=o(c,n);return d.useEffect(()=>(l.itemMap.set(s,{ref:s,...i}),()=>{l.itemMap.delete(s)})),(0,h.jsx)(p,{[f]:"",ref:a,children:r})});return m.displayName=c,[{Provider:s,Slot:u,ItemSlot:m},function(t){const n=o(e+"CollectionConsumer",t),r=d.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`)),r=Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return r},[n.collectionRef,n.itemMap]);return r},r]}Ph.displayName="ToolbarButton";Map;var jh=d.createContext(void 0);function Vh(e){const t=d.useContext(jh);return e||t||"ltr"}var Uh=0;function Bh(){d.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$h()),document.body.insertAdjacentElement("beforeend",e[1]??$h()),Uh++,()=>{1===Uh&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Uh--}},[])}function $h(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var qh="focusScope.autoFocusOnMount",zh="focusScope.autoFocusOnUnmount",Hh={bubbles:!1,cancelable:!0},Kh=d.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=d.useState(null),u=Zf(i),c=Zf(o),f=d.useRef(null),p=qf(t,e=>l(e)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(r){let e=function(e){if(m.paused||!a)return;const t=e.target;a.contains(t)?f.current=t:Qh(f.current,{select:!0})},t=function(e){if(m.paused||!a)return;const t=e.relatedTarget;null!==t&&(a.contains(t)||Qh(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Qh(a)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return a&&r.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,a,m.paused]),d.useEffect(()=>{if(a){Xh.add(m);const e=document.activeElement;if(!a.contains(e)){const t=new CustomEvent(qh,Hh);a.addEventListener(qh,u),a.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Qh(r,{select:t}),document.activeElement!==n)return}(Wh(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Qh(a))}return()=>{a.removeEventListener(qh,u),setTimeout(()=>{const t=new CustomEvent(zh,Hh);a.addEventListener(zh,c),a.dispatchEvent(t),t.defaultPrevented||Qh(e??document.body,{select:!0}),a.removeEventListener(zh,c),Xh.remove(m)},0)}}},[a,u,c,m]);const g=d.useCallback(e=>{if(!n&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Wh(e);return[Yh(t,e),Yh(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Qh(o,{select:!0})):(e.preventDefault(),n&&Qh(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,m.paused]);return(0,h.jsx)(Qf.div,{tabIndex:-1,...s,ref:p,onKeyDown:g})});function Wh(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Yh(e,t){for(const n of e)if(!Gh(n,{upTo:t}))return n}function Gh(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Qh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}Kh.displayName="FocusScope";var Xh=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Zh(e,t),e.unshift(t)},remove(t){e=Zh(e,t),e[0]?.resume()}}}();function Zh(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var Jh="rovingFocusGroup.onEntryFocus",em={bubbles:!1,cancelable:!0},tm="RovingFocusGroup",[nm,rm,im]=Mh(tm),[om,sm]=zf(tm,[im]),[am,lm]=om(tm),um=d.forwardRef((e,t)=>(0,h.jsx)(nm.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(nm.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(cm,{...e,ref:t})})}));um.displayName=tm;var cm=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...f}=e,p=d.useRef(null),m=qf(t,p),g=Vh(o),[y,v]=jp({prop:s,defaultProp:a??null,onChange:l,caller:tm}),[b,E]=d.useState(!1),k=Zf(u),w=rm(n),x=d.useRef(!1),[_,S]=d.useState(0);return d.useEffect(()=>{const e=p.current;if(e)return e.addEventListener(Jh,k),()=>e.removeEventListener(Jh,k)},[k]),(0,h.jsx)(am,{scope:n,orientation:r,dir:g,loop:i,currentTabStopId:y,onItemFocus:d.useCallback(e=>v(e),[v]),onItemShiftTab:d.useCallback(()=>E(!0),[]),onFocusableItemAdd:d.useCallback(()=>S(e=>e+1),[]),onFocusableItemRemove:d.useCallback(()=>S(e=>e-1),[]),children:(0,h.jsx)(Qf.div,{tabIndex:b||0===_?-1:0,"data-orientation":r,...f,ref:m,style:{outline:"none",...e.style},onMouseDown:Uf(e.onMouseDown,()=>{x.current=!0}),onFocus:Uf(e.onFocus,e=>{const t=!x.current;if(e.target===e.currentTarget&&t&&!b){const t=new CustomEvent(Jh,em);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter(e=>e.focusable);hm([e.find(e=>e.active),e.find(e=>e.id===y),...e].filter(Boolean).map(e=>e.ref.current),c)}}x.current=!1}),onBlur:Uf(e.onBlur,()=>E(!1))})})}),dm="RovingFocusGroupItem",fm=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:s,...a}=e,l=up(),u=o||l,c=lm(dm,n),f=c.currentTabStopId===u,p=rm(n),{onFocusableItemAdd:m,onFocusableItemRemove:g,currentTabStopId:y}=c;return d.useEffect(()=>{if(r)return m(),()=>g()},[r,m,g]),(0,h.jsx)(nm.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:(0,h.jsx)(Qf.span,{tabIndex:f?0:-1,"data-orientation":c.orientation,...a,ref:t,onMouseDown:Uf(e.onMouseDown,e=>{r?c.onItemFocus(u):e.preventDefault()}),onFocus:Uf(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:Uf(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:pm[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const o=i.indexOf(e.currentTarget);i=c.loop?(r=o+1,(n=i).map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>hm(i))}var n,r}),children:"function"==typeof s?s({isCurrentTabStop:f,hasTabStop:null!=y}):s})})});fm.displayName=dm;var pm={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function hm(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var mm=um,gm=fm,ym=new WeakMap,vm=new WeakMap,bm={},Em=0,km=function(e){return e&&(e.host||km(e.parentNode))},wm=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=km(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);bm[n]||(bm[n]=new WeakMap);var o=bm[n],s=[],a=new Set,l=new Set(i),u=function(e){e&&!a.has(e)&&(a.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))c(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(ym.get(e)||0)+1,u=(o.get(e)||0)+1;ym.set(e,l),o.set(e,u),s.push(e),1===l&&i&&vm.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),a.clear(),Em++,function(){s.forEach(function(e){var t=ym.get(e)-1,i=o.get(e)-1;ym.set(e,t),o.set(e,i),t||(vm.has(e)||e.removeAttribute(r),vm.delete(e)),i||e.removeAttribute(n)}),--Em||(ym=new WeakMap,ym=new WeakMap,vm=new WeakMap,bm={})}}(r,i,n,"aria-hidden")):function(){return null}},xm=s(85608),_m="right-scroll-bar-position",Sm="width-before-scroll-bar";function Tm(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Cm="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,Nm=new WeakMap;function Am(e){return e}var Dm=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Am);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=(0,xm.__assign)({async:!0,ssr:!1},e),t}(),Om=function(){},Im=d.forwardRef(function(e,t){var n=d.useRef(null),r=d.useState({onScrollCapture:Om,onWheelCapture:Om,onTouchMoveCapture:Om}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,m=e.noIsolation,g=e.inert,y=e.allowPinchZoom,v=e.as,b=void 0===v?"div":v,E=e.gapMode,k=(0,xm.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=p,x=function(e,t){var n,r,i,o=(n=t||null,r=function(t){return e.forEach(function(e){return Tm(e,t)})},(i=(0,d.useState)(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return Cm(function(){var t=Nm.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||Tm(e,null)}),r.forEach(function(e){n.has(e)||Tm(e,i)})}Nm.set(o,e)},[e]),o}([n,t]),_=(0,xm.__assign)((0,xm.__assign)({},k),i);return d.createElement(d.Fragment,null,c&&d.createElement(w,{sideCar:Dm,removeScrollBar:u,shards:f,noRelative:h,noIsolation:m,inert:g,setCallbacks:o,allowPinchZoom:!!y,lockRef:n,gapMode:E}),s?d.cloneElement(d.Children.only(a),(0,xm.__assign)((0,xm.__assign)({},_),{ref:x})):d.createElement(b,(0,xm.__assign)({},_,{className:l,ref:x}),a))});Im.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Im.classNames={fullWidth:Sm,zeroRight:_m};var Lm=function(e){var t=e.sideCar,n=(0,xm.__rest)(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return d.createElement(r,(0,xm.__assign)({},n))};Lm.isSideCarExport=!0;var Fm=function(){var e=0,t=null;return{add:function(n){var r,i;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s.nc;return t&&e.setAttribute("nonce",t),e}())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Rm=function(){var e,t=(e=Fm(),function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Pm={left:0,top:0,right:0,gap:0},Mm=function(e){return parseInt(e||"",10)||0},jm=Rm(),Vm="data-scroll-locked",Um=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(Vm,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(_m," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Sm," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(_m," .").concat(_m," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Sm," .").concat(Sm," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Vm,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Bm=function(){var e=parseInt(document.body.getAttribute(Vm)||"0",10);return isFinite(e)?e:0},$m=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;d.useEffect(function(){return document.body.setAttribute(Vm,(Bm()+1).toString()),function(){var e=Bm()-1;e<=0?document.body.removeAttribute(Vm):document.body.setAttribute(Vm,e.toString())}},[]);var o=d.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Pm;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Mm(n),Mm(r),Mm(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(i)},[i]);return d.createElement(jm,{styles:Um(o,!t,i,n?"":"!important")})},qm=!1;if("undefined"!=typeof window)try{var zm=Object.defineProperty({},"passive",{get:function(){return qm=!0,!0}});window.addEventListener("test",zm,zm),window.removeEventListener("test",zm,zm)}catch(e){qm=!1}var Hm=!!qm&&{passive:!1},Km=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Wm=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Ym(e,r)){var i=Gm(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ym=function(e,t){return"v"===e?function(e){return Km(e,"overflowY")}(t):function(e){return Km(e,"overflowX")}(t)},Gm=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},Qm=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Xm=function(e){return[e.deltaX,e.deltaY]},Zm=function(e){return e&&"current"in e?e.current:e},Jm=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},eg=0,tg=[];function ng(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const rg=(ig=function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),i=d.useState(eg++)[0],o=d.useState(Rm)[0],s=d.useRef(e);d.useEffect(function(){s.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,xm.__spreadArray)([e.lockRef.current],(e.shards||[]).map(Zm),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=Qm(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=Wm(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=Wm(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var p=r.current||i;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,s=n.target,a=t.contains(s),l=!1,u=o>0,c=0,d=0;do{if(!s)break;var f=Gm(e,s),p=f[0],h=f[1]-f[2]-i*p;(p||h)&&Ym(e,s)&&(c+=h,d+=p);var m=s.parentNode;s=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return(u&&(Math.abs(c)<1||!1)||!u&&(Math.abs(d)<1||!1))&&(l=!0),l}(p,t,e,"h"===p?l:u)},[]),l=d.useCallback(function(e){var n=e;if(tg.length&&tg[tg.length-1]===o){var r="deltaY"in n?Xm(n):Qm(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var l=(s.current.shards||[]).map(Zm).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=d.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:ng(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=d.useCallback(function(e){n.current=Qm(e),r.current=void 0},[]),f=d.useCallback(function(t){u(t.type,Xm(t),t.target,a(t,e.lockRef.current))},[]),p=d.useCallback(function(t){u(t.type,Qm(t),t.target,a(t,e.lockRef.current))},[]);d.useEffect(function(){return tg.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Hm),document.addEventListener("touchmove",l,Hm),document.addEventListener("touchstart",c,Hm),function(){tg=tg.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,Hm),document.removeEventListener("touchmove",l,Hm),document.removeEventListener("touchstart",c,Hm)}},[]);var h=e.removeScrollBar,m=e.inert;return d.createElement(d.Fragment,null,m?d.createElement(o,{styles:Jm(i)}):null,h?d.createElement($m,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},Dm.useMedium(ig),Lm);var ig,og=d.forwardRef(function(e,t){return d.createElement(Im,(0,xm.__assign)({},e,{ref:t,sideCar:rg}))});og.classNames=Im.classNames;const sg=og;var ag=["Enter"," "],lg=["ArrowUp","PageDown","End"],ug=["ArrowDown","PageUp","Home",...lg],cg={ltr:[...ag,"ArrowRight"],rtl:[...ag,"ArrowLeft"]},dg={ltr:["ArrowLeft"],rtl:["ArrowRight"]},fg="Menu",[pg,hg,mg]=Mh(fg),[gg,yg]=zf(fg,[mg,hp,sm]),vg=hp(),bg=sm(),[Eg,kg]=gg(fg),[wg,xg]=gg(fg),_g=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:s=!0}=e,a=vg(t),[l,u]=d.useState(null),c=d.useRef(!1),f=Zf(o),p=Vh(i);return d.useEffect(()=>{const e=()=>{c.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>c.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,h.jsx)(Dp,{...a,children:(0,h.jsx)(Eg,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u,children:(0,h.jsx)(wg,{scope:t,onClose:d.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:c,dir:p,modal:s,children:r})})})};_g.displayName=fg;var Sg=d.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=vg(n);return(0,h.jsx)(Op,{...i,...r,ref:t})});Sg.displayName="MenuAnchor";var Tg="MenuPortal",[Cg,Ng]=gg(Tg,{forceMount:void 0}),Ag=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=kg(Tg,t);return(0,h.jsx)(Cg,{scope:t,forceMount:n,children:(0,h.jsx)(Rp,{present:n||o.open,children:(0,h.jsx)(Fp,{asChild:!0,container:i,children:r})})})};Ag.displayName=Tg;var Dg="MenuContent",[Og,Ig]=gg(Dg),Lg=d.forwardRef((e,t)=>{const n=Ng(Dg,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=kg(Dg,e.__scopeMenu),s=xg(Dg,e.__scopeMenu);return(0,h.jsx)(pg.Provider,{scope:e.__scopeMenu,children:(0,h.jsx)(Rp,{present:r||o.open,children:(0,h.jsx)(pg.Slot,{scope:e.__scopeMenu,children:s.modal?(0,h.jsx)(Fg,{...i,ref:t}):(0,h.jsx)(Rg,{...i,ref:t})})})})}),Fg=d.forwardRef((e,t)=>{const n=kg(Dg,e.__scopeMenu),r=d.useRef(null),i=qf(t,r);return d.useEffect(()=>{const e=r.current;if(e)return wm(e)},[]),(0,h.jsx)(Mg,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Uf(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Rg=d.forwardRef((e,t)=>{const n=kg(Dg,e.__scopeMenu);return(0,h.jsx)(Mg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Pg=Kf("MenuContent.ScrollLock"),Mg=d.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:p,onDismiss:m,disableOutsideScroll:g,...y}=e,v=kg(Dg,n),b=xg(Dg,n),E=vg(n),k=bg(n),w=hg(n),[x,_]=d.useState(null),S=d.useRef(null),T=qf(t,S,v.onContentChange),C=d.useRef(0),N=d.useRef(""),A=d.useRef(0),D=d.useRef(null),O=d.useRef("right"),I=d.useRef(0),L=g?sg:d.Fragment,F=g?{as:Pg,allowPinchZoom:!0}:void 0;d.useEffect(()=>()=>window.clearTimeout(C.current),[]),Bh();const R=d.useCallback(e=>O.current===D.current?.side&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:r}=e;let i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){const s=t[e],a=t[o],l=s.x,u=s.y,c=a.x,d=a.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,D.current?.area),[]);return(0,h.jsx)(Og,{scope:n,searchRef:N,onItemEnter:d.useCallback(e=>{R(e)&&e.preventDefault()},[R]),onItemLeave:d.useCallback(e=>{R(e)||(S.current?.focus(),_(null))},[R]),onTriggerLeave:d.useCallback(e=>{R(e)&&e.preventDefault()},[R]),pointerGraceTimerRef:A,onPointerGraceIntentChange:d.useCallback(e=>{D.current=e},[]),children:(0,h.jsx)(L,{...F,children:(0,h.jsx)(Kh,{asChild:!0,trapped:i,onMountAutoFocus:Uf(o,e=>{e.preventDefault(),S.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,h.jsx)(np,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:p,onDismiss:m,children:(0,h.jsx)(mm,{asChild:!0,...k,dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:_,onEntryFocus:Uf(l,e=>{b.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,h.jsx)(Ip,{role:"menu","aria-orientation":"vertical","data-state":cy(v.open),"data-radix-menu-content":"",dir:b.dir,...E,...y,ref:T,style:{outline:"none",...y.style},onKeyDown:Uf(y.onKeyDown,e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{const t=N.current+e,n=w().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,o=function(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let o=(s=e,a=Math.max(i,0),s.map((e,t)=>s[(a+t)%s.length]));var s,a;1===r.length&&(o=o.filter(e=>e!==n));const l=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}(n.map(e=>e.textValue),t,i),s=n.find(e=>e.textValue===o)?.ref.current;!function e(t){N.current=t,window.clearTimeout(C.current),""!==t&&(C.current=window.setTimeout(()=>e(""),1e3))}(t),s&&setTimeout(()=>s.focus())})(e.key));const i=S.current;if(e.target!==i)return;if(!ug.includes(e.key))return;e.preventDefault();const o=w().filter(e=>!e.disabled).map(e=>e.ref.current);lg.includes(e.key)&&o.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(o)}),onBlur:Uf(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(C.current),N.current="")}),onPointerMove:Uf(e.onPointerMove,py(e=>{const t=e.target,n=I.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>I.current?"right":"left";O.current=t,I.current=e.clientX}}))})})})})})})});Lg.displayName=Dg;var jg=d.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,h.jsx)(Qf.div,{role:"group",...r,ref:t})});jg.displayName="MenuGroup";var Vg=d.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,h.jsx)(Qf.div,{...r,ref:t})});Vg.displayName="MenuLabel";var Ug="MenuItem",Bg="menu.itemSelect",$g=d.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=d.useRef(null),s=xg(Ug,e.__scopeMenu),a=Ig(Ug,e.__scopeMenu),l=qf(t,o),u=d.useRef(!1);return(0,h.jsx)(qg,{...i,ref:l,disabled:n,onClick:Uf(e.onClick,()=>{const e=o.current;if(!n&&e){const t=new CustomEvent(Bg,{bubbles:!0,cancelable:!0});e.addEventListener(Bg,e=>r?.(e),{once:!0}),Xf(e,t),t.defaultPrevented?u.current=!1:s.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),u.current=!0},onPointerUp:Uf(e.onPointerUp,e=>{u.current||e.currentTarget?.click()}),onKeyDown:Uf(e.onKeyDown,e=>{const t=""!==a.searchRef.current;n||t&&" "===e.key||ag.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});$g.displayName=Ug;var qg=d.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,s=Ig(Ug,n),a=bg(n),l=d.useRef(null),u=qf(t,l),[c,f]=d.useState(!1),[p,m]=d.useState("");return d.useEffect(()=>{const e=l.current;e&&m((e.textContent??"").trim())},[o.children]),(0,h.jsx)(pg.ItemSlot,{scope:n,disabled:r,textValue:i??p,children:(0,h.jsx)(gm,{asChild:!0,...a,focusable:!r,children:(0,h.jsx)(Qf.div,{role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:u,onPointerMove:Uf(e.onPointerMove,py(e=>{r?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Uf(e.onPointerLeave,py(e=>s.onItemLeave(e))),onFocus:Uf(e.onFocus,()=>f(!0)),onBlur:Uf(e.onBlur,()=>f(!1))})})})}),zg=d.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return(0,h.jsx)(Zg,{scope:e.__scopeMenu,checked:n,children:(0,h.jsx)($g,{role:"menuitemcheckbox","aria-checked":dy(n)?"mixed":n,...i,ref:t,"data-state":fy(n),onSelect:Uf(i.onSelect,()=>r?.(!!dy(n)||!n),{checkForDefaultPrevented:!1})})})});zg.displayName="MenuCheckboxItem";var Hg="MenuRadioGroup",[Kg,Wg]=gg(Hg,{value:void 0,onValueChange:()=>{}}),Yg=d.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,o=Zf(r);return(0,h.jsx)(Kg,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,h.jsx)(jg,{...i,ref:t})})});Yg.displayName=Hg;var Gg="MenuRadioItem",Qg=d.forwardRef((e,t)=>{const{value:n,...r}=e,i=Wg(Gg,e.__scopeMenu),o=n===i.value;return(0,h.jsx)(Zg,{scope:e.__scopeMenu,checked:o,children:(0,h.jsx)($g,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":fy(o),onSelect:Uf(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Qg.displayName=Gg;var Xg="MenuItemIndicator",[Zg,Jg]=gg(Xg,{checked:!1}),ey=d.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,o=Jg(Xg,n);return(0,h.jsx)(Rp,{present:r||dy(o.checked)||!0===o.checked,children:(0,h.jsx)(Qf.span,{...i,ref:t,"data-state":fy(o.checked)})})});ey.displayName=Xg;var ty=d.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,h.jsx)(Qf.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});ty.displayName="MenuSeparator";var ny=d.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=vg(n);return(0,h.jsx)(Lp,{...i,...r,ref:t})});ny.displayName="MenuArrow";var ry="MenuSub",[iy,oy]=gg(ry),sy="MenuSubTrigger",ay=d.forwardRef((e,t)=>{const n=kg(sy,e.__scopeMenu),r=xg(sy,e.__scopeMenu),i=oy(sy,e.__scopeMenu),o=Ig(sy,e.__scopeMenu),s=d.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=o,u={__scopeMenu:e.__scopeMenu},c=d.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return d.useEffect(()=>c,[c]),d.useEffect(()=>{const e=a.current;return()=>{window.clearTimeout(e),l(null)}},[a,l]),(0,h.jsx)(Sg,{asChild:!0,...u,children:(0,h.jsx)(qg,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":cy(n.open),...e,ref:$f(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Uf(e.onPointerMove,py(t=>{o.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||s.current||(o.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:Uf(e.onPointerLeave,py(e=>{c();const t=n.content?.getBoundingClientRect();if(t){const r=n.content?.dataset.side,i="right"===r,s=i?-5:5,l=t[i?"left":"right"],u=t[i?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+s,y:e.clientY},{x:l,y:t.top},{x:u,y:t.top},{x:u,y:t.bottom},{x:l,y:t.bottom}],side:r}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:Uf(e.onKeyDown,t=>{const i=""!==o.searchRef.current;e.disabled||i&&" "===t.key||cg[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});ay.displayName=sy;var ly="MenuSubContent",uy=d.forwardRef((e,t)=>{const n=Ng(Dg,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=kg(Dg,e.__scopeMenu),s=xg(Dg,e.__scopeMenu),a=oy(ly,e.__scopeMenu),l=d.useRef(null),u=qf(t,l);return(0,h.jsx)(pg.Provider,{scope:e.__scopeMenu,children:(0,h.jsx)(Rp,{present:r||o.open,children:(0,h.jsx)(pg.Slot,{scope:e.__scopeMenu,children:(0,h.jsx)(Mg,{id:a.contentId,"aria-labelledby":a.triggerId,...i,ref:u,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{s.isUsingKeyboardRef.current&&l.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Uf(e.onFocusOutside,e=>{e.target!==a.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:Uf(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:Uf(e.onKeyDown,e=>{const t=e.currentTarget.contains(e.target),n=dg[s.dir].includes(e.key);t&&n&&(o.onOpenChange(!1),a.trigger?.focus(),e.preventDefault())})})})})})});function cy(e){return e?"open":"closed"}function dy(e){return"indeterminate"===e}function fy(e){return dy(e)?"indeterminate":e?"checked":"unchecked"}function py(e){return t=>"mouse"===t.pointerType?e(t):void 0}uy.displayName=ly;var hy=_g,my=Sg,gy=Ag,yy=Lg,vy=jg,by=Vg,Ey=$g,ky=zg,wy=Yg,xy=Qg,_y=ey,Sy=ty,Ty=ny,Cy=ay,Ny=uy,Ay="DropdownMenu",[Dy,Oy]=zf(Ay,[yg]),Iy=yg(),[Ly,Fy]=Dy(Ay),Ry=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=Iy(t),u=d.useRef(null),[c,f]=jp({prop:i,defaultProp:o??!1,onChange:s,caller:Ay});return(0,h.jsx)(Ly,{scope:t,triggerId:up(),triggerRef:u,contentId:up(),open:c,onOpenChange:f,onOpenToggle:d.useCallback(()=>f(e=>!e),[f]),modal:a,children:(0,h.jsx)(hy,{...l,open:c,onOpenChange:f,dir:r,modal:a,children:n})})};Ry.displayName=Ay;var Py="DropdownMenuTrigger",My=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=Fy(Py,n),s=Iy(n);return(0,h.jsx)(my,{asChild:!0,...s,children:(0,h.jsx)(Qf.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:$f(t,o.triggerRef),onPointerDown:Uf(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:Uf(e.onKeyDown,e=>{r||(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});My.displayName=Py;var jy=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Iy(t);return(0,h.jsx)(gy,{...r,...n})};jy.displayName="DropdownMenuPortal";var Vy="DropdownMenuContent",Uy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Fy(Vy,n),o=Iy(n),s=d.useRef(!1);return(0,h.jsx)(yy,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...r,ref:t,onCloseAutoFocus:Uf(e.onCloseAutoFocus,e=>{s.current||i.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:Uf(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.modal&&!r||(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Uy.displayName=Vy;var By=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(vy,{...i,...r,ref:t})});By.displayName="DropdownMenuGroup";var $y=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(by,{...i,...r,ref:t})});$y.displayName="DropdownMenuLabel";var qy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(Ey,{...i,...r,ref:t})});qy.displayName="DropdownMenuItem";var zy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(ky,{...i,...r,ref:t})});zy.displayName="DropdownMenuCheckboxItem";var Hy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(wy,{...i,...r,ref:t})});Hy.displayName="DropdownMenuRadioGroup";var Ky=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(xy,{...i,...r,ref:t})});Ky.displayName="DropdownMenuRadioItem";var Wy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(_y,{...i,...r,ref:t})});Wy.displayName="DropdownMenuItemIndicator";var Yy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(Sy,{...i,...r,ref:t})});Yy.displayName="DropdownMenuSeparator";var Gy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(Ty,{...i,...r,ref:t})});Gy.displayName="DropdownMenuArrow";var Qy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(Cy,{...i,...r,ref:t})});Qy.displayName="DropdownMenuSubTrigger";var Xy=d.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Iy(n);return(0,h.jsx)(Ny,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Xy.displayName="DropdownMenuSubContent";var Zy=Ry,Jy=My,ev=jy,tv=Uy,nv=qy;const rv=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(6);let r,i;return n[0]!==e.className?(r=dn("graphiql-un-styled",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,h.jsx)(Jy,{asChild:!0,children:(0,h.jsx)("button",{...e,ref:t,className:r})}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});rv.displayName="DropdownMenuButton";const iv=Object.assign(Zy,{Button:rv,Item:e=>{const t=(0,m.c)(10);let n,r,i,o,s;return t[0]!==e?(({className:r,children:n,...i}=e),t[0]=e,t[1]=n,t[2]=r,t[3]=i):(n=t[1],r=t[2],i=t[3]),t[4]!==r?(o=dn("graphiql-dropdown-item",r),t[4]=r,t[5]=o):o=t[5],t[6]!==n||t[7]!==i||t[8]!==o?(s=(0,h.jsx)(nv,{className:o,...i,children:n}),t[6]=n,t[7]=i,t[8]=o,t[9]=s):s=t[9],s},Content:e=>{const t=(0,m.c)(14);let n,r,i,o,s;t[0]!==e?(({children:n,align:o,sideOffset:s,className:r,...i}=e),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=s):(n=t[1],r=t[2],i=t[3],o=t[4],s=t[5]);const a=void 0===o?"start":o,l=void 0===s?5:s;let u,c;return t[6]!==r?(u=dn("graphiql-dropdown-content",r),t[6]=r,t[7]=u):u=t[7],t[8]!==a||t[9]!==n||t[10]!==i||t[11]!==l||t[12]!==u?(c=(0,h.jsx)(ev,{children:(0,h.jsx)(tv,{align:a,sideOffset:l,className:u,...i,children:n})}),t[8]=a,t[9]=n,t[10]=i,t[11]=l,t[12]=u,t[13]=c):c=t[13],c}}),ov=Object.assign(e=>{const t=(0,m.c)(12);let n,r,i,o,s,a;return t[0]!==e?(({button:n,children:r,...i}=e),t[0]=e,t[1]=n,t[2]=r,t[3]=i):(n=t[1],r=t[2],i=t[3]),t[4]!==n?(o=(0,h.jsx)(Jy,{asChild:!0,children:n}),t[4]=n,t[5]=o):o=t[5],t[6]!==r?(s=(0,h.jsx)(iv.Content,{children:r}),t[6]=r,t[7]=s):s=t[7],t[8]!==i||t[9]!==o||t[10]!==s?(a=(0,h.jsxs)(iv,{...i,children:[o,s]}),t[8]=i,t[9]=o,t[10]=s,t[11]=a):a=t[11],a},{Item:iv.Item});function sv(e){const t=(0,m.c)(26),{defaultSizeRelation:n,direction:r,initiallyHidden:i,onHiddenElementChange:o,sizeThresholdFirst:s,sizeThresholdSecond:a,storageKey:l}=e,u=void 0===n?1:n,c=void 0===s?100:s,f=void 0===a?100:a,p=St(av);let h;t[0]!==i||t[1]!==p||t[2]!==l?(h=()=>{const e=l&&p.get(l);return e===lv||"first"===i?"first":e===uv||"second"===i?"second":null},t[0]=i,t[1]=p,t[2]=l,t[3]=h):h=t[3];const[g,y]=(0,d.useState)(h),v=(0,d.useRef)(null),b=(0,d.useRef)(null),E=(0,d.useRef)(null),k=(0,d.useRef)(`${u}`);let w,x,_,S,T,C,N;return t[4]!==p||t[5]!==l?(w=()=>{const e=l&&p.get(l)||k.current;v.current&&(v.current.style.flex=e===lv||e===uv?k.current:e),E.current&&(E.current.style.flex="1")},t[4]=p,t[5]=l,t[6]=w):w=t[6],t[7]!==r||t[8]!==p||t[9]!==l?(x=[r,p,l],t[7]=r,t[8]=p,t[9]=l,t[10]=x):x=t[10],(0,d.useEffect)(w,x),t[11]!==g||t[12]!==p||t[13]!==l?(_=()=>{const e=function(e){if(e.style.left="-1000px",e.style.position="absolute",e.style.opacity="0",!v.current)return;const t=parseFloat(v.current.style.flex);(!Number.isFinite(t)||t<1)&&(v.current.style.flex="1")},t=function(e){if(e.style.left="",e.style.position="",e.style.opacity="",!l)return;const t=p.get(l);v.current&&t!==lv&&t!==uv&&(v.current.style.flex=t||k.current)};for(const n of["first","second"]){const r=("first"===n?v:E).current;r&&(n===g?e(r):t(r))}},S=[g,p,l],t[11]=g,t[12]=p,t[13]=l,t[14]=_,t[15]=S):(_=t[14],S=t[15]),(0,d.useEffect)(_,S),t[16]!==r||t[17]!==o||t[18]!==c||t[19]!==f||t[20]!==p||t[21]!==l?(C=()=>{if(!b.current||!v.current||!E.current)return;const e=Qe(500,e=>{l&&p.set(l,e)}),t=function(e){y(t=>e===t?t:(null==o||o(e),e))},n=b.current,i=v.current,s=i.parentElement,a="horizontal"===r,u=a?"clientX":"clientY",d=a?"left":"top",h=a?"right":"bottom",m=a?"clientWidth":"clientHeight",g=function(r){if(r.target!==r.currentTarget)return;r.preventDefault();const o=r[u]-n.getBoundingClientRect()[d],a=function(r){if(0===r.buttons)return l();const a=s.getBoundingClientRect(),p=r[u]-a[d]-o,g=a[h]-r[u]+o-n[m];if(p<c)t("first"),e(lv);else if(g<f)t("second"),e(uv);else{t(null);const n=""+p/g;i.style.flex=n,e(n)}};function l(){document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",l)}document.addEventListener("mousemove",a),document.addEventListener("mouseup",l)};n.addEventListener("mousedown",g);const w=function(){v.current&&(v.current.style.flex=k.current),e(k.current),t(null)};return n.addEventListener("dblclick",w),()=>{n.removeEventListener("mousedown",g),n.removeEventListener("dblclick",w)}},T=[r,o,c,f,p,l],t[16]=r,t[17]=o,t[18]=c,t[19]=f,t[20]=p,t[21]=l,t[22]=T,t[23]=C):(T=t[22],C=t[23]),(0,d.useEffect)(C,T),t[24]!==g?(N={dragBarRef:b,hiddenElement:g,firstRef:v,setHiddenElement:y,secondRef:E},t[24]=g,t[25]=N):N=t[25],N}function av(e){return e.storage}const lv="hide-first",uv="hide-second";var cv=s(68172),dv=s(5839);const fv=e=>{var t;const n=e.currentTarget;n===document.activeElement&&"Enter"===e.code&&(e.preventDefault(),null==(t=n.querySelector("textarea"))||t.focus())};function pv({uri:e,value:t}){const{monaco:n}=Ye.getState();if(!n)throw new Error("Monaco editor is not initialized");const r=dv.r.file(e),i=n.editor.getModel(r),o=r.path.split(".").at(-1);return i??n.editor.createModel(t,o,r)}function hv(e,t){const{model:n}=t;if(!n)throw new Error("options.model is required");const r=n.uri.path.split(".").at(-1),{monaco:i}=Ye.getState();if(!i)throw new Error("Monaco editor is not initialized");return i.editor.create(e.current,{language:r,automaticLayout:!0,fontSize:15,minimap:{enabled:!1},tabSize:2,renderLineHighlight:"none",stickyScroll:{enabled:!1},overviewRulerLanes:0,scrollbar:{verticalScrollbarSize:10},scrollBeyondLastLine:!1,fontFamily:'"Fira Code"',fontLigatures:!0,lineNumbersMinChars:2,tabIndex:-1,...t})}function mv(e){return()=>{for(const t of e)t.dispose()}}const gv=e=>{const t=(0,m.c)(53);let n,r,i;t[0]!==e?(({onClickReference:n,onEdit:r,...i}=e),t[0]=e,t[1]=n,t[2]=r,t[3]=i):(n=t[1],r=t[2],i=t[3]);const{setOperationName:o,setEditor:s,updateActiveTabValues:a,setVisiblePlugin:l,setSchemaReference:u,run:c,setOperationFacts:f,copyQuery:p,prettifyEditors:g,mergeQuery:y}=Tt();let v;t[4]===Symbol.for("react.memo_cache_sentinel")?(v=ln("initialQuery","schema","referencePlugin","operations","operationName","externalFragments","uriInstanceId","storage","monacoTheme"),t[4]=v):v=t[4];const{initialQuery:b,schema:E,referencePlugin:k,operations:w,operationName:x,externalFragments:_,uriInstanceId:S,storage:T,monacoTheme:C}=St(v),N=(0,d.useRef)(null),A=(0,d.useRef)(null);let D,O,I;t[5]!==n?(D=()=>{A.current=n},O=[n],t[5]=n,t[6]=D,t[7]=O):(D=t[6],O=t[7]),(0,d.useEffect)(D,O),t[8]!==x||t[9]!==w||t[10]!==E||t[11]!==f?(I=function(e){const t=(0,ft.Jb)(E,e.getValue()),n=function(e,t,n){if(!n||n.length<1)return;const r=n.map(e=>{var t;return null==(t=e.name)?void 0:t.value});if(t&&r.includes(t))return t;if(t&&e){const n=e.map(e=>{var t;return null==(t=e.name)?void 0:t.value}).indexOf(t);if(-1!==n&&n<r.length)return r[n]}return r[0]}(w,x,null==t?void 0:t.operations);return f({documentAST:null==t?void 0:t.documentAST,operationName:n,operations:null==t?void 0:t.operations}),t?{...t,operationName:n}:null},t[8]=x,t[9]=w,t[10]=E,t[11]=f,t[12]=I):I=t[12];const L=I,F=(0,d.useRef)(null);let R,P;t[13]!==x||t[14]!==w||t[15]!==c||t[16]!==o?(R=()=>{F.current=e=>{var t;if(!w)return void c();const n=e.getPosition(),r=e.getModel().getOffsetAt(n);let i;for(const e of w)e.loc&&e.loc.start<=r&&e.loc.end>=r&&(i=null==(t=e.name)?void 0:t.value);i&&i!==x&&o(i),c()}},P=[x,w,c,o],t[13]=x,t[14]=w,t[15]=c,t[16]=o,t[17]=R,t[18]=P):(R=t[17],P=t[18]),(0,d.useEffect)(R,P);const{monacoGraphQL:M,monaco:j}=Ge();let V,U,B,$,q,z;return t[19]!==p||t[20]!==L||t[21]!==b||t[22]!==y||t[23]!==j||t[24]!==M||t[25]!==C||t[26]!==r||t[27]!==x||t[28]!==g||t[29]!==s||t[30]!==o||t[31]!==T||t[32]!==a||t[33]!==S?(V=()=>{if(!j||!M)return;const e=dv.r.file(`${S}operation.graphql`),t=dv.r.file(`${S}${Ae}`),{validateVariablesJSON:n}=Oe;n[e.toString()]=[t.toString()],M.setDiagnosticSettings(Oe);const i=pv({uri:e.path.replace("/",""),value:b}),l=hv(N,{model:i,theme:C});s({queryEditor:l});const u=Qe(100,()=>{const e=l.getValue();T.set(be,e);const t=L(l);null==r||r(e,null==t?void 0:t.documentAST),(null==t?void 0:t.operationName)&&x!==t.operationName&&o(t.operationName),a({query:e,operationName:(null==t?void 0:t.operationName)??null})});return L(l),mv([i.onDidChangeContent(u),l.addAction({...Ce,run:(...e)=>{const t=e;return F.current(...t)}}),l.addAction({...Ne,run:p}),l.addAction({...Se,run:g}),l.addAction({...Te,run:y}),l,i])},t[19]=p,t[20]=L,t[21]=b,t[22]=y,t[23]=j,t[24]=M,t[25]=C,t[26]=r,t[27]=x,t[28]=g,t[29]=s,t[30]=o,t[31]=T,t[32]=a,t[33]=S,t[34]=V):V=t[34],t[35]!==j||t[36]!==M?(U=[j,M],t[35]=j,t[36]=M,t[37]=U):U=t[37],(0,d.useEffect)(V,U),t[38]!==_||t[39]!==j||t[40]!==M||t[41]!==k||t[42]!==E||t[43]!==u||t[44]!==l||t[45]!==S?($=()=>{if(!E||!j||!M)return;if(M.setSchemaConfig([{uri:`${S}schema.graphql`,schema:E}]),M.setExternalFragmentDefinitions([..._.values()]),!k)return;let e;e=null;const t=[j.languages.registerDefinitionProvider("graphql",{provideDefinition(t,n,r){const i=(0,cv.St)(n),o=(0,ft.W8)(t.getValue(),i,E);if(!o)return;const{typeInfo:s,token:a}=o,{kind:l,step:u}=a.state;if("Field"===l&&0===u&&s.fieldDef||"AliasedField"===l&&2===u&&s.fieldDef||"ObjectField"===l&&0===u&&s.fieldDef||"Directive"===l&&1===u&&s.directiveDef||"Variable"===l&&s.type||"Argument"===l&&0===u&&s.argDef||"EnumValue"===l&&s.enumValue&&"description"in s.enumValue||"NamedType"===l&&s.type&&"description"in s.type){e={kind:l,typeInfo:s};const{lineNumber:r,column:i}=n,o=new yt.Q(r,i,r,i);return[{uri:t.uri,range:o}]}e=null}}),j.languages.registerReferenceProvider("graphql",{provideReferences(t,n,r,i){var o;const{lineNumber:s,column:a}=n;if(!e)return;l(k),u(e),null==(o=A.current)||o.call(A,e);const c=new yt.Q(s,a,s,a);return[{uri:t.uri,range:c}]}})];return mv(t)},B=[E,k,u,l,_,S,M,j],t[38]=_,t[39]=j,t[40]=M,t[41]=k,t[42]=E,t[43]=u,t[44]=l,t[45]=S,t[46]=B,t[47]=$):(B=t[46],$=t[47]),(0,d.useEffect)($,B),t[48]!==i.className?(q=dn("graphiql-editor",i.className),t[48]=i.className,t[49]=q):q=t[49],t[50]!==i||t[51]!==q?(z=(0,h.jsx)("div",{ref:N,tabIndex:0,onKeyDown:fv,...i,className:q}),t[50]=i,t[51]=q,t[52]=z):z=t[52],z},yv=()=>{const e=(0,m.c)(18),{setOperationName:t,run:n,stop:r}=Tt();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=ln("operations","operationName","isFetching","overrideOperationName"),e[0]=i):i=e[0];const{operations:o,operationName:s,isFetching:a,overrideOperationName:l}=St(i);let u;e[1]!==o?(u=void 0===o?[]:o,e[1]=o,e[2]=u):u=e[2];const c=u,d=St(vv),f=c.length>1&&"string"!=typeof l,p=a||d,g=`${p?"Stop":"Execute"} query (${me(ge.runQuery.key,"Cmd")})`;let y,v;e[3]!==p?(y=p?(0,h.jsx)(rn,{}):(0,h.jsx)(Gt,{}),e[3]=p,e[4]=y):y=e[4],e[5]!==g||e[6]!==y?(v={type:"button",className:"graphiql-execute-button",children:y,"aria-label":g},e[5]=g,e[6]=y,e[7]=v):v=e[7];const b=v;let E;return e[8]!==b||e[9]!==f||e[10]!==p||e[11]!==g||e[12]!==s||e[13]!==c||e[14]!==n||e[15]!==t||e[16]!==r?(E=f&&!p?(0,h.jsxs)(iv,{children:[(0,h.jsx)(kh,{label:g,children:(0,h.jsx)(iv.Button,{...b})}),(0,h.jsx)(iv.Content,{children:c.map((e,r)=>{const i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return(0,h.jsx)(iv.Item,{onSelect:()=>{var r;const i=null==(r=e.name)?void 0:r.value;i&&i!==s&&t(i),n()},children:i},`${i}-${r}`)})})]}):(0,h.jsx)(kh,{label:g,children:(0,h.jsx)("button",{...b,onClick:p?r:n})}),e[8]=b,e[9]=f,e[10]=p,e[11]=g,e[12]=s,e[13]=c,e[14]=n,e[15]=t,e[16]=r,e[17]=E):E=e[17],E};function vv(e){return Boolean(e.subscription)}const bv=e=>{const t=(0,m.c)(19);let n,r;t[0]!==e?(({onEdit:n,...r}=e),t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o,prettifyEditors:s,mergeQuery:a}=Tt();let l;t[3]===Symbol.for("react.memo_cache_sentinel")?(l=ln("initialVariables","uriInstanceId"),t[3]=l):l=t[3];const{initialVariables:u,uriInstanceId:c}=St(l),f=(0,d.useRef)(null),p=Ge(Ev);let g,y,v,b;return Xe(n,Ee,"variables"),t[4]!==u||t[5]!==a||t[6]!==p||t[7]!==s||t[8]!==o||t[9]!==i||t[10]!==c?(g=()=>{if(!p)return;const e=pv({uri:`${c}${Ae}`,value:u}),t=hv(f,{model:e});return i({variableEditor:t}),mv([t.addAction({...Ce,run:o}),t.addAction({...Se,run:s}),t.addAction({...Te,run:a}),t,e])},t[4]=u,t[5]=a,t[6]=p,t[7]=s,t[8]=o,t[9]=i,t[10]=c,t[11]=g):g=t[11],t[12]!==p?(y=[p],t[12]=p,t[13]=y):y=t[13],(0,d.useEffect)(g,y),t[14]!==r.className?(v=dn("graphiql-editor",r.className),t[14]=r.className,t[15]=v):v=t[15],t[16]!==r||t[17]!==v?(b=(0,h.jsx)("div",{ref:f,tabIndex:0,onKeyDown:fv,...r,className:v}),t[16]=r,t[17]=v,t[18]=b):b=t[18],b};function Ev(e){return e.monaco}const kv=e=>{const t=(0,m.c)(19);let n,r;t[0]!==e?(({onEdit:n,...r}=e),t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o,prettifyEditors:s,mergeQuery:a}=Tt();let l;t[3]===Symbol.for("react.memo_cache_sentinel")?(l=ln("initialHeaders","shouldPersistHeaders","uriInstanceId"),t[3]=l):l=t[3];const{initialHeaders:u,shouldPersistHeaders:c,uriInstanceId:f}=St(l),p=(0,d.useRef)(null),g=Ge(wv);let y,v,b,E;return Xe(n,c?ye:null,"headers"),t[4]!==u||t[5]!==a||t[6]!==g||t[7]!==s||t[8]!==o||t[9]!==i||t[10]!==f?(y=()=>{if(!g)return;const e=pv({uri:`${f}request-headers.json`,value:u}),t=hv(p,{model:e});return i({headerEditor:t}),mv([t.addAction({...Ce,run:o}),t.addAction({...Se,run:s}),t.addAction({...Te,run:a}),t,e])},t[4]=u,t[5]=a,t[6]=g,t[7]=s,t[8]=o,t[9]=i,t[10]=f,t[11]=y):y=t[11],t[12]!==g?(v=[g],t[12]=g,t[13]=v):v=t[13],(0,d.useEffect)(y,v),t[14]!==r.className?(b=dn("graphiql-editor",r.className),t[14]=r.className,t[15]=b):b=t[15],t[16]!==r||t[17]!==b?(E=(0,h.jsx)("div",{ref:p,tabIndex:0,onKeyDown:fv,...r,className:b}),t[16]=r,t[17]=b,t[18]=E):E=t[18],E};function wv(e){return e.monaco}const xv=e=>Boolean(e&&e.getVelocity),_v=(0,d.createContext)(null);function Sv(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}function Tv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function Cv(e){const t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Nv(e,t,n,r){if("function"==typeof t){const[i,o]=Cv(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[i,o]=Cv(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function Av(e,t,n){const r=e.getProps();return Nv(r,t,void 0!==n?n:r.custom,e)}function Dv(e,t){return e?.[t]??e?.default??e}const Ov=e=>e,Iv={},Lv=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Fv={value:null,addProjectionMetrics:null};function Rv(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Lv.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,o=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(c.schedule(t),e()),l++,t(a)}const c={schedule:(e,t=!1,o=!1)=>{const a=o&&i?n:r;return t&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),s.delete(e)},process:e=>{a=e,i?o=!0:(i=!0,[n,r]=[r,n],n.forEach(u),t&&Fv.value&&Fv.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(e)))}};return c}(o,t?n:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:h}=s,m=()=>{const o=Iv.useManualTiming?i.timestamp:performance.now();n=!1,Iv.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),p.process(i),h.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:Lv.reduce((t,o)=>{const a=s[o];return t[o]=(t,o=!1,s=!1)=>(n||(n=!0,r=!0,i.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<Lv.length;t++)s[Lv[t]].cancel(e)},state:i,steps:s}}const{schedule:Pv,cancel:Mv,state:jv,steps:Vv}=Rv("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Ov,!0),Uv=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bv=(()=>new Set(Uv))(),$v=new Set(["width","height","top","left","right","bottom",...Uv]);function qv(e,t){-1===e.indexOf(t)&&e.push(t)}function zv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Hv{constructor(){this.subscriptions=[]}add(e){return qv(this.subscriptions,e),()=>zv(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Kv(e,t){return t?e*(1e3/t):0}let Wv;function Yv(){Wv=void 0}const Gv={now:()=>(void 0===Wv&&Gv.set(jv.isProcessing||Iv.useManualTiming?jv.timestamp:performance.now()),Wv),set:e=>{Wv=e,queueMicrotask(Yv)}},Qv={current:void 0};class Xv{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Gv.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty();t&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Gv.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Hv);const n=this.events[e].add(t);return"change"===e?()=>{n(),Pv.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Qv.current&&Qv.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Gv.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Kv(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Zv(e,t){return new Xv(e,t)}const Jv=e=>Array.isArray(e);function eb(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Zv(n))}function tb(e){return Jv(e)?e[e.length-1]||0:e}function nb(e,t){const n=e.getValue("willChange");if(r=n,Boolean(xv(r)&&r.add))return n.add(t);if(!n&&Iv.WillChange){const n=new Iv.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}const rb=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ib="data-"+rb("framerAppearId");function ob(e){return e.props[ib]}const sb=(e,t)=>n=>t(e(n)),ab=(...e)=>e.reduce(sb),lb=(e,t,n)=>n>t?t:n<e?e:n,ub=e=>1e3*e,cb=e=>e/1e3,db={layout:0,mainThread:0,waapi:0},fb=e=>t=>"string"==typeof t&&t.startsWith(e),pb=fb("--"),hb=fb("var(--"),mb=e=>!!hb(e)&&gb.test(e.split("/*")[0].trim()),gb=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,yb={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},vb={...yb,transform:e=>lb(0,1,e)},bb={...yb,default:1},Eb=e=>Math.round(1e5*e)/1e5,kb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,wb=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xb=(e,t)=>n=>Boolean("string"==typeof n&&wb.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),_b=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[i,o,s,a]=r.match(kb);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Sb={...yb,transform:e=>Math.round((e=>lb(0,255,e))(e))},Tb={test:xb("rgb","red"),parse:_b("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Sb.transform(e)+", "+Sb.transform(t)+", "+Sb.transform(n)+", "+Eb(vb.transform(r))+")"},Cb={test:xb("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Tb.transform},Nb=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ab=Nb("deg"),Db=Nb("%"),Ob=Nb("px"),Ib=Nb("vh"),Lb=Nb("vw"),Fb=(()=>({...Db,parse:e=>Db.parse(e)/100,transform:e=>Db.transform(100*e)}))(),Rb={test:xb("hsl","hue"),parse:_b("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Db.transform(Eb(t))+", "+Db.transform(Eb(n))+", "+Eb(vb.transform(r))+")"},Pb={test:e=>Tb.test(e)||Cb.test(e)||Rb.test(e),parse:e=>Tb.test(e)?Tb.parse(e):Rb.test(e)?Rb.parse(e):Cb.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Tb.transform(e):Rb.transform(e),getAnimatableNone:e=>{const t=Pb.parse(e);return t.alpha=0,Pb.transform(t)}},Mb=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,jb="number",Vb="color",Ub=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Bb(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const s=t.replace(Ub,e=>(Pb.test(e)?(r.color.push(o),i.push(Vb),n.push(Pb.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(jb),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function $b(e){return Bb(e).values}function qb(e){const{split:t,types:n}=Bb(e),r=t.length;return e=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],void 0!==e[o]){const t=n[o];i+=t===jb?Eb(e[o]):t===Vb?Pb.transform(e[o]):e[o]}return i}}const zb=e=>"number"==typeof e?0:Pb.test(e)?Pb.getAnimatableNone(e):e,Hb={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(kb)?.length||0)+(e.match(Mb)?.length||0)>0},parse:$b,createTransformer:qb,getAnimatableNone:function(e){const t=$b(e);return qb(e)(t.map(zb))}};function Kb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Wb(e,t){return n=>n>0?t:e}const Yb=(e,t,n)=>e+(t-e)*n,Gb=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Qb=[Cb,Tb,Rb];function Xb(e){const t=(n=e,Qb.find(e=>e.test(n)));var n;if(Boolean(t),!Boolean(t))return!1;let r=t.parse(e);return t===Rb&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=Kb(a,r,e+1/3),o=Kb(a,r,e),s=Kb(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(r)),r}const Zb=(e,t)=>{const n=Xb(e),r=Xb(t);if(!n||!r)return Wb(e,t);const i={...n};return e=>(i.red=Gb(n.red,r.red,e),i.green=Gb(n.green,r.green,e),i.blue=Gb(n.blue,r.blue,e),i.alpha=Yb(n.alpha,r.alpha,e),Tb.transform(i))},Jb=new Set(["none","hidden"]);function eE(e,t){return n=>Yb(e,t,n)}function tE(e){return"number"==typeof e?eE:"string"==typeof e?mb(e)?Wb:Pb.test(e)?Zb:iE:Array.isArray(e)?nE:"object"==typeof e?Pb.test(e)?Zb:rE:Wb}function nE(e,t){const n=[...e],r=n.length,i=e.map((e,n)=>tE(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function rE(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=tE(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const iE=(e,t)=>{const n=Hb.createTransformer(t),r=Bb(e),i=Bb(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Jb.has(e)&&!i.values.length||Jb.has(t)&&!r.values.length?function(e,t){return Jb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):ab(nE(function(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}(r,i),i.values),n):Wb(e,t)};function oE(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?Yb(e,t,n):tE(e)(e,t)}const sE=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>Pv.update(t,e),stop:()=>Mv(t),now:()=>jv.isProcessing?jv.timestamp:Gv.now()}},aE=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},lE=2e4;function uE(e){let t=0,n=e.next(t);for(;!n.done&&t<lE;)t+=50,n=e.next(t);return t>=lE?1/0:t}function cE(e,t,n){const r=Math.max(t-5,0);return Kv(n-e(r),t-r)}const dE=.01,fE=2,pE=.005,hE=.5;const mE=12;function gE(e,t){return e*Math.sqrt(1-t*t)}const yE=["duration","bounce"],vE=["stiffness","damping","mass"];function bE(e,t){return t.some(t=>void 0!==e[t])}function EE(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!bE(e,vE)&&bE(e,yE))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,o=2*lb(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:o}}else{const n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let i,o;ub(10);let s=1-t;s=lb(.05,1,s),e=lb(.01,10,cb(e)),s<1?(i=t=>{const r=t*s,i=r*e;return.001-(r-n)/gE(t,s)*Math.exp(-i)},o=t=>{const r=t*s*e,o=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=gE(Math.pow(t,2),s);return(.001-i(t)>0?-1:1)*((o-a)*l)/u}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<mE;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=ub(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-cb(n.velocity||0)}),h=f||0,m=u/(2*Math.sqrt(l*c)),g=s-o,y=cb(Math.sqrt(l/c)),v=Math.abs(g)<5;let b;if(r||(r=v?dE:fE),i||(i=v?pE:hE),m<1){const e=gE(y,m);b=t=>{const n=Math.exp(-m*y*t);return s-n*((h+m*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)b=e=>s-Math.exp(-y*e)*(g+(h+y*g)*e);else{const e=y*Math.sqrt(m*m-1);b=t=>{const n=Math.exp(-m*y*t),r=Math.min(e*t,300);return s-n*((h+m*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}const E={calculatedDuration:p&&d||null,next:e=>{const t=b(e);if(p)a.done=e>=d;else{let n=0===e?h:0;m<1&&(n=0===e?ub(h):cE(b,e,t));const o=Math.abs(n)<=r,l=Math.abs(s-t)<=i;a.done=o&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(uE(E),lE),t=aE(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function kE({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const m=d+h,g=void 0===s?m:s(m);g!==m&&(h=g-d);const y=e=>-h*Math.exp(-e/r),v=e=>g+y(e),b=e=>{const t=y(e),n=v(e);f.done=Math.abs(t)<=u,f.value=f.done?g:n};let E,k;const w=e=>{var t;t=f.value,(void 0!==a&&t<a||void 0!==l&&t>l)&&(E=e,k=EE({keyframes:[f.value,p(f.value)],velocity:cE(v,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return k||void 0!==E||(t=!0,b(e),w(e)),void 0!==E&&e>=E?k.next(e-E):(!t&&b(e),f)}}}EE.applyToOptions=e=>{const t=function(e,t=100){const n=EE({...e,keyframes:[0,t]}),r=Math.min(uE(n),lE);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:cb(r)}}(e,100);return e.ease=t.ease,e.duration=ub(t.duration),e.type="keyframes",e};const wE=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function xE(e,t,n,r){if(e===t&&n===r)return Ov;return i=>0===i||1===i?i:wE(function(e,t,n,r,i){let o,s,a=0;do{s=t+(n-t)/2,o=wE(s,r,i)-e,o>0?n=s:t=s}while(Math.abs(o)>1e-7&&++a<12);return s}(i,0,1,e,n),t,r)}const _E=xE(.42,0,1,1),SE=xE(0,0,.58,1),TE=xE(.42,0,.58,1),CE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,NE=e=>t=>1-e(1-t),AE=xE(.33,1.53,.69,.99),DE=NE(AE),OE=CE(DE),IE=e=>(e*=2)<1?.5*DE(e):.5*(2-Math.pow(2,-10*(e-1))),LE=e=>1-Math.sin(Math.acos(e)),FE=NE(LE),RE=CE(LE),PE=e=>Array.isArray(e)&&"number"==typeof e[0],ME={linear:Ov,easeIn:_E,easeInOut:TE,easeOut:SE,circIn:LE,circInOut:RE,circOut:FE,backIn:DE,backInOut:OE,backOut:AE,anticipate:IE},jE=e=>{if(PE(e)){e.length;const[t,n,r,i]=e;return xE(t,n,r,i)}return"string"==typeof e?ME[e]:e},VE=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r};function UE(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(t.length,1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const r=[],i=n||Iv.mix||oE,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ov:t;o=ab(e,o)}r.push(o)}return r}(t,r,i),l=a.length,u=n=>{if(s&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=VE(e[r],e[r+1],n);return a[r](i)};return n?t=>u(lb(e[0],e[o-1],t)):u}function BE({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(jE):jE(r),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=VE(0,t,r);e.push(Yb(n,1,i))}}(t,e.length-1),t}(t),e),a=UE(s,t,{ease:Array.isArray(i)?i:(l=t,u=i,l.map(()=>u||TE).splice(0,l.length-1))});var l,u;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}const $E=e=>null!==e;function qE(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter($E),s=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}const zE={decay:kE,inertia:kE,tween:BE,keyframes:BE,spring:EE};function HE(e){"string"==typeof e.type&&(e.type=zE[e.type])}class KE{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const WE=e=>e/100;class YE extends KE{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==Gv.now()&&this.tick(Gv.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},db.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;HE(e);const{type:t=BE,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:s}=e;const a=t||BE;a!==BE&&"number"!=typeof s[0]&&(this.mixKeyframes=ab(WE,oE(s[0],s[1])),s=[0,100]);const l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=uE(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:f,type:p,onUpdate:h,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,b=n;if(c){const e=Math.min(this.currentTime,r)/s;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,c+1),Boolean(t%2)&&("reverse"===d?(n=1-n,f&&(n-=f/s)):"mirror"===d&&(b=o)),v=lb(0,1,n)*s}const E=y?{done:!1,value:u[0]}:b.next(v);i&&(E.value=i(E.value));let{done:k}=E;y||null===a||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return w&&p!==kE&&(E.value=qE(u,this.options,m,this.speed)),h&&h(E.value),w&&this.finish(),E}then(e,t){return this.finished.then(e,t)}get duration(){return cb(this.calculatedDuration)}get time(){return cb(this.currentTime)}set time(e){e=ub(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Gv.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=cb(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=sE,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Gv.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,db.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const GE=e=>180*e/Math.PI,QE=e=>{const t=GE(Math.atan2(e[1],e[0]));return ZE(t)},XE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:QE,rotateZ:QE,skewX:e=>GE(Math.atan(e[1])),skewY:e=>GE(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ZE=e=>((e%=360)<0&&(e+=360),e),JE=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ek=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tk={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:JE,scaleY:ek,scale:e=>(JE(e)+ek(e))/2,rotateX:e=>ZE(GE(Math.atan2(e[6],e[5]))),rotateY:e=>ZE(GE(Math.atan2(-e[2],e[0]))),rotateZ:QE,rotate:QE,skewX:e=>GE(Math.atan(e[4])),skewY:e=>GE(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function nk(e){return e.includes("scale")?1:0}function rk(e,t){if(!e||"none"===e)return nk(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=tk,i=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=XE,i=t}if(!i)return nk(t);const o=r[t],s=i[1].split(",").map(ik);return"function"==typeof o?o(s):s[o]}function ik(e){return parseFloat(e.trim())}const ok=e=>e===yb||e===Ob,sk=new Set(["x","y","z"]),ak=Uv.filter(e=>!sk.has(e)),lk={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>rk(t,"x"),y:(e,{transform:t})=>rk(t,"y")};lk.translateX=lk.x,lk.translateY=lk.y;const uk=new Set;let ck=!1,dk=!1,fk=!1;function pk(){if(dk){const e=Array.from(uk).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return ak.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}dk=!1,ck=!1,uk.forEach(e=>e.complete(fk)),uk.clear()}function hk(){uk.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dk=!0)})}class mk{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(uk.add(this),ck||(ck=!0,Pv.read(hk),Pv.resolveKeyframes(pk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),uk.delete(this)}cancel(){"scheduled"===this.state&&(uk.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function gk(e){let t;return()=>(void 0===t&&(t=e()),t)}const yk=gk(()=>void 0!==window.ScrollTimeline),vk={};function bk(e,t){const n=gk(e);return()=>vk[t]??n()}const Ek=bk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),kk=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,wk={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:kk([0,.65,.55,1]),circOut:kk([.55,0,1,.45]),backIn:kk([.31,.01,.66,-.59]),backOut:kk([.33,1.53,.69,.99])};function xk(e,t){return e?"function"==typeof e?Ek()?aE(e,t):"ease-out":PE(e)?kk(e):Array.isArray(e)?e.map(e=>xk(e,t)||wk.easeOut):wk[e]:void 0}function _k(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=xk(a,i);Array.isArray(d)&&(c.easing=d),Fv.value&&db.waapi++;const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(f.pseudoElement=u);const p=e.animate(c,f);return Fv.value&&p.finished.finally(()=>{db.waapi--}),p}function Sk(e){return"function"==typeof e&&"applyToOptions"in e}class Tk extends KE{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=o,this.options=e,e.type;const l=function({type:e,...t}){return Sk(e)&&Ek()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=_k(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=qE(r,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return cb(Number(e))}get time(){return cb(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=ub(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&yk()?(this.animation.timeline=e,Ov):t(this)}}const Ck={anticipate:IE,backInOut:OE,circInOut:RE};class Nk extends Tk{constructor(e){var t;"string"==typeof(t=e).ease&&t.ease in Ck&&(t.ease=Ck[t.ease]),HE(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const s=new YE({...o,autoplay:!1}),a=ub(this.finishedTime??this.time);t.setWithVelocity(s.sample(a-10).value,s.sample(a).value,10),s.stop()}}const Ak=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Hb.test(e)&&"0"!==e||e.startsWith("url(")));function Dk(e){return"object"==typeof e&&null!==e}function Ok(e){return Dk(e)&&"offsetHeight"in e}const Ik=new Set(["opacity","clipPath","filter","transform"]),Lk=gk(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class Fk extends KE{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Gv.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...c},f=u?.KeyframeResolver||mk;this.keyframeResolver=new f(s,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:i,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:u}=n;this.resolvedAt=Gv.now(),function(e,t,n,r){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],s=Ak(i,t),a=Ak(o,t);return!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Sk(n))&&r)}(e,i,o,s)||(!Iv.instantAnimations&&a||u?.(qE(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);const c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!l&&function(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!Ok(t?.owner?.current))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return Lk()&&n&&Ik.has(n)&&("transform"!==n||!l)&&!a&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(c)?new Nk({...c,element:c.motionValue.owner.current}):new YE(c);d.finished.then(()=>this.notifyFinished()).catch(Ov),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),fk=!0,hk(),pk(),fk=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Rk=e=>null!==e,Pk={type:"spring",stiffness:500,damping:25,restSpeed:10},Mk={type:"keyframes",duration:.8},jk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Vk=(e,t,n,r={},i,o)=>s=>{const a=Dv(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u-=ub(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(a)||Object.assign(c,((e,{keyframes:t})=>t.length>2?Mk:Bv.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Pk:jk)(e,c)),c.duration&&(c.duration=ub(c.duration)),c.repeatDelay&&(c.repeatDelay=ub(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(d=!0)),(Iv.instantAnimations||Iv.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(Rk),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return o&&void 0!==r?r:i[o]}(c.keyframes,a);if(void 0!==e)return void Pv.update(()=>{c.onUpdate(e),c.onComplete()})}return a.isSync?new YE(c):new Fk(c)};function Uk({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Bk(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in a){const r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||u&&Uk(u,t))continue;const s={delay:n,...Dv(o||{},t)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(i)&&i===c&&!s.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const n=ob(e);if(n){const e=window.MotionHandoffAnimation(n,t,Pv);null!==e&&(s.startTime=e,d=!0)}}nb(e,t),r.start(Vk(t,r,i,e.shouldReduceMotion&&$v.has(t)?{type:!1}:s,e,d));const f=r.animation;f&&l.push(f)}return s&&Promise.all(l).then(()=>{Pv.update(()=>{s&&function(e,t){const n=Av(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const t in o)eb(e,t,tb(o[t]))}(e,s)})}),l}function $k(e,t,n={}){const r=Av(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Bk(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=0,o=1,s){const a=[],l=e.variantChildren.size,u=(l-1)*i,c="function"==typeof r,d=c?e=>r(e,l):1===o?(e=0)=>e*i:(e=0)=>u-e*i;return Array.from(e.variantChildren).sort(qk).forEach((e,i)=>{e.notify("AnimationStart",t),a.push($k(e,t,{...s,delay:n+(c?0:r)+d(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,r,o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}return Promise.all([o(),s(n.delay)])}function qk(e,t){return e.sortNodePosition(t)}function zk(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Hk(e){return"string"==typeof e||Array.isArray(e)}const Kk=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wk=["initial",...Kk],Yk=Wk.length;function Gk(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Gk(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Yk;n++){const r=Wk[n],i=e.props[r];(Hk(i)||!1===i)&&(t[r]=i)}return t}const Qk=[...Kk].reverse(),Xk=Kk.length;function Zk(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>$k(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=$k(e,t,n);else{const i="function"==typeof t?Av(e,t,n.custom):t;r=Promise.all(Bk(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}(e),n=tw(),r=!0;const i=t=>(n,r)=>{const i=Av(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(o){const{props:s}=e,a=Gk(e.parent)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;t<Xk;t++){const f=Qk[t],p=n[f],h=void 0!==s[f]?s[f]:a[f],m=Hk(h),g=f===o?p.isActive:null;!1===g&&(d=t);let y=h===a[f]&&h!==s[f]&&m;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...c},!p.isActive&&null===g||!h&&!p.prevProp||Tv(h)||"boolean"==typeof h)continue;const v=Jk(p.prevProp,h);let b=v||f===o&&p.isActive&&!y&&m||t>d&&m,E=!1;const k=Array.isArray(h)?h:[h];let w=k.reduce(i(f),{});!1===g&&(w={});const{prevResolvedValues:x={}}=p,_={...x,...w},S=t=>{b=!0,u.has(t)&&(E=!0,u.delete(t)),p.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in _){const t=w[e],n=x[e];if(c.hasOwnProperty(e))continue;let r=!1;r=Jv(t)&&Jv(n)?!zk(t,n):t!==n,r?null!=t?S(e):u.add(e):void 0!==t&&u.has(e)?S(e):p.protectedKeys[e]=!0}p.prevProp=h,p.prevResolvedValues=w,p.isActive&&(c={...c,...w}),r&&e.blockInitialAnimation&&(b=!1),b&&(!y||!v||E)&&l.push(...k.map(e=>({animation:e,options:{type:f}})))}if(u.size){const t={};if("boolean"!=typeof s.initial){const n=Av(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{const r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let f=Boolean(l.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;const i=o(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=tw(),r=!0}}}function Jk(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!zk(t,e)}function ew(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tw(){return{animate:ew(!0),whileInView:ew(),whileHover:ew(),whileTap:ew(),whileDrag:ew(),whileFocus:ew(),exit:ew()}}class nw{constructor(e){this.isMounted=!1,this.node=e}update(){}}let rw=0;const iw={animation:{Feature:class extends nw{constructor(e){super(e),e.animationState||(e.animationState=Zk(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Tv(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends nw{constructor(){super(...arguments),this.id=rw++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}},ow={x:!1,y:!1};function sw(){return ow.x||ow.y}function aw(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const lw=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function uw(e){return{point:{x:e.pageX,y:e.pageY}}}function cw(e,t,n,r){return aw(e,t,(e=>t=>lw(t)&&e(t,uw(t)))(n),r)}function dw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function fw(e){return e.max-e.min}function pw(e,t,n,r=.5){e.origin=r,e.originPoint=Yb(t.min,t.max,e.origin),e.scale=fw(n)/fw(t),e.translate=Yb(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function hw(e,t,n,r){pw(e.x,t.x,n.x,r?r.originX:void 0),pw(e.y,t.y,n.y,r?r.originY:void 0)}function mw(e,t,n){e.min=n.min+t.min,e.max=e.min+fw(t)}function gw(e,t,n){e.min=t.min-n.min,e.max=e.min+fw(t)}function yw(e,t,n){gw(e.x,t.x,n.x),gw(e.y,t.y,n.y)}const vw=()=>({x:{min:0,max:0},y:{min:0,max:0}});function bw(e){return[e("x"),e("y")]}function Ew(e){return void 0===e||1===e}function kw({scale:e,scaleX:t,scaleY:n}){return!Ew(e)||!Ew(t)||!Ew(n)}function ww(e){return kw(e)||xw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xw(e){return _w(e.x)||_w(e.y)}function _w(e){return e&&"0%"!==e}function Sw(e,t,n){return n+t*(e-n)}function Tw(e,t,n,r,i){return void 0!==i&&(e=Sw(e,i,r)),Sw(e,n,r)+t}function Cw(e,t=0,n=1,r,i){e.min=Tw(e.min,t,n,r,i),e.max=Tw(e.max,t,n,r,i)}function Nw(e,{x:t,y:n}){Cw(e.x,t.translate,t.scale,t.originPoint),Cw(e.y,n.translate,n.scale,n.originPoint)}const Aw=.999999999999,Dw=1.0000000000001;function Ow(e,t){e.min=e.min+t,e.max=e.max+t}function Iw(e,t,n,r,i=.5){Cw(e,t,n,Yb(e.min,e.max,i),r)}function Lw(e,t){Iw(e.x,t.x,t.scaleX,t.scale,t.originX),Iw(e.y,t.y,t.scaleY,t.scale,t.originY)}function Fw(e,t){return dw(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Rw=({current:e})=>e?e.ownerDocument.defaultView:null;function Pw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const Mw=(e,t)=>Math.abs(e-t);class jw{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Bw(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Mw(e.x,t.x),r=Mw(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=jv;this.history.push({...r,timestamp:i});const{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Vw(t,this.transformPagePoint),Pv.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Bw("pointercancel"===e.type?this.lastMoveEventInfo:Vw(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!lw(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const s=Vw(uw(e),this.transformPagePoint),{point:a}=s,{timestamp:l}=jv;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=t;u&&u(e,Bw(s,this.history)),this.removeListeners=ab(cw(this.contextWindow,"pointermove",this.handlePointerMove),cw(this.contextWindow,"pointerup",this.handlePointerUp),cw(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Mv(this.updatePoint)}}function Vw(e,t){return t?{point:t(e.point)}:e}function Uw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bw({point:e},t){return{point:e,delta:Uw(e,qw(t)),offset:Uw(e,$w(t)),velocity:zw(t,.1)}}function $w(e){return e[0]}function qw(e){return e[e.length-1]}function zw(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=qw(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ub(t)));)n--;if(!r)return{x:0,y:0};const o=cb(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Hw(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Kw(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Ww=.35;function Yw(e,t,n){return{min:Gw(e,t),max:Gw(e,n)}}function Gw(e,t){return"number"==typeof e?e:e[t]||0}const Qw=new WeakMap;class Xw{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new jw(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(uw(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?ow[o]?null:(ow[o]=!0,()=>{ow[o]=!1}):ow.x||ow.y?null:(ow.x=ow.y=!0,()=>{ow.x=ow.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),bw(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Db.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=fw(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&Pv.postRender(()=>i(e,t)),nb(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>bw(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:Rw(this.visualElement)})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&Pv.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Zw(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Yb(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Yb(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Pw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:Hw(e.x,n,i),y:Hw(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Ww){return!1===e?e=0:!0===e&&(e=Ww),{x:Yw(e,"left","right"),y:Yw(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&bw(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Pw(e))return!1;const n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=Fw(e,n),{scroll:i}=t;return i&&(Ow(r.x,i.offset.x),Ow(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Kw(e.x,t.x),y:Kw(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=dw(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=bw(s=>{if(!Zw(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return nb(this.visualElement,e),n.start(Vk(e,n,0,t,this.visualElement,!1))}stopAnimation(){bw(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){bw(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){bw(t=>{const{drag:n}=this.getProps();if(!Zw(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-Yb(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Pw(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};bw(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=fw(e),i=fw(t);return i>r?n=VE(t.min,t.max-r,e.min):r>i&&(n=VE(e.min,e.max-i,t.min)),lb(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),bw(t=>{if(!Zw(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Yb(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Qw.set(this.visualElement,this);const e=cw(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Pw(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),Pv.read(t);const i=aw(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(bw(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Ww,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function Zw(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Jw=e=>(t,n)=>{e&&Pv.postRender(()=>e(t,n))},{schedule:ex,cancel:tx}=Rv(queueMicrotask,!1),nx=(0,d.createContext)(null),rx=(0,d.createContext)({}),ix=(0,d.createContext)({}),ox={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function sx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ax={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Ob.test(e))return e;e=parseFloat(e)}return`${sx(e,t.target.x)}% ${sx(e,t.target.y)}%`}},lx={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Hb.parse(e);if(i.length>5)return r;const o=Hb.createTransformer(e),s="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=Yb(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=u),"number"==typeof i[3+s]&&(i[3+s]/=u),o(i)}},ux={};let cx=!1;class dx extends d.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;!function(e){for(const t in e)ux[t]=e[t],pb(t)&&(ux[t].isCSSVariable=!0)}(px),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),cx&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ox.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o?(o.isPresent=i,cx=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Pv.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ex.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function fx(e){const[t,n]=function(e=!0){const t=(0,d.useContext)(nx);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=(0,d.useId)();(0,d.useEffect)(()=>{if(e)return i(o)},[e]);const s=(0,d.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}(),r=(0,d.useContext)(rx);return(0,h.jsx)(dx,{...e,layoutGroup:r,switchLayoutGroup:(0,d.useContext)(ix),isPresent:t,safeToRemove:n})}const px={borderRadius:{...ax,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ax,borderTopRightRadius:ax,borderBottomLeftRadius:ax,borderBottomRightRadius:ax,boxShadow:lx};function hx(e){return Dk(e)&&"ownerSVGElement"in e}const mx=(e,t)=>e.depth-t.depth;class gx{constructor(){this.children=[],this.isDirty=!1}add(e){qv(this.children,e),this.isDirty=!0}remove(e){zv(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(mx),this.isDirty=!1,this.children.forEach(e)}}function yx(e){return xv(e)?e.get():e}const vx=["TopLeft","TopRight","BottomLeft","BottomRight"],bx=vx.length,Ex=e=>"string"==typeof e?parseFloat(e):e,kx=e=>"number"==typeof e||Ob.test(e);function wx(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const xx=Sx(0,.5,FE),_x=Sx(.5,.95,Ov);function Sx(e,t,n){return r=>r<e?0:r>t?1:n(VE(e,t,r))}function Tx(e,t){e.min=t.min,e.max=t.max}function Cx(e,t){Tx(e.x,t.x),Tx(e.y,t.y)}function Nx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ax(e,t,n,r,i){return e=Sw(e-=t,1/n,r),void 0!==i&&(e=Sw(e,1/i,r)),e}function Dx(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(Db.test(t)&&(t=parseFloat(t),t=Yb(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=Yb(o.min,o.max,r);e===o&&(a-=t),e.min=Ax(e.min,t,n,a,i),e.max=Ax(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}const Ox=["x","scaleX","originX"],Ix=["y","scaleY","originY"];function Lx(e,t,n,r){Dx(e.x,t,Ox,n?n.x:void 0,r?r.x:void 0),Dx(e.y,t,Ix,n?n.y:void 0,r?r.y:void 0)}function Fx(e){return 0===e.translate&&1===e.scale}function Rx(e){return Fx(e.x)&&Fx(e.y)}function Px(e,t){return e.min===t.min&&e.max===t.max}function Mx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function jx(e,t){return Mx(e.x,t.x)&&Mx(e.y,t.y)}function Vx(e){return fw(e.x)/fw(e.y)}function Ux(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Bx{constructor(){this.members=[]}add(e){qv(this.members,e),e.scheduleRender()}remove(e){if(zv(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const $x={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},qx=["","X","Y","Z"];let zx=0;function Hx(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Kx(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ob(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Pv,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Kx(r)}function Wx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=zx++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Fv.value&&($x.nodes=$x.calculatedTargetDeltas=$x.calculatedProjections=0),this.nodes.forEach(Qx),this.nodes.forEach(r_),this.nodes.forEach(i_),this.nodes.forEach(Xx),Fv.addProjectionMetrics&&Fv.addProjectionMetrics($x)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new gx)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Hv),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var n;this.isSVG=hx(t)&&!(hx(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=0;const i=()=>this.root.updateBlockedByResize=!1;Pv.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=Gv.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Mv(r),e(o-t))};return Pv.setup(r,!0),()=>Mv(r)}(i,250),ox.hasAnimatedSinceResize&&(ox.hasAnimatedSinceResize=!1,this.nodes.forEach(n_)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||o.getDefaultTransition()||c_,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!jx(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...Dv(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||n_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Mv(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(o_),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Kx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Jx);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e_);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(t_),this.nodes.forEach(Yx),this.nodes.forEach(Gx)):this.nodes.forEach(e_),this.clearAllSnapshots();const e=Gv.now();jv.delta=lb(0,1e3/60,e-jv.timestamp),jv.timestamp=e,jv.isProcessing=!0,Vv.update.process(jv),Vv.preRender.process(jv),Vv.render.process(jv),jv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ex.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Zx),this.sharedNodes.forEach(s_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Pv.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Pv.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||fw(this.snapshot.measuredBox.x)||fw(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Rx(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||ww(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),p_((r=n).x),p_(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(m_)){const{scroll:e}=this.root;e&&(Ow(t.x,e.offset.x),Ow(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(Cx(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&Cx(t,e),Ow(t.x,i.offset.x),Ow(t.y,i.offset.y))}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Cx(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Lw(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),ww(r.latestValues)&&Lw(n,r.latestValues)}return ww(this.latestValues)&&Lw(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Cx(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!ww(n.latestValues))continue;kw(n.latestValues)&&n.updateSnapshot();const r=vw();Cx(r,n.measurePageBox()),Lx(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return ww(this.latestValues)&&Lx(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==jv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=jv.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},yw(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Cx(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var o,s,a;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),o=this.target,s=this.relativeTarget,a=this.relativeParent.target,mw(o.x,s.x,a.x),mw(o.y,s.y,a.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Cx(this.target,this.layout.layoutBox),Nw(this.target,this.targetDelta)):Cx(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},yw(this.relativeTargetOrigin,this.target,e.target),Cx(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Fv.value&&$x.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!kw(this.parent.latestValues)&&!xw(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===jv.timestamp&&(n=!1),n)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;Cx(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,s;t.x=t.y=1;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:i}=o.options;i&&i.props.style&&"contents"===i.props.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Lw(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Nw(e,s)),r&&ww(o.latestValues)&&Lw(e,o.latestValues))}t.x<Dw&&t.x>Aw&&(t.x=1),t.y<Dw&&t.y>Aw&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=e;a?(this.projectionDelta&&this.prevProjectionDelta?(Nx(this.prevProjectionDelta.x,this.projectionDelta.x),Nx(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),hw(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&Ux(this.projectionDelta.x,this.prevProjectionDelta.x)&&Ux(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),Fv.value&&$x.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(u_));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,p,h;a_(o.x,e.x,n),a_(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(yw(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,f=this.relativeTargetOrigin,p=s,h=n,l_(l.x,f.x,p.x,h),l_(l.y,f.y,p.y,h),d&&function(e,t){return Px(e.x,t.x)&&Px(e.y,t.y)}(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Cx(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Yb(0,n.opacity??1,xx(r)),e.opacityExit=Yb(t.opacity??1,0,_x(r))):o&&(e.opacity=Yb(t.opacity??1,n.opacity??1,r));for(let i=0;i<bx;i++){const o=`border${vx[i]}Radius`;let s=wx(t,o),a=wx(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||kx(s)===kx(a)?(e[o]=Math.max(Yb(Ex(s),Ex(a),r),0),(Db.test(a)||Db.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=Yb(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Mv(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pv.update(()=>{ox.hasAnimatedSinceResize=!0,db.layout++,this.motionValue||(this.motionValue=Zv(0)),this.currentAnimation=function(e,t,n){const r=xv(e)?e:Zv(e);return r.start(Vk("",r,[0,1e3],n)),r.animation}(this.motionValue,0,{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{db.layout--},onComplete:()=>{db.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&h_(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=fw(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=fw(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Cx(t,n),Lw(t,i),hw(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bx),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Hx("z",e,r,this.animationValues);for(let t=0;t<qx.length;t++)Hx(`rotate${qx[t]}`,e,r,this.animationValues),Hx(`skew${qx[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=yx(t?.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=yx(t?.pointerEvents)||""),void(this.hasProjected&&!ww(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let o=function(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;const{x:s,y:a}=this.projectionDelta;e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const t in ux){if(void 0===i[t])continue;const{correct:n,applyTo:s,isCSSVariable:a}=ux[t],l="none"===o?i[t]:n(i[t],r);if(s){const t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?yx(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Jx),this.root.sharedNodes.clear()}}}function Yx(e){e.updateLayout()}function Gx(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?bw(e=>{const r=o?t.measuredBox[e]:t.layoutBox[e],i=fw(r);r.min=n[e].min,r.max=r.min+i}):h_(i,t.layoutBox,n)&&bw(r=>{const i=o?t.measuredBox[r]:t.layoutBox[r],s=fw(n[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};hw(s,n,t.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?hw(a,e.applyTransform(r,!0),t.measuredBox):hw(a,n,t.layoutBox);const l=!Rx(s);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const s={x:{min:0,max:0},y:{min:0,max:0}};yw(s,t.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};yw(a,n,o.layoutBox),jx(s,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Qx(e){Fv.value&&$x.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Xx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Zx(e){e.clearSnapshot()}function Jx(e){e.clearMeasurements()}function e_(e){e.isLayoutDirty=!1}function t_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r_(e){e.resolveTargetDelta()}function i_(e){e.calcProjection()}function o_(e){e.resetSkewAndRotation()}function s_(e){e.removeLeadSnapshot()}function a_(e,t,n){e.translate=Yb(t.translate,0,n),e.scale=Yb(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function l_(e,t,n,r){e.min=Yb(t.min,n.min,r),e.max=Yb(t.max,n.max,r)}function u_(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const c_={duration:.45,ease:[.4,0,.1,1]},d_=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),f_=d_("applewebkit/")&&!d_("chrome/")?Math.round:Ov;function p_(e){e.min=f_(e.min),e.max=f_(e.max)}function h_(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=Vx(t),i=Vx(n),!(Math.abs(r-i)<=.2));var r,i}function m_(e){return e!==e.root&&e.scroll?.wasRoot}const g_=Wx({attachResizeListener:(e,t)=>aw(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),y_={current:void 0},v_=Wx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!y_.current){const e=new g_({});e.mount(window),e.setOptions({layoutScroll:!0}),y_.current=e}return y_.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),b_={pan:{Feature:class extends nw{constructor(){super(...arguments),this.removePointerDownListener=Ov}onPointerDown(e){this.session=new jw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Rw(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Jw(e),onStart:Jw(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Pv.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=cw(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends nw{constructor(e){super(e),this.removeGroupControls=Ov,this.removeListeners=Ov,this.controls=new Xw(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ov}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:v_,MeasureLayout:fx}};function E_(e,t){const n=function(e){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;const n=t.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function k_(e){return!("touch"===e.pointerType||sw())}function w_(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=r["onHover"+n];i&&Pv.postRender(()=>i(t,uw(t)))}const x_=(e,t)=>!!t&&(e===t||x_(e,t.parentElement)),__=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),S_=new WeakSet;function T_(e){return t=>{"Enter"===t.key&&e(t)}}function C_(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function N_(e){return lw(e)&&!sw()}function A_(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const i=r["onTap"+("End"===n?"":n)];i&&Pv.postRender(()=>i(t,uw(t)))}const D_=new WeakMap,O_=new WeakMap,I_=e=>{const t=D_.get(e.target);t&&t(e)},L_=e=>{e.forEach(I_)};const F_={some:0,all:1},R_={inView:{Feature:class extends nw{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:F_[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;O_.has(n)||O_.set(n,{});const r=O_.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(L_,{root:e,...t})),r[i]}(t);return D_.set(e,n),r.observe(e),()=>{D_.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends nw{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[r,i,o]=E_(e,n),s=e=>{const r=e.currentTarget;if(!N_(e))return;S_.add(r);const o=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),S_.has(r)&&S_.delete(r),N_(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,r===window||r===document||n.useGlobalTarget||x_(r,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),Ok(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=T_(()=>{if(S_.has(n))return;C_(n,"down");const e=T_(()=>{C_(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>C_(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),t=e,__.has(t.tagName)||-1!==t.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(A_(this.node,t,"Start"),(e,{success:t})=>A_(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends nw{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ab(aw(this.node.current,"focus",()=>this.onFocus()),aw(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends nw{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[r,i,o]=E_(e,n),s=e=>{if(!k_(e))return;const{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;const o=e=>{k_(e)&&(r(e),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,i)};return r.forEach(e=>{e.addEventListener("pointerenter",s,i)}),o}(e,(e,t)=>(w_(this.node,t,"Start"),e=>w_(this.node,e,"End"))))}unmount(){}}}},P_={layout:{ProjectionNode:v_,MeasureLayout:fx}},M_=(0,d.createContext)({strict:!1}),j_=(0,d.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),V_=(0,d.createContext)({});function U_(e){return Tv(e.animate)||Wk.some(t=>Hk(e[t]))}function B_(e){return Boolean(U_(e)||e.variants)}function $_(e){return Array.isArray(e)?e.join(" "):e}const q_="undefined"!=typeof window,z_={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},H_={};for(const e in z_)H_[e]={isEnabled:t=>z_[e].some(e=>!!t[e])};const K_=Symbol.for("motionComponentSymbol");function W_(e,t,n){return(0,d.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Pw(n)&&(n.current=r))},[t])}const Y_=q_?d.useLayoutEffect:d.useEffect;function G_(e,t,n,r,i){const{visualElement:o}=(0,d.useContext)(V_),s=(0,d.useContext)(M_),a=(0,d.useContext)(nx),l=(0,d.useContext)(j_).reducedMotion,u=(0,d.useRef)(null);r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const c=u.current,f=(0,d.useContext)(ix);!c||c.projection||!i||"html"!==c.type&&"svg"!==c.type||function(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Q_(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:Boolean(s)||a&&Pw(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,n,i,f);const p=(0,d.useRef)(!1);(0,d.useInsertionEffect)(()=>{c&&p.current&&c.update(n,a)});const h=n[ib],m=(0,d.useRef)(Boolean(h)&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return Y_(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),ex.render(c.render),m.current&&c.animationState&&c.animationState.animateChanges())}),(0,d.useEffect)(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),m.current=!1))}),c}function Q_(e){if(e)return!1!==e.options.allowProjection?e.projection:Q_(e.parent)}function X_({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){function o(e,o){let s;const a={...(0,d.useContext)(j_),...e,layoutId:Z_(e)},{isStatic:l}=a,u=function(e){const{initial:t,animate:n}=function(e,t){if(U_(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Hk(t)?t:void 0,animate:Hk(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,d.useContext)(V_));return(0,d.useMemo)(()=>({initial:t,animate:n}),[$_(t),$_(n)])}(e),c=r(e,l);if(!l&&q_){(0,d.useContext)(M_).strict;const e=function(e){const{drag:t,layout:n}=H_;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(a);s=e.MeasureLayout,u.visualElement=G_(i,c,a,t,e.ProjectionNode)}return(0,h.jsxs)(V_.Provider,{value:u,children:[s&&u.visualElement?(0,h.jsx)(s,{visualElement:u.visualElement,...a}):null,n(i,e,W_(c,u.visualElement,o),c,l,u.visualElement)]})}e&&function(e){for(const t in e)H_[t]={...H_[t],...e[t]}}(e),o.displayName=`motion.${"string"==typeof i?i:`create(${i.displayName??i.name??""})`}`;const s=(0,d.forwardRef)(o);return s[K_]=i,s}function Z_({layoutId:e}){const t=(0,d.useContext)(rx).id;return t&&void 0!==e?t+"-"+e:e}function J_(e,{layout:t,layoutId:n}){return Bv.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!ux[e]||"opacity"===e)}const eS=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tS={...yb,transform:Math.round},nS={borderWidth:Ob,borderTopWidth:Ob,borderRightWidth:Ob,borderBottomWidth:Ob,borderLeftWidth:Ob,borderRadius:Ob,radius:Ob,borderTopLeftRadius:Ob,borderTopRightRadius:Ob,borderBottomRightRadius:Ob,borderBottomLeftRadius:Ob,width:Ob,maxWidth:Ob,height:Ob,maxHeight:Ob,top:Ob,right:Ob,bottom:Ob,left:Ob,padding:Ob,paddingTop:Ob,paddingRight:Ob,paddingBottom:Ob,paddingLeft:Ob,margin:Ob,marginTop:Ob,marginRight:Ob,marginBottom:Ob,marginLeft:Ob,backgroundPositionX:Ob,backgroundPositionY:Ob,rotate:Ab,rotateX:Ab,rotateY:Ab,rotateZ:Ab,scale:bb,scaleX:bb,scaleY:bb,scaleZ:bb,skew:Ab,skewX:Ab,skewY:Ab,distance:Ob,translateX:Ob,translateY:Ob,translateZ:Ob,x:Ob,y:Ob,z:Ob,perspective:Ob,transformPerspective:Ob,opacity:vb,originX:Fb,originY:Fb,originZ:Ob,zIndex:tS,fillOpacity:vb,strokeOpacity:vb,numOctaves:tS},rS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iS=Uv.length;function oS(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(Bv.has(e))s=!0;else if(pb(e))i[e]=n;else{const t=eS(n,nS[e]);e.startsWith("origin")?(a=!0,o[e]=t):r[e]=t}}if(t.transform||(s||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<iS;o++){const s=Uv[o],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=eS(a,nS[s]);l||(i=!1,r+=`${rS[s]||s}(${e}) `),n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}function sS(e,t,n){for(const r in t)xv(t[r])||J_(r,n)||(e[r]=t[r])}function aS(e,t){const n={},r=function(e,t){const n={};return sS(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,d.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return oS(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const lS={offset:"stroke-dashoffset",array:"stroke-dasharray"},uS={offset:"strokeDashoffset",array:"strokeDasharray"};function cS(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(oS(e,a,u),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete d.transformBox),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?lS:uS;e[o.offset]=Ob.transform(-r);const s=Ob.transform(t),a=Ob.transform(n);e[o.array]=`${s} ${a}`}(d,i,o,s,!1)}const dS=e=>"string"==typeof e&&"svg"===e.toLowerCase();function fS(e,t,n,r){const i=(0,d.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return cS(n,t,dS(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};sS(t,e.style,e),i.style={...t,...i.style}}return i}const pS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function hS(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pS.has(e)}let mS=e=>!hS(e);try{"function"==typeof(gS=require("@emotion/is-prop-valid").default)&&(mS=e=>e.startsWith("on")?!hS(e):gS(e))}catch{}var gS;const yS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vS(e){return"string"==typeof e&&!e.includes("-")&&!!(yS.indexOf(e)>-1||/[A-Z]/u.test(e))}function bS(e=!1){return(t,n,r,{latestValues:i},o)=>{const s=(vS(t)?fS:aS)(n,i,o,t),a=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(mS(i)||!0===n&&hS(i)||!t&&!hS(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==d.Fragment?{...a,...s,ref:r}:{},{children:u}=n,c=(0,d.useMemo)(()=>xv(u)?u.get():u,[u]);return(0,d.createElement)(t,{...l,children:c})}}function ES(e){const t=(0,d.useRef)(null);return null===t.current&&(t.current=e()),t.current}const kS=e=>(t,n)=>{const r=(0,d.useContext)(V_),i=(0,d.useContext)(nx),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:wS(n,r,i,e),renderState:t()}}(e,t,r,i);return n?o():ES(o)};function wS(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=yx(o[e]);let{initial:s,animate:a}=e;const l=U_(e),u=B_(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!n&&!1===n.initial;c=c||!1===s;const d=c?a:s;if(d&&"boolean"!=typeof d&&!Tv(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=Nv(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];Array.isArray(t)&&(t=t[c?t.length-1:0]),null!==t&&(i[e]=t)}for(const t in e)i[t]=e[t]}}}return i}function xS(e,t,n){const{style:r}=e,i={};for(const o in r)(xv(r[o])||t.style&&xv(t.style[o])||J_(o,e)||void 0!==n?.getValue(o)?.liveStyle)&&(i[o]=r[o]);return i}const _S={useVisualState:kS({scrapeMotionValuesFromProps:xS,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function SS(e,t,n){const r=xS(e,t,n);for(const n in e)(xv(e[n])||xv(t[n]))&&(r[-1!==Uv.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}const TS={useVisualState:kS({scrapeMotionValuesFromProps:SS,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})})};function CS(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return X_({...vS(n)?TS:_S,preloadedFeatures:e,useRender:bS(r),createVisualElement:t,Component:n})}}const NS=e=>t=>t.test(e),AS=[yb,Ob,Db,Ab,Lb,Ib,{test:e=>"auto"===e,parse:e=>e}],DS=e=>AS.find(NS(e)),OS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),IS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function LS(e,t,n=1){const[r,i]=function(e){const t=IS.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const e=o.trim();return OS(e)?parseFloat(e):e}return mb(i)?LS(i,t,n+1):i}const FS=e=>/^0[^.\s]+$/u.test(e);function RS(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||FS(e)}const PS=new Set(["brightness","contrast","saturate","opacity"]);function MS(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(kb)||[];if(!r)return e;const i=n.replace(r,"");let o=PS.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const jS=/\b([a-z-]*)\(.*?\)/gu,VS={...Hb,getAnimatableNone:e=>{const t=e.match(jS);return t?t.map(MS).join(" "):e}},US={...nS,color:Pb,backgroundColor:Pb,outlineColor:Pb,fill:Pb,stroke:Pb,borderColor:Pb,borderTopColor:Pb,borderRightColor:Pb,borderBottomColor:Pb,borderLeftColor:Pb,filter:VS,WebkitFilter:VS},BS=e=>US[e];function $S(e,t){let n=BS(e);return n!==VS&&(n=Hb),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const qS=new Set(["auto","none","0"]);class zS extends mk{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),mb(r))){const i=LS(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!$v.has(n)||2!==e.length)return;const[r,i]=e,o=DS(r),s=DS(i);if(o!==s)if(ok(o)&&ok(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else lk[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||RS(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){const t=e[i];"string"==typeof t&&!qS.has(t)&&Bb(t).values.length&&(r=e[i]),i++}if(r&&n)for(const i of t)e[i]=$S(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lk[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const i=n.length-1,o=n[i];n[i]=lk[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}const HS=[...AS,Pb,Hb],KS={current:null},WS={current:!1},YS=new WeakMap,GS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class QS{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=mk,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Gv.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Pv.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=U_(t),this.isVariantNode=B_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==a[e]&&xv(t)&&t.set(a[e],!1)}}mount(e){this.current=e,YS.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),WS.current||function(){if(WS.current=!0,q_)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>KS.current=e.matches;e.addEventListener("change",t),t()}else KS.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||KS.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Mv(this.notifyUpdate),Mv(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=Bv.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Pv.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in H_){const t=H_[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<GS.length;t++){const n=GS[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const i=t[r],o=n[r];if(xv(i))e.addValue(r,i);else if(xv(o))e.addValue(r,Zv(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Zv(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Zv(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=n&&("string"==typeof n&&(OS(n)||FS(n))?n=parseFloat(n):(r=n,!HS.find(NS(r))&&Hb.test(t)&&(n=$S(e,t))),this.setBaseTarget(e,xv(n)?n.get():n)),xv(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=Nv(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||xv(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Hv),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class XS extends QS{constructor(){super(...arguments),this.KeyframeResolver=zS}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;xv(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function ZS(e,{style:t,vars:n},r,i){const o=e.style;let s;for(s in t)o[s]=t[s];for(s in i?.applyProjectionStyles(o,r),n)o.setProperty(s,n[s])}class JS extends XS{constructor(){super(...arguments),this.type="html",this.renderInstance=ZS}readValueFromInstance(e,t){if(Bv.has(t))return this.projection?.isProjecting?nk(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rk(n,t)})(e,t);{const r=(n=e,window.getComputedStyle(n)),i=(pb(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Fw(e,t)}build(e,t,n){oS(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return xS(e,t,n)}}const eT=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class tT extends XS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vw}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Bv.has(t)){const e=BS(t);return e&&e.default||0}return t=eT.has(t)?t:rb(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return SS(e,t,n)}build(e,t,n){cS(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){ZS(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(eT.has(n)?n:rb(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=dS(e.tagName),super.mount(e)}}const nT=(e,t)=>vS(e)?new tT(t):new JS(t,{allowProjection:e!==d.Fragment}),rT=Sv(CS({...iw,...R_,...b_,...P_},nT));function iT(e){const t=ES(()=>Zv(e)),{isStatic:n}=(0,d.useContext)(j_);if(n){const[,n]=(0,d.useState)(e);(0,d.useEffect)(()=>t.on("change",n),[])}return t}function oT(e,t){const n=iT(t()),r=()=>n.set(t());return r(),Y_(()=>{const t=()=>Pv.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),Mv(r)}}),n}function sT(e,t){const n=ES(()=>[]);return oT(e,()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function aT(e,t=0){return xv(e)?e:iT(t)}function lT({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){const l=ES(()=>rT[r]),u=(0,d.useContext)(_v),c={x:aT(t.x),y:aT(t.y)},f=function(e,t,n,r){if("function"==typeof e)return function(e){Qv.current=[],e();const t=oT(Qv.current,e);return Qv.current=void 0,t}(e);const i="function"==typeof t?t:function(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=UE(e[1+n],e[2+n],e[3+n]);return t?i(r):i}(t,n,r);return Array.isArray(e)?sT(e,i):sT([e],([e])=>i(e))}([c.x,c.y],([e,t])=>e||t?1:"unset");Boolean(u);const{axis:p,registerItem:m,updateOrder:g}=u;return(0,h.jsx)(l,{drag:p,...s,dragSnapToOrigin:!0,style:{...t,x:c.x,y:c.y,zIndex:f},layout:o,onDrag:(e,t)=>{const{velocity:r}=t;r[p]&&g(n,c[p].get(),r[p]),i&&i(e,t)},onLayoutMeasure:e=>m(n,e),ref:a,ignoreStrict:!0,children:e})}const uT=(0,d.forwardRef)(lT);function cT({children:e,as:t="ul",axis:n="y",onReorder:r,values:i,...o},s){const a=ES(()=>rT[t]),l=[],u=(0,d.useRef)(!1);Boolean(i);const c={axis:n,registerItem:(e,t)=>{const r=l.findIndex(t=>e===t.value);-1!==r?l[r].layout=t[n]:l.push({value:e,layout:t[n]}),l.sort(pT)},updateOrder:(e,t,n)=>{if(u.current)return;const o=function(e,t,n,r){if(!r)return e;const i=e.findIndex(e=>e.value===t);if(-1===i)return e;const o=r>0?1:-1,s=e[i+o];if(!s)return e;const a=e[i],l=s.layout,u=Yb(l.min,l.max,.5);return 1===o&&a.layout.max+n>u||-1===o&&a.layout.min+n<u?function([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}return e}(e,i,i+o):e}(l,e,t,n);l!==o&&(u.current=!0,r(o.map(fT).filter(e=>-1!==i.indexOf(e))))}};return(0,d.useEffect)(()=>{u.current=!1}),(0,h.jsx)(a,{...o,ref:s,ignoreStrict:!0,children:(0,h.jsx)(_v.Provider,{value:c,children:e})})}const dT=(0,d.forwardRef)(cT);function fT(e){return e.value}function pT(e,t){return e.layout.min-t.layout.min}const hT=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(16);let r,i,o,s,a;n[0]!==e?(({isActive:o,value:a,children:r,className:i,...s}=e),n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=s,n[5]=a):(r=n[1],i=n[2],o=n[3],s=n[4],a=n[5]);const l=o&&"graphiql-tab-active";let u,c;return n[6]!==i||n[7]!==l?(u=dn("graphiql-tab",l,i),n[6]=i,n[7]=l,n[8]=u):u=n[8],n[9]!==r||n[10]!==o||n[11]!==s||n[12]!==t||n[13]!==u||n[14]!==a?(c=(0,h.jsx)(uT,{...s,ref:t,value:a,"aria-selected":o,dragElastic:!1,role:"tab",className:u,children:r}),n[9]=r,n[10]=o,n[11]=s,n[12]=t,n[13]=u,n[14]=a,n[15]=c):c=n[15],c});hT.displayName="Tab";const mT=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(11);let r,i,o,s,a;return n[0]!==e?(({children:r,className:i,...o}=e),n[0]=e,n[1]=r,n[2]=i,n[3]=o):(r=n[1],i=n[2],o=n[3]),n[4]!==i?(s=dn("graphiql-tab-button",i),n[4]=i,n[5]=s):s=n[5],n[6]!==r||n[7]!==o||n[8]!==t||n[9]!==s?(a=(0,h.jsx)(No,{...o,ref:t,type:"button",className:s,children:r}),n[6]=r,n[7]=o,n[8]=t,n[9]=s,n[10]=a):a=n[10],a});mT.displayName="Tab.Button";const gT=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(7);let r,i,o;return n[0]!==e.className?(r=dn("graphiql-tab-close",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,h.jsx)(Lt,{}),n[2]=i):i=n[2],n[3]!==e||n[4]!==t||n[5]!==r?(o=(0,h.jsx)(No,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:r,children:i}),n[3]=e,n[4]=t,n[5]=r,n[6]=o):o=n[6],o});gT.displayName="Tab.Close";const yT=Object.assign(hT,{Button:mT,Close:gT}),vT=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(15);let r,i,o,s,a,l,u;return n[0]!==e?(({values:a,onReorder:o,children:r,className:i,...s}=e),n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=s,n[5]=a):(r=n[1],i=n[2],o=n[3],s=n[4],a=n[5]),n[6]!==i?(l=dn("graphiql-tabs",i),n[6]=i,n[7]=l):l=n[7],n[8]!==r||n[9]!==o||n[10]!==s||n[11]!==t||n[12]!==l||n[13]!==a?(u=(0,h.jsx)(dT,{...s,ref:t,values:a,onReorder:o,axis:"x",role:"tablist",className:l,children:r}),n[8]=r,n[9]=o,n[10]=s,n[11]=t,n[12]=l,n[13]=a,n[14]=u):u=n[14],u});vT.displayName="Tabs";const bT=Object.assign(e=>{var t;const n=(0,m.c)(14),{path:r}=e;let i;n[0]===Symbol.for("react.memo_cache_sentinel")?(i={width:null,height:null},n[0]=i):i=n[0];const[o,s]=(0,d.useState)(i),{width:a,height:l}=o,[u,c]=(0,d.useState)(null),f=(0,d.useRef)(null),p=null==(t=ET(r))?void 0:t.href;let g,y,v,b,E,k;return n[1]!==p?(g=()=>{if(!p)return s({width:null,height:null}),void c(null);fetch(p,{method:"HEAD"}).then(e=>{c(e.headers.get("Content-Type"))}).catch(()=>{c(null)})},y=[p],n[1]=p,n[2]=g,n[3]=y):(g=n[2],y=n[3]),(0,d.useEffect)(g,y),n[4]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{s({width:f.current.naturalWidth,height:f.current.naturalHeight})},n[4]=v):v=n[4],n[5]!==p?(b=(0,h.jsx)("img",{alt:"",onLoad:v,ref:f,src:p}),n[5]=p,n[6]=b):b=n[6],n[7]!==l||n[8]!==u||n[9]!==a?(E=null!==a&&null!==l&&(0,h.jsxs)("div",{children:[a,"x",l,u&&" "+u]}),n[7]=l,n[8]=u,n[9]=a,n[10]=E):E=n[10],n[11]!==b||n[12]!==E?(k=(0,h.jsxs)("div",{children:[b,E]}),n[11]=b,n[12]=E,n[13]=k):k=n[13],k},{shouldRender(e){const t=ET(e);return!!t&&/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(t.pathname)}});function ET(e){const t=e.slice(1).trim();try{return new URL(t,location.protocol+"//"+location.host)}catch{}}const kT=e=>{const t=(0,m.c)(22);let n,r;t[0]!==e?(({responseTooltip:n,...r}=e),t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o}=Tt();let s;t[3]===Symbol.for("react.memo_cache_sentinel")?(s=ln("fetchError","validationErrors","responseEditor","uriInstanceId"),t[3]=s):s=t[3];const{fetchError:a,validationErrors:l,responseEditor:u,uriInstanceId:c}=St(s),f=(0,d.useRef)(null),g=Ge(wT);let y,v,b,E,k,w;return t[4]!==a||t[5]!==u||t[6]!==l?(y=()=>{a&&(null==u||u.setValue(a)),l.length&&(null==u||u.setValue(Y(l)))},v=[u,a,l],t[4]=a,t[5]=u,t[6]=l,t[7]=y,t[8]=v):(y=t[7],v=t[8]),(0,d.useEffect)(y,v),t[9]!==n||t[10]!==g||t[11]!==o||t[12]!==i||t[13]!==c?(b=()=>{if(!g)return;const e=pv({uri:`${c}response.json`,value:""}),t=hv(f,{model:e,readOnly:!0,lineNumbers:"off",wordWrap:"on",contextmenu:!1});let r,s;i({responseEditor:t});const a=e.getLanguageId();return mv([g.languages.registerHoverProvider(a,{provideHover:(t,i)=>{if(t.uri!==e.uri)return null;const o=t.getWordAtPosition(i);if(!(null==o?void 0:o.word.startsWith("/")))return null;if(!bT.shouldRender(o.word))return null;const a=`hover-${i.lineNumber}-${i.column}`;return s&&clearTimeout(s),s=setTimeout(()=>{const e=document.querySelector(`[data-id="${a}"]`);e&&(null==r||r.unmount(),r=(0,p.createRoot)(e),r.render((0,h.jsxs)(h.Fragment,{children:[n&&(0,h.jsx)(n,{position:i,word:o}),(0,h.jsx)(bT,{path:o.word})]})))},500),{range:new yt.Q(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn),contents:[{value:`<div data-id="${a}">Loading...</div>`,supportHtml:!0}]}}}),t.addAction({...Ce,run:o}),t,e])},t[9]=n,t[10]=g,t[11]=o,t[12]=i,t[13]=c,t[14]=b):b=t[14],t[15]!==g?(E=[g],t[15]=g,t[16]=E):E=t[16],(0,d.useEffect)(b,E),t[17]!==r.className?(k=dn("result-window",r.className),t[17]=r.className,t[18]=k):k=t[18],t[19]!==r||t[20]!==k?(w=(0,h.jsx)("section",{ref:f,"aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",tabIndex:0,onKeyDown:fv,...r,className:k}),t[19]=r,t[20]=k,t[21]=w):w=t[21],w};function wT(e){return e.monaco}const xT=e=>{const t=(0,m.c)(4),{prettify:n,copy:r,merge:i}=e;let o;return t[0]!==r||t[1]!==i||t[2]!==n?(o=(0,h.jsxs)(h.Fragment,{children:[n,i,r]}),t[0]=r,t[1]=i,t[2]=n,t[3]=o):o=t[3],o},_T=(0,h.jsxs)("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer",children:["Graph",(0,h.jsx)("em",{children:"i"}),"QL"]});var ST="Dialog",[TT,CT]=zf(ST),[NT,AT]=TT(ST),DT=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,a=d.useRef(null),l=d.useRef(null),[u,c]=jp({prop:r,defaultProp:i??!1,onChange:o,caller:ST});return(0,h.jsx)(NT,{scope:t,triggerRef:a,contentRef:l,contentId:up(),titleId:up(),descriptionId:up(),open:u,onOpenChange:c,onOpenToggle:d.useCallback(()=>c(e=>!e),[c]),modal:s,children:n})};DT.displayName=ST;var OT="DialogTrigger",IT=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=AT(OT,n),o=qf(t,i.triggerRef);return(0,h.jsx)(Qf.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ZT(i.open),...r,ref:o,onClick:Uf(e.onClick,i.onOpenToggle)})});IT.displayName=OT;var LT="DialogPortal",[FT,RT]=TT(LT,{forceMount:void 0}),PT=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=AT(LT,t);return(0,h.jsx)(FT,{scope:t,forceMount:n,children:d.Children.map(r,e=>(0,h.jsx)(Rp,{present:n||o.open,children:(0,h.jsx)(Fp,{asChild:!0,container:i,children:e})}))})};PT.displayName=LT;var MT="DialogOverlay",jT=d.forwardRef((e,t)=>{const n=RT(MT,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=AT(MT,e.__scopeDialog);return o.modal?(0,h.jsx)(Rp,{present:r||o.open,children:(0,h.jsx)(UT,{...i,ref:t})}):null});jT.displayName=MT;var VT=Kf("DialogOverlay.RemoveScroll"),UT=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=AT(MT,n);return(0,h.jsx)(sg,{as:VT,allowPinchZoom:!0,shards:[i.contentRef],children:(0,h.jsx)(Qf.div,{"data-state":ZT(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),BT="DialogContent",$T=d.forwardRef((e,t)=>{const n=RT(BT,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=AT(BT,e.__scopeDialog);return(0,h.jsx)(Rp,{present:r||o.open,children:o.modal?(0,h.jsx)(qT,{...i,ref:t}):(0,h.jsx)(zT,{...i,ref:t})})});$T.displayName=BT;var qT=d.forwardRef((e,t)=>{const n=AT(BT,e.__scopeDialog),r=d.useRef(null),i=qf(t,n.contentRef,r);return d.useEffect(()=>{const e=r.current;if(e)return wm(e)},[]),(0,h.jsx)(HT,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Uf(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Uf(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Uf(e.onFocusOutside,e=>e.preventDefault())})}),zT=d.forwardRef((e,t)=>{const n=AT(BT,e.__scopeDialog),r=d.useRef(!1),i=d.useRef(!1);return(0,h.jsx)(HT,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const o=t.target,s=n.triggerRef.current?.contains(o);s&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),HT=d.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,a=AT(BT,n),l=d.useRef(null),u=qf(t,l);return Bh(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Kh,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,h.jsx)(np,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":ZT(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(nC,{titleId:a.titleId}),(0,h.jsx)(rC,{contentRef:l,descriptionId:a.descriptionId})]})]})}),KT="DialogTitle",WT=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=AT(KT,n);return(0,h.jsx)(Qf.h2,{id:i.titleId,...r,ref:t})});WT.displayName=KT;var YT="DialogDescription",GT=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=AT(YT,n);return(0,h.jsx)(Qf.p,{id:i.descriptionId,...r,ref:t})});GT.displayName=YT;var QT="DialogClose",XT=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=AT(QT,n);return(0,h.jsx)(Qf.button,{type:"button",...r,ref:t,onClick:Uf(e.onClick,()=>i.onOpenChange(!1))})});function ZT(e){return e?"open":"closed"}XT.displayName=QT;var JT="DialogTitleWarning",[eC,tC]=function(e,t){const n=d.createContext(t),r=e=>{const{children:t,...r}=e,i=d.useMemo(()=>r,Object.values(r));return(0,h.jsx)(n.Provider,{value:i,children:t})};return r.displayName=e+"Provider",[r,function(r){const i=d.useContext(n);if(i)return i;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}(JT,{contentName:BT,titleName:KT,docsSlug:"dialog"}),nC=({titleId:e})=>{const t=tC(JT),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},rC=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tC("DialogDescriptionWarning").contentName}}.`;return d.useEffect(()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},iC=DT,oC=IT,sC=PT,aC=jT,lC=$T,uC=WT,cC=GT,dC=XT;const fC=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(8);let r,i,o,s;return n[0]!==e.className?(r=dn("graphiql-dialog-close",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,h.jsx)(Bp,{children:"Close dialog"}),o=(0,h.jsx)(Lt,{}),n[2]=i,n[3]=o):(i=n[2],o=n[3]),n[4]!==e||n[5]!==t||n[6]!==r?(s=(0,h.jsx)(dC,{asChild:!0,children:(0,h.jsxs)(No,{...e,ref:t,type:"button",className:r,children:[i,o]})}),n[4]=e,n[5]=t,n[6]=r,n[7]=s):s=n[7],s});fC.displayName="Dialog.Close";const pC=Object.assign(e=>{const t=(0,m.c)(9);let n,r,i,o,s;return t[0]!==e?(({children:n,...r}=e),t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]),t[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,h.jsx)(aC,{className:"graphiql-dialog-overlay"}),t[3]=i):i=t[3],t[4]!==n?(o=(0,h.jsxs)(sC,{children:[i,(0,h.jsx)(lC,{className:"graphiql-dialog",children:n})]}),t[4]=n,t[5]=o):o=t[5],t[6]!==r||t[7]!==o?(s=(0,h.jsx)(iC,{...r,children:o}),t[6]=r,t[7]=o,t[8]=s):s=t[8],s},{Close:fC,Title:uC,Trigger:oC,Description:cC}),hC=(0,d.forwardRef)((e,t)=>{const n=(0,m.c)(6);let r,i;return n[0]!==e.className?(r=dn("graphiql-button-group",e.className),n[0]=e.className,n[1]=r):r=n[1],n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,h.jsx)("div",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});hC.displayName="ButtonGroup";const mC=Object.entries({"Execute query":me(ge.runQuery.key),"Open the Command Palette (you must have focus in the editor)":"F1","Prettify editors":ge.prettify.key,"Copy query":ge.copyQuery.key,"Re-fetch schema using introspection":ge.refetchSchema.key,"Search in documentation":me(ge.searchInDocs.key),"Search in editor":me(ge.searchInEditor.key),"Merge fragments definitions into operation definition":ge.mergeFragments.key}),gC=()=>{const e=(0,m.c)(5);let t,n,r,i,o;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,h.jsxs)("table",{className:"graphiql-table",children:[(0,h.jsx)("thead",{children:(0,h.jsxs)("tr",{children:[(0,h.jsx)("th",{children:"Short Key"}),(0,h.jsx)("th",{children:"Function"})]})}),(0,h.jsx)("tbody",{children:mC.map(vC)})]}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,h.jsx)("em",{children:"i"}),e[1]=n):n=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,h.jsx)("a",{href:"https://code.visualstudio.com/docs/reference/default-keybindings",target:"_blank",rel:"noreferrer",children:"Monaco editor shortcuts"}),e[2]=r):r=e[2],e[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,h.jsx)("a",{href:"https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf",target:"_blank",rel:"noreferrer",children:"macOS"}),e[3]=i):i=e[3],e[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,h.jsxs)("div",{children:[t,(0,h.jsxs)("p",{children:["This Graph",n,"QL editor uses"," ",r,", with keybindings similar to VS Code. See the full list of shortcuts for"," ",i," ","or"," ",(0,h.jsx)("a",{href:"https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf",target:"_blank",rel:"noreferrer",children:"Windows"}),"."]})]}),e[4]=o):o=e[4],o};function yC(e,t,n){return(0,h.jsxs)(d.Fragment,{children:[(0,h.jsx)("code",{className:"graphiql-key",children:e}),t!==n.length-1&&" + "]},e)}function vC(e){const[t,n]=e;return(0,h.jsxs)("tr",{children:[(0,h.jsx)("td",{children:n.split("-").map(yC)}),(0,h.jsx)("td",{children:t})]},t)}const bC={refetchSchema:`Re-fetch GraphQL schema (${ge.refetchSchema.key})`,shortCutDialog:"Open short keys dialog",settingsDialogs:"Open settings dialog"},EC=["light","dark","system"],kC=e=>{const t=(0,m.c)(72),{forcedTheme:n,showPersistHeadersSettings:r,setHiddenElement:i}=e,o=n&&EC.includes(n)?n:void 0,{setShouldPersistHeaders:s,introspect:a,setVisiblePlugin:l,setTheme:u}=Tt();let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=ln("shouldPersistHeaders","isIntrospecting","visiblePlugin","plugins","theme","storage"),t[0]=c):c=t[0];const{shouldPersistHeaders:f,isIntrospecting:p,visiblePlugin:g,plugins:y,theme:v,storage:b}=St(c);let E,k;t[1]!==o||t[2]!==u?(E=()=>{"system"===o?u(null):"light"!==o&&"dark"!==o||u(o)},k=[o,u],t[1]=o,t[2]=u,t[3]=E,t[4]=k):(E=t[3],k=t[4]),(0,d.useEffect)(E,k);const[w,x]=(0,d.useState)(null),[_,S]=(0,d.useState)();let T,C,N;t[5]===Symbol.for("react.memo_cache_sentinel")?(T=()=>{const e=function(e){(he?e.metaKey:e.ctrlKey)&&","===e.key&&(e.preventDefault(),x(wC))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},C=[],t[5]=T,t[6]=C):(T=t[5],C=t[6]),(0,d.useEffect)(T,C),t[7]===Symbol.for("react.memo_cache_sentinel")?(N=function(e){e||x(null)},t[7]=N):N=t[7];const A=N;let D;t[8]===Symbol.for("react.memo_cache_sentinel")?(D=function(e){e||(x(null),S(void 0))},t[8]=D):D=t[8];const O=D;let I;t[9]!==b?(I=function(){try{b.clear(),S("success")}catch{S("error")}},t[9]=b,t[10]=I):I=t[10];const L=I;let F;t[11]!==s?(F=e=>{s("true"===e.currentTarget.dataset.value)},t[11]=s,t[12]=F):F=t[12];const R=F;let P;t[13]!==u?(P=e=>{const t=e.currentTarget.dataset.theme;u(t||null)},t[13]=u,t[14]=P):P=t[14];const M=P;let j;t[15]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{x(e.currentTarget.dataset.value)},t[15]=j):j=t[15];const V=j;let U;t[16]!==y||t[17]!==i||t[18]!==l||t[19]!==g?(U=e=>{const t=Number(e.currentTarget.dataset.index),n=y.find((e,n)=>t===n);n===g?(l(null),i("first")):(l(n),i(null))},t[16]=y,t[17]=i,t[18]=l,t[19]=g,t[20]=U):U=t[20];const B=U;let $,q;if(t[21]!==B||t[22]!==y||t[23]!==g){let e;t[25]!==B||t[26]!==g?(e=(e,t)=>{const n=e===g,r=`${n?"Hide":"Show"} ${e.title}`;return(0,h.jsx)(kh,{label:r,children:(0,h.jsx)(No,{type:"button",className:dn(n&&"active"),onClick:B,"data-index":t,"aria-label":r,children:(0,h.jsx)(e.icon,{"aria-hidden":"true"})})},e.title)},t[25]=B,t[26]=g,t[27]=e):e=t[27],$=y.map(e),t[21]=B,t[22]=y,t[23]=g,t[24]=$}else $=t[24];t[28]===Symbol.for("react.memo_cache_sentinel")?(q={marginTop:"auto"},t[28]=q):q=t[28];const z=p&&"graphiql-spin";let H,K,W,Y,G;t[29]!==z?(H=dn(z),t[29]=z,t[30]=H):H=t[30],t[31]!==H?(K=(0,h.jsx)(Zt,{className:H,"aria-hidden":"true"}),t[31]=H,t[32]=K):K=t[32],t[33]!==a||t[34]!==p||t[35]!==K?(W=(0,h.jsx)(kh,{label:bC.refetchSchema,children:(0,h.jsx)(No,{type:"button",disabled:p,onClick:a,"aria-label":bC.refetchSchema,style:q,children:K})}),t[33]=a,t[34]=p,t[35]=K,t[36]=W):W=t[36],t[37]===Symbol.for("react.memo_cache_sentinel")?(Y=(0,h.jsx)(kh,{label:bC.shortCutDialog,children:(0,h.jsx)(No,{type:"button","data-value":"short-keys",onClick:V,"aria-label":bC.shortCutDialog,children:(0,h.jsx)(Ht,{"aria-hidden":"true"})})}),t[37]=Y):Y=t[37],t[38]===Symbol.for("react.memo_cache_sentinel")?(G=(0,h.jsx)(kh,{label:bC.settingsDialogs,children:(0,h.jsx)(No,{type:"button","data-value":"settings",onClick:V,"aria-label":bC.settingsDialogs,children:(0,h.jsx)(en,{"aria-hidden":"true"})})}),t[38]=G):G=t[38];const Q="short-keys"===w;let X,Z,J,ee;t[39]===Symbol.for("react.memo_cache_sentinel")?(X=(0,h.jsx)(pC.Title,{className:"graphiql-dialog-title",children:"Short Keys"}),t[39]=X):X=t[39],t[40]===Symbol.for("react.memo_cache_sentinel")?(Z=(0,h.jsxs)("div",{className:"graphiql-dialog-header",children:[X,(0,h.jsx)(Bp,{children:(0,h.jsx)(pC.Description,{children:"This modal provides a list of available keyboard shortcuts and their functions."})}),(0,h.jsx)(pC.Close,{})]}),t[40]=Z):Z=t[40],t[41]===Symbol.for("react.memo_cache_sentinel")?(J=(0,h.jsx)("div",{className:"graphiql-dialog-section",children:(0,h.jsx)(gC,{})}),t[41]=J):J=t[41],t[42]!==Q?(ee=(0,h.jsxs)(pC,{open:Q,onOpenChange:A,children:[Z,J]}),t[42]=Q,t[43]=ee):ee=t[43];const te="settings"===w;let ne,re,ie,oe,se;t[44]===Symbol.for("react.memo_cache_sentinel")?(ne=(0,h.jsx)(pC.Title,{className:"graphiql-dialog-title",children:"Settings"}),t[44]=ne):ne=t[44],t[45]===Symbol.for("react.memo_cache_sentinel")?(re=(0,h.jsxs)("div",{className:"graphiql-dialog-header",children:[ne,(0,h.jsx)(Bp,{children:(0,h.jsx)(pC.Description,{children:"This modal lets you adjust header persistence, interface theme, and clear local storage."})}),(0,h.jsx)(pC.Close,{})]}),t[45]=re):re=t[45],t[46]!==R||t[47]!==f||t[48]!==r?(ie=r?(0,h.jsxs)("div",{className:"graphiql-dialog-section",children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"graphiql-dialog-section-title",children:"Persist headers"}),(0,h.jsxs)("div",{className:"graphiql-dialog-section-caption",children:["Save headers upon reloading."," ",(0,h.jsx)("span",{className:"graphiql-warning-text",children:"Only enable if you trust this device."})]})]}),(0,h.jsxs)(hC,{children:[(0,h.jsx)(Ao,{type:"button",id:"enable-persist-headers",className:dn(f&&"active"),"data-value":"true",onClick:R,children:"On"}),(0,h.jsx)(Ao,{type:"button",id:"disable-persist-headers",className:dn(!f&&"active"),onClick:R,children:"Off"})]})]}):null,t[46]=R,t[47]=f,t[48]=r,t[49]=ie):ie=t[49],t[50]!==o||t[51]!==M||t[52]!==v?(oe=!o&&(0,h.jsxs)("div",{className:"graphiql-dialog-section",children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"graphiql-dialog-section-title",children:"Theme"}),(0,h.jsx)("div",{className:"graphiql-dialog-section-caption",children:"Adjust how the interface appears."})]}),(0,h.jsxs)(hC,{children:[(0,h.jsx)(Ao,{type:"button",className:dn(null===v&&"active"),onClick:M,children:"System"}),(0,h.jsx)(Ao,{type:"button",className:dn("light"===v&&"active"),"data-theme":"light",onClick:M,children:"Light"}),(0,h.jsx)(Ao,{type:"button",className:dn("dark"===v&&"active"),"data-theme":"dark",onClick:M,children:"Dark"})]})]}),t[50]=o,t[51]=M,t[52]=v,t[53]=oe):oe=t[53],t[54]===Symbol.for("react.memo_cache_sentinel")?(se=(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"graphiql-dialog-section-title",children:"Clear storage"}),(0,h.jsx)("div",{className:"graphiql-dialog-section-caption",children:"Remove all locally stored data and start fresh."})]}),t[54]=se):se=t[54];const ae="success"===_;let le,ue,ce,de;return t[55]!==_?(le={success:"Cleared data",error:"Failed"}[_]||"Clear data",t[55]=_,t[56]=le):le=t[56],t[57]!==_||t[58]!==L||t[59]!==ae||t[60]!==le?(ue=(0,h.jsxs)("div",{className:"graphiql-dialog-section",children:[se,(0,h.jsx)(Ao,{type:"button",state:_,disabled:ae,onClick:L,children:le})]}),t[57]=_,t[58]=L,t[59]=ae,t[60]=le,t[61]=ue):ue=t[61],t[62]!==te||t[63]!==ie||t[64]!==oe||t[65]!==ue?(ce=(0,h.jsxs)(pC,{open:te,onOpenChange:O,children:[re,ie,oe,ue]}),t[62]=te,t[63]=ie,t[64]=oe,t[65]=ue,t[66]=ce):ce=t[66],t[67]!==$||t[68]!==W||t[69]!==ee||t[70]!==ce?(de=(0,h.jsxs)("div",{className:"graphiql-sidebar",children:[$,W,Y,G,ee,ce]}),t[67]=$,t[68]=W,t[69]=ee,t[70]=ce,t[71]=de):de=t[71],de};function wC(e){return"settings"===e?null:"settings"}const xC="graphiql-session-tab-",_C="New tab",SC=e=>{const t=(0,m.c)(147),{forcedTheme:n,isHeadersEditorEnabled:r,defaultEditorToolsVisibility:i,children:o,confirmCloseTab:s,className:a,onEditQuery:l,onEditVariables:u,onEditHeaders:c,responseTooltip:f,showPersistHeadersSettings:p}=e,g=void 0===r||r,{addTab:y,moveTab:v,closeTab:b,changeTab:E,setVisiblePlugin:k}=Tt();let w;t[0]===Symbol.for("react.memo_cache_sentinel")?(w=ln("initialVariables","initialHeaders","tabs","activeTabIndex","isFetching","visiblePlugin"),t[0]=w):w=t[0];const{initialVariables:x,initialHeaders:_,tabs:S,activeTabIndex:T,isFetching:C,visiblePlugin:N}=St(w),A=Ge(CC),D=null==N?void 0:N.content,O=N?void 0:"first";let I;t[1]!==k||t[2]!==O?(I={defaultSizeRelation:.3333333333333333,direction:"horizontal",initiallyHidden:O,onHiddenElementChange(e){"first"===e&&k(null)},sizeThresholdSecond:200,storageKey:"docExplorerFlex"},t[1]=k,t[2]=O,t[3]=I):I=t[3];const L=sv(I);let F;t[4]===Symbol.for("react.memo_cache_sentinel")?(F={direction:"horizontal",storageKey:"editorFlex"},t[4]=F):F=t[4];const R=sv(F);let P,M,j;t[5]!==_||t[6]!==x?(P=e=>{if("variables"!==e&&"headers"!==e)return"boolean"==typeof e?e?void 0:"second":x||_?void 0:"second"},t[5]=_,t[6]=x,t[7]=P):P=t[7],t[8]!==i||t[9]!==P?(M=P(i),t[8]=i,t[9]=P,t[10]=M):M=t[10],t[11]!==M?(j={defaultSizeRelation:3,direction:"vertical",initiallyHidden:M,sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"},t[11]=M,t[12]=j):j=t[12];const V=sv(j);let U;t[13]!==i||t[14]!==_||t[15]!==x||t[16]!==g?(U=()=>"variables"===i||"headers"===i?i:!x&&_&&g?"headers":"variables",t[13]=i,t[14]=_,t[15]=x,t[16]=g,t[17]=U):U=t[17];const[B,$]=(0,d.useState)(U);let q;if(t[18]!==o){let e,n;t[20]===Symbol.for("react.memo_cache_sentinel")?(e=(0,h.jsx)(TC.Logo,{}),n=(0,h.jsx)(TC.Toolbar,{}),t[20]=e,t[21]=n):(e=t[20],n=t[21]),q=d.Children.toArray(o).reduce(NC,{logo:e,toolbar:n,children:[]}),t[18]=o,t[19]=q}else q=t[19];const{logo:z,toolbar:H,footer:K,children:W}=q;let Y;t[22]!==L?(Y=function(){"first"===L.hiddenElement&&L.setHiddenElement(null)},t[22]=L,t[23]=Y):Y=t[23];const G=Y;let Q;t[24]!==V?(Q=e=>{"second"===V.hiddenElement&&V.setHiddenElement(null);const t=e.currentTarget.dataset.name;$(t)},t[24]=V,t[25]=Q):Q=t[25];const X=Q;let Z;t[26]!==V?(Z=()=>{V.setHiddenElement("second"===V.hiddenElement?null:"second")},t[26]=V,t[27]=Z):Z=t[27];const J=Z;let ee;t[28]!==b||t[29]!==s?(ee=async e=>{const t=e.currentTarget.previousSibling,n=Number(t.id.replace(xC,""));(!s||await s(n))&&b(n)},t[28]=b,t[29]=s,t[30]=ee):ee=t[30];const te=ee;let ne;t[31]!==E?(ne=e=>{const t=Number(e.currentTarget.id.replace(xC,""));E(t)},t[31]=E,t[32]=ne):ne=t[32];const re=ne,ie=("second"===V.hiddenElement?"Show":"Hide")+" editor tools",oe="second"===V.hiddenElement?It:Dt,se=R.firstRef;let ae,le,ue,ce;t[33]!==A||t[34]!==G||t[35]!==l?(ae=A?(0,h.jsx)(gv,{onClickReference:G,onEdit:l}):(0,h.jsx)(fn,{}),t[33]=A,t[34]=G,t[35]=l,t[36]=ae):ae=t[36],t[37]===Symbol.for("react.memo_cache_sentinel")?(le=(0,h.jsx)(yv,{}),t[37]=le):le=t[37],t[38]!==H?(ue=(0,h.jsxs)("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands",children:[le,H]}),t[38]=H,t[39]=ue):ue=t[39],t[40]!==V.firstRef||t[41]!==ae||t[42]!==ue?(ce=(0,h.jsxs)("section",{className:"graphiql-query-editor","aria-label":"Operation Editor",ref:V.firstRef,children:[ae,ue]}),t[40]=V.firstRef,t[41]=ae,t[42]=ue,t[43]=ce):ce=t[43];const de=V.dragBarRef,fe="variables"===B&&"second"!==V.hiddenElement&&"active";let pe,he,me,ge,ye,ve,be;t[44]!==fe?(pe=dn(fe),t[44]=fe,t[45]=pe):pe=t[45],t[46]!==X||t[47]!==pe?(he=(0,h.jsx)(No,{type:"button",className:pe,onClick:X,"data-name":"variables",children:"Variables"}),t[46]=X,t[47]=pe,t[48]=he):he=t[48],t[49]!==B||t[50]!==V.hiddenElement||t[51]!==X||t[52]!==g?(me=g&&(0,h.jsx)(No,{type:"button",className:dn("headers"===B&&"second"!==V.hiddenElement&&"active"),onClick:X,"data-name":"headers",children:"Headers"}),t[49]=B,t[50]=V.hiddenElement,t[51]=X,t[52]=g,t[53]=me):me=t[53],t[54]!==oe?(ge=(0,h.jsx)(oe,{className:"graphiql-chevron-icon","aria-hidden":"true"}),t[54]=oe,t[55]=ge):ge=t[55],t[56]!==ie||t[57]!==ge||t[58]!==J?(ye=(0,h.jsx)(No,{type:"button",onClick:J,"aria-label":ie,className:"graphiql-toggle-editor-tools",children:ge}),t[56]=ie,t[57]=ge,t[58]=J,t[59]=ye):ye=t[59],t[60]!==ie||t[61]!==ye?(ve=(0,h.jsx)(kh,{label:ie,children:ye}),t[60]=ie,t[61]=ye,t[62]=ve):ve=t[62],t[63]!==V.dragBarRef||t[64]!==he||t[65]!==me||t[66]!==ve?(be=(0,h.jsxs)("div",{ref:de,className:"graphiql-editor-tools",children:[he,me,ve]}),t[63]=V.dragBarRef,t[64]=he,t[65]=me,t[66]=ve,t[67]=be):be=t[67];const Ee="variables"===B?"Variables":"Headers",ke="variables"===B?"":"hidden";let we,xe,_e,Se;t[68]!==u||t[69]!==ke?(we=(0,h.jsx)(bv,{className:ke,onEdit:u}),t[68]=u,t[69]=ke,t[70]=we):we=t[70],t[71]!==B||t[72]!==g||t[73]!==c?(xe=g&&(0,h.jsx)(kv,{className:"headers"===B?"":"hidden",onEdit:c}),t[71]=B,t[72]=g,t[73]=c,t[74]=xe):xe=t[74],t[75]!==V.secondRef||t[76]!==Ee||t[77]!==we||t[78]!==xe?(_e=(0,h.jsxs)("section",{className:"graphiql-editor-tool","aria-label":Ee,ref:V.secondRef,children:[we,xe]}),t[75]=V.secondRef,t[76]=Ee,t[77]=we,t[78]=xe,t[79]=_e):_e=t[79],t[80]!==R.firstRef||t[81]!==ce||t[82]!==be||t[83]!==_e?(Se=(0,h.jsxs)("div",{className:"graphiql-editors",ref:se,children:[ce,be,_e]}),t[80]=R.firstRef,t[81]=ce,t[82]=be,t[83]=_e,t[84]=Se):Se=t[84];const Te=Se,Ce=(0,d.useRef)(null);let Ne,Ae,De,Oe,Ie,Le;t[85]!==a?(Ne=dn("graphiql-container",a),t[85]=a,t[86]=Ne):Ne=t[86],t[87]!==n||t[88]!==L.setHiddenElement||t[89]!==p?(Ae=(0,h.jsx)(kC,{forcedTheme:n,showPersistHeadersSettings:p,setHiddenElement:L.setHiddenElement}),t[87]=n,t[88]=L.setHiddenElement,t[89]=p,t[90]=Ae):Ae=t[90],t[91]===Symbol.for("react.memo_cache_sentinel")?(De={minWidth:"200px"},t[91]=De):De=t[91],t[92]!==D?(Oe=D&&(0,h.jsx)(D,{}),t[92]=D,t[93]=Oe):Oe=t[93],t[94]!==L.firstRef||t[95]!==Oe?(Ie=(0,h.jsx)("div",{ref:L.firstRef,className:"graphiql-plugin",style:De,children:Oe}),t[94]=L.firstRef,t[95]=Oe,t[96]=Ie):Ie=t[96],t[97]!==L.dragBarRef||t[98]!==N?(Le=N&&(0,h.jsx)("div",{className:"graphiql-horizontal-drag-bar",ref:L.dragBarRef}),t[97]=L.dragBarRef,t[98]=N,t[99]=Le):Le=t[99];const Fe=L.secondRef;let Re,Pe,Me,je,Ve;t[100]!==T||t[101]!==re||t[102]!==te||t[103]!==S?(Re=S.map((e,t,n)=>(0,h.jsxs)(yT,{dragConstraints:Ce,value:e,isActive:t===T,children:[(0,h.jsx)(yT.Button,{"aria-controls":"graphiql-session",id:`graphiql-session-tab-${t}`,title:e.title,onClick:re,children:e.title}),n.length>1&&(0,h.jsx)(yT.Close,{onClick:te})]},e.id)),t[100]=T,t[101]=re,t[102]=te,t[103]=S,t[104]=Re):Re=t[104],t[105]!==v||t[106]!==Re||t[107]!==S?(Pe=(0,h.jsx)(vT,{ref:Ce,values:S,onReorder:v,"aria-label":"Select active operation",className:"no-scrollbar",children:Re}),t[105]=v,t[106]=Re,t[107]=S,t[108]=Pe):Pe=t[108],t[109]===Symbol.for("react.memo_cache_sentinel")?(Me=(0,h.jsx)(Qt,{"aria-hidden":"true"}),t[109]=Me):Me=t[109],t[110]!==y?(je=(0,h.jsx)(kh,{label:_C,children:(0,h.jsx)(No,{type:"button",className:"graphiql-tab-add",onClick:y,"aria-label":_C,children:Me})}),t[110]=y,t[111]=je):je=t[111],t[112]!==z||t[113]!==Pe||t[114]!==je?(Ve=(0,h.jsxs)("div",{className:"graphiql-session-header",children:[Pe,je,z]}),t[112]=z,t[113]=Pe,t[114]=je,t[115]=Ve):Ve=t[115];const Ue=`${xC}${T}`;let Be,$e,qe,ze,He,Ke,We,Ye,Qe;return t[116]!==R.dragBarRef?(Be=(0,h.jsx)("div",{className:"graphiql-horizontal-drag-bar",ref:R.dragBarRef}),t[116]=R.dragBarRef,t[117]=Be):Be=t[117],t[118]!==C?($e=C&&(0,h.jsx)(fn,{}),t[118]=C,t[119]=$e):$e=t[119],t[120]!==f?(qe=(0,h.jsx)(kT,{responseTooltip:f}),t[120]=f,t[121]=qe):qe=t[121],t[122]!==R.secondRef||t[123]!==K||t[124]!==$e||t[125]!==qe?(ze=(0,h.jsxs)("div",{className:"graphiql-response",ref:R.secondRef,children:[$e,qe,K]}),t[122]=R.secondRef,t[123]=K,t[124]=$e,t[125]=qe,t[126]=ze):ze=t[126],t[127]!==Te||t[128]!==Ue||t[129]!==Be||t[130]!==ze?(He=(0,h.jsxs)("div",{role:"tabpanel",id:"graphiql-session","aria-labelledby":Ue,children:[Te,Be,ze]}),t[127]=Te,t[128]=Ue,t[129]=Be,t[130]=ze,t[131]=He):He=t[131],t[132]!==L.secondRef||t[133]!==Ve||t[134]!==He?(Ke=(0,h.jsxs)("div",{ref:Fe,className:"graphiql-sessions",children:[Ve,He]}),t[132]=L.secondRef,t[133]=Ve,t[134]=He,t[135]=Ke):Ke=t[135],t[136]!==Ie||t[137]!==Le||t[138]!==Ke?(We=(0,h.jsxs)("div",{className:"graphiql-main",children:[Ie,Le,Ke]}),t[136]=Ie,t[137]=Le,t[138]=Ke,t[139]=We):We=t[139],t[140]!==Ne||t[141]!==Ae||t[142]!==We?(Ye=(0,h.jsxs)("div",{className:Ne,children:[Ae,We]}),t[140]=Ne,t[141]=Ae,t[142]=We,t[143]=Ye):Ye=t[143],t[144]!==W||t[145]!==Ye?(Qe=(0,h.jsxs)(kh.Provider,{children:[Ye,W]}),t[144]=W,t[145]=Ye,t[146]=Qe):Qe=t[146],Qe},TC=Object.assign(e=>{var t,n;const r=(0,m.c)(54);let i,o,s,a,l,u,c,f,p,g,y,v,b,E,k,w;r[0]!==e?(({maxHistoryLength:c,plugins:E,referencePlugin:k,onEditQuery:p,onEditVariables:g,onEditHeaders:f,responseTooltip:v,defaultEditorToolsVisibility:a,isHeadersEditorEnabled:u,showPersistHeadersSettings:b,forcedTheme:l,confirmCloseTab:s,className:o,children:i,...y}=e),r[0]=e,r[1]=i,r[2]=o,r[3]=s,r[4]=a,r[5]=l,r[6]=u,r[7]=c,r[8]=f,r[9]=p,r[10]=g,r[11]=y,r[12]=v,r[13]=b,r[14]=E,r[15]=k):(i=r[1],o=r[2],s=r[3],a=r[4],l=r[5],u=r[6],c=r[7],f=r[8],p=r[9],g=r[10],y=r[11],v=r[12],b=r[13],E=r[14],k=r[15]),r[16]!==E?(w=void 0===E?[Rh]:E,r[16]=E,r[17]=w):w=r[17];const x=w,_=void 0===k?vf:k;if(null==(t=y.toolbar)?void 0:t.additionalContent)throw new TypeError("The `toolbar.additionalContent` prop has been removed. Use render props on `GraphiQL.Toolbar` component instead.");if(null==(n=y.toolbar)?void 0:n.additionalComponent)throw new TypeError("The `toolbar.additionalComponent` prop has been removed. Use render props on `GraphiQL.Toolbar` component instead.");if(y.keyMap)throw new TypeError("`keyMap` was removed. To use Vim or Emacs keybindings in Monaco, you can use community plugins. Monaco Vim: https://github.com/brijeshb42/monaco-vim. Monaco Emacs: https://github.com/aioutecism/monaco-emacs");if(y.readOnly)throw new TypeError("The `readOnly` prop has been removed.");const S=b??!1!==y.shouldPersistHeaders;let T;r[18]!==o||r[19]!==s||r[20]!==a||r[21]!==l||r[22]!==u||r[23]!==f||r[24]!==p||r[25]!==g||r[26]!==v||r[27]!==S?(T={showPersistHeadersSettings:S,onEditQuery:p,onEditVariables:g,onEditHeaders:f,responseTooltip:v,defaultEditorToolsVisibility:a,isHeadersEditorEnabled:u,forcedTheme:l,confirmCloseTab:s,className:o},r[18]=o,r[19]=s,r[20]=a,r[21]=l,r[22]=u,r[23]=f,r[24]=p,r[25]=g,r[26]=v,r[27]=S,r[28]=T):T=r[28];const C=T;let N;r[29]!==x?(N=x.includes(Rh),r[29]=x,r[30]=N):N=r[30];const A=N,D=A?xh:d.Fragment,O=_===vf?kf:d.Fragment;let I,L,F,R,P,M,j;return r[31]!==_?(I=_?[_]:[],r[31]=_,r[32]=I):I=r[32],r[33]!==x||r[34]!==I?(L=[...I,...x],r[33]=x,r[34]=I,r[35]=L):L=r[35],r[36]!==A||r[37]!==c?(F=A&&{maxHistoryLength:c},r[36]=A,r[37]=c,r[38]=F):F=r[38],r[39]!==i||r[40]!==C?(R=(0,h.jsx)(SC,{...C,children:i}),r[39]=i,r[40]=C,r[41]=R):R=r[41],r[42]!==O||r[43]!==R?(P=(0,h.jsx)(O,{children:R}),r[42]=O,r[43]=R,r[44]=P):P=r[44],r[45]!==D||r[46]!==P||r[47]!==F?(M=(0,h.jsx)(D,{...F,children:P}),r[45]=D,r[46]=P,r[47]=F,r[48]=M):M=r[48],r[49]!==y||r[50]!==_||r[51]!==M||r[52]!==L?(j=(0,h.jsx)(xt,{plugins:L,referencePlugin:_,...y,children:M}),r[49]=y,r[50]=_,r[51]=M,r[52]=L,r[53]=j):j=r[53],j},{Logo:e=>{const t=(0,m.c)(2),{children:n}=e,r=void 0===n?_T:n;let i;return t[0]!==r?(i=(0,h.jsx)("div",{className:"graphiql-logo",children:r}),t[0]=r,t[1]=i):i=t[1],i},Toolbar:e=>{const t=(0,m.c)(14),{children:n}=e,r=void 0===n?xT:n,i="function"==typeof r,{copyQuery:o,prettifyEditors:s,mergeQuery:a}=Tt();if(!i)return r;let l,u;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,h.jsx)(Xt,{className:"graphiql-toolbar-icon","aria-hidden":"true"}),t[0]=l):l=t[0],t[1]!==s?(u=(0,h.jsx)(Ph,{onClick:s,label:`Prettify query (${ge.prettify.key})`,children:l}),t[1]=s,t[2]=u):u=t[2];const c=u;let d,f;t[3]===Symbol.for("react.memo_cache_sentinel")?(d=(0,h.jsx)(Wt,{className:"graphiql-toolbar-icon","aria-hidden":"true"}),t[3]=d):d=t[3],t[4]!==a?(f=(0,h.jsx)(Ph,{onClick:a,label:`Merge fragments into query (${ge.mergeFragments.key})`,children:d}),t[4]=a,t[5]=f):f=t[5];const p=f;let g,y;t[6]===Symbol.for("react.memo_cache_sentinel")?(g=(0,h.jsx)(Ft,{className:"graphiql-toolbar-icon","aria-hidden":"true"}),t[6]=g):g=t[6],t[7]!==o?(y=(0,h.jsx)(Ph,{onClick:o,label:`Copy query (${ge.copyQuery.key})`,children:g}),t[7]=o,t[8]=y):y=t[8];const v=y;let b;return t[9]!==r||t[10]!==v||t[11]!==p||t[12]!==c?(b=r({prettify:c,copy:v,merge:p}),t[9]=r,t[10]=v,t[11]=p,t[12]=c,t[13]=b):b=t[13],b},Footer:e=>{const t=(0,m.c)(2),{children:n}=e;let r;return t[0]!==n?(r=(0,h.jsx)("div",{className:"graphiql-footer",children:n}),t[0]=n,t[1]=r):r=t[1],r}});function CC(e){return Boolean(e.monaco)}function NC(e,t){e:switch(function(e){if(e&&"object"==typeof e&&"type"in e&&"function"==typeof e.type)return e.type}(t)){case TC.Logo:e.logo=t;break e;case TC.Toolbar:e.toolbar=t;break e;case TC.Footer:e.footer=t;break e;default:e.children.push(t)}return e}const AC=({error:e,onClose:t})=>(0,h.jsxs)("div",{className:"errorPopup",children:[(0,h.jsx)("button",{className:"errorPopupClose",onClick:t,children:"🗙"}),(0,h.jsx)("div",{className:"errorPopupError",children:String(e)})]}),DC=()=>(0,h.jsxs)("div",{className:"ruru-footer",children:["Community-funded OSS 🙏"," ",(0,h.jsx)("a",{title:"All our projects are supported by the community, please sponsor ongoing development",href:"https://graphile.org/sponsor/",target:"new",children:"please sponsor"})," ","💖"]}),OC=(0,d.createContext)({explainHelpers:{showExplain:!1,explainSize:0,explainAtBottom:!0,setExplainSize:()=>{},setExplainAtBottom:()=>{},setShowExplain:()=>{}},explain:!0,setExplain:()=>{},explainResults:null});var IC=s(85187);const LC=e=>"object"==typeof e&&e&&"string"==typeof e.type&&"string"==typeof e.title;function FC(e){return e.startsWith("/")?`ws${"https:"===window.location.protocol?"s":""}://${window.location.host}${e}`:/^https?:\/\//.test(e)?`ws${e.substring(4)}`:e}function RC(e,t,n){const r=e[t];delete e[t],n||Object.defineProperty(e,t,{value:r,enumerable:!1})}const PC=(e,t={})=>{const[n,r]=(0,d.useState)(null),i=e.endpoint??"/graphql",o=i.startsWith("/")?("undefined"!=typeof window?window.location.origin:"")+i:i,s=e.subscriptionEndpoint?FC(e.subscriptionEndpoint):e.endpoint?FC(e.endpoint):void 0,[a,l]=(0,d.useState)(null);(0,d.useEffect)(()=>{o&&r(null)},[o]);const u=t.explain&&(!e.debugTools||e.debugTools.includes("explain")),c=!!t.verbose,f=(0,d.useMemo)(()=>(...e)=>{const t=fetch(...e);return t.then(e=>{const t=e.headers.get("X-GraphQL-Event-Stream");if("string"==typeof t){const e=new URL(t,o);r(e.toString())}},()=>{}),t},[o]),p=(0,d.useMemo)(()=>{const e=u?{"X-PostGraphile-Explain":"on","X-GraphQL-Explain":"plan,sql"}:{};return{url:o,headers:e,wsConnectionParams:e,fetch:f,subscriptionUrl:s}},[u,o,s,f]),h=(0,d.useMemo)(()=>e.fetcher??H(p),[p,e.fetcher]),m=(0,d.useMemo)(()=>{const e=(t,n=!1)=>{if(null==t)return t;if(Array.isArray(t))return t.map(t=>e(t,n));const r={...t,...t.extensions?{extensions:{...t.extensions}}:null},i=r.explain;if(r.extensions?.explain){const e=r.extensions.explain;"object"==typeof e&&(e=>e&&Array.isArray(e.operations)&&e.operations.every(LC))(e)?setTimeout(()=>{l(e)},100):console.warn("The response had `extensions.explain` set, but in an incompatible format."),c||(1===Object.keys(r.extensions).length?RC(r,"extensions",n):RC(r.extensions,"explain",n))}else i&&setTimeout(()=>{l({operations:i.map((e,t)=>({type:"sql",title:`Legacy explain ${t+1}`,query:e.query,explain:e.plan}))})},100);return r};return async function(...t){const n=await h(...t);if((e=>{try{if("IntrospectionQuery"===e.operationName)return!0;if(e.operationName)return!1;const t=(0,Q.qg)(e.query),n=(0,IC.A)(t,e.operationName);return"IntrospectionQuery"===n?.name?.value}catch(e){return!1}})(t[0]))return n;if(setTimeout(()=>{l(null)},100),"subscribe"in n)return n;if(V(n)){const t=n[Symbol.asyncIterator]();return{throw:t.throw?.bind(t),return:t.return?.bind(t),next(...n){const r=t.next(...n);if(M(r))return r.then(({done:t,value:n})=>({done:t,value:e(n,!0)}));{const{done:t,value:n}=r;return{done:t,value:e(n,!0)}}},[Symbol.asyncIterator](){return this}}}return e(n)}},[h,c]);return{fetcher:m,explainResults:a,streamEndpoint:n}},MC={explain:"Ruru:explain",explainSize:"Ruru:explainSize",explainIsOpen:"Ruru:explainIsOpen",explainAtBottom:"Ruru:explainAtBottom",explorerIsOpen:"graphiql:explorerIsOpen",verbose:"Ruru:verbose",condensed:"Ruru:condensed"},jC=e=>e+1,VC=()=>{const e="undefined"!=typeof window?window.localStorage:null,[t,n]=(0,d.useState)(0),[r]=(0,d.useState)(Object.create(null));return(0,d.useMemo)(()=>e?{_revision:t,get(t){const n=e.getItem(MC[t]);return"null"===n||"undefined"===n?(e.removeItem(MC[t]),null):n??null},set(t,r){e.setItem(MC[t],r),n(jC)},toggle(e){const t=this.get(e);t||null==t&&"condensed"===e?this.set(e,""):this.set(e,"true")}}:{_revision:t,get:e=>r[e]??null,set(e,t){r[e]=t},toggle(e){r[e]=r[e]?"":"true"}},[e,t,r])},UC=({text:e,json:t,children:n})=>{const r=(0,d.useMemo)(()=>e??(void 0!==t?JSON.stringify(t):void 0),[e,t]),i=(0,d.useRef)(null),o=(0,d.useCallback)(()=>{const e=i.current;e&&(e.select(),e.setSelectionRange(0,99999),navigator.clipboard.writeText(e.value))},[]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("textarea",{ref:e=>{i.current=e},value:r,readOnly:!0,style:{display:"none"}}),(0,h.jsx)("button",{onClick:o,children:n})]})},BC=({sql:e})=>{const[t,n]=(0,d.useState)(null),r=(0,d.useMemo)(()=>{const r=e.split("\n"),i=[],o=new Map;let s=0;const a=e=>{const r=[];let i=0;const a=/__([a-zA-Z0-9](_?[a-zA-Z0-9])*)(__|_[0-9]+(?![a-zA-Z0-9_]))/g;let l;for(;l=a.exec(e);){const u=l.index,c=a.lastIndex;u>i&&r.push((0,h.jsx)(h.Fragment,{children:e.substring(i,u)})),i=c;const[d]=l,f=o.get(d);if(f)r.push(f);else{const e=s++,i=(0,h.jsx)(qC,{n:e,highlit:e===t,setHighlitIndex:n,children:d});o.set(d,i),r.push(i)}}return i<e.length&&r.push((0,h.jsx)(h.Fragment,{children:e.substring(i)})),r};for(let e=0,t=r.length;e<t;e++){const t=a(r[e]);i.push((0,h.jsx)("code",{style:{display:"block",marginLeft:"1.8rem",textIndent:"-1.8rem"},children:t.map((e,t)=>(0,h.jsx)(d.Fragment,{children:e},t))},e))}return i},[e,t]);return(0,h.jsx)("pre",{className:"explain-sql",children:r})},$C=["#00bfff","#ffa500","#7fff00","#ff1493","#808000","#dda0dd","#ff0000","#4169e1","#3cb371","#a52a2a","#ff00ff"],qC=({n:e,highlit:t,setHighlitIndex:n,children:r})=>{const i=$C[e%$C.length],o=t?{color:i,borderRadius:"3px",fontWeight:"900",backgroundColor:"hsla(var(--color-primary),var(--alpha-background-medium))"}:{color:i},s=(0,d.useCallback)(()=>{n(e)},[n,e]),a=(0,d.useCallback)(()=>{n(null)},[n]);return(0,h.jsx)("strong",{style:o,onMouseEnter:s,onMouseLeave:a,children:r})},zC=(0,d.lazy)(()=>Promise.all([s.e(7367),s.e(8983)]).then(s.bind(s,78983))),HC=({plan:e})=>(0,h.jsx)(d.Suspense,{fallback:(0,h.jsx)("div",{children:"Mermaid hasn't (yet) loaded, so we cannot render plan diagrams"}),children:(0,h.jsx)(zC,{plan:e})}),KC=({explain:e,setExplain:t,helpers:n,results:r})=>(0,h.jsx)(h.Fragment,{children:r?0===r.operations.length?(0,h.jsx)("p",{children:"Empty explain results"}):(0,h.jsx)("div",{children:(0,h.jsx)(WC,{helpers:n,results:r})}):e?(0,h.jsx)("p",{children:"There are no explain results to display - perhaps you have not yet ran an operation against a server that supports this feature?"}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("p",{children:"WARNING: you've not enabled the 'explain' functionality"}),(0,h.jsx)("p",{children:(0,h.jsx)("button",{onClick:()=>t(!0),children:"Enable explain"})})]})}),WC=({results:e})=>{const[t,n]=(0,d.useState)(0);(0,d.useEffect)(()=>{n(0)},[e]);const r=e.operations[t],[i,o]=(0,d.useState)(!1),a=(0,d.useCallback)(()=>{o(!0)},[]),l=(0,d.useMemo)(()=>document.createElement("div"),[]);(0,d.useEffect)(()=>(document.body.appendChild(l),()=>{document.body.removeChild(l)}),[l]);const[u,c]=(0,d.useState)(!1),f=(0,d.useCallback)(()=>{r&&"plan"===r.type&&(c(!0),(async()=>{const e=await(YC??=s.e(7367).then(s.bind(s,67367))),{planToMermaid:t}=await(GC??=s.e(8982).then(s.t.bind(s,8982,19))),n=t(r.plan);e.default.render("id1",n).then(({svg:e})=>{const t=new File([e.replace(/<br>/g,"<br/>")],"grafast-plan.svg"),n=document.createElement("a");n.href=URL.createObjectURL(t),n.download=t.name,n.style.display="none",document.body.appendChild(n),n.click(),c(!1),setTimeout(()=>{URL.revokeObjectURL(n.href),n.parentNode.removeChild(n)},0)})})().catch(e=>{alert(String(e))}))},[r]),p=(()=>{switch(r?.type){case"sql":return(0,h.jsxs)("div",{children:[r.explain?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("h4",{children:["Result from SQL"," ",(0,h.jsx)("a",{href:"https://www.postgresql.org/docs/current/sql-explain.html",children:"EXPLAIN"})," ","on executed query:"]}),(0,h.jsx)("pre",{className:"explain-plan",children:(0,h.jsx)("code",{children:r.explain})}),(0,h.jsx)(UC,{text:r.explain,children:"Copy plan"})]}):null,(0,h.jsx)("h4",{children:"Executed SQL query:"}),(0,h.jsx)(BC,{sql:r.query}),(0,h.jsx)(UC,{text:r.query,children:"Copy SQL"})]});case"plan":return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(UC,{json:r.plan,children:"Copy plan JSON"}),(0,h.jsx)("button",{onClick:f,disabled:u,children:"Save Mermaid Diagram"}),(0,h.jsx)("div",{onClick:a,children:(0,h.jsx)(HC,{plan:r.plan})}),i?(0,Ls.createPortal)((0,h.jsxs)("div",{className:"explainExpandedContainer",children:[(0,h.jsx)("div",{className:"explainExpandedTitle",children:"Operation Plan"}),(0,h.jsx)("div",{className:"explainExpandedCloseContainer",children:(0,h.jsx)("button",{className:"explainExpandedCloseButton",onClick:()=>o(!1),children:"×"})}),(0,h.jsx)("div",{className:"explainExpandedMain",children:(0,h.jsx)(HC,{plan:r.plan})})]}),l):null]});case void 0:return(0,h.jsxs)("div",{children:["Explain result type '$",r.type,"' not yet supported."]});default:return(0,h.jsx)("div",{})}})();return(0,h.jsxs)("div",{children:[(0,h.jsx)("select",{value:String(t),onChange:e=>n(parseInt(e.target.value,10)),children:e.operations.map((e,t)=>(0,h.jsx)("option",{value:String(t),children:e.title},t))}),p]})};let YC,GC;const QC={title:"Explain",icon:Kt,content:()=>{const{explainHelpers:e,explain:t,explainResults:n,setExplain:r}=(0,d.useContext)(OC);return(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"graphiql-doc-explorer-header",children:(0,h.jsx)("div",{className:"graphiql-doc-explorer-title",children:"Explain"})}),(0,h.jsx)("div",{className:"graphiql-doc-explorer-content",children:(0,h.jsx)(KC,{explain:t,setExplain:r,helpers:e,results:n})})]})}},XC={width:"1.5rem",display:"inline-block"},ZC=(0,h.jsx)("span",{style:XC,children:"✔"}),JC=(0,h.jsx)("span",{style:XC}),eN=(tN={showAttribution:!1},{title:"GraphiQL Explorer",icon:({title:e,titleId:t,...n})=>d.createElement("svg",{height:"1em",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?d.createElement("title",{id:t},e):null,d.createElement("path",{d:"M18 6H20M22 6H20M20 6V4M20 6V8",strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M21.4 20H2.6C2.26863 20 2 19.7314 2 19.4V11H21.4C21.7314 11 22 11.2686 22 11.6V19.4C22 19.7314 21.7314 20 21.4 20Z"}),d.createElement("path",{d:"M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H14",strokeLinecap:"round",strokeLinejoin:"round"})),content:()=>(0,h.jsx)(Vf,{...tN})});var tN;const nN=[vf,Rh,eN,QC],rN=e=>{const{inputValueDeprecation:t,schemaDescription:n,defaultQuery:r,showPersistHeadersSettings:i,fetcher:o,debugTools:s,query:a,variables:l,...u}=e,c=VC(),f="true"===c.get("explain"),p="true"===c.get("verbose"),m=(0,d.useCallback)(e=>{c.set("explain",e?"true":"")},[c]),{fetcher:g,explainResults:y,streamEndpoint:v}=PC(e,{explain:f,verbose:p}),[b,E]=(0,d.useState)(null),k=(e=>{const[t,n]=(0,d.useState)("true"===e.get("explainIsOpen")),[r,i]=(0,d.useState)(parseInt(e.get("explainSize")??"",10)||300),[o,s]=(0,d.useState)([null,"true"].includes(e.get("explainAtBottom"))),a=(0,d.useCallback)(t=>{n(t),t&&e.set("explain","true"),e.set("explainIsOpen",t?"true":"")},[e]),l=(0,d.useCallback)(t=>{s(t),e.set("explainAtBottom",t?"true":"")},[e]);return{showExplain:t,explainSize:r,explainAtBottom:o,setExplainSize:(0,d.useCallback)(t=>{i(t),e.set("explainSize",String(t))},[e]),setExplainAtBottom:l,setShowExplain:a}})(c),w=(0,d.useMemo)(()=>({explain:f,explainHelpers:k,explainResults:y,setExplain:m}),[f,k,y,m]);return(0,h.jsx)(xt,{...u,inputValueDeprecation:t??!0,schemaDescription:n??!0,fetcher:g,defaultQuery:r??'# Welcome to Ruru, our distribution of GraphiQL and related tooling to\n# inspect your GraphQL API.\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that starts\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Prettify Query: Shift-Ctrl-P (or press the prettify button above)\n#\n# Merge Query: Shift-Ctrl-M (or press the merge button above)\n#\n# Run Query: Ctrl-Enter (or press the play button above)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n',plugins:nN,children:(0,h.jsx)(OC.Provider,{value:w,children:(0,h.jsx)(xh,{maxHistoryLength:e.maxHistoryLength,children:(0,h.jsx)(kf,{children:(0,h.jsx)(iN,{...u,showPersistHeadersSettings:i??!0,storage:c,error:b,setError:E,streamEndpoint:v})})})})})},iN=e=>{const{storage:t,error:n,setError:r,streamEndpoint:i,...o}=e,a=(()=>{const{queryEditor:e,variableEditor:t,headerEditor:n}=St(({queryEditor:e,variableEditor:t,headerEditor:n})=>({queryEditor:e,variableEditor:t,headerEditor:n})),{prettifyEditors:r}=Tt(),i=(0,d.useRef)({loaded:!1,prettier:null,plugins:[]}),o=(0,d.useCallback)(async()=>{const{prettier:o,plugins:s}=i.current;if(o&&s&&e&&t&&n)for(const r of[e,t,n]){const i=r.getValue();if(null!=i){const a=r.getPosition(),l=r.getModel(),u=a&&l?l.getOffsetAt(a)??0:0,c=r===e?"graphql":r===t||r===n?"jsonc":"json",d=await o.formatWithCursor(i,{parser:c,plugins:s,cursorOffset:u});r.setValue(d.formatted),l&&d.cursorOffset>0&&r.setPosition(l.getPositionAt(d.cursorOffset))}}else r()},[r,n,e,t]),a=(0,d.useCallback)(()=>{if(!1===i.current.loaded){const e=(async()=>{const[e,t,n,r]=await Promise.all([s.e(2408).then(s.bind(s,12408)),s.e(3242).then(s.bind(s,73242)),s.e(1914).then(s.bind(s,51914)),s.e(2541).then(s.bind(s,82541))]);i.current.prettier=e,i.current.plugins=[t.default,n,r],i.current.loaded=!0})();i.current.loaded=e,Promise.race([e,new Promise(e=>setTimeout(e,2e3))]).catch(()=>{}).then(o)}else o()},[o]);return(0,d.useEffect)(()=>{const t=e?.addAction({id:"graphql-prettify",label:"Prettify Editors",contextMenuGroupId:"graphql",keybindings:ge.prettify.keybindings,run:a});return()=>t?.dispose()},[a,e]),a})(),{copyQuery:l,mergeQuery:u,introspect:c}=Tt();((e,t,n)=>{const{eventSourceInit:r}=e,[i,o]=(0,d.useState)(null),s=(0,d.useRef)(null);(0,d.useEffect)(()=>{s.current=n?new EventSource(n,r):null;const e=s.current;return()=>{e&&(e.close(),s.current!==e&&console.error("Logic error in EventSource handling in useGraphQLChangeStream"),s.current=null)}},[r,n]);const a=s.current;(0,d.useEffect)(()=>{if(a){a.readyState===a.CLOSED&&(console.warn("Ruru: EventSource is closed, reopening"),o(new Error("Ruru: EventSource is closed, reopening")));const e=()=>{console.log("Ruru: Listening for server sent events"),o(null),t()},n=e=>{console.error("Ruru: Failed to connect to event stream",e),o(new Error("Failed to connect to event stream"))};return a.addEventListener("change",t,!1),a.addEventListener("open",e,!1),a.addEventListener("error",n,!1),()=>{a.removeEventListener("change",t,!1),a.removeEventListener("open",e,!1),a.removeEventListener("error",n,!1)}}},[i,a,t,n])})(e,c,i);const f=""!==t.get("condensed");return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(SC,{...o,className:`${o.className??""}${f?" condensed":""}`,children:[(0,h.jsx)(TC.Logo,{children:(0,h.jsx)("a",{href:"https://grafast.org/ruru",style:{textDecoration:"none"},target:"_blank",rel:"noreferrer",children:"Ruru"})}),(0,h.jsxs)(TC.Toolbar,{children:[(0,h.jsx)(Ph,{onClick:a,label:"Prettify Query (Shift-Ctrl-P)",children:(0,h.jsx)(Xt,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),(0,h.jsx)(Ph,{onSelect:u,label:"Merge Query (Shift-Ctrl-M)",children:(0,h.jsx)(Wt,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),(0,h.jsx)(Ph,{onClick:l,label:"Copy query (Shift-Ctrl-C)",children:(0,h.jsx)(Ft,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),(0,h.jsxs)(ov,{button:(0,h.jsx)(Ph,{label:"Options",children:(0,h.jsx)(en,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),children:[(0,h.jsx)(ov.Item,{title:"View the SQL statements that this query invokes",onSelect:()=>t.toggle("explain"),children:(0,h.jsxs)("span",{children:["true"===t.get("explain")?ZC:JC,"Explain (if supported)"]})}),(0,h.jsx)(ov.Item,{title:"Don't hide explain from results",onSelect:()=>t.toggle("verbose"),children:(0,h.jsxs)("span",{children:["true"===t.get("verbose")?ZC:JC,"Verbose"]})}),(0,h.jsx)(ov.Item,{title:"Condensed",onSelect:()=>t.toggle("condensed"),children:(0,h.jsxs)("span",{children:[""!==t.get("condensed")?ZC:JC,"Condensed"]})})]})]}),(0,h.jsx)(TC.Footer,{children:(0,h.jsx)(DC,{})})]}),n?(0,h.jsx)(AC,{error:n,onClose:()=>r(null)}):null]})};export{f as React,rN as Ruru};export const createRoot=p.createRoot;
//# sourceMappingURL=ruru.js.map