PageSourceSearch

https://paxscan.io/_next/static/chunks/7257.78fad2b522e88311.js

js paxscan.io collected 2026-10-08 21:04:17 UTC 752,293 bytes, 169 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7257],{169:(e,t,n)=>{"use strict";function r(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let o=r.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}let s=o.slice(0,5),a=s.pop();return i+s.join(", ")+", or "+a+"?"}n.d(t,{a:()=>r})},3545:e=>{"use strict";function t(e,t){if(null!=e)return e;var n=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})},4262:(e,t,n)=>{"use strict";function r(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let s=e.charCodeAt(n),a=t.charCodeAt(r);if(o(s)&&o(a)){let l=0;do++n,l=10*l+s-i,s=e.charCodeAt(n);while(o(s)&&l>0);let u=0;do++r,u=10*u+a-i,a=t.charCodeAt(r);while(o(a)&&u>0);if(l<u)return -1;if(l>u)return 1}else{if(s<a)return -1;if(s>a)return 1;++n,++r}}return e.length-t.length}n.d(t,{p:()=>r});let i=48;function o(e){return!isNaN(e)&&i<=e&&e<=57}},7743:(e,t,n)=>{"use strict";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})},8056:(e,t,n)=>{"use strict";n.d(t,{y:()=>l});var r=n(47518);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}let 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"];var a=n(74968);function l(e){return(0,a.YR)(e,u)}let u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=p("(",c(e.variableDefinitions,", "),")"),n=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+p(" = ",n)+p(" ",c(r," "))},SelectionSet:{leave:({selections:e})=>d(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=p("",e,": ")+t,s=o+p("(",c(n,", "),")");return s.length>80&&(s=o+p("(\n",f(c(n,"\n")),"\n)")),c([s,c(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+p(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>c(["...",p("on ",e),c(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${p("(",c(n,", "),")")} on ${t} ${p("",c(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.yo)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+p("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>p("",e,"\n")+c(["schema",c(t," "),d(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+c(["scalar",t,c(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+c(["type",t,p("implements ",c(n," & ")),c(r," "),d(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>
1p("",e,"\n")+t+(h(n)?p("(\n",f(c(n,"\n")),"\n)"):p("(",c(n,", "),")"))+": "+r+p(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>p("",e,"\n")+c([t+": "+n,p("= ",r),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+c(["interface",t,p("implements ",c(n," & ")),c(r," "),d(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>p("",e,"\n")+c(["union",t,c(n," "),p("= ",c(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>p("",e,"\n")+c(["enum",t,c(n," "),d(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+c([t,c(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>p("",e,"\n")+c(["input",t,c(n," "),d(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>p("",e,"\n")+"directive @"+t+(h(n)?p("(\n",f(c(n,"\n")),"\n)"):p("(",c(n,", "),")"))+(r?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),d(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>c(["extend type",e,p("implements ",c(t," & ")),c(n," "),d(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>c(["extend interface",e,p("implements ",c(t," & ")),c(n," "),d(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>c(["extend union",e,c(t," "),p("= ",c(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>c(["extend enum",e,c(t," "),d(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>c(["extend input",e,c(t," "),d(n)]," ")}};function c(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function d(e){return p("{\n",f(c(e,"\n")),"\n}")}function p(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function f(e){return p("  ",e.replace(/\n/g,"\n  "))}function h(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}},8691:(e,t,n)=>{"use strict";function r(e){var t;return e instanceof Element||e instanceof((null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window).Element}n.d(t,{vq:()=>r})},13363:(e,t,n)=>{"use strict";let r;n.d(t,{J:()=>y7});var i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E={};n.r(E),n.d(E,{decode:()=>ex,encode:()=>eC,format:()=>e_,parse:()=>eM});var x={};n.r(x),n.d(x,{Any:()=>eV,Cc:()=>e$,Cf:()=>eB,P:()=>eP,S:()=>ej,Z:()=>eU});var T={};n.r(T),n.d(T,{arrayReplaceAt:()=>e1,assign:()=>e0,escapeHtml:()=>tr,escapeRE:()=>to,fromCodePoint:()=>e3,has:()=>eZ,isMdAsciiPunct:()=>tu,isPunctChar:()=>tl,isSpace:()=>ts,isString:()=>eX,isValidEntityCode:()=>e2,isWhiteSpace:()=>ta,lib:()=>td,normalizeReference:()=>tc,unescapeAll:()=>e8,unescapeMd:()=>e9});var w={};n.r(w),n.d(w,{parseLinkDestination:()=>tf,parseLinkLabel:()=>tp,parseLinkTitle:()=>th});var C=n(37876),_=n(93960),k=n(14232),S=n.t(k,2),N=n(63283),A=n(8056),D=n(21963),I=n(31579),O=n.n(I),F=n(79663),R=n.n(F);function L(e){let t=(0,k.createContext)(null);return t.displayName=e,t}function M(e){function t(t){var n;let r=(0,k.useContext)(e);if(null===r&&(null==t?void 0:t.nonNull))throw Error(`Tried to use \`${(null==(n=t.caller)?void 0:n.name)||"a component"}\` without the necessary context. Make sure to render the \`${e.displayName}Provider\` component higher up the tree.`);return r}return Object.defineProperty(t,"name",{value:`use${e.displayName}`}),t}var P=n(74968),j=n(31446);let V=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let 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},$=e=>e?V(e):V,B=e=>t=>(function(e,t=e=>e){let n=k.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return k.useDebugValue(n),n})(e,t),U=$(()=>({storage:null})),q=e=>{let t,n,r=(0,_.c)(3),{storage:i,children:o}=e,s=z(W);return(r[0]!==i?(t=()=>{U.setState({storage:new N.StorageAPI(i)})},n=[i],r[0]=i,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,k.useEffect)(t,n),s)?o:null},z=B(U),H=()=>z(Y);function W(e){return!!e.storage}function Y(e){return e.storage}let G="undefined"!=typeof navigator&&navigator.userAgent.includes("Mac"),K="graphiql",Q="sublime",X={[G?"Cmd-F":"Ctrl-F"]:"findPersistent","Cmd-G":"findPersistent","Ctrl-G":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"};async function J(e,t){let r=await n.e(44594).then(n.t.bind(n,12589,23)).then(e=>"function"==typeof e?e:e.default);return await Promise.all((null==t?void 0:t.useCommonAddons)===!1?e:[Promise.all([n.e(44594),n.e(35123)]).then(n.t.bind(n,35123,23)),Promise.all([n.e(44594),n.e(3695)]).then(n.t.bind(n,3695,23)),Promise.all([n.e(44594),n.e(7770)]).then(n.t.bind(n,7770,23)),Promise.all([n.e(44594),n.e(41901)]).then(n.t.bind(n,41901,23)),Promise.all([n.e(44594),n.e(92572)]).then(n.t.bind(n,92572,23)),Promise.all([n.e(44594),n.e(83383)]).then(n.t.bind(n,83383,23)),Promise.all([n.e(44594),n.e(93115)]).then(n.t.bind(n,93115,23)),Promise.all([n.e(44594),n.e(89962)]).then(n.t.bind(n,89962,23)),Promise.all([n.e(44594),n.e(51809)]).then(n.t.bind(n,51809,23)),Promise.all([n.e(44594),n.e(49764)]).then(n.t.bind(n,49764,23)),...e]),r}var Z=n(26269),ee=n.n(Z);let et=$((e,t)=>({plugins:[],visiblePlugin:null,referencePlugin:void 0,setVisiblePlugin(n){let{plugins:r,onTogglePluginVisibility:i}=t(),o="string"==typeof n,s=n&&r.find(e=>(o?e.title:e)===n)||null;e(({visiblePlugin:e})=>s===e?{visiblePlugin:e}:(null==i||i(s),{visiblePlugin:s}))}})),en=e=>{let t,n,r,i=(0,_.c)(8),{onTogglePluginVisibility:o,children:s,visiblePlugin:a,plugins:l,referencePlugin:u}=e;i[0]!==l?(t=void 0===l?[]:l,i[0]=l,i[1]=t):t=i[1];let c=t;return i[2]!==o||i[3]!==c||i[4]!==u||i[5]!==a?(n=()=>{let e=new Set;for(let{title:t}of c){if("string"!=typeof t||!t)throw Error("All GraphiQL plugins must have a unique title");if(e.has(t))throw Error(`All GraphiQL plugins must have a unique title, found two plugins with the title '${t}'`);e.add(t)}et.setState({plugins:c,onTogglePluginVisibility:o,referencePlugin:u}),et.getState().setVisiblePlugin(a??null)},r=[c,o,u,a],i[2]=o,i[3]=c,i[4]=u,i[5]=a,i[6]=n,i[7]=r):(n=i[6],r=i[7]),(0,k.useEffect)(n,r),s},er=B(et);var ei=n(58287),eo=n(77016),es=n(22366),ea=n(46144),el=n(76131),eu=n(58780),ec=n(16765
1),ed=n(85875),ep=n(22323),ef=n(78775),eh=n(30448);let em=$((e,t)=>({inputValueDeprecation:null,introspectionQueryName:null,schemaDescription:null,fetcher:null,onSchemaChange:void 0,fetchError:null,isFetching:!1,schema:null,validationErrors:[],schemaReference:null,setSchemaReference(t){e({schemaReference:t})},requestCounter:0,shouldIntrospect:!0,async introspect(){let{requestCounter:n,fetcher:r,onSchemaChange:i,shouldIntrospect:o,headerEditor:s,...a}=t();if(!o)return;let l=n+1;e({requestCounter:l});try{let n,o=null==s?void 0:s.getValue(),u=function(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch{n=!1}return{headers:t,isValidJSON:n}}(o);if(!u.isValidJSON)return void e({fetchError:"Introspection failed as headers are invalid."});let c=u.headers?{headers:u.headers}:{},{introspectionQuery:d,introspectionQueryName:p,introspectionQuerySansSubscriptions:f}=function({inputValueDeprecation:e,introspectionQueryName:t,schemaDescription:n}){let r=function(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function s(e){return t.inputValueDeprecation?e:""}return`
2    query IntrospectionQuery {
3      __schema {
4        ${o}
5        queryType { name }
6        mutationType { name }
7        subscriptionType { name }
8        types {
9          ...FullType
10        }
11        directives {
12          name
13          ${n}
14          ${i}
15          locations
16          args${s("(includeDeprecated: true)")} {
17            ...InputValue
18          }
19        }
20      }
21    }
22
23    fragment FullType on __Type {
24      kind
25      name
26      ${n}
27      ${r}
28      fields(includeDeprecated: true) {
29        name
30        ${n}
31        args${s("(includeDeprecated: true)")} {
32          ...InputValue
33        }
34        type {
35          ...TypeRef
36        }
37        isDeprecated
38        deprecationReason
39      }
40      inputFields${s("(includeDeprecated: true)")} {
41        ...InputValue
42      }
43      interfaces {
44        ...TypeRef
45      }
46      enumValues(includeDeprecated: true) {
47        name
48        ${n}
49        isDeprecated
50        deprecationReason
51      }
52      possibleTypes {
53        ...TypeRef
54      }
55    }
56
57    fragment InputValue on __InputValue {
58      name
59      ${n}
60      type { ...TypeRef }
61      defaultValue
62      ${s("isDeprecated")}
63      ${s("deprecationReason")}
64    }
65
66    fragment TypeRef on __Type {
67      kind
68      name
69      ofType {
70        kind
71        name
72        ofType {
73          kind
74          name
75          ofType {
76            kind
77            name
78            ofType {
79              kind
80              name
81              ofType {
82                kind
83                name
84                ofType {
85                  kind
86                  name
87                  ofType {
88                    kind
89                    name
90                    ofType {
91                      kind
92                      name
93                      ofType {
94                        kind
95                        name
96                      }
97                    }
98                  }
99                }
100              }
101            }
102          }
103        }
104      }
105    }
106  `}({inputValueDeprecation:e,schemaDescription:n}),i="IntrospectionQuery"===t?r:r.replace("query IntrospectionQuery",`query ${t}`);return{introspectionQueryName:t,introspectionQuery:i,introspectionQuerySansSubscriptions:r.replace("subscriptionType { name }","")}}(a),h=(0,N.fetcherReturnToPromise)(r({query:d,operationName:p}
106,c));if(!(0,N.isPromise)(h))return void e({fetchError:"Fetcher did not return a Promise for introspection."});e({isFetching:!0,fetchError:null});let m=await h;if("object"!=typeof m||null===m||!("data"in m)){let e=(0,N.fetcherReturnToPromise)(r({query:f,operationName:p},c));if(!(0,N.isPromise)(e))throw Error("Fetcher did not return a Promise for introspection.");m=await e}if(e({isFetching:!1}),(null==m?void 0:m.data)&&"__schema"in m.data)n=m.data;else{let t="string"==typeof m?m:(0,N.formatResult)(m);e({fetchError:t})}if(l!==t().requestCounter||!n)return;let g=function(e,t){(0,es.Z)(e)&&(0,es.Z)(e.__schema)||(0,ei.U)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,eo.N)(e)}.`);let n=e.__schema,r=(0,ea.L)(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case ec.fY.SCALAR:return t=e,new el.Ag({name:t.name,description:t.description,specifiedByURL:t.specifiedByURL});case ec.fY.OBJECT:return n=e,new el.bh({name:n.name,description:n.description,interfaces:()=>p(n),fields:()=>f(n)});case ec.fY.INTERFACE:return r=e,new el.VA({name:r.name,description:r.description,interfaces:()=>p(r),fields:()=>f(r)});case ec.fY.UNION:var t,n,r,i=e;if(!i.possibleTypes){let e=(0,eo.N)(i);throw Error(`Introspection result missing possibleTypes: ${e}.`)}return new el.hI({name:i.name,description:i.description,types:()=>i.possibleTypes.map(c)});case ec.fY.ENUM:var o=e;if(!o.enumValues){let e=(0,eo.N)(o);throw Error(`Introspection result missing enumValues: ${e}.`)}return new el.Zb({name:o.name,description:o.description,values:(0,ea.L)(o.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))});case ec.fY.INPUT_OBJECT:var s=e;if(!s.inputFields){let e=(0,eo.N)(s);throw Error(`Introspection result missing inputFields: ${e}.`)}return new el.zP({name:s.name,description:s.description,fields:()=>m(s.inputFields)})}let a=(0,eo.N)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${a}.`)})(e));for(let e of[...ed.YC,...ec.V4])r[e.name]&&(r[e.name]=e);let i=n.queryType?c(n.queryType):null,o=n.mutationType?c(n.mutationType):null,s=n.subscriptionType?c(n.subscriptionType):null,a=n.directives?n.directives.map(function(e){if(!e.args){let t=(0,eo.N)(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=(0,eo.N)(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new eu.RR({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:m(e.args)})}):[];return new ep.V4({description:n.description,query:i,mutation:o,subscription:s,types:Object.values(r),directives:a,assumeValid:void 0});function l(e){if(e.kind===ec.fY.LIST){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new el.KT(l(t))}if(e.kind===ec.fY.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");let n=l(t);return new el.Gc((0,el.wG)(n))}return u(e)}function u(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${(0,eo.N)(e)}.`);let n=r[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function c(e){return(0,el.qC)(u(e))}function d(e){return(0,el.qL)(u(e))}function p(e){if(null===e.interfaces&&e.kind===ec.fY.INTERFACE)return[];if(!e.interfaces){let t=(0,eo.N)(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(d)}function f(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,eo.N)(e)}.`);return(0,ea.L)(e.fields,e=>e.name,h)}function h(e){let t=l(e.type);if(!(0,el.oH)(t)){let e=(0,eo.N)(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=(0,eo.N)(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:m(e.args)}}function m(e){return(0,ea.L)(e,e=>e.name,g)}function g(e){let t=l(e.type);if(!(0,el.dX)(t)){let e=(0,eo.N)(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?(0,ef.i)((0,j.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}(n);e({schema:g}),null==i||i(g)}
106catch(n){if(l!==t().requestCounter)return;e({fetchError:(0,N.formatError)(n),isFetching:!1})}}})),eg=e=>{let t,n,r,i,o,s,a=(0,_.c)(14),{fetcher:l,onSchemaChange:u,dangerouslyAssumeSchemaIsValid:c,children:d,schema:p,inputValueDeprecation:f,introspectionQueryName:h,schemaDescription:m}=e,g=void 0!==c&&c,v=void 0!==f&&f,y=void 0===h?"IntrospectionQuery":h,b=void 0!==m&&m;if(!l)throw TypeError("The `SchemaContextProvider` component requires a `fetcher` function to be passed as prop.");a[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:eg},a[0]=t):t=a[0];let{headerEditor:E}=rn(t);return a[1]!==E?(n=()=>{E&&em.setState({headerEditor:E})},r=[E],a[1]=E,a[2]=n,a[3]=r):(n=a[2],r=a[3]),(0,k.useEffect)(n,r),a[4]!==g||a[5]!==l||a[6]!==v||a[7]!==y||a[8]!==u||a[9]!==p||a[10]!==b?(i=()=>{let e=(0,ep.Wl)(p)||null==p?p:void 0,t=!e||g?[]:(0,eh.i)(e);em.setState(n=>{let{requestCounter:r}=n;return{fetcher:l,onSchemaChange:u,schema:e,shouldIntrospect:!(0,ep.Wl)(p)&&null!==p,inputValueDeprecation:v,introspectionQueryName:y,schemaDescription:b,validationErrors:t,requestCounter:r+1}}),em.getState().introspect()},o=[p,g,u,l,v,y,b],a[4]=g,a[5]=l,a[6]=v,a[7]=y,a[8]=u,a[9]=p,a[10]=b,a[11]=i,a[12]=o):(i=a[11],o=a[12]),(0,k.useEffect)(i,o),a[13]===Symbol.for("react.memo_cache_sentinel")?(s=[],a[13]=s):s=a[13],(0,k.useEffect)(ey,s),d},ev=B(em);function ey(){let e=function(e){e.ctrlKey&&"R"===e.key&&em.getState().introspect()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}let eb={};function eE(e,t){"string"!=typeof t&&(t=eE.defaultChars);let n=function(e){let t=eb[e];if(t)return t;t=eb[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let 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){let o=parseInt(e.slice(r+1,r+3),16);if(o<128){t+=n[o];continue}if((224&o)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((192&n)==128){let e=o<<6&1984|63&n;e<128?t+="��":t+=String.fromCharCode(e),r+=3;continue}}if((240&o)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((192&n)==128&&(192&i)==128){let e=o<<12&61440|n<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),r+=6;continue}}if((248&o)==240&&r+9<i){let 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((192&n)==128&&(192&i)==128&&(192&s)==128){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})}eE.defaultChars=";/?:@&=+$,#",eE.componentChars="";let ex=eE,eT={};function ew(e,t,n){"string"!=typeof t&&(n=t,t=ew.defaultChars),void 0===n&&(n=!0);let r=function(e){let t=eT[e];if(t)return t;t=eT[e]=[];for(let e=0;e<128;e++){let 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),i="";for(let t=0,o=e.length;t<o;t++){let 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;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1<o){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}ew.defaultChars=";/?:@&=+$,-_.!~*'()#",ew.componentChars="-_.!~*'()";let eC=ew;function e_(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||""}function ek(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let eS=/^([a-z0-9.+-]+:)/i,eN=/:[0-9]*$/,eA=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,eD=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","	"]))),eI=["/","?","#"],eO=/^[+a-z0-9A-Z_-]{0,63}$/,eF=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,eR={javascript:!0,"javascript:":!0},eL={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};ek.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){let e=eA.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=eS.exec(o);if(s&&(n=(s=s[0]).toLowerCase(),this.protocol=s,o=o.substr(s.length)),(t||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2))&&!(s&&eR[s])&&(o=o.substr(2),this.slashes=!0),!eR[s]&&(i||s&&!eL[s])){let e,t,n=-1;for(let e=0;e<eI.length;e++)-1!==(r=o.indexOf(eI[e]))&&(-1===n||r<n)&&(n=r);
106-1!==(t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n))&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<eD.length;e++)-1!==(r=o.indexOf(eD[e]))&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;let i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";let s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(eO)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(eO)){let r=e.slice(0,t),i=e.slice(t+1),s=n.match(eF);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))}let a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));let l=o.indexOf("?");return -1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),eL[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ek.prototype.parseHost=function(e){let t=eN.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let eM=function(e,t){if(e&&e instanceof ek)return e;let n=new ek;return n.parse(e,t),n},eP=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,ej=/[\$\+<->\^`\|~\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\uD
106F3F|\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]/,eV=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,e$=/[\0-\x1F\x7F-\x9F]/,eB=/[\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]/,eU=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,eq=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſ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;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊ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;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6ր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\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;
106揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹ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;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;
106䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ā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\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;
106iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;
106䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;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耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
106astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Ā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㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;
106aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),ez=new Uint16Array("Ȁaglq	\x15\x18\x1bɭ\x0f\0\0\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),eH=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]]),eW=null!=(s=String.fromCodePoint)?s:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function eY(e){return function(t,n){let r="",i=0,o=0;for(;(o=t.indexOf("&",o))>=0;){if(r+=t.slice(i,o),i=o,o+=1,t.charCodeAt(o)===a.NUM){let e=o+1,s=10,l=t.charCodeAt(e);(l|a.To_LOWER_BIT)===a.LOWER_X&&(s=16,o+=1,e+=1);do l=t.charCodeAt(++o);while(l>=a.ZERO&&l<=a.NINE||16===s&&(l|a.To_LOWER_BIT)>=a.LOWER_A&&(l|a.To_LOWER_BIT)<=a.LOWER_F);if(e!==o){let l=parseInt(t.substring(e,o),s);if(t.charCodeAt(o)===a.SEMI)o+=1;else if(n)continue;r+=function(e){var t;return eW(e>=55296&&e<=57343||e>1114111?65533:null!=(t=eH.get(e))?t:e)}(l),i=o}continue}let s=0,u=1,c=0,d=e[0];for(;o<t.length&&!((c=function(e,t,n,r){let i=(t&l.BRANCH_LENGTH)>>7,o=t&l.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){let t=r-o;return t<0||t>=i?-1:e[n+t]-1}let s=n,a=s+i-1;for(;s<=a;){let 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}(e,d,c+1,t.charCodeAt(o)))<0);o++,u++){let r=(d=e[c])&l.VALUE_LENGTH;if(r){n&&t.charCodeAt(o)!==a.SEMI||(s=c,u=0);let e=(r>>14)-1;if(0===e)break;c+=e}}if(0!==s){let t=(e[s]&l.VALUE_LENGTH)>>14;r+=1===t?String.fromCharCode(e[s]&~l.VALUE_LENGTH):2===t?String.fromCharCode(e[s+1]):String.fromCharCode(e[s+1],e[s+2]),i=o-u+1}}return r+t.slice(i)}}
106!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",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.To_LOWER_BIT=32]="To_LOWER_BIT"}(a||(a={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(l||(l={}));let eG=eY(eq);eY(ez);let eK=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function eQ(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)}}function eX(e){return"[object String]"===Object.prototype.toString.call(e)}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),eQ(/[&<>'"]/g,eK),eQ(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),eQ(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(u||(u={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict"}(c||(c={})),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"}(d||(d={}));let eJ=Object.prototype.hasOwnProperty;function eZ(e,t){return eJ.call(e,t)}function e0(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function e1(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function e2(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function e3(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let e5=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,e4=RegExp(e5.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),e6=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function e9(e){return 0>e.indexOf("\\")?e:e.replace(e5,"$1")}function e8(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(e4,function(e,t,n){if(t)return t;if(35===n.charCodeAt(0)&&e6.test(n)){let t="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return e2(t)?e3(t):e}let r=eG(e,!1);return r!==e?r:e})}let e7=/[&<>"]/,te=/[&<>"]/g,tt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function tn(e){return tt[e]}function tr(e){return e7.test(e)?e.replace(te,tn):e}let ti=/[.?*+^$[\]\\(){}|-]/g;function to(e){return e.replace(ti,"\\$&")}function ts(e){switch(e){case 9:case 32:return!0}return!1}function ta(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 tl(e){return eP.test(e)||ej.test(e)}function tu(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 tc(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let td={mdurl:E,ucmicro:x};function tp(e,t,n){let r,i,o,s,a=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<a;){if(93===(o=e.src.charCodeAt(e.pos))&&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 tf(e,t,n){let r,i=t,o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n&&10!==(r=e.charCodeAt(i))&&60!==r;){if(62===r){o.pos=i+1,o.str=e8(e.slice(t+1,i)),o.ok=!0;break}if(92===r&&i+1<n){i+=2;continue}i++}return o}let s=0;for(;i<n&&32!==(r=e.charCodeAt(i))&&!(r<32)&&127!==r;){if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===r&&++s>32)return o;if(41===r){if(0===s)break;s--}i++}return t===i||0!==s||(o.str=e8(e.slice(t,i)),o.pos=i,o.ok=!0),o}function th(e,t,n,r){let i,o=t,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))===s.marker)return s.pos=o+1,s.str+=e8(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+=e8(e.slice(t,o)),s}let tm={};function tg(){this.rules=e0({},tm)}function tv(){this.__rules__=[],this.__cache__=null}function ty(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}function tb(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}tm.code_inline=function(e,t,n,r,i){let o=e[t];return"<code"+i.renderAttrs(o)+">"+tr(o.content)+"</code>"},tm.code_block=function(e,t,n,r,i){let o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+tr(e[t].content)+"</code></pre>\n"},tm.fence=function(e,t,n,r,i){let o,s=e[t],a=s.info?e8(s.info).trim():"",l="",u="";if(a){let e=a.split(/(\s+)/g);l=e[0],u=e.slice(2).join("")}if(0===(o=n.highlight&&n.highlight(s.content,l,u)||tr(s.content)).indexOf("<pre"))return o+"\n";if(a){let e=s.attrIndex("class"),t=s.attrs?s.attrs.slice():[];return e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l),`<pre><code${i.renderAttrs({attrs:t})}>${o}</code></pre>
107`}return`<pre><code${i.renderAttrs(s)}>${o}</code></pre>
108`},tm.image=function(e,t,n,r,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},tm.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},tm.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},tm.text=function(e,t){return tr(e[t].content)},tm.html_block=function(e,t){return e[t].content},tm.html_inline=function(e,t){return e[t].content},tg.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(t=0,r="",n=e.attrs.length;t<n;t++)r+=" "+tr(e.attrs[t][0])+'="'+tr(e.attrs[t][1])+'"';return r},tg.prototype.renderToken=function(e,t,n){let r=e[t],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)){let n=e[t+1];"inline"===n.type||n.hidden?o=!1:-1===n.nesting&&n.tag===r.tag&&(o=!1)}return i+(o?">\n":">")},tg.prototype.renderInline=function(e,t,n){let r="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let s=e[o].type;void 0!==i[s]?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},tg.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].c
108ontent;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},tg.prototype.render=function(e,t,n){let r="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let 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},tv.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},tv.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&0>n.alt.indexOf(t)||e.__cache__[t].push(n.fn))})})},tv.prototype.at=function(e,t,n){let r=this.__find__(e);if(-1===r)throw Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=(n||{}).alt||[],this.__cache__=null},tv.prototype.before=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},tv.prototype.after=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},tv.prototype.push=function(e,t,n){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(n||{}).alt||[]}),this.__cache__=null},tv.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},tv.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},tv.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},tv.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},ty.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return -1},ty.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},ty.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},ty.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},ty.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},tb.prototype.Token=ty;let tE=/\r\n?|\n/g,tx=/\0/g,tT=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,tw=/\((c|tm|r)\)/i,tC=/\((c|tm|r)\)/ig,t_={c:"\xa9",r:"\xae",tm:"™"};function tk(e,t){return t_[t.toLowerCase()]}let tS=/['"]/,tN=/['"]/g;function tA(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}let tD=[["normalize",function(e){let t;t=(t=e.src.replace(tE,"\n")).replace(tx,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,o=t.length;i<o;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let o=t[i].children,s=0;for(let a=o.length-1;a>=0;a--){let l=o[a];if("link_close"===l.type){for(a--;o[a].level!==l.level&&"link_open"!==o[a].type;)a--;continue}if("html_inline"===l.type){var n,r;n=l.content,/^<a[>\s]/i.test(n)&&s>0&&s--,r=l.content,/^<\/a\s*>/i.test(r)&&s++}if(!(s>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let n=l.content,r=e.md.linkify.match(n),s=[],u=l.level,c=0;r.length>0&&0===r[0].index&&a>0&&"text_special"===o[a-1].type&&(r=r.slice(1));for(let t=0;t<r.length;t++){let i=r[t].url,o=e.md.normalizeLink(i);if(!e.md.validateLink(o))continue;let a=r[t].text;a=r[t].schema?"mailto:"!==r[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");let l=r[t].index;if(l>c){let t=new e.Token("text","",0);t.content=n.slice(c,l),t.level=u,s.push(t)}let d=new e.Token("link_open","a",1);d.attrs=[["href",o]],d.level=u++,d.markup="linkify",d.info="auto",s.push(d);let p=new e.Token("text","",0);p.content=a,p.level=u,s.push(p);let f=new e.Token("link_close","a",-1);f.level=--u,f.markup="linkify",f.info="auto",s.push(f),c=r[t].lastIndex}if(c<n.length){let t=new e.Token("text","",0);t.content=n.slice(c),t.level=u,s.push(t)}t[i].children=o=e1(o,a,s)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(tw.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"!==r.type||t||(r.content=r.content.replace(tC,tk)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children),tT.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"===r.type&&!t&&tT.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(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&&tS.test(e.tokens[t].content)&&function(e,t){let n,r=[];for(let i=0;i<e.length;i++){let 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;){tN.lastIndex=l;let c=tN.exec(a);if(!c)break;let d=!0,p=!0;l=c.index+1;let f="'"===c[0],h=32;if(c.index-1>
108=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}let g=tu(h)||tl(String.fromCharCode(h)),v=tu(m)||tl(String.fromCharCode(m)),y=ta(h),b=ta(m);if(b?d=!1:v&&!(y||g)&&(d=!1),y?p=!1:g&&!(b||v)&&(p=!1),34===m&&'"'===c[0]&&h>=48&&h<=57&&(p=d=!1),d&&p&&(d=g,p=v),!d&&!p){f&&(o.content=tA(o.content,c.index,"’"));continue}if(p)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<s)break;if(d.single===f&&r[n].level===s){let s,p;d=r[n],f?(s=t.md.options.quotes[2],p=t.md.options.quotes[3]):(s=t.md.options.quotes[0],p=t.md.options.quotes[1]),o.content=tA(o.content,c.index,p),e[d.token].content=tA(e[d.token].content,d.pos,s),l+=p.length-1,d.token===i&&(l+=s.length-1),u=(a=o.content).length,r.length=n;continue e}}d?r.push({token:i,pos:c.index,single:f,level:s}):p&&f&&(o.content=tA(o.content,c.index,"’"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;let 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 tI(){this.ruler=new tv;for(let e=0;e<tD.length;e++)this.ruler.push(tD[e][0],tD[e][1])}function tO(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;let i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,s=!1;t<o;t++){let a=i.charCodeAt(t);if(!s)if(ts(a)){n++,9===a?r+=4-r%4:r++;continue}else 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}function tF(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function tR(e){let t=[],n=e.length,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 tL(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!ts(e.src.charCodeAt(r))?-1:r}function tM(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],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++))>=48&&o<=57){if(i-n>=10)return -1;continue}if(41===o||46===o)break;return -1}return i<r&&!ts(o=e.src.charCodeAt(i))?-1:i}tI.prototype.process=function(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},tI.prototype.State=tb,tO.prototype.push=function(e,t,n){let r=new ty(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},tO.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},tO.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},tO.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&ts(this.src.charCodeAt(e));e++);return e},tO.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!ts(this.src.charCodeAt(--e)))return e+1;return e},tO.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},tO.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},tO.prototype.getLines=function(e,t,n,r){if(e>=t)return"";let i=Array(t-e);for(let o=0,s=e;s<t;s++,o++){let e,a=0,l=this.bMarks[s],u=l;for(e=s+1<t||r?this.eMarks[s]+1:this.eMarks[s];u<e&&a<n;
108){let e=this.src.charCodeAt(u);if(ts(e))9===e?a+=4-(a+this.bsCount[s])%4:a++;else if(u-l<this.tShift[s])a++;else break;u++}a>n?i[o]=Array(a-n+1).join(" ")+this.src.slice(u,e):i[o]=this.src.slice(u,e)}return i.join("")},tO.prototype.Token=ty;let tP="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",tj="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",tV=RegExp("^(?:"+tP+"|"+tj+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),t$=RegExp("^(?:"+tP+"|"+tj+")"),tB=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[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)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(t$.source+"\\s*$"),/^$/,!1]],tU=[["table",function(e,t,n,r){let i;if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;let a=e.src.charCodeAt(s++);if(124!==a&&45!==a&&58!==a||s>=e.eMarks[o])return!1;let l=e.src.charCodeAt(s++);if(124!==l&&45!==l&&58!==l&&!ts(l)||45===a&&ts(l))return!1;for(;s<e.eMarks[o];){let t=e.src.charCodeAt(s);if(124!==t&&45!==t&&58!==t&&!ts(t))return!1;s++}let u=tF(e,t+1),c=u.split("|"),d=[];for(let e=0;e<c.length;e++){let t=c[e].trim();if(!t)if(0===e||e===c.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?d.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(u=tF(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(c=tR(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let p=c.length;if(0===p||p!==d.length)return!1;if(r)return!0;let f=e.parentType;e.parentType="table";let h=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),g=[t,0];m.map=g,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<c.length;t++){let n=e.push("th_open","th",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let v=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let r=!1;for(let t=0,i=h.length;t<i;t++)if(h[t](e,o,n,!0)){r=!0;break}if(r||!(u=tF(e,o).trim())||e.sCount[o]-e.blkIndent>=4||((c=tR(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(v+=p-c.length)>65536))break;o===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[o,o+1];for(let t=0;t<p;t++){let n=e.push("td_open","td",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=o),e.push("table_close","table",-1),g[1]=o,e.parentType=f,e.line=o,!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++;continue}if(e.sCount[r]-e.blkIndent>=4){i=++r;continue}break}e.line=i;let 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||i+3>o)return!1;let s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i,l=(i=e.skipChars(i,s))-a;if(l<3)return!1;let 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,p=!1;for(;!(++d>=n)&&(!((i=a=e.bMarks[d]+e.tShift[d])<(o=e.eMarks[d]))||!(e.sCount[d]<e.blkIndent));){;
108if(!(e.src.charCodeAt(i)!==s||e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,s))-a<l)&&!((i=e.skipSpaces(i))<o)){p=!0;break}}l=e.sCount[t],e.line=d+ +!!p;let f=e.push("fence","code",0);return f.info=c,f.content=e.getLines(t+1,d,l,!0),f.markup=u,f.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(o))return!1;if(r)return!0;let l=[],u=[],c=[],d=[],p=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h=!1;for(i=t;i<n;i++){let t=e.sCount[i]<e.blkIndent;if((o=e.bMarks[i]+e.tShift[i])>=(s=e.eMarks[i]))break;if(62===e.src.charCodeAt(o++)&&!t){let t,n,r=e.sCount[i]+1;32===e.src.charCodeAt(o)?(o++,r++,n=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[i]+r)%4==3?(o++,r++,n=!1):n=!0):t=!1;let a=r;for(l.push(e.bMarks[i]),e.bMarks[i]=o;o<s;){let t=e.src.charCodeAt(o);if(ts(t))9===t?a+=4-(a+e.bsCount[i]+ +!!n)%4:a++;else break;o++}h=o>=s,u.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,c.push(e.sCount[i]),e.sCount[i]=a-r,d.push(e.tShift[i]),e.tShift[i]=o-e.bMarks[i];continue}if(h)break;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){e.lineMax=i,0!==e.blkIndent&&(l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]=-1}let m=e.blkIndent;e.blkIndent=0;let g=e.push("blockquote_open","blockquote",1);g.markup=">";let v=[t,0];g.map=v,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=f,v[1]=e.line;for(let n=0;n<d.length;n++)e.bMarks[n+t]=l[n],e.tShift[n+t]=d[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=u[n];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o<i;){let t=e.src.charCodeAt(o++);if(t!==s&&!ts(t))return!1;t===s&&a++}if(a<3)return!1;if(r)return!0;e.line=t+1;let 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,u,c,d=t,p=!0;if(e.sCount[d]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[d]-e.listIndent>=4&&e.sCount[d]<e.blkIndent)return!1;let f=!1;if(r&&"paragraph"===e.parentType&&e.sCount[d]>=e.blkIndent&&(f=!0),(c=tM(e,d))>=0){if(l=!0,s=e.bMarks[d]+e.tShift[d],u=Number(e.src.slice(s,c-1)),f&&1!==u)return!1}else{if(!((c=tL(e,d))>=0))return!1;l=!1}if(f&&e.skipSpaces(c)>=e.eMarks[d])return!1;if(r)return!0;let h=e.src.charCodeAt(c-1),m=e.tokens.length;l?(a=e.push("ordered_list_open","ol",1),1!==u&&(a.attrs=[["start",u]])):a=e.push("bullet_list_open","ul",1);let g=[d,0];a.map=g,a.markup=String.fromCharCode(h);let v=!1,y=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";d<n;){let t;o=c,i=e.eMarks[d];let r=e.sCount[d]+c-(e.bMarks[d]+e.tShift[d]),u=r;for(;o<i;){let t=e.src.charCodeAt(o);if(9===t)u+=4-(u+e.bsCount[d])%4;else if(32===t)u++;else break;o++}let f=o;(t=f>=i?1:u-r)>4&&(t=1);let m=r+t;(a=e.push("list_item_open","li",1)).markup=String.fromCharCode(h);let g=[d,0];a.map=g,l&&(a.info=e.src.slice(s,c-1));let b=e.tight,E=e.tShift[d],x=e.sCount[d],T=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[d]=f-e.bMarks[d],e.sCount[d]=u,f>=i&&e.isEmpty(d+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,d,n,!0),(!e.tight||v)&&(p=!1),v=e.line-d>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=T,e.tShift[d]=E,e.sCount[d]=x,e.tight=b,(a=e.push("list_item_close","li",-1)).markup=String.fromCharCode(h),d=e.line,g[1]=d,d>=n||e.sCount[d]<e.blkIndent||e.sCount[d]-e.blkIndent>=4)break;let w=!1;for(let t=0,r=y.length;t<r;t++)if(y[t](e,d,n,!0)){w=!0;break}if(w)break;if(l){if((c=tM(e,d))<0)break;s=e.bMarks[d]+e.tShift[d]}else if((c=tL(e,d))<0)break;
108if(h!==e.src.charCodeAt(c-1))break}return(a=l?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(h),g[1]=d,e.line=d,e.parentType=b,p&&function(e,t){let 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,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(o))return!1;function l(t){let 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){let 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}let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let u=e.src.slice(o,s+1);s=u.length;let c=-1;for(o=1;o<s;o++){let e=u.charCodeAt(o);if(91===e)return!1;if(93===e){c=o;break}if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(92===e&&++o<s&&10===u.charCodeAt(o)){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}}if(c<0||58!==u.charCodeAt(c+1))return!1;for(o=c+2;o<s;o++){let e=u.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(ts(e));else break}let d=e.md.helpers.parseLinkDestination(u,o,s);if(!d.ok)return!1;let p=e.md.normalizeLink(d.str);if(!e.md.validateLink(p))return!1;let f=o=d.pos,h=a,m=o;for(;o<s;o++){let e=u.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(ts(e));else break}let g=e.md.helpers.parseLinkTitle(u,o,s);for(;g.can_continue;){let t=l(a);if(null===t)break;u+=t,o=s,s=u.length,a++,g=e.md.helpers.parseLinkTitle(u,o,s,g)}for(o<s&&m!==o&&g.ok?(i=g.str,o=g.pos):(i="",o=f,a=h);o<s&&ts(u.charCodeAt(o));)o++;if(o<s&&10!==u.charCodeAt(o)&&i)for(i="",o=f,a=h;o<s&&ts(u.charCodeAt(o));)o++;if(o<s&&10!==u.charCodeAt(o))return!1;let v=tc(u.slice(1,c));return!!v&&(!!r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:i,href:p}),e.line=a,!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||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,o),a=0;for(;a<tB.length&&!tB[a][0].test(s);a++);if(a===tB.length)return!1;if(r)return tB[a][2];let l=t+1;if(!tB[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),tB[a][1].test(s)){0!==s.length&&l++;break}}e.line=l;let 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&&!ts(s))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let l=e.skipCharsBack(o,35,i);l>i&&ts(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;let u=e.push("heading_open","h"+String(a),1);u.markup="########".slice(0,a),u.map=[t,e.line];let 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){let r,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let 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],n=e.eMarks[a];if(t<n&&(45===(r=e.src.charCodeAt(t))||61===r)&&(t=e.skipChars(t,r),(t=e.skipSpaces(t))>=n)){s=61===r?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let r=0,o=i.length;r<o;r++)if(i[r](e,a,n,!0)){t=!0;break}if(t)break}if(!s)return!1;let l=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;let u=e.push("heading_open","h"+String(s),1);u.markup=String.fromCharCode(r),u.map=[t,e.line];let 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(r),e.parentType=
108o,!0}],["paragraph",function(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||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}let s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];let 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 tq(){this.ruler=new tv;for(let e=0;e<tU.length;e++)this.ruler.push(tU[e][0],tU[e][1],{alt:(tU[e][2]||[]).slice()})}function tz(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}tq.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,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}let t=e.line,l=!1;for(let o=0;o<i;o++)if(l=r[o](e,s,n,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(s=e.line)<n&&e.isEmpty(s)&&(a=!0,e.line=++s)}},tq.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},tq.prototype.State=tO,tz.prototype.pushPending=function(){let e=new ty("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},tz.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new ty(e,t,n),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},tz.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;let s=o-e,a=o<n?this.src.charCodeAt(o):32,l=tu(i)||tl(String.fromCharCode(i)),u=tu(a)||tl(String.fromCharCode(a)),c=ta(i),d=ta(a),p=!d&&(!u||c||l),f=!c&&(!l||d||u);return{can_open:p&&(t||!f||l),can_close:f&&(t||!p||u),length:s}},tz.prototype.Token=ty;let tH=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,tW=[];for(let e=0;e<256;e++)tW.push(0);function tY(e,t){let n,r=[],i=t.length;for(let o=0;o<i;o++){let i=t[o];if(126!==i.marker||-1===i.end)continue;let s=t[i.end];(n=e.tokens[i.token]).type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",(n=e.tokens[s.token]).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;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){tW[e.charCodeAt(0)]=1});let tG={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||126!==r)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,s=String.fromCharCode(r);if(o<2)return!1;o%2&&(e.push("text","",0).content=s,o--);for(let t=0;t<o;t+=2)e.push("text","",0).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){let t=e.tokens_meta,n=e.tokens_meta.length;tY(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&tY(e,t[r].delimiters)}};function tK(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(95!==n.marker&&42!==n.marker||-1===n.end)continue;let i=t[n.end],o=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,s=String.fromCharCode(n.marker),a=e.tokens[n.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";let 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[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--)}}
108let tQ={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||95!==r&&42!==r)return!1;let 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){let t=e.tokens_meta,n=e.tokens_meta.length;tK(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&tK(e,t[r].delimiters)}},tX=/^([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])?)*)$/,tJ=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,tZ=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,t0=/^&([a-z][a-z0-9]{1,31});/i;function t1(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,o=[];for(let s=0;s<n;s++){let 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]);let a=t[n.marker][3*!!n.open+n.length%3],l=r-o[r]-1,u=l;for(;l>a;l-=o[l]+1){let 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){let 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][3*!!n.open+(n.length||0)%3]=u)}}let t2=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.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||e.linkLevel>0)return!1;let n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;let r=e.pending.match(tH);if(!r)return!1;let 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(/\*+$/,"");let a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let 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);let 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;let 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&&ts(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos,r=e.posMax;if(92!==e.src.charCodeAt(n)||++n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&ts(i=e.src.charCodeAt(n));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}let s="\\"+o;if(!t){let t=e.push("text_special","",0);i<256&&0!==tW[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,r=e.pos;if(96!==e.src.charCodeAt(r))return!1;let i=r;r++;let o=e.posMax;for(;r<o&&96===e.src.charCodeAt(r);)r++;let s=e.src.slice(i,r),a=s.length;if(e.backticksScanned&&(e.backticks[a]||0)<=i)return t||(e.pending+=s),e.pos+=a,!0;let l=r;
108for(;-1!==(n=e.src.indexOf("`",l));){for(l=n+1;l<o&&96===e.src.charCodeAt(l);)l++;let i=l-n;if(i===a){if(!t){let t=e.push("code_inline","code",0);t.markup=s,t.content=e.src.slice(r,n).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[i]=n}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=a,!0}],["strikethrough",tG.tokenize],["emphasis",tQ.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;let c=e.pos,d=e.posMax,p=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let h=f+1;if(h<d&&40===e.src.charCodeAt(h)){for(u=!1,h++;h<d&&(ts(n=e.src.charCodeAt(h))||10===n);h++);if(h>=d)return!1;if(l=h,(i=e.md.helpers.parseLinkDestination(e.src,h,e.posMax)).ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?h=i.pos:s="",l=h;h<d&&(ts(n=e.src.charCodeAt(h))||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&&(ts(n=e.src.charCodeAt(h))||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))>=0?r=e.src.slice(l,h++):h=f+1):h=f+1,r||(r=e.src.slice(p,f)),!(o=e.env.references[tc(r)]))return e.pos=c,!1;s=o.href,a=o.title}if(!t){e.pos=p,e.posMax=f;let t=e.push("link_open","a",1),n=[["href",s]];t.attrs=n,a&&n.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="",d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let f=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if((o=h+1)<p&&40===e.src.charCodeAt(o)){for(o++;o<p&&(ts(n=e.src.charCodeAt(o))||10===n);o++);if(o>=p)return!1;for(u=o,(a=e.md.helpers.parseLinkDestination(e.src,o,e.posMax)).ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?o=a.pos:c=""),u=o;o<p&&(ts(n=e.src.charCodeAt(o))||10===n);o++);if(a=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<p&&u!==o&&a.ok)for(l=a.str,o=a.pos;o<p&&(ts(n=e.src.charCodeAt(o))||10===n);o++);else l="";if(o>=p||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<p&&91===e.src.charCodeAt(o)?(u=o+1,(o=e.md.helpers.parseLinkLabel(e,o))>=0?i=e.src.slice(u,o++):o=h+1):o=h+1,i||(i=e.src.slice(f,h)),!(s=e.env.references[tc(i)]))return e.pos=d,!1;c=s.href,l=s.title}if(!t){r=e.src.slice(f,h);let t=[];e.md.inline.parse(r,e.md,e.env,t);let 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=p,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}let o=e.src.slice(r+1,n);if(tJ.test(o)){let n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){let 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);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(tX.test(o)){let n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){let 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);let 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;let n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let o=e.src.slice(r).match(tV);if(!o)return!1;if(!t){var s,a;let t=e.push("html_inline","",0);t.content=o[0],s=t.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,a=t.content,/^<\/a\s*>/i.test(a)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function(e,t){let n=e.pos,r=e.posMax;
108if(38!==e.src.charCodeAt(n)||n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){let r=e.src.slice(n).match(tZ);if(r){if(!t){let t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=e2(t)?e3(t):e3(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(t0);if(r){let n=eG(r[0],!1);if(n!==r[0]){if(!t){let 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}]],t3=[["balance_pairs",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;t1(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&t1(t[e].delimiters)}],["strikethrough",tG.postProcess],["emphasis",tQ.postProcess],["fragments_join",function(e){let t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function t5(){this.ruler=new tv;for(let e=0;e<t2.length;e++)this.ruler.push(t2[e][0],t2[e][1]);this.ruler2=new tv;for(let e=0;e<t3.length;e++)this.ruler2.push(t3[e][0],t3[e][1])}function t4(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function t6(e){return Object.prototype.toString.call(e)}function t9(e){return"[object Function]"===t6(e)}function t8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}t5.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t]){e.pos=o[t];return}let s=!1;if(e.level<i){for(let i=0;i<r;
108i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!s&&e.pos++,o[t]=e.pos},t5.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let o=e.pos,s=!1;if(e.level<i){for(let r=0;r<n;r++)if(s=t[r](e,!1)){if(o>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},t5.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let o=this.ruler2.getRules(""),s=o.length;for(let e=0;e<s;e++)o[e](i)},t5.prototype.State=tz;let t7={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},ne={"http:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.http||(n.re.http=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){let r=e.slice(t);return(n.re.no_http||(n.re.no_http=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){let r=e.slice(t);return(n.re.mailto||(n.re.mailto=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}}},nt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function nn(){return function(e,t){t.normalize(e)}}function nr(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=eV.source,t.src_Cc=e$.source,t.src_Z=eU.source,t.src_P=eP.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+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="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+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="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:
108/\\-_@])(?:[$+<=>^`||]|"+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");let i=[];function o(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(null===n)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===t6(n)){if("[object RegExp]"===t6(n.validate)){var s;s=n.validate,r.validate=function(e,t){let n=e.slice(t);return s.test(n)?n.match(s)[0].length:0}}else t9(n.validate)?r.validate=n.validate:o(t,n);t9(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=nn();return}if("[object String]"===t6(n))return void i.push(t);o(t,n)}
108),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:nn()};let s=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(t8).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"),e.__index__=-1,e.__text_cache__=""}function ni(e,t){let 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 no(e,t){let n=new ni(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function ns(e,t){if(!(this instanceof ns))return new ns(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||t7.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=t4({},t7,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=t4({},ne,e),this.__compiled__={},this.__tlds__=nt,this.__tlds_replaced__=!1,this.re={},nr(this)}ns.prototype.add=function(e,t){return this.__schemas__[e]=t,nr(this),this},ns.prototype.set=function(e){return this.__opts__=t4(this.__opts__,e),this},ns.prototype.test=function(e){let t,n,r,i,o,s,a,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,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},ns.prototype.pretest=function(e){return this.re.pretest.test(e)},ns.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},ns.prototype.match=function(e){let t=[],n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(no(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(no(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},ns.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let 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,no(this,0)):null},ns.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():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),nr(this),this},ns.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},ns.prototype.onCompile=function(){};let na=/^xn--/,nl=/[^\0-\x7F]/,nu=/[\x2E\u3002\uFF0E\uFF61]/g,nc={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nd=Math.floor,np=String.fromCharCode;function nf(e){throw RangeError(nc[e])}function nh(e,t){let n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(nu,".")).split("."),t).join(".")}let nm=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ng=function(e,t,n){let r=0;for(e=n?nd(e/700):e>>1,e+=nd(e/t);e>455;r+=36)e=nd(e/35);return nd(r+36*e/(e+38))},nv=function(e){let t=[],n=e.length,r=0,i=128,o=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n<s;++n)e.charCodeAt(n)>=128&&nf("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l<n;){let s=r;for(let t=1,i=36;;i+=36){var a;l>=n&&nf("invalid-input");let s=(a=e.charCodeAt(l++))>=48&&a<58?26+(a-48):a>=65&&a<91?a-65:a>=97&&a<123?a-97:36;s>=36&&nf("invalid-input"),s>nd((0x7fffffff-r)/t)&&nf("overflow"),r+=s*t;let u=i<=o?1:i>=o+26?26:i-o;if(s<u)break;let c=36-u;t>nd(0x7fffffff/c)&&nf("overflow"),t*=c}let u=t.length+1;o=ng(r-s,u,0==s),nd(r/u)>0x7fffffff-i&&nf("overflow"),i+=nd(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ny=function(e){let t=[],n=(e=function(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,r=128,i=0,o=72;for(let n of e)n<128&&t.push(np(n));let s=t.length,a=s;for(s&&t.push("-");a<n;){let n=0x7fffffff;for(let t of e)t>=r&&t<n&&(n=t);let l=a+1;for(let u of(n-r>nd((0x7fffffff-i)/l)&&nf("overflow"),i+=(n-r)*l,r=n,e))if(u<r&&++i>0x7fffffff&&nf("overflow"),u===r){let e=i;for(let n=36;;n+=36){let r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;let i=e-r,s=36-r;t.push(np(nm(r+i%s,0))),e=nd(i/s)}t.push(np(nm(e,0))),o=ng(i,l,a===s),i=0,++a}++i,++r}return t.join("")},nb={toASCII:function(e){return nh(e,function(e){return nl.test(e)?"xn--"+ny(e):e})},toUnicode:function(e){return nh(e,function(e){return na.test(e)?nv(e.slice(4).toLowerCase()):e})}},nE={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{}
108,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"]}}}},nx=/^(vbscript|javascript|file|data):/,nT=/^data:image\/(gif|png|jpeg|webp);/;function nw(e){let t=e.trim().toLowerCase();return!nx.test(t)||nT.test(t)}let nC=["http:","https:","mailto:"];function n_(e){let t=eM(e,!0);if(t.hostname&&(!t.protocol||nC.indexOf(t.protocol)>=0))try{t.hostname=nb.toASCII(t.hostname)}catch(e){}return eC(e_(t))}function nk(e){let t=eM(e,!0);if(t.hostname&&(!t.protocol||nC.indexOf(t.protocol)>=0))try{t.hostname=nb.toUnicode(t.hostname)}catch(e){}return ex(e_(t),ex.defaultChars+"%")}function nS(e,t){if(!(this instanceof nS))return new nS(e,t);t||eX(e)||(t=e||{},e="default"),this.inline=new t5,this.block=new tq,this.core=new tI,this.renderer=new tg,this.linkify=new ns,this.validateLink=nw,this.normalizeLink=n_,this.normalizeLinkText=nk,this.utils=T,this.helpers=e0({},w),this.options={},this.configure(e),t&&this.set(t)}nS.prototype.set=function(e){return e0(this.options,e),this},nS.prototype.configure=function(e){let t=this;if(eX(e)){let t=e;if(!(e=nE[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw 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[
108n].ruler2.enableOnly(e.components[n].rules2)}),this},nS.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));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},nS.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));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},nS.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},nS.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},nS.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},nS.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},nS.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};let nN=new nS({breaks:!1,linkify:!0});function nA(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}function nD(e,t){let n,r,i=(0,_.c)(4);i[0]!==e||i[1]!==t?(n=()=>{e&&"string"==typeof t&&t!==e.getValue()&&e.setValue(t)},r=[e,t],i[0]=e,i[1]=t,i[2]=n,i[3]=r):(n=i[2],r=i[3]),(0,k.useEffect)(n,r)}function nI(e,t,n){let r,i,o=(0,_.c)(5);o[0]!==e||o[1]!==t||o[2]!==n?(r=()=>{null==e||e.setOption(t,n)},i=[e,t,n],o[0]=e,o[1]=t,o[2]=n,o[3]=r,o[4]=i):(r=o[3],i=o[4]),(0,k.useEffect)(r,i)}function nO(e,t,n,r,i){let o,s,a,l=(0,_.c)(9);l[0]!==i?(o={nonNull:!0,caller:i},l[0]=i,l[1]=o):o=l[1];let{updateActiveTabValues:u}=rn(o);l[2]!==t||l[3]!==e||l[4]!==n||l[5]!==r||l[6]!==u?(s=()=>{if(!e)return;let{storage:i}=U.getState(),o=nA(500,e=>{null!==n&&i.set(n,e)}),s=nA(100,e=>{u({[r]:e})}),a=(e,n)=>{if(!n)return;let r=e.getValue();o(r),s(r),null==t||t(r)};return e.on("change",a),()=>e.off("change",a)},a=[t,e,n,r,u],l[2]=t,l[3]=e,l[4]=n,l[5]=r,l[6]=u,l[7]=s,l[8]=a):(s=l[7],a=l[8]),(0,k.useEffect)(s,a)}function nF(e,t){let n,r,i=(0,_.c)(7),{schema:o,setSchemaReference:s}=ev(),a=er();i[0]!==t||i[1]!==e||i[2]!==a||i[3]!==o||i[4]!==s?(n=()=>{if(!e)return;let n=(e,n)=>{!function(e,t,{schema:n,setSchemaReference:r},i,o){J([],{useCommonAddons:!1}).then(e=>{let n,r,i,o,a,l,u,c,d;e.on(t,"select",(e,t)=>{if(!n){let e,p=t.parentNode;(n=document.createElement("div")).className="CodeMirror-hint-information",p.append(n);let f=document.createElement("header");f.className="CodeMirror-hint-information-header",n.append(f),(r=document.createElement("span")).className="CodeMirror-hint-information-field-name",f.append(r),(i=document.createElement("span")).className="CodeMirror-hint-information-type-name-pill",f.append(i),o=document.createElement("span"),i.append(o),(a=document.createElement("a")).className="CodeMirror-hint-information-type-name",a.href="javascript:void 0",a.addEventListener("click",s),i.append(a),l=document.createElement("span"),i.append(l),(u=document.createElement("div")).className="CodeMirror-hint-information-description",n.append(u),(c=document.createElement("div")).className="CodeMirror-hint-information-deprecation",n.append(c);let h=document.createElement("span");h.className="CodeMirror-hint-information-deprecation-label",h.textContent="Deprecated",c.append(h),(d=document.createElement("div")).className="CodeMirror-hint-information-deprecation-reason",c.append(d);let m=parseInt(window.getComputedStyle(n).paddingBottom.replace(/px$/,""),10)||0,g=parseInt(window.getComputedStyle(n).maxHeight.replace(/px$/,""),10)||0,v=()=>{n&&(n.style.paddingTop=p.scrollTop+m+"px",n.style.maxHeight=p.scrollTop+g+"px")};p.addEventListener("scroll",v),p.addEventListener("DOMNodeRemoved",e=t=>{t.target===p&&(p.removeEventListener("scroll",v),p.removeEventListener("DOMNodeRemoved",e),null==n||n.removeEventListener("click",
108s),n=null,r=null,i=null,o=null,a=null,l=null,u=null,c=null,d=null,e=null)})}if(r&&(r.textContent=e.text),i&&o&&a&&l)if(e.type){i.style.display="inline";let t=e=>{(0,el.bd)(e)?(l.textContent="!"+l.textContent,t(e.ofType)):(0,el.Fs)(e)?(o.textContent+="[",l.textContent="]"+l.textContent,t(e.ofType)):a.textContent=e.name};o.textContent="",l.textContent="",t(e.type)}else o.textContent="",a.textContent="",l.textContent="",i.style.display="none";u&&(e.description?(u.style.display="block",u.innerHTML=nN.render(e.description)):(u.style.display="none",u.innerHTML="")),c&&d&&(e.deprecationReason?(c.style.display="block",d.innerHTML=nN.render(e.deprecationReason)):(c.style.display="none",d.innerHTML=""))})});function s(e){let t=null==i?void 0:i.referencePlugin;if(!n||!t||!(e.currentTarget instanceof HTMLElement))return;let s=e.currentTarget.textContent||"",a=n.getType(s);a&&(i.setVisiblePlugin(t),r({kind:"Type",type:a}),null==o||o(a))}}(0,n,{schema:o,setSchemaReference:s},a,e=>{null==t||t({kind:"Type",type:e,schema:o||void 0})})};return e.on("hasCompletion",n),()=>e.off("hasCompletion",n)},r=[t,e,a,o,s],i[0]=t,i[1]=e,i[2]=a,i[3]=o,i[4]=s,i[5]=n,i[6]=r):(n=i[5],r=i[6]),(0,k.useEffect)(n,r)}function nR(e,t,n){let r,i,o=(0,_.c)(5);o[0]!==n||o[1]!==e||o[2]!==t?(r=()=>{if(e){for(let n of t)e.removeKeyMap(n);if(n){let r={};for(let e of t)r[e]=()=>n();e.addKeyMap(r)}}},i=[e,t,n],o[0]=n,o[1]=e,o[2]=t,o[3]=r,o[4]=i):(r=o[3],i=o[4]),(0,k.useEffect)(r,i)}function nL(e){let t,n,r,i=(0,_.c)(7);i[0]!==e?(t=void 0===e?{}:e,i[0]=e,i[1]=t):t=i[1];let{caller:o,onCopyQuery:s}=t,a=o||nL;i[2]!==a?(n={nonNull:!0,caller:a},i[2]=a,i[3]=n):n=i[3];let{queryEditor:l}=rn(n);return i[4]!==s||i[5]!==l?(r=()=>{if(!l)return;let e=l.getValue();ee()(e),null==s||s(e)},i[4]=s,i[5]=l,i[6]=r):r=i[6],r}function nM(e){let t,n,r,i=(0,_.c)(7);i[0]!==e?(t=void 0===e?{}:e,i[0]=e,i[1]=t):t=i[1];let{caller:o}=t,s=o||nM;i[2]!==s?(n={nonNull:!0,caller:s},i[2]=s,i[3]=n):n=i[3];let{queryEditor:a}=rn(n),{schema:l}=ev();return i[4]!==a||i[5]!==l?(r=()=>{let e=null==a?void 0:a.documentAST,t=null==a?void 0:a.getValue();e&&t&&a.setValue((0,A.y)((0,N.mergeAst)(e,l)))},i[4]=a,i[5]=l,i[6]=r):r=i[6],r}function nP(e){return(0,A.y)((0,j.qg)(e))}function nj(e){let t,n,r,i=(0,_.c)(9);i[0]!==e?(t=void 0===e?{}:e,i[0]=e,i[1]=t):t=i[1];let{caller:o,onPrettifyQuery:s}=t,a=void 0===s?nP:s,l=o||nj;i[2]!==l?(n={nonNull:!0,caller:l},i[2]=l,i[3]=n):n=i[3];let{queryEditor:u,headerEditor:c,variableEditor:d}=rn(n);return i[4]!==c||i[5]!==a||i[6]!==u||i[7]!==d?(r=async()=>{if(d){let e=d.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&d.setValue(t)}catch{}}if(c){let e=c.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&c.setValue(t)}catch{}}if(u){let e=u.getValue();try{let t=await a(e);t!==e&&u.setValue(t)}catch{}}},i[4]=c,i[5]=a,i[6]=u,i[7]=d,i[8]=r):r=i[8],r}function nV(e,t){let{code:n,key:r,shiftKey:i}=t,o=n.startsWith("Key"),s=!i&&n.startsWith("Digit");(o||s||"_"===r||'"'===r)&&e.execCommand("autocomplete")}let n$="headers",nB=RegExp("["+Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat(["\u2028","\u2029"," ","\xa0"]).join("")+"]","g");function nU(e){return e.replace(nB," ")}function nq(e,t){var n;if("paste"===t.origin){let e=t.text.map(nU);null==(n=t.update)||n.call(t,t.from,t.to,e)}}function nz(e,t){nY.test(t.key)&&e.execCommand("autocomplete")}function nH(e){return nN.render(e)}function nW(){}let nY=/^[a-zA-Z0-9_@(]$/,nG="query",nK="operationName";function nQ(e){return e&&"object"==typeof e&&!Array.isArray(e)&&nX(e,"id")&&nX(e,"title")&&nJ(e,"query")&&nJ(e,"variables")&&nJ(e,"headers")&&nJ(e,"operationName")&&nJ(e,"response")}function nX(e,t){return t in e&&"string"==typeof e[t]}function nJ(e,t){return t in e&&("string"==typeof e[t]||null===e[t])}function nZ(e,t=!1){return JSON.stringify(e,(e,n)=>"hash"!==e&&"response"!==e&&(t||"headers"!==e)?n:null)}function n0({query:e=null,variables:t=null,headers:n=null}={}){let r=e?n5(e):null;return{id:n2(),hash:n3({query:e,variables:t,headers:n}),title:r||n4,query:e,variables:t,headers:n,operationName:r,response:null}}function n1(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;let i={...n,...t};return{...i,hash:n3(i),title:i.operationName||(i.query?n5(i.query):void 0)||n4}})}}function n2(){let e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function n3(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function n5(e){let t=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return(null==t?void 0:t[2])??null}let n4="<untitled>",n6="tabState";
108function n9(e,t){let{code:n,key:r,shiftKey:i}=t,o=n.startsWith("Key"),s=!i&&n.startsWith("Digit");(o||s||"_"===r||'"'===r)&&e.execCommand("autocomplete")}let n8="variables",n7=`# Welcome to GraphiQL
109#
110# GraphiQL is an in-browser tool for writing, validating, and
111# testing GraphQL queries.
112#
113# Type queries into this side of the screen, and you will see intelligent
114# typeaheads aware of the current GraphQL type schema and live syntax and
115# validation errors highlighted within the text.
116#
117# GraphQL queries typically start with a "{" character. Lines that start
118# with a # are ignored.
119#
120# An example GraphQL query might look like:
121#
122#     {
123#       field(arg: "value") {
124#         subField
125#       }
126#     }
127#
128# Keyboard shortcuts:
129#
130#   Prettify query:  Shift-Ctrl-P (or press the prettify button)
131#
132#  Merge fragments:  Shift-Ctrl-M (or press the merge button)
133#
134#        Run Query:  Ctrl-Enter (or press the play button)
135#
136#    Auto Complete:  Ctrl-Space (or just start typing)
137#
138
139`,re=L("EditorContext"),rt=e=>{let t,n,r,i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E=(0,_.c)(88),x=H(),[T,w]=(0,k.useState)(null),[S,N]=(0,k.useState)(null),[A,D]=(0,k.useState)(null),[I,O]=(0,k.useState)(null);E[0]!==e.shouldPersistHeaders||E[1]!==x?(t=()=>{let t=null!==x.get(rr);return!1!==e.shouldPersistHeaders&&t?"true"===x.get(rr):!!e.shouldPersistHeaders},E[0]=e.shouldPersistHeaders,E[1]=x,E[2]=t):t=E[2];let[F,R]=(0,k.useState)(t);nD(T,e.headers),nD(S,e.query),nD(A,e.response),nD(I,e.variables),E[3]!==F?(n={shouldPersistHeaders:F},E[3]=F,E[4]=n):n=E[4];let L=function({shouldPersistHeaders:e}){return(0,k.useCallback)(t=>{let{storage:n}=U.getState();nA(500,e=>{n.set(n6,e)})(nZ(t,e))},[e])}(n);E[5]!==e.defaultHeaders||E[6]!==e.defaultQuery||E[7]!==e.defaultTabs||E[8]!==e.headers||E[9]!==e.query||E[10]!==e.response||E[11]!==e.variables||E[12]!==F||E[13]!==x||E[14]!==L?(r=()=>{let t=e.query??x.get(nG)??null,n=e.variables??x.get(n8)??null,r=e.headers??x.get(n$)??null,i=e.response??"",o=function({defaultQuery:e,defaultHeaders:t,headers:n,defaultTabs:r,query:i,variables:o,shouldPersistHeaders:s}){let{storage:a}=U.getState(),l=a.get(n6);try{var u,c,d;if(!l)throw Error("Storage for tabs is empty");let e=JSON.parse(l),t=s?n:void 0;if((u=e)&&"object"==typeof u&&!Array.isArray(u)&&(c=u,(d="activeTabIndex")in c&&"number"==typeof c[d])&&"tabs"in u&&Array.isArray(u.tabs)&&u.tabs.every(nQ)){let r=n3({query:i,variables:o,headers:t}),s=-1;for(let t=0;t<e.tabs.length;t++){let n=e.tabs[t];n.hash=n3({query:n.query,variables:n.variables,headers:n.headers}),n.hash===r&&(s=t)}if(s>=0)e.activeTabIndex=s;else{let t=i?n5(i):null;e.tabs.push({id:n2(),hash:r,title:t||n4,query:i,variables:o,headers:n,operationName:t,response:null}),e.activeTabIndex=e.tabs.length-1}return e}
139throw Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:(r||[{query:i??e,variables:o,headers:n??t}]).map(n0)}}}({query:t,variables:n,headers:r,defaultTabs:e.defaultTabs,defaultQuery:e.defaultQuery||n7,defaultHeaders:e.defaultHeaders,shouldPersistHeaders:F});return L(o),{query:t??(0===o.activeTabIndex?o.tabs[0].query:null)??"",variables:n??"",headers:r??e.defaultHeaders??"",response:i,tabState:o}},E[5]=e.defaultHeaders,E[6]=e.defaultQuery,E[7]=e.defaultTabs,E[8]=e.headers,E[9]=e.query,E[10]=e.response,E[11]=e.variables,E[12]=F,E[13]=x,E[14]=L,E[15]=r):r=E[15];let[M]=(0,k.useState)(r),[V,$]=(0,k.useState)(M.tabState);E[16]!==T||E[17]!==x||E[18]!==V?(i=e=>{if(e){x.set(n$,(null==T?void 0:T.getValue())??"");let e=nZ(V,!0);x.set(n6,e)}else x.set(n$,""),function(){let{storage:e}=U.getState(),t=e.get(n6);if(t){let n=JSON.parse(t);e.set(n6,JSON.stringify(n,(e,t)=>"headers"===e?null:t))}}();R(e),x.set(rr,e.toString())},E[16]=T,E[17]=x,E[18]=V,E[19]=i):i=E[19];let B=i,q=(0,k.useRef)(void 0);E[20]!==e.shouldPersistHeaders||E[21]!==B?(o=()=>{let t=!!e.shouldPersistHeaders;(null==q?void 0:q.current)!==t&&(B(t),q.current=t)},s=[e.shouldPersistHeaders,B],E[20]=e.shouldPersistHeaders,E[21]=B,E[22]=o,E[23]=s):(o=E[22],s=E[23]),(0,k.useEffect)(o,s),E[24]!==T||E[25]!==S||E[26]!==A||E[27]!==I?(a={queryEditor:S,variableEditor:I,headerEditor:T,responseEditor:A},E[24]=T,E[25]=S,E[26]=A,E[27]=I,E[28]=a):a=E[28];let z=function({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r}){return(0,k.useCallback)(i=>{let o=(null==e?void 0:e.getValue())??null,s=(null==t?void 0:t.getValue())??null,a=(null==n?void 0:n.getValue())??null,l=(null==e?void 0:e.operationName)??null;return n1(i,{query:o,variables:s,headers:a,response:(null==r?void 0:r.getValue())??null,operationName:l})},[e,t,n,r])}(a),{onTabChange:W,defaultHeaders:Y,defaultQuery:G,children:K}=e;E[29]!==Y||E[30]!==T||E[31]!==S||E[32]!==A||E[33]!==I?(l={queryEditor:S,variableEditor:I,headerEditor:T,responseEditor:A,defaultHeaders:Y},E[29]=Y,E[30]=T,E[31]=S,E[32]=A,E[33]=I,E[34]=l):l=E[34];let Q=function({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r,defaultHeaders:i}){return(0,k.useCallback)(({query:o,variables:s,headers:a,response:l})=>{null==e||e.setValue(o??""),null==t||t.setValue(s??""),null==n||n.setValue(a??i??""),null==r||r.setValue(l??"")},[n,e,r,t,i])}(l);E[35]!==Y||E[36]!==G||E[37]!==W||E[38]!==Q||E[39]!==L||E[40]!==z?(u=()=>{$(e=>{let t=z(e),n={tabs:[...t.tabs,n0({headers:Y,query:G??n7})],activeTabIndex:t.tabs.length};return L(n),Q(n.tabs[n.activeTabIndex]),null==W||W(n),n})},E[35]=Y,E[36]=G,E[37]=W,E[38]=Q,E[39]=L,E[40]=z,E[41]=u):u=E[41];let X=u;E[42]!==W||E[43]!==Q||E[44]!==L?(c=e=>{$(t=>{let n={...t,activeTabIndex:e};return L(n),Q(n.tabs[n.activeTabIndex]),null==W||W(n),n})},E[42]=W,E[43]=Q,E[44]=L,E[45]=c):c=E[45];let J=c;E[46]!==W||E[47]!==Q||E[48]!==L?(d=e=>{$(t=>{let n=t.tabs[t.activeTabIndex],r={tabs:e,activeTabIndex:e.indexOf(n)};return L(r),Q(r.tabs[r.activeTabIndex]),null==W||W(r),r})},E[46]=W,E[47]=Q,E[48]=L,E[49]=d):d=E[49];let Z=d;E[50]!==W||E[51]!==Q||E[52]!==L?(p=e=>{$(t=>{let n={tabs:t.tabs.filter((t,n)=>e!==n),activeTabIndex:Math.max(t.activeTabIndex-1,0)};return L(n),Q(n.tabs[n.activeTabIndex]),null==W||W(n),n})},E[50]=W,E[51]=Q,E[52]=L,E[53]=p):p=E[53];let ee=p;E[54]!==W||E[55]!==L?(f=e=>{$(t=>{let n=n1(t,e);return L(n),null==W||W(n),n})},E[54]=W,E[55]=L,E[56]=f):f=E[56];let et=f,{onEditOperationName:en}=e;E[57]!==en||E[58]!==S||E[59]!==et?(h=e=>{S&&(S.operationName=e,et({operationName:e}),null==en||en(e))},E[57]=en,E[58]=S,E[59]=et,E[60]=h):h=E[60];let er=h;if(E[61]!==e.externalFragments){if(g=new Map,Array.isArray(e.externalFragments))for(let t of e.externalFragments)g.set(t.name.value,t);else if("string"==typeof e.externalFragments)(0,P.YR)((0,j.qg)(e.externalFragments,{}),{FragmentDefinition(e){g.set(e.name.value,e)}});else if(e.externalFragments)throw Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");E[61]=e.externalFragments,E[62]=g}else g=E[62];m=g,E[63]!==e.validationRules?(v=e.validationRules||[],E[63]=e.validationRules,E[
13964]=v):v=E[64];let ei=v;E[65]!==X||E[66]!==J||E[67]!==ee||E[68]!==m||E[69]!==T||E[70]!==M.headers||E[71]!==M.query||E[72]!==M.response||E[73]!==M.variables||E[74]!==Z||E[75]!==S||E[76]!==A||E[77]!==er||E[78]!==B||E[79]!==F||E[80]!==V||E[81]!==et||E[82]!==ei||E[83]!==I?(y={...V,addTab:X,changeTab:J,moveTab:Z,closeTab:ee,updateActiveTabValues:et,headerEditor:T,queryEditor:S,responseEditor:A,variableEditor:I,setHeaderEditor:w,setQueryEditor:N,setResponseEditor:D,setVariableEditor:O,setOperationName:er,initialQuery:M.query,initialVariables:M.variables,initialHeaders:M.headers,initialResponse:M.response,externalFragments:m,validationRules:ei,shouldPersistHeaders:F,setShouldPersistHeaders:B},E[65]=X,E[66]=J,E[67]=ee,E[68]=m,E[69]=T,E[70]=M.headers,E[71]=M.query,E[72]=M.response,E[73]=M.variables,E[74]=Z,E[75]=S,E[76]=A,E[77]=er,E[78]=B,E[79]=F,E[80]=V,E[81]=et,E[82]=ei,E[83]=I,E[84]=y):y=E[84];let eo=y;return E[85]!==K||E[86]!==eo?(b=(0,C.jsx)(re.Provider,{value:eo,children:K}),E[85]=K,E[86]=eo,E[87]=b):b=E[87],b},rn=M(re),rr="shouldPersistHeaders",ri=L("ExecutionContext"),ro=e=>{let t,n,r,i,o,s,a=(0,_.c)(26),{fetcher:l,getDefaultFieldNames:u,children:c,operationName:d}=e;if("function"!=typeof l)throw TypeError("The `ExecutionContextProvider` component requires a `fetcher` function to be passed as prop.");a[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:ro},a[0]=t):t=a[0];let{externalFragments:p,headerEditor:f,queryEditor:h,responseEditor:m,variableEditor:g,updateActiveTabValues:v}=rn(t);a[1]!==u?(n={getDefaultFieldNames:u,caller:ro},a[1]=u,a[2]=n):n=a[2];let y=function e(t){let n,r,i,o=(0,_.c)(8);o[0]!==t?(n=void 0===t?{}:t,o[0]=t,o[1]=n):n=o[1];let{getDefaultFieldNames:s,caller:a}=n,{schema:l}=ev(),u=a||e;o[2]!==u?(r={nonNull:!0,caller:u},o[2]=u,o[3]=r):r=o[3];let{queryEditor:c}=rn(r);return o[4]!==s||o[5]!==c||o[6]!==l?(i=()=>{if(!c)return;let e=c.getValue(),{insertions:t,result:n}=(0,N.fillLeafs)(l,e,s);return t&&t.length>0&&c.operation(()=>{let e,r=c.getCursor(),i=c.indexFromPos(r);c.setValue(n||""),e=0;let o=t.map(t=>{let{index:n,string:r}=t;return e+=r.length,c.markText(c.posFromIndex(n+e),c.posFromIndex(n+e),{className:"auto-inserted-leaf",clearOnEnter:!0,title:"Automatically added leaf fields"})});setTimeout(()=>{for(let e of o)e.clear()},7e3);let s=i;for(let{index:e,string:n}of t)e<i&&(s+=n.length);c.setCursor(c.posFromIndex(s))}),n},o[4]=s,o[5]=c,o[6]=l,o[7]=i):i=o[7],i}(n),[b,E]=(0,k.useState)(!1),[x,T]=(0,k.useState)(null),w=(0,k.useRef)(0);a[3]!==x?(r=()=>{null==x||x.unsubscribe(),E(!1),T(null)},a[3]=x,a[4]=r):r=a[4];let S=r;a[5]!==y||a[6]!==p||a[7]!==l||a[8]!==f||a[9]!==d||a[10]!==h||a[11]!==m||a[12]!==S||a[13]!==x||a[14]!==v||a[15]!==g?(i=async()=>{let e,t;if(!h||!m)return;if(x)return void S();let n=e=>{m.setValue(e),v({response:e})};w.current=w.current+1;let r=w.current,i=y()||h.getValue(),o=null==g?void 0:g.getValue();try{e=rl({json:o,errorMessageParse:"Variables are invalid JSON",errorMessageType:"Variables are not a JSON object."})}catch(e){n(e instanceof Error?e.message:`${e}`);return}let s=null==f?void 0:f.getValue();try{t=rl({json:s,errorMessageParse:"Headers are invalid JSON",errorMessageType:"Headers are not a JSON object."})}catch(e){n(e instanceof Error?e.message:`${e}`);return}if(p){let e=h.documentAST?(0,D.JR)(h.documentAST,p):[];e.length>0&&(i+="\n"+e.map(rc).join("\n"))}n(""),E(!0);let a=d??h.operationName??void 0,u=t??void 0,c=h.documentAST??void 0;try{let t={},o=e=>{if(r!==w.current)return;let i=!!Array.isArray(e)&&e;if(!i&&"object"==typeof e&&null!==e&&"hasNext"in e&&(i=[e]),i){for(let e of i)!function e(t,n){var r,i,o;let s=["data",...n.path??[]];for(let e of[t,n])if(e.pending){let n=ru.get(t);for(let{id:r,path:i}of(void 0===n&&(n=new Map,ru.set(t,n)),e.pending))n.set(r,["data",...i])}let{items:a}=n;if(a){let{id:e}=n;if(e){if(void 0===(s=null==(r=ru.get(t))?void 0:r.get(e)))throw Error("Invalid incremental delivery format.");R()(t,s.join(".")).push(...a)}else for(let e of(s=["data",...n.path??[]],a))O()(t,s.join("."),e),s[s.length-1]++}let{data:l}=n;if(l){let{id:e}=n;if(e){if(void 0===(s=null==(i=ru.get(t))?void 0:i.get(e)))throw Error("Invalid incremental delivery format.");let{subPath:r}=n;void 0!==r&&(s=[...s,...r])}O()(t,s.join("."),l,{merge:!0})}if(n.errors&&(t.errors||(t.errors=[]),t.errors.push(...n.errors)),n.extensions&&O()(t,"extensions",n.extensions,{merge:!0}),n.incremental)for(let r of n.incremental)e(t,r);
139if(n.completed)for(let{id:e,errors:r}of n.completed)null==(o=ru.get(t))||o.delete(e),r&&(t.errors||(t.errors=[]),t.errors.push(...r))}(t,e);E(!1),n((0,N.formatResult)(t))}else{let t=(0,N.formatResult)(e);E(!1),n(t)}},s=l({query:i,variables:e,operationName:a},{headers:u,documentAST:c}),d=await s;(0,N.isObservable)(d)?T(d.subscribe({next(e){o(e)},error(e){E(!1),e&&n((0,N.formatError)(e)),T(null)},complete(){E(!1),T(null)}})):(0,N.isAsyncIterable)(d)?(T({unsubscribe:()=>{var e,t;return null==(t=(e=d[Symbol.asyncIterator]()).return)?void 0:t.call(e)}}),await rs(o,d),E(!1),T(null)):o(d)}catch(e){E(!1),n((0,N.formatError)(e)),T(null)}},a[5]=y,a[6]=p,a[7]=l,a[8]=f,a[9]=d,a[10]=h,a[11]=m,a[12]=S,a[13]=x,a[14]=v,a[15]=g,a[16]=i):i=a[16];let A=i,I=!!x,F=d??null;a[17]!==b||a[18]!==A||a[19]!==S||a[20]!==I||a[21]!==F?(o={isFetching:b,isSubscribed:I,operationName:F,run:A,stop:S},a[17]=b,a[18]=A,a[19]=S,a[20]=I,a[21]=F,a[22]=o):o=a[22];let L=o;return a[23]!==c||a[24]!==L?(s=(0,C.jsx)(ri.Provider,{value:L,children:c}),a[23]=c,a[24]=L,a[25]=s):s=a[25],s};async function rs(e,t){for await(let n of t)e(n)}let ra=M(ri);function rl({json:e,errorMessageParse:t,errorMessageType:n}){let r;try{r=e&&""!==e.trim()?JSON.parse(e):void 0}catch(e){throw Error(`${t}: ${e instanceof Error?e.message:e}.`)}let i="object"==typeof r&&null!==r&&!Array.isArray(r);if(void 0!==r&&!i)throw Error(n);return r}let ru=new WeakMap;function rc(e){return(0,A.y)(e)}let rd=e=>{let t,n,r,i,o,s,a,l,u,c=(0,_.c)(45),{children:d,dangerouslyAssumeSchemaIsValid:p,defaultQuery:f,defaultHeaders:h,defaultTabs:m,externalFragments:g,fetcher:v,getDefaultFieldNames:y,headers:b,inputValueDeprecation:E,introspectionQueryName:x,onEditOperationName:T,onSchemaChange:w,onTabChange:k,onTogglePluginVisibility:S,operationName:N,plugins:A,referencePlugin:D,query:I,response:O,schema:F,schemaDescription:R,shouldPersistHeaders:L,storage:M,validationRules:P,variables:j,visiblePlugin:V}=e;c[0]!==h||c[1]!==f||c[2]!==m||c[3]!==g||c[4]!==b||c[5]!==T||c[6]!==k||c[7]!==I||c[8]!==O||c[9]!==L||c[10]!==P||c[11]!==j?(t={defaultQuery:f,defaultHeaders:h,defaultTabs:m,externalFragments:g,headers:b,onEditOperationName:T,onTabChange:k,query:I,response:O,shouldPersistHeaders:L,validationRules:P,variables:j},c[0]=h,c[1]=f,c[2]=m,c[3]=g,c[4]=b,c[5]=T,c[6]=k,c[7]=I,c[8]=O,c[9]=L,c[10]=P,c[11]=j,c[12]=t):t=c[12];let $=t;c[13]!==p||c[14]!==v||c[15]!==E||c[16]!==x||c[17]!==w||c[18]!==F||c[19]!==R?(n={dangerouslyAssumeSchemaIsValid:p,fetcher:v,inputValueDeprecation:E,introspectionQueryName:x,onSchemaChange:w,schema:F,schemaDescription:R},c[13]=p,c[14]=v,c[15]=E,c[16]=x,c[17]=w,c[18]=F,c[19]=R,c[20]=n):n=c[20];let B=n;c[21]!==v||c[22]!==y||c[23]!==N?(r={getDefaultFieldNames:y,fetcher:v,operationName:N},c[21]=v,c[22]=y,c[23]=N,c[24]=r):r=c[24];let U=r;c[25]!==S||c[26]!==A||c[27]!==D||c[28]!==V?(i={onTogglePluginVisibility:S,plugins:A,visiblePlugin:V,referencePlugin:D},c[25]=S,c[26]=A,c[27]=D,c[28]=V,c[29]=i):i=c[29];let z=i;return c[30]!==d||c[31]!==z?(o=(0,C.jsx)(en,{...z,children:d}),c[30]=d,c[31]=z,c[32]=o):o=c[32],c[33]!==U||c[34]!==o?(s=(0,C.jsx)(ro,{...U,children:o}),c[33]=U,c[34]=o,c[35]=s):s=c[35],c[36]!==B||c[37]!==s?(a=(0,C.jsx)(eg,{...B,children:s}),c[36]=B,c[37]=s,c[38]=a):a=c[38],c[39]!==$||c[40]!==a?(l=(0,C.jsx)(rt,{...$,children:a}),c[39]=$,c[40]=a,c[41]=l):l=c[41],c[42]!==M||c[43]!==l?(u=(0,C.jsx)(q,{storage:M,children:l}),c[42]=M,c[43]=l,c[44]=u):u=c[44],u},rp="theme";function rf(e){let t,n,r,i,o,s,a,l,u,c,d=(0,_.c)(31),{defaultSizeRelation:p,direction:f,initiallyHidden:h,onHiddenElementChange:m,sizeThresholdFirst:g,sizeThresholdSecond:v,storageKey:y}=e,b=void 0===g?100:g,E=void 0===v?100:v,x=H();d[0]!==x||d[1]!==y?(t=nA(500,e=>{y&&x.set(y,e)}),d[0]=x,d[1]=y,d[2]=t):t=d[2];let T=t;d[3]!==h||d[4]!==x||d[5]!==y?(n=()=>{let e=y&&x.get(y);return e===rh||"first"===h?"first":e===rm||"second"===h?"second":null},d[3]=h,d[4]=x,d[5]=y,d[6]=n):n=d[6];let[w,C]=(0,k.useState)(n);d[7]!==w||d[8]!==m?(r=e=>{e!==w&&(C(e),null==m||m(e))},d[7]=w,d[8]=m,d[9]=r):r=d[9];let S=r,N=(0,k.useRef)(null),A=(0,k.useRef)(null),D=(0,k.useRef)(null),I=(0,k.useRef)(`${void 0===p?1:p}`);return d[10]!==x||d[11]!==y?(i=()=>{let e=y&&x.get(y)||I.current;N.current&&(N.current.style.flex=e===rh||e===rm?I.current:e),D.current&&(D.current.style.flex="1")},d[10]=x,d[11]=y,d[12]=i):i=d[12],d[13]!==f||d[14]!==x||d[15]!==y?(o=[f,x,y],d[13]=f,d[14]=x,d[15]=y,d[16]=o):o=d[16],(0,k.useEffect)(i,o),d[17]!==w||d[18]!==x||d[19]!==y?(a=()=>{let e=e=>{let t="first"===e?N.current:D.current;if(t&&(t.style.left="-1000px",t.style.position="absolute",t.style.opacity="0",t.style.height="500px",t.style.width="500px",N.current)){let e=parseFloat(N.current.style.flex);(!Number.isFinite(e)||e<1)&&(N.current.style.flex="1")}},t=e=>{let t="first"===e?N.current:D.current;if(t&&(t.style.width="",t.style.height="",t.style.opacity="",t.style.position="",t.style.left="",y)){let e=x.get(y);N.current&&e!==rh&&e!==rm&&(N.current.style.flex=e||I.current)}};"first"===w?e("first"):t("first"),"second"===w?e("second"):t("second")},s=[w,x,y],d[17]=w,d[18]=x,d[19]=y,d[20]=s,d[21]=a):(s=d[20],a=d[21]),(0,k.useEffect)(a,s),d[22]!==f||d[23]!==S||d[24]!==b||d[25]!==E||d[26]!==T?(l=()=>{if(!A.current||!N.current||!D.current)return;let e=A.current,t=N.current,n=t.parentElement,r="horizontal"===f?"clientX":"clientY",i="horizontal"===f?"left":"top",o="horizontal"===f?"right":"bottom",s="horizontal"===f?"clientWidth":"clientHeight",a=function(a){if
139(a.target!==a.currentTarget)return;a.preventDefault();let l=a[r]-e.getBoundingClientRect()[i],u=function(a){if(0===a.buttons)return c();let u=a[r]-n.getBoundingClientRect()[i]-l,d=n.getBoundingClientRect()[o]-a[r]+l-e[s];if(u<b)S("first"),T(rh);else if(d<E)S("second"),T(rm);else{S(null);let e=`${u/d}`;t.style.flex=e,T(e)}};function c(){document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",c)}document.addEventListener("mousemove",u),document.addEventListener("mouseup",c)};e.addEventListener("mousedown",a);let l=function(){N.current&&(N.current.style.flex=I.current),T(I.current),S(null)};return e.addEventListener("dblclick",l),()=>{e.removeEventListener("mousedown",a),e.removeEventListener("dblclick",l)}},u=[f,S,b,E,T],d[22]=f,d[23]=S,d[24]=b,d[25]=E,d[26]=T,d[27]=l,d[28]=u):(l=d[27],u=d[28]),(0,k.useEffect)(l,u),d[29]!==w?(c={dragBarRef:A,hiddenElement:w,firstRef:N,setHiddenElement:C,secondRef:D},d[29]=w,d[30]=c):c=d[30],c}let rh="hide-first",rm="hide-second";var rg=n(49995);function rv(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function ry(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function rb(...e){return t=>{let n=!1,r=e.map(e=>{let r=ry(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():ry(e[t],null)}}}}function rE(...e){return k.useCallback(rb(...e),e)}function rx(e,t=[]){let n=[],r=()=>{let t=n.map(e=>k.createContext(e));return function(n){let r=n?.[e]||t;return k.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=k.createContext(r),o=n.length;n=[...n,r];let s=t=>{let{scope:n,children:r,...s}=t,a=n?.[e]?.[o]||i,l=k.useMemo(()=>s,Object.values(s));return(0,C.jsx)(a.Provider,{value:l,children:r})};return s.displayName=t+"Provider",[s,function(n,s){let a=s?.[e]?.[o]||i,l=k.useContext(a);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var rT=n(98477),rw=Symbol("radix.slottable");function rC(e){return k.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===rw}var r_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=k.forwardRef((e,t)=>{let{children:n,...r}=e;if(k.isValidElement(n)){var i;let e,o,s=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let 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!==k.Fragment&&(a.ref=t?rb(t,s):s),k.cloneElement(n,a)}return k.Children.count(n)>1?k.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=k.forwardRef((e,n)=>{let{children:r,...i}=e,o=k.Children.toArray(r),s=o.find(rC);if(s){let e=s.props.children,r=o.map(t=>t!==s?t:k.Children.count(e)>1?k.Children.only(null):k.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:k.isValidElement(e)?k.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=k.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function rk(e){let t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...e)=>t.current?.(...e),[])}var rS="dismissableLayer.update",rN=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rA=k.forwardRef((e,t)=>
139{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=k.useContext(rN),[c,d]=k.useState(null),f=c?.ownerDocument??globalThis?.document,[,h]=k.useState({}),m=rE(t,e=>d(e)),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=c?g.indexOf(c):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,T=function(e,t=globalThis?.document){let n=rk(e),r=k.useRef(!1),i=k.useRef(()=>{});return k.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){rI("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},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=>{let t=e.target,n=[...u.branches].some(e=>e.contains(t));x&&!n&&(i?.(e),s?.(e),e.defaultPrevented||a?.())},f),w=function(e,t=globalThis?.document){let n=rk(e),r=k.useRef(!1);return k.useEffect(()=>{let e=e=>{e.target&&!r.current&&rI("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=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),s?.(e),e.defaultPrevented||a?.())},f);return!function(e,t=globalThis?.document){let n=rk(e);k.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{b===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))},f),k.useEffect(()=>{if(c)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(p=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),rD(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=p)}},[c,f,n,u]),k.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),rD())},[c,u]),k.useEffect(()=>{let e=()=>h({});return document.addEventListener(rS,e),()=>document.removeEventListener(rS,e)},[]),(0,C.jsx)(r_.div,{...l,ref:m,style:{pointerEvents:E?x?"auto":"none":void 0,...e.style},onFocusCapture:rv(e.onFocusCapture,w.onFocusCapture),onBlurCapture:rv(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:rv(e.onPointerDownCapture,T.onPointerDownCapture)})});function rD(){let e=new CustomEvent(rS);document.dispatchEvent(e)}function rI(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&i.addEventListener(e,t,{once:!0}),r)i&&rT.flushSync(()=>i.dispatchEvent(o));else i.dispatchEvent(o)}rA.displayName="DismissableLayer",k.forwardRef((e,t)=>{let n=k.useContext(rN),r=k.useRef(null),i=rE(t,r);return k.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,C.jsx)(r_.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var rO=globalThis?.document?k.useLayoutEffect:()=>{},rF=S[" useId ".trim().toString()]||(()=>void 0),rR=0,rL=n(94882),rM=n(80400),rP=k.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,C.jsx)(r_.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,C.jsx)("polygon",{points:"0,0 30,0 15,10"})})});rP.displayName="Arrow";var rj="Popper",[rV,r$]=rx(rj),[rB,rU]=rV(rj),rq=e=>{let{__scopePopper:t,children:n}=e,[r,i]=k.useState(null);return(0,C.jsx)(rB,{scope:t,anchor:r,onAnchorChange:i,children:n})};rq.displayName=rj;var rz="PopperAnchor",rH=k.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,o=rU(rz,n),s=k.useRef(null),a=rE(t,s);return k.useEffect(()=>{o.onAnchorChange(r?.current||s.current)}),r?null:(0,C.jsx)(r_.div,{...i,ref:a})});rH.displayName=rz;var rW="PopperContent",[rY,rG]=rV(rW),rK=k.forwardRef((e,t)=>
139{let{__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:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:h,...m}=e,g=rU(rW,n),[v,y]=k.useState(null),b=rE(t,e=>y(e)),[E,x]=k.useState(null),T=function(e){let[t,n]=k.useState(void 0);return rO(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(E),w=T?.width??0,_=T?.height??0,S="number"==typeof c?c:{top:0,right:0,bottom:0,left:0,...c},N=Array.isArray(u)?u:[u],A=N.length>0,D={padding:S,boundary:N.filter(rZ),altBoundary:A},{refs:I,floatingStyles:O,placement:F,isPositioned:R,middlewareData:L}=(0,rL.we)({strategy:"fixed",placement:r+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(0,rM.ll)(...e,{animationFrame:"always"===f}),elements:{reference:g.anchor},middleware:[(0,rL.cY)({mainAxis:i+_,alignmentAxis:s}),l&&(0,rL.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===d?(0,rL.ER)():void 0,...D}),l&&(0,rL.UU)({...D}),(0,rL.Ej)({...D,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{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`)}}),E&&(0,rL.UE)({element:E,padding:a}),r0({arrowWidth:w,arrowHeight:_}),p&&(0,rL.jD)({strategy:"referenceHidden",...D})]}),[M,P]=r1(F),j=rk(h);rO(()=>{R&&j?.()},[R,j]);let V=L.arrow?.x,$=L.arrow?.y,B=L.arrow?.centerOffset!==0,[U,q]=k.useState();return rO(()=>{v&&q(window.getComputedStyle(v).zIndex)},[v]),(0,C.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:R?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,C.jsx)(rY,{scope:n,placedSide:M,onArrowChange:x,arrowX:V,arrowY:$,shouldHideArrow:B,children:(0,C.jsx)(r_.div,{"data-side":M,"data-align":P,...m,ref:b,style:{...m.style,animation:R?void 0:"none"}})})})});rK.displayName=rW;var rQ="PopperArrow",rX={top:"bottom",right:"left",bottom:"top",left:"right"},rJ=k.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=rG(rQ,n),o=rX[i.placedSide];return(0,C.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,C.jsx)(rP,{...r,ref:t,style:{...r.style,display:"block"}})})});function rZ(e){return null!==e}rJ.displayName=rQ;var r0=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=r1(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,p=(i.arrow?.y??0)+a/2,f="",h="";return"bottom"===l?(f=o?c:`${d}px`,h=`${-a}px`):"top"===l?(f=o?c:`${d}px`,h=`${r.floating.height+a}px`):"right"===l?(f=`${-a}px`,h=o?c:`${p}px`):"left"===l&&(f=`${r.floating.width+a}px`,h=o?c:`${p}px`),{data:{x:f,y:h}}}});function r1(e){let[t,n="center"]=e.split("-");return[t,n]}var r2=k.forwardRef((e,t)=>{let{container:n,...r}=e,[i,o]=k.useState(!1);rO(()=>o(!0),[]);let s=n||i&&globalThis?.document?.body;return s?rT.createPortal((0,C.jsx)(r_.div,{...r,ref:t}),s):null});r2.displayName="Portal";var r3=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,i]=k.useState(),o=k.useRef(null),s=k.useRef(e),a=k.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},k.useReducer((e,t)=>
139n[e][t]??e,t));return k.useEffect(()=>{let e=r5(o.current);a.current="mounted"===l?e:"none"},[l]),rO(()=>{let t=o.current,n=s.current;if(n!==e){let r=a.current,i=r5(t);e?u("MOUNT"):"none"===i||t?.display==="none"?u("UNMOUNT"):n&&r!==i?u("ANIMATION_OUT"):u("UNMOUNT"),s.current=e}},[e,u]),rO(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=r5(o.current).includes(n.animationName);if(n.target===r&&i&&(u("ANIMATION_END"),!s.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(a.current=r5(o.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:k.useCallback(e=>{o.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):k.Children.only(n),o=rE(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||r.isPresent?k.cloneElement(i,{ref:o}):null};function r5(e){return e?.animationName||"none"}r3.displayName="Presence";var r4=S[" useInsertionEffect ".trim().toString()]||rO;function r6(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}Symbol("RADIX:SYNC_STATE");var r9=Symbol("radix.slottable");function r8(e){return k.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===r9}var r7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=k.forwardRef((e,t)=>{let{children:n,...r}=e;if(k.isValidElement(n)){var i;let e,o,s=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let 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!==k.Fragment&&(a.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=r6(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():r6(e[t],null)}}}}(t,s):s),k.cloneElement(n,a)}return k.Children.count(n)>1?k.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=k.forwardRef((e,n)=>{let{children:r,...i}=e,o=k.Children.toArray(r),s=o.find(r8);if(s){let e=s.props.children,r=o.map(t=>t!==s?t:k.Children.count(e)>1?k.Children.only(null):k.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:k.isValidElement(e)?k.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=k.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ie=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"}),it=k.forwardRef((e,t)=>(0,C.jsx)(r7.span,{...e,ref:t,style:{...ie,...e.style}}));it.displayName="VisuallyHidden";var[ir,ii]=rx("Tooltip",[r$]),io=r$(),is="TooltipProvider",ia="tooltip.open",[il,iu]=ir(is),ic=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=k.useRef(!0),a=k.useRef(!1),l=k.useRef(0);return k.useEffect(()=>{let e=l.current;return()=>window.clearTimeout(e)},[]),(0,C.jsx)(il,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:k.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:k.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:k.useCallback(e=>{a.current=e}
139,[]),disableHoverableContent:i,children:o})};ic.displayName=is;var id="Tooltip",[ip,ih]=ir(id),im=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:s,delayDuration:a}=e,l=iu(id,e.__scopeTooltip),u=io(t),[c,d]=k.useState(null),p=function(e){let[t,n]=k.useState(rF());return rO(()=>{n(e=>e??String(rR++))},[void 0]),e||(t?`radix-${t}`:"")}(),f=k.useRef(0),h=s??l.disableHoverableContent,m=a??l.delayDuration,g=k.useRef(!1),[v,y]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,s]=function({defaultProp:e,onChange:t}){let[n,r]=k.useState(e),i=k.useRef(n),o=k.useRef(t);return r4(()=>{o.current=t},[t]),k.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;{let t=k.useRef(void 0!==e);k.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. 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])}return[l,k.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else o(t)},[a,e,o,s])]}({prop:r,defaultProp:i??!1,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(ia))):l.onClose(),o?.(e)},caller:id}),b=k.useMemo(()=>v?g.current?"delayed-open":"instant-open":"closed",[v]),E=k.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,y(!0)},[y]),x=k.useCallback(()=>{window.clearTimeout(f.current),f.current=0,y(!1)},[y]),T=k.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,y(!0),f.current=0},m)},[m,y]);return k.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),(0,C.jsx)(rq,{...u,children:(0,C.jsx)(ip,{scope:t,contentId:p,open:v,stateAttribute:b,trigger:c,onTriggerChange:d,onTriggerEnter:k.useCallback(()=>{l.isOpenDelayedRef.current?T():E()},[l.isOpenDelayedRef,T,E]),onTriggerLeave:k.useCallback(()=>{h?x():(window.clearTimeout(f.current),f.current=0)},[x,h]),onOpen:E,onClose:x,disableHoverableContent:h,children:n})})};im.displayName=id;var ig="TooltipTrigger",iv=k.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=ih(ig,n),o=iu(ig,n),s=io(n),a=rE(t,k.useRef(null),i.onTriggerChange),l=k.useRef(!1),u=k.useRef(!1),c=k.useCallback(()=>l.current=!1,[]);return k.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),(0,C.jsx)(rH,{asChild:!0,...s,children:(0,C.jsx)(r_.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:a,onPointerMove:rv(e.onPointerMove,e=>{"touch"!==e.pointerType&&(u.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),u.current=!0))}),onPointerLeave:rv(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:rv(e.onPointerDown,()=>{i.open&&i.onClose(),l.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:rv(e.onFocus,()=>{l.current||i.onOpen()}),onBlur:rv(e.onBlur,i.onClose),onClick:rv(e.onClick,i.onClose)})})});iv.displayName=ig;var iy="TooltipPortal",[ib,iE]=ir(iy,{forceMount:void 0}),ix=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=ih(iy,t);return(0,C.jsx)(ib,{scope:t,forceMount:n,children:(0,C.jsx)(r3,{present:n||o.open,children:(0,C.jsx)(r2,{asChild:!0,container:i,children:r})})})};ix.displayName=iy;var iT="TooltipContent",iw=k.forwardRef((e,t)=>{let n=iE(iT,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=ih(iT,e.__scopeTooltip);return(0,C.jsx)(r3,{present:r||s.open,children:s.disableHoverableContent?(0,C.jsx)(iN,{side:i,...o,ref:t}):(0,C.jsx)(iC,{side:i,...o,ref:t})})}),iC=k.forwardRef((e,t)=>{let n=ih(iT,e.__scopeTooltip),r=iu(iT,e.__scopeTooltip),i=k.useRef(null),o=rE(t,i),[s,a]=k.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,p=k.useCallback(()=>{a(null),d(!1)},[d]),f=k.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let 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 Error("unreachable")}}(r,n.getBoundingClientRect());a(function(e){let t=e.slice();return t.sort((e,t)=>
139e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let 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))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let 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))n.pop();else break}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)}([...function(e,t,n=5){let 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,i),...function(e){let{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())])),d(!0)},[d]);return k.useEffect(()=>()=>p(),[p]),k.useEffect(()=>{if(l&&c){let e=e=>f(e,c),t=e=>f(e,l);return l.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}},[l,c,f,p]),k.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=l?.contains(t)||c?.contains(t),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let 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,C.jsx)(iN,{...e,ref:o})}),[i_,ik]=ir(id,{isInside:!1}),iS=function(e){let t=({children:e})=>(0,C.jsx)(C.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=rw,t}("TooltipContent"),iN=k.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=ih(iT,n),u=io(n),{onClose:c}=l;return k.useEffect(()=>(document.addEventListener(ia,c),()=>document.removeEventListener(ia,c)),[c]),k.useEffect(()=>{if(l.trigger){let e=e=>{let 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,C.jsx)(rA,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:c,children:(0,C.jsxs)(rK,{"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,C.jsx)(iS,{children:r}),(0,C.jsx)(i_,{scope:n,isInside:!0,children:(0,C.jsx)(it,{id:l.contentId,role:"tooltip",children:i||r})})]})})});iw.displayName=iT;var iA="TooltipArrow";k.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=io(n);return ik(iA,n).isInside?null:(0,C.jsx)(rJ,{...i,...r,ref:t})}).displayName=iA;let iD=Object.assign(e=>{let t,n,r,i=(0,_.c)(10),{children:o,align:s,side:a,sideOffset:l,label:u}=e,c=void 0===s?"start":s,d=void 0===a?"bottom":a,p=void 0===l?5:l;return i[0]!==o?(t=(0,C.jsx)(iv,{asChild:!0,children:o}),i[0]=o,i[1]=t):t=i[1],i[2]!==c||i[3]!==u||i[4]!==d||i[5]!==p?(n=(0,C.jsx)(ix,{children:(0,C.jsx)(iw,{className:"graphiql-tooltip",align:c,side:d,sideOffset:p,children:u})}),i[2]=c,i[3]=u,i[4]=d,i[5]=p,i[6]=n):n=i[6],i[7]!==t||i[8]!==n?(r=(0,C.jsxs)(im,{children:[t,n]}),i[7]=t,i[8]=n,i[9]=r):r=i[9],r},{Provider:ic}),iI=(0,k.forwardRef)((e,t)=>{let n,r,i=(0,_.c)(6);return i[0]!==e.className?(n=(0,rg.$)("graphiql-un-styled",e.className),i[0]=e.className,i[1]=n):n=i[1],i[2]!==e||i[3]!==t||i[4]!==n?(r=(0,C.jsx)("button",{...e,ref:t,className:n}),i[2]=e,i[3]=t,i[4]=n,i[5]=r):r=i[5],r});iI.displayName="UnStyledButton";let iO=(0,k.forwardRef)((e,t)=>{let n,r,i=(0,_.c)(7);return i[0]!==e.className||i[1]!==e.state?(n=(0,rg.$)("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className),i[0]=e.className,i[1]=e.state,i[2]=n):n=i[2],i[3]!==e||i[4]!==t||i[5]!==n?(r=(0,C.jsx)("button",{...e,ref:t,className:n}),i[3]=e,i[4]=t,i[5]=n,i[6]=r):r=i[6],r});iO.displayName="Button";let iF=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"}))),iR=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5}))),iL=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75}))),iM=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5}))),iP=oe(({title:e,titleId:t,...n})=>k.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?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M1 1L12.9998 12.9997"}),k.createElement("path",{d:"M13 1L1.00079 13.0003"}))),ij=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5}))),iV=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),k.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2}))),i$=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),k.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),k.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"}))),iB=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),k.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),k.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}))),iU=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),k.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"}))),iq=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.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",
139stroke:"currentColor",strokeWidth:1.5}),k.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"}))),iz=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5}))),iH=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),k.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"}))),iW=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),k.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"}))),iY=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),k.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),k.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}))),iG=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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)"}),k.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"}))),iK=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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"}),k.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"}
139),k.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"}),k.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),k.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"}))),iQ=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),k.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3}))),iX=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}),k.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}),k.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),k.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5}))),iJ=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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.89
139003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),k.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}))),iZ=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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"}))),i0=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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"}))),i1=oe(({title:e,titleId:t,...n})=>k.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?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),k.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),k.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}),k.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),k.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"}))),i2=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),k.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),k.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}),k.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}))),i3=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),k.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}))),i5=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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.8254
1396 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"}))),i4=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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"}))),i6=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.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}))),i9=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"}))),i8=oe(({title:e,titleId:t,...n})=>k.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?k.createElement("title",{id:t},e):null,k.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:"
139currentColor",strokeWidth:.25,stroke:"currentColor"}))),i7=oe(({title:e,titleId:t,...n})=>k.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?k.createElement("title",{id:t},e):null,k.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),k.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})));function oe(e){let t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon",n=n=>{let r,i=(0,_.c)(2);return i[0]!==n?(r=(0,C.jsx)(e,{title:t,...n}),i[0]=n,i[1]=r):r=i[1],r};return n.displayName=e.name,n}let ot=e=>!!(e&&e.getVelocity),on=()=>{},or=()=>{},oi=(0,k.createContext)(null);function oo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function os(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function oa(e,t,n,r){if("function"==typeof t){let[i,o]=os(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=os(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function ol(e,t,n){let r=e.getProps();return oa(r,t,void 0!==n?n:r.custom,e)}function ou(e,t){return e?.[t]??e?.default??e}let oc=e=>e,od={},op=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],of={value:null,addProjectionMetrics:null};function oh(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=op.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,o=!1)=>{let 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=>{if(a=e,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&of.value&&of.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:p,render:f,postRender:h}=s,m=()=>{let o=od.useManualTiming?i.timestamp:performance.now();n=!1,od.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),p.process(i),f.process(i),h.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:op.reduce((t,o)=>{let 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<op.length;t++)s[op[t]].cancel(e)},state:i,steps:s}}let{schedule:om,cancel:og,state:ov,steps:oy}=oh("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:oc,!0),ob=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oE=new Set(ob),ox=new Set(["width","height","top","left","right","bottom",...ob]);function oT(e,t){-1===e.indexOf(t)&&e.push(t)}function ow(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class oC{constructor(){this.subscriptions=[]}add(e){return oT(this.subscriptions,e),()=>ow(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function o_(){r=void 0}let ok={now:()=>(void 0===r&&ok.set(ov.isProcessing||od.useManualTiming?ov.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(o_)}},oS={current:void 0};class oN{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=ok.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(let 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){this.current=e,this.updatedAt=ok.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}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 oC);let n=this.events[e].add(t);return"change"===e?()=>{n(),om.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let 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)}
139setWithVelocity(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 oS.current&&oS.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=ok.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}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 oA(e,t){return new oN(e,t)}let oD=e=>Array.isArray(e);function oI(e,t){let n=e.getValue("willChange");if(ot(n)&&n.add)return n.add(t);if(!n&&od.WillChange){let n=new od.WillChange("auto");e.addValue("willChange",n),n.add(t)}}let oO=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oF="data-"+oO("framerAppearId"),oR=(e,t)=>n=>t(e(n)),oL=(...e)=>e.reduce(oR),oM=(e,t,n)=>n>t?t:n<e?e:n,oP=e=>1e3*e,oj={layout:0,mainThread:0,waapi:0},oV=e=>t=>"string"==typeof t&&t.startsWith(e),o$=oV("--"),oB=oV("var(--"),oU=e=>!!oB(e)&&oq.test(e.split("/*")[0].trim()),oq=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,oz={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},oH={...oz,transform:e=>oM(0,1,e)},oW={...oz,default:1},oY=e=>Math.round(1e5*e)/1e5,oG=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,oK=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,oQ=(e,t)=>n=>!!("string"==typeof n&&oK.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),oX=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,o,s,a]=r.match(oG);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},oJ={...oz,transform:e=>Math.round(oM(0,255,e))},oZ={test:oQ("rgb","red"),parse:oX("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+oJ.transform(e)+", "+oJ.transform(t)+", "+oJ.transform(n)+", "+oY(oH.transform(r))+")"},o0={test:oQ("#"),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:oZ.transform},o1=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o2=o1("deg"),o3=o1("%"),o5=o1("px"),o4=o1("vh"),o6=o1("vw"),o9={...o3,parse:e=>o3.parse(e)/100,transform:e=>o3.transform(100*e)},o8={test:oQ("hsl","hue"),parse:oX("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+o3.transform(oY(t))+", "+o3.transform(oY(n))+", "+oY(oH.transform(r))+")"},o7={test:e=>oZ.test(e)||o0.test(e)||o8.test(e),parse:e=>oZ.test(e)?oZ.parse(e):o8.test(e)?o8.parse(e):o0.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?oZ.transform(e):o8.transform(e),getAnimatableNone:e=>{let t=o7.parse(e);return t.alpha=0,o7.transform(t)}},se=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,st="number",sn="color",sr=/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 si(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,s=t.replace(sr,e=>(o7.test(e)?(r.color.push(o),i.push(sn),n.push(o7.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(st),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function so(e){return si(e).values}function ss(e){let{split:t,types:n}=si(e),r=t.length;return e=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],void 0!==e[o]){let t=n[o];t===st?i+=oY(e[o]):t===sn?i+=o7.transform(e[o]):i+=e[o]}return i}}let sa=e=>"number"==typeof e?0:o7.test(e)?o7.getAnimatableNone(e):e,sl={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(oG)?.length||0)+(e.match(se)?.length||0)>0},parse:so,createTransformer:ss,getAnimatableNone:function(e){let t=so(e);return ss(e)(t.map(sa))}};function su(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sc(e,t){return n=>n>0?t:e}let sd=(e,t,n)=>e+(t-e)*n,sp=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},sf=[o0,oZ,o8];function sh(e){let t=sf.find(t=>t.test(e));if(on(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===o8&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=su(a,r,e+1/3),o=su(a,r,e),s=su(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}}(n)),n}let sm=(e,t)=>{let n=sh(e),r=sh(t);if(!n||!r)return sc(e,t);let i={...n};return e=>(i.red=sp(n.red,r.red,e),i.green=sp(n.green,r.green,e),i.blue=sp(n.blue,r.blue,e),i.alpha=sd(n.alpha,r.alpha,e),oZ.transform(i))},sg=new Set(["none","hidden"]);function sv(e,t){return n=>
139sd(e,t,n)}function sy(e){return"number"==typeof e?sv:"string"==typeof e?oU(e)?sc:o7.test(e)?sm:sx:Array.isArray(e)?sb:"object"==typeof e?o7.test(e)?sm:sE:sc}function sb(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>sy(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function sE(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=sy(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let sx=(e,t)=>{let n=sl.createTransformer(t),r=si(e),i=si(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?sg.has(e)&&!i.values.length||sg.has(t)&&!r.values.length?function(e,t){return sg.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):oL(sb(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let 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):(on(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),sc(e,t))};function sT(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?sd(e,t,n):sy(e)(e,t)}let sw=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>om.update(t,e),stop:()=>og(t),now:()=>ov.isProcessing?ov.timestamp:ok.now()}},sC=(e,t,n=10)=>{let r="",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)})`};function s_(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function sk(e,t,n){var r,i;let o=Math.max(t-5,0);return r=n-e(o),(i=t-o)?1e3/i*r:0}let sS={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function sN(e,t){return e*Math.sqrt(1-t*t)}let sA=["duration","bounce"],sD=["stiffness","damping","mass"];function sI(e,t){return t.some(t=>void 0!==e[t])}function sO(e=sS.visualDuration,t=sS.bounce){let n,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:o}=r,s=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:s},{stiffness:u,damping:c,mass:d,duration:p,velocity:f,isResolvedFromDuration:h}=function(e){let t={velocity:sS.velocity,stiffness:sS.stiffness,damping:sS.damping,mass:sS.mass,isResolvedFromDuration:!1,...e};if(!sI(e,sD)&&sI(e,sA))if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*oM(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:sS.mass,stiffness:r,damping:i}}else{let n=function({duration:e=sS.duration,bounce:t=sS.bounce,velocity:n=sS.velocity,mass:r=sS.mass}){let i,o;on(e<=oP(sS.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=oM(sS.minDamping,sS.maxDamping,s),e=oM(sS.minDuration,sS.maxDuration,e/1e3),s<1?(i=t=>{let r=t*s,i=r*e;return .001-(r-n)/sN(t,s)*Math.exp(-i)},o=t=>{let r=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=sN(Math.pow(t,2),s);return(r*n+n-o)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=oP(e),isNaN(a))return{stiffness:sS.stiffness,damping:sS.damping,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:sS.mass}).isResolvedFromDuration=!0}return t}({...r,velocity:-((r.velocity||0)/1e3)}),m=f||0,g=c/(2*Math.sqrt(u*d)),v=a-s,y=Math.sqrt(u/d)/1e3,b=5>Math.abs(v);if(i||(i=b?sS.restSpeed.granular:sS.restSpeed.default),o||(o=b?sS.restDelta.granular:sS.restDelta.default),g<1){let e=sN(y,g);n=t=>a-Math.exp(-g*y*t)*((m+g*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)n=e=>a-Math.exp(-y*e)*(v+(m+y*v)*e);else{let e=y*Math.sqrt(g*g-1);n=t=>{let n=Math.exp(-g*y*t),r=Math.min(e*t,300);return a-n*((m+g*y*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}
139let E={calculatedDuration:h&&p||null,next:e=>{let t=n(e);if(h)l.done=e>=p;else{let r=0===e?m:0;g<1&&(r=0===e?oP(m):sk(n,e,t));let s=Math.abs(a-t)<=o;l.done=Math.abs(r)<=i&&s}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(s_(E),2e4),t=sC(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function sF({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}){let d,p,f=e[0],h={done:!1,value:f},m=n*t,g=f+m,v=void 0===s?g:s(g);v!==g&&(m=v-f);let y=e=>-m*Math.exp(-e/r),b=e=>v+y(e),E=e=>{let t=y(e),n=b(e);h.done=Math.abs(t)<=u,h.value=h.done?v:n},x=e=>{let t;if(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l){var n;d=e,p=sO({keyframes:[h.value,(n=h.value,void 0===a?l:void 0===l||Math.abs(a-n)<Math.abs(l-n)?a:l)],velocity:sk(b,e,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,E(e),x(e)),void 0!==d&&e>=d)?p.next(e-d):(t||E(e),h)}}}sO.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(s_(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:i/1e3}}(e,100,sO);return e.ease=t.ease,e.duration=oP(t.duration),e.type="keyframes",e};let sR=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function sL(e,t,n,r){return e===t&&n===r?oc:i=>0===i||1===i?i:sR(function(e,t,n,r,i){let o,s,a=0;do(o=sR(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s}(i,0,1,e,n),t,r)}let sM=sL(.42,0,1,1),sP=sL(0,0,.58,1),sj=sL(.42,0,.58,1),sV=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,s$=e=>t=>1-e(1-t),sB=sL(.33,1.53,.69,.99),sU=s$(sB),sq=sV(sU),sz=e=>(e*=2)<1?.5*sU(e):.5*(2-Math.pow(2,-10*(e-1))),sH=e=>1-Math.sin(Math.acos(e)),sW=s$(sH),sY=sV(sH),sG=e=>Array.isArray(e)&&"number"==typeof e[0],sK={linear:oc,easeIn:sM,easeInOut:sj,easeOut:sP,circIn:sH,circInOut:sY,circOut:sW,backIn:sU,backInOut:sq,backOut:sB,anticipate:sz},sQ=e=>{if(sG(e)){or(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,r,i]=e;return sL(t,n,r,i)}return"string"==typeof e?(or(void 0!==sK[e],`Invalid easing type '${e}'`,"invalid-easing-type"),sK[e]):e},sX=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r};function sJ(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if(or(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||od.mix||sT,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);t&&(o=oL(Array.isArray(t)?t[n]||oc:t,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++);let i=sX(e[r],e[r+1],n);return a[r](i)};return n?t=>u(oM(e[0],e[o-1],t)):u}function sZ({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(sQ):sQ(r),s={done:!1,value:t[0]},a=sJ((i=n&&n.length===t.length?n:function(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=sX(0,t,r);e.push(sd(n,1,i))}}(t,e.length-1),t}(t),i.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||sj).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=a(t),s.done=t>=e,s)}}let s0=e=>null!==e;function s1(e,{repeat:t,repeatType:n="loop"},r,i=1){let o=e.filter(s0),s=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}let s2={decay:sF,inertia:sF,tween:sZ,keyframes:sZ,spring:sO};function s3(e){"string"==typeof e.type&&(e.type=s2[e.type])}class s5{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)}}let s4=e=>e/100;class s6 extends s5{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==ok.now()&&this.tick(ok.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},oj.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;s3(e);let{type:t=sZ,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||sZ;a!==sZ&&"number"!=typeof s[0]&&(this.mixKeyframes=oL(s4,sT(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s}
139);"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=s_(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:p,type:f,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);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let y=this.currentTime,b=n;if(c){let e=Math.min(this.currentTime,r)/s,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,c+1))%2&&("reverse"===d?(n=1-n,p&&(n-=p/s)):"mirror"===d&&(b=o)),y=oM(0,
1391,n)*s}let E=v?{done:!1,value:u[0]}:b.next(y);i&&(E.value=i(E.value));let{done:x}=E;v||null===a||(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return T&&f!==sF&&(E.value=s1(u,this.options,m,this.speed)),h&&h(E.value),T&&this.finish(),E}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(e){e=oP(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(ok.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=sw,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let 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(ok.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,oj.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)}}let s9=e=>180*e/Math.PI,s8=e=>ae(s9(Math.atan2(e[1],e[0]))),s7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:s8,rotateZ:s8,skewX:e=>s9(Math.atan(e[1])),skewY:e=>s9(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ae=e=>((e%=360)<0&&(e+=360),e),at=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),an=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ar={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:at,scaleY:an,scale:e=>(at(e)+an(e))/2,rotateX:e=>ae(s9(Math.atan2(e[6],e[5]))),rotateY:e=>ae(s9(Math.atan2(-e[2],e[0]))),rotateZ:s8,rotate:s8,skewX:e=>s9(Math.atan(e[4])),skewY:e=>s9(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ai(e){return+!!e.includes("scale")}function ao(e,t){let n,r;if(!e||"none"===e)return ai(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=ar,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=s7,r=t}if(!r)return ai(t);let o=n[t],s=r[1].split(",").map(as);return"function"==typeof o?o(s):s[o]}function as(e){return parseFloat(e.trim())}let aa=e=>e===oz||e===o5,al=new Set(["x","y","z"]),au=ob.filter(e=>!al.has(e)),ac={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})=>ao(t,"x"),y:(e,{transform:t})=>ao(t,"y")};ac.translateX=ac.x,ac.translateY=ac.y;let ad=new Set,ap=!1,af=!1,ah=!1;function am(){if(af){let e=Array.from(ad).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return au.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}
139),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}af=!1,ap=!1,ad.forEach(e=>e.complete(ah)),ad.clear()}function ag(){ad.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(af=!0)})}class av{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?(ad.add(this),ap||(ap=!0,om.read(ag),om.resolveKeyframes(am))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let 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])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ad.delete(this)}cancel(){"scheduled"===this.state&&(ad.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function ay(e){let t;return()=>(void 0===t&&(t=e()),t)}let ab=ay(()=>void 0!==window.ScrollTimeline),aE={},ax=function(e,t){let n=ay(e);return()=>aE[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
139,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),aT=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,aw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:aT([0,.65,.55,1]),circOut:aT([.55,0,1,.45]),backIn:aT([.31,.01,.66,-.59]),backOut:aT([.33,1.53,.69,.99])};function aC(e){return"function"==typeof e&&"applyToOptions"in e}class a_ extends s5{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,or("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:e,...t}){return aC(e)&&ax()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[t]:n};l&&(c.offset=l);let d=function e(t,n){if(t)return"function"==typeof t?ax()?sC(t,n):"ease-out":sG(t)?aT(t):Array.isArray(t)?t.map(t=>e(t,n)||aw.easeOut):aw[t]}(a,i);Array.isArray(d)&&(c.easing=d),of.value&&oj.waapi++;let p={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(p.pseudoElement=u);let f=e.animate(c,p);return of.value&&f.finished.finally(()=>{oj.waapi--}),f}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=s1(r,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){t.startsWith("--")?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;let{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(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.finishedTime=null,this.animation.currentTime=oP(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&&ab())?(this.animation.timeline=e,oc):t(this)}}let ak={anticipate:sz,backInOut:sq,circInOut:sY};class aS extends a_{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ak&&(e.ease=ak[e.ease])}(e),s3(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new s6({...o,autoplay:!1}),a=oP(this.finishedTime??this.time);t.setWithVelocity(s.sample(a-10).value,s.sample(a).value,10),s.stop()}}let aN=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(sl.test(e)||"0"===e)&&!e.startsWith("url("));function aA(e){return"object"==typeof e&&null!==e}function aD(e){return aA(e)&&"offsetHeight"in e}let aI=new Set(["opacity","clipPath","filter","transform"]),aO=ay(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class aF extends s5{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=ok.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:
139o,name:a,motionValue:l,element:u,...c},p=u?.KeyframeResolver||av;this.keyframeResolver=new p(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;let{name:i,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:u}=n;this.resolvedAt=ok.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=aN(i,t),a=aN(o,t);return on(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let 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||aC(n))&&r)}(e,i,o,s)&&((od.instantAnimations||!a)&&u?.(s1(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);let 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){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!aD(t?.owner?.current))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return aO()&&n&&aI.has(n)&&("transform"!==n||!l)&&!a&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(c)?new aS({...c,element:c.motionValue.owner.current}):new s6(c);d.finished.then(()=>this.notifyFinished()).catch(oc),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(),ah=!0,ag(),am(),ah=!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()}}let aR=e=>null!==e,aL={type:"spring",stiffness:500,damping:25,restSpeed:10},aM={type:"keyframes",duration:.8},aP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aj=(e,t,n,r={},i,o)=>s=>{let a=ou(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=oP(l);let 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?aM:oE.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aL:aP)(e,c)),c.duration&&(c.duration=oP(c.duration)),c.repeatDelay&&(c.repeatDelay=oP(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)),(od.instantAnimations||od.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(aR),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[o]}(c.keyframes,a);if(void 0!==e)return void om.update(()=>{c.onUpdate(e),c.onComplete()})}return a.isSync?new s6(c):new aF(c)};function aV(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);let l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||u&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(u,t))continue;let s={delay:n,...ou(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){let n=e.props[oF];if(n){let e=window.MotionHandoffAnimation(n,t,om);null!==e&&(s.startTime=e,d=!0)}}oI(e,t),r.start(aj(t,r,i,e.shouldReduceMotion&&ox.has(t)?{type:!1}:s,e,d));let p=r.animation;p&&l.push(p)}return s&&Promise.all(l).then(()=>{om.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=ol(e,t)||{};for(let t in i={...i,...n}){var o;let n=oD(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,oA(n))}}(e,s)})}),l}function a$(e,t,n={}){let r=ol(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(aV(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=0,o=1,s){let 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;
139return Array.from(e.variantChildren).sort(aB).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(a$(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)return Promise.all([o(),s(n.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}function aB(e,t){return e.sortNodePosition(t)}function aU(e,t){if(!Array.isArray(t))return!1;let 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 aq(e){return"string"==typeof e||Array.isArray(e)}let az=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],aH=["initial",...az],aW=aH.length,aY=[...az].reverse(),aG=az.length;function aK(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aQ(){return{animate:aK(!0),whileInView:aK(),whileHover:aK(),whileTap:aK(),whileDrag:aK(),whileFocus:aK(),exit:aK()}}class aX{constructor(e){this.isMounted=!1,this.node=e}update(){}}class aJ extends aX{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>a$(e,t,n)));else if("string"==typeof t)r=a$(e,t,n);else{let i="function"==typeof t?ol(e,t,n.custom):t;r=Promise.all(aV(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=aQ(),r=!0,i=t=>(n,r)=>{let i=ol(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(o){let{props:s}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<aW;e++){let r=aH[e],i=t.props[r];(aq(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<aG;t++){var p,f;let h=aY[t],m=n[h],g=void 0!==s[h]?s[h]:a[h],v=aq(g),y=h===o?m.isActive:null;!1===y&&(d=t);let b=g===a[h]&&g!==s[h]&&v;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===y||!g&&!m.prevProp||oo(g)||"boolean"==typeof g)continue;let E=(p=m.prevProp,"string"==typeof(f=g)?f!==p:!!Array.isArray(f)&&!aU(f,p)),x=E||h===o&&m.isActive&&!b&&v||t>d&&v,T=!1,w=Array.isArray(g)?g:[g],C=w.reduce(i(h),{});!1===y&&(C={});let{prevResolvedValues:_={}}=m,k={..._,...C},S=t=>{x=!0,u.has(t)&&(T=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in k){let t=C[e],n=_[e];if(!c.hasOwnProperty(e))(oD(t)&&oD(n)?aU(t,n):t===n)?void 0!==t&&u.has(e)?S(e):m.protectedKeys[e]=!0:null!=t?S(e):u.add(e)}m.prevProp=g,m.prevResolvedValues=C,m.isActive&&(c={...c,...C}),r&&e.blockInitialAnimation&&(x=!1);let N=!(b&&E)||T;x&&N&&l.push(...w.map(e=>({animation:e,options:{type:h}})))}if(u.size){let t={};if("boolean"!=typeof s.initial){let n=ol(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let h=!!l.length;return r&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?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;let i=o(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=aQ(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();oo(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let aZ=0;class a0 extends aX{constructor(){super(...arguments),this.id=aZ++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
139{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let a1={x:!1,y:!1};function a2(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let a3=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function a5(e){return{point:{x:e.pageX,y:e.pageY}}}function a4(e,t,n,r){return a2(e,t,e=>a3(e)&&n(e,a5(e)),r)}function a6({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function a9(e){return e.max-e.min}function a8(e,t,n,r=.5){e.origin=r,e.originPoint=sd(t.min,t.max,e.origin),e.scale=a9(n)/a9(t),e.translate=sd(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 a7(e,t,n,r){a8(e.x,t.x,n.x,r?r.originX:void 0),a8(e.y,t.y,n.y,r?r.originY:void 0)}function le(e,t,n){e.min=n.min+t.min,e.max=e.min+a9(t)}function lt(e,t,n){e.min=t.min-n.min,e.max=e.min+a9(t)}
139function ln(e,t,n){lt(e.x,t.x,n.x),lt(e.y,t.y,n.y)}let lr=()=>({translate:0,scale:1,origin:0,originPoint:0}),li=()=>({x:lr(),y:lr()}),lo=()=>({min:0,max:0}),ls=()=>({x:lo(),y:lo()});function la(e){return[e("x"),e("y")]}function ll(e){return void 0===e||1===e}function lu({scale:e,scaleX:t,scaleY:n}){return!ll(e)||!ll(t)||!ll(n)}function lc(e){return lu(e)||ld(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ld(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function lp(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function lf(e,t=0,n=1,r,i){e.min=lp(e.min,t,n,r,i),e.max=lp(e.max,t,n,r,i)}function lh(e,{x:t,y:n}){lf(e.x,t.translate,t.scale,t.originPoint),lf(e.y,n.translate,n.scale,n.originPoint)}function lm(e,t){e.min=e.min+t,e.max=e.max+t}function lg(e,t,n,r,i=.5){let o=sd(e.min,e.max,i);lf(e,t,n,o,r)}function lv(e,t){lg(e.x,t.x,t.scaleX,t.scale,t.originX),lg(e.y,t.y,t.scaleY,t.scale,t.originY)}function ly(e,t){return a6(function(e,t){if(!t)return e;let 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))}let lb=({current:e})=>e?e.ownerDocument.defaultView:null;function lE(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let lx=(e,t)=>Math.abs(e-t);class lT{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;let e=l_(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){return Math.sqrt(lx(e.x,t.x)**2+lx(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=ov;this.history.push({...r,timestamp:i});let{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=lw(t,this.transformPagePoint),om.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=l_("pointercancel"===e.type?this.lastMoveEventInfo:lw(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!a3(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;let s=lw(a5(e),this.transformPagePoint),{point:a}=s,{timestamp:l}=ov;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,l_(s,this.history)),this.removeListeners=oL(a4(this.contextWindow,"pointermove",this.handlePointerMove),a4(this.contextWindow,"pointerup",this.handlePointerUp),a4(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),og(this.updatePoint)}}function lw(e,t){return t?{point:t(e.point)}:e}function lC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function l_({point:e},t){return{point:e,delta:lC(e,lk(t)),offset:lC(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=lk(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>oP(.1)));)n--;if(!r)return{x:0,y:0};let o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let 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}(t,.1)}}function lk(e){return e[e.length-1]}function lS(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 lN(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}}function lA(e,t,n){return{min:lD(e,t),max:lD(e,n)}}function lD(e,t){return"number"==typeof e?e:e[t]||0}let lI=new WeakMap;class lO{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=ls(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let i=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(a5(e).point)},o=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
139y"===e)if(a1[e])return null;else return a1[e]=!0,()=>{a1[e]=!1};return a1.x||a1.y?null:(a1.x=a1.y=!0,()=>{a1.x=a1.y=!1})}(n),!this.openDragLock))return;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),la(e=>{let t=this.getAxisMotionValue(e).get()||0;if(o3.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=a9(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&om.postRender(()=>i(e,t)),oI(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=t;if(r&&null===this.currentDirection){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),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>la(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new lT(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:n,contextWindow:lb(this.visualElement)})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&om.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!lF(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),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?sd(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?sd(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{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&&lE(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:lS(e.x,n,i),y:lS(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:lA(e,"left","right"),y:lA(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&la(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let 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(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!lE(t))return!1;let r=t.current;or(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=ly(e,n),{scroll:i}=t;return i&&(lm(r.x,i.offset.x),lm(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:lN(e.x,o.x),y:lN(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=a6(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(la(s=>{if(!lF(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return oI(this.visualElement,e),n.start(aj(e,n,0,t,this.visualElement,!1))}stopAnimation(){la(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){la(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let 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){la(t=>{let{drag:n}=this.getProps();if(!lF(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-sd(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!lE(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};la(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=a9(e),i=a9(t);return i>r?n=sX(t.min,t.max-r,e.min):r>i&&(n=sX(e.min,e.max-i,t.min)),oM(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),la(t=>{if(!lF(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(sd(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;lI.set(this.visualElement,this);let e=a4(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
139=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();lE(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()),om.read(t);let i=a2(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(la(t=>{let 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(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function lF(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class lR extends aX{constructor(e){super(e),this.removeGroupControls=oc,this.removeListeners=oc,this.controls=new lO(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||oc}unmount(){this.removeGroupControls(),this.removeListeners()}}let lL=e=>(t,n)=>{e&&om.postRender(()=>e(t,n))};class lM extends aX{constructor(){super(...arguments),this.removePointerDownListener=oc}onPointerDown(e){this.session=new lT(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lb(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:lL(e),onStart:lL(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&om.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=a4(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let{schedule:lP}=oh(queueMicrotask,!1),lj=(0,k.createContext)(null),lV=(0,k.createContext)({}),l$=(0,k.createContext)({}),lB={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lU(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let lq={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!o5.test(e))return e;else e=parseFloat(e);let n=lU(e,t.target.x),r=lU(e,t.target.y);return`${n}% ${r}%`}},lz={},lH=!1;class lW extends k.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;for(let e in lG)lz[e]=lG[e],o$(e)&&(lz[e].isCSSVariable=!0);i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),lH&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),lB.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o&&(o.isPresent=i,lH=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||om.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),lP.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{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(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function lY(e){let[t,n]=function(e=!0){let t=(0,k.useContext)(lj);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,o=(0,k.useId)();(0,k.useEffect)(()=>{if(e)return i(o)},[e]);let s=(0,k.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}(),r=(0,k.useContext)(lV);return(0,C.jsx)(lW,{...e,layoutGroup:r,switchLayoutGroup:(0,k.useContext)(l$),isPresent:t,safeToRemove:n})}let lG={borderRadius:{...lq,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:lq,borderTopRightRadius:lq,borderBottomLeftRadius:lq,borderBottomRightRadius:lq,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=sl.parse(e);if(r.length>5)return e;let i=sl.createTransformer(e),o=+("number"!=typeof r[0]),s=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=s,r[1+o]/=a;let l=sd(s,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}};function lK(e){return aA(e)&&"ownerSVGElement"in e}let lQ=(e,t)=>e.depth-t.depth;class lX{constructor(){this.children=[],this.isDirty=!1}add(e){oT(this.children,e),this.isDirty=!0}remove(e){ow(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(lQ),this.isDirty=!1,this.children.forEac
139h(e)}}function lJ(e){return ot(e)?e.get():e}let lZ=["TopLeft","TopRight","BottomLeft","BottomRight"],l0=lZ.length,l1=e=>"string"==typeof e?parseFloat(e):e,l2=e=>"number"==typeof e||o5.test(e);function l3(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let l5=l6(0,.5,sW),l4=l6(.5,.95,oc);function l6(e,t,n){return r=>r<e?0:r>t?1:n(sX(e,t,r))}function l9(e,t){e.min=t.min,e.max=t.max}function l8(e,t){l9(e.x,t.x),l9(e.y,t.y)}function l7(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function ue(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function ut(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(o3.test(t)&&(t=parseFloat(t),t=sd(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=sd(o.min,o.max,r);e===o&&(a-=t),e.min=ue(e.min,t,n,a,i),e.max=ue(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}let un=["x","scaleX","originX"],ur=["y","scaleY","originY"];function ui(e,t,n,r){ut(e.x,t,un,n?n.x:void 0,r?r.x:void 0),ut(e.y,t,ur,n?n.y:void 0,r?r.y:void 0)}function uo(e){return 0===e.translate&&1===e.scale}function us(e){return uo(e.x)&&uo(e.y)}function ua(e,t){return e.min===t.min&&e.max===t.max}function ul(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function uu(e,t){return ul(e.x,t.x)&&ul(e.y,t.y)}function uc(e){return a9(e.x)/a9(e.y)}function ud(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class up{constructor(){this.members=[]}add(e){oT(this.members,e),e.scheduleRender()}remove(e){if(ow(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let 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);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{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)}}let uf={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},uh=["","X","Y","Z"],um=0;function ug(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function uv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=um++,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,of.value&&(uf.nodes=uf.calculatedTargetDeltas=uf.calculatedProjections=0),this.nodes.forEach(uE),this.nodes.forEach(uS),this.nodes.forEach(uN),this.nodes.forEach(ux),of.addProjectionMetrics&&of.addProjectionMetrics(uf)},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 lX)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new oC),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=lK(t)&&!(lK(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;om.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=ok.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&(og(r),e(i-250))};return om.setup(r,!0),()=>og(r)}(i,250),lB.hasAnimatedSinceResize&&(lB.hasAnimatedSinceResize=!1,this.nodes.forEac
139h(uk)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||uR,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!uu(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);let t={...ou(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||uk(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),og(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(uA),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[oF];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",om,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(uw);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(uC);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(u_),this.nodes.forEach(uy),this.nodes.forEach(ub)):this.nodes.forEach(uC),this.clearAllSnapshots();let e=ok.now();ov.delta=oM(0,1e3/60,e-ov.timestamp),ov.timestamp=e,ov.isProcessing=!0,oy.update.process(ov),oy.preRender.process(ov),oy.render.process(ov),ov.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uT),this.sharedNodes.forEach(uD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,om.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){om.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||a9(this.snapshot.measuredBox.x)||a9(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(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();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ls(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let 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;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!us(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||lc(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),uP((t=r).x),uP(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ls();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(uV))){let{scroll:e}=this.root;e&&(lm(t.x,e.offset.x),lm(t.y,e.offset.y))}return t}removeElementScroll(e){let t=ls();if(l8(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&l8(t,e),lm(t.x,i.offset.x),lm(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=ls();l8(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&lv(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),lc(r.latestValues)&&lv(n,r.latestValues)}return lc(this.latestValues)&&lv(n,this.latestValues),n}removeTransform(e){let t=ls();l8(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!lc(n.latestValues))continue;lu(n.latestValues)&&n.updateSnapshot();let r=ls();l8(r,n.measurePageBox()),ui(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return lc(this.latestValues)&&ui(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!==ov.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
139isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=ov.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ls(),this.relativeTargetOrigin=ls(),ln(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),l8(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=ls(),this.targetWithTransforms=ls()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,s,a;this.forceRelativeParentToResolveTarget(),o=this.target,s=this.relativeTarget,a=this.relativeParent.target,le(o.x,s.x,a.x),le(o.y,s.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):l8(this.target,this.layout.layoutBox),lh(this.target,this.targetDelta)):l8(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ls(),this.relativeTargetOrigin=ls(),ln(this.relativeTargetOrigin,this.target,e.target),l8(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}of.value&&uf.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||lu(this.parent.latestValues)||ld(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===ov.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;l8(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let i,o,s=n.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&lv(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,lh(e,o)),r&&lc(i.latestValues)&&lv(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(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=ls());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(l7(this.prevProjectionDelta.x,this.projectionDelta.x),l7(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),a7(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&ud(this.projectionDelta.x,this.prevProjectionDelta.x)&&ud(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),of.value&&uf.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=li(),this.projectionDelta=li(),this.projectionDeltaWithTransform=li()}setAnimationOrigin(e,t=!1){let n,r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=li();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=ls(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(uF));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(uI(s.x,e.x,r),uI(s.y,e.y,r),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,f,h,m,g;ln(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,h=this.relativeTargetOrigin,m=a,g=r,uO(f.x,h.x,m.x,g),uO(f.y,h.y,m.y,g),n&&(u=this.relativeTarget,p=n,ua(u.x,p.x)&&ua(u.
139y,p.y))&&(this.isProjectionDirty=!1),n||(n=ls()),l8(n,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=sd(0,n.opacity??1,l5(r)),e.opacityExit=sd(t.opacity??1,0,l4(r))):o&&(e.opacity=sd(t.opacity??1,n.opacity??1,r));for(let i=0;i<l0;i++){let o=`border${lZ[i]}Radius`,s=l3(t,o),a=l3(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||l2(s)===l2(a)?(e[o]=Math.max(sd(l1(s),l1(a),r),0),(o3.test(a)||o3.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=sd(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(og(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=om.update(()=>{lB.hasAnimatedSinceResize=!0,oj.layout++,this.motionValue||(this.motionValue=oA(0)),this.currentAnimation=function(e,t,n){let r=ot(e)?e:oA(e);return r.start(aj("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{oj.layout--},onComplete:()=>{oj.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);let 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(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&uj(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||ls();let t=a9(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=a9(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}l8(t,n),lv(t,i),a7(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new up),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&ug("z",e,r,this.animationValues);for(let t=0;t<uh.length;t++)ug(`rotate${uh[t]}`,e,r,this.animationValues),ug(`skew${uh[t]}`,e,r,this.animationValues);for(let t in e.render(),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){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=lJ(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=lJ(t?.pointerEvents)||""),this.hasProjected&&!lc(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();
139let o=function(e,t,n){let r="",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){let{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) `)}let 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;let{x:s,y:a}=this.projectionDelta;for(let t in 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,lz){if(void 0===i[t])continue;let{correct:n,applyTo:s,isCSSVariable:a}=lz[t],l="none"===o?i[t]:n(i[t],r);if(s){let 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?lJ(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(uw),this.root.sharedNodes.clear()}}}function uy(e){e.updateLayout()}function ub(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?la(e=>{let r=o?t.measuredBox[e]:t.layoutBox[e],i=a9(r);r.min=n[e].min,r.max=r.min+i}):uj(i,t.layoutBox,n)&&la(r=>{let i=o?t.measuredBox[r]:t.layoutBox[r],s=a9(n[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});let s=li();a7(s,n,t.layoutBox);let a=li();o?a7(a,e.applyTransform(r,!0),t.measuredBox):a7(a,n,t.layoutBox);let l=!us(s),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=ls();ln(s,t.layoutBox,i.layoutBox);let a=ls();ln(a,n,o.layoutBox),uu(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()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function uE(e){of.value&&uf.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ux(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uT(e){e.clearSnapshot()}function uw(e){e.clearMeasurements()}function uC(e){e.isLayoutDirty=!1}function u_(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function uk(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uS(e){e.resolveTargetDelta()}function uN(e){e.calcProjection()}function uA(e){e.resetSkewAndRotation()}function uD(e){e.removeLeadSnapshot()}function uI(e,t,n){e.translate=sd(t.translate,0,n),e.scale=sd(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uO(e,t,n,r){e.min=sd(t.min,n.min,r),e.max=sd(t.max,n.max,r)}function uF(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let uR={duration:.45,ease:[.4,0,.1,1]},uL=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),uM=uL("applewebkit/")&&!uL("chrome/")?Math.round:oc;function uP(e){e.min=uM(e.min),e.max=uM(e.max)}function uj(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(uc(t)-uc(n)))}function uV(e){return e!==e.root&&e.scroll?.wasRoot}let u$=uv({attachResizeListener:(e,t)=>a2(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),uB={current:void 0},uU=uv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!uB.current){let e=new u$({});e.mount(window),e.setOptions({layoutScroll:!0}),uB.current=e}return uB.current},resetTransform:(e,t)=>
139{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function uq(e,t){let n=function(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,n=(void 0)??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 uz(e){return!("touch"===e.pointerType||a1.x||a1.y)}function uH(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&om.postRender(()=>i(t,a5(t)))}class uW extends aX{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=uq(e,n),s=e=>{if(!uz(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let o=e=>{uz(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)=>(uH(this.node,t,"Start"),e=>uH(this.node,e,"End"))))}unmount(){}}class uY extends aX{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=oL(a2(this.node.current,"focus",()=>this.onFocus()),a2(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let uG=(e,t)=>!!t&&(e===t||uG(e,t.parentElement)),uK=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),uQ=new WeakSet;function uX(e){return t=>{"Enter"===t.key&&e(t)}}function uJ(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function uZ(e){return a3(e)&&!(a1.x||a1.y)}function u0(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&om.postRender(()=>i(t,a5(t)))}class u1 extends aX{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=uq(e,n),s=e=>{let r=e.currentTarget;if(!uZ(e))return;uQ.add(r);let o=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),uQ.has(r)&&uQ.delete(r),uZ(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,r===window||r===document||n.useGlobalTarget||uG(r,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),aD(e))&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=uX(()=>{if(uQ.has(n))return;uJ(n,"down");let e=uX(()=>{uJ(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>uJ(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),uK.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(u0(this.node,t,"Start"),(e,{success:t})=>u0(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let u2=new WeakMap,u3=new WeakMap,u5=e=>{let t=u2.get(e.target);t&&t(e)},u4=e=>{e.forEach(u5)},u6={some:0,all:1};class u9 extends aX{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{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:u6[r]},s=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)};var a=this.node.current;let l=function({root:e,...t}){let n=e||document;u3.has(n)||u3.set(n,{});let r=u3.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(u4,{root:e,...t})),r[i]}(o);return u2.set(a,s),l.observe(a),()=>{u2.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{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(){}}let u8=(0,k.createContext)({strict:!1}),u7=(0,k.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ce=(0,k.createContext)({});function ct(e){return oo(e.animate)||aH.some(t=>aq(e[t]))}function cn(e){return!!(ct(e)||e.variants)}function cr(e){return Array.isArray(e)?e.join(" "):e}let ci="undefined"!=typeof window,co={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"]},cs={};for(let e in co)cs[e]={isEnabled:t=>co[e].some(e=>!!t[e])};let ca=Symbol.for("motionComponentSymbol"),cl=ci?k.useLayoutEffect:k.useEffect;function cu(e,{layout:t,layoutId:n}){return oE.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!lz[e]||"opacity"===e)}let cc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,cd={...oz,transform:Math.round},cp={borderWidth:o5,borderTopWidth:o5,borderRightWidth:o5,borderBottomWidth:o5,borderLeftWidth:o5,borderRadius:o5,radius:o5,borderTopLeftRadius:o5,borderTopRightRadius:o5,borderBottomRightRadius:o5,borderBottomLeftRadius:o5,width:o5,maxWidth:o5,height:o5,maxHeight:o5,top:o5,right:o5,bottom:o5,left:o5,padding:o5,paddingTop:o5,paddingRight:o5,paddingBottom:o5,paddingLeft:o5,margin:o5,marginTop:o5,marginRight:o5,marginBottom:o5,marginLeft:o5,backgroundPositionX:o5,backgroundPositionY:o5,rotate:o2,rotateX:o2,rotateY:o2,rotateZ:o2,scale:oW,scaleX:oW,scaleY:oW,scaleZ:oW,skew:o2,skewX:o2,skewY:o2,distance:o5,translateX:o5,translateY:o5,translateZ:o5,x:o5,y:o5,z:o5,perspective:o5,transformPerspective:o5,opacity:oH,originX:o9,originY:o9,originZ:o5,zIndex:cd,fillOpacity:oH,strokeOpacity:oH,numOctaves:cd},cf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ch=ob.length;function cm(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let e in t){let n=t[e];if(oE.has(e)){s=!0;continue}if(o$(e)){i[e]=n;continue}{let t=cc(n,cp[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<ch;o++){let s=ob[o],a=e[s];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!s.startsWith("scale"):0===parseFloat(a))||n){let e=cc(a,cp[s]);if(!l){i=!1;let t=cf[s]||s;r+=`${t}(${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){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}let cg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cv(e,t,n){for(let r in t)ot(t[r])||cu(r,n)||(e[r]=t[r])}let cy={offset:"stroke-dashoffset",array:"stroke-dasharray"},cb={offset:"strokeDashoffset",array:"strokeDasharray"};function cE(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a}
139,l,u,c){if(cm(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p}=e;d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.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;let o=i?cy:cb;e[o.offset]=o5.transform(-r);let s=o5.transform(t),a=o5.transform(n);e[o.array]=`${s} ${a}`}(d,i,o,s,!1)}let cx=()=>({...cg(),attrs:{}}),cT=e=>"string"==typeof e&&"svg"===e.toLowerCase(),cw=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 cC(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||cw.has(e)}let c_=e=>!cC(e);try{!function(e){"function"==typeof e&&(c_=t=>t.startsWith("on")?!cC(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}let ck=["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 cS(e){if("string"!=typeof e||e.includes("-"));else if(ck.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function cN(e){let t=(0,k.useRef)(null);return null===t.current&&(t.current=e()),t.current}let cA=e=>(t,n)=>{let r=(0,k.useContext)(ce),i=(0,k.useContext)(lj),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=lJ(o[e]);let{initial:s,animate:a}=e,l=ct(e),u=cn(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,d=(c=c||!1===s)?a:s;if(d&&"boolean"!=typeof d&&!oo(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=oa(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,r,i,e),renderState:t()}})(e,t,r,i);return n?o():cN(o)};function cD(e,t,n){let{style:r}=e,i={};for(let o in r)(ot(r[o])||t.style&&ot(t.style[o])||cu(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(i[o]=r[o]);return i}let cI={useVisualState:cA({scrapeMotionValuesFromProps:cD,createRenderState:cg})};function cO(e,t,n){let r=cD(e,t,n);for(let n in e)(ot(e[n])||ot(t[n]))&&(r[-1!==ob.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}let cF={useVisualState:cA({scrapeMotionValuesFromProps:cO,createRenderState:cx})},cR=e=>t=>t.test(e),cL=[oz,o5,o3,o2,o6,o4,{test:e=>"auto"===e,parse:e=>e}],cM=e=>cL.find(cR(e)),cP=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),cj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,cV=e=>/^0[^.\s]+$/u.test(e),c$=new Set(["brightness","contrast","saturate","opacity"]);function cB(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(oG)||[];if(!r)return e;let i=n.replace(r,""),o=+!!c$.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let cU=/\b([a-z-]*)\(.*?\)/gu,cq={...sl,getAnimatableNone:e=>{let t=e.match(cU);return t?t.map(cB).join(" "):e}},cz={...cp,color:o7,backgroundColor:o7,outlineColor:o7,fill:o7,stroke:o7,borderColor:o7,borderTopColor:o7,borderRightColor:o7,borderBottomColor:o7,borderLeftColor:o7,filter:cq,WebkitFilter:cq},cH=e=>cz[e];function cW(e,t){let n=cH(e);return n!==cq&&(n=sl),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let cY=new Set(["auto","none","0"]);class cG extends av{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{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&&oU(r=r.trim())){let i=function e(t,n,r=1){or(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=cj.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let e=s.trim();return cP(e)?parseFloat(e):e}return oU(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}
139if(this.resolveNoneKeyframes(),!ox.has(n)||2!==e.length)return;let[r,i]=e,o=cM(r),s=cM(i);if(o!==s)if(aa(o)&&aa(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else ac[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||cV(r)))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!cY.has(t)&&si(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=cW(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ac[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=ac[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
139h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let cK=[...cL,o7,sl],cQ={current:null},cX={current:!1},cJ=new WeakMap,cZ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class c0{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=av,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=()=>{let e=ok.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,om.render(this.render,!1,!0))};let{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=!!i,this.isControllingVariants=ct(t),this.isVariantNode=cn(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&ot(t)&&t.set(a[e],!1)}}mount(e){this.current=e,cJ.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)),cX.current||function(){if(cX.current=!0,ci)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cQ.current=e.matches;e.addEventListener("change",t),t()}else cQ.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||cQ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),og(this.notifyUpdate),og(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=oE.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&om.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),n&&n(),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 cs){let t=cs[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let 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):ls()}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<cZ.length;t++){let n=cZ[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(ot(i))e.addValue(r,i);else if(ot(o))e.addValue(r,oA(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,oA(void 0!==t?t:i,{owner:e}))}}for(let 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}
139addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let 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);let 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=oA(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];if(null!=n){if("string"==typeof n&&(cP(n)||cV(n)))n=parseFloat(n);else{let r;r=n,!cK.find(cR(r))&&sl.test(t)&&(n=cW(e,t))}this.setBaseTarget(e,ot(n)?n.get():n)}return ot(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=oa(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||ot(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new oC),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class c1 extends c0{constructor(){super(...arguments),this.KeyframeResolver=cG}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);let{children:e}=this.props;ot(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function c2(e,{style:t,vars:n},r,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,r),n)s.setProperty(o,n[o])}class c3 extends c1{constructor(){super(...arguments),this.type="html",this.renderInstance=c2}readValueFromInstance(e,t){if(oE.has(t))return this.projection?.isProjecting?ai(t):((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return ao(n,t)})(e,t);{let n=window.getComputedStyle(e),r=(o$(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ly(e,t)}build(e,t,n){cm(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return cD(e,t,n)}}let c5=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 c4 extends c1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ls}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(oE.has(t)){let e=cH(t);return e&&e.default||0}return t=c5.has(t)?t:oO(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return cO(e,t,n)}
139build(e,t,n){cE(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in c2(e,t,void 0,r),t.attrs)e.setAttribute(c5.has(n)?n:oO(n),t.attrs[n])}mount(e){this.isSVGTag=cT(e.tagName),super.mount(e)}}let c6=function(e){if("undefined"==typeof Proxy)return e;let 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))})}((i={animation:{Feature:aJ},exit:{Feature:a0},inView:{Feature:u9},tap:{Feature:u1},focus:{Feature:uY},hover:{Feature:uW},pan:{Feature:lM},drag:{Feature:lR,ProjectionNode:uU,MeasureLayout:lY},layout:{ProjectionNode:uU,MeasureLayout:lY}},o=(e,t)=>cS(e)?new c4(t):new c3(t,{allowProjection:e!==k.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){function o(e,o){var s;let a,l={...(0,k.useContext)(u7),...e,layoutId:function({layoutId:e}){let t=(0,k.useContext)(lV).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:u}=l,c=function(e){let{initial:t,animate:n}=function(e,t){if(ct(e)){let{initial:t,animate:n}=e;return{initial:!1===t||aq(t)?t:void 0,animate:aq(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,k.useContext)(ce));return(0,k.useMemo)(()=>({initial:t,animate:n}),[cr(t),cr(n)])}(e),d=r(e,u);if(!u&&ci){(0,k.useContext)(u8).strict;let e=function(e){let{drag:t,layout:n}=cs;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);a=e.MeasureLayout,c.visualElement=function(e,t,n,r,i){let{visualElement:o}=(0,k.useContext)(ce),s=(0,k.useContext)(u8),a=(0,k.useContext)(lj),l=(0,k.useContext)(u7).reducedMotion,u=(0,k.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}));let c=u.current,d=(0,k.useContext)(l$);c&&!c.projection&&i&&("html"===c.type||"svg"===c.type)&&function(e,t,n,r){let{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:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&lE(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,n,i,d);let p=(0,k.useRef)(!1);(0,k.useInsertionEffect)(()=>{c&&p.current&&c.update(n,a)});let f=n[oF],h=(0,k.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return cl(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),lP.render(c.render),h.current&&c.animationState&&c.animationState.animateChanges())}),(0,k.useEffect)(()=>{c&&(!h.current&&c.animationState&&c.animationState.animateChanges(),h.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),h.current=!1))}),c}(i,d,l,t,e.ProjectionNode)}return(0,C.jsxs)(ce.Provider,{value:c,children:[a&&c.visualElement?(0,C.jsx)(a,{visualElement:c.visualElement,...l}):null,n(i,e,(s=c.visualElement,(0,k.useCallback)(e=>{e&&d.onMount&&d.onMount(e),s&&(e?s.mount(e):s.unmount()),o&&("function"==typeof o?o(e):lE(o)&&(o.current=e))},[s])),d,u,c.visualElement)]})}e&&function(e){for(let t in e)cs[t]={...cs[t],...e[t]}}(e),o.displayName=`motion.${"string"==typeof i?i:`create(${i.displayName??i.name??""})`}`;let s=(0,k.forwardRef)(o);return s[ca]=i,s}({...cS(e)?cF:cI,preloadedFeatures:i,useRender:function(e=!1){return(t,n,r,{latestValues:i},o)=>{let s=(cS(t)?function(e,t,n,r){let i=(0,k.useMemo)(()=>{let n=cx();return cE(n,t,cT(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};cv(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return cv(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,k.useMemo)(()=>{let n=cg();return cm(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(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"}
139`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,i,o,t),a=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(c_(i)||!0===n&&cC(i)||!t&&!cC(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==k.Fragment?{...a,...s,ref:r}:{},{children:u}=n,c=(0,k.useMemo)(()=>ot(u)?u.get():u,[u]);return(0,k.createElement)(t,{...l,children:c})}}(t),createVisualElement:o,Component:e})}));function c9(e){let t=cN(()=>oA(e)),{isStatic:n}=(0,k.useContext)(u7);if(n){let[,n]=(0,k.useState)(e);(0,k.useEffect)(()=>t.on("change",n),[])}return t}function c8(e,t){let n=c9(t()),r=()=>n.set(t());return r(),cl(()=>{let t=()=>om.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),og(r)}}),n}function c7(e,t){let n=cN(()=>[]);return c8(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function de(e,t=0){return ot(e)?e:c9(t)}let dt=(0,k.forwardRef)(function({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=cN(()=>c6[r]),u=(0,k.useContext)(oi),c={x:de(t.x),y:de(t.y)},d=function(e,t,n,r){if("function"==typeof e){oS.current=[],e();let t=c8(oS.current,e);return oS.current=void 0,t}let i="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=sJ(i,e[2+n],e[3+n]);return t?o(r):o}(t,void 0,void 0);return Array.isArray(e)?c7(e,i):c7([e],([e])=>i(e))}([c.x,c.y],([e,t])=>e||t?1:"unset");or(!!u,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");let{axis:p,registerItem:f,updateOrder:h}=u;return(0,C.jsx)(l,{drag:p,...s,dragSnapToOrigin:!0,style:{...t,x:c.x,y:c.y,zIndex:d},layout:o,onDrag:(e,t)=>{let{velocity:r}=t;r[p]&&h(n,c[p].get(),r[p]),i&&i(e,t)},onLayoutMeasure:e=>f(n,e),ref:a,ignoreStrict:!0,children:e})}),dn=(0,k.forwardRef)(function({children:e,as:t="ul",axis:n="y",onReorder:r,values:i,...o},s){let a=cN(()=>c6[t]),l=[],u=(0,k.useRef)(!1);return or(!!i,"Reorder.Group must be provided a values prop","reorder-values"),(0,k.useEffect)(()=>{u.current=!1}),(0,C.jsx)(a,{...o,ref:s,ignoreStrict:!0,children:(0,C.jsx)(oi.Provider,{value:{axis:n,registerItem:(e,t)=>{let r=l.findIndex(t=>e===t.value);-1!==r?l[r].layout=t[n]:l.push({value:e,layout:t[n]}),l.sort(di)},updateOrder:(e,t,n)=>{if(u.current)return;let o=function(e,t,n,r){if(!r)return e;let i=e.findIndex(e=>e.value===t);if(-1===i)return e;let o=r>0?1:-1,s=e[i+o];if(!s)return e;let a=e[i],l=s.layout,u=sd(l.min,l.max,.5);return 1===o&&a.layout.max+n>u||-1===o&&a.layout.min+n<u?function([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let 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(dr).filter(e=>-1!==i.indexOf(e))))}},children:e})})});function dr(e){return e.value}function di(e,t){return e.layout.min-t.layout.min}let ds=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s,a,l,u=(0,_.c)(16);u[0]!==e?({isActive:i,value:s,children:n,className:r,...o}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=i,u[4]=o,u[5]=s):(n=u[1],r=u[2],i=u[3],o=u[4],s=u[5]);let c=i&&"graphiql-tab-active";return u[6]!==r||u[7]!==c?(a=(0,rg.$)("graphiql-tab",c,r),u[6]=r,u[7]=c,u[8]=a):a=u[8],u[9]!==n||u[10]!==i||u[11]!==o||u[12]!==t||u[13]!==a||u[14]!==s?(l=(0,C.jsx)(dt,{...o,ref:t,value:s,"aria-selected":i,role:"tab",className:a,children:n}),u[9]=n,u[10]=i,u[11]=o,u[12]=t,u[13]=a,u[14]=s,u[15]=l):l=u[15],l});ds.displayName="Tab";let da=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s,a=(0,_.c)(11);return a[0]!==e?({children:n,className:r,...i}=e,a[0]=e,a[1]=n,a[2]=r,a[3]=i):(n=a[1],r=a[2],i=a[3]),a[4]!==r?(o=(0,rg.$)("graphiql-tab-button",r),a[4]=r,a[5]=o):o=a[5],a[6]!==n||a[7]!==i||a[8]!==t||a[9]!==o?(s=(0,C.jsx)(iI,{...i,ref:t,type:"button",className:o,children:n}),a[6]=n,a[7]=i,a[8]=t,a[9]=o,a[10]=s):s=a[10],s});da.displayName="Tab.Button";let dl=(0,k.forwardRef)((e,t)=>{let n,r,i,o=(0,_.c)(7);return o[0]!==e.className?(n=(0,rg.$)("graphiql-tab-close",e.className),o[0]=e.className,o[1]=n):n=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,C.jsx)(iP,{}),o[2]=r):r=o[2],o[3]!==e||o[4]!==t||o[5]!==n?(i=(0,C.jsx)(iI,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:n,children:r}),o[3]=e,o[4]=t,o[5]=n,o[6]=i):i=o[6],i});dl.displayName="Tab.Close";let du=Object.assign(ds,{Button:da,Close:dl}),dc=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s,a,l,u=(0,_.c)(15);return u[0]!==e?({values:s,onReorder:i,children:n,className:r,...o}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=i,u[4]=o,u[5]=s):(n=u[1],r=u[2],i=u[3],o=u[4],s=u[5]),u[6]!==r?(a=(0,rg.$)("graphiql-tabs",r),u[6]=r,u[7]=a):a=u[7],u[8]!==n||u[9]!==i||u[10]!==o||u[11]!==t||u[12]!==a||u[13]!==s?(l=(0,C.jsx)(dn,{...o,ref:t,values:s,onReorder:i,axis:"x",role:"tablist",className:a,children:n}),u[8]=n,u[9]=i,u[10]=o,u[11]=t,u[12]=a,u[13]=s,u[14]=l):l=u[14],l});dc.displayName="Tabs";let dd=e=>{let t,r=(0,_.c)(2),i=function e(t,r){let i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E=(0,_.c)(40);E[0]!==t?(i=void 0===t?{}:t,E[0]=t,E[1]=i):i=E[1];let{editorTheme:x,keyMap:T,onClickReference:w,onCopyQuery:C,onEdit:S,onPrettifyQuery:A,readOnly:I}=i,O=void 0===x?K:x,F=void 0!==I&&I,{schema:R,setSchemaReference:L}=ev(),M=r||e;E[2]!==M?(o={nonNull:!0,caller:M},E[2]=M,E[3]=o):o=E[3];let{externalFragments:P,initialQuery:j,queryEditor:V,setOperationName:$,setQueryEditor:B,validationRules:U,variableEditor:q,updateActiveTabValues:z}=rn(o),W=ra(),Y=H(),G=er(),Z=r||e;E[4]!==C||E[5]!==Z?(s={caller:Z,onCopyQuery:C},E[4]=C,E[5]=Z,E[6]=s):s=E[6];let ee=nL(s),et=r||e;E[7]!==et?(a={caller:et},E[7]=et,E[8]=a):a=E[8];let en=nM(a),ei=r||e;E[9]!==A||E[10]!==ei?(l={caller:ei,onPrettifyQuery:A},E[9]=A,E[10]=ei,E[11]=l):l=E[11];let eo=nj(l),es=(0,k.useRef)(null),ea=(0,k.useRef)(void 0),el=(0,k.useRef)(nW);E[12]!==w||E[13]!==G||E[14]!==L?(u=()=>{el.current=e=>{let t=null==G?void 0:G.referencePlugin;t&&(G.setVisiblePlugin(t),L(e),null==w||w(e))}},c=[w,G,L],E[12]=w,E[13]=G,E[14]=L,E[15]=u,E[16]=c):(u=E[15],c=E[16]),(0,k.useEffect)(u,c),E[17]!==O||E[18]!==j||E[19]!==F||E[20]!==B?(d=()=>{let e;return e=!0,J([Promise.all([n.e(44594),n.e(80355)]).then(n.t.bind(n,80355,23)),Promise.all([n.e(44594),n.e(49213)]).then(n.t.bind(n,49213,23)),Promise.all([n.e(44594),n.e(73382)]).then(n.bind(n,73382)),Promise.all([n.e(44594),n.e(95394)]).then(n.bind(n,95394)),Promise.all([n.e(44594),n.e(9803)
139]).then(n.bind(n,9803)),Promise.all([n.e(44594),n.e(46030)]).then(n.bind(n,46030)),Promise.all([n.e(44594),n.e(14923)]).then(n.bind(n,14923))]).then(t=>{let n;if(!e)return;ea.current=t;let r=es.current;if(!r)return;let i=t(r,{value:j,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:"graphql",theme:O,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!F&&"nocursor",lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:r,externalFragments:void 0,autocompleteOptions:{mode:D.kr.EXECUTABLE}},info:{schema:void 0,renderDescription:nH,onClick(e){el.current(e)}},jump:{schema:void 0,onClick(e){el.current(e)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{...X,"Cmd-S"(){},"Ctrl-S"(){}}}),o=function(){i.showHint({completeSingle:!0,container:r})};i.addKeyMap({"Cmd-Space":o,"Ctrl-Space":o,"Alt-Space":o,"Shift-Space":o,"Shift-Alt-Space":o}),i.on("keyup",nz),n=!1,i.on("startCompletion",()=>{n=!0}),i.on("endCompletion",()=>{n=!1}),i.on("keydown",(e,t)=>{"Escape"===t.key&&n&&t.stopPropagation()}),i.on("beforeChange",nq),i.documentAST=null,i.operationName=null,i.operations=null,i.variableToType=null,B(i)}),()=>{e=!1}},p=[O,j,F,B],E[17]=O,E[18]=j,E[19]=F,E[20]=B,E[21]=d,E[22]=p):(d=E[21],p=E[22]),(0,k.useEffect)(d,p),nI(V,"keyMap",void 0===T?Q:T),E[23]!==S||E[24]!==V||E[25]!==R||E[26]!==$||E[27]!==Y||E[28]!==z||E[29]!==q?(f=()=>{if(!V)return;let e=function(e){var t;let n=(0,D.Jb)(R,e.getValue()),r=(0,N.getSelectedOperationName)(e.operations??void 0,e.o
139perationName??void 0,null==n?void 0:n.operations);return e.documentAST=(null==n?void 0:n.documentAST)??null,e.operationName=r??null,e.operations=(null==n?void 0:n.operations)??null,q&&(q.state.lint.linterOptions.variableToType=null==n?void 0:n.variableToType,q.options.lint.variableToType=null==n?void 0:n.variableToType,q.options.hintOptions.variableToType=null==n?void 0:n.variableToType,null==(t=ea.current)||t.signal(q,"change",q)),n?{...n,operationName:r}:null},t=nA(100,t=>{let n=t.getValue();Y.set(nG,n);let r=t.operationName,i=e(t);(null==i?void 0:i.operationName)!==void 0&&Y.set(nK,i.operationName),null==S||S(n,null==i?void 0:i.documentAST),(null==i?void 0:i.operationName)&&r!==i.operationName&&$(i.operationName),z({query:n,operationName:(null==i?void 0:i.operationName)??null})});return e(V),V.on("change",t),()=>V.off("change",t)},h=[S,V,R,$,Y,q,z],E[23]=S,E[24]=V,E[25]=R,E[26]=$,E[27]=Y,E[28]=z,E[29]=q,E[30]=f,E[31]=h):(f=E[30],h=E[31]),(0,k.useEffect)(f,h),function(e,t,n){let r,i,o=(0,_.c)(5);o[0]!==n||o[1]!==e||o[2]!==t?(r=()=>{if(!e)return;let r=e.options.lint.schema!==t;e.state.lint.linterOptions.schema=t,e.options.lint.schema=t,e.options.hintOptions.schema=t,e.options.info.schema=t,e.options.jump.schema=t,r&&n.current&&n.current.signal(e,"change",e)},i=[e,t,n],o[0]=n,o[1]=e,o[2]=t,o[3]=r,o[4]=i):(r=o[3],i=o[4]),(0,k.useEffect)(r,i)}(V,R??null,ea),function(e,t,n){let r,i,o=(0,_.c)(5);o[0]!==n||o[1]!==e||o[2]!==t?(r=()=>{if(!e)return;let r=e.options.lint.validationRules!==t;e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t,r&&n.current&&n.current.signal(e,"change",e)},i=[e,t,n],o[0]=n,o[1]=e,o[2]=t,o[3]=r,o[4]=i):(r=o[3],i=o[4]),(0,k.useEffect)(r,i)}(V,U??null,ea),function(e,t,n){let r,i,o,s=(0,_.c)(7);s[0]!==t?(r=[...t.values()],s[0]=t,s[1]=r):r=s[1];let a=r;s[2]!==n||s[3]!==e||s[4]!==a?(i=()=>{if(!e)return;let t=e.options.lint.externalFragments!==a;e.state.lint.linterOptions.externalFragments=a,e.options.lint.externalFragments=a,e.options.hintOptions.externalFragments=a,t&&n.current&&n.current.signal(e,"change",e)},o=[e,a,n],s[2]=n,s[3]=e,s[4]=a,s[5]=i,s[6]=o):(i=s[5],o=s[6]),(0,k.useEffect)(i,o)}(V,P,ea),nF(V,w);let eu=null==W?void 0:W.run;E[32]!==V||E[33]!==eu||E[34]!==$?(m=()=>{var e;let t;if(!eu||!V||!V.operations||!V.hasFocus()){null==eu||eu();return}let n=V.indexFromPos(V.getCursor());for(let r of V.operations)r.loc&&r.loc.start<=n&&r.loc.end>=n&&(t=null==(e=r.name)?void 0:e.value);t&&t!==V.operationName&&$(t),eu()},E[32]=V,E[33]=eu,E[34]=$,E[35]=m):m=E[35];let ec=m;return E[36]===Symbol.for("react.memo_cache_sentinel")?(g=["Cmd-Enter","Ctrl-Enter"],E[36]=g):g=E[36],nR(V,g,ec),E[37]===Symbol.for("react.memo_cache_sentinel")?(v=["Shift-Ctrl-C"],E[37]=v):v=E[37],nR(V,v,ee),E[38]===Symbol.for("react.memo_cache_sentinel")?(y=["Shift-Ctrl-P","Shift-Ctrl-F"],E[38]=y):y=E[38],nR(V,y,eo),E[39]===Symbol.for("react.memo_cache_sentinel")?(b=["Shift-Ctrl-M"],E[39]=b):b=E[39],nR(V,b,en),es}(e,dd);return r[0]!==i?(t=(0,C.jsx)("div",{className:"graphiql-editor",ref:i}),r[0]=i,r[1]=t):t=r[1],t};function dp(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function df(...e){return t=>{let n=!1,r=e.map(e=>{let r=dp(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():dp(e[t],null)}}}}function dh(...e){return k.useCallback(df(...e),e)}function dm(e,t=[]){let n=[],r=()=>{let t=n.map(e=>k.createContext(e));return function(n){let r=n?.[e]||t;return k.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=k.createContext(r),o=n.length;n=[...n,r];let s=t=>{let{scope:n,children:r,...s}=t,a=n?.[e]?.[o]||i,l=k.useMemo(()=>s,Object.values(s));return(0,C.jsx)(a.Provider,{value:l,children:r})};return s.displayName=t+"Provider",[s,function(n,s){let a=s?.[e]?.[o]||i,l=k.useContext(a);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var dg=globalThis?.document?k.useLayoutEffect:()=>{},dv=S[" useInsertionEffect ".trim().toString()]||dg;function dy({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,s]=function({defaultProp:e,onChange:t}){let[n,r]=k.useState(e),i=k.useRef(n),o=k.useRef(t);return dv(()=>{o.current=t},[t]),k.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;{let t=k.useRef(void 0!==e);k.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. 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])}return[l,k.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else o(t)},[a,e,o,s])]}function db(e){let t=function(e){let t=k.forwardRef((e,t)=>
139{let{children:n,...r}=e;if(k.isValidElement(n)){var i;let e,o,s=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let 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!==k.Fragment&&(a.ref=t?df(t,s):s),k.cloneElement(n,a)}return k.Children.count(n)>1?k.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=k.forwardRef((e,n)=>{let{children:r,...i}=e,o=k.Children.toArray(r),s=o.find(dx);if(s){let e=s.props.children,r=o.map(t=>t!==s?t:k.Children.count(e)>1?k.Children.only(null):k.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:k.isValidElement(e)?k.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}Symbol("RADIX:SYNC_STATE");var dE=Symbol("radix.slottable");function dx(e){return k.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===dE}var dT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=db(`Primitive.${t}`),r=k.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function dw(e,t){e&&rT.flushSync(()=>e.dispatchEvent(t))}function dC(e){let t=e+"CollectionProvider",[n,r]=dm(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=k.useRef(null),o=k.useRef(new Map).current;return(0,C.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};s.displayName=t;let a=e+"CollectionSlot",l=db(a),u=k.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=dh(t,o(a,n).collectionRef);return(0,C.jsx)(l,{ref:i,children:r})});u.displayName=a;let c=e+"CollectionItemSlot",d="data-radix-collection-item",p=db(c),f=k.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,s=k.useRef(null),a=dh(t,s),l=o(c,n);return k.useEffect(()=>(l.itemMap.set(s,{ref:s,...i}),()=>void l.itemMap.delete(s))),(0,C.jsx)(p,{...{[d]:""},ref:a,children:r})});return f.displayName=c,[{Provider:s,Slot:u,ItemSlot:f},function(t){let n=o(e+"CollectionConsumer",t);return k.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var d_=new WeakMap;function dk(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=dS(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function dS(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],d_.set(this,!0)}set(e,t){return d_.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,s=dS(e),a=s>=0?s:o+s,l=a<0||a>=o?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let u=this.size+ +!i;s<0&&a++;let c=[...this.#e],d=!1;for(let e=a;e<u;e++)if(a===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{d||c[e-1]!==t||(d=!0);let n=c[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=dk(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=dk(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return dk(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
139}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}});var dN=k.createContext(void 0);function dA(e){let t=k.useContext(dN);return e||t||"ltr"}function dD(e){let t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...e)=>t.current?.(...e),[])}var dI="dismissableLayer.update",dO=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dF=k.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=k.useContext(dO),[c,d]=k.useState(null),p=c?.ownerDocument??globalThis?.document,[,h]=k.useState({}),m=dh(t,e=>d(e)),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=c?g.indexOf(c):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,T=function(e,t=globalThis?.document){let n=dD(e),r=k.useRef(!1),i=k.useRef(()=>{});return k.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){dL("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},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=>{let t=e.target,n=[...u.branches].some(e=>e.contains(t));x&&!n&&(i?.(e),s?.(e),e.defaultPrevented||a?.())},p),w=function(e,t=globalThis?.document){let n=dD(e),r=k.useRef(!1);return k.useEffect(()=>{let e=e=>{e.target&&!r.current&&dL("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=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),s?.(e),e.defaultPrevented||a?.())},p);return!function(e,t=globalThis?.document){let n=dD(e);k.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{b===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))},p),k.useEffect(()=>{if(c)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(f=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),dR(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=f)}},[c,p,n,u]),k.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),dR())},[c,u]),k.useEffect(()=>{let e=()=>h({});return document.addEventListener(dI,e),()=>document.removeEventListener(dI,e)},[]),(0,C.jsx)(dT.div,{...l,ref:m,style:{pointerEvents:E?x?"auto":"none":void 0,...e.style},onFocusCapture:rv(e.onFocusCapture,w.onFocusCapture),onBlurCapture:rv(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:rv(e.onPointerDownCapture,T.onPointerDownCapture)})});function dR(){let e=new CustomEvent(dI);document.dispatchEvent(e)}function dL(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?dw(i,o):i.dispatchEvent(o)}dF.displayName="DismissableLayer",k.forwardRef((e,t)=>
139{let n=k.useContext(dO),r=k.useRef(null),i=dh(t,r);return k.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,C.jsx)(dT.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var dM=0;function dP(){let 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 dj="focusScope.autoFocusOnMount",dV="focusScope.autoFocusOnUnmount",d$={bubbles:!1,cancelable:!0},dB=k.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=k.useState(null),u=dD(i),c=dD(o),d=k.useRef(null),p=dh(t,e=>l(e)),f=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(r){let e=function(e){if(f.paused||!a)return;let t=e.target;a.contains(t)?d.current=t:dz(d.current,{select:!0})},t=function(e){if(f.paused||!a)return;let t=e.relatedTarget;null!==t&&(a.contains(t)||dz(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&dz(a)});return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,a,f.paused]),k.useEffect(()=>{if(a){dH.add(f);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(dj,d$);a.addEventListener(dj,u),a.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(dz(r,{select:t}),document.activeElement!==n)return}(dU(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&dz(a))}return()=>{a.removeEventListener(dj,u),setTimeout(()=>{let t=new CustomEvent(dV,d$);a.addEventListener(dV,c),a.dispatchEvent(t),t.defaultPrevented||dz(e??document.body,{select:!0}),a.removeEventListener(dV,c),dH.remove(f)},0)}}},[a,u,c,f]);let h=k.useCallback(e=>{if(!n&&!r||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=dU(e);return[dq(t,e),dq(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&dz(o,{select:!0})):(e.preventDefault(),n&&dz(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,f.paused]);return(0,C.jsx)(dT.div,{tabIndex:-1,...s,ref:p,onKeyDown:h})});function dU(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let 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 dq(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function dz(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}dB.displayName="FocusScope";var dH=function(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=dW(e,t)).unshift(t)},remove(t){e=dW(e,t),e[0]?.resume()}}}();function dW(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var dY=S[" useId ".trim().toString()]||(()=>void 0),dG=0;function dK(e){let[t,n]=k.useState(dY());return dg(()=>{e||n(e=>e??String(dG++))},[e]),e||(t?`radix-${t}`:"")}var dQ=k.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,C.jsx)(dT.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,C.jsx)("polygon",{points:"0,0 30,0 15,10"})})});dQ.displayName="Arrow";var dX="Popper",[dJ,dZ]=dm(dX),[d0,d1]=dJ(dX),d2=e=>{let{__scopePopper:t,children:n}=e,[r,i]=k.useState(null);return(0,C.jsx)(d0,{scope:t,anchor:r,onAnchorChange:i,children:n})};d2.displayName=dX;var d3="PopperAnchor",d5=k.forwardRef((e,t)=>
139{let{__scopePopper:n,virtualRef:r,...i}=e,o=d1(d3,n),s=k.useRef(null),a=dh(t,s);return k.useEffect(()=>{o.onAnchorChange(r?.current||s.current)}),r?null:(0,C.jsx)(dT.div,{...i,ref:a})});d5.displayName=d3;var d4="PopperContent",[d6,d9]=dJ(d4),d8=k.forwardRef((e,t)=>{let{__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:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:h,...m}=e,g=d1(d4,n),[v,y]=k.useState(null),b=dh(t,e=>y(e)),[E,x]=k.useState(null),T=function(e){let[t,n]=k.useState(void 0);return dg(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(E),w=T?.width??0,_=T?.height??0,S="number"==typeof c?c:{top:0,right:0,bottom:0,left:0,...c},N=Array.isArray(u)?u:[u],A=N.length>0,D={padding:S,boundary:N.filter(pn),altBoundary:A},{refs:I,floatingStyles:O,placement:F,isPositioned:R,middlewareData:L}=(0,rL.we)({strategy:"fixed",placement:r+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(0,rM.ll)(...e,{animationFrame:"always"===f}),elements:{reference:g.anchor},middleware:[(0,rL.cY)({mainAxis:i+_,alignmentAxis:s}),l&&(0,rL.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===d?(0,rL.ER)():void 0,...D}),l&&(0,rL.UU)({...D}),(0,rL.Ej)({...D,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{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`)}}),E&&(0,rL.UE)({element:E,padding:a}),pr({arrowWidth:w,arrowHeight:_}),p&&(0,rL.jD)({strategy:"referenceHidden",...D})]}),[M,P]=pi(F),j=dD(h);dg(()=>{R&&j?.()},[R,j]);let V=L.arrow?.x,$=L.arrow?.y,B=L.arrow?.centerOffset!==0,[U,q]=k.useState();return dg(()=>{v&&q(window.getComputedStyle(v).zIndex)},[v]),(0,C.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:R?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,C.jsx)(d6,{scope:n,placedSide:M,onArrowChange:x,arrowX:V,arrowY:$,shouldHideArrow:B,children:(0,C.jsx)(dT.div,{"data-side":M,"data-align":P,...m,ref:b,style:{...m.style,animation:R?void 0:"none"}})})})});d8.displayName=d4;var d7="PopperArrow",pe={top:"bottom",right:"left",bottom:"top",left:"right"},pt=k.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=d9(d7,n),o=pe[i.placedSide];return(0,C.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,C.jsx)(dQ,{...r,ref:t,style:{...r.style,display:"block"}})})});function pn(e){return null!==e}pt.displayName=d7;var pr=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=pi(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,p=(i.arrow?.y??0)+a/2,f="",h="";return"bottom"===l?(f=o?c:`${d}px`,h=`${-a}px`):"top"===l?(f=o?c:`${d}px`,h=`${r.floating.height+a}px`):"right"===l?(f=`${-a}px`,h=o?c:`${p}px`):"left"===l&&(f=`${r.floating.width+a}px`,h=o?c:`${p}px`),{data:{x:f,y:h}}}});function pi(e){let[t,n="center"]=e.split("-");return[t,n]}var po=k.forwardRef((e,t)=>
139{let{container:n,...r}=e,[i,o]=k.useState(!1);dg(()=>o(!0),[]);let s=n||i&&globalThis?.document?.body;return s?rT.createPortal((0,C.jsx)(dT.div,{...r,ref:t}),s):null});po.displayName="Portal";var ps=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,i]=k.useState(),o=k.useRef(null),s=k.useRef(e),a=k.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},k.useReducer((e,t)=>n[e][t]??e,t));return k.useEffect(()=>{let e=pa(o.current);a.current="mounted"===l?e:"none"},[l]),dg(()=>{let t=o.current,n=s.current;if(n!==e){let r=a.current,i=pa(t);e?u("MOUNT"):"none"===i||t?.display==="none"?u("UNMOUNT"):n&&r!==i?u("ANIMATION_OUT"):u("UNMOUNT"),s.current=e}},[e,u]),dg(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=pa(o.current).includes(n.animationName);if(n.target===r&&i&&(u("ANIMATION_END"),!s.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(a.current=pa(o.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:k.useCallback(e=>{o.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):k.Children.only(n),o=dh(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||r.isPresent?k.cloneElement(i,{ref:o}):null};function pa(e){return e?.animationName||"none"}ps.displayName="Presence";var pl="rovingFocusGroup.onEntryFocus",pu={bubbles:!1,cancelable:!0},pc="RovingFocusGroup",[pd,pp,pf]=dC(pc),[ph,pm]=dm(pc,[pf]),[pg,pv]=ph(pc),py=k.forwardRef((e,t)=>(0,C.jsx)(pd.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,C.jsx)(pd.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,C.jsx)(pb,{...e,ref:t})})}));py.displayName=pc;var pb=k.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,p=k.useRef(null),f=dh(t,p),h=dA(o),[m,g]=dy({prop:s,defaultProp:a??null,onChange:l,caller:pc}),[v,y]=k.useState(!1),b=dD(u),E=pp(n),x=k.useRef(!1),[T,w]=k.useState(0);return k.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(pl,b),()=>e.removeEventListener(pl,b)},[b]),(0,C.jsx)(pg,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:m,onItemFocus:k.useCallback(e=>g(e),[g]),onItemShiftTab:k.useCallback(()=>y(!0),[]),onFocusableItemAdd:k.useCallback(()=>w(e=>e+1),[]),onFocusableItemRemove:k.useCallback(()=>w(e=>e-1),[]),children:(0,C.jsx)(dT.div,{tabIndex:v||0===T?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:rv(e.onMouseDown,()=>{x.current=!0}),onFocus:rv(e.onFocus,e=>{let t=!x.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(pl,pu);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);pw([e.find(e=>e.active),e.find(e=>e.id===m),...e].filter(Boolean).map(e=>e.ref.current),c)}}x.current=!1}),onBlur:rv(e.onBlur,()=>y(!1))})})}),pE="RovingFocusGroupItem",px=k.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:s,...a}=e,l=dK(),u=o||l,c=pv(pE,n),d=c.currentTabStopId===u,p=pp(n),{onFocusableItemAdd:f,onFocusableItemRemove:h,currentTabStopId:m}=c;return k.useEffect(()=>{if(r)return f(),()=>h()}
139,[r,f,h]),(0,C.jsx)(pd.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:(0,C.jsx)(dT.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...a,ref:t,onMouseDown:rv(e.onMouseDown,e=>{r?c.onItemFocus(u):e.preventDefault()}),onFocus:rv(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:rv(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return pT[i]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=c.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>pw(n))}}),children:"function"==typeof s?s({isCurrentTabStop:d,hasTabStop:null!=m}):s})})});px.displayName=pE;var pT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function pw(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var pC=new WeakMap,p_=new WeakMap,pk={},pS=0,pN=function(e){return e&&(e.host||pN(e.parentNode))},pA=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=pN(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});pk[n]||(pk[n]=new WeakMap);var o=pk[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=(pC.get(e)||0)+1,u=(o.get(e)||0)+1;pC.set(e,l),o.set(e,u),s.push(e),1===l&&i&&p_.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(),pS++,function(){s.forEach(function(e){var t=pC.get(e)-1,i=o.get(e)-1;pC.set(e,t),o.set(e,i),t||(p_.has(e)||e.removeAttribute(r),p_.delete(e)),i||e.removeAttribute(n)}),--pS||(pC=new WeakMap,pC=new WeakMap,p_=new WeakMap,pk={})}},pD=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),pA(r,i,n,"aria-hidden")):function(){return null}},pI=n(28330),pO=["Enter"," "],pF=["ArrowUp","PageDown","End"],pR=["ArrowDown","PageUp","Home",...pF],pL={ltr:[...pO,"ArrowRight"],rtl:[...pO,"ArrowLeft"]},pM={ltr:["ArrowLeft"],rtl:["ArrowRight"]},pP="Menu",[pj,pV,p$]=dC(pP),[pB,pU]=dm(pP,[p$,dZ,pm]),pq=dZ(),pz=pm(),[pH,pW]=pB(pP),[pY,pG]=pB(pP),pK=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:s=!0}=e,a=pq(t),[l,u]=k.useState(null),c=k.useRef(!1),d=dD(o),p=dA(i);return k.useEffect(()=>{let 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,C.jsx)(d2,{...a,children:(0,C.jsx)(pH,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:u,children:(0,C.jsx)(pY,{scope:t,onClose:k.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:c,dir:p,modal:s,children:r})})})};pK.displayName=pP;var pQ=k.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=pq(n);return(0,C.jsx)(d5,{...i,...r,ref:t})});pQ.displayName="MenuAnchor";var pX="MenuPortal",[pJ,pZ]=pB(pX,{forceMount:void 0}),p0=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=pW(pX,t);return(0,C.jsx)(pJ,{scope:t,forceMount:n,children:(0,C.jsx)(ps,{present:n||o.open,children:(0,C.jsx)(po,{asChild:!0,container:i,children:r})})})};p0.displayName=pX;var p1="MenuContent",[p2,p3]=pB(p1),p5=k.forwardRef((e,t)=>
139{let n=pZ(p1,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=pW(p1,e.__scopeMenu),s=pG(p1,e.__scopeMenu);return(0,C.jsx)(pj.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(ps,{present:r||o.open,children:(0,C.jsx)(pj.Slot,{scope:e.__scopeMenu,children:s.modal?(0,C.jsx)(p4,{...i,ref:t}):(0,C.jsx)(p6,{...i,ref:t})})})})}),p4=k.forwardRef((e,t)=>{let n=pW(p1,e.__scopeMenu),r=k.useRef(null),i=dh(t,r);return k.useEffect(()=>{let e=r.current;if(e)return pD(e)},[]),(0,C.jsx)(p8,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rv(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),p6=k.forwardRef((e,t)=>{let n=pW(p1,e.__scopeMenu);return(0,C.jsx)(p8,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),p9=db("MenuContent.ScrollLock"),p8=k.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f,disableOutsideScroll:h,...m}=e,g=pW(p1,n),v=pG(p1,n),y=pq(n),b=pz(n),E=pV(n),[x,T]=k.useState(null),w=k.useRef(null),_=dh(t,w,g.onContentChange),S=k.useRef(0),N=k.useRef(""),A=k.useRef(0),D=k.useRef(null),I=k.useRef("right"),O=k.useRef(0),F=h?pI.A:k.Fragment;k.useEffect(()=>()=>window.clearTimeout(S.current),[]),k.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??dP()),document.body.insertAdjacentElement("beforeend",e[1]??dP()),dM++,()=>{1===dM&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),dM--}},[]);let R=k.useCallback(e=>I.current===D.current?.side&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let 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,C.jsx)(p2,{scope:n,searchRef:N,onItemEnter:k.useCallback(e=>{R(e)&&e.preventDefault()},[R]),onItemLeave:k.useCallback(e=>{R(e)||(w.current?.focus(),T(null))},[R]),onTriggerLeave:k.useCallback(e=>{R(e)&&e.preventDefault()},[R]),pointerGraceTimerRef:A,onPointerGraceIntentChange:k.useCallback(e=>{D.current=e},[]),children:(0,C.jsx)(F,{...h?{as:p9,allowPinchZoom:!0}:void 0,children:(0,C.jsx)(dB,{asChild:!0,trapped:i,onMountAutoFocus:rv(o,e=>{e.preventDefault(),w.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,C.jsx)(dF,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f,children:(0,C.jsx)(py,{asChild:!0,...b,dir:v.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:T,onEntryFocus:rv(l,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,C.jsx)(d8,{role:"menu","aria-orientation":"vertical","data-state":fC(g.open),"data-radix-menu-content":"",dir:v.dir,...y,...m,ref:_,style:{outline:"none",...m.style},onKeyDown:rv(m.onKeyDown,e=>{let 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=>{let t=N.current+e,n=E().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,o=function(e,t,n){var r;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,s=(r=Math.max(o,0),e.map((t,n)=>e[(r+n)%e.length]));1===i.length&&(s=s.filter(e=>e!==n));let a=s.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return a!==n?a: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(S.current),""!==t&&(S.current=window.setTimeout(()=>e(""),1e3))}(t),s&&setTimeout(()=>s.focus())})(e.key));let i=w.current;if(e.target!==i||!pR.includes(e.key))return;e.preventDefault();let o=E().filter(e=>!e.disabled).map(e=>e.ref.current);
139pF.includes(e.key)&&o.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(o)}),onBlur:rv(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(S.current),N.current="")}),onPointerMove:rv(e.onPointerMove,fS(e=>{let t=e.target,n=O.current!==e.clientX;e.currentTarget.contains(t)&&n&&(I.current=e.clientX>O.current?"right":"left",O.current=e.clientX)}))})})})})})})});p5.displayName=p1;var p7=k.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,C.jsx)(dT.div,{role:"group",...r,ref:t})});p7.displayName="MenuGroup";var fe=k.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,C.jsx)(dT.div,{...r,ref:t})});fe.displayName="MenuLabel";var ft="MenuItem",fn="menu.itemSelect",fr=k.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,o=k.useRef(null),s=pG(ft,e.__scopeMenu),a=p3(ft,e.__scopeMenu),l=dh(t,o),u=k.useRef(!1);return(0,C.jsx)(fi,{...i,ref:l,disabled:n,onClick:rv(e.onClick,()=>{let e=o.current;if(!n&&e){let t=new CustomEvent(fn,{bubbles:!0,cancelable:!0});e.addEventListener(fn,e=>r?.(e),{once:!0}),dw(e,t),t.defaultPrevented?u.current=!1:s.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),u.current=!0},onPointerUp:rv(e.onPointerUp,e=>{u.current||e.currentTarget?.click()}),onKeyDown:rv(e.onKeyDown,e=>{let t=""!==a.searchRef.current;n||t&&" "===e.key||pO.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});fr.displayName=ft;var fi=k.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,s=p3(ft,n),a=pz(n),l=k.useRef(null),u=dh(t,l),[c,d]=k.useState(!1),[p,f]=k.useState("");return k.useEffect(()=>{let e=l.current;e&&f((e.textContent??"").trim())},[o.children]),(0,C.jsx)(pj.ItemSlot,{scope:n,disabled:r,textValue:i??p,children:(0,C.jsx)(px,{asChild:!0,...a,focusable:!r,children:(0,C.jsx)(dT.div,{role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:u,onPointerMove:rv(e.onPointerMove,fS(e=>{r?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:rv(e.onPointerLeave,fS(e=>s.onItemLeave(e))),onFocus:rv(e.onFocus,()=>d(!0)),onBlur:rv(e.onBlur,()=>d(!1))})})})}),fo=k.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,C.jsx)(ff,{scope:e.__scopeMenu,checked:n,children:(0,C.jsx)(fr,{role:"menuitemcheckbox","aria-checked":f_(n)?"mixed":n,...i,ref:t,"data-state":fk(n),onSelect:rv(i.onSelect,()=>r?.(!!f_(n)||!n),{checkForDefaultPrevented:!1})})})});fo.displayName="MenuCheckboxItem";var fs="MenuRadioGroup",[fa,fl]=pB(fs,{value:void 0,onValueChange:()=>{}}),fu=k.forwardRef((e,t)=>{let{value:n,onValueChange:r,...i}=e,o=dD(r);return(0,C.jsx)(fa,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,C.jsx)(p7,{...i,ref:t})})});fu.displayName=fs;var fc="MenuRadioItem",fd=k.forwardRef((e,t)=>{let{value:n,...r}=e,i=fl(fc,e.__scopeMenu),o=n===i.value;return(0,C.jsx)(ff,{scope:e.__scopeMenu,checked:o,children:(0,C.jsx)(fr,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":fk(o),onSelect:rv(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});fd.displayName=fc;var fp="MenuItemIndicator",[ff,fh]=pB(fp,{checked:!1}),fm=k.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,o=fh(fp,n);return(0,C.jsx)(ps,{present:r||f_(o.checked)||!0===o.checked,children:(0,C.jsx)(dT.span,{...i,ref:t,"data-state":fk(o.checked)})})});fm.displayName=fp;var fg=k.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,C.jsx)(dT.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});fg.displayName="MenuSeparator";var fv=k.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=pq(n);return(0,C.jsx)(pt,{...i,...r,ref:t})});fv.displayName="MenuArrow";var[fy,fb]=pB("MenuSub"),fE="MenuSubTrigger",fx=k.forwardRef((e,t)=>{let n=pW(fE,e.__scopeMenu),r=pG(fE,e.__scopeMenu),i=fb(fE,e.__scopeMenu),o=p3(fE,e.__scopeMenu),s=k.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=o,u={__scopeMenu:e.__scopeMenu},c=k.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return k.useEffect(()=>c,[c]),k.useEffect(()=>{let e=a.current;return()=>{window.clearTimeout(e),l(null)}},[a,l]),(0,C.jsx)(pQ,{asChild:!0,...u,children:(0,C.jsx)(fi,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":fC(n.open),...e,ref:df(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
139s(),n.open||n.onOpenChange(!0))},onPointerMove:rv(e.onPointerMove,fS(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:rv(e.onPointerLeave,fS(e=>{c();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i="right"===r,s=t[i?"left":"right"],l=t[i?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:s,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:s,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:rv(e.onKeyDown,t=>{let i=""!==o.searchRef.current;e.disabled||i&&" "===t.key||pL[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});fx.displayName=fE;var fT="MenuSubContent",fw=k.forwardRef((e,t)=>{let n=pZ(p1,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=pW(p1,e.__scopeMenu),s=pG(p1,e.__scopeMenu),a=fb(fT,e.__scopeMenu),l=k.useRef(null),u=dh(t,l);return(0,C.jsx)(pj.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(ps,{present:r||o.open,children:(0,C.jsx)(pj.Slot,{scope:e.__scopeMenu,children:(0,C.jsx)(p8,{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:rv(e.onFocusOutside,e=>{e.target!==a.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:rv(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:rv(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=pM[s.dir].includes(e.key);t&&n&&(o.onOpenChange(!1),a.trigger?.focus(),e.preventDefault())})})})})})});function fC(e){return e?"open":"closed"}function f_(e){return"indeterminate"===e}function fk(e){return f_(e)?"indeterminate":e?"checked":"unchecked"}function fS(e){return t=>"mouse"===t.pointerType?e(t):void 0}fw.displayName=fT;var fN="DropdownMenu",[fA,fD]=dm(fN,[pU]),fI=pU(),[fO,fF]=fA(fN),fR=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=fI(t),u=k.useRef(null),[c,d]=dy({prop:i,defaultProp:o??!1,onChange:s,caller:fN});return(0,C.jsx)(fO,{scope:t,triggerId:dK(),triggerRef:u,contentId:dK(),open:c,onOpenChange:d,onOpenToggle:k.useCallback(()=>d(e=>!e),[d]),modal:a,children:(0,C.jsx)(pK,{...l,open:c,onOpenChange:d,dir:r,modal:a,children:n})})};fR.displayName=fN;var fL="DropdownMenuTrigger",fM=k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=fF(fL,n),s=fI(n);return(0,C.jsx)(pQ,{asChild:!0,...s,children:(0,C.jsx)(dT.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:df(t,o.triggerRef),onPointerDown:rv(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:rv(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});fM.displayName=fL;var fP=e=>{let{__scopeDropdownMenu:t,...n}=e,r=fI(t);return(0,C.jsx)(p0,{...r,...n})};fP.displayName="DropdownMenuPortal";var fj="DropdownMenuContent",fV=k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fF(fj,n),o=fI(n),s=k.useRef(!1);return(0,C.jsx)(p5,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...r,ref:t,onCloseAutoFocus:rv(e.onCloseAutoFocus,e=>{s.current||i.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:rv(e.onInteractOutside,e=>{let 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)"}})});fV.displayName=fj,k.forwardRef((e,t)=>
139{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(p7,{...i,...r,ref:t})}).displayName="DropdownMenuGroup",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fe,{...i,...r,ref:t})}).displayName="DropdownMenuLabel";var f$=k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fr,{...i,...r,ref:t})});f$.displayName="DropdownMenuItem",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fo,{...i,...r,ref:t})}).displayName="DropdownMenuCheckboxItem",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fu,{...i,...r,ref:t})}).displayName="DropdownMenuRadioGroup",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fd,{...i,...r,ref:t})}).displayName="DropdownMenuRadioItem",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fm,{...i,...r,ref:t})}).displayName="DropdownMenuItemIndicator",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fg,{...i,...r,ref:t})}).displayName="DropdownMenuSeparator",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fv,{...i,...r,ref:t})}).displayName="DropdownMenuArrow",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fx,{...i,...r,ref:t})}).displayName="DropdownMenuSubTrigger",k.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=fI(n);return(0,C.jsx)(fw,{...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)"}})}).displayName="DropdownMenuSubContent";let fB=(0,k.forwardRef)((e,t)=>{let n,r,i=(0,_.c)(6);return i[0]!==e.className?(n=(0,rg.$)("graphiql-un-styled",e.className),i[0]=e.className,i[1]=n):n=i[1],i[2]!==e||i[3]!==t||i[4]!==n?(r=(0,C.jsx)(fM,{asChild:!0,children:(0,C.jsx)("button",{...e,ref:t,className:n})}),i[2]=e,i[3]=t,i[4]=n,i[5]=r):r=i[5],r});fB.displayName="DropdownMenuButton";let fU=Object.assign(fR,{Button:fB,Item:e=>{let t,n,r,i,o,s=(0,_.c)(10);return s[0]!==e?({className:n,children:t,...r}=e,s[0]=e,s[1]=t,s[2]=n,s[3]=r):(t=s[1],n=s[2],r=s[3]),s[4]!==n?(i=(0,rg.$)("graphiql-dropdown-item",n),s[4]=n,s[5]=i):i=s[5],s[6]!==t||s[7]!==r||s[8]!==i?(o=(0,C.jsx)(f$,{className:i,...r,children:t}),s[6]=t,s[7]=r,s[8]=i,s[9]=o):o=s[9],o},Content:e=>{let t,n,r,i,o,s,a,l=(0,_.c)(14);l[0]!==e?({children:t,align:i,sideOffset:o,className:n,...r}=e,l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=o):(t=l[1],n=l[2],r=l[3],i=l[4],o=l[5]);let u=void 0===i?"start":i,c=void 0===o?5:o;return l[6]!==n?(s=(0,rg.$)("graphiql-dropdown-content",n),l[6]=n,l[7]=s):s=l[7],l[8]!==u||l[9]!==t||l[10]!==r||l[11]!==c||l[12]!==s?(a=(0,C.jsx)(fP,{children:(0,C.jsx)(fV,{align:u,sideOffset:c,className:s,...r,children:t})}),l[8]=u,l[9]=t,l[10]=r,l[11]=c,l[12]=s,l[13]=a):a=l[13],a}}),fq=()=>{let e,t,n,r,i,o,s=(0,_.c)(19);s[0]===Symbol.for("react.memo_cache_sentinel")?(e={nonNull:!0,caller:fq},s[0]=e):e=s[0];let{queryEditor:a,setOperationName:l}=rn(e);s[1]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:fq},s[1]=t):t=s[1];let{isFetching:u,isSubscribed:c,operationName:d,run:p,stop:f}=ra(t);s[2]!==(null==a?void 0:a.operations)?(n=(null==a?void 0:a.operations)||[],s[2]=null==a?void 0:a.operations,s[3]=n):n=s[3];let h=n,m=h.length>1&&"string"!=typeof d,g=u||c,v=`${g?"Stop":"Execute"} query (Ctrl-Enter)`;s[4]!==g?(r=g?(0,C.jsx)(i9,{}):(0,C.jsx)(iZ,{}),s[4]=g,s[5]=r):r=s[5],s[6]!==v||s[7]!==r?(i={type:"button",className:"graphiql-execute-button",children:r,"aria-label":v},s[6]=v,s[7]=r,s[8]=i):i=s[8];let y=i;return s[9]!==y||s[10]!==m||s[11]!==g||s[12]!==v||s[13]!==h||s[14]!==a||s[15]!==p||s[16]!==l||s[17]!==f?(o=m&&!g?(0,C.jsxs)(fU,{children:[(0,C.jsx)(iD,{label:v,children:(0,C.jsx)(fU.Button,{...y})}),(0,C.jsx)(fU.Content,{children:h.map((e,t)=>{let n=e.name?e.name.value:`<Unnamed ${e.operation}>`;return(0,C.jsx)(fU.Item,{onSelect:()=>{var t;let n=null==(t=e.name)?void 0:t.value;a&&n&&n!==a.operationName&&l(n),p()},children:n},`${n}-${t}`)})})]}):(0,C.jsx)(iD,{label:v,children:(0,C.jsx)("button",{...y,onClick:()=>{g?f():p()}})}
139),s[9]=y,s[10]=m,s[11]=g,s[12]=v,s[13]=h,s[14]=a,s[15]=p,s[16]=l,s[17]=f,s[18]=o):o=s[18],o},fz=e=>{let t,r,i,o,s,a,l,u=(0,_.c)(13);u[0]!==e?({isHidden:r,...t}=e,u[0]=e,u[1]=t,u[2]=r):(t=u[1],r=u[2]),u[3]===Symbol.for("react.memo_cache_sentinel")?(i={nonNull:!0,caller:fz},u[3]=i):i=u[3];let{variableEditor:c}=rn(i),d=function e(t,r){let i,o,s,a,l,u,c,d,p,f=(0,_.c)(17);f[0]!==t?(i=void 0===t?{}:t,f[0]=t,f[1]=i):i=f[1];let{editorTheme:h,keyMap:m,onClickReference:g,onEdit:v,readOnly:y}=i,b=void 0===h?K:h,E=void 0!==y&&y,x=r||e;f[2]!==x?(o={nonNull:!0,caller:x},f[2]=x,f[3]=o):o=f[3];let{initialVariables:T,variableEditor:w,setVariableEditor:C}=rn(o),S=ra(),N=r||e;f[4]!==N?(s={caller:N},f[4]=N,f[5]=s):s=f[5];let A=nM(s),D=r||e;f[6]!==D?(a={caller:D},f[6]=D,f[7]=a):a=f[7];let I=nj(a),O=(0,k.useRef)(null);return f[8]!==b||f[9]!==T||f[10]!==E||f[11]!==C?(l=()=>{let e;return e=!0,J([Promise.all([n.e(44594),n.e(54773)]).then(n.bind(n,54773)),Promise.all([n.e(44594),n.e(78524)]).then(n.bind(n,78524)),Promise.all([n.e(44594),n.e(83854)]).then(n.bind(n,83854))]).then(t=>{if(!e)return;let n=O.current;if(!n)return;let r=t(n,{value:T,lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:b,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!E&&"nocursor",foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:n,variableToType:void 0},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:X});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on("keyup",n9),C(r)}),()=>{e=!1}},u=[b,T,E,C],f[8]=b,f[9]=T,f[10]=E,f[11]=C,f[12]=l,f[13]=u):(l=f[12],u=f[13]),(0,k.useEffect)(l,u),nI(w,"keyMap",void 0===m?Q:m),nO(w,v,n8,"variables",e),nF(w,g),f[14]===Symbol.for("react.memo_cache_sentinel")?(c=["Cmd-Enter","Ctrl-Enter"],f[14]=c):c=f[14],nR(w,c,null==S?void 0:S.run),f[15]===Symbol.for("react.memo_cache_sentinel")?(d=["Shift-Ctrl-P"],f[15]=d):d=f[15],nR(w,d,I),f[16]===Symbol.for("react.memo_cache_sentinel")?(p=["Shift-Ctrl-M"],f[16]=p):p=f[16],nR(w,p,A),O}(t,fz);u[4]!==r||u[5]!==c?(o=()=>{r||null==c||c.refresh()},s=[c,r],u[4]=r,u[5]=c,u[6]=o,u[7]=s):(o=u[6],s=u[7]),(0,k.useEffect)(o,s);let p=r&&"hidden";return u[8]!==p?(a=(0,rg.$)("graphiql-editor",p),u[8]=p,u[9]=a):a=u[9],u[10]!==d||u[11]!==a?(l=(0,C.jsx)("div",{className:a,ref:d}),u[10]=d,u[11]=a,u[12]=l):l=u[12],l},fH=e=>{let t,r,i,o,s,a,l,u=(0,_.c)(13);u[0]!==e?({isHidden:r,...t}=e,u[0]=e,u[1]=t,u[2]=r):(t=u[1],r=u[2]),u[3]===Symbol.for("react.memo_cache_sentinel")?(i={nonNull:!0,caller:fH},u[3]=i):i=u[3];let{headerEditor:c}=rn(i),d=function e(t,r){let i,o,s,a,l,u,c,d,p,f=(0,_.c)(17);f[0]!==t?(i=void 0===t?{}:t,f[0]=t,f[1]=i):i=f[1];let{editorTheme:h,keyMap:m,onEdit:g,readOnly:v}=i,y=void 0===h?K:h,b=void 0!==v&&v,E=r||e;f[2]!==E?(o={nonNull:!0,caller:E},f[2]=E,f[3]=o):o=f[3];let{initialHeaders:x,headerEditor:T,setHeaderEditor:w,shouldPersistHeaders:C}=rn(o),S=ra(),N=r||e;f[4]!==N?(s={caller:N},f[4]=N,f[5]=s):s=f[5];let A=nM(s),D=r||e;f[6]!==D?(a={caller:D},f[6]=D,f[7]=a):a=f[7];let I=nj(a),O=(0,k.useRef)(null);return f[8]!==y||f[9]!==x||f[10]!==b||f[11]!==w?(l=()=>{let e;return e=!0,J([Promise.all([n.e(44594),n.e(67380)]).then(n.t.bind(n,67380,23))]).then(t=>{if(!e)return;let n=O.current;if(!n)return;let r=t(n,{value:x,lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:y,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!b&&"nocursor",foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:X});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on("keyup",nV),w(r)}),()=>{e=!1}},u=[y,x,b,w],f[8]=y,f[9]=x,f[10]=b,f[11]=w,f[12]=l,f[13]=u):(l=f[12],u=f[13]),(0,k.useEffect)(l,u),nI(T,"keyM
139ap",void 0===m?Q:m),nO(T,g,C?n$:null,"headers",e),f[14]===Symbol.for("react.memo_cache_sentinel")?(c=["Cmd-Enter","Ctrl-Enter"],f[14]=c):c=f[14],nR(T,c,null==S?void 0:S.run),f[15]===Symbol.for("react.memo_cache_sentinel")?(d=["Shift-Ctrl-P"],f[15]=d):d=f[15],nR(T,d,I),f[16]===Symbol.for("react.memo_cache_sentinel")?(p=["Shift-Ctrl-M"],f[16]=p):p=f[16],nR(T,p,A),O}(t,fH);u[4]!==c||u[5]!==r?(o=()=>{r||null==c||c.refresh()},s=[c,r],u[4]=c,u[5]=r,u[6]=o,u[7]=s):(o=u[6],s=u[7]),(0,k.useEffect)(o,s);let p=r&&"hidden";return u[8]!==p?(a=(0,rg.$)("graphiql-editor",p),u[8]=p,u[9]=a):a=u[9],u[10]!==d||u[11]!==a?(l=(0,C.jsx)("div",{className:a,ref:d}),u[10]=d,u[11]=a,u[12]=l):l=u[12],l},fW=(0,k.forwardRef)((e,t)=>{let n,r,i=(0,_.c)(6);return i[0]!==e.className?(n=(0,rg.$)("graphiql-spinner",e.className),i[0]=e.className,i[1]=n):n=i[1],i[2]!==e||i[3]!==t||i[4]!==n?(r=(0,C.jsx)("div",{...e,ref:t,className:n}),i[2]=e,i[3]=t,i[4]=n,i[5]=r):r=i[5],r});fW.displayName="Spinner";var fY=n(78944);let fG=Object.assign(e=>{var t;let n,r,i,o,s,a,l,u=(0,_.c)(14);u[0]===Symbol.for("react.memo_cache_sentinel")?(n={width:null,height:null},u[0]=n):n=u[0];let[c,d]=(0,k.useState)(n),[p,f]=(0,k.useState)(null),h=(0,k.useRef)(null),m=null==(t=fK(e.token))?void 0:t.href;u[1]!==m?(r=()=>{if(h.current){if(!m){d({width:null,height:null}),f(null);return}fetch(m,{method:"HEAD"}).then(e=>{f(e.headers.get("Content-Type"))}).catch(()=>{f(null)})}},i=[m],u[1]=m,u[2]=r,u[3]=i):(r=u[2],i=u[3]),(0,k.useEffect)(r,i),u[4]!==c.height||u[5]!==c.width||u[6]!==p?(o=null!==c.width&&null!==c.height?(0,C.jsxs)("div",{children:[c.width,"x",c.height,null===p?null:" "+p]}):null,u[4]=c.height,u[5]=c.width,u[6]=p,u[7]=o):o=u[7];let g=o;return u[8]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{var e,t;d({width:(null==(e=h.current)?void 0:e.naturalWidth)??null,height:(null==(t=h.current)?void 0:t.naturalHeight)??null})},u[8]=s):s=u[8],u[9]!==m?(a=(0,C.jsx)("img",{onLoad:s,ref:h,src:m}),u[9]=m,u[10]=a):a=u[10],u[11]!==g||u[12]!==a?(l=(0,C.jsxs)("div",{children:[a,g]}),u[11]=g,u[12]=a,u[13]=l):l=u[13],l},{shouldRender(e){var t;let n=fK(e);return!!n&&(t=n,/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(t.pathname))}});function fK(e){if("string"!==e.type)return;let t=e.string.slice(1).slice(0,-1).trim();try{return new URL(t,location.protocol+"//"+location.host)}catch{}}function fQ(e){return!!e}let fX=e=>{let t,r=(0,_.c)(2),i=function e(t,r){let i,o,s,a,l,u,c,d,p=(0,_.c)(17);p[0]!==t?(i=void 0===t?{}:t,p[0]=t,p[1]=i):i=p[1];let{responseTooltip:f,editorTheme:h,keyMap:m}=i,g=void 0===h?K:h,{fetchError:v,validationErrors:y}=ev(),b=r||e;p[2]!==b?(o={nonNull:!0,caller:b},p[2]=b,p[3]=o):o=p[3];let{initialResponse:E,responseEditor:x,setResponseEditor:T}=rn(o),w=(0,k.useRef)(null),S=(0,k.useRef)(f);return p[4]!==f?(s=()=>{S.current=f},a=[f],p[4]=f,p[5]=s,p[6]=a):(s=p[5],a=p[6]),(0,k.useEffect)(s,a),p[7]!==g||p[8]!==E||p[9]!==T?(l=()=>{let e;return e=!0,J([Promise.all([n.e(44594),n.e(92572)]).then(n.t.bind(n,92572,23)),Promise.all([n.e(44594),n.e(41901)]).then(n.t.bind(n,41901,23)),Promise.all([n.e(44594),n.e(51809)]).then(n.t.bind(n,51809,23)),Promise.all([n.e(44594),n.e(49213)]).then(n.t.bind(n,49213,23)),Promise.all([n.e(44594),n.e(93115)]).then(n.t.bind(n,93115,23)),Promise.all([n.e(44594),n.e(89962)]).then(n.t.bind(n,89962,23)),Promise.all([n.e(44594),n.e(49764)]).then(n.t.bind(n,49764,23)),Promise.all([n.e(44594),n.e(43355)]).then(n.bind(n,43355)),Promise.all([n.e(44594),n.e(19670)]).then(n.bind(n,19670))],{useCommonAddons:!1}).then(t=>{if(!e)return;let n=document.createElement("div"),r=(0,fY.createRoot)(n);t.registerHelper("info","graphql-results",(e,t,i,o)=>{let s=S.current,a=[s&&(0,C.jsx)(s,{pos:o,token:e}),fG.shouldRender(e)&&(0,C.jsx)(fG,{token:e},"image-preview")].filter(fQ);if(a.length)return r.render(a),n;r.unmount()});let i=w.current;i&&T(t(i,{value:E,lineWrapping:!0,readOnly:!0,theme:g,mode:"graphql-results",foldGutter:!0,gutters:["CodeMirror-foldgutter"],info:!0,extraKeys:X}))}),()=>{e=!1}},u=[g,E,T],p[7]=g,p[8]=E,p[9]=T,p[10]=l,p[11]=u):(l=p[10],u=p[11]),(0,k.useEffect)(l,u),nI(x,"keyMap",void 0===m?Q:m),p[12]!==v||p[13]!==x||p[14]!==y?(c=()=>{v&&(null==x||x.setValue(v)),y.length&&(null==x||x.setValue((0,N.formatError)(y)))},d=[x,v,y],p[12]=v,p[13]=x,p[14]=y,p[15]=c,p[16]=d):(c=p[15],d=p[16]),(0,k.useEffect)(c,d),w}(e,fX);return r[0]!==i?(t=(0,C.jsx)("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:i}),r[0]=i,r[1]=t):t=r[1],t};function fJ(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function fZ(...e){return t=>{let n=!1,r=e.map(e=>{let r=fJ(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():fJ(e[t],null)}}}}function f0(...e){return k.useCallback(fZ(...e),e)}var f1=globalThis?.document?k.useLayoutEffect:()=>{},f2=S[" useId ".trim().toString()]||(()=>void 0),f3=0;function f5(e){let[t,n]=k.useState(f2());return f1(()=>{e||n(e=>e??String(f3++))},[e]),e||(t?`radix-${t}`:"")}var f4=S[" useInsertionEffect ".trim().toString()]||f1;function f6(e){let t=function(e){let t=k.forwardRef((e,t)=>
139{let{children:n,...r}=e;if(k.isValidElement(n)){var i;let e,o,s=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let 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!==k.Fragment&&(a.ref=t?fZ(t,s):s),k.cloneElement(n,a)}return k.Children.count(n)>1?k.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=k.forwardRef((e,n)=>{let{children:r,...i}=e,o=k.Children.toArray(r),s=o.find(f8);if(s){let e=s.props.children,r=o.map(t=>t!==s?t:k.Children.count(e)>1?k.Children.only(null):k.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:k.isValidElement(e)?k.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}Symbol("RADIX:SYNC_STATE");var f9=Symbol("radix.slottable");function f8(e){return k.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f9}var f7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=f6(`Primitive.${t}`),r=k.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function he(e){let t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...e)=>t.current?.(...e),[])}var ht="dismissableLayer.update",hn=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hr=k.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=k.useContext(hn),[c,d]=k.useState(null),p=c?.ownerDocument??globalThis?.document,[,f]=k.useState({}),m=f0(t,e=>d(e)),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=c?g.indexOf(c):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,x=b>=y,T=function(e,t=globalThis?.document){let n=he(e),r=k.useRef(!1),i=k.useRef(()=>{});return k.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){ho("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},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=>{let t=e.target,n=[...u.branches].some(e=>e.contains(t));x&&!n&&(i?.(e),s?.(e),e.defaultPrevented||a?.())},p),w=function(e,t=globalThis?.document){let n=he(e),r=k.useRef(!1);return k.useEffect(()=>{let e=e=>{e.target&&!r.current&&ho("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=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),s?.(e),e.defaultPrevented||a?.())},p);return!function(e,t=globalThis?.document){let n=he(e);k.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{b===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))},p),k.useEffect(()=>{if(c)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(h=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),hi(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=h)}},[c,p,n,u]),k.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),hi())},[c,u]),k.useEffect(()=>{let e=()=>f({});return document.addEventListener(ht,e),()=>document.removeEventListener(ht,e)},[]),(0,C.jsx)(f7.div,{...l,ref:m,style:{pointerEvents:E?x?"auto":"none":void 0,...e.style},onFocusCapture:rv(e.onFocusCapture,w.onFocusCapture),onBlurCapture:rv(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:rv(e.onPointerDownCapture,T.onPointerDownCapture)})});function hi(){let e=new CustomEvent(ht);document.dispatchEvent(e)}function ho(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&i.addEventListener(e,t,{once:!0}),r)i&&rT.flushSync(()=>i.dispatchEvent(o));else i.dispatchEvent(o)}hr.displayName="DismissableLayer",k.forwardRef((e,t)=>
139{let n=k.useContext(hn),r=k.useRef(null),i=f0(t,r);return k.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,C.jsx)(f7.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var hs="focusScope.autoFocusOnMount",ha="focusScope.autoFocusOnUnmount",hl={bubbles:!1,cancelable:!0},hu=k.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=k.useState(null),u=he(i),c=he(o),d=k.useRef(null),p=f0(t,e=>l(e)),f=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(r){let e=function(e){if(f.paused||!a)return;let t=e.target;a.contains(t)?d.current=t:hp(d.current,{select:!0})},t=function(e){if(f.paused||!a)return;let t=e.relatedTarget;null!==t&&(a.contains(t)||hp(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&hp(a)});return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,a,f.paused]),k.useEffect(()=>{if(a){hf.add(f);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(hs,hl);a.addEventListener(hs,u),a.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(hp(r,{select:t}),document.activeElement!==n)return}(hc(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&hp(a))}return()=>{a.removeEventListener(hs,u),setTimeout(()=>{let t=new CustomEvent(ha,hl);a.addEventListener(ha,c),a.dispatchEvent(t),t.defaultPrevented||hp(e??document.body,{select:!0}),a.removeEventListener(ha,c),hf.remove(f)},0)}}},[a,u,c,f]);let h=k.useCallback(e=>{if(!n&&!r||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=hc(e);return[hd(t,e),hd(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&hp(o,{select:!0})):(e.preventDefault(),n&&hp(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,f.paused]);return(0,C.jsx)(f7.div,{tabIndex:-1,...s,ref:p,onKeyDown:h})});function hc(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let 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 hd(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function hp(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}hu.displayName="FocusScope";var hf=function(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=hh(e,t)).unshift(t)},remove(t){e=hh(e,t),e[0]?.resume()}}}();function hh(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var hm=k.forwardRef((e,t)=>{let{container:n,...r}=e,[i,o]=k.useState(!1);f1(()=>o(!0),[]);let s=n||i&&globalThis?.document?.body;return s?rT.createPortal((0,C.jsx)(f7.div,{...r,ref:t}),s):null});hm.displayName="Portal";var hg=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,i]=k.useState(),o=k.useRef(null),s=k.useRef(e),a=k.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},k.useReducer((e,t)=>n[e][t]??e,t));return k.useEffect(()=>{let e=hv(o.current);a.current="mounted"===l?e:"none"},[l]),f1(()=>
139{let t=o.current,n=s.current;if(n!==e){let r=a.current,i=hv(t);e?u("MOUNT"):"none"===i||t?.display==="none"?u("UNMOUNT"):n&&r!==i?u("ANIMATION_OUT"):u("UNMOUNT"),s.current=e}},[e,u]),f1(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=hv(o.current).includes(n.animationName);if(n.target===r&&i&&(u("ANIMATION_END"),!s.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(a.current=hv(o.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:k.useCallback(e=>{o.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):k.Children.only(n),o=f0(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||r.isPresent?k.cloneElement(i,{ref:o}):null};function hv(e){return e?.animationName||"none"}hg.displayName="Presence";var hy=0;function hb(){let 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 hE="Dialog",[hx,hT]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>k.createContext(e));return function(n){let r=n?.[e]||t;return k.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=k.createContext(r),o=n.length;n=[...n,r];let s=t=>{let{scope:n,children:r,...s}=t,a=n?.[e]?.[o]||i,l=k.useMemo(()=>s,Object.values(s));return(0,C.jsx)(a.Provider,{value:l,children:r})};return s.displayName=t+"Provider",[s,function(n,s){let a=s?.[e]?.[o]||i,l=k.useContext(a);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(hE),[hw,hC]=hx(hE),h_=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,a=k.useRef(null),l=k.useRef(null),[u,c]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,s]=function({defaultProp:e,onChange:t}){let[n,r]=k.useState(e),i=k.useRef(n),o=k.useRef(t);return f4(()=>{o.current=t},[t]),k.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;{let t=k.useRef(void 0!==e);k.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. 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])}return[l,k.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else o(t)},[a,e,o,s])]}({prop:r,defaultProp:i??!1,onChange:o,caller:hE});return(0,C.jsx)(hw,{scope:t,triggerRef:a,contentRef:l,contentId:f5(),titleId:f5(),descriptionId:f5(),open:u,onOpenChange:c,onOpenToggle:k.useCallback(()=>c(e=>!e),[c]),modal:s,children:n})};h_.displayName=hE;var hk="DialogTrigger",hS=k.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=hC(hk,n),o=f0(t,i.triggerRef);return(0,C.jsx)(f7.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":hY(i.open),...r,ref:o,onClick:rv(e.onClick,i.onOpenToggle)})});hS.displayName=hk;var hN="DialogPortal",[hA,hD]=hx(hN,{forceMount:void 0}),hI=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=hC(hN,t);return(0,C.jsx)(hA,{scope:t,forceMount:n,children:k.Children.map(r,e=>(0,C.jsx)(hg,{present:n||o.open,children:(0,C.jsx)(hm,{asChild:!0,container:i,children:e})}))})};hI.displayName=hN;var hO="DialogOverlay",hF=k.forwardRef((e,t)=>
139{let n=hD(hO,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=hC(hO,e.__scopeDialog);return o.modal?(0,C.jsx)(hg,{present:r||o.open,children:(0,C.jsx)(hL,{...i,ref:t})}):null});hF.displayName=hO;var hR=f6("DialogOverlay.RemoveScroll"),hL=k.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=hC(hO,n);return(0,C.jsx)(pI.A,{as:hR,allowPinchZoom:!0,shards:[i.contentRef],children:(0,C.jsx)(f7.div,{"data-state":hY(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),hM="DialogContent",hP=k.forwardRef((e,t)=>{let n=hD(hM,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=hC(hM,e.__scopeDialog);return(0,C.jsx)(hg,{present:r||o.open,children:o.modal?(0,C.jsx)(hj,{...i,ref:t}):(0,C.jsx)(hV,{...i,ref:t})})});hP.displayName=hM;var hj=k.forwardRef((e,t)=>{let n=hC(hM,e.__scopeDialog),r=k.useRef(null),i=f0(t,n.contentRef,r);return k.useEffect(()=>{let e=r.current;if(e)return pD(e)},[]),(0,C.jsx)(h$,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:rv(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:rv(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:rv(e.onFocusOutside,e=>e.preventDefault())})}),hV=k.forwardRef((e,t)=>{let n=hC(hM,e.__scopeDialog),r=k.useRef(!1),i=k.useRef(!1);return(0,C.jsx)(h$,{...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));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),h$=k.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,a=hC(hM,n),l=k.useRef(null),u=f0(t,l);return k.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??hb()),document.body.insertAdjacentElement("beforeend",e[1]??hb()),hy++,()=>{1===hy&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),hy--}},[]),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(hu,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,C.jsx)(hr,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":hY(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(hX,{titleId:a.titleId}),(0,C.jsx)(hJ,{contentRef:l,descriptionId:a.descriptionId})]})]})}),hB="DialogTitle",hU=k.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=hC(hB,n);return(0,C.jsx)(f7.h2,{id:i.titleId,...r,ref:t})});hU.displayName=hB;var hq="DialogDescription",hz=k.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=hC(hq,n);return(0,C.jsx)(f7.p,{id:i.descriptionId,...r,ref:t})});hz.displayName=hq;var hH="DialogClose",hW=k.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=hC(hH,n);return(0,C.jsx)(f7.button,{type:"button",...r,ref:t,onClick:rv(e.onClick,()=>i.onOpenChange(!1))})});function hY(e){return e?"open":"closed"}hW.displayName=hH;var hG="DialogTitleWarning",[hK,hQ]=function(e,t){let n=k.createContext(t),r=e=>{let{children:t,...r}=e,i=k.useMemo(()=>r,Object.values(r));return(0,C.jsx)(n.Provider,{value:i,children:t})};return r.displayName=e+"Provider",[r,function(r){let i=k.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}(hG,{contentName:hM,titleName:hB,docsSlug:"dialog"}),hX=({titleId:e})=>{let t=hQ(hG),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
140
141If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
142
143For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return k.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},hJ=({contentRef:e,descriptionId:t})=>{let n=hQ("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return k.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null};let hZ=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s=(0,_.c)(8);return s[0]!==e.className?(n=(0,rg.$)("graphiql-dialog-close",e.className),s[0]=e.className,s[1]=n):n=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,C.jsx)(it,{children:"Close dialog"}),i=(0,C.jsx)(iP,{}),s[2]=r,s[3]=i):(r=s[2],i=s[3]),s[4]!==e||s[5]!==t||s[6]!==n?(o=(0,C.jsx)(hW,{asChild:!0,children:(0,C.jsxs)(iI,{...e,ref:t,type:"button",className:n,children:[r,i]})}),s[4]=e,s[5]=t,s[6]=n,s[7]=o):o=s[7],o});hZ.displayName="Dialog.Close";let h0=Object.assign(e=>{let t,n,r,i,o,s=(0,_.c)(9);return s[0]!==e?({children:t,...n}=e,s[0]=e,s[1]=t,s[2]=n):(t=s[1],n=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,C.jsx)(hF,{className:"graphiql-dialog-overlay"}),s[3]=r):r=s[3],s[4]!==t?(i=(0,C.jsxs)(hI,{children:[r,(0,C.jsx)(hP,{className:"graphiql-dialog",children:t})]}),s[4]=t,s[5]=i):i=s[5],s[6]!==n||s[7]!==i?(o=(0,C.jsx)(h_,{...n,children:i}),s[6]=n,s[7]=i,s[8]=o):o=s[8],o},{Close:hZ,Title:hU,Trigger:hS,Description:hz}),h1=(0,k.forwardRef)((e,t)=>{let n,r,i=(0,_.c)(6);return i[0]!==e.className?(n=(0,rg.$)("graphiql-button-group",e.className),i[0]=e.className,i[1]=n):n=i[1],i[2]!==e||i[3]!==t||i[4]!==n?(r=(0,C.jsx)("div",{...e,ref:t,className:n}),i[2]=e,i[3]=t,i[4]=n,i[5]=r):r=i[5],r});h1.displayName="ButtonGroup";let h2=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s,a,l,u=(0,_.c)(19);u[0]!==e?({label:n,onClick:r,...i}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=i):(n=u[1],r=u[2],i=u[3]);let[c,d]=(0,k.useState)(null);u[4]!==r?(o=e=>{try{r&&r(e),d(null)}catch(e){d(e instanceof Error?e:Error(`Toolbar button click failed: ${e}`))}},u[4]=r,u[5]=o):o=u[5];let p=o,f=c&&"error";u[6]!==i.className||u[7]!==f?(s=(0,rg.$)("graphiql-toolbar-button",f,i.className),u[6]=i.
143className,u[7]=f,u[8]=s):s=u[8];let h=c?c.message:n,m=c?"true":i["aria-invalid"];return u[9]!==p||u[10]!==i||u[11]!==t||u[12]!==s||u[13]!==h||u[14]!==m?(a=(0,C.jsx)(iI,{...i,ref:t,type:"button",className:s,onClick:p,"aria-label":h,"aria-invalid":m}),u[9]=p,u[10]=i,u[11]=t,u[12]=s,u[13]=h,u[14]=m,u[15]=a):a=u[15],u[16]!==n||u[17]!==a?(l=(0,C.jsx)(iD,{label:n,children:a}),u[16]=n,u[17]=a,u[18]=l):l=u[18],l});h2.displayName="ToolbarButton";let h3=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let 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},h5=(e=>e?h3(e):h3)((e,t)=>({historyStorage:null,actions:{addToHistory(n){let{historyStorage:r}=t();r.updateHistory(n),e({})},editLabel(n,r){let{historyStorage:i}=t();i.editLabel(n,r),e({})},toggleFavorite(n){let{historyStorage:r}=t();r.toggleFavorite(n),e({})},setActive:e=>e,deleteFromHistory(n,r){let{historyStorage:i}=t();i.deleteHistory(n,r),e({})}}})),h4=e=>{let t,n,r,i,o,s,a,l=(0,_.c)(12),{maxHistoryLength:u,children:c}=e,d=void 0===u?20:u;l[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0},l[0]=t):t=l[0];let{isFetching:p}=ra(t);l[1]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0},l[1]=n):n=l[1];let{tabs:f,activeTabIndex:h}=rn(n),m=f[h],g=H();l[2]!==d||l[3]!==g?(r=new N.HistoryStore(g,d),l[2]=d,l[3]=g,l[4]=r):r=l[4];let v=r;return l[5]!==v?(i=()=>{h5.setState({historyStorage:v})},o=[v],l[5]=v,l[6]=i,l[7]=o):(i=l[6],o=l[7]),(0,k.useEffect)(i,o),l[8]!==m||l[9]!==p?(s=()=>{if(!p)return;let{addToHistory:e}=h5.getState().actions;e({query:m.query??void 0,variables:m.variables??void 0,headers:m.headers??void 0,operationName:m.operationName??void 0})},a=[p,m],l[8]=m,l[9]=p,l[10]=s,l[11]=a):(s=l[10],a=l[11]),(0,k.useEffect)(s,a),c},h6=B(h5),h9=()=>h6(h7);function h8(e){return e.historyStorage.queries}function h7(e){return e.actions}let me=e=>{let t,n,r,i,o,s,a,l,u,c,d,p,f,h=(0,_.c)(39),{editLabel:m,toggleFavorite:g,deleteFromHistory:v,setActive:y}=h9();h[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:me},h[0]=t):t=h[0];let{headerEditor:b,queryEditor:E,variableEditor:x}=rn(t),T=(0,k.useRef)(null),w=(0,k.useRef)(null),[S,N]=(0,k.useState)(!1);h[1]!==S?(n=()=>{var e;S&&(null==(e=T.current)||e.focus())},r=[S],h[1]=S,h[2]=n,h[3]=r):(n=h[2],r=h[3]),(0,k.useEffect)(n,r),h[4]!==e.item.label||h[5]!==e.item.operationName||h[6]!==e.item.query?(i=e.item.label||e.item.operationName||function(e){return null==e?void 0:e.split("\n").map(e=>e.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")}(e.item.query),h[4]=e.item.label,h[5]=e.item.operationName,h[6]=e.item.query,h[7]=i):i=h[7];let A=i;h[8]!==m||h[9]!==e.item?(o=()=>{var t;N(!1);let{index:n,...r}=e.item;m({...r,label:null==(t=T.current)?void 0:t.value},n)},h[8]=m,h[9]=e.item,h[10]=o):o=h[10];let D=o;h[11]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{N(!1)},h[11]=s):s=h[11];let I=s;h[12]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{e.stopPropagation(),N(!0)},h[12]=a):a=h[12];let O=a;h[13]!==b||h[14]!==e.item||h[15]!==E||h[16]!==y||h[17]!==x?(l=()=>{let{query:t,variables:n,headers:r}=e.item;null==E||E.setValue(t??""),null==x||x.setValue(n??""),null==b||b.setValue(r??""),y(e.item)},h[13]=b,h[14]=e.item,h[15]=E,h[16]=y,h[17]=x,h[18]=l):l=h[18];let F=l;h[19]!==v||h[20]!==e.item?(u=t=>{t.stopPropagation(),v(e.item)},h[19]=v,h[20]=e.item,h[21]=u):u=h[21];let R=u;h[22]!==e.item||h[23]!==g?(c=t=>{t.stopPropagation(),g(e.item)},h[22]=e.item,h[23]=g,h[24]=c):c=h[24];let L=c,M=S&&"editable";return h[25]!==M?(d=(0,rg.$)("graphiql-history-item",M),h[25]=M,h[26]=d):d=h[26],h[27]!==A||h[28]!==m||h[29]!==R||h[30]!==F||h[31]!==D||h[32]!==L||h[33]!==S||h[34]!==e.item?(p=S?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"text",defaultValue:e.item.label,ref:T,onKeyDown:t=>{"Esc"===t.key?N(!1):"Enter"===t.key&&(N(!1),m({...e.item,label:t.currentTarget.value}))},placeholder:"Type a label"}),(0,C.jsx)(iI,{type:"button",ref:w,onClick:D,children:"Save"}),(0,C.jsx)(iI,{type:"button",ref:w,onClick:I,children:(0,C.jsx)(iP,{})})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(iD,{label:"Set active",children:(0,C.jsx)(iI,{type:"button",className:"graphiql-history-item-label",onClick:F,"aria-label":"Set active",children:A})}),(0,C.jsx)(iD,{label:"Edit label",children:(0,C.jsx)(iI,{type:"button",className:"graphiql-history-item-action",onClick:O,"aria-label":"Edit label",children:(0,C.jsx)(iJ,{"aria-hidden":"true"})})}),(0,C.jsx)(iD,{label:e.item.favorite?"Remove favorite":"Add favorite",children:(0,C.jsx)(iI,{type:"button",className:"graphiql-history-item-action",onClick:L,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?(0,C.jsx)(i4,{"aria-hidden":"true"}):(0,C.jsx)(i6,{"aria-hidden":"true"})})}),(0,C.jsx)(iD,{label:"Delete from history",children:(0,C.jsx)(iI,{type:"button",className:"graphiql-history-item-action",onClick:R,"aria-label":"Delete from history",children:(0,C.jsx)(i8,{"aria-hidden":"true"})})})]}),h[27]=A,h[28]=m,h[29]=R,h[30]=F,h[31]=D,h[32]=L,h[33]=S,h[34]=e.item,h[35]=p):p=h[35],h[36]!==d||h[37]!==p?(f=(0,C.jsx)("li",{className:d,children:p}),h[36]=d,h[37]=p,h[38]=f):f=h[38],f};function mt(e,t){return{...e,index:t}}function mn(e){return e.favorite}function mr(e){return!e.favorite}function mi(e){return(0,C.jsx)(me,{item:e},e.index)}function mo(e){return(0,C.jsx)(me,{item:e},e.index)}let ms={title:"History",icon:iY,content:()=>{let e,t,n,r,i,o,s=(0,_.c)(13),a=h6(h8),{deleteFromHistory:l}=h9(),u=(e=a.slice().map(mt).reverse()).filter(mn);u.length&&(e=e.filter(mr));let[c,d]=(0,k.useState)(null);s[0]!==c?(t=()=>{c&&setTimeout(()=>{d(null)},2e3)},n=[c],s[0]=c,s[1]=t,s[2]=n):(t=s[1],n=s[2]),(0,k.useEffect)(t,n);let p=!!u.length,f=!!e.length,h=(c||f)&&(0,C.jsx)(iO,{type:"button",state:c||void 0,disabled:!e.length,onClick:()=>{try{for(let t of e)l(t,!0);d("success")}catch{d("error")}},children:{success:"Cleared",error:"Failed to Clear"}[c]||"Clear"});s[3]!==h?(r=(0,C.jsxs)("div",{className:"graphiql-history-header",children:["History",h]}),s[3]=h,s[4]=r):r=s[4];let m=p&&(0,C.jsx)("ul",{className:"graphiql-history-items",children:u.map(mi)});s[5]!==p||s[6]!==f?(i=p&&f&&(0,C.jsx)("div",{className:"graphiql-history-item-spacer"}),s[5]=p,s[6]=f,s[7]=i):i=s[7];let g=f&&(0,C.jsx)("ul",{className:"graphiql-history-items",children:e.map(mo)});return s[8]!==r||s[9]!==m||s[10]!==i||s[11]!==g?(o=(0,C.jsxs)("section",{"aria-label":"History",className:"graphiql-history",children:[r,m,i,g]}),s[8]=r,s[9]=m,s[10]=i,s[11]=g,s[12]=o):o=s[12],o}},ma=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({}
143,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},ml=[{name:"Docs"}],mu=(e=>e?ma(e):ma)((e,t)=>({explorerNavStack:ml,actions:{push(t){e(e=>{let n=e.explorerNavStack;return{explorerNavStack:n.at(-1).def===t.def?n:[...n,t]}})},pop(){e(e=>{let t=e.explorerNavStack;return{explorerNavStack:t.length>1?t.slice(0,-1):t}})},reset(){e(e=>{let t=e.explorerNavStack;return{explorerNavStack:1===t.length?t:ml}})},resolveSchemaReferenceToNavItem(e){if(!e)return;let{push:n}=t().actions;switch(e.kind){case"Type":n({name:e.type.name,def:e.type});break;case"Field":n({name:e.field.name,def:e.field});break;case"Argument":e.field&&n({name:e.field.name,def:e.field});break;case"EnumValue":e.type&&n({name:e.type.name,def:e.type})}},rebuildNavStackWithSchema(t){e(e=>{let n=e.explorerNavStack;if(1===n.length)return e;let r=[...ml],i=null;for(let e of n)if(e!==ml[0])if(e.def)if((0,el.sy)(e.def)){let n=t.getType(e.def.name);if(n)r.push({name:e.name,def:n}),i=n;else break}else if(null===i)break;else if((0,el.YQ)(i)||(0,el.qK)(i)){let t=i.getFields()[e.name];if(t)r.push({name:e.name,def:t});else break}else if((0,el.lg)(i)||(0,el.oF)(i)||(0,el.kD)(i)||(0,el.CK)(i))break;else{let t=i;if(t.args.some(t=>t.name===e.name))r.push({name:e.name,def:t});else break}else i=null,r.push(e);return{explorerNavStack:r}})}}})),mc=e=>{let t,n,r,i,o=(0,_.c)(7),{children:s}=e,{schema:a,validationErrors:l,schemaReference:u}=ev();return o[0]!==u?(t=()=>{let{resolveSchemaReferenceToNavItem:e}=mu.getState().actions;e(u)},n=[u],o[0]=u,o[1]=t,o[2]=n):(t=o[1],n=o[2]),(0,k.useEffect)(t,n),o[3]!==a||o[4]!==l?(r=()=>{let{reset:e,rebuildNavStackWithSchema:t}=mu.getState().actions;null==a||l.length>0?e():t(a)},i=[a,l],o[3]=a,o[4]=l,o[5]=r,o[6]=i):(r=o[5],i=o[6]),(0,k.useEffect)(r,i),s},md=B(mu),mp=()=>md(mh),mf=()=>md(mm);function mh(e){return e.explorerNavStack}function mm(e){return e.actions}let mg=(0,k.forwardRef)((e,t)=>{let n,r,i,o,s,a,l,u,c=(0,_.c)(18);c[0]!==e?({children:n,onlyShowFirstChild:r,type:o,...i}=e,c[0]=e,c[1]=n,c[2]=r,c[3]=i,c[4]=o):(n=c[1],r=c[2],i=c[3],o=c[4]);let d=`graphiql-markdown-${o}`,p=r&&"graphiql-markdown-preview";return c[5]!==i.className||c[6]!==d||c[7]!==p?(s=(0,rg.$)(d,p,i.className),c[5]=i.className,c[6]=d,c[7]=p,c[8]=s):s=c[8],c[9]!==n?(a=nN.render(n),c[9]=n,c[10]=a):a=c[10],c[11]!==a?(l={__html:a},c[11]=a,c[12]=l):l=c[12],c[13]!==i||c[14]!==t||c[15]!==s||c[16]!==l?(u=(0,C.jsx)("div",{...i,ref:t,className:s,dangerouslySetInnerHTML:l}),c[13]=i,c[14]=t,c[15]=s,c[16]=l,c[17]=u):u=c[17],u});mg.displayName="MarkdownContent";var mv=n(33254);let my=e=>{let t,n,r,i,o,s,a=(0,_.c)(12),{field:l}=e;if(!("defaultValue"in l)||void 0===l.defaultValue)return null;let u=l.defaultValue,c=l.type;if(a[0]!==l.defaultValue||a[1]!==l.type){i=Symbol.for("react.early_return_sentinel");t:{let e=(0,mv.K)(u,c);if(!e){i=null;break t}r=" = ",t="graphiql-doc-explorer-default-value",n=(e=>e?(0,A.y)(e):"")(e)}a[0]=l.defaultValue,a[1]=l.type,a[2]=t,a[3]=n,a[4]=r,a[5]=i}else t=a[2],n=a[3],r=a[4],i=a[5];return i!==Symbol.for("react.early_return_sentinel")?i:(a[6]!==t||a[7]!==n?(o=(0,C.jsx)("span",{className:t,children:n}),a[6]=t,a[7]=n,a[8]=o):o=a[8],a[9]!==r||a[10]!==o?(s=(0,C.jsxs)(C.Fragment,{children:[r,o]}),a[9]=r,a[10]=o,a[11]=s):s=a[11],s)};function mb(e,t){return(0,el.bd)(e)?(0,C.jsxs)(C.Fragment,{children:[mb(e.ofType,t),"!"]}):(0,el.Fs)(e)?(0,C.jsxs)(C.Fragment,{children:["[",mb(e.ofType,t),"]"]}):t(e)}let mE=e=>{let t,n,r=(0,_.c)(5),{type:i}=e,{push:o}=mf();return i?(r[0]!==o?(t=e=>(0,C.jsx)("a",{className:"graphiql-doc-explorer-type-name",onClick:t=>{t.preventDefault(),o({name:e.name,def:e})},href:"#",children:e.name}),r[0]=o,r[1]=t):t=r[1],r[2]!==t||r[3]!==i?(n=mb(i,t),r[2]=t,r[3]=i,r[4]=n):n=r[4],n):null},mx=e=>{let t,n,r,i,o,s,a,l=(0,_.c)(19),{arg:u,showDefaultValue:c,inline:d}=e;l[0]!==u.name?(t=(0,C.jsx)("span",{className:"graphiql-doc-explorer-argument-name",children:u.name}),l[0]=u.name,l[1]=t):t=l[1],l[2]!==u.type?(n=(0,C.jsx)(mE,{type:u.type}),l[2]=u.type,l[3]=n):n=l[3],l[4]!==u||l[5]!==c?(r=!1!==c&&(0,C.jsx)(my,{field:u}),l[4]=u,l[5]=c,l[6]=r):r=l[6],l[7]!==t||l[8]!==n||l[9]!==r?(i=(0,C.jsxs)("span",{children:[t,": ",n,r]}),l[7]=t,l[8]=n,l[9]=r,l[10]=i):i=l[10];let p=i;return d?p:(l[11]!==u.description?(o=u.description?(0,C.jsx)(mg,{type:"description",children:u.description}):null,l[11]=u.description,l[12]=o):o=l[12],l[13]!==u.deprecationReason?(s=u.deprecationReason?(0,C.jsxs)("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[(0,C.jsx)("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),(0,C.jsx)(mg,{type:"deprecation",children:u.deprecationReason})]}):null,l[13]=u.deprecationReason,l[14]=s):s=l[14],l[15]!==p||l[16]!==o||l[17]!==s?(a=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-argument",children:[p,o,s]}),l[15]=p,l[16]=o,l[17]=s,l[18]=a):a=l[18],a)},mT=e=>{let t,n=(0,_.c)(3);return n[0]!==e.children||n[1]!==e.preview?(t=e.children?(0,C.jsxs)("div",{className:"graphiql-doc-explorer-deprecation",children:[(0,C.jsx)("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),(0,C.jsx)(mg,{type:"deprecation",onlyShowFirstChild:e.preview??!0,children:e.children})]}):null,n[0]=e.children,n[1]=e.preview,n[2]=t):t=n[2],t},mw=e=>{let t,n=(0,_.c)(2),{directive:r}=e;return n[0]!==r.name.value?(t=(0,C.jsxs)("span",{className:"graphiql-doc-explorer-directive",children:["@",r.name.value]}),n[0]=r.name.value,n[1]=t):t=n[1],t},mC=e=>{let t,n,r,i,o=(0,_.c)(10),{title:s,children:a}=e,l=m_[s];return o[0]!==l?(t=(0,C.jsx)(l,{}),o[0]=l,o[1]=t):t=o[1],o[2]!==t||o[3]!==s?(n=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-section-title",children:[t,s]}),o[2]=t,o[3]=s,o[4]=n):n=o[4],o[5]!==a?(r=(0,C.jsx)("div",{className:"graphiql-doc-explorer-section-content",children:a}),o[5]=a,o[6]=r):r=o[6],o[7]!==n||o[8]!==r?(i=(0,C.jsxs)("div",{children:[n,r]}),o[7]=n,o[8]=r,o[9]=i):i=o[9],i},m_={Arguments:iF,"Deprecated Arguments":iV,"Deprecated Enum Values":i$,"Deprecated Fields":iB,Directives:iU,"Enum Values":iH,Fields:iW,Implements:iG,Implementations:i7,"Possible Types":i7,"Root Types":i3,Type:i7,"All Schema Types":i7},mk=e=>{let t,n,r,i,o,s,a=(0,_.c)(15),{field:l}=e;return a[0]!==l.description?(t=l.description?(0,C.jsx)(mg,{type:"description",children:l.description}):null,a[0]=l.description,a[1]=t):t=a[1],a[2]!==l.deprecationReason?(n=(0,C.jsx)(mT,{preview:!1,children:l.deprecationReason}),a[2]=l.deprecationReason,a[3]=n):n=a[3],a[4]!==l.type?(r=(0,C.jsx)(mC,{title:"Type",children:(0,C.jsx)(mE,{type:l.type})}),a[4]=l.type,a[5]=r):r=a[5],a[6]!==l?(i=(0,C.jsx)(mS,{field:l}),o=(0,C.jsx)(mN,{field:l}),a[6]=l,a[7]=i,a[8]=o):(i=a[7],o=a[8]),a[9]!==t||a[10]!==n||a[11]!==r||a[12]!==i||a[13]!==o?(s=(0,C.jsxs)(C.Fragment,{children:[t,n,r,i,o]}),a[9]=t,a[10]=n,a[11]=r,a[12]=i,a[13]=o,a[14]=s):s=a[14],s},mS=e=>{let t,n,r,i,o,s,a=(0,_.c)(12),{field:l}=e,[u,c]=(0,k.useState)(!1);a[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{c(!0)},a[0]=t):t=a[0];let d=t;if(!("args"in l))return null;if(a[1]!==l.args){for(let e of(n=[],r=[],l.args))e.deprecationReason?r.push(e):n.push(e);i=n.length>0?(0,C.jsx)(mC,{title:"Arguments",children:n.map(mA)}):null,a[1]=l.args,a[2]=n,a[3]=r,a[4]=i}else n=a[2],r=a[3],i=a[4];return a[5]!==n.length||a[6]!==r||a[7]!==u?(o=r.length>0?u||0===n.length?(0,C.jsx)(mC,{title:"Deprecated Arguments",children:r.map(mD)}):(0,C.jsx)(iO,{type:"button",onClick:d,children:"Show Deprecated Arguments"}):null,a[5]=n.length,a[6]=r,a[7]=u,a[8]=o):o=a[8],a[9]!==i||a[10]!==o?(s=(0,C.jsxs)(C.Fragment,{children:[i,o]}),a[9]=i,a[10]=o,a[11]=s):s=a[11],s},mN=e=>{var t;let n,r,i=(0,_.c)(4),{field:o}=e,s=null==(t=o.astNode)?void 0:t.directives;return(null==s?void 0:s.length)?(i[0]!==s?(n=s.map(mI),i[0]=s,i[1]=n):n=i[1],i[2]!==n?(r=(0,C.jsx)(mC,{title:"Directives",children:n}),i[2]=n,i[3]=r):r=i[3],r):null};function mA(e){return(0,C.jsx)(mx,{arg:e},e.name)}function mD(e){return(0,C.jsx)(mx,{arg:e},e.name)}function mI(e){return(0,C.jsx)("div",{children:(0,C.jsx)(mw,{directive:e})},e.name.value)}let mO=e=>{var t,n;let r,i,o,s,a,l,u,c,d,p,f=(0,_.c)(39),{schema:h}=e;f[0]!==h?(r=h.getQueryType(),f[0]=h,f[1]=r):r=f[1];let m=r;f[2]!==h?(i=null==(t=h.getMutationType)?void 0:t.call(h),f[2]=h,f[3]=i):i=f[3];let g=i;f[4]!==h?(o=null==(n=h.getSubscriptionType)?void 0:n.call(h),f[4]=h,f[5]=o):o=f[5];let v=o;if(f[6]!==g||f[7]!==m||f[8]!==h||f[9]!==v){let e,t,n,r,i=h.getTypeMap(),o=null==m?void 0:m.name,d=null==g?void 0:g.name,p=null==v?void 0:v.name;f[15]!==p||f[16]!==o||f[17]!==d?(e=[o,d,p],f[15]=p,f[16]=o,f[17]=d,f[18]=e):e=f[18];let y=e,b=h.description||"A GraphQL schema provides a root type for each kind of operation.";f[19]!==b?(u=(0,C.jsx)(mg,{type:"description",children:b}),f[19]=b,f[20]=u):u=f[20],f[21]!==m?(t=m?(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",(0,C.jsx)(mE,{type:m})]}):null,f[21]=m,f[22]=t):t=f[22],f[23]!==g?(n=g&&(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",(0,C.jsx)(mE,{type:g})]}),f[23]=g,f[24]=n):n=f[24],f[25]!==v?(r=v&&(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",(0,C.jsx)(mE,{type:v})]}),f[25]=v,f[26]=r):r=f[26],f[27]!==t||f[28]!==n||f[29]!==r?(c=(0,C.jsxs)(mC,{title:"Root Types",children:[t,n,r]}),f[27]=t,f[28]=n,f[29]=r,f[30]=c):c=f[30],s=mC,a="All Schema Types",l=i&&(0,C.jsx)("div",{children:Object.values(i).map(e=>y.includes(e.name)||e.name.startsWith("__")?null:(0,C.jsx)("div",{children:(0,C.jsx)(mE,{type:e})},e.name))}),f[6]=g,f[7]=m,f[8]=h,f[9]=v,f[10]=s,f[11]=a,f[12]=l,f[13]=u,f[14]=c}else s=f[10],a=f[11],l=f[12],u=f[13],c=f[14];return f[31]!==s||f[32]!==a||f[33]!==l?(d=(0,C.jsx)(s,{title:a,children:l}),f[31]=s,f[32]=a,f[33]=l,f[34]=d):d=f[34],f[35]!==u||f[36]!==c||f[37]!==d?(p=(0,C.jsxs)(C.Fragment,{children:[u,c,d]}),f[35]=u,f[36]=c,f[37]=d,f[38]=p):p=f[38],p},mF="undefined"!=typeof document?k.useLayoutEffect:()=>{};function mR(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function mL(e){let t=(0,k.useRef)({isFocused:!1,observer:null});mF(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,k.useRef)(null);return mF(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)}
143,[])}(t=>{null==e||e(t)});return(0,k.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;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(mR(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||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 mM(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function mP(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function mj(e){let t=null;return()=>(null==t&&(t=e()),t)}let mV=mj(function(){return mP(/^Mac/i)}),m$=mj(function(){return mP(/^iPhone/i)}),mB=mj(function(){return mP(/^iPad/i)||mV()&&navigator.maxTouchPoints>1}),mU=mj(function(){return m$()||mB()});mj(function(){return mV()||mU()}),mj(function(){return mM(/AppleWebKit/i)&&!mq()});let mq=mj(function(){return mM(/Chrome/i)}),mz=mj(function(){return mM(/Android/i)});mj(function(){return mM(/Firefox/i)});let mH=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},mW=e=>e&&"window"in e&&e.window===e?e:mH(e).defaultView||window,mY=null,mG=new Set,mK=new Map,mQ=!1,mX=!1,mJ={Tab:!0,Escape:!0};function mZ(e,t){for(let n of mG)n(e,t)}function m0(e){mQ=!0,e.metaKey||!mV()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(mY="keyboard",mZ("keyboard",e))}
143function m1(e){mY="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(mQ=!0,mZ("pointer",e))}function m2(e){(0===e.mozInputSource&&e.isTrusted||(mz()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(mQ=!0,mY="virtual")}function m3(e){e.target!==window&&e.target!==document&&e.isTrusted&&(mQ||mX||(mY="virtual",mZ("virtual",e)),mQ=!1,mX=!1)}function m5(){mQ=!1,mX=!0}function m4(e){if("undefined"==typeof window||"undefined"==typeof document||mK.get(mW(e)))return;let t=mW(e),n=mH(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){mQ=!0,r.apply(this,arguments)},n.addEventListener("keydown",m0,!0),n.addEventListener("keyup",m0,!0),n.addEventListener("click",m2,!0),t.addEventListener("focus",m3,!0),t.addEventListener("blur",m5,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",m1,!0),n.addEventListener("pointermove",m1,!0),n.addEventListener("pointerup",m1,!0)),t.addEventListener("beforeunload",()=>{m6(e)},{once:!0}),mK.set(t,{focus:r})}let m6=(e,t)=>{let n=mW(e),r=mH(e);t&&r.removeEventListener("DOMContentLoaded",t),mK.has(n)&&(n.HTMLElement.prototype.focus=mK.get(n).focus,r.removeEventListener("keydown",m0,!0),r.removeEventListener("keyup",m0,!0),r.removeEventListener("click",m2,!0),n.removeEventListener("focus",m3,!0),n.removeEventListener("blur",m5,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",m1,!0),r.removeEventListener("pointermove",m1,!0),r.removeEventListener("pointerup",m1,!0)),mK.delete(n))};function m9(){return"pointer"!==mY}"undefined"!=typeof document&&function(e){let t,n=mH(void 0);"loading"!==n.readyState?m4(void 0):(t=()=>{m4(e)},n.addEventListener("DOMContentLoaded",t)),()=>m6(e,t)}();let m8=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function m7(e,t){return!!t&&!!e&&e.contains(t)}function ge(){let e=(0,k.useRef)(new Map),t=(0,k.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,k.useCallback)((t,n,r,i)=>{var o;let s=(null==(o=e.current.get(r))?void 0:o.fn)||r;t.removeEventListener(n,s,i),e.current.delete(r)},[]),r=(0,k.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,k.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function gt(e={}){var t;let{autoFocus:n=!1,isTextInput:r,within:i}=e,o=(0,k.useRef)({isFocused:!1,isFocusVisible:n||m9()}),[s,a]=(0,k.useState)(!1),[l,u]=(0,k.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,k.useCallback)(()=>u(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,k.useCallback)(e=>{o.current.isFocused=e,a(e),c()},[c]);t={isTextInput:r},m4(),(0,k.useEffect)(()=>{let e=(e,n)=>{(function(e,t,n){let r=mH(null==n?void 0:n.target),i="undefined"!=typeof window?mW(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?mW(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?mW(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?mW(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof i&&!m8.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof s&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof a&&!mJ[n.key])})(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{o.current.isFocusVisible=e,c()})(m9())};return mG.add(e),()=>{mG.delete(e)}},[]);let{focusProps:p}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,o=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),s=mL(o),a=(0,k.useCallback)(e=>{var t;let r=mH(e.target),o=r?((e=document)=>e.activeElement)(r):((e=document)=>e.activeElement)();e.target===e.currentTarget&&o===(t=e.nativeEvent,t.target)&&(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)?o:void 0}}}({isDisabled:i,onFocusChange:d}),{focusWithinProps:f}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=(0,k.useRef)({isFocusWithin:!1}),{addGlobalListener:s,removeAllGlobalListeners:a}=ge(),l=(0,k.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=mL(l),c=(0,k.useCallback)(e=>{var t;if(!e.currentTarget.contains(e.target))return;let n=mH(e.target),a=((e=document)=>e.activeElement)(n);if(!o.current.isFocusWithin&&a===(t=e.nativeEvent,t.target)){r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,u(e);let t=e.currentTarget;s(n,"focus",e=>{if(o.current.isFocusWithin&&!m7(t,e.target)){let r=new n.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(r,"target",{value:t}
143),Object.defineProperty(r,"currentTarget",{value:t}),l(mR(r))}},{capture:!0})}},[r,i,u,s,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}({isDisabled:!i,onFocusWithinChange:d});return{isFocused:s,isFocusVisible:l,focusProps:i?f:p}}let gn=!1,gr=0;function gi(e){"touch"===e.pointerType&&(gn=!0,setTimeout(()=>{gn=!1},50))}function go(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",gi),gr++,()=>{--gr>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",gi)}}function gs(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,s]=(0,k.useState)(!1),a=(0,k.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,k.useEffect)(go,[]);let{addGlobalListener:l,removeAllGlobalListeners:u}=ge(),{hoverProps:c,triggerHoverEnd:d}=(0,k.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=>{gn&&"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(mH(r.target),"pointerover",t=>{a.isHovered&&a.target&&!m7(a.target,t.target)&&e(t,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(t,t.pointerType)}),{hoverProps:o,triggerHoverEnd:e}},[t,n,r,i,a,l,u]);return(0,k.useEffect)(()=>{i&&d({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:c,isHovered:o}}function ga(e,t,n){let r,i=n.initialDeps??[];function o(){var o,s,a,l;let u,c;n.key&&(null==(o=n.debug)?void 0:o.call(n))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return r;if(i=d,n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(c=Date.now()),r=t(...d),n.key&&(null==(a=n.debug)?void 0:a.call(n))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/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`,`
144            font-size: .6rem;
145            font-weight: bold;
146            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 gl(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let gu=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},gc=e=>e,gd=e=>{let 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},gp=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(gu(n)),!r.ResizeObserver)return()=>{};let o=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(gu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},gf={passive:!0},gh="undefined"==typeof window||"onscrollend"in window,gm=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=0,o=e.options.useScrollendEvent&&gh?()=>void 0:((e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}})(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),s=r=>()=>{let{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,gf);let u=e.options.useScrollendEvent&&gh;return u&&n.addEventListener("scrollend",l,gf),()=>{n.removeEventListener("scroll",a),u&&n.removeEventListener("scrollend",l)}},gg=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]}
vendor: 2,930 bytes, line 146
146,gv=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;null==(o=null==(i=r.scrollElement)?void 0:i.scrollTo)||o.call(i,{[r.options.horizontal?"left":"top"]:e+t,behavior:n})};class gy{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,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,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let 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:gc,rangeExtractor:gd,onChange:()=>{},measureElement:gg,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=ga(()=>(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;let 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()}))}}
146,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)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let 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=ga(()=>[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=ga(()=>[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)}));let s=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let a=this.measurementsCache.slice(0,s);for(let i=s;i<e;i++){let 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,p=s?s.lane:i%this.options.lanes;a[i]={index:i,start:l,size:c,end:d,key:e,lane:p}}return this.measurementsCache=a,a},{key:!1,debug:()=>this.options.debug}),this.calculateRange=ga(()=>[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}){let i=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:i};let o=gb(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){let a=Array(r).fill(0);for(;s<i&&a.some(e=>e<n+t);){let t=e[s];a[t.lane]=t.end,s++}let l=Array(r).fill(n+t);for(;o>=0&&l.some(e=>e>=n);){let 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}
146),this.getVirtualIndexes=ga(()=>{let e=null,t=null,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=>{let 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)=>{let n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;let 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)=>{let n=this.measurementsCache[e];if(!n)return;let r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):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=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});this._measureElement(e,void 0)},this.getVirtualItems=ga(()=>
146[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return gl(t[gb(0,t.length-1,e=>gl(t[e]).start,e)])},this.getOffsetForAlignment=(e,t,n=0)=>{let r=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r),Math.max(Math.min(this.getTotalSize()+this.options.scrollMargin-r,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let 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"}let 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.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{"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}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1));let r=0,i=t=>{if(!this.targetWindow)return;let r=this.getOffsetForIndex(e,t);if(!r)return void console.warn("Failed to get offset for index:",e);let[i,s]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.targetWindow.requestAnimationFrame(()=>{let t=this.getScrollOffset(),n=this.getOffsetForIndex(e,s);if(!n)return void console.warn("Failed to get offset for index:",e);1.01>Math.abs(n[0]-t)||o(s)})},o=t=>{this.targetWindow&&(++r<10?this.targetWindow.requestAnimationFrame(()=>i(t)):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
146stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t,n=this.getMeasurements();if(0===n.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=n[n.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),r=n.length-1;for(;r>=0&&e.some(e=>null===e);){let t=n[r];null===e[t.lane]&&(e[t.lane]=t.end),r--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-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)}}let gb=(e,t,n,r)=>{for(;e<=t;){let 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},gE="undefined"!=typeof document?k.useLayoutEffect:k.useEffect;var gx=Object.defineProperty,gT=(e,t,n)=>(((e,t,n)=>t in e?gx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);class gw{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 document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){gT(this,"current",this.detect()),gT(this,"handoffState","pending"),gT(this,"currentId",0)}}let gC=new gw;function g_(e){var t,n;return gC.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 gk(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function gS(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i={current:!0};return gk(()=>{i.current&&n[0]()}),t.add(()=>{i.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=gS();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 gN(){let[e]=(0,k.useState)(gS);return(0,k.useEffect)(()=>()=>e.dispose(),[e]),e}let gA=(e,t)=>{gC.isServer?(0,k.useEffect)(e,t):(0,k.useLayoutEffect)(e,t)};function gD(e){let t=(0,k.useRef)(e);return gA(()=>{t.current=e},[e]),t}let gI=function(e){let t=gD(e);return k.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])};function gO(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 gF(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[n,r]=(0,k.useReducer)(()=>({}),{}),i=(0,k.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 gA(()=>{if(!e)return;let t=new ResizeObserver(r);return t.observe(e),()=>{t.disconnect()}},[e]),t?{width:"".concat(i.width,"px"),height:"".concat(i.height,"px")}:i}class gR extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var gL=Object.defineProperty,gM=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},gP=(e,t,n)=>(gM(e,t,"read from private field"),n?n.call(e):t.get(e)),gj=(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)},gV=(e,t,n,r)=>(gM(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class g${dispose(){this.disposables.dispose()}get state(){return gP(this,m)}subscribe(e,t){let n={selector:e,callback:t,current:e(gP(this,m))};return gP(this,v).add(n),this.disposables.add(()=>{gP(this,v).delete(n)})}on(e,t){return gP(this,g).get(e).add(t),this.disposables.add(()=>{gP(this,g).get(e).delete(t)})}send(e){let t=this.reduce(gP(this,m),e);if(t!==gP(this,m)){for(let e of(gV(this,m,t),gP(this,v))){let t=e.selector(gP(this,m));gB(e.current,t)||(e.current=t,e.callback(t))}for(let t of gP(this,g).get(e.type))t(gP(this,m),e)}}constructor(e){gj(this,m,{}),gj(this,g,new gR(()=>new Set)),gj(this,v,new Set),((e,t,n)=>((e,t,n)=>t in e?gL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n))(this,"disposables",gS()),gV(this,m,e)}}function gB(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&&gU(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&gU(e.entries(),t.entries()):!!(gq(e)&&gq(t))&&gU(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function gU(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;
146if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function gq(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function gz(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let o=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(o,gz),o}m=new WeakMap,g=new WeakMap,v=new WeakMap;var gH=Object.defineProperty,gW=(e,t,n)=>(((e,t,n)=>t in e?gH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),gY=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(gY||{});let gG={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 gK extends g${static new(){return new gK({stack:[]})}reduce(e,t){return gz(t.type,gG,e,t)}constructor(){super(...arguments),gW(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),gW(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}}let gQ=new gR(()=>gK.new());var gX=n(24769);function gJ(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gB;return(0,gX.useSyncExternalStoreWithSelector)(gI(t=>e.subscribe(gZ,t)),gI(()=>e.state),gI(()=>e.state),gI(t),n)}function gZ(e){return e}function g0(e,t){let n=(0,k.useId)(),r=gQ.get(t),[i,o]=gJ(r,(0,k.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return gA(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!o||i)}let g1=new Map,g2=new Map;function g3(e){var t;let n=null!=(t=g2.get(e))?t:0;return g2.set(e,n+1),0!==n||(g1.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=g2.get(e))?t:1;if(1===n?g2.delete(e):g2.set(e,n-1),1!==n)return;let r=g1.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,g1.delete(e))})(e)}function g5(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function g4(e){return g5(e)&&"tagName"in e}function g6(e){return g4(e)&&"accessKey"in e}function g9(e){return g4(e)&&"tabIndex"in e}function g8(e){return g6(e)&&"INPUT"===e.nodeName}function g7(e){return g6(e)&&"LABEL"===e.nodeName}function ve(e){return g6(e)&&"LEGEND"===e.nodeName}let vt=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var vn=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(vn||{}),vr=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(vr||{}),vi=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(vi||{}),vo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(vo||{}),vs=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(vs||{});function va(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function vl(){return va()||/Android/gi.test(window.navigator.userAgent)}function vu(e,t,n,r){let i=gD(n);(0,k.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function vc(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,k.useMemo)(()=>g_(...t),[...t])}"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));var vd=(e=>(e[e.Ignore=0]="Ignore",e[e.Select=1]="Select",e[e.Close=2]="Close",e))(vd||{});let vp={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}};function vf(e){var t,n,r;let i,o=(0,k.useRef)({value:"",selectionStart:null,selectionEnd:null});return t=e,n="blur",i=gD(e=>{let t=e.target;g8(t)&&(o.current={value:t.value,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd})}),(0,k.useEffect)(()=>{function e(e){i.current(e)}return(t=null!=t?t:window).addEventListener(n,e,void 0),()=>t.removeEventListener(n,e,r)},[t,n,r]),gI(()=>
146{if(document.activeElement!==e&&g8(e)&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==o.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:t,selectionEnd:n}=o.current;null!==t&&null!==n&&e.setSelectionRange(t,n)}o.current={value:"",selectionStart:null,selectionEnd:null}}})}let vh=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,o=Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];let a=t[e].call(n,...o);a&&(n=a,r.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:gS(),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(e){let t,{doc:n,d:r,meta:i}=e,o={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(i)},s=[va()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=gS();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,o=null;n.addEventListener(t,"click",e=>{if(g9(e.target))try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),s=t.querySelector(r);g9(s)&&!i(s)&&(o=s)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{var t;if(g9(e.target)&&g4(t=e.target)&&"style"in t)if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}),n.addEventListener(t,"touchmove",e=>{if(g9(e.target)&&!g8(e.target))if(i(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}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before(e){var n;let{doc:r}=e,i=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth)},after(e){let{doc:n,d:r}=e,i=n.documentElement,o=Math.max(0,i.clientWidth-i.offsetWidth),s=Math.max(0,t-o);r.style(i,"paddingRight","".concat(s,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];s.forEach(e=>{let{before:t}=e;return null==t?void 0:t(o)}),s.forEach(e=>{let{after:t}=e;return null==t?void 0:t(o)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});vh.subscribe(()=>{let e=vh.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)&&vh.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&vh.dispatch("TEARDOWN",n)}});let vm=Symbol();function vg(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,k.useRef)(t);(0,k.useEffect)(()=>{r.current=t},[t]);let i=gI(e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[vm]))?void 0:i}function vv(e){return[e.screenX,e.screenY]}var vy=n(99742);void 0!==vy&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(y=null==vy?void 0:vy.env)?void 0:y.NODE_ENV)==="test"&&void 0===(null==(b=null==Element?void 0:Element.prototype)?void 0:b.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var vb=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(vb||{});function vE(e,t){let n=(0,k.useRef)([]),r=gI(e);(0,k.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 vx=(0,k.createContext)(void 0);function vT(){return(0,k.useContext)(vx)}var vw=n(18397);let vC=(0,k.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});vC.displayName="FloatingContext";let v_=(0,k.createContext)(null);function vk(e){var t,n,r,i,o,s;let a,l,u,{children:c,enabled:d=!0}=e,[p,f]=(0,k.useState)(null),[h,m]=(0,k.useState)(0),g=(0,k.useRef)(null),[v,y]=(0,k.useState)(null);gA(()=>{if(!t)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(t).maxHeight,n=parseFloat(e);
146if(isNaN(n))return;let r=parseInt(e);isNaN(r)||n!==r&&(t.style.maxHeight="".concat(Math.ceil(n),"px"))});return e.observe(t,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[t=v]);let b=d&&null!==p&&null!==v,{to:E="bottom",gap:x=0,offset:T=0,padding:w=0,inner:C}=(n=p,r=v,a=vS(null!=(i=null==n?void 0:n.gap)?i:"var(--anchor-gap, 0)",r),l=vS(null!=(o=null==n?void 0:n.offset)?o:"var(--anchor-offset, 0)",r),u=vS(null!=(s=null==n?void 0:n.padding)?s:"var(--anchor-padding, 0)",r),{...n,gap:a,offset:l,padding:u}),[_,S="center"]=E.split(" ");gA(()=>{b&&m(0)},[b]);let{refs:N,floatingStyles:A,context:D}=(0,vw.we)({open:b,placement:"selection"===_?"center"===S?"bottom":"bottom-".concat(S):"center"===S?"".concat(_):"".concat(_,"-").concat(S),strategy:"absolute",transform:!1,middleware:[(0,rL.cY)({mainAxis:"selection"===_?0:x,crossAxis:T}),(0,rL.BN)({padding:w}),"selection"!==_&&(0,rL.UU)({padding:w}),"selection"===_&&C?(0,vw.vW)({...C,padding:w,overflowRef:g,offset:h,minItemsVisible:4,referenceOverflowThreshold:w,onFallbackChange(e){var t,n;if(!e)return;let r=D.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,o=Math.min(4,r.childElementCount),s=0,a=0;for(let e of null!=(n=null==(t=D.elements.floating)?void 0:t.childNodes)?n:[])if(g6(e)){let t=e.offsetTop,n=t+e.clientHeight+i,l=r.scrollTop,u=l+r.clientHeight;if(t>=l&&n<=u)o--;else{a=Math.max(0,Math.min(n,u)-Math.max(t,l)),s=e.clientHeight;break}}o>=1&&m(e=>{let t=s*o-a+i;return e>=t?e:t})}}):null,(0,rL.Ej)({padding:w,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}})].filter(Boolean),whileElementsMounted:rM.ll}),[I=_,O=S]=D.placement.split("-");"selection"===_&&(I="selection");let F=(0,k.useMemo)(()=>({anchor:[I,O].filter(Boolean).join(" ")}),[I,O]),R=(0,vw.Zx)(D,{overflowRef:g,onChange:m}),{getReferenceProps:L,getFloatingProps:M}=(0,vw.bv)([R]),P=gI(e=>{y(e),N.setFloating(e)});return k.createElement(v_.Provider,{value:f},k.createElement(vC.Provider,{value:{setFloating:P,setReference:N.setReference,styles:A,getReferenceProps:L,getFloatingProps:M,slot:F}},c))}function vS(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=gN(),i=gI((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=vN(e,t);return[i,n=>{let o=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[r,...e(i)]:[r]}return[]}(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=vN(e,t);i!==u&&(n(u),i=u)})}return r.dispose}]}return[n,null]}),o=(0,k.useMemo)(()=>i(e,t)[0],[e,t]),[s=o,a]=(0,k.useState)();return gA(()=>{let[n,r]=i(e,t);if(a(n),r)return r(a)},[e,t]),s}function vN(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}v_.displayName="PlacementContext";function vA(e,t){return e?e+"["+t+"]":t}function vD(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}var vI=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(vI||{}),vO=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(vO||{});function vF(){let e,t,n=(e=(0,k.useRef)([]),t=(0,k.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!r.every(e=>null==e))return e.current=r,t});return(0,k.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:o,visible:s=!0,name:a,mergeRefs:l}=e;l=null!=l?l:vL;let u=vM(n,t);if(s)return vR(u,r,i,a,l);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=u;if(e)return vR(t,r,i,a,l)}if(1&c){let{unmount:e=!0,...t}=u;return gz(+!e,{0:()=>null,1:()=>vR({...t,hidden:!0,style:{display:"none"}},r,i,a,l)})}return vR(u,r,i,a,l)})({mergeRefs:n,...e}),[n])}function vR(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:o=n,children:s,refName:a="ref",...l}=v$(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 d={};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=>"-".concat(e.toLowerCase())));if(e)for(let e of(d["data-headlessui-state"]=n.join(" "),n))d["data-".concat(e)
146]=""}if(o===k.Fragment&&(Object.keys(vV(l)).length>0||Object.keys(vV(d)).length>0))if(!(0,k.isValidElement)(c)||Array.isArray(c)&&c.length>1){if(Object.keys(vV(l)).length>0)throw Error(['Passing props on "Fragment"!\n',"The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(vV(l)).concat(Object.keys(vV(d))).map(e=>"  - ".concat(e)).join("\n"),"\nYou 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=>"  - ".concat(e)).join("\n")].join("\n"))}else{var p;let e=c.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return vD(t(...n),l.className)}:vD(t,l.className),r=vM(c.props,vV(v$(l,["ref"])));for(let e in d)e in r&&delete d[e];return(0,k.cloneElement)(c,Object.assign({},r,d,u,{ref:i((p=c,k.version.split(".")[0]>="19"?p.props.ref:p.ref),u.ref)},n?{className:n}:{}))}return(0,k.createElement)(o,Object.assign({},v$(l,["ref"]),o!==k.Fragment&&u,o!==k.Fragment&&d),c)}function vL(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function vM(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(i[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in i)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(let n of i[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function vP(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];for(let e in i)Object.assign(r,{[e](){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(let t of i[e])null==t||t(...n)}});return r}function vj(e){var t;return Object.assign((0,k.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function vV(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function v$(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var vB=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(vB||{});let vU=vj(function(e,t){var n;let{features:r=1,...i}=e,o={ref:t,"aria-hidden":(2&r)==2||(null!=(n=i["aria-hidden"])?n:void 0),hidden:(4&r)==4||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)==4&&(2&r)!=2&&{display:"none"}}};return vF()({ourProps:o,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})}),vq=(0,k.createContext)(null);function vz(e){let{children:t}=e,n=(0,k.useContext)(vq);if(!n)return k.createElement(k.Fragment,null,t);let{target:r}=n;return r?(0,rT.createPortal)(k.createElement(k.Fragment,null,t),r):null}function vH(e){let{data:t,form:n,disabled:r,onReset:i,overrides:o}=e,[s,a]=(0,k.useState)(null),l=gN();return(0,k.useEffect)(()=>{if(i&&s)return l.addEventListener(s,"reset",i)},[s,n,i]),k.createElement(vz,null,k.createElement(vW,{setForm:a,formId:n}),(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[i,o]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,o]of i.entries())t(n,vA(r,e.toString()),o);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,"".concat(i)]):null==i?n.push([r,""]):e(i,r,n)}(r,vA(n,i),o);return r})(t).map(e=>{let[t,i]=e;
146return k.createElement(vU,{features:vB.Hidden,...vV({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:r,name:t,value:i,...o})})}))}function vW(e){let{setForm:t,formId:n}=e;return(0,k.useEffect)(()=>{if(n){let e=document.getElementById(n);e&&t(e)}},[t,n]),n?null:k.createElement(vU,{features:vB.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let n=e.closest("form");n&&t(n)}})}function vY(e){let{children:t,freeze:n}=e,r=vG(n,t);return k.createElement(k.Fragment,null,r)}function vG(e,t){let[n,r]=(0,k.useState)(t);return e||n===t||r(t),e?n:t}let vK=(0,k.createContext)(void 0);function vQ(){return(0,k.useContext)(vK)}let vX=(0,k.createContext)(null);vX.displayName="OpenClosedContext";var vJ=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(vJ||{});function vZ(e){let{value:t,children:n}=e;return k.createElement(vX.Provider,{value:t},n)}let v0=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!g9(e.target)||e.target===document.body||v0[0]===e.target)return;let t=e.target;t=t.closest(vt),v0.unshift(null!=t?t:e.target),(v0=v0.filter(e=>null!=e&&e.isConnected)).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})});var v1=(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))(v1||{});function v2(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:throw Error("Unexpected object: "+e)}}let v3=(0,k.createContext)(null);v3.displayName="DescriptionContext",Object.assign(vj(function(e,t){let n=(0,k.useId)(),r=vT(),{id:i="headlessui-description-".concat(n),...o}=e,s=function e(){let t=(0,k.useContext)(v3);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),a=vg(t);gA(()=>s.register(i),[i,s.register]);let l=r||!1,u=(0,k.useMemo)(()=>({...s.slot,disabled:l}),[s.slot,l]),c={ref:a,...s.props,id:i};return vF()({ourProps:c,theirProps:o,slot:u,defaultTag:"p",name:s.name||"Description"})}),{});var v5=(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))(v5||{});let v4=(0,k.createContext)(null);function v6(e){var t,n,r;let i=null!=(n=null==(t=(0,k.useContext)(v4))?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}v4.displayName="LabelContext";let v9=Object.assign(vj(function(e,t){var n;let r=(0,k.useId)(),i=function e(){let t=(0,k.useContext)(v4);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),o=vQ(),s=vT(),{id:a="headlessui-label-".concat(r),htmlFor:l=null!=o?o:null==(n=i.props)?void 0:n.htmlFor,passive:u=!1,...c}=e,d=vg(t);gA(()=>i.register(a),[a,i.register]);let p=gI(e=>{var t;let n=e.currentTarget;if(!(e.target!==e.currentTarget&&g4(t=e.target)&&t.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'))&&(g7(n)&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),g7(n))){let e=document.getElementById(n.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(g8(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})}}}),f=s||!1,h=(0,k.useMemo)(()=>({...i.slot,disabled:f}),[i.slot,f]),m={ref:d,...i.props,id:a,htmlFor:l,onClick:p};return u&&("onClick"in m&&(delete m.htmlFor,delete m.onClick),"onClick"in c&&delete c.onClick),vF()({ourProps:m,theirProps:c,slot:h,defaultTag:l?"label":"div",name:i.name||"Label"})}),{});var v8=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(v8||{});function v7(e){let t=gI(e),n=(0,k.useRef)(!1);(0,k.useEffect)(()=>(n.current=!1,()=>{n.current=!0,gk(()=>{n.current&&t()})}),[t])}let ye=(0,k.createContext)(!1),yt=k.Fragment,yn=vj(function(e,t){let{ownerDocument:n=null,...r}=e,i=(0,k.useRef)(null),o=vg(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[vm]:t})}(e=>{i.current=e}),t),s=vc(i),a=null!=n?n:s,l=function(e){let t=(0,k.useContext)(ye),n=(0,k.useContext)(yi),[r,i]=(0,k.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(gC.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");
146if(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,k.useEffect)(()=>{null!==r&&(null!=e&&e.body.contains(r)||null==e||e.body.appendChild(r))},[r,e]),(0,k.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),r}(a),[u]=(0,k.useState)(()=>{var e;return gC.isServer?null:null!=(e=null==a?void 0:a.createElement("div"))?e:null}),c=(0,k.useContext)(yo),d=function(){let e,t=(e="undefined"==typeof document,(0,S.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=k.useState(gC.isHandoffComplete);return n&&!1===gC.isHandoffComplete&&r(!1),k.useEffect(()=>{!0!==n&&r(!0)},[n]),k.useEffect(()=>gC.handoff(),[]),!t&&n}();gA(()=>{!l||!u||l.contains(u)||(u.setAttribute("data-headlessui-portal",""),l.appendChild(u))},[l,u]),gA(()=>{if(u&&c)return c.register(u)},[c,u]),v7(()=>{var e;l&&u&&(g5(u)&&l.contains(u)&&l.removeChild(u),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))});let p=vF();return d&&l&&u?(0,rT.createPortal)(p({ourProps:{ref:o},theirProps:r,slot:{},defaultTag:yt,name:"Portal"}),u):null}),yr=k.Fragment,yi=(0,k.createContext)(null),yo=(0,k.createContext)(null),ys=Object.assign(vj(function(e,t){let n=vg(t),{enabled:r=!0,ownerDocument:i,...o}=e,s=vF();return r?k.createElement(yn,{...o,ownerDocument:i,ref:n}):s({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:yt,name:"Portal"})}),{Group:vj(function(e,t){let{target:n,...r}=e,i={ref:vg(t)},o=vF();return k.createElement(yi.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:yr,name:"Popover.Group"}))})});var ya=Object.defineProperty,yl=(e,t,n)=>(((e,t,n)=>t in e?ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),yu=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yu||{}),yc=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(yc||{}),yd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(yd||{}),yp=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.DefaultToFirstOption=6]="DefaultToFirstOption",e[e.SetActivationTrigger=7]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",e[e.SetInputElement=9]="SetInputElement",e[e.SetButtonElement=10]="SetButtonElement",e[e.SetOptionsElement=11]="SetOptionsElement",e))(yp||{});function yf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]: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 yh={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===v1.Specific?t.idx:v2(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 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=yf(e);if(null===s.activeOptionIndex){let e=s.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(s.activeOptionIndex=e)}let a=t.focus===v1.Specific?t.idx:v2(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=yf(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=yf(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)=>
146{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 ym extends g${static new(e){var t;let{id:n,virtual:r=null,__demoMode:i=!1}=e;return new ym({id:n,dataRef:{current:{}},comboboxState:+!i,isTyping:!1,options:[],virtual:r?{options:r.options,disabled:null!=(t=r.disabled)?t:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:i})}reduce(e,t){return gz(t.type,yh,e,t)}constructor(e){super(e),yl(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:r,value:i}=this.state.dataRef.current;return gz(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:v1.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})}}),yl(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=gQ.get(null);this.disposables.add(t.on(gY.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))}}}let yg=(0,k.createContext)(null);function yv(e){let t=(0,k.useContext)(yg);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,yy),t}return t}function yy(e){let{id:t,virtual:n=null,__demoMode:r=!1}=e,i=(0,k.useMemo)(()=>ym.new({id:t,virtual:n,__demoMode:r}),[]);return v7(()=>i.dispose()),i}let yb=(0,k.createContext)(null);function yE(e){let t=(0,k.useContext)(yb);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,yE),t}return t}yb.displayName="ComboboxDataContext";let yx=(0,k.createContext)(null);function yT(e){let t=yv("VirtualProvider"),{options:n}=yE("VirtualProvider").virtual,r=gJ(t,e=>e.optionsElement),[i,o]=(0,k.useMemo)(()=>
146{if(!r)return[0,0];let e=window.getComputedStyle(r);return[parseFloat(e.paddingBlockStart||e.paddingTop),parseFloat(e.paddingBlockEnd||e.paddingBottom)]},[r]),s=function(e){let t=k.useReducer(()=>({}),{})[1],n={...e,onChange:(n,r)=>{var i;r?(0,rT.flushSync)(t):t(),null==(i=e.onChange)||i.call(e,n,r)}},[r]=k.useState(()=>new gy(n));return r.setOptions(n),gE(()=>r._didMount(),[]),gE(()=>r._willUpdate()),r}({observeElementRect:gp,observeElementOffset:gm,scrollToFn:gv,...{enabled:0!==n.length,scrollPaddingStart:i,scrollPaddingEnd:o,count:n.length,estimateSize:()=>40,getScrollElement:()=>t.state.optionsElement,overscan:12}}),[a,l]=(0,k.useState)(0);gA(()=>{l(e=>e+1)},[n]);let u=s.getVirtualItems(),c=gJ(t,e=>e.activationTrigger===yd.Pointer),d=gJ(t,t.selectors.activeOptionIndex);return 0===u.length?null:k.createElement(yx.Provider,{value:s},k.createElement("div",{style:{position:"relative",width:"100%",height:"".concat(s.getTotalSize(),"px")},ref:e=>{e&&(c||null!==d&&n.length>d&&s.scrollToIndex(d))}},u.map(t=>{var r;return k.createElement(k.Fragment,{key:t.key},k.cloneElement(null==(r=e.children)?void 0:r.call(e,{...e.slot,option:n[t.index]}),{key:"".concat(a,"-").concat(t.key),"data-index":t.index,"aria-setsize":n.length,"aria-posinset":t.index+1,style:{position:"absolute",top:0,left:0,transform:"translateY(".concat(t.start,"px)"),overflowAnchor:"none"}}))})))}let yw=k.Fragment,yC=vI.RenderStrategy|vI.Static,y_=vj(function(e,t){var n,r,i;let o,s,a,l,u,c=(0,k.useId)(),d=vT(),{value:p,defaultValue:f,onChange:h,form:m,name:g,by:v,invalid:y=!1,disabled:b=d||!1,onClose:E,__demoMode:x=!1,multiple:T=!1,immediate:w=!1,virtual:C=null,nullable:_,...S}=e,N=function(e){let[t]=(0,k.useState)(e);return t}(f),[A=T?[]:void 0,D]=function(e,t,n){let[r,i]=(0,k.useState)(n),o=void 0!==e,s=(0,k.useRef)(o),a=(0,k.useRef)(!1),l=(0,k.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,gI(e=>(o||i(e),null==t?void 0:t(e)))]}(p,h,N),I=yy({id:c,virtual:C,__demoMode:x}),O=(0,k.useRef)({static:!1,hold:!1}),F=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gO;return(0,k.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}(v),R=gI(e=>C?null===v?C.options.indexOf(e):C.options.findIndex(t=>F(t,e)):I.state.options.findIndex(t=>F(t.dataRef.current.value,e))),L=(0,k.useCallback)(e=>gz(j.mode,{[yc.Multi]:()=>A.some(t=>F(t,e)),[yc.Single]:()=>F(A,e)}),[A]),M=gJ(I,e=>e.virtual),P=gI(()=>null==E?void 0:E()),j=(0,k.useMemo)(()=>({__demoMode:x,immediate:w,optionsPropsRef:O,value:A,defaultValue:N,disabled:b,invalid:y,mode:T?yc.Multi:yc.Single,virtual:C?M:null,onChange:D,isSelected:L,calculateIndex:R,compare:F,onClose:P}),[A,N,b,y,T,D,L,x,I,C,M,P]);gA(()=>{var e;C&&I.send({type:yp.UpdateVirtualConfiguration,options:C.options,disabled:null!=(e=C.disabled)?e:null})},[C,null==C?void 0:C.options,null==C?void 0:C.disabled]),gA(()=>{I.state.dataRef.current=j},[j]);let[V,$,B,U]=gJ(I,e=>[e.comboboxState,e.buttonElement,e.inputElement,e.optionsElement]),q=gQ.get(null);n=gJ(q,(0,k.useCallback)(e=>q.selectors.isTop(e,c),[q,c])),r=[$,B,U],o=gD(()=>I.actions.closeCombobox()),s=(0,k.useCallback)(function(e,t){if(e.defaultPrevented)return;let n=t(e);if(null!==n&&n.getRootNode().contains(n)&&n.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(r))if(null!==t&&(t.contains(n)||e.composed&&e.composedPath().includes(t)))return;return function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=g_(e))?void 0:t.body)&&gz(n,{0:()=>e.matches(vt),1(){let t=e;for(;null!==t;){if(t.matches(vt))return!0;t=t.parentElement}return!1}})}(n,vo.Loose)||-1===n.tabIndex||e.preventDefault(),o.current(e,n)}},[o,r]),a=(0,k.useRef)(null),vu(n,"pointerdown",e=>{var t,n;vl()||(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),vu(n,"pointerup",e=>{if(vl()||!a.current)return;let t=a.current;return a.current=null,s(e,()=>t)},!0),l=(0,k.useRef)({x:0,y:0}),vu(n,"touchstart",e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY},!0),vu(n,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-l.current.x)>=30||Math.abs(t.y-l.current.y)>=30))return s(e,()=>g9(e.target)?e.target:null)},!0),i="blur",u=gD(e=>s(e,()=>{var e;
146return g6(e=window.document.activeElement)&&"IFRAME"===e.nodeName?window.document.activeElement:null})),(0,k.useEffect)(()=>{if(n)return window.addEventListener(i,e,!0),()=>window.removeEventListener(i,e,!0);function e(e){u.current(e)}},[n,i,!0]);let z=gJ(I,I.selectors.activeOptionIndex),H=gJ(I,I.selectors.activeOption),W=(0,k.useMemo)(()=>({open:V===yu.Open,disabled:b,invalid:y,activeIndex:z,activeOption:H,value:A}),[j,b,A,y,H,V]),[Y,G]=function(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v6(),[n,r]=(0,k.useState)([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,(0,k.useMemo)(()=>function(e){let t=gI(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,k.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 k.createElement(v4.Provider,{value:n},e.children)},[r])]}(),K=(0,k.useCallback)(()=>{if(void 0!==N)return null==D?void 0:D(N)},[D,N]),Q=vF();return k.createElement(G,{value:Y,props:{htmlFor:null==B?void 0:B.id},slot:{open:V===yu.Open,disabled:b}},k.createElement(vk,null,k.createElement(yb.Provider,{value:j},k.createElement(yg.Provider,{value:I},k.createElement(vZ,{value:gz(V,{[yu.Open]:vJ.Open,[yu.Closed]:vJ.Closed})},null!=g&&k.createElement(vH,{disabled:b,data:null!=A?{[g]:A}:{},form:m,onReset:K}),Q({ourProps:null===t?{}:{ref:t},theirProps:S,slot:W,defaultTag:yw,name:"Combobox"}))))))}),yk=vj(function(e,t){let n=yv("Combobox.Button"),r=yE("Combobox.Button"),[i,o]=(0,k.useState)(null),s=vg(t,o,n.actions.setButtonElement),a=(0,k.useId)(),{id:l="headlessui-combobox-button-".concat(a),disabled:u=r.disabled||!1,autoFocus:c=!1,...d}=e,[p,f,h]=gJ(n,e=>[e.comboboxState,e.inputElement,e.optionsElement]),m=vf(f);!function(e,t){let{trigger:n,action:r,close:i,select:o}=t,s=(0,k.useRef)(null);vu(e&&null!==n,"pointerdown",e=>{g5(null==e?void 0:e.target)&&null!=n&&n.contains(e.target)&&(s.current=new Date)}),vu(e&&null!==n,"pointerup",e=>{if(null===s.current||!g9(e.target))return;let t=r(e),n=new Date().getTime()-s.current.getTime();switch(s.current=null,t.kind){case 0:return;case 1:n>200&&(o(t.target),i());break;case 2:i()}},{capture:!0})}(p===yu.Open,{trigger:i,action:(0,k.useCallback)(e=>{if(null!=i&&i.contains(e.target)||null!=f&&f.contains(e.target))return vp.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return g6(t)?vp.Select(t):null!=h&&h.contains(e.target)?vp.Ignore:vp.Close},[i,f,h]),close:n.actions.closeCombobox,select:n.actions.selectActiveOption});let g=gI(e=>{switch(e.key){case v5.Space:case v5.Enter:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===yu.Closed&&(0,rT.flushSync)(()=>n.actions.openCombobox()),m();return;case v5.ArrowDown:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===yu.Closed&&((0,rT.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:v1.First})),m();return;case v5.ArrowUp:e.preventDefault(),e.stopPropagation(),n.state.comboboxState===yu.Closed&&((0,rT.flushSync)(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:v1.Last})),m();return;case v5.Escape:if(n.state.comboboxState!==yu.Open)return;e.preventDefault(),n.state.optionsElement&&!r.optionsPropsRef.current.static&&e.stopPropagation(),(0,rT.flushSync)(()=>n.actions.closeCombobox()),m();return;default:return}}),v=gI(e=>{e.preventDefault(),function(e){var t;let n=e.parentElement,r=null;for(;n&&!(g6(t=n)&&"FIELDSET"===t.nodeName);)ve(n)&&(r=n),n=n.parentElement;let i=(null==n?void 0:n.getAttribute("disabled"))==="";return!(i&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(ve(t))return!1;t=t.previousElementSibling}return!0}(r))&&i}(e.currentTarget)||(e.button===v8.Left&&(n.state.comboboxState===yu.Open?n.actions.closeCombobox():n.actions.openCombobox()),m())}),y=v6([l]),{isFocusVisible:b,focusProps:E}=gt({autoFocus:c}),{isHovered:x,hoverProps:T}=gs({isDisabled:u}),{pressed:w,pressProps:C}=function(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,k.useRef)(null),[n,r]=(0,k.useState)(!1),i=gN(),o=gI(()=>{t.current=null,r(!1),i.dispose()}),s=gI(e=>{if(i.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=g_(e.currentTarget);i.addEventListener(n,"pointerup",o,!1),i.addEventListener(n,"pointermove",e=>{if(t.current){var n,i;let o,s;r((o=e.width/2,s=e.height/2,n={top:e.clientY-s,right:e.clientX+o,bottom:e.clientY+s,left:e.clientX-o},i=t.current.getBoundingClientRect(),!(!n||!i||n.right<i.left||n.left>i.right||n.bottom<i.top||n.top>i.bottom)))}},!1),i.addEventListener(n,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}({disabled:u}),_=(0,k.useMemo)(()=>({open:p===yu.Open,active:w||p===yu.Open,disabled:u,invalid:r.invali
146d,value:r.value,hover:x,focus:b}),[r,x,b,w,u,p]),S=vP({ref:s,id:l,type:(0,k.useMemo)(()=>{var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==i?void 0:i.tagName)==="BUTTON"&&!i.hasAttribute("type"))return"button"},[e.type,e.as,i]),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==h?void 0:h.id,"aria-expanded":p===yu.Open,"aria-labelledby":y,disabled:u||void 0,autoFocus:c,onPointerDown:v,onKeyDown:g},E,T,C);return vF()({ourProps:S,theirProps:d,slot:_,defaultTag:"button",name:"Combobox.Button"})}),yS=vj(function(e,t){var n,r,i,o;let s=yv("Combobox.Input"),a=yE("Combobox.Input"),l=(0,k.useId)(),u=vQ(),{id:c=u||"headlessui-combobox-input-".concat(l),onChange:d,displayValue:p,disabled:f=a.disabled||!1,autoFocus:h=!1,type:m="text",...g}=e,[v]=gJ(s,e=>[e.inputElement]),y=(0,k.useRef)(null),b=vg(y,t,(0,k.useContext)(vC).setReference,s.actions.setInputElement),E=vc(v),[x,T]=gJ(s,e=>[e.comboboxState,e.isTyping]),w=gN(),C=gI(()=>{s.actions.onChange(null),s.state.optionsElement&&(s.state.optionsElement.scrollTop=0),s.actions.goToOption({focus:v1.Nothing})});vE((e,t)=>{let[n,r]=e,[i,o]=t;if(s.state.isTyping)return;let a=y.current;a&&((o===yu.Open&&r===yu.Closed||n!==i)&&(a.value=n),requestAnimationFrame(()=>{if(s.state.isTyping||!a||(null==E?void 0:E.activeElement)!==a)return;let{selectionStart:e,selectionEnd:t}=a;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&a.setSelectionRange(a.value.length,a.value.length)}))},[(0,k.useMemo)(()=>{var e;return"function"==typeof p&&void 0!==a.value?null!=(e=p(a.value))?e:"":"string"==typeof a.value?a.value:""},[a.value,p]),x,E,T]),vE((e,t)=>{let[n]=e,[r]=t;if(n===yu.Open&&r===yu.Closed){if(s.state.isTyping)return;let e=y.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:i}=e;e.value="",e.value=t,null!==i?e.setSelectionRange(n,r,i):e.setSelectionRange(n,r)}},[x]);let _=(0,k.useRef)(!1),S=gI(()=>{_.current=!0}),N=gI(()=>{w.nextFrame(()=>{_.current=!1})}),A=gI(e=>{switch(s.actions.setIsTyping(!0),e.key){case v5.Enter:if(s.state.comboboxState!==yu.Open||_.current)return;if(e.preventDefault(),e.stopPropagation(),null===s.selectors.activeOptionIndex(s.state))return void s.actions.closeCombobox();s.actions.selectActiveOption(),a.mode===yc.Single&&s.actions.closeCombobox();break;case v5.ArrowDown:return e.preventDefault(),e.stopPropagation(),gz(s.state.comboboxState,{[yu.Open]:()=>s.actions.goToOption({focus:v1.Next}),[yu.Closed]:()=>s.actions.openCombobox()});case v5.ArrowUp:return e.preventDefault(),e.stopPropagation(),gz(s.state.comboboxState,{[yu.Open]:()=>s.actions.goToOption({focus:v1.Previous}),[yu.Closed]:()=>{(0,rT.flushSync)(()=>s.actions.openCombobox()),a.value||s.actions.goToOption({focus:v1.Last})}});case v5.Home:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),s.actions.goToOption({focus:v1.First});case v5.PageUp:return e.preventDefault(),e.stopPropagation(),s.actions.goToOption({focus:v1.First});case v5.End:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),s.actions.goToOption({focus:v1.Last});case v5.PageDown:return e.preventDefault(),e.stopPropagation(),s.actions.goToOption({focus:v1.Last});case v5.Escape:return s.state.comboboxState!==yu.Open?void 0:(e.preventDefault(),s.state.optionsElement&&!a.optionsPropsRef.current.static&&e.stopPropagation(),a.mode===yc.Single&&null===a.value&&C(),s.actions.closeCombobox());case v5.Tab:if(s.state.comboboxState!==yu.Open)return;a.mode===yc.Single&&s.state.activationTrigger!==yd.Focus&&s.actions.selectActiveOption(),s.actions.closeCombobox()}}),D=gI(e=>{null==d||d(e),a.mode===yc.Single&&""===e.target.value&&C(),s.actions.openCombobox()}),I=gI(e=>{var t,n,r;let i=null!=(t=e.relatedTarget)?t:v0.find(t=>t!==e.currentTarget);if(!(null!=(n=s.state.optionsElement)&&n.contains(i))&&!(null!=(r=s.state.buttonElement)&&r.contains(i))&&s.state.comboboxState===yu.Open)return e.preventDefault(),a.mode===yc.Single&&null===a.value&&C(),s.actions.closeCombobox()}),O=gI(e=>{var t,n,r;let i=null!=(t=e.relatedTarget)?t:v0.find(t=>t!==e.currentTarget);
146null!=(n=s.state.buttonElement)&&n.contains(i)||null!=(r=s.state.optionsElement)&&r.contains(i)||a.disabled||a.immediate&&s.state.comboboxState!==yu.Open&&w.microTask(()=>{(0,rT.flushSync)(()=>s.actions.openCombobox()),s.actions.setActivationTrigger(yd.Focus)})}),F=v6(),R=null!=(o=null==(i=(0,k.useContext)(v3))?void 0:i.value)?o:void 0,{isFocused:L,focusProps:M}=gt({autoFocus:h}),{isHovered:P,hoverProps:j}=gs({isDisabled:f}),V=gJ(s,e=>e.optionsElement),$=(0,k.useMemo)(()=>({open:x===yu.Open,disabled:f,invalid:a.invalid,hover:P,focus:L,autofocus:h}),[a,P,L,h,f,a.invalid]),B=vP({ref:b,id:c,role:"combobox",type:m,"aria-controls":null==V?void 0:V.id,"aria-expanded":x===yu.Open,"aria-activedescendant":gJ(s,s.selectors.activeDescendantId),"aria-labelledby":F,"aria-describedby":R,"aria-autocomplete":"list",defaultValue:null!=(r=null!=(n=e.defaultValue)?n:void 0!==a.defaultValue?null==p?void 0:p(a.defaultValue):null)?r:a.defaultValue,disabled:f||void 0,autoFocus:h,onCompositionStart:S,onCompositionEnd:N,onKeyDown:A,onChange:D,onFocus:O,onBlur:I},M,j);return vF()({ourProps:B,theirProps:g,slot:$,defaultTag:"input",name:"Combobox.Input"})}),yN=vj(function(e,t){var n,r,i,o;let s,a=(0,k.useId)(),{id:l="headlessui-combobox-options-".concat(a),hold:u=!1,anchor:c,portal:d=!1,modal:p=!0,transition:f=!1,...h}=e,m=yv("Combobox.Options"),g=yE("Combobox.Options"),v=(0,k.useMemo)(()=>c?"string"==typeof c?{to:c}:c:null,[c]);v&&(d=!0);let[y,b]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,k.useContext)(v_),n=(0,k.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);gA(()=>{null==t||t(null!=n?n:null)},[t,n]);let r=(0,k.useContext)(vC);return(0,k.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}(v),[E,x]=(0,k.useState)(null),T=function(){let{getFloatingProps:e,slot:t}=(0,k.useContext)(vC);return(0,k.useCallback)(function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}(),w=vg(t,v?y:null,m.actions.setOptionsElement,x),[C,_,S,N,A]=gJ(m,e=>[e.comboboxState,e.inputElement,e.buttonElement,e.optionsElement,e.activationTrigger]),D=vc(_||S),I=vc(N),O=(0,k.useContext)(vX),[F,R]=function(e,t,n,r){let[i,o]=(0,k.useState)(n),{hasFlag:s,addFlag:a,removeFlag:l}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,k.useState)(e),r=(0,k.useCallback)(e=>n(e),[t]),i=(0,k.useCallback)(e=>n(t=>t|e),[t]),o=(0,k.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:(0,k.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,k.useCallback)(e=>n(t=>t^e),[n])}}(e&&i?3:0),u=(0,k.useRef)(!1),c=(0,k.useRef)(!1);return gA(()=>{if(e){if(n&&o(!0),!t){n&&a(3);return}return function(e,t){let{prepare:n,run:r,done:i,inFlight:o}=t,s=gS();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current)return r();let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}(e,{prepare:n,inFlight:o}),s.nextFrame(()=>{r(),s.requestAnimationFrame(()=>{s.add(function(e,t){var n,r;let i=gS();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():Promise.allSettled(s.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,i))})}),s.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))}})}},[e,n,t,gN()]),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,E,null!==O?(O&vJ.Open)===vJ.Open:C===yu.Open);o=m.actions.closeCombobox,s=gD(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&o()}),(0,k.useEffect)(()=>
146{if(!F)return;let e=null===_?null:g6(_)?_:_.current;if(!e)return;let t=gS();if("undefined"!=typeof ResizeObserver){let n=new ResizeObserver(()=>s.current(e));n.observe(e),t.add(()=>n.disconnect())}if("undefined"!=typeof IntersectionObserver){let n=new IntersectionObserver(()=>s.current(e));n.observe(e),t.add(()=>n.disconnect())}return()=>t.dispose()},[_,s,F]),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),r=(0,k.useSyncExternalStore)(vh.subscribe,vh.getSnapshot,vh.getSnapshot),i=t?r.get(t):void 0;i&&i.count,gA(()=>{if(!(!t||!e))return vh.dispatch("PUSH",t,n),()=>vh.dispatch("POP",t,n)},[e,t])}(g0(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}(!g.__demoMode&&p&&C===yu.Open,I),function(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=g0(e,"inert-others");gA(()=>{var e,i;if(!r)return;let o=gS();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(g3(t));let s=null!=(i=null==t?void 0:t())?i:[];for(let e of s){if(!e)continue;let t=g_(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(g3(e));n=n.parentElement}}return o.dispose},[r,t,n])}(!g.__demoMode&&p&&C===yu.Open,{allowed:(0,k.useCallback)(()=>[_,S,N],[_,S,N])}),gA(()=>{var t;g.optionsPropsRef.current.static=null!=(t=e.static)&&t},[g.optionsPropsRef,e.static]),gA(()=>{g.optionsPropsRef.current.hold=u},[g.optionsPropsRef,u]),function(e,t){let{container:n,accept:r,walk:i}=t,o=(0,k.useRef)(r),s=(0,k.useRef)(i);(0,k.useEffect)(()=>{o.current=r,s.current=i},[r,i]),gA(()=>{if(!n||!e)return;let t=g_(n);if(!t)return;let r=o.current,i=s.current,a=Object.assign(e=>r(e),{acceptNode:r}),l=t.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,a,!1);for(;l.nextNode();)i(l.currentNode)},[n,e,o,s])}(C===yu.Open,{container:N,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=v6([null==S?void 0:S.id]),M=(0,k.useMemo)(()=>({open:C===yu.Open,option:void 0}),[C]),P=gI(()=>{m.actions.setActivationTrigger(yd.Pointer)}),j=gI(e=>{e.preventDefault(),m.actions.setActivationTrigger(yd.Pointer)}),V=vP(v?T():{},{"aria-labelledby":L,role:"listbox","aria-multiselectable":g.mode===yc.Multi||void 0,id:l,ref:w,style:{...h.style,...b,"--input-width":gF(_,!0).width,"--button-width":gF(S,!0).width},onWheel:A===yd.Pointer?void 0:P,onMouseDown:j,...function(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}(R)}),$=F&&C===yu.Closed,B=vG($,null==(n=g.virtual)?void 0:n.options),U=vG($,g.value),q=gI(e=>g.compare(U,e)),z=(0,k.useMemo)(()=>{if(!g.virtual)return g;if(void 0===B)throw Error("Missing `options` in virtual mode");return B!==g.virtual.options?{...g,virtual:{...g.virtual,options:B}}:g},[g,B,null==(r=g.virtual)?void 0:r.options]);g.virtual&&Object.assign(h,{children:k.createElement(yb.Provider,{value:z},k.createElement(yT,{slot:M},h.children))});let H=vF(),W=(0,k.useMemo)(()=>g.mode===yc.Multi?g:{...g,isSelected:q},[g,q]);return k.createElement(ys,{enabled:!!d&&(e.static||F),ownerDocument:D},k.createElement(yb.Provider,{value:W},H({ourProps:V,theirProps:{...h,children:k.createElement(vY,{freeze:$},"function"==typeof h.children?null==(i=h.children)?void 0:i.call(h,M):h.children)},slot:M,defaultTag:"div",features:yC,visible:F,name:"Combobox.Options"}
146)))}),yA=vj(function(e,t){var n,r,i;let o,s=yE("Combobox.Option"),a=yv("Combobox.Option"),l=(0,k.useId)(),{id:u="headlessui-combobox-option-".concat(l),value:c,disabled:d=null!=(i=null==(r=null==(n=s.virtual)?void 0:n.disabled)?void 0:r.call(n,c))&&i,order:p=null,...f}=e,[h]=gJ(a,e=>[e.inputElement]),m=vf(h),g=gJ(a,(0,k.useCallback)(e=>a.selectors.isActive(e,c,u),[c,u])),v=s.isSelected(c),y=(0,k.useRef)(null),b=gD({disabled:d,value:c,domRef:y,order:p}),E=(0,k.useContext)(yx),x=vg(t,y,E?E.measureElement:null),T=gI(()=>{a.actions.setIsTyping(!1),a.actions.onChange(c)});gA(()=>a.actions.registerOption(u,b),[b,u]);let w=gJ(a,(0,k.useCallback)(e=>a.selectors.shouldScrollIntoView(e,c,u),[c,u]));gA(()=>{if(w)return gS().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=y.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[w,y]);let C=gI(e=>{e.preventDefault(),e.button===v8.Left&&(d||(T(),vl()||requestAnimationFrame(()=>m()),s.mode===yc.Single&&a.actions.closeCombobox()))}),_=gI(()=>{if(d)return a.actions.goToOption({focus:v1.Nothing});let e=s.calculateIndex(c);a.actions.goToOption({focus:v1.Specific,idx:e})}),S=(o=(0,k.useRef)([-1,-1]),{wasMoved(e){let t=vv(e);return(o.current[0]!==t[0]||o.current[1]!==t[1])&&(o.current=t,!0)},update(e){o.current=vv(e)}}),N=gI(e=>S.update(e)),A=gI(e=>{if(!S.wasMoved(e)||d||g)return;let t=s.calculateIndex(c);a.actions.goToOption({focus:v1.Specific,idx:t},yd.Pointer)}),D=gI(e=>{S.wasMoved(e)&&(d||g&&(s.optionsPropsRef.current.hold||a.actions.goToOption({focus:v1.Nothing})))}),I=(0,k.useMemo)(()=>({active:g,focus:g,selected:v,disabled:d}),[g,v,d]);return vF()({ourProps:{id:u,ref:x,role:"option",tabIndex:!0===d?void 0:-1,"aria-disabled":!0===d||void 0,"aria-selected":v,disabled:void 0,onMouseDown:C,onFocus:_,onPointerEnter:N,onMouseEnter:N,onPointerMove:A,onMouseMove:A,onPointerLeave:D,onMouseLeave:D},theirProps:f,slot:I,defaultTag:"div",name:"Combobox.Option"})}),yD=Object.assign(y_,{Input:yS,Button:yk,Label:v9,Options:yN,Option:yA}),yI=()=>{let e,t,n,r,i,o,s,a,l,u,c,d,p,f,h,m=(0,_.c)(32),g=mp(),{push:v}=mf(),y=(0,k.useRef)(null),b=function(){let e,t,n=(0,_.c)(5),r=mp(),{schema:i}=ev();n[0]!==r?(e=r.at(-1),n[0]=r,n[1]=e):e=n[1];let o=e;return n[2]!==o||n[3]!==i?(t=e=>{let t={within:[],types:[],fields:[]};if(!i)return t;let n=o.def,r=i.getTypeMap(),s=Object.keys(r);for(let i of(n&&(s=s.filter(e=>e!==n.name)).unshift(n.name),s)){if(t.within.length+t.types.length+t.fields.length>=100)break;let o=r[i];if(n!==o&&yO(i,e)&&t.types.push({type:o}),!(0,el.YQ)(o)&&!(0,el.kD)(o)&&!(0,el.qK)(o))continue;let s=o.getFields();for(let r in s){let i,a=s[r];if(!yO(r,e)){if(!("args"in a))continue;else if(0===(i=a.args.filter(t=>yO(t.name,e))).length)continue}t[n===o?"within":"fields"].push(...i?i.map(e=>({type:o,field:a,argument:e})):[{type:o,field:a}])}}return t},n[2]=o,n[3]=i,n[4]=t):t=n[4],t}(),[E,x]=(0,k.useState)("");m[0]!==b||m[1]!==E?(e=()=>b(E),m[0]=b,m[1]=E,m[2]=e):e=m[2];let[T,w]=(0,k.useState)(e);m[3]!==b?(t=nA(200,e=>{w(b(e))}),m[3]=b,m[4]=t):t=m[4];let S=t,[N]=(0,k.useState)(y),A=N.current===document.activeElement;if(m[5]!==S||m[6]!==E?(n=()=>{S(E)},r=[S,E],m[5]=S,m[6]=E,m[7]=n,m[8]=r):(n=m[7],r=m[8]),(0,k.useEffect)(n,r),m[9]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=function(e){e.metaKey&&"k"===e.key&&y.current.focus()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},o=[],m[9]=i,m[10]=o):(i=m[9],o=m[10]),(0,k.useEffect)(i,o),m[11]!==g||m[12]!==v){let e;s=g.at(-1),m[16]!==v?(e=e=>{v("field"in e?{name:e.field.name,def:e.field}:{name:e.type.name,def:e.type})},m[16]=v,m[17]=e):e=m[17],a=e,l=1===g.length||(0,el.YQ)(s.def)||(0,el.kD)(s.def)||(0,el.qK)(s.def),m[11]=g,m[12]=v,m[13]=s,m[14]=a,m[15]=l}else s=m[13],a=m[14],l=m[15];if(!l)return null;let D=A?void 0:"idle",I=`Search ${s.name}...`;return m[18]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{y.current.focus()},u=(0,C.jsx)(iQ,{}),m[18]=u,m[19]=c):(u=m[18],c=m[19]),m[20]===Symbol.for("react.memo_cache_sentinel")?(d=e=>x(e.target.value),m[20]=d):d=m[20],m[21]!==E?(p=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-search-input",onClick:c,children:[u,(0,C.jsx)(yS,{autoComplete:"off",onChange:d,placeholder:`${G?"⌘":"Ctrl"} K`,ref:y,value:E,"data-cy":"doc-explorer-input"})]}),m[21]=E,m[22]=p):p=m[22],m[23]!==A||m[24]!==T?(f=A&&(0,C.jsxs)(yN,{"data-cy":"doc-explorer-list",children:[T.within.length+T.types.length+T.fields.length===0?(0,C.jsx)("li",{className:"graphiql-doc-explorer-search-empty",children:"No results found"}):T.within.map(yL),T.within.length>0&&T.types.length+T.fields.length>0?(0,C.jsx)("div",{className:"graphiql-doc-explorer-search-divider",children:"Other results"}):null,T.types.map(yM),T.fields.map(yP)]}),m[23]=A,m[24]=T,m[25]=f):f=m[25],m[26]!==a||m[27]!==p||m[28]!==f||m[29]!==D||m[30]!==I?(h=(0,C.jsxs)(yD,{as:"div",className:"graphiql-doc-explorer-search",onChange:a,"data-state":D,"aria-label":I,children:[p,f]}),m[26]=a,m[27]=p,m[28]=f,m[29]=D,m[30]=I,m[31]=h):h=m[31],h};function yO(e,t){try{let n=t.replaceAll(/[^_0-9A-Za-z]/g,e=>"\\"+e);return RegExp(n,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}let yF=e=>{let t,n=(0,_.c)(2),{type:r}=e;return n[0]!==r.name?(t=(0,C.jsx)("span",{className:"graphiql-doc-explorer-search-type",children:r.name}),n[0]=r.name,n[1]=t):t=n[1],t},yR=e=>{let t,n,r,i=(0,_.c)(7),{field:o,argument:s}=e;return i[0]!==o.name?(t=(0,C.jsx)("span",{className:"graphiql-doc-explorer-search-field",children:o.name}),i[0]=o.name,i[1]=t):t=i[1],i[2]!==s?(n=s?(0,C.jsxs)(C.Fragment,{children:["(",(0,C.jsx)("span",{className:"graphiql-doc-explorer-search-argument",children:s.name}),":"," ",mb(s.type,yj),")"]}):null,i[2]=s,i[3]=n):n=i[3],i[4]!==t||i[5]!==n?(r=(0,C.jsxs)(C.Fragment,{children:[t,n]}),i[4]=t,i[5]=n,i[6]=r):r=i[6],r};function yL(e,t){return(0,C.jsx)(yA,{value:e,"data-cy":"doc-explorer-option",children:(0,C.jsx)(yR,{field:e.field,argument:e.argument})},`within-${t}`)}function yM(e,t){return(0,C.jsx)(yA,{value:e,"data-cy":"doc-explorer-option",children:(0,C.jsx)(yF,{type:e.type})},`type-${t}`)}function yP(e,t){return(0,C.jsxs)(yA,{value:e,"data-cy":"doc-explorer-option",children:[(0,C.jsx)(yF,{type:e.type}),".",(0,C.jsx)(yR,{field:e.field,argument:e.argument})]},`field-${t}`)}function yj(e){return(0,C.jsx)(yF,{type:e})}let yV=e=>{let t,n,r=(0,_.c)(6),{field:i}=e,{push:o}=mf();return r[0]!==i||r[1]!==o?(t=e=>{e.preventDefault(),o({name:i.name,def:i})},r[0]=i,r[1]=o,r[2]=t):t=r[2],r[3]!==i.name||r[4]!==t?(n=(0,C.jsx)("a",{className:"graphiql-doc-explorer-field-name",onClick:t,href:"#",children:i.name}),r[3]=i.name,r[4]=t,r[5]=n):n=r[5],n},y$=e=>{let t,n=(0,_.c)(2),{type:r}=e;return n[0]!==r?(t=(0,el.sy)(r)?(0,C.jsxs)(C.Fragment,{children:[r.description?(0,C.jsx)(mg,{type:"description",children:r.description}):null,(0,C.jsx)(yB,{type:r}),(0,C.jsx)(yU,{type:r}),(0,C.jsx)(yz,{type:r}),(0,C.jsx)(yW,{type:r})]}):null,n[0]=r,n[1]=t):t=n[1],t},yB=e=>{let t,n,r=(0,_.c)(5),{type:i}=e;if(!(0,el.YQ)(i))return null;r[0]!==i?(t=i.getInterfaces(),r[0]=i,r[1]=t):t=r[1];let o=t;return r[2]!==o.length||r[3]!==i?(n=o.length>0?(0,C.jsx)(mC,{title:"Implements",children:i.getInterfaces().map(yY)}):null,r[2]=o.length,r[3]=i,r[4]=n):n=r[4],n},yU=e=>{let t,n,r,i,o,s,a=(0,_.c)(12),{type:l}=e,[u,c]=(0,k.useState)(!1);a[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{c(!0)},a[0]=t):t=a[0];let d=t;if(!(0,el.YQ)(l)&&!(0,el.kD)(l)&&!(0,el.qK)(l))return null;if(a[1]!==l){let e=l.getFields();for(let t of(r=[],n=[],Object.keys(e).map(t=>e[t])))t.deprecationReason?n.push(t):r.push(t);i=r.length>0?(0,C.jsx)(mC,{title:"Fields",children:r.map(yG)}):null,a[1]=l,a[2]=n,a[3]=r,a[4]=i}else n=a[2],r=a[3],i=a[4];return a[5]!==n||a[6]!==r.length||a[7]!==u?(o=n.length>0?u||0===r.length?(0,C.jsx)(mC,{title:"Deprecated Fields",children:n.map(yK)}):(0,C.jsx)(iO,{type:"button",onClick:d,children:"Show Deprecated Fields"}):null,a[5]=n,a[6]=r.length,a[7]=u,a[8]=o):o=a[8],a[9]!==i||a[10]!==o?(s=(0,C.jsxs)(C.Fragment,{children:[i,o]}),a[9]=i,a[10]=o,a[11]=s):s=a[11],s},yq=e=>{let t,n,r,i,o,s,a,l,u,c=(0,_.c)(22),{field:d}=e;if(c[0]!==d){let e="args"in d?d.args.filter(yQ):[];r="graphiql-doc-explorer-item",t=(0,C.jsx)(yV,{field:d}),n=e.length>0?(0,C.jsxs)(C.Fragment,{children:["(",(0,C.jsx)("span",{children:e.map(t=>1===e.length?(0,C.jsx)(mx,{arg:t,inline:!0},t.name):(0,C.jsx)("div",{className:"graphiql-doc-explorer-argument-multiple",children:(0,C.jsx)(mx,{arg:t,inline:!0})},t.name))}),")"]}):null,c[0]=d,c[1]=t,c[2]=n,c[3]=r}else t=c[1],n=c[2],r=c[3];return c[4]!==d.type?(i=(0,C.jsx)(mE,{type:d.type}),c[4]=d.type,c[5]=i):i=c[5],c[6]!==d?(o=(0,C.jsx)(my,{field:d}),c[6]=d,c[7]=o):o=c[7],c[8]!==t||c[9]!==n||c[10]!==i||c[11]!==o?(s=(0,C.jsxs)("div",{children:[t,n,": ",i,o]}
146),c[8]=t,c[9]=n,c[10]=i,c[11]=o,c[12]=s):s=c[12],c[13]!==d.description?(a=d.description?(0,C.jsx)(mg,{type:"description",onlyShowFirstChild:!0,children:d.description}):null,c[13]=d.description,c[14]=a):a=c[14],c[15]!==d.deprecationReason?(l=(0,C.jsx)(mT,{children:d.deprecationReason}),c[15]=d.deprecationReason,c[16]=l):l=c[16],c[17]!==r||c[18]!==s||c[19]!==a||c[20]!==l?(u=(0,C.jsxs)("div",{className:r,children:[s,a,l]}),c[17]=r,c[18]=s,c[19]=a,c[20]=l,c[21]=u):u=c[21],u},yz=e=>{let t,n,r,i,o,s,a=(0,_.c)(12),{type:l}=e,[u,c]=(0,k.useState)(!1);a[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{c(!0)},a[0]=t):t=a[0];let d=t;if(!(0,el.oF)(l))return null;if(a[1]!==l){for(let e of(i=[],n=[],l.getValues()))e.deprecationReason?n.push(e):i.push(e);r=i.length>0?(0,C.jsx)(mC,{title:"Enum Values",children:i.map(yX)}):null,a[1]=l,a[2]=n,a[3]=r,a[4]=i}else n=a[2],r=a[3],i=a[4];return a[5]!==n||a[6]!==u||a[7]!==i.length?(o=n.length>0?u||0===i.length?(0,C.jsx)(mC,{title:"Deprecated Enum Values",children:n.map(yJ)}):(0,C.jsx)(iO,{type:"button",onClick:d,children:"Show Deprecated Values"}):null,a[5]=n,a[6]=u,a[7]=i.length,a[8]=o):o=a[8],a[9]!==r||a[10]!==o?(s=(0,C.jsxs)(C.Fragment,{children:[r,o]}),a[9]=r,a[10]=o,a[11]=s):s=a[11],s},yH=e=>{let t,n,r,i,o=(0,_.c)(10),{value:s}=e;return o[0]!==s.name?(t=(0,C.jsx)("div",{className:"graphiql-doc-explorer-enum-value",children:s.name}),o[0]=s.name,o[1]=t):t=o[1],o[2]!==s.description?(n=s.description&&(0,C.jsx)(mg,{type:"description",children:s.description}),o[2]=s.description,o[3]=n):n=o[3],o[4]!==s.deprecationReason?(r=s.deprecationReason&&(0,C.jsx)(mg,{type:"deprecation",children:s.deprecationReason}),o[4]=s.deprecationReason,o[5]=r):r=o[5],o[6]!==t||o[7]!==n||o[8]!==r?(i=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-item",children:[t,n,r]}),o[6]=t,o[7]=n,o[8]=r,o[9]=i):i=o[9],i},yW=e=>{let t,n,r=(0,_.c)(6),{type:i}=e,{schema:o}=ev();if(!o||!(0,el.Lc)(i))return null;let s=(0,el.kD)(i)?"Implementations":"Possible Types";return r[0]!==o||r[1]!==i?(t=o.getPossibleTypes(i).map(yZ),r[0]=o,r[1]=i,r[2]=t):t=r[2],r[3]!==s||r[4]!==t?(n=(0,C.jsx)(mC,{title:s,children:t}),r[3]=s,r[4]=t,r[5]=n):n=r[5],n};function yY(e){return(0,C.jsx)("div",{children:(0,C.jsx)(mE,{type:e})},e.name)}function yG(e){return(0,C.jsx)(yq,{field:e},e.name)}function yK(e){return(0,C.jsx)(yq,{field:e},e.name)}function yQ(e){return!e.deprecationReason}function yX(e){return(0,C.jsx)(yH,{value:e},e.name)}function yJ(e){return(0,C.jsx)(yH,{value:e},e.name)}function yZ(e){return(0,C.jsx)("div",{children:(0,C.jsx)(mE,{type:e})},e.name)}let y0={title:"Documentation Explorer",icon:function(){let{visiblePlugin:e}=er();return e===y0?(0,C.jsx)(iq,{}):(0,C.jsx)(iz,{})},content:()=>{let e,t,n,r,i,o,s,a,l,u,c=(0,_.c)(38),{fetchError:d,isFetching:p,schema:f,validationErrors:h}=ev(),m=mp(),{pop:g}=mf();if(c[0]!==m||c[1]!==d||c[2]!==p||c[3]!==f||c[4]!==h){if(t=m.at(-1),e=null,d){let t;c[7]===Symbol.for("react.memo_cache_sentinel")?(t=(0,C.jsx)("div",{className:"graphiql-doc-explorer-error",children:"Error fetching schema"}),c[7]=t):t=c[7],e=t}else if(h.length>0){let t;c[8]!==h[0].message?(t=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-error",children:["Schema is invalid: ",h[0].message]}),c[8]=h[0].message,c[9]=t):t=c[9],e=t}else if(p){let t;c[10]===Symbol.for("react.memo_cache_sentinel")?(t=(0,C.jsx)(fW,{}),c[10]=t):t=c[10],e=t}else if(f){if(1===m.length){let t;c[12]!==f?(t=(0,C.jsx)(mO,{schema:f}),c[12]=f,c[13]=t):t=c[13],e=t}else if((0,el.Xj)(t.def)){let n;c[14]!==t.def?(n=(0,C.jsx)(y$,{type:t.def}),c[14]=t.def,c[15]=n):n=c[15],e=n}else if(t.def){let n;c[16]!==t.def?(n=(0,C.jsx)(mk,{field:t.def}),c[16]=t.def,c[17]=n):n=c[17],e=n}}else{let t;c[11]===Symbol.for("react.memo_cache_sentinel")?(t=(0,C.jsx)("div",{className:"graphiql-doc-explorer-error",children:"No GraphQL schema available"}),c[11]=t):t=c[11],e=t}c[0]=m,c[1]=d,c[2]=p,c[3]=f,c[4]=h,c[5]=e,c[6]=t}else e=c[5],t=c[6];if(m.length>1){let e;c[18]!==m?(e=m.at(-2),c[18]=m,c[19]=e):e=c[19],n=e.name}return c[20]!==g||c[21]!==n?(r=n&&(0,C.jsxs)("a",{href:"#",className:"graphiql-doc-explorer-back",onClick:e=>{e.preventDefault(),g()},"aria-label":`Go back to ${n}`,children:[(0,C.jsx)(iL,{}),n]}),c[20]=g,c[21]=n,c[22]=r):r=c[22],c[23]!==t.name?(i=(0,C.jsx)("div",{className:"graphiql-doc-explorer-title",children:t.name}),c[23]=t.name,c[24]=i):i=c[24],c[25]!==r||c[26]!==i?(o=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-header-content",children:[r,i]}),c[25]=r,c[26]=i,c[27]=o):o=c[27],c[28]!==t.name?(s=(0,C.jsx)(yI,{}
146,t.name),c[28]=t.name,c[29]=s):s=c[29],c[30]!==o||c[31]!==s?(a=(0,C.jsxs)("div",{className:"graphiql-doc-explorer-header",children:[o,s]}),c[30]=o,c[31]=s,c[32]=a):a=c[32],c[33]!==e?(l=(0,C.jsx)("div",{className:"graphiql-doc-explorer-content",children:e}),c[33]=e,c[34]=l):l=c[34],c[35]!==a||c[36]!==l?(u=(0,C.jsxs)("section",{className:"graphiql-doc-explorer","aria-label":"Documentation Explorer",children:[a,l]}),c[35]=a,c[36]=l,c[37]=u):u=c[37],u}},y1=["light","dark","system"],y2="graphiql-session-tab-",y3=e=>{let t,n,r,i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E,x,T,w,S,N,A,D,I,O,F,R,L,M,P,j,V,$,B,U,q,z,W,Y,G,K,Q,X,J,Z,ee,et,en,ei,eo,es,ea,el,eu,ec,ed,ep,ef,eh,em,eg,ey,eb,eE,ex,eT,ew,eC,e_,ek,eS=(0,_.c)(234),eN=e.isHeadersEditorEnabled??!0;eS[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0},eS[0]=t):t=eS[0];let{initialVariables:eA,initialHeaders:eD,setShouldPersistHeaders:eI,addTab:eO,moveTab:eF,closeTab:eR,changeTab:eL,shouldPersistHeaders:eM,tabs:eP,activeTabIndex:ej}=rn(t);eS[1]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0},eS[1]=n):n=eS[1];let eV=ra(n),{isFetching:e$,introspect:eB}=ev(),eU=H(),{visiblePlugin:eq,setVisiblePlugin:ez,plugins:eH}=er(),eW=e.forcedTheme&&y1.includes(e.forcedTheme)?e.forcedTheme:void 0,{theme:eY,setTheme:eG}=function(e){let t,n,r,i,o,s=(0,_.c)(11),a=void 0===e?null:e,l=H();s[0]!==a||s[1]!==l?(t=()=>{let e=l.get(rp);switch(e){case"light":return"light";case"dark":return"dark";default:return"string"==typeof e&&l.set(rp,""),a}},s[0]=a,s[1]=l,s[2]=t):t=s[2];let[u,c]=(0,k.useState)(t);s[3]!==u?(n=()=>{document.body.classList.remove("graphiql-light","graphiql-dark"),u&&document.body.classList.add(`graphiql-${u}`)},r=[u],s[3]=u,s[4]=n,s[5]=r):(n=s[4],r=s[5]),(0,k.useEffect)(n,r),s[6]!==l?(i=e=>{l.set(rp,e||""),c(e)},s[6]=l,s[7]=i):i=s[7];let d=i;return s[8]!==d||s[9]!==u?(o={theme:u,setTheme:d},s[8]=d,s[9]=u,s[10]=o):o=s[10],o}(e.defaultTheme);eS[2]!==eW||eS[3]!==eG?(r=()=>{"system"===eW?eG(null):("light"===eW||"dark"===eW)&&eG(eW)},i=[eW,eG],eS[2]=eW,eS[3]=eG,eS[4]=r,eS[5]=i):(r=eS[4],i=eS[5]),(0,k.useEffect)(r,i);let eK=null==eq?void 0:eq.content,eQ=eq?void 0:"first";eS[6]!==ez||eS[7]!==eQ?(o={defaultSizeRelation:.3333333333333333,direction:"horizontal",initiallyHidden:eQ,onHiddenElementChange(e){"first"===e&&ez(null)},sizeThresholdSecond:200,storageKey:"docExplorerFlex"},eS[6]=ez,eS[7]=eQ,eS[8]=o):o=eS[8];let eX=rf(o);eS[9]===Symbol.for("react.memo_cache_sentinel")?(s={direction:"horizontal",storageKey:"editorFlex"},eS[9]=s):s=eS[9];let eJ=rf(s);t:{if("variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility){a=void 0;break t}if("boolean"==typeof e.defaultEditorToolsVisibility){a=e.defaultEditorToolsVisibility?void 0:"second";break t}a=eA||eD?void 0:"second"}eS[10]!==a?(l={defaultSizeRelation:3,direction:"vertical",initiallyHidden:a,sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"},eS[10]=a,eS[11]=l):l=eS[11];let eZ=rf(l);eS[12]!==eD||eS[13]!==eA||eS[14]!==eN||eS[15]!==e.defaultEditorToolsVisibility?(u=()=>"variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility?e.defaultEditorToolsVisibility:!eA&&eD&&eN?"headers":"variables",eS[12]=eD,eS[13]=eA,eS[14]=eN,eS[15]=e.defaultEditorToolsVisibility,eS[16]=u):u=eS[16];let[e0,e1]=(0,k.useState)(u),[e2,e3]=(0,k.useState)(null),[e5,e4]=(0,k.useState)(null);if(eS[17]!==e.children||eS[18]!==e.onCopyQuery||eS[19]!==e.onPrettifyQuery){let t,n,r;eS[21]!==e.onCopyQuery||eS[22]!==e.onPrettifyQuery?(t=(t,n)=>{switch(function(e){if(e&&"object"==typeof e&&"type"in e&&"function"==typeof e.type)return e.type}(n)){case y7.Logo:t.logo=n;break;case y7.Toolbar:t.toolbar=(0,k.cloneElement)(n,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery});break;case y7.Footer:t.footer=n;break;default:t.children.push(n)}return t},eS[21]=e.onCopyQuery,eS[22]=e.onPrettifyQuery,eS[23]=t):t=eS[23],eS[24]===Symbol.for("react.memo_cache_sentinel")?(n=(0,C.jsx)(y7.Logo,{}),eS[24]=n):n=eS[24],eS[25]!==e.onCopyQuery||eS[26]!==e.onPrettifyQuery?(r=(0,C.jsx)(y7.Toolbar,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery}),eS[25]=e.onCopyQuery,eS[26]=e.onPrettifyQuery,eS[27]=r):r=eS[27],c=k.Children.toArray(e.children).reduce(t,{logo:n,toolbar:r,children:[]}),eS[17]=e.children,eS[18]=e.onCopyQuery,eS[19]=e.onPrettifyQuery,eS[20]=c}else c=eS[20];
146let{logo:e6,toolbar:e9,footer:e8,children:e7}=c;eS[28]!==eX?(d=()=>{"first"===eX.hiddenElement&&eX.setHiddenElement(null)},eS[28]=eX,eS[29]=d):d=eS[29];let te=d;eS[30]!==eU?(p=()=>{try{eU.clear(),e4("success")}catch{e4("error")}},eS[30]=eU,eS[31]=p):p=eS[31];let tt=p;eS[32]!==eI?(f=e=>{eI("true"===e.currentTarget.dataset.value)},eS[32]=eI,eS[33]=f):f=eS[33];let tn=f;eS[34]!==eG?(h=e=>{eG(e.currentTarget.dataset.theme||null)},eS[34]=eG,eS[35]=h):h=eS[35];let tr=h;eS[36]===Symbol.for("react.memo_cache_sentinel")?(m=e=>{e3(e.currentTarget.dataset.value)},eS[36]=m):m=eS[36];let ti=m;eS[37]!==eX||eS[38]!==eH||eS[39]!==ez||eS[40]!==eq?(g=e=>{let t=Number(e.currentTarget.dataset.index),n=eH.find((e,n)=>t===n);n===eq?(ez(null),eX.setHiddenElement("first")):(ez(n),eX.setHiddenElement(null))},eS[37]=eX,eS[38]=eH,eS[39]=ez,eS[40]=eq,eS[41]=g):g=eS[41];let to=g;eS[42]!==eZ?(v=e=>{"second"===eZ.hiddenElement&&eZ.setHiddenElement(null),e1(e.currentTarget.dataset.name)},eS[42]=eZ,eS[43]=v):v=eS[43];let ts=v;eS[44]!==eZ?(y=()=>{eZ.setHiddenElement("second"===eZ.hiddenElement?null:"second")},eS[44]=eZ,eS[45]=y):y=eS[45];let ta=y;eS[46]===Symbol.for("react.memo_cache_sentinel")?(b=e=>{e||e3(null)},eS[46]=b):b=eS[46];let tl=b;eS[47]===Symbol.for("react.memo_cache_sentinel")?(E=e=>{e||(e3(null),e4(null))},eS[47]=E):E=eS[47];let tu=E,tc=e.confirmCloseTab;eS[48]!==ej||eS[49]!==eR||eS[50]!==tc||eS[51]!==eV?(x=async e=>{let t=Number(e.currentTarget.previousSibling.id.replace(y2,""));(!tc||await tc(t))&&(ej===t&&eV.stop(),eR(t))},eS[48]=ej,eS[49]=eR,eS[50]=tc,eS[51]=eV,eS[52]=x):x=eS[52];let td=x;eS[53]!==eL||eS[54]!==eV?(T=e=>{let t=Number(e.currentTarget.id.replace(y2,""));eV.stop(),eL(t)},eS[53]=eL,eS[54]=eV,eS[55]=T):T=eS[55];let tp=T;if(eS[56]!==e.className?(w=(0,rg.$)("graphiql-container",e.className),eS[56]=e.className,eS[57]=w):w=eS[57],eS[58]!==to||eS[59]!==eH||eS[60]!==eq){let e;eS[62]!==to||eS[63]!==eq?(e=(e,t)=>{let n=e===eq,r=`${n?"Hide":"Show"} ${e.title}`;return(0,C.jsx)(iD,{label:r,children:(0,C.jsx)(iI,{type:"button",className:(0,rg.$)(n&&"active"),onClick:to,"data-index":t,"aria-label":r,children:(0,C.jsx)(e.icon,{"aria-hidden":"true"})})},e.title)},eS[62]=to,eS[63]=eq,eS[64]=e):e=eS[64],S=eH.map(e),eS[58]=to,eS[59]=eH,eS[60]=eq,eS[61]=S}else S=eS[61];eS[65]===Symbol.for("react.memo_cache_sentinel")?(N={marginTop:"auto"},eS[65]=N):N=eS[65];let tf=e$&&"graphiql-spin";eS[66]!==tf?(A=(0,rg.$)(tf),eS[66]=tf,eS[67]=A):A=eS[67],eS[68]!==A?(D=(0,C.jsx)(i2,{className:A,"aria-hidden":"true"}),eS[68]=A,eS[69]=D):D=eS[69],eS[70]!==eB||eS[71]!==e$||eS[72]!==D?(I=(0,C.jsx)(iD,{label:"Re-fetch GraphQL schema",children:(0,C.jsx)(iI,{type:"button",disabled:e$,onClick:eB,"aria-label":"Re-fetch GraphQL schema",style:N,children:D})}),eS[70]=eB,eS[71]=e$,eS[72]=D,eS[73]=I):I=eS[73],eS[74]===Symbol.for("react.memo_cache_sentinel")?(O=(0,C.jsx)(iD,{label:"Open short keys dialog",children:(0,C.jsx)(iI,{type:"button","data-value":"short-keys",onClick:ti,"aria-label":"Open short keys dialog",children:(0,C.jsx)(iK,{"aria-hidden":"true"})})}),eS[74]=O):O=eS[74],eS[75]===Symbol.for("react.memo_cache_sentinel")?(F=(0,C.jsx)(iD,{label:"Open settings dialog",children:(0,C.jsx)(iI,{type:"button","data-value":"settings",onClick:ti,"aria-label":"Open settings dialog",children:(0,C.jsx)(i5,{"aria-hidden":"true"})})}),eS[75]=F):F=eS[75],eS[76]!==S||eS[77]!==I?(R=(0,C.jsxs)("div",{className:"graphiql-sidebar",children:[S,I,O,F]}),eS[76]=S,eS[77]=I,eS[78]=R):R=eS[78],eS[79]===Symbol.for("react.memo_cache_sentinel")?(L={minWidth:"200px"},eS[79]=L):L=eS[79],eS[80]!==eK?(M=eK?(0,C.jsx)(eK,{}):null,eS[80]=eK,eS[81]=M):M=eS[81],eS[82]!==eX.firstRef||eS[83]!==M?(P=(0,C.jsx)("div",{ref:eX.firstRef,className:"graphiql-plugin",style:L,children:M}),eS[82]=eX.firstRef,eS[83]=M,eS[84]=P):P=eS[84],eS[85]!==eX.dragBarRef||eS[86]!==eq?(j=eq&&(0,C.jsx)("div",{className:"graphiql-horizontal-drag-bar",ref:eX.dragBarRef}),eS[85]=eX.dragBarRef,eS[86]=eq,eS[87]=j):j=eS[87];let th=eX.secondRef;if(eS[88]!==ej||eS[89]!==tp||eS[90]!==td||eS[91]!==eP){let e;eS[93]!==ej||eS[94]!==tp||eS[95]!==td?(e=(e,t,n)=>(0,C.jsxs)(du,{value:e,isActive:t===ej,children:[(0,C.jsx)(du.Button,{"aria-controls":"graphiql-session",id:`graphiql-session-tab-${t}`,title:e.title,onClick:tp,children:e.title}),n.length>1&&(0,C.jsx)(du.Close,{onClick:td})]},e.id),eS[93]=ej,eS[94]=tp,eS[95]=td,eS[96]=e):e=eS[96],V=eP.map(e),eS[88]=ej,eS[89]=tp,eS[90]=td,eS[91]=eP,eS[92]=V}else V=eS[92];eS[97]!==eF||eS[98]!==V||eS[99]!==eP?($=(0,C.jsx)(dc,{values:eP,onReorder:eF,"aria-label":"Select active operation",className:"no-scrollbar",children:V}
146),eS[97]=eF,eS[98]=V,eS[99]=eP,eS[100]=$):$=eS[100],eS[101]===Symbol.for("react.memo_cache_sentinel")?(B=(0,C.jsx)(i0,{"aria-hidden":"true"}),eS[101]=B):B=eS[101],eS[102]!==eO?(U=(0,C.jsx)(iD,{label:"New tab",children:(0,C.jsx)(iI,{type:"button",className:"graphiql-tab-add",onClick:eO,"aria-label":"New tab",children:B})}),eS[102]=eO,eS[103]=U):U=eS[103],eS[104]!==e6||eS[105]!==$||eS[106]!==U?(q=(0,C.jsxs)("div",{className:"graphiql-session-header",children:[$,U,e6]}),eS[104]=e6,eS[105]=$,eS[106]=U,eS[107]=q):q=eS[107];let tm=`${y2}${ej}`,tg=eJ.firstRef;eS[108]!==te||eS[109]!==e.editorTheme||eS[110]!==e.keyMap||eS[111]!==e.onCopyQuery||eS[112]!==e.onEditQuery||eS[113]!==e.onPrettifyQuery||eS[114]!==e.readOnly?(z=(0,C.jsx)(dd,{editorTheme:e.editorTheme,keyMap:e.keyMap,onClickReference:te,onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery,onEdit:e.onEditQuery,readOnly:e.readOnly}),eS[108]=te,eS[109]=e.editorTheme,eS[110]=e.keyMap,eS[111]=e.onCopyQuery,eS[112]=e.onEditQuery,eS[113]=e.onPrettifyQuery,eS[114]=e.readOnly,eS[115]=z):z=eS[115],eS[116]===Symbol.for("react.memo_cache_sentinel")?(W=(0,C.jsx)(fq,{}),eS[116]=W):W=eS[116],eS[117]!==e9?(Y=(0,C.jsxs)("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands",children:[W,e9]}),eS[117]=e9,eS[118]=Y):Y=eS[118],eS[119]!==eZ.firstRef||eS[120]!==z||eS[121]!==Y?(G=(0,C.jsxs)("section",{className:"graphiql-query-editor","aria-label":"Query Editor",ref:eZ.firstRef,children:[z,Y]}),eS[119]=eZ.firstRef,eS[120]=z,eS[121]=Y,eS[122]=G):G=eS[122];let tv=eZ.dragBarRef,ty="variables"===e0&&"second"!==eZ.hiddenElement&&"active";eS[123]!==ty?(K=(0,rg.$)(ty),eS[123]=ty,eS[124]=K):K=eS[124],eS[125]!==ts||eS[126]!==K?(Q=(0,C.jsx)(iI,{type:"button",className:K,onClick:ts,"data-name":"variables",children:"Variables"}),eS[125]=ts,eS[126]=K,eS[127]=Q):Q=eS[127],eS[128]!==e0||eS[129]!==eZ.hiddenElement||eS[130]!==ts||eS[131]!==eN?(X=eN&&(0,C.jsx)(iI,{type:"button",className:(0,rg.$)("headers"===e0&&"second"!==eZ.hiddenElement&&"active"),onClick:ts,"data-name":"headers",children:"Headers"}),eS[128]=e0,eS[129]=eZ.hiddenElement,eS[130]=ts,eS[131]=eN,eS[132]=X):X=eS[132];let tb="second"===eZ.hiddenElement?"Show editor tools":"Hide editor tools",tE="second"===eZ.hiddenElement?"Show editor tools":"Hide editor tools";eS[133]!==eZ.hiddenElement?(J="second"===eZ.hiddenElement?(0,C.jsx)(iM,{className:"graphiql-chevron-icon","aria-hidden":"true"}):(0,C.jsx)(iR,{className:"graphiql-chevron-icon","aria-hidden":"true"}),eS[133]=eZ.hiddenElement,eS[134]=J):J=eS[134],eS[135]!==tE||eS[136]!==J||eS[137]!==ta?(Z=(0,C.jsx)(iI,{type:"button",onClick:ta,"aria-label":tE,className:"graphiql-toggle-editor-tools",children:J}),eS[135]=tE,eS[136]=J,eS[137]=ta,eS[138]=Z):Z=eS[138],eS[139]!==tb||eS[140]!==Z?(ee=(0,C.jsx)(iD,{label:tb,children:Z}),eS[139]=tb,eS[140]=Z,eS[141]=ee):ee=eS[141],eS[142]!==eZ.dragBarRef||eS[143]!==Q||eS[144]!==X||eS[145]!==ee?(et=(0,C.jsxs)("div",{ref:tv,className:"graphiql-editor-tools",children:[Q,X,ee]}),eS[142]=eZ.dragBarRef,eS[143]=Q,eS[144]=X,eS[145]=ee,eS[146]=et):et=eS[146];let tx="variables"===e0?"Variables":"Headers",tT="variables"!==e0;eS[147]!==te||eS[148]!==e.editorTheme||eS[149]!==e.keyMap||eS[150]!==e.onEditVariables||eS[151]!==e.readOnly||eS[152]!==tT?(en=(0,C.jsx)(fz,{editorTheme:e.editorTheme,isHidden:tT,keyMap:e.keyMap,onEdit:e.onEditVariables,onClickReference:te,readOnly:e.readOnly}),eS[147]=te,eS[148]=e.editorTheme,eS[149]=e.keyMap,eS[150]=e.onEditVariables,eS[151]=e.readOnly,eS[152]=tT,eS[153]=en):en=eS[153],eS[154]!==e0||eS[155]!==eN||eS[156]!==e.editorTheme||eS[157]!==e.keyMap||eS[158]!==e.onEditHeaders||eS[159]!==e.readOnly?(ei=eN&&(0,C.jsx)(fH,{editorTheme:e.editorTheme,isHidden:"headers"!==e0,keyMap:e.keyMap,onEdit:e.onEditHeaders,readOnly:e.readOnly}),eS[154]=e0,eS[155]=eN,eS[156]=e.editorTheme,eS[157]=e.keyMap,eS[158]=e.onEditHeaders,eS[159]=e.readOnly,eS[160]=ei):ei=eS[160],eS[161]!==eZ.secondRef||eS[162]!==tx||eS[163]!==en||eS[164]!==ei?(eo=(0,C.jsxs)("section",{className:"graphiql-editor-tool","aria-label":tx,ref:eZ.secondRef,children:[en,ei]}),eS[161]=eZ.secondRef,eS[162]=tx,eS[163]=en,eS[164]=ei,eS[165]=eo):eo=eS[165],eS[166]!==eJ.firstRef||eS[167]!==G||eS[168]!==et||eS[169]!==eo?(es=(0,C.jsxs)("div",{className:"graphiql-editors",ref:tg,children:[G,et,eo]}),eS[166]=eJ.firstRef,eS[167]=G,eS[168]=et,eS[169]=eo,eS[170]=es):es=eS[170],eS[171
146]!==eJ.dragBarRef?(ea=(0,C.jsx)("div",{className:"graphiql-horizontal-drag-bar",ref:eJ.dragBarRef}),eS[171]=eJ.dragBarRef,eS[172]=ea):ea=eS[172],eS[173]!==eV.isFetching?(el=eV.isFetching?(0,C.jsx)(fW,{}):null,eS[173]=eV.isFetching,eS[174]=el):el=eS[174],eS[175]!==e.editorTheme||eS[176]!==e.keyMap||eS[177]!==e.responseTooltip?(eu=(0,C.jsx)(fX,{editorTheme:e.editorTheme,responseTooltip:e.responseTooltip,keyMap:e.keyMap}),eS[175]=e.editorTheme,eS[176]=e.keyMap,eS[177]=e.responseTooltip,eS[178]=eu):eu=eS[178],eS[179]!==eJ.secondRef||eS[180]!==e8||eS[181]!==el||eS[182]!==eu?(ec=(0,C.jsxs)("div",{className:"graphiql-response",ref:eJ.secondRef,children:[el,eu,e8]}),eS[179]=eJ.secondRef,eS[180]=e8,eS[181]=el,eS[182]=eu,eS[183]=ec):ec=eS[183],eS[184]!==tm||eS[185]!==es||eS[186]!==ea||eS[187]!==ec?(ed=(0,C.jsxs)("div",{role:"tabpanel",id:"graphiql-session","aria-labelledby":tm,children:[es,ea,ec]}),eS[184]=tm,eS[185]=es,eS[186]=ea,eS[187]=ec,eS[188]=ed):ed=eS[188],eS[189]!==eX.secondRef||eS[190]!==q||eS[191]!==ed?(ep=(0,C.jsxs)("div",{ref:th,className:"graphiql-sessions",children:[q,ed]}),eS[189]=eX.secondRef,eS[190]=q,eS[191]=ed,eS[192]=ep):ep=eS[192],eS[193]!==P||eS[194]!==j||eS[195]!==ep?(ef=(0,C.jsxs)("div",{className:"graphiql-main",children:[P,j,ep]}),eS[193]=P,eS[194]=j,eS[195]=ep,eS[196]=ef):ef=eS[196];let tw="short-keys"===e2;eS[197]===Symbol.for("react.memo_cache_sentinel")?(eh=(0,C.jsxs)("div",{className:"graphiql-dialog-header",children:[(0,C.jsx)(h0.Title,{className:"graphiql-dialog-title",children:"Short Keys"}),(0,C.jsx)(h0.Close,{})]}),eS[197]=eh):eh=eS[197],eS[198]!==e.keyMap?(em=(0,C.jsx)("div",{className:"graphiql-dialog-section",children:(0,C.jsx)(y6,{keyMap:e.keyMap})}),eS[198]=e.keyMap,eS[199]=em):em=eS[199],eS[200]!==tw||eS[201]!==em?(eg=(0,C.jsxs)(h0,{open:tw,onOpenChange:tl,children:[eh,em]}),eS[200]=tw,eS[201]=em,eS[202]=eg):eg=eS[202];let tC="settings"===e2;eS[203]===Symbol.for("react.memo_cache_sentinel")?(ey=(0,C.jsxs)("div",{className:"graphiql-dialog-header",children:[(0,C.jsx)(h0.Title,{className:"graphiql-dialog-title",children:"Settings"}),(0,C.jsx)(h0.Close,{})]}),eS[203]=ey):ey=eS[203],eS[204]!==tn||eS[205]!==e.showPersistHeadersSettings||eS[206]!==eM?(eb=e.showPersistHeadersSettings?(0,C.jsxs)("div",{className:"graphiql-dialog-section",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"graphiql-dialog-section-title",children:"Persist headers"}),(0,C.jsxs)("div",{className:"graphiql-dialog-section-caption",children:["Save headers upon reloading."," ",(0,C.jsx)("span",{className:"graphiql-warning-text",children:"Only enable if you trust this device."})]})]}),(0,C.jsxs)(h1,{children:[(0,C.jsx)(iO,{type:"button",id:"enable-persist-headers",className:(0,rg.$)(eM&&"active"),"data-value":"true",onClick:tn,children:"On"}),(0,C.jsx)(iO,{type:"button",id:"disable-persist-headers",className:(0,rg.$)(!eM&&"active"),onClick:tn,children:"Off"})]})]}):null,eS[204]=tn,eS[205]=e.showPersistHeadersSettings,eS[206]=eM,eS[207]=eb):eb=eS[207],eS[208]!==eW||eS[209]!==tr||eS[210]!==eY?(eE=!eW&&(0,C.jsxs)("div",{className:"graphiql-dialog-section",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"graphiql-dialog-section-title",children:"Theme"}),(0,C.jsx)("div",{className:"graphiql-dialog-section-caption",children:"Adjust how the interface appears."})]}),(0,C.jsxs)(h1,{children:[(0,C.jsx)(iO,{type:"button",className:(0,rg.$)(null===eY&&"active"),onClick:tr,children:"System"}),(0,C.jsx)(iO,{type:"button",className:(0,rg.$)("light"===eY&&"active"),"data-theme":"light",onClick:tr,children:"Light"}),(0,C.jsx)(iO,{type:"button",className:(0,rg.$)("dark"===eY&&"active"),"data-theme":"dark",onClick:tr,children:"Dark"})]})]}),eS[208]=eW,eS[209]=tr,eS[210]=eY,eS[211]=eE):eE=eS[211],eS[212]===Symbol.for("react.memo_cache_sentinel")?(ex=(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"graphiql-dialog-section-title",children:"Clear storage"}),(0,C.jsx)("div",{className:"graphiql-dialog-section-caption",children:"Remove all locally stored data and start fresh."})]}),eS[212]=ex):ex=eS[212];let t_=e5||void 0,tk="success"===e5;return eS[213]!==e5?(eT=({success:"Cleared data",error:"Failed"})[e5]||"Clear data",eS[213]=e5,eS[214]=eT):eT=eS[214],eS[215]!==tt||eS[216]!==t_||eS[217]!==tk||eS[218]!==eT?(ew=(0,C.jsxs)("div",{className:"graphiql-dialog-section",children:[ex,(0,C.jsx)(iO,{type:"button",state:t_,disabled:tk,onClick:tt,children:eT})]}),eS[215]=tt,eS[216]=t_,eS[217]=tk,eS[218]=eT,eS[219]=ew):ew=eS[219],eS[220]!==tC||eS[221]!==eb||eS[222]!==eE||eS[223]!==ew?(eC=(0,C.jsxs)(h0,{open:tC,onOpenChange:tu,children:[ey,eb,eE,ew]}),eS[220]=tC,eS[221]=eb,eS[222]=eE,eS[223]=ew,eS[224]=eC):eC=eS[224],eS[225]!==w||eS[226]!==R||eS[227]!==ef||eS[228]!==eg||eS[229]!==eC?(e_=(0,C.jsxs)("div",{className:w,children:[R,ef,eg,eC]}),eS[225]=w,eS[226]=R,eS[227]=ef,eS[228]=eg,eS[229]=eC,eS[230]=e_):e_=eS[230],eS[231]!==e7||eS[232]!==e_?(ek=(0,C.jsxs)(iD.Provider,{children:[e_,e7]}),eS[231]=e7,eS[232]=e_,eS[233]=ek):ek=eS[233],ek}
146,y5=G?"⌘":"Ctrl",y4=Object.entries({"Search in editor":[y5,"F"],"Search in documentation":[y5,"K"],"Execute query":[y5,"Enter"],"Prettify editors":["Ctrl","Shift","P"],"Merge fragments definitions into operation definition":["Ctrl","Shift","M"],"Copy query":["Ctrl","Shift","C"],"Re-fetch schema using introspection":["Ctrl","Shift","R"]}),y6=e=>{let t,n,r,i,o=(0,_.c)(5),{keyMap:s}=e,a=void 0===s?"sublime":s;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,C.jsxs)("table",{className:"graphiql-table",children:[(0,C.jsx)("thead",{children:(0,C.jsxs)("tr",{children:[(0,C.jsx)("th",{children:"Short Key"}),(0,C.jsx)("th",{children:"Function"})]})}),(0,C.jsx)("tbody",{children:y4.map(bt)})]}),o[0]=t):t=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,C.jsx)("a",{href:"https://codemirror.net/5/doc/manual.html#keymaps",target:"_blank",rel:"noopener noreferrer",children:"CodeMirror Key Maps"}),o[1]=n):n=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,C.jsx)("em",{children:"i"}),o[2]=r):r=o[2],o[3]!==a?(i=(0,C.jsxs)("div",{children:[t,(0,C.jsxs)("p",{children:["The editors use"," ",n," ","that add more short keys. This instance of Graph",r,"QL uses"," ",(0,C.jsx)("code",{children:a}),"."]})]}),o[3]=a,o[4]=i):i=o[4],i},y9=(0,C.jsxs)("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer",children:["Graph",(0,C.jsx)("em",{children:"i"}),"QL"]}),y8=e=>{let t,n=(0,_.c)(4),{prettify:r,copy:i,merge:o}=e;return n[0]!==i||n[1]!==o||n[2]!==r?(t=(0,C.jsxs)(C.Fragment,{children:[r,o,i]}),n[0]=i,n[1]=o,n[2]=r,n[3]=t):t=n[3],t},y7=Object.assign(e=>{var t,n;let r,i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E,x,T,w,k,S,N,A,D,I,O,F,R,L,M,P,j,V,$=(0,_.c)(72);$[0]!==e?({dangerouslyAssumeSchemaIsValid:i,confirmCloseTab:r,defaultQuery:s,defaultTabs:a,externalFragments:l,fetcher:u,getDefaultFieldNames:c,headers:d,inputValueDeprecation:p,introspectionQueryName:f,maxHistoryLength:h,onEditOperationName:m,onSchemaChange:g,onTabChange:v,onTogglePluginVisibility:y,operationName:b,plugins:A,referencePlugin:D,query:x,response:T,schema:w,schemaDescription:k,shouldPersistHeaders:S,storage:N,validationRules:I,variables:O,visiblePlugin:F,defaultHeaders:o,...E}=e,$[0]=e,$[1]=r,$[2]=i,$[3]=o,$[4]=s,$[5]=a,$[6]=l,$[7]=u,$[8]=c,$[9]=d,$[10]=p,$[11]=f,$[12]=h,$[13]=m,$[14]=g,$[15]=v,$[16]=y,$[17]=b,$[18]=E,$[19]=x,$[20]=T,$[21]=w,$[22]=k,$[23]=S,$[24]=N,$[25]=A,$[26]=D,$[27]=I,$[28]=O,$[29]=F):(r=$[1],i=$[2],o=$[3],s=$[4],a=$[5],l=$[6],u=$[7],c=$[8],d=$[9],p=$[10],f=$[11],h=$[12],m=$[13],g=$[14],v=$[15],y=$[16],b=$[17],E=$[18],x=$[19],T=$[20],w=$[21],k=$[22],S=$[23],N=$[24],A=$[25],D=$[26],I=$[27],O=$[28],F=$[29]),$[30]!==A?(R=void 0===A?[]:A,$[30]=A,$[31]=R):R=$[31];let B=R,U=void 0===D?y0:D;if(null==(t=E.toolbar)?void 0:t.additionalContent)throw TypeError("`toolbar.additionalContent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");if(null==(n=E.toolbar)?void 0:n.additionalComponent)throw TypeError("`toolbar.additionalComponent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");$[32]!==B||$[33]!==U?(L=[U,ms,...B],$[32]=B,$[33]=U,$[34]=L):L=$[34],$[35]!==i||$[36]!==o||$[37]!==s||$[38]!==a||$[39]!==l||$[40]!==u||$[41]!==c||$[42]!==d||$[43]!==p||$[44]!==f||$[45]!==m||$[46]!==g||$[47]!==v||$[48]!==y||$[49]!==b||$[50]!==x||$[51]!==U||$[52]!==T||$[53]!==w||$[54]!==k||$[55]!==S||$[56]!==N||$[57]!==L||$[58]!==I||$[59]!==O||$[60]!==F?(M={getDefaultFieldNames:c,dangerouslyAssumeSchemaIsValid:i,defaultQuery:s,defaultHeaders:o,defaultTabs:a,externalFragments:l,fetcher:u,headers:d,inputValueDeprecation:p,introspectionQueryName:f,onEditOperationName:m,onSchemaChange:g,onTabChange:v,onTogglePluginVisibility:y,plugins:L,referencePlugin:U,visiblePlugin:F,operationName:b,query:x,response:T,schema:w,schemaDescription:k,shouldPersistHeaders:S,storage:N,validationRules:I,variables:O},$[35]=i,$[36]=o,$[37]=s,$[38]=a,$[39]=l,$[40]=u,$[41]=c,$[42]=d,$[43]=p,$[44]=f,$[45]=m,$[46]=g,$[47]=v,$[48]=y,$[49]=b,$[50]=x,$[51]=U,$[52]=T,$[53]=w,$[54]=k,$[55]=S,$[56]=N,$[57]=L,$[58]=I,$[59]=O,$[60]=F,$[61]=M):M=$[61];let q=M,z=!1!==S;return $[62]!==r||$[63]!==E||$[64]!==z?(P=(0,C.jsx)(mc,{children:(0,C.jsx)(y3,{confirmCloseTab:r,showPersistHeadersSettings:z,forcedTheme:E.forcedTheme,...E})}),$[62]=r,$[63]=E,$[64]=z,$[65]=P):P=$[65],$[66]!==h||$[67]!==P?(j=(0,C.jsx)(h4,{maxHistoryLength:h,children:P}),$[66]=h,$[67]=P,$[68]=j):j=$[68],$[69]!==q||$[70]!==j?(V=(0,C.jsx)(rd,{...q,children:j}),$[69]=q,$[70]=j,$[71]=V):V=$[71],V},{Logo:e=>{let t,n=(0,_.c)(2),{children:r}=e,i=void 0===r?y9:r;return n[0]!==i?(t=(0,C.jsx)("div",{className:"graphiql-logo",children:i}),n[0]=i,n[1]=t):t=n[1],t},Toolbar:({children:e=y8,onCopyQuery:t,onPrettifyQuery:n})=>{if("function"!=typeof e)throw TypeError("The `GraphiQL.Toolbar` component requires a render prop function as its child.");let r=nL({onCopyQuery:t}),i=nM(),o=nj({onPrettifyQuery:n}),s=(0,C.jsx)(h2,{onClick:o,label:"Prettify query (Shift-Ctrl-P)",children:(0,C.jsx)(i1,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),a=(0,C.jsx)(h2,{onClick:i,label:"Merge fragments into query (Shift-Ctrl-M)",children:(0,C.jsx)(iX,{className:"graphiql-toolbar-icon","aria-hidden":"true"})});return e({prettify:s,copy:(0,C.jsx)(h2,{onClick:r,label:"Copy query (Shift-Ctrl-C)",children:(0,C.jsx)(ij,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),merge:a})},Footer:e=>{let t,n=(0,_.c)(2);return n[0]!==e.children?(t=(0,C.jsx)("div",{className:"graphiql-footer",children:e.children}),n[0]=e.children,n[1]=t):t=n[1],t}});function be(e,t,n){return(0,C.jsxs)(k.Fragment,{children:[(0,C.jsx)("code",{className:"graphiql-key",children:e}),t!==n.length-1&&" + "]},e)}function bt(e){let[t,n]=e;return(0,C.jsxs)("tr",{children:[(0,C.jsx)("td",{children:n.map(be)}),(0,C.jsx)("td",{children:t})]},t)}}
146,15428:(e,t,n)=>{"use strict";function r(){let 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}n.d(t,{$t:()=>r})},16618:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(4262);function i(e,t){let n=Object.create(null),i=new o(e),s=Math.floor(.4*e.length)+1;for(let e of t){let t=i.measure(e,s);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let 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=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=s(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let o=r.length,a=i.length;if(o-a>t)return;let l=this._rows;for(let e=0;e<=a;e++)l[0][e]=e;for(let e=1;e<=o;e++){let n=l[(e-1)%3],o=l[e%3],s=o[0]=e;for(let t=1;t<=a;t++){let a=+(r[e-1]!==i[t-1]),u=Math.min(n[t]+1,o[t-1]+1,n[t-1]+a);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(u=Math.min(u,l[(e-2)%3][t-2]+1)),u<s&&(s=u),o[t]=u}if(s>t)return}let u=l[o%3][a];return u<=t?u:void 0}}function s(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},16765:(e,t,n)=>{"use strict";n.d(t,{S0:()=>b,V4:()=>T,Xe:()=>E,Yh:()=>w,em:()=>d,fY:()=>r,of:()=>x});var r,i=n(77016),o=n(29695),s=n(32776),a=n(8056),l=n(33254),u=n(76131),c=n(85875);let d=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:c.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(h))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new u.Gc(h),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,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(p))),resolve:e=>e.getDirectives()}})}),p=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(c.FV),resolve:e=>e.name},description:{type:c.FV,resolve:e=>e.description},isRepeatable:{type:new u.Gc(c.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(g))),args:{includeDeprecated:{type:c.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."}}}),h=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(y),resolve:e=>(0,u.lg)(e)?r.SCALAR:(0,u.YQ)(e)?r.OBJECT:(0,u.kD)(e)?r.INTERFACE:(0,u.CK)(e)?r.UNION:(0,u.oF)(e)?r.ENUM:(0,u.qK)(e)?r.INPUT_OBJECT:(0,u.Fs)(e)?r.LIST:(0,u.bd)(e)?r.NON_NULL:void(0,o.V)(!1,`Unexpected type: "${(0,i.N)(e)}".`)},name:{type:c.FV,resolve:e=>"name"in e?e.name:void 0},description:{type:c.FV,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:c.FV,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new u.KT(new u.Gc(m)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.YQ)(e)||(0,u.kD)(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new u.KT(new u.Gc(h)),resolve(e){if((0,u.YQ)(e)||(0,u.kD)(e))return e.getInterfaces()}},possibleTypes:{type:new u.KT(new u.Gc(h)),resolve(e,t,n,{schema:r}){if((0,u.Lc)(e))return r.getPossibleTypes(e)}},enumValues:{type:new u.KT(new u.Gc(v)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.oF)(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new u.KT(new u.Gc(g)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,u.qK)(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:h,resolve:e=>
146"ofType"in e?e.ofType:void 0}})}),m=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(c.FV),resolve:e=>e.name},description:{type:c.FV,resolve:e=>e.description},args:{type:new u.Gc(new u.KT(new u.Gc(g))),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new u.Gc(h),resolve:e=>e.type},isDeprecated:{type:new u.Gc(c.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.FV,resolve:e=>e.deprecationReason}})}),g=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(c.FV),resolve:e=>e.name},description:{type:c.FV,resolve:e=>e.description},type:{type:new u.Gc(h),resolve:e=>e.type},defaultValue:{type:c.FV,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=(0,l.K)(n,t);return r?(0,a.y)(r):null}},isDeprecated:{type:new u.Gc(c.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.FV,resolve:e=>e.deprecationReason}})}),v=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(c.FV),resolve:e=>e.name},description:{type:c.FV,resolve:e=>e.description},isDeprecated:{type:new u.Gc(c.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:c.FV,resolve:e=>e.deprecationReason}})});!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"}(r||(r={}));let y=new u.Zb({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:r.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:r.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:r.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:r.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:r.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:r.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:r.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:r.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),b={name:"__schema",type:new u.Gc(d),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:h,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new u.Gc(c.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},x={name:"__typename",type:new u.Gc(c.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},T=Object.freeze([d,p,f,h,m,g,v,y]);function w(e){return T.some(({name:t})=>e.name===t)}},19977:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,W:()=>s});var r=n(76757);function i(e){return JSON.stringify(e,null,2)}function o(e){return e instanceof Error?(0,r.ko)((0,r.IA)({},e),{message:e.message,stack:e.stack}):e}function s(e){return Array.isArray(e)?i({errors:e.map(e=>o(e))}):i({errors:[o(e)]})}function a(e){return i(e)}},21791:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var r=n(76757),i=n(74968),o=new TextDecoder;async function s(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get("content-type");if(!n||!~n.indexOf("multipart/mixed"))return e;let r=n.indexOf("boundary="),i=r+9,s=n.indexOf(";",i);
146return async function*(e,t,n){let r=e.getReader(),i=!n||!n.multiple,s=t.length,a="",l=!0,u=[];try{let e;n:for(;!(e=await r.read()).done;){let n=o.decode(e.value),r=n.indexOf(t),c=a.length;for(a+=n,~r?c+=r:c=a.indexOf(t),u=[];~c;){let e=a.substring(0,c),n=a.substring(c+s);if(l)l=!1,t="\r\n"+t,s+=2;else{let t,r={},o=e.indexOf("\r\n\r\n")+4,s=String(a.slice(0,o)).trim().split("\r\n");for(;t=s.shift();)r[(t=t.split(": ")).shift().toLowerCase()]=t.join(": ");let l=e.lastIndexOf("\r\n",o),c=e.substring(o,l>-1?void 0:l),d=!1;if((t=r["content-type"])&&~t.indexOf("application/json"))try{c=JSON.parse(c),d=!0}catch(e){}if(t={headers:r,body:c,json:d},i?yield t:u.push(t),"--"===n.substring(0,2))break n}c=(a=n).indexOf(t)}u.length&&(yield u)}}finally{u.length&&(yield u),await r.cancel()}}(e.body,`--${~r?n.substring(i,s>-1?s:void 0).replace(/['"]/g,"").trim():"-"}`,t)}function a(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}let l=e=>{let t,{pushValue:n,asyncIterableIterator:r}=function(){let e={type:"running"},t=a(),n=[];return{pushValue:function(r){"running"===e.type&&(n.push(r),t.resolve(),t=a())},asyncIterableIterator:function(e,t,n){let r=async function*(){yield*e}(),i=r.return.bind(r);if(t&&(r.return=(...e)=>(t(),i(...e))),n){let 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())})}}(),i=e({next:e=>{n(e)},complete:()=>{r.return()},error:e=>{r.throw(e)}}),o=r.return;return r.return=()=>(void 0===t&&(i(),t=o()),t),r};async function u(e,t){let r;try{let{createClient:i}=await n.e(63120).then(n.bind(n,63120));return r=i({url:e,connectionParams:t}),c(r)}catch(t){if("object"==typeof t&&null!==t&&"code"in t&&"MODULE_NOT_FOUND"===t.code)throw 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)}}let c=e=>t=>l(n=>e.subscribe(t,(0,r.ko)((0,r.IA)({},n),{error(e){e instanceof CloseEvent?n.error(Error(`Socket closed with event ${e.code} ${e.reason||""}`.trim())):n.error(e)}})));async function d(e,t){if(e.wsClient)return c(e.wsClient);if(e.subscriptionUrl)return u(e.subscriptionUrl,(0,r.IA)((0,r.IA)({},e.wsConnectionParams),null==t?void 0:t.headers));let n=e.legacyClient||e.legacyWsClient;if(n)return e=>{let t=n.request(e);return l(e=>t.subscribe(e).unsubscribe)}}function p(e){let t=e.fetch||"undefined"!=typeof window&&window.fetch;if(!t)throw Error("No valid fetcher implementation available");e.enableIncrementalDelivery=!1!==e.enableIncrementalDelivery;let n=async(n,i)=>(await t(e.url,{method:"POST",body:JSON.stringify(n),headers:(0,r.IA)((0,r.IA)({"content-type":"application/json"},e.headers),null==i?void 0:i.headers)})).json(),o=e.enableIncrementalDelivery?function(n,i){return(0,r.AQ)(this,null,function*(){let o=yield new r.N3(t(e.url,{method:"POST",body:JSON.stringify(n),headers:(0,r.IA)((0,r.IA)({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),null==i?void 0:i.headers)}).then(e=>s(e,{multiple:!0})));if(!("object"==typeof o&&null!==o&&("AsyncGenerator"===o[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in o)))return yield o.json();try{for(var a,l,u,c=(0,r.od)(o);a=!(l=yield new r.N3(c.next())).done;a=!1){let e=l.value;if(e.some(e=>!e.json)){let t=e.map(e=>`Headers::
147${e.headers}
148
149Body::
150${e.body}`);throw Error(`Expected multipart chunks to be of json type. got:
151${t}`)}yield e.map(e=>e.body)}}catch(e){u=[e]}finally{try{a&&(l=c.return)&&(yield new r.N3(l.call(c)))}finally{if(u)throw u[0]}}})}:n;return async(t,r)=>{var s,a;let l;if("IntrospectionQuery"===t.operationName)return(e.schemaFetcher||n)(t,r);if(null!=r&&r.documentAST&&(s=r.documentAST,a=t.operationName||void 0,l=!1,(0,i.YR)(s,{OperationDefinition(e){var t;a===(null==(t=e.name)?void 0:t.value)&&"subscription"===e.operation&&(l=!0)}}),l)){let n=await d(e,r);if(!n)throw 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 o(t,r)}}},21963:(e,t,n)=>{"use strict";n.d(t,{kr:()=>ew,Rq:()=>eU,vM:()=>eq,yX:()=>tu,CE:()=>tt,VS:()=>nl,JR:()=>ta,Jb:()=>nr,pi:()=>eB,p_:()=>ej,r5:()=>eW,m7:()=>eP,p:()=>e$,t:()=>eV});var r,i,o,s,a,l,u,c,d,p,f,h,m,g,v,y,b,E,x,T,w,C,_,k,S,N,A,D,I,O,F,R,L,M,P,j,V,$,B,U,q,z,H,W,Y,G,K,Q,X,J,Z,ee,et,en,er,ei,eo,es,ea,el,eu,ec,ed,ep,ef,eh,em,eg,ev,ey,eb,eE,ex,eT,ew,eC,e_=n(74968),ek=n(31446),eS=n(94587),eN=n(76131),eA=n(16765),eD=n(85875),eI=n(27763),eO=n(32776);(r||(r={})).is=function(e){return"string"==typeof e},(i||(i={})).is=function(e){return"string"==typeof e},function(e){e.MIN_VALUE=-0x80000000,e.MAX_VALUE=0x7fffffff,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=0x7fffffff,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){return eT.objectLiteral(e)&&eT.uinteger(e.line)&&eT.uinteger(e.character)}}(a||(a={})),function(e){e.create=function(e,t,n,r){if(eT.uinteger(e)&&eT.uinteger(t)&&eT.uinteger(n)&&eT.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};
151throw Error("Range#create called with invalid arguments[".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,"]"))},e.is=function(e){return eT.objectLiteral(e)&&a.is(e.start)&&a.is(e.end)}}(l||(l={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){return eT.objectLiteral(e)&&l.is(e.range)&&(eT.string(e.uri)||eT.undefined(e.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){return eT.objectLiteral(e)&&l.is(e.targetRange)&&eT.string(e.targetUri)&&l.is(e.targetSelectionRange)&&(l.is(e.originSelectionRange)||eT.undefined(e.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){return eT.objectLiteral(e)&&eT.numberRange(e.red,0,1)&&eT.numberRange(e.green,0,1)&&eT.numberRange(e.blue,0,1)&&eT.numberRange(e.alpha,0,1)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){return eT.objectLiteral(e)&&l.is(e.range)&&d.is(e.color)}}(p||(p={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){return eT.objectLiteral(e)&&eT.string(e.label)&&(eT.undefined(e.textEdit)||T.is(e))&&(eT.undefined(e.additionalTextEdits)||eT.typedArray(e.additionalTextEdits,T.is))}}(f||(f={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(h||(h={})),function(e){e.create=function(e,t,n,r,i,o){var s={startLine:e,endLine:t};return eT.defined(n)&&(s.startCharacter=n),eT.defined(r)&&(s.endCharacter=r),eT.defined(i)&&(s.kind=i),eT.defined(o)&&(s.collapsedText=o),s},e.is=function(e){return eT.objectLiteral(e)&&eT.uinteger(e.startLine)&&eT.uinteger(e.startLine)&&(eT.undefined(e.startCharacter)||eT.uinteger(e.startCharacter))&&(eT.undefined(e.endCharacter)||eT.uinteger(e.endCharacter))&&(eT.undefined(e.kind)||eT.string(e.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){return eT.defined(e)&&u.is(e.location)&&eT.string(e.message)}}(g||(g={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(v||(v={})),function(e){e.Unnecessary=1,e.Deprecated=2}(y||(y={})),(b||(b={})).is=function(e){return eT.objectLiteral(e)&&eT.string(e.href)},function(e){e.create=function(e,t,n,r,i,o){var s={range:e,message:t};return eT.defined(n)&&(s.severity=n),eT.defined(r)&&(s.code=r),eT.defined(i)&&(s.source=i),eT.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t;return eT.defined(e)&&l.is(e.range)&&eT.string(e.message)&&(eT.number(e.severity)||eT.undefined(e.severity))&&(eT.integer(e.code)||eT.string(e.code)||eT.undefined(e.code))&&(eT.undefined(e.codeDescription)||eT.string(null==(t=e.codeDescription)?void 0:t.href))&&(eT.string(e.source)||eT.undefined(e.source))&&(eT.undefined(e.relatedInformation)||eT.typedArray(e.relatedInformation,g.is))}}(E||(E={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return eT.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){return eT.defined(e)&&eT.string(e.title)&&eT.string(e.command)}}(x||(x={})),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){return eT.objectLiteral(e)&&eT.string(e.newText)&&l.is(e.range)}}(T||(T={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){return eT.objectLiteral(e)&&eT.string(e.label)&&(eT.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(eT.string(e.description)||void 0===e.description)}}(w||(w={})),(C||(C={})).is=function(e){return eT.string(e)},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){return T.is(e)&&(w.is(e.annotationId)||C.is(e.annotationId))}}(_||(_={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}}
151,e.is=function(e){return eT.defined(e)&&F.is(e.textDocument)&&Array.isArray(e.edits)}}(k||(k={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"create"===e.kind&&eT.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||eT.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||eT.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||C.is(e.annotationId))}}(S||(S={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){return e&&"rename"===e.kind&&eT.string(e.oldUri)&&eT.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||eT.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||eT.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||C.is(e.annotationId))}}(N||(N={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){return e&&"delete"===e.kind&&eT.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||eT.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||eT.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||C.is(e.annotationId))}}(A||(A={})),(D||(D={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return eT.string(e.kind)?S.is(e)||N.is(e)||A.is(e):k.is(e)}))};var eF=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=T.insert(e,t):C.is(n)?(i=n,r=_.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=T.replace(e,t):C.is(n)?(i=n,r=_.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=T.del(e):C.is(t)?(r=t,n=_.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=_.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),eR=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(C.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id ".concat(n," is already in use."));if(void 0===t)throw Error("No annotation provided for id ".concat(n));return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new eR(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEac
151h(function(e){if(k.is(e)){var n=new eF(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new eF(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(F.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new eF(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new eF(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new eR,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(t)||C.is(t)?r=t:n=t,void 0===r?i=S.create(e,n):(o=C.is(r)?r:this._changeAnnotations.manage(r),i=S.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(n)||C.is(n)?i=n:r=n,void 0===i?o=N.create(e,t,r):(s=C.is(i)?i:this._changeAnnotations.manage(i),o=N.create(e,t,r,s)),this._workspaceEdit.documentChanges.push(o),void 0!==s)return s},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(w.is(t)||C.is(t)?r=t:n=t,void 0===r?i=A.create(e,n):(o=C.is(r)?r:this._changeAnnotations.manage(r),i=A.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){return eT.defined(e)&&eT.string(e.uri)}}(I||(I={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return eT.defined(e)&&eT.string(e.uri)&&eT.integer(e.version)}}(O||(O={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){return eT.defined(e)&&eT.string(e.uri)&&(null===e.version||eT.integer(e.version))}}(F||(F={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){return eT.defined(e)&&eT.string(e.uri)&&eT.string(e.languageId)&&eT.integer(e.version)&&eT.string(e.text)}}(R||(R={})),function(e){e.PlainText="plaintext",e.Markdown="markdown",e.is=function(t){return t===e.PlainText||t===e.Markdown}}(L||(L={})),(M||(M={})).is=function(e){return eT.objectLiteral(e)&&L.is(e.kind)&&eT.string(e.value)},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}(P||(P={})),function(e){e.PlainText=1,e.Snippet=2}(j||(j={})),(V||(V={})).Deprecated=1,function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){return e&&eT.string(e.newText)&&l.is(e.insert)&&l.is(e.replace)}}($||($={})),function(e){e.asIs=1,e.adjustIndentation=2}(B||(B={})),(U||(U={})).is=function(e){return e&&(eT.string(e.detail)||void 0===e.detail)&&(eT.string(e.description)||void 0===e.description)},(q||(q={})).create=function(e){return{label:e}},(z||(z={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}
151,e.is=function(e){return eT.string(e)||eT.objectLiteral(e)&&eT.string(e.language)&&eT.string(e.value)}}(H||(H={})),(W||(W={})).is=function(e){return!!e&&eT.objectLiteral(e)&&(M.is(e.contents)||H.is(e.contents)||eT.typedArray(e.contents,H.is))&&(void 0===e.range||l.is(e.range))},(Y||(Y={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(G||(G={})).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return eT.defined(t)&&(i.documentation=t),eT.defined(n)?i.parameters=n:i.parameters=[],i},function(e){e.Text=1,e.Read=2,e.Write=3}(K||(K={})),(Q||(Q={})).create=function(e,t){var n={range:e};return eT.number(t)&&(n.kind=t),n},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={})),(J||(J={})).Deprecated=1,(Z||(Z={})).create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(ee||(ee={})).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}}},function(e){e.create=function(e,t,n,r,i,o){var s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){return e&&eT.string(e.name)&&eT.number(e.kind)&&l.is(e.range)&&l.is(e.selectionRange)&&(void 0===e.detail||eT.string(e.detail))&&(void 0===e.deprecated||eT.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))}}(et||(et={})),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"}(en||(en={})),function(e){e.Invoked=1,e.Automatic=2}(er||(er={})),function(e){e.create=function(e,t,n){var r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},e.is=function(e){return eT.defined(e)&&eT.typedArray(e.diagnostics,E.is)&&(void 0===e.only||eT.typedArray(e.only,eT.string))&&(void 0===e.triggerKind||e.triggerKind===er.Invoked||e.triggerKind===er.Automatic)}}(ei||(ei={})),function(e){e.create=function(e,t,n){var r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):x.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){return e&&eT.string(e.title)&&(void 0===e.diagnostics||eT.typedArray(e.diagnostics,E.is))&&(void 0===e.kind||eT.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||x.is(e.command))&&(void 0===e.isPreferred||eT.boolean(e.isPreferred))&&(void 0===e.edit||D.is(e.edit))}}(eo||(eo={})),function(e){e.create=function(e,t){var n={range:e};return eT.defined(t)&&(n.data=t),n},e.is=function(e){return eT.defined(e)&&l.is(e.range)&&(eT.undefined(e.command)||x.is(e.command))}}(es||(es={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){return eT.defined(e)&&eT.uinteger(e.tabSize)&&eT.boolean(e.insertSpaces)}}(ea||(ea={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){return eT.defined(e)&&l.is(e.range)&&(eT.undefined(e.target)||eT.string(e.target))}}(el||(el={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){return eT.objectLiteral(t)&&l.is(t.range)&&(void 0===t.parent||e.is(t.parent))}}(eu||(eu={})),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"}(ec||(ec={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.
151static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(ed||(ed={})),(ep||(ep={})).is=function(e){return eT.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},function(e){e.create=function(e,t){return{range:e,text:t}},e.is=function(e){return null!=e&&l.is(e.range)&&eT.string(e.text)}}(ef||(ef={})),function(e){e.create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},e.is=function(e){return null!=e&&l.is(e.range)&&eT.boolean(e.caseSensitiveLookup)&&(eT.string(e.variableName)||void 0===e.variableName)}}(eh||(eh={})),function(e){e.create=function(e,t){return{range:e,expression:t}},e.is=function(e){return null!=e&&l.is(e.range)&&(eT.string(e.expression)||void 0===e.expression)}}(em||(em={})),function(e){e.create=function(e,t){return{frameId:e,stoppedLocation:t}},e.is=function(e){return eT.defined(e)&&l.is(e.stoppedLocation)}}(eg||(eg={})),function(e){e.Type=1,e.Parameter=2,e.is=function(e){return 1===e||2===e}}(ev||(ev={})),function(e){e.create=function(e){return{value:e}},e.is=function(e){return eT.objectLiteral(e)&&(void 0===e.tooltip||eT.string(e.tooltip)||M.is(e.tooltip))&&(void 0===e.location||u.is(e.location))&&(void 0===e.command||x.is(e.command))}}(ey||(ey={})),function(e){e.create=function(e,t,n){var r={position:e,label:t};return void 0!==n&&(r.kind=n),r},e.is=function(e){return eT.objectLiteral(e)&&a.is(e.position)&&(eT.string(e.label)||eT.typedArray(e.label,ey.is))&&(void 0===e.kind||ev.is(e.kind))&&void 0===e.textEdits||eT.typedArray(e.textEdits,T.is)&&(void 0===e.tooltip||eT.string(e.tooltip)||M.is(e.tooltip))&&(void 0===e.paddingLeft||eT.boolean(e.paddingLeft))&&(void 0===e.paddingRight||eT.boolean(e.paddingRight))}}(eb||(eb={})),(eE||(eE={})).is=function(e){return eT.objectLiteral(e)&&i.is(e.uri)&&eT.string(e.name)},function(e){e.create=function(e,t,n,r){return new eL(e,t,n,r)},e.is=function(e){return!!(eT.defined(e)&&eT.string(e.uri)&&(eT.undefined(e.languageId)||eT.string(e.languageId))&&eT.uinteger(e.lineCount)&&eT.func(e.getText)&&eT.func(e.positionAt)&&eT.func(e.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var s=0,a=0,l=0;s<i.length&&a<o.length;)0>=n(i[s],o[a])?t[l++]=i[s++]:t[l++]=o[a++];for(;s<i.length;)t[l++]=i[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=n.length,o=r.length-1;o>=0;o--){var s=r[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(l<=i)n=n.substring(0,a)+s.newText+n.substring(l,n.length);else throw Error("Overlapping edit");i=a}return n}}(ex||(ex={}));var eL=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return a.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return a.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}
151,Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-0x80000000<=e&&e<=0x7fffffff},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=0x7fffffff},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)}}(eT||(eT={}));class eM{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=()=>{let 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&&(r=null==(i=this._sourceText.slice(this._pos).match(e))?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=()=>{let e=this._sourceText.match(/\s*/),t=0;if(e&&0!==e.length){let n=e[0],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){let t=this._sourceText.charAt(this._pos);return"string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t)}}function eP(e){return{ofRule:e}}function ej(e,t){return{ofRule:e,isList:!0,separator:t}}function eV(e,t){return{style:t,match:t=>t.kind===e}}function e$(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}let eB=e=>" "===e||"	"===e||","===e||"\n"===e||"\r"===e||"\uFEFF"===e||"\xa0"===e,eU={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:/^#.*/},eq={Document:[ej("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return eS.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:[ez("query"),eP(eH("def")),eP("VariableDefinitions"),ej("Directive"),"SelectionSet"],Mutation:[ez("mutation"),eP(eH("def")),eP("VariableDefinitions"),ej("Directive"),"SelectionSet"],Subscription:[ez("subscription"),eP(eH("def")),eP("VariableDefinitions"),ej("Directive"),"SelectionSet"],VariableDefinitions:[e$("("),ej("VariableDefinition"),e$(")")],VariableDefinition:["Variable",e$(":"),"Type",eP("DefaultValue")],Variable:[e$("$","variable"),eH("variable")],DefaultValue:[e$("="),"Value"],SelectionSet:[e$("{"),ej("Selection"),e$("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[eH("property"),e$(":"),eH("qualifier"),eP("Arguments"),ej("Directive"),eP("SelectionSet")],Field:[eH("property"),eP("Arguments"),ej("Directive"),eP("SelectionSet")],Arguments:[e$("("),ej("Argument"),e$(")")],Argument:[eH("attribute"),e$(":"),"Value"],FragmentSpread:[e$("..."),eH("def"),ej("Directive")],InlineFragment:[e$("..."),eP("TypeCondition"),ej("Directive"),"SelectionSet"],FragmentDefinition:[ez("fragment"),eP(function(e,t){let 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}(eH("def"),[ez("on")])),"TypeCondition",ej("Directive"),"SelectionSet"],TypeCondition:[ez("on"),"
151NamedType"],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"}if("null"===e.value)return"NullValue";return"EnumValue"}},NumberValue:[eV("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[eV("Name","builtin")],NullValue:[eV("Name","keyword")],EnumValue:[eH("string-2")],ListValue:[e$("["),ej("Value"),e$("]")],ObjectValue:[e$("{"),ej("ObjectField"),e$("}")],ObjectField:[eH("attribute"),e$(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[e$("["),"Type",e$("]"),eP(e$("!"))],NonNullType:["NamedType",eP(e$("!"))],NamedType:[{style:"atom",match:e=>"Name"===e.kind,update(e,t){var n;(null==(n=e.prevState)?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}}],Directive:[e$("@","meta"),eH("meta"),eP("Arguments")],DirectiveDef:[ez("directive"),e$("@","meta"),eH("meta"),eP("ArgumentsDef"),ez("on"),ej("DirectiveLocation",e$("|"))],InterfaceDef:[ez("interface"),eH("atom"),eP("Implements"),ej("Directive"),e$("{"),ej("FieldDef"),e$("}")],Implements:[ez("implements"),ej("NamedType",e$("&"))],DirectiveLocation:[eH("string-2")],SchemaDef:[ez("schema"),ej("Directive"),e$("{"),ej("OperationTypeDef"),e$("}")],OperationTypeDef:[eH("keyword"),e$(":"),eH("atom")],ScalarDef:[ez("scalar"),eH("atom"),ej("Directive")],ObjectTypeDef:[ez("type"),eH("atom"),eP("Implements"),ej("Directive"),e$("{"),ej("FieldDef"),e$("}")],FieldDef:[eH("property"),eP("ArgumentsDef"),e$(":"),"Type",ej("Directive")],ArgumentsDef:[e$("("),ej("InputValueDef"),e$(")")],InputValueDef:[eH("attribute"),e$(":"),"Type",eP("DefaultValue"),ej("Directive")],UnionDef:[ez("union"),eH("atom"),ej("Directive"),e$("="),ej("UnionMember",e$("|"))],UnionMember:["NamedType"],EnumDef:[ez("enum"),eH("atom"),ej("Directive"),e$("{"),ej("EnumValueDef"),e$("}")],EnumValueDef:[eH("string-2"),ej("Directive")],InputDef:[ez("input"),eH("atom"),ej("Directive"),e$("{"),ej("InputValueDef"),e$("}")],ExtendDef:[ez("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return eS.b.SCHEMA_EXTENSION;case"scalar":return eS.b.SCALAR_TYPE_EXTENSION;case"type":return eS.b.OBJECT_TYPE_EXTENSION;case"interface":return eS.b.INTERFACE_TYPE_EXTENSION;case"union":return eS.b.UNION_TYPE_EXTENSION;case"enum":return eS.b.ENUM_TYPE_EXTENSION;case"input":return eS.b.INPUT_OBJECT_TYPE_EXTENSION}},[eS.b.SCHEMA_EXTENSION]:["SchemaDef"],[eS.b.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[eS.b.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[eS.b.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[eS.b.UNION_TYPE_EXTENSION]:["UnionDef"],[eS.b.ENUM_TYPE_EXTENSION]:["EnumDef"],[eS.b.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function ez(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function eH(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function eW(e={eatWhitespace:e=>e.eatWhile(eB),lexRules:eU,parseRules:eq,editorConfig:{}}){return{startState(){let t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return eK(e.parseRules,t,eS.b.DOCUMENT),t},token:(t,n)=>(function(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?t.inBlockstring=!1:e.skipToEnd(),"string";let{lexRules:i,parseRules:o,eatWhitespace:s,editorConfig:a}=n;if(t.rule&&0===t.rule.length?eQ(t):t.needsAdvance&&(t.needsAdvance=!1,eX(t,!0)),e.sol()){let n=(null==a?void 0:a.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(s(e))return"ws";let l=function(e,t){let n=Object.keys(e);for(let r=0;r<n.length;r++){let i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(i,e);if(!l)return e.match(/\S+/)||e.match(/\s/),eK(eG,t,"Invalid"),"invalidchar";if("Comment"===l.kind)return eK(eG,t,"Comment"),"comment";let u=eY({},t);if("Punctuation"===l.kind){if(/^[{([]/.test(l.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){let 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(l,e):null:t.rule[t.step];
151if(t.needsSeparator&&(n=null==n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"==typeof n){eK(o,t,n);continue}if(null==(r=n.match)?void 0:r.call(n,l))return n.update&&n.update(t,l),"Punctuation"===l.kind?eX(t,!0):t.needsAdvance=!0,n.style}for(var c=t;c.rule&&!(Array.isArray(c.rule)&&c.rule[c.step].ofRule);)eQ(c);c.rule&&eX(c,!1)}return eY(t,u),eK(eG,t,"Invalid"),"invalidchar"})(t,n,e)}}function eY(e,t){let n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}let eG={Invalid:[],Comment:[]};function eK(e,t,n){if(!e[n])throw 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 eQ(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 eX(e,t){var n;if(eJ(e)&&e.rule){let n=e.rule[e.step];if(n.separator){let{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);)eQ(e),e.rule&&(eJ(e)?(null==(n=e.rule)?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function eJ(e){let t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function eZ(e,t){let n=e.split("\n"),r=eW(),i=r.startState(),o="",s=new eM("");for(let e=0;e<n.length;e++){for(s=new eM(n[e]);!s.eol()&&(o=r.token(s,i),"BREAK"!==t(s,i,o,e)););t(s,i,o,e),i.kind||(i=r.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:i,style:o}}!function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"}(ew||(ew={}));let e0=[eS.b.SCHEMA_DEFINITION,eS.b.OPERATION_TYPE_DEFINITION,eS.b.SCALAR_TYPE_DEFINITION,eS.b.OBJECT_TYPE_DEFINITION,eS.b.INTERFACE_TYPE_DEFINITION,eS.b.UNION_TYPE_DEFINITION,eS.b.ENUM_TYPE_DEFINITION,eS.b.INPUT_OBJECT_TYPE_DEFINITION,eS.b.DIRECTIVE_DEFINITION,eS.b.SCHEMA_EXTENSION,eS.b.SCALAR_TYPE_EXTENSION,eS.b.OBJECT_TYPE_EXTENSION,eS.b.INTERFACE_TYPE_EXTENSION,eS.b.UNION_TYPE_EXTENSION,eS.b.ENUM_TYPE_EXTENSION,eS.b.INPUT_OBJECT_TYPE_EXTENSION];function e1(e,t,n){return n===eA.S0.name&&e.getQueryType()===t?eA.S0:n===eA.Xe.name&&e.getQueryType()===t?eA.Xe:n===eA.of.name&&(0,eN.ML)(t)?eA.of:"getFields"in t?t.getFields()[n]:null}function e2(e,t){let n=[],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])}let e3=Object.assign(Object.assign({},eS.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"});function e5(e){let t=Object.keys(e),n=t.length,r=Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r}function e4(e,t){var n,r;return n=t,(r=e9(e.string))&&""!==r.trim()&&":"!==r.trim()&&"{"!==r.trim()?e6(e6(n.map(e=>{var t,n;let i;return{proximity:(t=e9(e.label),i=function(e,t){let n,r,i=[],o=e.length,s=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=s;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=s;r++){let o=+(e[n-1]!==t[r-1]);i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+o),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+o))}return i[o][s]}(n=r,t),t.length>n.length&&(i-=t.length-n.length-1,i+=.5*(0!==t.indexOf(n))),i),entry:e}}),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>
151!!e.entry.isDeprecated-!!t.entry.isDeprecated||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):e6(n,e=>!e.isDeprecated)}function e6(e,t){let n=e.filter(t);return 0===n.length?e:n}function e9(e){return e.toLowerCase().replaceAll(/\W/g,"")}!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}(eC||(eC={}));let e8=(e,t,n)=>{if(!t)return null!=n?n:e;let r=(0,eN.MR)(t);return(0,eN.YQ)(r)||(0,eN.qK)(r)||(0,eN.Fs)(r)||(0,eN.Lc)(r)?e+(e=>` {
152   $${null!=e?e:1}
153}`)():null!=n?n:e},e7=(e,t,n)=>{if((0,eN.Fs)(t)){let n=(0,eN.MR)(t.ofType);return e+`[${e8("",n,"$1")}]`}return e8(e,t,n)},te={command:"editor.action.triggerSuggest",title:"Suggestions"};function tt(e,t,n,r,i,o){let s=Object.assign(Object.assign({},o),{schema:e}),a=function(e,t,n,r,i){var o;let s,a,l,u,c,d,p,f,h,m,g,v=r||function(e,t,n=0){let r=null,i=null,o=null,s=eZ(e,(e,s,a,l)=>{if(!(l!==t.line||e.getCurrentPosition()+n<t.character+1))return r=a,i=Object.assign({},s),o=e.current(),"BREAK"});return{start:s.start,end:s.end,string:o||s.string,state:i||s.state,style:r||s.style}}(e,t,1);if(!v)return null;let y="Invalid"===v.state.kind?v.state.prevState:v.state;if(!y)return null;let b=(o=n,e2(v.state,e=>{var t;switch(e.kind){case e3.QUERY:case"ShortQuery":m=o.getQueryType();break;case e3.MUTATION:m=o.getMutationType();break;case e3.SUBSCRIPTION:m=o.getSubscriptionType();break;case e3.INLINE_FRAGMENT:case e3.FRAGMENT_DEFINITION:e.type&&(m=o.getType(e.type));break;case e3.FIELD:case e3.ALIASED_FIELD:m&&e.name?m=(c=h?e1(o,h,e.name):null)?c.type:null:c=null;break;case e3.SELECTION_SET:h=(0,eN.MR)(m);break;case e3.DIRECTIVE:l=e.name?o.getDirective(e.name):null;break;case e3.INTERFACE_DEF:e.name&&(p=null,g=new eN.VA({name:e.name,interfaces:[],fields:{}}));break;case e3.OBJECT_TYPE_DEF:e.name&&(g=null,p=new eN.bh({name:e.name,interfaces:[],fields:{}}));break;case e3.ARGUMENTS:if(e.prevState)switch(e.prevState.kind){case e3.FIELD:a=c&&c.args;break;case e3.DIRECTIVE:a=l&&l.args;break;case e3.ALIASED_FIELD:{let n=null==(t=e.prevState)?void 0:t.name;if(!n){a=null;break}let r=h?e1(o,h,n):null;if(!r){a=null;break}a=r.args;break}default:a=null}else a=null;break;case e3.ARGUMENT:if(a){for(let t=0;t<a.length;t++)if(a[t].name===e.name){s=a[t];break}}d=null==s?void 0:s.type;break;case e3.VARIABLE_DEFINITION:case e3.VARIABLE:m=d;break;case e3.ENUM_VALUE:let n=(0,eN.MR)(d);u=n instanceof eN.Zb?n.getValues().find(t=>t.value===e.name):null;break;case e3.LIST_VALUE:let r=(0,eN.yl)(d);d=r instanceof eN.KT?r.ofType:null;break;case e3.OBJECT_VALUE:let i=(0,eN.MR)(d);f=i instanceof eN.zP?i.getFields():null;break;case e3.OBJECT_FIELD:let v=e.name&&f?f[e.name]:null;d=null==v?void 0:v.type,m=(c=v)?c.type:null;break;case e3.NAMED_TYPE:e.name&&(m=o.getType(e.name))}}),{argDef:s,argDefs:a,directiveDef:l,enumValue:u,fieldDef:c,inputType:d,objectFieldDefs:f,parentType:h,type:m,interfaceDef:g,objectTypeDef:p});return{token:v,state:y,typeInfo:b,mode:(null==i?void 0:i.mode)||function(e,t){if(null==t?void 0:t.endsWith(".graphqls"))return ew.TYPE_SYSTEM;let n=ew.UNKNOWN;if(e)try{(0,e_.YR)((0,ek.qg)(e),{enter(e){if("Document"===e.kind){n=ew.EXECUTABLE;return}return!!e0.includes(e.kind)&&(n=ew.TYPE_SYSTEM,e_.sP)}})}catch(e){}return n}(e,null==i?void 0:i.uri)}}(t,n,e,r,o);if(!a)return[];let{state:l,typeInfo:u,mode:c,token:d}=a,{kind:p,step:f,prevState:h}=l;if(p===e3.DOCUMENT)return c===ew.TYPE_SYSTEM?e4(d,[{label:"extend",kind:eC.Function},...tn]):c===ew.EXECUTABLE?e4(d,tr):e4(d,[{label:"extend",kind:eC.Function},...tr,...tn]);if(p===e3.EXTEND_DEF)return e4(d,tn);if((null==(b=null==h?void 0:h.prevState)?void 0:b.kind)===e3.EXTENSION_DEFINITION&&l.name)return e4(d,[]);if((null==h?void 0:h.kind)===eS.b.SCALAR_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(eN.lg).map(e=>({label:e.name,kind:eC.Function})));if((null==h?void 0:h.kind)===eS.b.OBJECT_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(e=>(0,eN.YQ)(e)&&!e.name.startsWith("__")).map(e=>({label:e.name,kind:eC.Function})));if((null==h?void 0:h.kind)===eS.b.INTERFACE_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(eN.kD).map(e=>({label:e.name,kind:eC.Function})));if((null==h?void 0:h.kind)===eS.b.UNION_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(eN.CK).map(e=>({label:e.name,kind:eC.Function})));if((null==h?void 0:h.kind)===eS.b.ENUM_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(e=>(0,eN.oF)(e)&&!e.name.startsWith("__")).map(e=>({label:e.name,kind:eC.Function})));if((null==h?void 0:h.kind)===eS.b.INPUT_OBJECT_TYPE_EXTENSION)return e4(d,Object.values(e.getTypeMap()).filter(eN.qK).map(e=>({label:e.name,kind:eC.Function})));if(p===e3.IMPLEMENTS||p===e3.NAMED_TYPE&&(null==h?void 0:h.kind)===e3.IMPLEMENTS)return function(e,t,n,r,i){if(t.needsSeparator)return[];let o=e5(n.getTypeMap()).filter(eN.kD),s=o.map(({name:e})=>e),a=new Set;eZ(r,(e,t)=>{var r,o,l,u,c;if(t.name&&(t.kind!==e3.INTERFACE_DEF||s.includes(t.name)||a.add(t.name),t.kind===e3.NAMED_TYPE&&(null==(r=t.prevState)?void 0:r.kind)===e3.IMPLEMENTS)){if(i.interfaceDef){if(null==(o=i.interfaceDef)?void 0:o.getInterfaces().find(({name:e})=>e===t.name))return;let e=n.getType(t.name),r=null==(l=i.interfaceDef)?void 0:l.toConfig();i.interfaceDef=new eN.VA(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new eN.VA({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null==(u=i.objectTypeDef)?void 0:u.getInterfaces().find(({name:e})=>e===t.name))return;let e=n.getType(t.name),r=null==(c=i.objectTypeDef)?void 0:c.toConfig();i.objectTypeDef=new eN.bh(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new eN.VA({name:t.name,fields:{}})]}))}}});let l=i.interfaceDef||i.objectTypeDef,u=((null==l?void 0:l.getInterfaces())||[]).map(({name:e})=>e);return e4(e,o.concat([...a].map(e=>({name:e}))).filter(({name:e})=>e!==(null==l?void 0:l.name)&&!u.includes(e)).map(e=>{let t={label:e.name,kind:eC.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t}))}(d,l,e,t,u);if(p===e3.SELECTION_SET||p===e3.FIELD||p===e3.ALIASED_FIELD){var m,g,v,y,b,E,x=d,T=u,w=s;if(T.parentType){let{parentType:e}=T,t=[];return"getFields"in e&&(t=e5(e.getFields())),(0,eN.ML)(e)&&t.push(eA.of),e===(null==(E=null==w?void 0:w.schema)?void 0:E.getQueryType())&&t.pu
153sh(eA.S0,eA.Xe),e4(x,t.map((e,t)=>{var n;let r={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!=(n=e.description)?n:void 0,deprecated:!!e.deprecationReason,isDeprecated:!!e.deprecationReason,deprecationReason:e.deprecationReason,kind:eC.Field,labelDetails:{detail:" "+e.type.toString()},type:e.type};return(null==w?void 0:w.fillLeafsOnComplete)&&(r.insertText=(e=>{let t=e.args.filter(e=>e.type.toString().endsWith("!"));if(t.length)return e.name+`(${t.map((e,t)=>`${e.name}: $${t+1}`)}) ${e8("",e.type,"\n")}`})(e),r.insertText||(r.insertText=e8(e.name,e.type,e.name+(x.state.needsAdvance?"":"\n"))),r.insertText&&(r.insertTextFormat=j.Snippet,r.insertTextMode=B.adjustIndentation,r.command=te)),r}))}return[]}if(p===e3.ARGUMENTS||p===e3.ARGUMENT&&0===f){let{argDefs:e}=u;if(e)return e4(d,e.map(e=>{var t;return{label:e.name,insertText:e7(e.name+": ",e.type),insertTextMode:B.adjustIndentation,insertTextFormat:j.Snippet,command:te,labelDetails:{detail:" "+String(e.type)},documentation:null!=(t=e.description)?t:void 0,kind:eC.Variable,type:e.type}}))}if((p===e3.OBJECT_VALUE||p===e3.OBJECT_FIELD&&0===f)&&u.objectFieldDefs){let e=e5(u.objectFieldDefs),t=p===e3.OBJECT_VALUE?eC.Value:eC.Field;return e4(d,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!=(n=null==e?void 0:e.description)?n:void 0,kind:t,type:e.type,insertText:e7(e.name+": ",e.type),insertTextMode:B.adjustIndentation,insertTextFormat:j.Snippet,command:te}}))}if(p===e3.ENUM_VALUE||p===e3.LIST_VALUE&&1===f||p===e3.OBJECT_FIELD&&2===f||p===e3.ARGUMENT&&2===f){var C=d,_=u,k=t,S=e;let n=(0,eN.MR)(_.inputType),r=ti(k,S,C).filter(e=>e.detail===(null==n?void 0:n.name));return n instanceof eN.Zb?e4(C,n.getValues().map(e=>{var t;return{label:e.name,detail:String(n),documentation:null!=(t=e.description)?t:void 0,deprecated:!!e.deprecationReason,isDeprecated:!!e.deprecationReason,deprecationReason:e.deprecationReason,kind:eC.EnumMember,type:n}}).concat(r)):n===eD.kk?e4(C,r.concat([{label:"true",detail:String(eD.kk),documentation:"Not false.",kind:eC.Variable,type:eD.kk},{label:"false",detail:String(eD.kk),documentation:"Not true.",kind:eC.Variable,type:eD.kk}])):r}if(p===e3.VARIABLE&&1===f){let n=(0,eN.MR)(u.inputType),r=ti(t,e,d);return e4(d,r.filter(e=>e.detail===(null==n?void 0:n.name)))}if(p===e3.TYPE_CONDITION&&1===f||p===e3.NAMED_TYPE&&null!=h&&h.kind===e3.TYPE_CONDITION){let t;var N=d,A=u,D=e;if(A.parentType)if((0,eN.Lc)(A.parentType)){let e=(0,eN.N_)(A.parentType),n=D.getPossibleTypes(e),r=Object.create(null);for(let e of n)for(let t of e.getInterfaces())r[t.name]=t;t=n.concat(e5(r))}else t=[A.parentType];else t=e5(D.getTypeMap()).filter(e=>(0,eN.ML)(e)&&!e.name.startsWith("__"));return e4(N,t.map(e=>{let t=(0,eN.MR)(e);return{label:String(e),documentation:(null==t?void 0:t.description)||"",kind:eC.Field}}))}if(p===e3.FRAGMENT_SPREAD&&1===f)return function(e,t,n,r,i){let o;if(!r)return[];let s=n.getTypeMap(),a=(e2(e.state,e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":o=e}}),o),l=function(e){let t=[];return eZ(e,(e,n)=>{n.kind===e3.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:e3.FRAGMENT_DEFINITION,name:{kind:eS.b.NAME,value:n.name},selectionSet:{kind:e3.SELECTION_SET,selections:[]},typeCondition:{kind:e3.NAMED_TYPE,name:{kind:eS.b.NAME,value:n.type}}})}),t}(r);return i&&i.length>0&&l.push(...i),e4(e,l.filter(e=>s[e.typeCondition.name.value]&&!(a&&a.kind===e3.FRAGMENT_DEFINITION&&a.name===e.name.value)&&(0,eN.ML)(t.parentType)&&(0,eN.ML)(s[e.typeCondition.name.value])&&(0,eI.uI)(n,t.parentType,s[e.typeCondition.name.value])).map(e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,labelDetails:{detail:`fragment ${e.name.value} on ${e.typeCondition.name.value}`},kind:eC.Field,type:s[e.typeCondition.name.value]})))}(d,u,e,t,Array.isArray(i)?i:(e=>{let t=[];if(e)try{(0,e_.YR)((0,ek.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(e){return[]}return t})(i));let I=function e(t){return t.prevState&&t.kind&&[e3.NAMED_TYPE,e3.LIST_TYPE,e3.TYPE,e3.NON_NULL_TYPE].includes(t.kind)?e(t.prevState):t}(l);return I.kind===e3.FIELD_DEF?e4(d,Object.values(e.getTypeMap()).filter(e=>(0,eN.oH)(e)&&!e.name.startsWith("__")).map(e=>({label:e.name,kind:eC.Function,insertText:(null==o?void 0:o.fillLeafsOnComplete)?e.name+"\n":e.name,insertTextMode:B.adjustIndentation}))):I.kind===e3.INPUT_VALUE_DEF&&2===f?e4(d,Object.values(e.getTypeMap()).filter(e=>(0,eN.dX)(e)&&!e.name.startsWith("__")).map(e=>({label:e.name,kind:eC.Function,insertText:(null==o?void 0:o.fillLeafsOnComplete)?e.name+"\n$1":e.name,insertTextMode:B.adjustIndentation,insertTextFormat:j.Snippet}))):p===e3.VARIABLE_DEFINITION&&2===f||p===e3.LIST_TYPE&&1===f||p===e3.NAMED_TYPE&&h&&(h.kind===e3.VARIABLE_DEFINITION||h.kind===e3.LIST_TYPE||h.kind===e3.NON_NULL_TYPE)?e4(d,e5(e.getTypeMap()).filter(eN.dX).map(e=>({label:e.name,documentation:(null==e?void 0:e.description)||"",kind:eC.Variable}
153))):p===e3.DIRECTIVE?(m=d,g=l,v=e,(null==(y=g.prevState)?void 0:y.kind)?e4(m,v.getDirectives().filter(e=>(function(e,t){if(!(null==e?void 0:e.kind))return!1;let{kind:n,prevState:r}=e,{locations:i}=t;switch(n){case e3.QUERY:return i.includes(eO.H.QUERY);case e3.MUTATION:return i.includes(eO.H.MUTATION);case e3.SUBSCRIPTION:return i.includes(eO.H.SUBSCRIPTION);case e3.FIELD:case e3.ALIASED_FIELD:return i.includes(eO.H.FIELD);case e3.FRAGMENT_DEFINITION:return i.includes(eO.H.FRAGMENT_DEFINITION);case e3.FRAGMENT_SPREAD:return i.includes(eO.H.FRAGMENT_SPREAD);case e3.INLINE_FRAGMENT:return i.includes(eO.H.INLINE_FRAGMENT);case e3.SCHEMA_DEF:return i.includes(eO.H.SCHEMA);case e3.SCALAR_DEF:return i.includes(eO.H.SCALAR);case e3.OBJECT_TYPE_DEF:return i.includes(eO.H.OBJECT);case e3.FIELD_DEF:return i.includes(eO.H.FIELD_DEFINITION);case e3.INTERFACE_DEF:return i.includes(eO.H.INTERFACE);case e3.UNION_DEF:return i.includes(eO.H.UNION);case e3.ENUM_DEF:return i.includes(eO.H.ENUM);case e3.ENUM_VALUE:return i.includes(eO.H.ENUM_VALUE);case e3.INPUT_DEF:return i.includes(eO.H.INPUT_OBJECT);case e3.INPUT_VALUE_DEF:switch(null==r?void 0:r.kind){case e3.ARGUMENTS_DEF:return i.includes(eO.H.ARGUMENT_DEFINITION);case e3.INPUT_DEF:return i.includes(eO.H.INPUT_FIELD_DEFINITION)}}return!1})(g.prevState,e)).map(e=>({label:e.name,documentation:(null==e?void 0:e.description)||"",kind:eC.Function}))):[]):p===e3.DIRECTIVE_DEF?function(e,t,n,r){let i=n.getDirectives().find(e=>e.name===t.name);return e4(e,(null==i?void 0:i.args.map(e=>({label:e.name,documentation:e.description||"",kind:eC.Field})))||[])}(d,l,e,0):[]}let tn=[{label:"type",kind:eC.Function},{label:"interface",kind:eC.Function},{label:"union",kind:eC.Function},{label:"input",kind:eC.Function},{label:"scalar",kind:eC.Function},{label:"schema",kind:eC.Function}],tr=[{label:"query",kind:eC.Function},{label:"mutation",kind:eC.Function},{label:"subscription",kind:eC.Function},{label:"fragment",kind:eC.Function},{label:"{",kind:eC.Constructor}];function ti(e,t,n){let r,i=null,o=Object.create({});return eZ(e,(e,s)=>{var a,l,u,c,d,p,f,h,m,g,v,y;if((null==s?void 0:s.kind)===e3.VARIABLE&&s.name&&(i=s.name),(null==s?void 0:s.kind)===e3.NAMED_TYPE&&i){let e=(l=e3.TYPE,(null==(u=s.prevState)?void 0:u.kind)===l?s.prevState:(null==(d=null==(c=s.prevState)?void 0:c.prevState)?void 0:d.kind)===l?s.prevState.prevState:(null==(h=null==(f=null==(p=s.prevState)?void 0:p.prevState)?void 0:f.prevState)?void 0:h.kind)===l?s.prevState.prevState.prevState:(null==(y=null==(v=null==(g=null==(m=s.prevState)?void 0:m.prevState)?void 0:g.prevState)?void 0:v.prevState)?void 0:y.kind)===l?s.prevState.prevState.prevState.prevState:void 0);(null==e?void 0:e.type)&&(r=t.getType(null==e?void 0:e.type))}if(i&&r&&!o[i]){let e="$"===n.string||(null==(a=null==n?void 0:n.state)?void 0:a.kind)==="Variable"?i:"$"+i;o[i]={detail:r.toString(),insertText:e,label:"$"+i,rawInsert:e,type:r,kind:eC.Variable},i=null,r=null}}),e5(o)}var to=n(3545),ts=n.n(to);let ta=(e,t)=>{if(!t)return[];let n=new Map,r=new Set;(0,e_.YR)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});let i=new Set;for(let e of r)!n.has(e)&&t.has(e)&&i.add(ts()(t.get(e)));let o=[];for(let e of i)(0,e_.YR)(e,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(i.add(ts()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(e.name.value)||o.push(e);return o};class tl{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new tu(e,t)}setEnd(e,t){this.end=new tu(e,t)}}class tu{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}}var tc=n(32506);function td(e){var t,n,r;let i=e.getSchema(),o=null!=(t=null!=(n=null!=(r=null==i?void 0:i.astNode)?r:null==i?void 0:i.getQueryType())?n:null==i?void 0:i.getMutationType())?t:null==i?void 0:i.getSubscriptionType(),s=0;return{SchemaDefinition(t){if(o)return void e.reportError(new tc.eO("Cannot define a new schema within a schema extension.",{nodes:t}));s>0&&e.reportError(new tc.eO("Must provide only one schema definition.",{nodes:t})),++s}}}function tp(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;
153for(let o of null!=(i=t.operationTypes)?i:[]){let t=o.operation,i=n[t];r[t]?e.reportError(new tc.eO(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:o})):i?e.reportError(new tc.eO(`There can be only one ${t} type in schema.`,{nodes:[i,o]})):n[t]=o}return!1}}function tf(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;return null!=n&&n.getType(i)?void e.reportError(new tc.eO(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name})):(t[i]?e.reportError(new tc.eO(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}function th(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;let o=t.name.value;r[o]||(r[o]=Object.create(null));let s=null!=(i=t.values)?i:[],a=r[o];for(let t of s){let r=t.name.value,i=n[o];(0,eN.oF)(i)&&i.getValue(r)?e.reportError(new tc.eO(`Enum value "${o}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):a[r]?e.reportError(new tc.eO(`Enum value "${o}.${r}" can only be defined once.`,{nodes:[a[r],t.name]})):a[r]=t.name}return!1}}function tm(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o,s;let a=t.name.value;r[a]||(r[a]=Object.create(null));let l=null!=(i=t.fields)?i:[],u=r[a];for(let t of l){let r=t.name.value;(o=n[a],s=r,((0,eN.YQ)(o)||(0,eN.kD)(o)||(0,eN.qK)(o))&&null!=o.getFields()[s])?e.reportError(new tc.eO(`Field "${a}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):u[r]?e.reportError(new tc.eO(`Field "${a}.${r}" can only be defined once.`,{nodes:[u[r],t.name]})):u[r]=t.name}return!1}}function tg(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;return null!=n&&n.getDirective(i)?void e.reportError(new tc.eO(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name})):(t[i]?e.reportError(new tc.eO(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}}var tv=n(169),ty=n(16618);function tb(e){return e.kind===eS.b.SCALAR_TYPE_DEFINITION||e.kind===eS.b.OBJECT_TYPE_DEFINITION||e.kind===eS.b.INTERFACE_TYPE_DEFINITION||e.kind===eS.b.UNION_TYPE_DEFINITION||e.kind===eS.b.ENUM_TYPE_DEFINITION||e.kind===eS.b.INPUT_OBJECT_TYPE_DEFINITION}function tE(e){return e.kind===eS.b.SCALAR_TYPE_EXTENSION||e.kind===eS.b.OBJECT_TYPE_EXTENSION||e.kind===eS.b.INTERFACE_TYPE_EXTENSION||e.kind===eS.b.UNION_TYPE_EXTENSION||e.kind===eS.b.ENUM_TYPE_EXTENSION||e.kind===eS.b.INPUT_OBJECT_TYPE_EXTENSION}function tx(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)tb(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,o,s,a,l){let u=t.name.value;if(!n[u]&&!r[u]){var c;let n=null!=(c=l[2])?c:s,r=null!=n&&function(e){var t;return"kind"in e&&(e.kind===eS.b.SCHEMA_DEFINITION||tb(e)||e.kind===eS.b.DIRECTIVE_DEFINITION||(t=e).kind===eS.b.SCHEMA_EXTENSION||tE(t))}(n);if(r&&tT.includes(u))return;let o=(0,ty.x)(u,r?tT.concat(i):i);e.reportError(new tc.eO(`Unknown type "${u}".`+(0,tv.a)(o),{nodes:t}))}}}}let tT=[...eD.YC,...eA.V4].map(e=>e.name);var tw=n(77016),tC=n(29695),t_=n(86158),tk=n(58780);function tS(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tk.rc)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===eS.b.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,r,i,o,s){let a=n.name.value,l=t[a];if(!l)return void e.reportError(new tc.eO(`Unknown directive "@${a}".`,{nodes:n}));let u=function(e){let t=e[e.length-1];
153switch("kind"in t||(0,tC.V)(!1),t.kind){case eS.b.OPERATION_DEFINITION:var n=t.operation;switch(n){case t_.cE.QUERY:return eO.H.QUERY;case t_.cE.MUTATION:return eO.H.MUTATION;case t_.cE.SUBSCRIPTION:return eO.H.SUBSCRIPTION}return;case eS.b.FIELD:return eO.H.FIELD;case eS.b.FRAGMENT_SPREAD:return eO.H.FRAGMENT_SPREAD;case eS.b.INLINE_FRAGMENT:return eO.H.INLINE_FRAGMENT;case eS.b.FRAGMENT_DEFINITION:return eO.H.FRAGMENT_DEFINITION;case eS.b.VARIABLE_DEFINITION:return eO.H.VARIABLE_DEFINITION;case eS.b.SCHEMA_DEFINITION:case eS.b.SCHEMA_EXTENSION:return eO.H.SCHEMA;case eS.b.SCALAR_TYPE_DEFINITION:case eS.b.SCALAR_TYPE_EXTENSION:return eO.H.SCALAR;case eS.b.OBJECT_TYPE_DEFINITION:case eS.b.OBJECT_TYPE_EXTENSION:return eO.H.OBJECT;case eS.b.FIELD_DEFINITION:return eO.H.FIELD_DEFINITION;case eS.b.INTERFACE_TYPE_DEFINITION:case eS.b.INTERFACE_TYPE_EXTENSION:return eO.H.INTERFACE;case eS.b.UNION_TYPE_DEFINITION:case eS.b.UNION_TYPE_EXTENSION:return eO.H.UNION;case eS.b.ENUM_TYPE_DEFINITION:case eS.b.ENUM_TYPE_EXTENSION:return eO.H.ENUM;case eS.b.ENUM_VALUE_DEFINITION:return eO.H.ENUM_VALUE;case eS.b.INPUT_OBJECT_TYPE_DEFINITION:case eS.b.INPUT_OBJECT_TYPE_EXTENSION:return eO.H.INPUT_OBJECT;case eS.b.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||(0,tC.V)(!1),t.kind===eS.b.INPUT_OBJECT_TYPE_DEFINITION?eO.H.INPUT_FIELD_DEFINITION:eO.H.ARGUMENT_DEFINITION}default:(0,tC.V)(!1,"Unexpected kind: "+(0,tw.N)(t.kind))}}(s);u&&!l.includes(u)&&e.reportError(new tc.eO(`Directive "@${a}" may not be used on ${u}.`,{nodes:n}))}}}function tN(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tk.rc)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===eS.b.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let r=Object.create(null),i=Object.create(null);return{enter(n){let o;if("directives"in n&&n.directives){if(n.kind===eS.b.SCHEMA_DEFINITION||n.kind===eS.b.SCHEMA_EXTENSION)o=r;else if(tb(n)||tE(n)){let e=n.name.value;void 0===(o=i[e])&&(i[e]=o=Object.create(null))}else o=Object.create(null);for(let r of n.directives){let n=r.name.value;t[n]&&(o[n]?e.reportError(new tc.eO(`The directive "@${n}" can only be used once at this location.`,{nodes:[o[n],r]})):o[n]=r)}}}}}function tA(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)tb(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){var i;let o,s=r.name.value,a=n[s],l=null==t?void 0:t.getType(s);if(a?o=tD[a.kind]:l&&(i=l,o=(0,eN.lg)(i)?eS.b.SCALAR_TYPE_EXTENSION:(0,eN.YQ)(i)?eS.b.OBJECT_TYPE_EXTENSION:(0,eN.kD)(i)?eS.b.INTERFACE_TYPE_EXTENSION:(0,eN.CK)(i)?eS.b.UNION_TYPE_EXTENSION:(0,eN.oF)(i)?eS.b.ENUM_TYPE_EXTENSION:(0,eN.qK)(i)?eS.b.INPUT_OBJECT_TYPE_EXTENSION:void(0,tC.V)(!1,"Unexpected type: "+(0,tw.N)(i))),o){if(o!==r.kind){let t=function(e){switch(e){case eS.b.SCALAR_TYPE_EXTENSION:return"scalar";case eS.b.OBJECT_TYPE_EXTENSION:return"object";case eS.b.INTERFACE_TYPE_EXTENSION:return"interface";case eS.b.UNION_TYPE_EXTENSION:return"union";case eS.b.ENUM_TYPE_EXTENSION:return"enum";case eS.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,tC.V)(!1,"Unexpected kind: "+(0,tw.N)(e))}}(r.kind);e.reportError(new tc.eO(`Cannot extend non-${t} type "${s}".`,{nodes:a?[a,r]:r}))}}else{let i=Object.keys({...n,...null==t?void 0:t.getTypeMap()}),o=(0,ty.x)(s,i);e.reportError(new tc.eO(`Cannot extend type "${s}" because it is not defined.`+(0,tv.a)(o),{nodes:r.name}))}}}let tD={[eS.b.SCALAR_TYPE_DEFINITION]:eS.b.SCALAR_TYPE_EXTENSION,[eS.b.OBJECT_TYPE_DEFINITION]:eS.b.OBJECT_TYPE_EXTENSION,[eS.b.INTERFACE_TYPE_DEFINITION]:eS.b.INTERFACE_TYPE_EXTENSION,[eS.b.UNION_TYPE_DEFINITION]:eS.b.UNION_TYPE_EXTENSION,[eS.b.ENUM_TYPE_DEFINITION]:eS.b.ENUM_TYPE_EXTENSION,[eS.b.INPUT_OBJECT_TYPE_DEFINITION]:eS.b.INPUT_OBJECT_TYPE_EXTENSION};function tI(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}function tO(e){return{Field:t,Directive:t};function t(t){var n;for(let[r,i]of tI(null!=(n=t.arguments)?n:[],e=>e.name.value))i.length>1&&e.reportError(new tc.eO(`There can be only one argument named "${r}".`,{nodes:i.map(e=>e.name)}
153))}}function tF(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||(0,tC.V)(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new tc.eO(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}function tR(e){return{OperationDefinition(t){var n;for(let[r,i]of tI(null!=(n=t.variableDefinitions)?n:[],e=>e.variable.name.value))i.length>1&&e.reportError(new tc.eO(`There can be only one variable named "$${r}".`,{nodes:i.map(e=>e.variable.name)}))}}}var tL=n(8056),tM=n(52924);function tP(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=(0,tM.v)(e.getSchema(),n);if(t&&!(0,eN.ML)(t)){let t=(0,tL.y)(n);e.reportError(new tc.eO(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=(0,tM.v)(e.getSchema(),t.typeCondition);if(n&&!(0,eN.ML)(n)){let n=(0,tL.y)(t.typeCondition);e.reportError(new tc.eO(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}var tj=n(25691);function tV(e){return{...t$(e),Field:{leave(t){var n;let r=e.getFieldDef();if(!r)return!1;let i=new Set(null==(n=t.arguments)?void 0:n.map(e=>e.name.value));for(let n of r.args)if(!i.has(n.name)&&(0,eN.xP)(n)){let i=(0,tw.N)(n.type);e.reportError(new tc.eO(`Field "${r.name}" argument "${n.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function t$(e){var t,n;let r=Object.create(null),i=e.getSchema();for(let e of null!=(t=null==i?void 0:i.getDirectives())?t:tk.rc)r[e.name]=(0,tj.K)(e.args.filter(eN.xP),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===eS.b.DIRECTIVE_DEFINITION){let e=null!=(n=t.arguments)?n:[];r[t.name.value]=(0,tj.K)(e.filter(tB),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=r[n];if(i){var o;let r=new Set((null!=(o=t.arguments)?o:[]).map(e=>e.name.value));for(let[o,s]of Object.entries(i))if(!r.has(o)){let r=(0,eN.Xj)(s.type)?(0,tw.N)(s.type):(0,tL.y)(s.type);e.reportError(new tc.eO(`Directive "@${n}" argument "${o}" of type "${r}" is required, but it was not provided.`,{nodes:t}))}}}}}}function tB(e){return e.type.kind===eS.b.NON_NULL_TYPE&&null==e.defaultValue}function tU(e){return{Document(t){for(let n of t.definitions)if(n.kind!==eS.b.OPERATION_DEFINITION&&n.kind!==eS.b.FRAGMENT_DEFINITION){let t=n.kind===eS.b.SCHEMA_DEFINITION||n.kind===eS.b.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new tc.eO(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}var tq=n(4262);function tz(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tk.rc)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===eS.b.DIRECTIVE_DEFINITION){var r;let e=null!=(r=n.arguments)?r:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let o=(0,ty.x)(n,i);e.reportError(new tc.eO(`Unknown argument "${n}" on directive "@${r}".`+(0,tv.a)(o),{nodes:t}))}}return!1}}}function tH(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new tc.eO(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function tW(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==r[n]&&e.reportError(new tc.eO(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}function tY(e,t,n,r,i,o,s){let a=e.getFragment(s);if(!a)return;let[l,u]=tZ(e,n,a);if(o!==l)for(let a of(tK(e,t,n,r,i,o,l),u))r.has(a,s,i)||(r.add(a,s,i),tY(e,t,n,r,i,o,a))}function tG(e,t,n,r,i,o,s){if(o===s||r.has(o,s,i))return;r.add(o,s,i);let a=e.getFragment(o),l=e.getFragment(s);if(!a||!l)return;let[u,c]=tZ(e,n,a),[d,p]=tZ(e,n,l);for(let s of(tK(e,t,n,r,i,u,d),p))tG(e,t,n,r,i,o,s);for(let o of c)tG(e,t,n,r,i,o,s)}function tK(e,t,n,r,i,o,s){for(let[a,l]of Object.entries(o)){let o=s[a];if(o)for(let s of l)for(let l of o){let o=tQ(e,n,r,i,a,s,l);o&&t.push(o)}}}function tQ(e,t,n,r,i,o,s){let[a,l,u]=o,[c,d,p]=s,f=r||a!==c&&(0,eN.YQ)(a)&&(0,eN.YQ)(c);if(!f){let e=l.name.value,t=d.name.value;if(e!==t)return[[i,`"${e}" and "${t}" are different fields`],[l],[d]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return void 0!==n&&tX(t)===tX(n)})}(l,d))return[[i,"they have differing arguments"],[l],[d]]}let h=null==u?void 0:u.type,m=null==p?void 0:p.type;if(h&&m&&function e(t,n){return(0,eN.Fs)(t)?!(0,eN.Fs)(n)||e(t.ofType,n.ofType):!!(0,eN.Fs)(n)||((0,eN.bd)(t)?!(0,eN.bd)(n)||e(t.ofType,n.ofType):!!(0,eN.bd)(n)||!!((0,eN.zf)(t)||(0,eN.zf)(n))&&t!==n)}(h,m))return[[i,`they return conflicting types "${(0,tw.N)(h)}" and "${(0,tw.N)(m)}"`],[l],[d]];let g=l.selectionSet,v=d.selectionSet;if(g&&v){var y=function(e,t,n,r,i,o,s,a){let l=[],[u,c]=tJ(e,t,i,o),[d,p]=tJ(e,t,s,a);for(let i of(tK(e,l,t,n,r,u,d),p))tY(e,l,t,n,r,u,i);for(let i of c)tY(e,l,t,n,r,d,i);for(let i of c)for(let o of p)tG(e,l,t,n,r,i,o);return l}(e,t,n,f,(0,eN.MR)(h),g,(0,eN.MR)(m),v),b=i,E=l,x=d;return y.length>0?[[b,y.map(([e])=>e)],[E,...y.map(([,e])=>e).flat()],[x,...y.map(([,,e])=>e).flat()]]:void 0}}function tX(e){return(0,tL.y)(function e(t){switch(t.kind){case eS.b.OBJECT:return{...t,fields:t.fields.map(t=>({...t,value:e(t.value)})).sort((e,t)=>
153(0,tq.p)(e.name.value,t.name.value))};case eS.b.LIST:return{...t,values:t.values.map(e)};case eS.b.INT:case eS.b.FLOAT:case eS.b.STRING:case eS.b.BOOLEAN:case eS.b.NULL:case eS.b.ENUM:case eS.b.VARIABLE:return t}}(e))}function tJ(e,t,n,r){let i=t.get(r);if(i)return i;let o=Object.create(null),s=Object.create(null);!function e(t,n,r,i,o){for(let s of r.selections)switch(s.kind){case eS.b.FIELD:{let e,t=s.name.value;((0,eN.YQ)(n)||(0,eN.kD)(n))&&(e=n.getFields()[t]);let r=s.alias?s.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,s,e]);break}case eS.b.FRAGMENT_SPREAD:o[s.name.value]=!0;break;case eS.b.INLINE_FRAGMENT:{let r=s.typeCondition,a=r?(0,tM.v)(t.getSchema(),r):n;e(t,a,s.selectionSet,i,o)}}}(e,n,r,o,s);let a=[o,Object.keys(s)];return t.set(r,a),a}function tZ(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=(0,tM.v)(e.getSchema(),n.typeCondition);return tJ(e,t,i,n.selectionSet)}class t0{constructor(){this._data=new Map}has(e,t,n){var r;let[i,o]=e<t?[e,t]:[t,e],s=null==(r=this._data.get(i))?void 0:r.get(o);return void 0!==s&&(!!n||n===s)}add(e,t,n){let[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}var t1=n(78775);function t2(e,t,n){var r;let i=null==(r=t.directives)?void 0:r.find(t=>t.name.value===e.name);if(i)return function(e,t,n){var r,i,o;let s={},a=null!=(r=t.arguments)?r:[],l=(0,tj.K)(a,e=>e.name.value);for(let r of e.args){let e=r.name,a=r.type,u=l[e];if(!u){if(void 0!==r.defaultValue)s[e]=r.defaultValue;else if((0,eN.bd)(a))throw new tc.eO(`Argument "${e}" of required type "${(0,tw.N)(a)}" was not provided.`,{nodes:t});continue}let c=u.value,d=c.kind===eS.b.NULL;if(c.kind===eS.b.VARIABLE){let t=c.name.value;if(null==n||(i=n,o=t,!Object.prototype.hasOwnProperty.call(i,o))){if(void 0!==r.defaultValue)s[e]=r.defaultValue;else if((0,eN.bd)(a))throw new tc.eO(`Argument "${e}" of required type "${(0,tw.N)(a)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:c});continue}d=null==n[t]}if(d&&(0,eN.bd)(a))throw new tc.eO(`Argument "${e}" of non-null type "${(0,tw.N)(a)}" must not be null.`,{nodes:c});let p=(0,t1.i)(c,a,n);if(void 0===p)throw new tc.eO(`Argument "${e}" has invalid value ${(0,tL.y)(c)}.`,{nodes:c});s[e]=p}return s}(e,i,n)}function t3(e,t){let n=t2(tk.MQ,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=t2(tk.HQ,t,e);return(null==r?void 0:r.if)!==!1}function t5(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=(0,tM.v)(e,r);return i===n||!!(0,eN.Lc)(i)&&e.isSubType(i,n)}function t4(e,t){let n=e.getInputType();if(!n)return;let r=(0,eN.MR)(n);if(!(0,eN.zf)(r)){let r=(0,tw.N)(n);e.reportError(new tc.eO(`Expected value of type "${r}", found ${(0,tL.y)(t)}.`,{nodes:t}));return}try{let i=r.parseLiteral(t,void 0);if(void 0===i){let r=(0,tw.N)(n);e.reportError(new tc.eO(`Expected value of type "${r}", found ${(0,tL.y)(t)}.`,{nodes:t}))}}catch(i){let r=(0,tw.N)(n);i instanceof tc.eO?e.reportError(i):e.reportError(new tc.eO(`Expected value of type "${r}", found ${(0,tL.y)(t)}; `+i.message,{nodes:t,originalError:i}))}}let t6=Object.freeze([tU,function(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new tc.eO(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}},function(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===eS.b.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new tc.eO("This anonymous operation must be the only defined operation.",{nodes:n}))}}},function(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,o=Object.create(null),s=e.getDocument(),a=Object.create(null);for(let e of s.definitions)e.kind===eS.b.FRAGMENT_DEFINITION&&(a[e.name.value]=e);let l=function(e,t,n,r,i){let o=new Map;return function e(t,n,r,i,o,s,a){for(let u of o.selections)switch(u.kind){case eS.b.FIELD:{var l;if(!t3(r,u))continue;let e=(l=u).alias?l.alias.value:l.name.value,t=s.get(e);void 0!==t?t.push(u):s.set(e,[u]);break}case eS.b.INLINE_FRAGMENT:if(!t3(r,u)||!t5(t,u,i))continue;e(t,n,r,i,u.selectionSet,s,a);break;case eS.b.FRAGMENT_SPREAD:{let o=u.name.value;if(a.has(o)||!t3(r,u))continue;a.add(o);let l=n[o];if(!l||!t5(t,l,i))continue;e(t,n,r,i,l.selectionSet,s,a)}}}(e,t,n,r,i,o,new Set),o}(n,a,o,r,t.selectionSet);if(l.size>1){let t=[...l.values()].slice(1).flat();e.reportError(new tc.eO(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of l.values())t[0].name.value.startsWith("__")&&e.reportError(new tc.eO(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}},tx,tP,function(e){return{VariableDefinition(t){let n=(0,tM.v)(e.getSchema(),t.type);if(void 0!==n&&!(0,eN.dX)(n)){let n=t.variable.name.value,r=(0,tL.y)(t.type);e.reportError(new tc.eO(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}},function(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if((0,eN.zf)((0,eN.MR)(n))){if(r){let i=t.name.value,o=(0,tw.N)(n);e.reportError(new tc.eO(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:r}))}}else if(!r){let r=t.name.value,i=(0,tw.N)(n);e.reportError(new tc.eO(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}},function(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),i=t.name.value,o=(0,tv.a)("to use an inline fragment on",function(e,t,n){if(!(0,eN.Lc)(t))return[];let r=new Set,i=Object.create(null);for(let s of e.getPossibleTypes(t))if(s.getFields()[n])for(let e of(r.add(s),i[s.name]=1,s.getInterfaces())){var o;e.getFields()[n]&&(r.add(e),i[e.name]=(null!=(o=i[e.name])?o:0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return 0!==r?r:(0,eN.kD)(t)&&e.isSubType(t,n)?-1:(0,eN.kD)(n)&&e.isSubType(n,t)?1:(0,tq.p)(t.name,n.name)}).map(e=>e.name)}
153(r,n,i));""===o&&(o=(0,tv.a)(function(e,t){if((0,eN.YQ)(e)||(0,eN.kD)(e)){let n=Object.keys(e.getFields());return(0,ty.x)(t,n)}return[]}(n,i))),e.reportError(new tc.eO(`Cannot query field "${i}" on type "${n.name}".`+o,{nodes:t}))}}}},function(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new tc.eO(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}},tH,tW,function(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if((0,eN.ML)(n)&&(0,eN.ML)(r)&&!(0,eI.uI)(e.getSchema(),n,r)){let i=(0,tw.N)(r),o=(0,tw.N)(n);e.reportError(new tc.eO(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=function(e,t){let n=e.getFragment(t);if(n){let t=(0,tM.v)(e.getSchema(),n.typeCondition);if((0,eN.ML)(t))return t}}(e,n),i=e.getParentType();if(r&&i&&!(0,eI.uI)(e.getSchema(),r,i)){let o=(0,tw.N)(i),s=(0,tw.N)(r);e.reportError(new tc.eO(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${s}".`,{nodes:t}))}}}},function(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:i=>((function i(o){if(t[o.name.value])return;let s=o.name.value;t[s]=!0;let a=e.getFragmentSpreads(o.selectionSet);if(0!==a.length){for(let t of(r[s]=n.length,a)){let o=t.name.value,s=r[o];if(n.push(t),void 0===s){let t=e.getFragment(o);t&&i(t)}else{let t=n.slice(s),r=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new tc.eO(`Cannot spread fragment "${o}" within itself`+(""!==r?` via ${r}.`:"."),{nodes:t}))}n.pop()}r[s]=void 0}})(i),!1)}},tR,function(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r}of e.getRecursiveVariableUsages(n)){let i=r.name.value;!0!==t[i]&&e.reportError(new tc.eO(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}},function(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))r[t.name.value]=!0;for(let i of t){let t=i.variable.name.value;!0!==r[t]&&e.reportError(new tc.eO(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}},tS,tN,function(e){return{...tz(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,o=r.args.map(e=>e.name),s=(0,ty.x)(n,o);e.reportError(new tc.eO(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+(0,tv.a)(s),{nodes:t}))}}}},tO,function(e){return{ListValue(t){let n=(0,eN.yl)(e.getParentInputType());if(!(0,eN.Fs)(n))return t4(e,t),!1},ObjectValue(t){let n=(0,eN.MR)(e.getInputType());if(!(0,eN.qK)(n))return t4(e,t),!1;let r=(0,tj.K)(t.fields,e=>e.name.value);for(let i of Object.values(n.getFields()))if(!r[i.name]&&(0,eN.YX)(i)){let r=(0,tw.N)(i.type);e.reportError(new tc.eO(`Field "${n.name}.${i.name}" of required type "${r}" was not provided.`,{nodes:t}))}},ObjectField(t){let n=(0,eN.MR)(e.getParentInputType());if(!e.getInputType()&&(0,eN.qK)(n)){let r=(0,ty.x)(t.name.value,Object.keys(n.getFields()));e.reportError(new tc.eO(`Field "${t.name.value}" is not defined by type "${n.name}".`+(0,tv.a)(r),{nodes:t}))}},NullValue(t){let n=e.getInputType();(0,eN.bd)(n)&&e.reportError(new tc.eO(`Expected value of type "${(0,tw.N)(n)}", found ${(0,tL.y)(t)}.`,{nodes:t}))},EnumValue:t=>t4(e,t),IntValue:t=>t4(e,t),FloatValue:t=>t4(e,t),StringValue:t=>t4(e,t),BooleanValue:t=>t4(e,t)}},tV,function(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r,type:i,defaultValue:o}of e.getRecursiveVariableUsages(n)){let n=r.name.value,s=t[n];if(s&&i){let t=e.getSchema(),a=(0,tM.v)(t,s.type);if(a&&!function(e,t,n,r,i){if((0,eN.bd)(r)&&!(0,eN.bd)(t)){if((null==n||n.kind===eS.b.NULL)&&void 0===i)return!1;let o=r.ofType;return(0,eI.sP)(e,t,o)}return(0,eI.sP)(e,t,r)}(t,a,s.defaultValue,i,o)){let t=(0,tw.N)(a),o=(0,tw.N)(i);e.reportError(new tc.eO(`Variable "$${n}" of type "${t}" used in position expecting type "${o}".`,{nodes:[s,r]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}},function(e){let t=new t0,n=new Map;return{SelectionSet(r){for(let[[i,o],s,a]of function(e,t,n,r,i){let o=[],[s,a]=tJ(e,t,r,i
153);if(function(e,t,n,r,i){for(let[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++){let l=tQ(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++){tY(e,o,t,n,!1,s,a[r]);for(let i=r+1;i<a.length;i++)tG(e,o,t,n,!1,a[r],a[i])}return o}(e,n,t,e.getParentType(),r)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(o);e.reportError(new tc.eO(`Fields "${i}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:s.concat(a)}))}}}},tF]);Object.freeze([td,tp,tf,th,tm,function(e){return{DirectiveDefinition(e){var t;let r=null!=(t=e.arguments)?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let o of null!=(t=e.fields)?t:[]){let e=o.name.value;n(`${i}.${e}`,null!=(r=o.arguments)?r:[])}return!1}function n(t,n){for(let[r,i]of tI(n,e=>e.name.value))i.length>1&&e.reportError(new tc.eO(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}},tg,tx,tS,tN,tA,tz,tO,tF,t$]);var t9=n(58287),t8=n(30448),t7=n(81522);class ne{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===eS.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let r=[e];for(;n=r.pop();)for(let e of n.selections)e.kind===eS.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&r.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}Symbol.toStringTag;class nt extends ne{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new t7.D(this._schema);(0,e_.YR)(e,(0,t7.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){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function nn(e,t,n=t6,r,i=new t7.D(e)){var o;let s=null!=(o=null==r?void 0:r.maxErrors)?o:100;t||(0,t9.U)(!1,"Must provide document."),(0,t8.Y)(e);let a=Object.freeze({}),l=[],u=new nt(e,t,i,e=>{if(l.length>=s)throw l.push(new tc.eO("Too many validation errors, error limit reached. Validation aborted.")),a;l.push(e)}),c=(0,e_.oP)(n.map(e=>e(u)));try{(0,e_.YR)(t,(0,t7.S)(i,c))}catch(e){if(e!==a)throw e}return l}function nr(e,t){if(t)try{let n=(0,ek.qg)(t);return Object.assign(Object.assign({},function(e,t){let n=t?function(e,t){let n=Object.create(null);for(let r of t.definitions)if("OperationDefinition"===r.kind){let{variableDefinitions:t}=r;if(t)for(let{variable:r,type:i}of t){let t=(0,tM.v)(e,i);t?n[r.name.value]=t:i.kind===eS.b.NAMED_TYPE&&"Float"===i.name.value&&(n[r.name.value]=eD.qS)}}return n}(t,e):void 0,r=[];return(0,e_.YR)(e,{OperationDefinition(e){r.push(e)}}),{variableToType:n,operations:r}}(n,e)),{documentAST:n})}catch(e){return}}function ni(e){return{Field(t){let n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getParentType();null!=i||(0,tC.V)(!1),e.reportError(new tc.eO(`The field ${i.name}.${n.name} is deprecated. ${r}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getDirective();if(null!=i)e.reportError(new tc.eO(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}));else{let i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,tC.V)(!1),e.reportError(new tc.eO(`Field "${i.name}.${o.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}))}}},ObjectField(t){let n=(0,eN.MR)(e.getParentInputType());if((0,eN.qK)(n)){let r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new tc.eO(`The input field ${n.name}.${r.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=(0,eN.MR)(e.getInputType());null!=i||(0,tC.V)(!1),e.reportError(new tc.eO(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,{nodes:t}))}}}}let no={Error:"Error",Warning:"Warning",Information:"Information",Hint:"Hint"},ns={[no.Error]:1,[no.Warning]:2,[no.Information]:3,[no.Hint]:4},na=(e,t)=>{if(!e)throw Error(t)};function nl(e,t=null,n,r,i){var o,s;let a=null,l="";i&&(l="string"==typeof i?i:i.reduce((e,t)=>
153e+(0,tL.y)(t)+"\n\n",""));let u=l?`${e}
154
155${l}`:e;try{a=(0,ek.qg)(u)}catch(e){if(e instanceof tc.eO){let t=function(e,t){let n=eW(),r=n.startState(),i=t.split("\n");na(i.length>=e.line,"Query text must have more lines than where the error happened");let o=null;for(let t=0;t<e.line;t++)for(o=new eM(i[t]);!o.eol()&&"invalidchar"!==n.token(o,r););na(o,"Expected Parser stream to be available.");let s=e.line-1,a=o.getStartOfToken(),l=o.getCurrentPosition();return new tl(new tu(s,a),new tu(s,l))}(null!=(s=null==(o=e.locations)?void 0:o[0])?s:{line:0,column:0},u);return[{severity:ns.Error,message:e.message,source:"GraphQL: Syntax",range:t}]}throw e}return function(e,t=null,n,r){if(!t)return[];let i=(function(e,t,n,r,i){let o=t6.filter(e=>e!==tW&&e!==tU&&(!r||e!==tH));return n&&Array.prototype.push.apply(o,n),nn(e,t,o).filter(e=>{if(e.message.includes("Unknown directive")&&e.nodes){let t=e.nodes[0];if(t&&t.kind===eS.b.DIRECTIVE){let e=t.name.value;if("arguments"===e||"argumentDefinitions"===e)return!1}}return!0})})(t,e,n,r).flatMap(e=>nu(e,ns.Error,"Validation")),o=nn(t,e,[ni]).flatMap(e=>nu(e,ns.Warning,"Deprecation"));return i.concat(o)}(a,t,n,r)}function nu(e,t,n){if(!e.nodes)return[];let r=[];for(let[i,o]of e.nodes.entries()){let s="Variable"!==o.kind&&"name"in o&&void 0!==o.name?o.name:"variable"in o&&void 0!==o.variable?o.variable:o;if(s){na(e.locations,"GraphQL validation error requires locations.");let o=e.locations[i],a=function(e){let t=e.loc;return na(t,"Expected ASTNode to have a location."),t}(s),l=o.column+(a.end-a.start);r.push({source:`GraphQL: ${n}`,message:e.message,severity:t,range:new tl(new tu(o.line-1,o.column-1),new tu(o.line-1,l))})}}return r}},22323:(e,t,n)=>{"use strict";n.d(t,{GU:()=>f,V4:()=>h,Wl:()=>p});var r=n(58287),i=n(77016),o=n(49308),s=n(22366),a=n(47058),l=n(86158),u=n(76131),c=n(58780),d=n(16765);function p(e){return(0,o.h)(e,h)}function f(e){if(!p(e))throw Error(`Expected ${(0,i.N)(e)} to be a GraphQL schema.`);return e}class h{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,s.Z)(e)||(0,r.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,r.U)(!1,`"types" must be Array if provided but got: ${(0,i.N)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,r.U)(!1,`"directives" must be Array if provided but got: ${(0,i.N)(e.directives)}.`),this.description=e.description,this.extensions=(0,a.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!=(n=e.directives)?n:c.rc;let o=new Set(e.types);if(null!=e.types)for(let t of e.types)o.delete(t),m(t,o);for(let e of(null!=this._queryType&&m(this._queryType,o),null!=this._mutationType&&m(this._mutationType,o),null!=this._subscriptionType&&m(this._subscriptionType,o),this._directives))if((0,c.qT)(e))for(let t of e.args)m(t.type,o);for(let e of(m(d.em,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),o)){if
155(null==e)continue;let t=e.name;if(t||(0,r.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,(0,u.kD)(e)){for(let t of e.getInterfaces())if((0,u.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,u.YQ)(e)){for(let t of e.getInterfaces())if((0,u.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,u.CK)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),(0,u.CK)(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function m(e,t){let n=(0,u.MR)(e);if(!t.has(n)){if(t.add(n),(0,u.CK)(n))for(let e of n.getTypes())m(e,t);else if((0,u.YQ)(n)||(0,u.kD)(n)){for(let e of n.getInterfaces())m(e,t);for(let e of Object.values(n.getFields()))for(let n of(m(e.type,t),e.args))m(n.type,t)}else if((0,u.qK)(n))for(let e of Object.values(n.getFields()))m(e.type,t)}return t}},22366:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{Z:()=>r})},24769:(e,t,n)=>{"use strict";e.exports=n(79587)},25691:(e,t,n)=>{"use strict";function r(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}n.d(t,{K:()=>r})},26269:(e,t,n)=>{"use strict";var r=n(99680),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,s,a,l,u,c,d,p=!1;t||(t={}),s=t.debug||!1;try{if(l=r(),u=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=i[t.format]||i.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(r){s&&console.error("unable to copy using execCommand: ",r),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){s&&console.error("unable to copy using clipboardData: ",r),s&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=n.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return p}},27763:(e,t,n)=>{"use strict";n.d(t,{n8:()=>function e(t,n){return t===n||!!((0,r.bd)(t)&&(0,r.bd)(n)||(0,r.Fs)(t)&&(0,r.Fs)(n))&&e(t.ofType,n.ofType)},sP:()=>function e(t,n,i){return n===i||((0,r.bd)(i)?!!(0,r.bd)(n)&&e(t,n.ofType,i.ofType):(0,r.bd)(n)?e(t,n.ofType,i):(0,r.Fs)(i)?!!(0,r.Fs)(n)&&e(t,n.ofType,i.ofType):!(0,r.Fs)(n)&&(0,r.Lc)(i)&&((0,r.kD)(n)||(0,r.YQ)(n))&&t.isSubType(i,n))},uI:()=>i});var r=n(76131);function i(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))}},29695:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{V:()=>r})}
155,30448:(e,t,n)=>{"use strict";n.d(t,{Y:()=>p,i:()=>d});var r=n(77016),i=n(32506),o=n(86158),s=n(27763),a=n(76131),l=n(58780),u=n(16765),c=n(22323);function d(e){if((0,c.GU)(e),e.__validationErrors)return e.__validationErrors;let t=new f(e);(function(e){var t,n,i;let s=e.schema,l=s.getQueryType();l?(0,a.YQ)(l)||e.reportError(`Query root type must be Object type, it cannot be ${(0,r.N)(l)}.`,null!=(t=h(s,o.cE.QUERY))?t:l.astNode):e.reportError("Query root type must be provided.",s.astNode);let u=s.getMutationType();u&&!(0,a.YQ)(u)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,r.N)(u)}.`,null!=(n=h(s,o.cE.MUTATION))?n:u.astNode);let c=s.getSubscriptionType();c&&!(0,a.YQ)(c)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,r.N)(c)}.`,null!=(i=h(s,o.cE.SUBSCRIPTION))?i:c.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!(0,l.qT)(n)){e.reportError(`Expected directive but got: ${(0,r.N)(n)}.`,null==n?void 0:n.astNode);continue}for(let i of(m(e,n),n.args))if(m(e,i),(0,a.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,a.xP)(i)&&null!=i.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[y(i.astNode),null==(t=i.astNode)?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){for(let s of(t[o.name]=!0,r[o.name]=n.length,Object.values(o.getFields())))if((0,a.bd)(s.type)&&(0,a.qK)(s.type.ofType)){let t=s.type.ofType,o=r[t.name];if(n.push(s),void 0===o)i(t);else{let r=n.slice(o),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!(0,a.sy)(n)){e.reportError(`Expected GraphQL named type but got: ${(0,r.N)(n)}.`,n.astNode);continue}(0,u.Yh)(n)||m(e,n),(0,a.YQ)(n)||(0,a.kD)(n)?(function(e,t){let n=Object.values(t.getFields());for(let l of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var i,o,s;for(let n of(m(e,l),(0,a.oH)(l.type)||e.reportError(`The type of ${t.name}.${l.name} must be Output Type but got: ${(0,r.N)(l.type)}.`,null==(i=l.astNode)?void 0:i.type),l.args)){let i=n.name;m(e,n),(0,a.dX)(n.type)||e.reportError(`The type of ${t.name}.${l.name}(${i}:) must be Input Type but got: ${(0,r.N)(n.type)}.`,null==(o=n.astNode)?void 0:o.type),(0,a.xP)(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${l.name}(${i}:) cannot be deprecated.`,[y(n.astNode),null==(s=n.astNode)?void 0:s.type])}}}(e,n),function(e,t){let n=Object.create(null);for(let i of t.getInterfaces()){if(!(0,a.kD)(i)){e.reportError(`Type ${(0,r.N)(t)} must only implement Interface types, it cannot implement ${(0,r.N)(i)}.`,g(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,g(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,g(t,i));continue}n[i.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...g(n,i),...g(t,n)])}(e,t,i),function(e,t,n){let i=t.getFields();for(let d of Object.values(n.getFields())){var o,l,u,c;let p=d.name,f=i[p];if(!f){e.reportError(`Interface field ${n.name}.${p} expected but ${t.name} does not provide it.`,[d.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let i of((0,s.sP)(e.schema,f.type,d.type)||e.reportError(`Interface field ${n.name}.${p} expects type ${(0,r.N)(d.type)} but ${t.name}.${p} is type ${(0,r.N)(f.type)}.`,[null==(o=d.astNode)?void 0:o.type,null==(l=f.astNode)?void 0:l.type]),d.args)){let o=i.name,a=f.args.find(e=>e.name===o);if(!a){e.reportError(`Interface field argument ${n.name}.${p}(${o}:) expected but ${t.name}.${p} does not provide it.`,[i.astNode,f.astNode]);continue}(0,s.n8)(i.type,a.type)||e.reportError(`Interface field argument ${n.name}.${p}(${o}:) expects type ${(0,r.N)(i.type)} but ${t.name}.${p}(${o}:) is type ${(0,r.N)(a.type)}.`,[null==(u=i.astNode)?void 0:u.type,null==(c=a.astNode)?void 0:c.type])}for(let r of f.args){let i=r.name;!d.args.find(e=>e.name===i)&&(0,a.xP)(r)&&e.reportError(`Object field ${t.name}.${p} includes required argument ${i} that is missing from the Interface field ${n.name}.${p}.`,[r.astNode,d.astNode])}}}(e,t,i)}}(e,n)):(0,a.CK)(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let i=Object.create(null);for(let o of n){if(i[o.name]){e.reportError(`Union type ${t.name} can only include type ${o.name} once.`,v(t,o.name));continue}i[o.name]=!0,(0,a.YQ)(o)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,r.N)(o)}.`,v(t,String(o)))}}(e,n):(0,a.oF)(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))m(e,r)}(e,n):(0,a.qK)(n)&&(function(e,t){let n=Object.values(t.getFields());for(let s of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var i,o;m(e,s),(0,a.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.type),(0,a.YX)(s)&&null!=s.deprecationReason&&e.reportError(`Required input field ${t.name}.${s.name} cannot be deprecated.`,[y(s.astNode),null==(o=s.astNode)?void 0:o.type])}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function p(e){let t=d(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class f{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new i.eO(e,{nodes: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)?t:[]}).find(e=>e.operation===t))?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){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!=(t=e.interfaces)?t:[]}).filter(e=>e.name.value===t.name)}function v(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!=(t=e.types)?t:[]}).filter(e=>e.name.value===t)}function y(e){var t;return null==e||null==(t=e.directives)?void 0:t.find(e=>e.name.value===l.yK.name)}},31446:(e,t,n)=>{"use strict";n.d(t,{qg:()=>_,$x:()=>k});var r,i=n(32506);function o(e,t,n){return new i.eO(`Syntax Error: ${n}`,{source:e,positions:[t]})}var s=n(86158),a=n(32776),l=n(94587),u=n(47518),c=n(7743);!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="}
155",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}));class d{constructor(e){let t=new s.ou(r.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!==r.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,i=n.length,s=t;for(;s<i;){let 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 function(e,t){let n=e.source.body,i=n.length,o=t+1;for(;o<i;){let e=n.charCodeAt(o);if(10===e||13===e)break;if(p(e))++o;else if(f(n,o))o+=2;else break}return v(e,r.COMMENT,t,o,n.slice(t+1,o))}(e,s);case 33:return v(e,r.BANG,s,s+1);case 36:return v(e,r.DOLLAR,s,s+1);case 38:return v(e,r.AMP,s,s+1);case 40:return v(e,r.PAREN_L,s,s+1);case 41:return v(e,r.PAREN_R,s,s+1);case 46:if(46===n.charCodeAt(s+1)&&46===n.charCodeAt(s+2))return v(e,r.SPREAD,s,s+3);break;case 58:return v(e,r.COLON,s,s+1);case 61:return v(e,r.EQUALS,s,s+1);case 64:return v(e,r.AT,s,s+1);case 91:return v(e,r.BRACKET_L,s,s+1);case 93:return v(e,r.BRACKET_R,s,s+1);case 123:return v(e,r.BRACE_L,s,s+1);case 124:return v(e,r.PIPE,s,s+1);case 125:return v(e,r.BRACE_R,s,s+1);case 34:if(34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2))return function(e,t){let n=e.source.body,i=n.length,s=e.lineStart,a=t+3,l=a,c="",d=[];for(;a<i;){let i=n.charCodeAt(a);if(34===i&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)){c+=n.slice(l,a),d.push(c);let i=v(e,r.BLOCK_STRING,t,a+3,(0,u.OC)(d).join("\n"));return e.line+=d.length-1,e.lineStart=s,i}if(92===i&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)&&34===n.charCodeAt(a+3)){c+=n.slice(l,a),l=a+1,a+=4;continue}if(10===i||13===i){c+=n.slice(l,a),d.push(c),13===i&&10===n.charCodeAt(a+1)?a+=2:++a,c="",l=a,s=a;continue}if(p(i))++a;else if(f(n,a))a+=2;else throw o(e.source,a,`Invalid character within String: ${g(e,a)}.`)}throw o(e.source,a,"Unterminated string.")}(e,s);return function(e,t){let n=e.source.body,i=n.length,s=t+1,a=s,l="";for(;s<i;){let i=n.charCodeAt(s);if(34===i)return l+=n.slice(a,s),v(e,r.STRING,t,s+1,l);if(92===i){l+=n.slice(a,s);let t=117===n.charCodeAt(s+1)?123===n.charCodeAt(s+2)?function(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!p(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|E(e))<0)break}throw o(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}(e,s):function(e,t){let n=e.source.body,r=b(n,t+2);if(p(r))return{value:String.fromCodePoint(r),size:6};if(h(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=b(n,t+8);if(m(e))return{value:String.fromCodePoint(r,e),size:12}}throw o(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,s):function(e,t){let 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:"	",size:2}}throw o(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,s);l+=t.value,s+=t.size,a=s;continue}if(10===i||13===i)break;if(p(i))++s;else if(f(n,s))s+=2;else throw o(e.source,s,`Invalid character within String: ${g(e,s)}.`)}throw o(e.source,s,"Unterminated string.")}(e,s)}if((0,c.yp)(t)||45===t)return function(e,t,n){let i=e.source.body,s=t,a=n,l=!1;if(45===a&&(a=i.charCodeAt(++s)),48===a){if(a=i.charCodeAt(++s),(0,c.yp)(a))throw o(e.source,s,`Invalid number, unexpected digit after 0: ${g(e,s)}.`)}else s=y(e,s,a),a=i.charCodeAt(s);if(46===a&&(l=!0,a=i.charCodeAt(++s),s=y(e,s,a),a=i.charCodeAt(s)),(69===a||101===a)&&(l=!0,(43===(a=i.charCodeAt(++s))||45===a)&&(a=i.charCodeAt(++s)),s=y(e,s,a),a=i.charCodeAt(s)),46===a||(0,c.un)(a))throw o(e.source,s,`Invalid number, expected digit but got: ${g(e,s)}.`);return v(e,l?r.FLOAT:r.INT,t,s,i.slice(t,s))}(e,s,t);if((0,c.un)(t))return function(e,t){let n=e.source.body,i=n.length,o=t+1;for(;o<i;){let e=n.charCodeAt(o);if((0,c.xr)(e))++o;else break}return v(e,r.NAME,t,o,n.slice(t,o))}(e,s);throw o(e.source,s,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":p(t)||f(n,s)?`Unexpected character: ${g(e,s)}.`:`Invalid character: ${g(e,s)}.`)}return v(e,r.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===r.COMMENT);return e}}function p(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function f(e,t){return h(e.charCodeAt(t))&&m(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function m(e){return e>=56320&&e<=57343}function g(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return r.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function v(e,t,n,r,i){let o=e.line,a=1+n-e.lineStart;return new s.ou(t,n,r,o,a,i)}function y(e,t,n){if(!(0,c.yp)(n))throw o(e.source,t,`Invalid number, expected digit but got: ${g(e,t)}.`);let r=e.source.body,i=t+1;for(;(0,c.yp)(r.charCodeAt(i));)++i;return i}function b(e,t){return E(e.charCodeAt(t))<<12|E(e.charCodeAt(t+1))<<8|E(e.charCodeAt(t+2))<<4|E(e.charCodeAt(t+3))}function E(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var x=n(58287),T=n(77016),w=n(49308);class C{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,x.U)(!1,`Body must be a string. Received: ${(0,T.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,x.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,x.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function _(e,t){return new S(e,t).parseDocument()}function k(e,t){let n=new S(e,t);n.expectToken(r.SOF);let i=n.parseValueLiteral(!1);return n.expectToken(r.EOF),i}class S{constructor(e,t={}){let n=(0,w.h)(e,C)?e:new C(e);this._lexer=new d(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(r.NAME);return this.node(e,{kind:l.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:l.b.DOCUMENT,definitions:this.many(r.SOF,this.parseDefinition,r.EOF)})}parseDefinition(){if(this.peek(r.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===r.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 o(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(){let e,t=this._lexer.token;if(this.peek(r.BRACE_L))return this.node(t,{kind:l.b.OPERATION_DEFINITION,operation:s.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(r.NAME)&&(e=this.parseName()),this.node(t,{kind:l.b.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(r.NAME);switch(e.value){case"query":return s.cE.QUERY;case"mutation":return s.cE.MUTATION;case"subscription":return s.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(r.PAREN_L,this.parseVariableDefinition,r.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:l.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(r.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(r.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(r.DOLLAR),this.node(e,{kind:l.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:l.b.SELECTION_SET,selections:this.many(r.BRACE_L,this.parseSelection,r.BRACE_R)})}parseSelection(){return this.peek(r.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(r.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:l.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(r.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(r.PAREN_L,t,r.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:l.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(r.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(r.NAME)?this.node(e,{kind:l.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:l.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:l.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:l.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){let t=this._lexer.token;switch(t.kind){case r.BRACKET_L:return this.parseList(e);case r.BRACE_L:return this.parseObject(e);case r.INT:return this.advanceLexer(),this.node(t,{kind:l.b.INT,value:t.value});case r.FLOAT:return this.advanceLexer(),this.node(t,{kind:l.b.FLOAT,value:t.value});case r.STRING:case r.BLOCK_STRING:return this.parseStringLiteral();case r.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:l.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:l.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:l.b.NULL});default:return this.node(t,{kind:l.b.ENUM,value:t.value})}case r.DOLLAR:if(e){if(this.expectToken(r.DOLLAR),this._lexer.token.kind===r.NAME){let e=this._lexer.token.value;throw o(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(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:l.b.STRING,value:e.value,block:e.kind===r.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:l.b.LIST,values:this.any(r.BRACKET_L,t,r.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:l.b.OBJECT,fields:this.any(r.BRACE_L,t,r.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:l.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(r.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(r.AT),this.node(t,{kind:l.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(r.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(r.BRACKET_R),e=this.node(t,{kind:l.b.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(r.BANG)?this.node(t,{kind:l.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:l.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(r.STRING)||this.peek(r.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);return this.node(e,{kind:l.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(r.COLON);let n=this.parseNamedType();return this.node(e,{kind:l.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:l.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:l.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(r.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseFieldDefinition,r.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(r.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:l.b.FIELD_DEFINITION,description:t,name:n,arguments:i,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(r.PAREN_L,this.parseInputValueDef,r.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(r.COLON);let o=this.parseTypeReference();this.expectOptionalToken(r.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:l.b.INPUT_VALUE_DEFINITION,description:n,name:i,type:o,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:l.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:l.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(r.EQUALS)?this.delimitedMany(r.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:l.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(r.BRACE_L,this.parseEnumValu
155eDefinition,r.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:l.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 o(this._lexer.source,this._lexer.token.start,`${N(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:l.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseInputValueDef,r.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===r.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(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:l.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:l.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:l.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:l.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:l.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:l.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:l.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(r.AT);let n=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:l.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:o,locations:s})}parseDirectiveLocations(){return this.delimitedMany(r.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a.H,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new s.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw o(this._lexer.source,t.start,`Expected ${A(e)}, found ${N(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===r.NAME&&t.value===e)this.advanceLexer();else throw o(this._lexer.source,t.start,`Expected "${e}", found ${N(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===r.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return o(this._lexer.source,t.start,`Unexpected ${N(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==r.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw o(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function N(e){let t=e.value;return A(e.kind)+(null!=t?` "${t}"`:"")}function A(e){return e===r.BANG||e===r.DOLLAR||e===r.AMP||e===r.PAREN_L||e===r.PAREN_R||e===r.SPREAD||e===r.COLON||e===r.EQUALS||e===r.AT||e===r.BRACKET_L||e===r.BRACKET_R||e===r.BRACE_L||e===r.PIPE||e===r.BRACE_R?`"${e}"`:e}},31579:(e,t,n)=>{"use strict";let{deleteProperty:r}=Reflect,i=n(32947),o=n(88836),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,a=e=>{if(!i(e))throw TypeError("Object keys must be strings or symbols");if((e=>"__proto__"===e||"constructor"===e||"prototype"===e)(e))throw Error(`Cannot set unsafe key: "${e}"`)},l=(e,t)=>
155t&&"function"==typeof t.split?t.split(e):"symbol"==typeof e?[e]:Array.isArray(e)?e:((e,t,n)=>{let 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);let i=c.cache.get(r)||n();return c.cache.set(r,i),i})(e,t,()=>((e,t={})=>{let n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"==typeof e&&!1!==r&&/\//.test(e))return[e];let i=[],o="",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++){let r=e[t];if("\\"===r){o+=e[++t];continue}if(r===n){s(o),o="";continue}o+=r}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){let 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;let i=l(t,r),o=e;for(let e=0;e<i.length;e++){let t=i[e],l=i[e+1];if(a(t),void 0===l){u(o,t,n,r);break}if("number"==typeof l&&!Array.isArray(o[t])){o=o[t]=[];continue}s(o[t])||(o[t]={}),o=o[t]}return e};c.split=l,c.cache=new Map,c.clear=()=>{c.cache=new Map},e.exports=c},32250:(e,t,n)=>{"use strict";n.d(t,{As:()=>U,i$:()=>z,b:()=>q,Fr:()=>W,Sx:()=>H,Xl:()=>B});var r=n(37876),i=n(5661),o=n(14232),s=n(18249),a=n(86291),l=n(61112),u=n(31889);let[c,d]=(0,u.q)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"}),p=(0,s.P)(),f=(0,o.forwardRef)((e,t)=>{let[n,o]=(0,a.s9)(e),[{value:s},u]=p(o,["value"]),d=(0,i.v6)(s.getRootProps(),u);return(0,r.jsx)(c,{value:s,children:(0,r.jsx)(a.pf,{value:n,children:(0,r.jsx)(l.X.div,{...d,ref:t})})})});f.displayName="AccordionRootProvider";var h=n(74986),m=n(707),g=n(60669),v=n(29739);let y=(0,s.P)(),b=(0,o.forwardRef)((e,t)=>{let[n,s]=(0,a.s9)(e),[u,d]=y(s,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),p=(e=>{let t=(0,o.useId)(),{getRootNode:n}=(0,g.w)(),{dir:r}=(0,v.g)(),i={id:t,dir:r,getRootNode:n,...e},s=(0,m.zl)(h.Aq,i);return h.Ng(s,m._B)})(u),f=(0,i.v6)(p.getRootProps(),d);return(0,r.jsx)(c,{value:p,children:(0,r.jsx)(a.pf,{value:n,children:(0,r.jsx)(l.X.div,{...f,ref:t})})})});b.displayName="AccordionRoot";let[E,x]=(0,u.q)({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});var T=n(62684);let[w,C]=(0,u.q)({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),_=(0,o.forwardRef)((e,t)=>{let[n,a]=(0,s.P)()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]),u=((e={})=>{let{lazyMount:t,unmountOnExit:n,...r}=e,i=(0,o.useId)(),s=(0,o.useRef)(!1),{dir:a}=(0,v.g)(),{getRootNode:l}=(0,g.w)(),u={id:i,dir:a,getRootNode:l,...r},c=(0,m.zl)(T.Aq,u),d=T.Ng(c,m._B);d.visible&&(s.current=!0);let p=!d.visible&&!s.current&&t||n&&!d.visible&&s.current;return{...d,isUnmounted:p}})(n),c=(0,i.v6)(u.getRootProps(),a);return(0,r.jsx)(w,{value:u,children:(0,r.jsx)(l.X.div,{...c,ref:t})})});_.displayName="CollapsibleRoot";let[k,S]=(0,u.q)({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),N=(0,s.P)(),A=(0,o.forwardRef)((e,t)=>{let[n,o]=N(e,["value","disabled"]),s=d(),l=(0,a.ob)(),u=(0,i.v6)(s.getItemProps(n),o),c=s.getItemState(n),p=s.getItemContentProps(n);return(0,r.jsx)(k,{value:n,children:(0,r.jsx)(E,{value:c,children:(0,r.jsx)(_,{ref:t,open:c.expanded,ids:{content:p.id},...l,...u})})})});A.displayName="AccordionItem";let D=(0,o.forwardRef)((e,t)=>{let n=C();if(n.isUnmounted)return null;let o=(0,i.v6)(n.getContentProps(),e);return(0,r.jsx)(l.X.div,{...o,ref:t})});D.displayName="CollapsibleContent";let I=(0,s.P)(),O=(0,o.forwardRef)((e,t)=>{let n=d(),o=S(),[,s]=I(n.getItemContentProps(o),["hidden","data-state"]),a=(0,i.v6)(s,e);return(0,r.jsx)(D,{ref:t,...a})});O.displayName="AccordionItemContent";let F=(0,o.forwardRef)((e,t)=>{let n=d(),o=S(),s=C(),a=n.getItemTriggerProps(o),u=(0,i.v6)({...a,"aria-controls":s.isUnmounted?void 0:a["aria-controls"]},e);return(0,r.jsx)(l.X.button,{...u,ref:t})});F.displayName="AccordionItemTrigger";let R=(0,o.forwardRef)((e,t)=>{let n=d(),o=S(),s=(0,i.v6)(n.getItemIndicatorProps(o),e);return(0,r.jsx)(l.X.div,{...s,ref:t})});R.displayName="AccordionItemIndicator";var L=n(76485),M=n(6206);let{withProvider:P,withContext:j,useStyles:V,PropsProvider:$}=(0,L.c)({key:"accordion"});P(f,"root",{forwardAsChild:!0});let B=P(b,"root",{forwardAsChild:!0}),U=j(A,"item",{forwardAsChild:!0}),q=j(O,"itemContent",{forwardAsChild:!0}),z=j("div","itemBody"),H=j(F,"itemTrigger",{forwardAsChild:!0}),W=j(R,"itemIndicator",{forwardAsChild:!0,defaultProps:{children:(0,r.jsx)(M.D3,{})}})},32506:(e,t,n)=>{"use strict";n.d(t,{eO:()=>u});var r=n(22366),i=n(29695);let o=/\r\n|[\n\r]/g;function s(e,t){let n=0,r=1;for(let s of e.body.matchAll(o)){if("number"==typeof s.index||(0,i.V)(!1),s.index>=t)break;n=s.index+s[0].length,r+=1}return{line:r,column:t+1-n}}function a(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?n:0,u=t.column+a,c=`${e.name}:${s}:${u}
156`,d=r.split(/\r\n|[\n\r]/g),p=d[i];if(p.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return c+l([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+l([[`${s-1} |`,d[i-1]],[`${s} |`,p],["|","^".padStart(u)],[`${s+1} |`,d[i+1]]])}function l(e){let 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")}
156class u extends Error{constructor(e,...t){var n,i,o;let{nodes:a,source:l,positions:d,path:p,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=p?p:void 0,this.originalError=null!=f?f:void 0,this.nodes=c(Array.isArray(a)?a:a?[a]:void 0);let m=c(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=l?l:null==m||null==(i=m[0])?void 0:i.source,this.positions=null!=d?d:null==m?void 0:m.map(e=>e.start),this.locations=d&&l?d.map(e=>s(l,e)):null==m?void 0:m.map(e=>s(e.source,e.start));let g=(0,r.Z)(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!=(o=null!=h?h:g)?o: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!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):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(let n of this.nodes){var t;n.loc&&(e+="\n\n"+a((t=n.loc).source,s(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+a(this.source,t);return e}toJSON(){let 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 c(e){return void 0===e||0===e.length?void 0:e}},32662:(e,t,n)=>{"use strict";n.d(t,{KU:()=>l,m3:()=>i});var r=n(76757);class i{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(let t in localStorage)0===t.indexOf(`${o}:`)&&(e+=1);return e},clear(){for(let e in localStorage)0===e.indexOf(`${o}:`)&&localStorage.removeItem(e)}}}get(e){if(!this.storage)return null;let t=`${o}:${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){let s=`${o}:${e}`;if(t)try{this.storage.setItem(s,t)}catch(e){var i;r=e instanceof Error?e:Error(`${e}`),i=this.storage,n=e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==i.length}else this.storage.removeItem(s)}return{isQuotaError:n,error:r}}clear(){this.storage&&this.storage.clear()}}let o="graphiql";var s=n(31446);class a{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]){let n=this.items[t];if(n.query===e.query&&n.variables===e.variables&&n.headers===e.headers&&n.operationName===e.operationName){this.items.splice(t,1,e),this.save();return}}let 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){let 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(){let e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){let t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){let e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(null!=e&&e.error)if(!e.isQuotaError||!this.maxSize)return;else t.shift();else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}class l{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});let 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){let 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 a("queries",this.storage,this.maxHistoryLength),this.favorite=new a("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(e,t,n,r){if(!e)return!1;try{(0,s.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}){let 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:i,label:o,favorite:s},a){let l={query:e,variables:t,headers:n,operationName:i,label:o};s?this.favorite.edit((0,r.ko)((0,r.IA)({},l),{favorite:s}),a):this.history.edit(l,a),this.queries=[...this.history.items,...this.favorite.items]}}},32776:(e,t,n)=>{"use strict";var 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={}))},32947:e=>{"use strict";e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}}
156,33254:(e,t,n)=>{"use strict";n.d(t,{K:()=>function e(t,n){if((0,a.bd)(n)){let r=e(t,n.ofType);return(null==r?void 0:r.kind)===s.b.NULL?null:r}if(null===t)return{kind:s.b.NULL};if(void 0===t)return null;if((0,a.Fs)(n)){let r=n.ofType;if("object"==typeof t&&"function"==typeof(null==t?void 0:t[Symbol.iterator])){let n=[];for(let i of t){let t=e(i,r);null!=t&&n.push(t)}return{kind:s.b.LIST,values:n}}return e(t,r)}if((0,a.qK)(n)){if(!(0,o.Z)(t))return null;let r=[];for(let i of Object.values(n.getFields())){let n=e(t[i.name],i.type);n&&r.push({kind:s.b.OBJECT_FIELD,name:{kind:s.b.NAME,value:i.name},value:n})}return{kind:s.b.OBJECT,fields:r}}if((0,a.zf)(n)){let e=n.serialize(t);if(null==e)return null;if("boolean"==typeof e)return{kind:s.b.BOOLEAN,value:e};if("number"==typeof e&&Number.isFinite(e)){let t=String(e);return u.test(t)?{kind:s.b.INT,value:t}:{kind:s.b.FLOAT,value:t}}if("string"==typeof e)return(0,a.oF)(n)?{kind:s.b.ENUM,value:e}:n===l.N1&&u.test(e)?{kind:s.b.INT,value:e}:{kind:s.b.STRING,value:e};throw TypeError(`Cannot convert value to AST: ${(0,r.N)(e)}.`)}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(n))}});var r=n(77016),i=n(29695),o=n(22366),s=n(94587),a=n(76131),l=n(85875);let u=/^-?(?:0|[1-9][0-9]*)$/},43592:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&"function"==typeof e.then}function i(e){return"object"==typeof e&&null!==e&&"subscribe"in e&&"function"==typeof e.subscribe}function o(e){return"object"==typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}async function s(e){var t;let 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}async function a(e){let t=await e;return o(t)?s(t):i(t)?new Promise((e,n)=>{let r=t.subscribe({next(t){e(t),r.unsubscribe()},error:n,complete(){n(Error("no value resolved"))}})}):t}n.d(t,{AT:()=>i,Td:()=>o,gd:()=>a,yL:()=>r}),n(76757)},46144:(e,t,n)=>{"use strict";function r(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}n.d(t,{L:()=>r})},47058:(e,t,n)=>{"use strict";function r(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}n.d(t,{z:()=>r})},47518:(e,t,n)=>{"use strict";n.d(t,{OC:()=>i,yo:()=>o});var r=n(7743);function i(e){var t,n;let i=Number.MAX_SAFE_INTEGER,o=null,s=-1;for(let t=0;t<e.length;++t){let a=e[t],l=function(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}(a);l!==a.length&&(o=null!=(n=o)?n:t,s=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,s+1)}function o(e,t){let 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),p="",f=o&&(0,r.i0)(e.charCodeAt(0));return(d&&!f||s)&&(p+="\n"),p+=n,(d||c)&&(p+="\n"),'"""'+p+'"""'}},49308:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(77016);let i=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=(0,r.N)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm.
157
158Ensure that there is only one instance of "graphql" in the node_modules
159directory. If different versions of "graphql" are the dependencies of other
160relied on modules, use "resolutions" to ensure only one version is installed.
161
162https://yarnpkg.com/en/docs/selective-version-resolutions
163
164Duplicate "graphql" modules cannot be used at the same time since different
165versions may have different capabilities and behavior. The data from one
166version used in the function from another could produce confusing and
167spurious results.`)}}return!1}},49995:(e,t,n)=>{"use strict";function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{$:()=>r})},52924:(e,t,n)=>{"use strict";n.d(t,{v:()=>function e(t,n){switch(n.kind){case r.b.LIST_TYPE:{let r=e(t,n.type);return r&&new i.KT(r)}case r.b.NON_NULL_TYPE:{let r=e(t,n.type);return r&&new i.Gc(r)}case r.b.NAMED_TYPE:return t.getType(n.name.value)}}});var r=n(94587),i=n(76131)},58287:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{U:()=>r})},58780:(e,t,n)=>{"use strict";n.d(t,{HQ:()=>f,MQ:()=>h,RR:()=>p,qT:()=>d,rc:()=>g,yK:()=>m});var r=n(58287),i=n(49308),o=n(22366),s=n(47058),a=n(32776),l=n(93105),u=n(76131),c=n(85875);function d(e){return(0,i.h)(e,p)}class p{constructor(e){var t,n;this.name=(0,l.I)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=(t=e.isRepeatable)&&t,this.extensions=(0,s.z)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,r.U)(!1,`@${e.name} locations must be an Array.`);let i=null!=(n=e.args)?n:{};(0,o.Z)(i)&&!Array.isArray(i)||(0,r.U)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,u.Kx)(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,u.g0)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let f=new p({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[a.H.FIELD,a.H.FRAGMENT_SPREAD,a.H.INLINE_FRAGMENT],args:{if:{type:new u.Gc(c.kk),description:"Included when true."}}}),h=new p({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[a.H.FIELD,a.H.FRAGMENT_SPREAD,a.H.INLINE_FRAGMENT],args:{if:{type:new u.Gc(c.kk),description:"Skipped when true."}}}),m=new p({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[a.H.FIELD_DEFINITION,a.H.ARGUMENT_DEFINITION,a.H.INPUT_FIELD_DEFINITION,a.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:"No longer supported"}}}),g=Object.freeze([f,h,m,new p({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[a.H.SCALAR],args:{url:{type:new u.Gc(c.FV),description:"The URL that specifies the behavior of this scalar."}}})])}
167,63283:(e,t,n)=>{"use strict";n.d(t,{HistoryStore:()=>a.KU,StorageAPI:()=>a.m3,createGraphiQLFetcher:()=>i.createGraphiQLFetcher,fetcherReturnToPromise:()=>r.gd,fillLeafs:()=>s.nX,formatError:()=>o.W,formatResult:()=>o.J,getSelectedOperationName:()=>s.GO,isAsyncIterable:()=>r.Td,isObservable:()=>r.AT,isPromise:()=>r.yL,mergeAst:()=>s.Hf});var r=n(43592),i=n(73136);n.o(i,"HistoryStore")&&n.d(t,{HistoryStore:function(){return i.HistoryStore}}),n.o(i,"StorageAPI")&&n.d(t,{StorageAPI:function(){return i.StorageAPI}}),n.o(i,"fillLeafs")&&n.d(t,{fillLeafs:function(){return i.fillLeafs}}),n.o(i,"formatError")&&n.d(t,{formatError:function(){return i.formatError}}),n.o(i,"formatResult")&&n.d(t,{formatResult:function(){return i.formatResult}}),n.o(i,"getSelectedOperationName")&&n.d(t,{getSelectedOperationName:function(){return i.getSelectedOperationName}}),n.o(i,"mergeAst")&&n.d(t,{mergeAst:function(){return i.mergeAst}});var o=n(19977),s=n(70577),a=n(32662)},70577:(e,t,n)=>{"use strict";n.d(t,{nX:()=>c,GO:()=>f,Hf:()=>p});var r=n(76757),i=n(31446),o=n(81522),s=n(74968),a=n(8056),l=n(76131),u=n(94587);function c(e,t,n){let r,c=[];if(!e||!t)return{insertions:c,result:t};try{r=(0,i.qg)(t)}catch(e){return{insertions:c,result:t}}let p=n||d,f=new o.D(e);return(0,s.YR)(r,{leave(e){f.leave(e)},enter(e){if(f.enter(e),"Field"===e.kind&&!e.selectionSet){let n=function e(t,n){let r=(0,l.MR)(t);if(!t||(0,l.zf)(t))return;let i=n(r);if(!(!Array.isArray(i)||0===i.length||!("getFields"in r)))return{kind:u.b.SELECTION_SET,selections:i.map(t=>{let i=r.getFields()[t],o=i?i.type:null;return{kind:u.b.FIELD,name:{kind:u.b.NAME,value:t},selectionSet:e(o,n)}})}}(function(e){if(e)return e}(f.getType()),p);if(n&&e.loc){let r=function(e,t){let n=t,r=t;for(;n;){let 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);c.push({index:e.loc.end,string:" "+(0,a.y)(n).replaceAll(`
168`,`
169`+r)})}}}}),{insertions:c,result:function(e,t){if(0===t.length)return e;let n="",r=0;for(let{index:i,string:o}of t)n+=e.slice(r,i)+o,r=i;return n+e.slice(r)}(t,c)}}function d(e){if(!("getFields"in e))return[];let t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];let n=[];for(let e of Object.keys(t))(0,l.zf)(t[e].type)&&n.push(e);return n}function p(e,t){let n=t?new o.D(t):null,i=Object.create(null);for(let t of e.definitions)t.kind===u.b.FRAGMENT_DEFINITION&&(i[t.name.value]=t);let a={SelectionSet(e){let t=n?n.getParentType():null,{selections:o}=e;return o=function e(t,n,r){var i;let o=r?(0,l.MR)(r).name:null,s=[],a=[];for(let l of n){if("FragmentSpread"===l.kind){let e=l.name.value;if(!l.directives||0===l.directives.length){if(a.includes(e))continue;a.push(e)}let n=t[l.name.value];if(n){let{typeCondition:e,directives:t,selectionSet:r}=n;l={kind:u.b.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:r}}}if(l.kind===u.b.INLINE_FRAGMENT&&(!l.directives||(null==(i=l.directives)?void 0:i.length)===0)){let n=l.typeCondition?l.typeCondition.name.value:null;
169if(!n||n===o){s.push(...e(t,l.selectionSet.selections,r));continue}}s.push(l)}return s}(i,o,t),(0,r.ko)((0,r.IA)({},e),{selections:o})},FragmentDefinition:()=>null},c=(0,s.YR)(e,n?(0,o.S)(n,a):a);return(0,s.YR)(c,{SelectionSet(e){let{selections:t}=e;return t=function(e,t){var n;let i=new Map,o=[];for(let s of e)if("Field"===s.kind){let e=t(s),a=i.get(e);if(null!=(n=s.directives)&&n.length){let e=(0,r.IA)({},s);o.push(e)}else if(null!=a&&a.selectionSet&&s.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...s.selectionSet.selections];else if(!a){let t=(0,r.IA)({},s);i.set(e,t),o.push(t)}}else o.push(s);return o}(t,e=>e.alias?e.alias.value:e.name.value),(0,r.ko)((0,r.IA)({},e),{selections:t})},FragmentDefinition:()=>null})}function f(e,t,n){if(!n||n.length<1)return;let 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){let 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]}},71313:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,T9:()=>i,_3:()=>s,jk:()=>r});let r=Math.min,i=Math.max,o=Math.round;function s(e,t){return"function"==typeof e?e(t):e}},73136:(e,t,n)=>{"use strict";n.d(t,{createGraphiQLFetcher:()=>i.a}),n(76757);var r=n(76149);n.o(r,"HistoryStore")&&n.d(t,{HistoryStore:function(){return r.HistoryStore}}),n.o(r,"StorageAPI")&&n.d(t,{StorageAPI:function(){return r.StorageAPI}}),n.o(r,"fillLeafs")&&n.d(t,{fillLeafs:function(){return r.fillLeafs}}),n.o(r,"formatError")&&n.d(t,{formatError:function(){return r.formatError}}),n.o(r,"formatResult")&&n.d(t,{formatResult:function(){return r.formatResult}}),n.o(r,"getSelectedOperationName")&&n.d(t,{getSelectedOperationName:function(){return r.getSelectedOperationName}}),n.o(r,"mergeAst")&&n.d(t,{mergeAst:function(){return r.mergeAst}});var i=n(21791)},74968:(e,t,n)=>{"use strict";n.d(t,{XO:()=>c,YR:()=>l,oP:()=>u,sP:()=>a});var r=n(58287),i=n(77016),o=n(86158),s=n(94587);let a=Object.freeze({});function l(e,t,n=o.aD){let u,d,p,f=new Map;for(let e of Object.values(s.b))f.set(e,c(t,e));let h=Array.isArray(e),m=[e],g=-1,v=[],y=e,b=[],E=[];do{var x,T,w;let e,s=++g===m.length,l=s&&0!==v.length;if(s){if(d=0===E.length?void 0:b[b.length-1],y=p,p=E.pop(),l)if(h){y=y.slice();let e=0;for(let[t,n]of v){let r=t-e;null===n?(y.splice(r,1),e++):y[r]=n}}else for(let[e,t]of(y=Object.defineProperties({},Object.getOwnPropertyDescriptors(y)),v))y[e]=t;g=u.index,m=u.keys,v=u.edits,h=u.inArray,u=u.prev}else if(p){if(null==(y=p[d=h?g:m[g]]))continue;b.push(d)}if(!Array.isArray(y)){(0,o.Ll)(y)||(0,r.U)(!1,`Invalid AST Node: ${(0,i.N)(y)}.`);let n=s?null==(x=f.get(y.kind))?void 0:x.leave:null==(T=f.get(y.kind))?void 0:T.enter;if((e=null==n?void 0:n.call(t,y,d,p,b,E))===a)break;if(!1===e){if(!s){b.pop();continue}}else if(void 0!==e&&(v.push([d,e]),!s))if((0,o.Ll)(e))y=e;else{b.pop();continue}}void 0===e&&l&&v.push([d,y]),s?b.pop():(u={inArray:h,index:g,keys:m,edits:v,prev:u},m=(h=Array.isArray(y))?y:null!=(w=n[y.kind])?w:[],g=-1,v=[],p&&E.push(p),p=y)}while(void 0!==u);return 0!==v.length?v[v.length-1][1]:e}function u(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(s.b)){let i=!1,o=Array(e.length).fill(void 0),s=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:a}=c(e[t],r);i||(i=null!=n||null!=a),o[t]=n,s[t]=a}if(!i)continue;let l={enter(...n){let r=n[0];for(let s=0;s<e.length;s++)if(null===t[s]){var i;let l=null==(i=o[s])?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){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null==(i=s[o])?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){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}},76131:(e,t,n)=>{"use strict";n.d(t,{Zb:()=>ee,zP:()=>en,VA:()=>X,KT:()=>F,Gc:()=>R,bh:()=>q,Ag:()=>U,hI:()=>J,g0:()=>K,N_:()=>O,qL:()=>w,wG:()=>M,qC:()=>x,Kx:()=>W,MR:()=>V,yl:()=>P,Lc:()=>I,ML:()=>D,oF:()=>_,qK:()=>k,dX:()=>function e(t){return b(t)||_(t)||k(t)||L(t)&&e(t.ofType)},kD:()=>T,zf:()=>A,Fs:()=>S,sy:()=>j,bd:()=>N,YQ:()=>E,oH:()=>function e(t){return b(t)||E(t)||T(t)||C(t)||_(t)||L(t)&&e(t.ofType)},xP:()=>Q,YX:()=>ei,lg:()=>b,Xj:()=>y,CK:()=>C});var r=n(58287),i=n(169);function o(e){return e}var s=n(77016),a=n(49308),l=n(22366),u=n(25691),c=n(46144);function d(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}var p=n(16618),f=n(47058),h=n(32506),m=n(94587),g=n(8056),v=n(93105);function y(e){return b(e)||E(e)||T(e)||C(e)||_(e)||k(e)||S(e)||N(e)}function b(e){return(0,a.h)(e,U)}function E(e){return(0,a.h)(e,q)}function x(e){if(!E(e))throw Error(`Expected ${(0,s.N)(e)} to be a GraphQL Object type.`);return e}function T(e){return(0,a.h)(e,X)}function w(e){if(!T(e))throw Error(`Expected ${(0,s.N)(e)} to be a GraphQL Interface type.`);return e}function C(e){return(0,a.h)(e,J)}function _(e){return(0,a.h)(e,ee)}function k(e){return(0,a.h)(e,en)}function S(e){return(0,a.h)(e,F)}function N(e){return(0,a.h)(e,R)}function A(e){return b(e)||_(e)}function D(e){return E(e)||T(e)||C(e)}function I(e){return T(e)||C(e)}function O(e){if(!I(e))throw Error(`Expected ${(0,s.N)(e)} to be a GraphQL abstract type.`);return e}class F{constructor(e){y(e)||(0,r.U)(!1,`Expected ${(0,s.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 R{constructor(e){(function(e){return y(e)&&!N(e)})(e)||(0,r.U)(!1,`Expected ${(0,s.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 L(e){return S(e)||N(e)}function M(e){if(!(y(e)&&!N(e)))throw Error(`Expected ${(0,s.N)(e)} to be a GraphQL nullable type.`);return e}function P(e){if(e)return N(e)?e.ofType:e}function j(e){return b(e)||E(e)||T(e)||C(e)||_(e)||k(e)}function V(e){if(e){let t=e;for(;L(t);)t=t.ofType;return t}}function $(e){return"function"==typeof e?e():e}function B(e){return"function"==typeof e?e():e}class U{constructor(e){var t,n,i,a;let l=null!=(t=e.parseValue)?t:o;this.name=(0,v.I)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!=(n=e.serialize)?n:o,this.parseValue=l,this.parseLiteral=null!=(i=e.parseLiteral)?i:(e,t)=>l(function e(t,n){switch(t.kind){case m.b.NULL:return null;case m.b.INT:return parseInt(t.value,10);case m.b.FLOAT:return parseFloat(t.value);case m.b.STRING:case m.b.ENUM:case m.b.BOOLEAN:return t.value;case m.b.LIST:return t.values.map(t=>e(t,n));case m.b.OBJECT:return(0,c.L)(t.fields,e=>e.name.value,t=>e(t.value,n));case m.b.VARIABLE:return null==n?void 0:n[t.name.value]}}(e,t)),this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(a=e.extensionASTNodes)?a:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,r.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,s.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,r.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,r.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 q{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=()=>H(e),this._interfaces=()=>z(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,r.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,s.N)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
169getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:G(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function z(e){var t;let n=$(null!=(t=e.interfaces)?t:[]);return Array.isArray(n)||(0,r.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function H(e){let t=B(e.fields);return Y(t)||(0,r.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),d(t,(t,n)=>{var i;Y(t)||(0,r.U)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,r.U)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,s.N)(t.resolve)}.`);let o=null!=(i=t.args)?i:{};return Y(o)||(0,r.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:W(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,f.z)(t.extensions),astNode:t.astNode}})}function W(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,f.z)(t.extensions),astNode:t.astNode}))}function Y(e){return(0,l.Z)(e)&&!Array.isArray(e)}function G(e){return d(e,e=>({description:e.description,type:e.type,args:K(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function K(e){return(0,c.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 Q(e){return N(e.type)&&void 0===e.defaultValue}class X{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=H.bind(void 0,e),this._interfaces=z.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,s.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:G(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class J{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._types=Z.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,s.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 Z(e){let t=$(e.types);return Array.isArray(t)||(0,r.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class ee{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._values=function(e,t){return Y(t)||(0,r.U)(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,n])=>(Y(n)||(0,r.U)(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,s.N)(n)}.`),{name:(0,v.A)(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:(0,f.z)(n.extensions),astNode:n.astNode}))}(this.name,e.values),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=(0,u.K)(this._values,e=>e.name)}
169get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(void 0===t)throw new h.eO(`Enum "${this.name}" cannot represent value: ${(0,s.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=(0,s.N)(e);throw new h.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+et(this,t))}let t=this.getValue(e);if(null==t)throw new h.eO(`Value "${e}" does not exist in "${this.name}" enum.`+et(this,e));return t.value}parseLiteral(e,t){if(e.kind!==m.b.ENUM){let t=(0,g.y)(e);throw new h.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+et(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=(0,g.y)(e);throw new h.eO(`Value "${t}" does not exist in "${this.name}" enum.`+et(this,t),{nodes:e})}return n.value}toConfig(){let e=(0,c.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 et(e,t){let n=e.getValues().map(e=>e.name),r=(0,p.x)(t,n);return(0,i.a)("the enum value",r)}class en{constructor(e){var t;this.name=(0,v.I)(e.name),this.description=e.description,this.extensions=(0,f.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=er.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=d(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 er(e){let t=B(e.fields);return Y(t)||(0,r.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),d(t,(t,n)=>("resolve"in t&&(0,r.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,f.z)(t.extensions),astNode:t.astNode}))}function ei(e){return N(e.type)&&void 0===e.defaultValue}},76149:()=>{},76757:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>h,IA:()=>d,N3:()=>f,ko:()=>p,od:()=>m});var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&c(e,n,t[n]);if(s)for(var n of s(t))l.call(t,n)&&c(e,n,t[n]);return e},p=(e,t)=>i(e,o(t)),f=function(e,t){this[0]=e,this[1]=t},h=(e,t,n)=>{var r=(e,t,i,o)=>{try{var s=n[e](t),a=(t=s.value)instanceof f,l=s.done;Promise.resolve(a?t[0]:t).then(n=>a?r("return"===e?e:"next",t[1]?{done:n.done,value:n.value}:n,i,o):i({value:n,done:l})).catch(e=>r("throw",e,i,o))}catch(e){o(e)}},i=e=>o[e]=t=>new Promise((n,i)=>r(e,t,n,i)),o={};return n=n.apply(e,t),o[u("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},m=(e,t,n)=>(t=e[u("asyncIterator")])?t.call(e):(e=e[u("iterator")](),t={},(n=(n,r)=>(r=e[n])&&(t[n]=t=>new Promise((n,i,o)=>(o=(t=r.call(e,t)).done,Promise.resolve(t.value).then(e=>n({value:e,done:o}),i)))))("next"),n("return"),t)},77016:(e,t,n)=>{"use strict";function r(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t)){var i=t,o=r;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let n=Math.min(10,i.length),s=i.length-n,a=[];for(let t=0;t<n;++t)a.push(e(i[t],o));return 1===s?a.push("... 1 more item"):s>1&&a.push(`... ${s} more items`),"["+a.join(", ")+"]"}var s=t,a=r;let l=Object.entries(s);return 0===l.length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(s)+"]":"{ "+l.map(([t,n])=>t+": "+e(n,a)).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}n.d(t,{N:()=>r})},78775:(e,t,n)=>{"use strict";n.d(t,{i:()=>function e(t,n,u){if(t){if(t.kind===s.b.VARIABLE){let e=t.name.value;if(null==u||void 0===u[e])return;let r=u[e];if(null===r&&(0,a.bd)(n))return;return r}if((0,a.bd)(n)){if(t.kind===s.b.NULL)return;return e(t,n.ofType,u)}if(t.kind===s.b.NULL)return null;if((0,a.Fs)(n)){let r=n.ofType;if(t.kind===s.b.LIST){let n=[];for(let i of t.values)if(l(i,u)){if((0,a.bd)(r))return;n.push(null)}else{let t=e(i,r,u);if(void 0===t)return;n.push(t)}return n}let i=e(t,r,u);if(void 0===i)return;return[i]}if((0,a.qK)(n)){if(t.kind!==s.b.OBJECT)return;let r=Object.create(null),i=(0,o.K)(t.fields,e=>e.name.value);for(let t of Object.values(n.getFields())){let n=i[t.name];if(!n||l(n.value,u)){if(void 0!==t.defaultValue)r[t.name]=t.defaultValue;else if((0,a.bd)(t.type))return;continue}let o=e(n.value,t.type,u);if(void 0===o)return;r[t.name]=o}return r}if((0,a.zf)(n)){let e;try{e=n.parseLiteral(t,u)}catch(e){return}if(void 0===e)return;return e}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(n))}}});var r=n(77016),i=n(29695),o=n(25691),s=n(94587),a=n(76131);function l(e,t){return e.kind===s.b.VARIABLE&&(null==t||void 0===t[e.name.value])}},79587:(e,t,n)=>{"use strict";var r=n(14232),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 p={hasValue:!1,value:null};d.current=p}else p=d.current;var f=o(e,(d=l(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),void 0!==c&&p.hasValue){var t=p.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]))[0],d[1]);return a(function(){p.hasValue=!0,p.value=f},[f]),u(f),f}},79663:(e,t,n)=>{let r=n(82944);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){var a,l,u;if(r(n)||(n={default:n}),!s(e))return void 0!==n.default?n.default:e;"number"==typeof t&&(t=String(t));let c=Array.isArray(t),d="string"==typeof t,p=n.separator||".",f=n.joinChar||("string"==typeof p?p:".");if(!d&&!c)return e;if(d&&t in e)return o(t,e,n)?e[t]:n.default;let h=c?t:(a=t,l=p,"function"==typeof(u=n).split?u.split(a):a.split(l)),m=h.length,g=0;do{let t=h[g];for("number"==typeof t&&(t=String(t));t&&"\\"===t.slice(-1);)t=i([t.slice(0,-1),h[++g]||""],f,n);if(t in e){if(!o(t,e,n))return n.default;e=e[t]}else{let r=!1,s=g+1;for(;s<m;)if(r=(t=i([t,h[s++]],f,n))in e){if(!o(t,e,n))return n.default;e=e[t],g=s-1;break}if(!r)return n.default}}while(++g<m&&s(e));return g===m?e:n.default}},79810:()=>{},80400:(e,t,n)=>{"use strict";n.d(t,{UE:()=>L,ll:()=>N,rD:()=>P,__:()=>A,UU:()=>O,jD:()=>R,ER:()=>M,cY:()=>D,BN:()=>I,Ej:()=>F});var r=n(81040);function i(e,t,n){let i,{reference:o,floating:s}=e,a=(0,r.TV)(t),l=(0,r.Dz)(t),u=(0,r.sq)(l),c=(0,r.C0)(t),d="y"===a,p=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,h=o[u]/2-s[u]/2;
169switch(c){case"top":i={x:p,y:o.y-s.height};break;case"bottom":i={x:p,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:f};break;case"left":i={x:o.x-s.width,y:f};break;default:i={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":i[l]-=h*(n&&d?-1:1);break;case"end":i[l]+=h*(n&&d?-1:1)}return i}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=i(c,r,u),f=r,h={},m=0;for(let n=0;n<l.length;n++){let{name:s,fn:g}=l[n],{x:v,y:y,data:b,reset:E}=await g({x:d,y:p,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=v?v:d,p=null!=y?y:p,h={...h,[s]:{...h[s],...b}},E&&m<=50&&(m++,"object"==typeof E&&(E.placement&&(f=E.placement),E.rects&&(c=!0===E.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:d,y:p}=i(c,f,u)),n=-1)}return{x:d,y:p,placement:f,strategy:o,middlewareData:h}};async function s(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:s,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),g=l[f?"floating"===p?"reference":"floating":p],v=(0,r.B1)(await s.getClippingRect({element:null==(n=await (null==s.isElement?void 0:s.isElement(g)))||n?g:g.contextElement||await (null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),y="floating"===p?{x:i,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating)),E=await (null==s.isElement?void 0:s.isElement(b))&&await (null==s.getScale?void 0:s.getScale(b))||{x:1,y:1},x=(0,r.B1)(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-x.top+m.top)/E.y,bottom:(x.bottom-v.bottom+m.bottom)/E.y,left:(v.left-x.left+m.left)/E.x,right:(x.right-v.right+m.right)/E.x}}function a(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return r.r_.some(t=>e[t]>=0)}let u=new Set(["left","top"]);async function c(e,t){let{placement:n,platform:i,elements:o}=e,s=await (null==i.isRTL?void 0:i.isRTL(o.floating)),a=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),d=u.has(a)?-1:1,p=s&&c?-1:1,f=(0,r._3)(t,e),{mainAxis:h,crossAxis:m,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof g&&(m="end"===l?-1*g:g),c?{x:m*p,y:h*d}:{x:h*d,y:m*p}}var d=n(84974);function p(e){let t=(0,d.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=(0,d.sb)(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:i,l=(0,r.LI)(n)!==s||(0,r.LI)(i)!==a;return l&&(n=s,i=a),{width:n,height:i,$:l}}function f(e){return(0,d.vq)(e)?e:e.contextElement}function h(e){let t=f(e);
169if(!(0,d.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:s}=p(t),a=(s?(0,r.LI)(n.width):n.width)/i,l=(s?(0,r.LI)(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let m=(0,r.Jx)(0);function g(e){let t=(0,d.zk)(e);return(0,d.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:m}function v(e,t,n,i){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),a=f(e),l=(0,r.Jx)(1);t&&(i?(0,d.vq)(i)&&(l=h(i)):l=h(e));let u=(void 0===(o=n)&&(o=!1),i&&(!o||i===(0,d.zk)(a))&&o)?g(a):(0,r.Jx)(0),c=(s.left+u.x)/l.x,p=(s.top+u.y)/l.y,m=s.width/l.x,v=s.height/l.y;if(a){let e=(0,d.zk)(a),t=i&&(0,d.vq)(i)?(0,d.zk)(i):i,n=e,r=(0,d._m)(n);for(;r&&i&&t!==n;){let e=h(r),t=r.getBoundingClientRect(),i=(0,d.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,p*=e.y,m*=e.x,v*=e.y,c+=o,p+=s,n=(0,d.zk)(r),r=(0,d._m)(n)}}return(0,r.B1)({width:m,height:v,x:c,y:p})}function y(e,t){let n=(0,d.CP)(e).scrollLeft;return t?t.left+n:v((0,d.ep)(e)).left+n}function b(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:y(e,r)),y:r.top+t.scrollTop}}let E=new Set(["absolute","fixed"]);function x(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,d.zk)(e),r=(0,d.ep)(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=(0,d.Tc)();(!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)i=function(e){let t=(0,d.ep)(e),n=(0,d.CP)(e),i=e.ownerDocument.body,o=(0,r.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=(0,r.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),a=-n.scrollLeft+y(e),l=-n.scrollTop;return"rtl"===(0,d.L9)(i).direction&&(a+=(0,r.T9)(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:a,y:l}}((0,d.ep)(e));else if((0,d.vq)(t))i=function(e,t){let n=v(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=(0,d.sb)(e)?h(e):(0,r.Jx)(1),a=e.clientWidth*s.x,l=e.clientHeight*s.y;return{width:a,height:l,x:o*s.x,y:i*s.y}}(t,n);else{let n=g(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(i)}function T(e){return"static"===(0,d.L9)(e).position}function w(e,t){if(!(0,d.sb)(e)||"fixed"===(0,d.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,d.ep)(e)===n&&(n=n.ownerDocument.body),n}function C(e,t){let n=(0,d.zk)(e);if((0,d.Tf)(e))return n;if(!(0,d.sb)(e)){let t=(0,d.$4)(e);for(;t&&!(0,d.eu)(t);){if((0,d.vq)(t)&&!T(t))return t;t=(0,d.$4)(t)}return n}let r=w(e,t);for(;r&&(0,d.Lv)(r)&&T(r);)r=w(r,t);return r&&(0,d.eu)(r)&&T(r)&&!(0,d.sQ)(r)?n:r||(0,d.gJ)(e)||n}let _=async function(e){let t=this.getOffsetParent||C,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,d.sb)(t),o=(0,d.ep)(t),s="fixed"===n,a=v(e,!0,s,t),l={scrollLeft:0,scrollTop:0},u=(0,r.Jx)(0);if(i||!i&&!s)if(("body"!==(0,d.mq)(t)||(0,d.ZU)(o))&&(l=(0,d.CP)(t)),i){let e=v(t,!0,s,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=y(o));s&&!i&&o&&(u.x=y(o));let c=!o||i||s?(0,r.Jx)(0):b(o,l);return{x:a.left+l.scrollLeft-u.x-c.x,y:a.top+l.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},k={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e,s="fixed"===o,a=(0,d.ep)(i),l=!!t&&(0,d.Tf)(t.floating);if(i===a||l&&s)return n;let u={scrollLeft:0,scrollTop:0},c=(0,r.Jx)(1),p=(0,r.Jx)(0),f=(0,d.sb)(i);if((f||!f&&!s)&&(("body"!==(0,d.mq)(i)||(0,d.ZU)(a))&&(u=(0,d.CP)(i)),(0,d.sb)(i))){let e=v(i);c=h(i),p.x=e.x+i.clientLeft,p.y=e.y+i.clientTop}let m=!a||f||s?(0,r.Jx)(0):b(a,u,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+p.x+m.x,y:n.y*c.y-u.scrollTop*c.y+p.y+m.y}},getDocumentElement:d.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,s=[..."clippingAncestors"===n?(0,d.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,d.v9)(e,[],!1).filter(e=>(0,d.vq)(e)&&"body"!==(0,d.mq)(e)),i=null,o="fixed"===(0,d.L9)(e).position,s=o?(0,d.$4)(e):e;for(;(0,d.vq)(s)&&!(0,d.eu)(s);){let t=(0,d.L9)(s),n=(0,d.sQ)(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&E.has(i.position)||(0,d.ZU)(s)&&!n&&function e(t,n){let r=(0,d.$4)(t);return!(r===n||!(0,d.vq)(r)||(0,d.eu)(r))&&("fixed"===(0,d.L9)(r).position||e(r,n))}(e,s))?r=r.filter(e=>e!==s):i=t,s=(0,d.$4)(s)}return t.set(e,r),r}(t,this._c):[].concat(n),i],a=s[0],l=s.reduce((e,n)=>{let i=x(t,n,o);return e.top=(0,r.T9)(i.top,e.top),e.right=(0,r.jk)(i.right,e.right),e.bottom=(0,r.jk)(i.bottom,e.bottom),e.left=(0,r.T9)(i.left,e.left),e},x(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:C,getElementRects:_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=p(e);return{width:t,height:n}},getScale:h,isElement:d.vq,isRTL:function(e){return"rtl"===(0,d.L9)(e).direction}};function S(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function N(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,p=f(e),h=s||a?[...p?(0,d.v9)(p):[],...(0,d.v9)(t)]:[];
169h.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let m=p&&u?function(e,t){let n,i=null,o=(0,d.ep)(e);function s(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function a(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),s();let c=e.getBoundingClientRect(),{left:d,top:p,width:f,height:h}=c;if(l||t(),!f||!h)return;let m=(0,r.RI)(p),g=(0,r.RI)(o.clientWidth-(d+f)),v={rootMargin:-m+"px "+-g+"px "+-(0,r.RI)(o.clientHeight-(p+h))+"px "+-(0,r.RI)(d)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,u))||1},y=!0;function b(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||S(c,e.getBoundingClientRect())||a(),y=!1}try{i=new IntersectionObserver(b,{...v,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(b,v)}i.observe(e)}(!0),s}(p,n):null,g=-1,y=null;l&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!c&&y.observe(p),y.observe(t));let b=c?v(e):null;return c&&function t(){let r=v(e);b&&!S(b,r)&&n(),b=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,c&&cancelAnimationFrame(o)}}let A=s,D=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:s,middlewareData:a}=t,l=await 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}}}}},I=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),d={x:n,y:i},p=await s(t,c),f=(0,r.TV)((0,r.C0)(o)),h=(0,r.PG)(f),m=d[h],g=d[f];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+p[e],i=m-p[t];m=(0,r.qE)(n,m,i)}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=g+p[e],i=g-p[t];g=(0,r.qE)(n,g,i)}let v=u.fn({...t,[h]:m,[f]:g});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[h]:a,[f]:l}}}}}},O=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,a,l;let{placement:u,middlewareData:c,rects:d,initialPlacement:p,platform:f,elements:h}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:E=!0,...x}=(0,r._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let T=(0,r.C0)(u),w=(0,r.TV)(p),C=(0,r.C0)(p)===p,_=await (null==f.isRTL?void 0:f.isRTL(h.floating)),k=v||(C||!E?[(0,r.bV)(p)]:(0,r.WJ)(p)),S="none"!==b;!v&&S&&k.push(...(0,r.lP)(p,E,b,_));let N=[p,...k],A=await s(t,x),D=[],I=(null==(i=c.flip)?void 0:i.overflows)||[];if(m&&D.push(A[T]),g){let e=(0,r.w7)(u,d,_);D.push(A[e[0]],A[e[1]])}if(I=[...I,{placement:u,overflows:D}],!D.every(e=>e<=0)){let e=((null==(o=c.flip)?void 0:o.index)||0)+1,t=N[e];if(t&&("alignment"!==g||w===(0,r.TV)(t)||I.every(e=>e.overflows[0]>0&&(0,r.TV)(e.placement)===w)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(a=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(y){case"bestFit":{let e=null==(l=I.filter(e=>{if(S){let t=(0,r.TV)(e.placement);return t===w||"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:l[0];e&&(n=e);break}case"initialPlacement":n=p}if(u!==n)return{reset:{placement:n}}}return{}}}},F=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let o,a,{placement:l,rects:u,platform:c,elements:d}=t,{apply:p=()=>{},...f}=(0,r._3)(e,t),h=await s(t,f),m=(0,r.C0)(l),g=(0,r.Sg)(l),v="y"===(0,r.TV)(l),{width:y,height:b}=u.floating;"top"===m||"bottom"===m?(o=m,a=g===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(a=m,o="end"===g?"top":"bottom");let E=b-h.top-h.bottom,x=y-h.left-h.right,T=(0,r.jk)(b-h[o],E),w=(0,r.jk)(y-h[a],x),C=!t.middlewareData.shift,_=T,k=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=x),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(_=E),C&&!g){let e=(0,r.T9)(h.left,0),t=(0,r.T9)(h.right,0),n=(0,r.T9)(h.top,0),i=(0,r.T9)(h.bottom,0);v?k=y-2*(0!==e||0!==t?e+t:(0,r.T9)(h.left,h.right)):_=b-2*(0!==n||0!==i?n+i:(0,r.T9)(h.top,h.bottom))}await p({...t,availableWidth:k,availableHeight:_});let S=await c.getDimensions(d.floating);return y!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}},R=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...o}=(0,r._3)(e,t);switch(i){case"referenceHidden":{let e=a(await s(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=a(await s(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},L=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:s,platform:a,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,r._3)(e,t)||{};if(null==c)return{};let p=(0,r.nI)(d),f={x:n,y:i},h=(0,r.Dz)(o),m=(0,r.sq)(h),g=await a.getDimensions(c),v="y"===h,y=v?"clientHeight":"clientWidth",b=s.reference[m]+s.reference[h]-f[h]-s.floating[m],E=f[h]-s.reference[h],x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),T=x?x[y]:0;T&&await (null==a.isElement?void 0:a.isElement(x))||(T=l.floating[y]||s.floating[m]);let w=T/2-g[m]/2-1,C=(0,r.jk)(p[v?"top":"left"],w),_=(0,r.jk)(p[v?"bottom":"right"],w),k=T-g[m]-_,S=T/2-g[m]/2+(b/2-E/2),N=(0,r.qE)(C,S,k),A=!u.arrow&&null!=(0,r.Sg)(o)&&S!==N&&s.reference[m]/2-(S<C?C:_)-g[m]/2<0,D=A?S<C?S-C:S-k:0;return{[h]:f[h]+D,data:{[h]:N,centerOffset:S-N-D,...A&&{alignmentOffset:D}},reset:A}}}),M=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:o,rects:s,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=(0,r._3)(e,t),p={x:n,y:i},f=(0,r.TV)(o),h=(0,r.PG)(f),m=p[h],g=p[f],v=(0,r._3)(l,t),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){let e="y"===h?"height":"width",t=s.reference[h]-s.floating[e]+y.mainAxis,n=s.reference[h]+s.reference[e]-y.mainAxis;m<t?m=t:m>n&&(m=n)}if(d){var b,E;let e="y"===h?"width":"height",t=u.has((0,r.C0)(o)),n=s.reference[f]-s.floating[e]+(t&&(null==(b=a.offset)?void 0:b[f])||0)+(t?0:y.crossAxis),i=s.reference[f]+s.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[f])||0)-(t?y.crossAxis:0);g<n?g=n:g>i&&(g=i)}return{[h]:m,[f]:g}}}},P=(e,t,n)=>{let r=new Map,i={platform:k,...n},s={...i.platform,_c:r};return o(e,t,{...i,platform:s})}},81522:(e,t,n)=>{"use strict";n.d(t,{D:()=>u,S:()=>d});
169var r=n(86158),i=n(94587),o=n(74968),s=n(76131),a=n(16765),l=n(52924);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){let t=this._schema;switch(e.kind){case i.b.SELECTION_SET:{let e=(0,s.MR)(this.getType());this._parentTypeStack.push((0,s.ML)(e)?e:void 0);break}case i.b.FIELD:{let n,r,i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push((0,s.oH)(r)?r:void 0);break}case i.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.b.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push((0,s.YQ)(n)?n:void 0);break}case i.b.INLINE_FRAGMENT:case i.b.FRAGMENT_DEFINITION:{let 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 i.b.VARIABLE_DEFINITION:{let n=(0,l.v)(t,e.type);this._inputTypeStack.push((0,s.dX)(n)?n:void 0);break}case i.b.ARGUMENT:{var n;let t,r,i=null!=(n=this.getDirective())?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(r)?r:void 0);break}case i.b.LIST:{let 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 i.b.OBJECT_FIELD:{let t,n,r=(0,s.MR)(this.getInputType());(0,s.qK)(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(t)?t:void 0);break}case i.b.ENUM:{let t,n=(0,s.MR)(this.getInputType());(0,s.oF)(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case i.b.SELECTION_SET:this._parentTypeStack.pop();break;case i.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.b.DIRECTIVE:this._directive=null;break;case i.b.OPERATION_DEFINITION:case i.b.INLINE_FRAGMENT:case i.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.b.LIST:case i.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.b.ENUM:this._enumValue=null}}}function c(e,t,n){let 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){let i=n[0];e.enter(i);let s=(0,o.XO)(t,i.kind).enter;if(s){let o=s.apply(t,n);return void 0!==o&&(e.leave(i),(0,r.Ll)(o)&&e.enter(o)),o}},leave(...n){let r,i=n[0],s=(0,o.XO)(t,i.kind).leave;return s&&(r=s.apply(t,n)),e.leave(i),r}}}},82944:e=>{"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},85875:(e,t,n)=>{"use strict";n.d(t,{FV:()=>d,N1:()=>f,YC:()=>h,kk:()=>p,qS:()=>c});var r=n(77016),i=n(22366),o=n(32506),s=n(94587),a=n(8056),l=n(76131);let u=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){let t=m(e);if("boolean"==typeof t)return+!!t;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new o.eO(`Int cannot represent non-integer value: ${(0,r.N)(t)}`);if(n>0x7fffffff||n<-0x80000000)throw new o.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 o.eO(`Int cannot represent non-integer value: ${(0,r.N)(e)}`);
169if(e>0x7fffffff||e<-0x80000000)throw new o.eO(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==s.b.INT)throw new o.eO(`Int cannot represent non-integer value: ${(0,a.y)(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>0x7fffffff||t<-0x80000000)throw new o.eO(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),c=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){let t=m(e);if("boolean"==typeof t)return+!!t;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new o.eO(`Float cannot represent non numeric value: ${(0,r.N)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new o.eO(`Float cannot represent non numeric value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==s.b.FLOAT&&e.kind!==s.b.INT)throw new o.eO(`Float cannot represent non numeric value: ${(0,a.y)(e)}`,e);return parseFloat(e.value)}}),d=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){let t=m(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 o.eO(`String cannot represent value: ${(0,r.N)(e)}`)},parseValue(e){if("string"!=typeof e)throw new o.eO(`String cannot represent a non string value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==s.b.STRING)throw new o.eO(`String cannot represent a non string value: ${(0,a.y)(e)}`,{nodes:e});return e.value}}),p=new l.Ag({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=m(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new o.eO(`Boolean cannot represent a non boolean value: ${(0,r.N)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new o.eO(`Boolean cannot represent a non boolean value: ${(0,r.N)(e)}`);return e},parseLiteral(e){if(e.kind!==s.b.BOOLEAN)throw new o.eO(`Boolean cannot represent a non boolean value: ${(0,a.y)(e)}`,{nodes:e});return e.value}}),f=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){let t=m(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new o.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 o.eO(`ID cannot represent value: ${(0,r.N)(e)}`)},parseLiteral(e){if(e.kind!==s.b.STRING&&e.kind!==s.b.INT)throw new o.eO("ID cannot represent a non-string and non-integer value: "+(0,a.y)(e),{nodes:e});return e.value}}),h=Object.freeze([d,u,c,p,f]);function m(e){if((0,i.Z)(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!(0,i.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}},86158:(e,t,n)=>{"use strict";var r;n.d(t,{Ll:()=>l,aD:()=>s,aZ:()=>i,cE:()=>r,ou:()=>o});class i{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 o{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}}}let s={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:[],Float
169Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(s));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},88836:(e,t,n)=>{"use strict";var r=n(82944);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")}},93105:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,I:()=>s});var r=n(58287),i=n(32506),o=n(7743);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)}},93960:(e,t,n)=>{"use strict";var r,i,o=Object.create,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))c.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},p={};((e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})})(p,{$dispatcherGuard:()=>C,$makeReadOnly:()=>k,$reset:()=>_,$structuralCheck:()=>I,c:()=>b,clearRenderCounterRegistry:()=>N,renderCounterRegistry:()=>S,useRenderCounter:()=>A}),e.exports=d(s({},"__esModule",{value:!0}),p);var f=((e,t,n)=>(n=null!=e?o(u(e)):{},d(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)))(n(14232)),{useRef:h,useEffect:m,isValidElement:g}=f,v=null!=(r=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?r:f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.memo_cache_sentinel"),b="function"==typeof(null==(i=f.__COMPILER_RUNTIME)?void 0:i.c)?f.__COMPILER_RUNTIME.c:function(e){return f.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=y;return t[y]=!0,t},[])},E={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{E[e]=()=>{throw 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 x=null;function T(e){return v.ReactCurrentDispatcher.current=e,v.ReactCurrentDispatcher.current}E.useMemoCache=e=>{if(null!=x)return x.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var w=[];function C(e){let t=v.ReactCurrentDispatcher.current;if(0===e){if(w.push(t),1===w.length&&(x=t),t===E)throw 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.");T(E)}else if(1===e){let e=w.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===w.length&&(x=null),T(e)}else if(2===e)w.push(t),T(x);else if(3===e){let e=w.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");T(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function _(e){for(let t=0;t<e.length;t++)e[t]=y}function k(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var S=new Map;
169function N(){for(let e of S.values())e.forEach(e=>{e.count=0})}function A(e){let t=h(null);null!=t.current&&(t.current.count+=1),m(()=>{if(null==t.current){let n,r={count:0};null==(n=S.get(e))&&(n=new Set,S.set(e,n)),n.add(r),t.current=r}return()=>{null!==t.current&&function(e,t){let n=S.get(e);null!=n&&n.delete(t)}(e,t.current)}})}var D=new Set;function I(e,t,n,r,i,o){function s(e,t,s,a){let l=`${r}:${o} [${i}] ${n}${s} changed from ${e} to ${t} at depth ${a}`;D.has(l)||(D.add(l),console.error(l))}!function e(t,n,r,i){if(!(i>2)){if(t!==n)if(typeof t!=typeof n)s(`type ${typeof t}`,`type ${typeof n}`,r,i);else if("object"==typeof t){let 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(let[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(let 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(g(t)||g(n))g(t)!==g(n)?s(`type ${g(t)?"React element":"object"}`,`type ${g(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(let e in n)e in t||s(`object without key ${e}`,`object with key ${e}`,r,i);for(let 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)}},94587:(e,t,n)=>{"use strict";var 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={}))},94882:(e,t,n)=>{"use strict";n.d(t,{BN:()=>f,ER:()=>h,Ej:()=>g,UE:()=>y,UU:()=>m,cY:()=>p,jD:()=>v,we:()=>d});var r=n(80400),i=n(14232),o=n(98477),s="undefined"!=typeof document?i.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;
vendor: 2,545 bytes, line 169
169if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return s(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:v}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[E,x]=i.useState(d);a(E,d)||x(d);let[T,w]=i.useState(null),[C,_]=i.useState(null),k=i.useCallback(e=>{e!==D.current&&(D.current=e,w(e))},[]),S=i.useCallback(e=>{e!==I.current&&(I.current=e,_(e))},[]),N=f||T,A=h||C,D=i.useRef(null),I=i.useRef(null),O=i.useRef(y),F=null!=g,R=c(g),L=c(p),M=c(v),P=i.useCallback(()=>{if(!D.current||!I.current)return;let e={placement:t,strategy:n,middleware:E};L.current&&(e.platform=L.current),(0,r.rD)(D.current,I.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};j.current&&!a(O.current,t)&&(O.current=t,o.flushSync(()=>{b(t)}))})},[E,t,n,L,M]);s(()=>{!1===v&&O.current.isPositioned&&(O.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let j=i.useRef(!1);s(()=>(j.current=!0,()=>{j.current=!1}),[]),s(()=>{if(N&&(D.current=N),A&&(I.current=A),N&&A){if(R.current)return R.current(N,A,P);P()}},[N,A,P,R,F]);let V=i.useMemo(()=>({reference:D,floating:I,setReference:k,setFloating:S}),[k,S]),$=i.useMemo(()=>({reference:N,floating:A}),[N,A]),B=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!$.floating)return e;let t=u($.floating,y.x),r=u($.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,$.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:P,refs:V,elements:$,floatingStyles:B}),[y,P,V,$,B])}let p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),f=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),h=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),m=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),v=(e,t)=>
169({...(0,r.jD)(e),options:[e,t]}),y=(e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}}))(e),options:[e,t]})},95222:()=>{},99680:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.