@chillicream/nitro-embedded 22.0.0 → 23.0.0-insider.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{var e={50072:(e,t,n)=>{"use strict";n.d(t,{K6y:()=>i.K6,SWZ:()=>d,ECv:()=>l,qaW:()=>u.q,x_1:()=>s.x,GUQ:()=>u.GU,vXE:()=>c,LDz:()=>s.L});var i=n(3455),s=(n(52396),n(37551)),o=(n(75885),n(99850)),a=n(28511);let r=function(e){return e.SDL_SCHEMA="sdl-schema",e.STATISTICS="statistics",e.ITEMS="items",e}({});function c(e,t,n,i){return(0,o.SE)(["schema","schema-attachment"],"readwrite",(async s=>{const o=await s.store.schema.get(e);o&&o.hash===t&&!o.indexed&&await Promise.all([s.store.schema.put({...o,indexed:!0}),s.store.schemaAttachment.put({endpoint:e,kind:r.ITEMS,value:n}),s.store.schemaAttachment.put({endpoint:e,kind:r.STATISTICS,value:i}),s.done])}))}function d(e){const t=(0,a.c9)(e);return(0,o.EL)("schema",t)}async function l(e){const t=(0,a.c9)(e),n=await(0,o.EL)("schema-attachment",[t,r.SDL_SCHEMA]);return function(e){return!!e&&e.kind===r.SDL_SCHEMA}(n)?n.value:void 0}var u=n(21244);n(85233),n(9416),n(54700),n(57731),n(95616),n(54161),n(19518)},2622:(e,t,n)=>{"use strict";n(75885),n(99850),n(65107),n(59943)},52396:(e,t,n)=>{"use strict";n(46114),n(22197),n(13939),n(43351),n(2622),n(62316),n(36022),n(45155),n(49997),n(57928),n(2813),n(32990),n(37669),n(35033),n(75885),n(99850),n(28511),n(65107),n(59943);n(82545),n(19340),n(37532),n(94120),n(43744),n(5250),n(2091)},65107:(e,t,n)=>{"use strict"},59943:(e,t,n)=>{"use strict";n(76523),n(5084),n(75885),n(23845),n(99850),n(54700),n(28511),n(65107)},9416:(e,t,n)=>{"use strict";n.d(t,{Hw:()=>i,JZ:()=>o,X:()=>a,wv:()=>s});const i="no-auth",s="bearer",o="oauth2",a="basic"},11081:(e,t,n)=>{"use strict";var i=n(4537),s=(n(78238),n(20709));n(62316),n(93967),n(54913),n(75885);var o=n(23845),a=n(28511),r=n(20278),c=n(41192);new s.Environment({network:s.Network.create(((e,t,n)=>s.Observable.from((0,i.L)("/graphql")).mergeMap((n=>s.Observable.create((i=>s.Observable.from(new Promise(((s,r)=>{(async function(n,i){try{const{uri:s,headers:r}=i;r.set(o.VX,"application/json");const d=await fetch(s,{body:JSON.stringify(e.id?{id:e.id,variables:t}:{query:e.text,variables:t}),headers:r,method:"POST"}),l=await(0,c.z)(d);if((0,a.Td)(l))for await(const e of l){if(!e.json){n.error(new Error("Failed to parse part as json."));break}if("data"in e.body&&n.next(e.body),"incremental"in e.body)for(const t of e.body.incremental)if("data"in t)n.next({...t,hasNext:e.body.hasNext});else if(t.items){const i=t.path.slice(0,-1);let s=t.path.at(-1);for(const o of t.items)n.next({...t,path:i.concat(s++),data:o,hasNext:e.body.hasNext})}else n.next({...t,data:t.items,hasNext:e.body.hasNext})}else n.next(await l.json());n.complete()}catch(s){s instanceof Error?n.error(s,!0):n.error(new Error("Unknown error"),!0)}})(i,n).then(s,r)}))).subscribe({})))))),((e,t)=>s.Observable.from((0,i.L)("/graphql")).map((e=>{let{uri:t,headers:n}=e;const i={};return n.forEach(((e,t)=>{i[t]=e})),(0,r.UU)({url:t,headers:i})})).mergeMap((n=>s.Observable.create((i=>{var s,o;const a=n.subscribe({id:null!==(s=e.id)&&void 0!==s?s:void 0,query:null!==(o=e.text)&&void 0!==o?o:"",variables:t},{next:e=>{var t;let{data:n,errors:s,extensions:o}=e;return i.next({data:null!==n&&void 0!==n?n:void 0,errors:null!==(t=null===s||void 0===s?void 0:s.map((e=>{var t;return{message:e.message,locations:null===(t=e.locations)||void 0===t?void 0:t.map((e=>{let{line:t,column:n}=e;return{line:t,column:n}}))}})))&&void 0!==t?t:[],extensions:o})},complete:i.complete,error:e=>{e instanceof Error?i.error(e,!0):i.error(new Error("Unknown error"),!0)}});return{closed:i.closed,unsubscribe:a}})))))),store:new s.Store(new s.RecordSource)});n(77122)},97353:(e,t,n)=>{"use strict";n.d(t,{CM:()=>i,x8:()=>d,IK:()=>l});let i=function(e){return e.SCHEMA_FIELD="__schema",e.TYPENAME_FIELD="__typename",e.TYPE_FIELD="__type",e.TYPE_FIELDS_FIELD="fields",e.TYPE_INTERFACES_FIELD="interfaces",e.TYPE_POSSIBLE_TYPES_FIELD="possibleTypes",e.TYPE_INPUT_FIELDS_FIELD="inputFields",e}({});const s="@",o=":",a=".",r="(",c=")";function d(e,t){const n=s+e;return t?u(n,t):n}function l(e,t,n){const i=e+a+t;return n?u(i,n):i}function u(e,t){return e+r+t+o+c}},15793:(e,t,n)=>{"use strict"},21333:(e,t,n)=>{"use strict";var i=n(40409),s=(n(75885),n(50072)),o=n(56242),a=n(90126),r=n(47924),c=n(18706),d=n(77740);const l="schema-indexed",u=new Map;function p(e,t){let{id:n,payload:{schemaEndpoint:i,schemaHash:p,schemaUpdatedAt:h}}=e;const f=u.get(i);if(f){if(f.schemaHash===p||f.schemaUpdatedAt>h)return;(0,r.yX)(f.taskId)}u.set(i,{taskId:n,schemaHash:p,schemaUpdatedAt:h});const v=new AbortController;(0,r.UT)({id:n,cancel:()=>v.abort(),execute:async()=>{const[e,n]=await Promise.all([(0,s.SWZ)(i),(0,s.ECv)(i)]);var r,u,p;if(!e||!n||e.indexed||v.signal.aborted)return void t.sendMessage(new a.Q(l,{schemaEndpoint:null!==(r=null===e||void 0===e?void 0:e.endpoint)&&void 0!==r?r:i,schemaHash:null!==(u=null===e||void 0===e?void 0:e.hash)&&void 0!==u?u:"",schemaIndexed:null!==(p=null===e||void 0===e?void 0:e.indexed)&&void 0!==p&&p}));let h=!1;try{const{statistics:t,items:i}=(0,d.SP)((0,c.I)(n));(0,o.zL)(e.endpoint,i),await(0,s.vXE)(e.endpoint,e.hash,i,t),h=!0}finally{t.sendMessage(new a.Q(l,{schemaEndpoint:e.endpoint,schemaHash:e.hash,schemaIndexed:h}))}}})}class h extends i.H{registerMessageReceiveHandlers(){this.registerReceiveMessageHandler("index-schema",p)}}new h},77740:(e,t,n)=>{"use strict";n.d(t,{CN:()=>i.CN,SP:()=>s.SP,cN:()=>i.cN,zX:()=>i.zX});n(49117),n(53543),n(67889),n(25119),n(84165);var i=n(29232),s=n(57745);n(14881)},29232:(e,t,n)=>{"use strict";n.d(t,{CN:()=>s,SA:()=>d,cN:()=>r,yX:()=>o,zX:()=>c});n(62316),n(15793);var i=n(90126);const s="cancel-task";function o(e,t){e.sendMessage(new i.Q(s,{taskId:t}))}const a="task-failed";function r(e,t,n,s,o){e.sendMessage(new i.Q(a,{errorMessage:n,kind:s,details:o},t))}class c extends Error{constructor(e,t,n){super(e),this.kind=t,this.details=n}}function d(e){return e.type===a}},56242:(e,t,n)=>{"use strict";n.d(t,{zL:()=>f});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(50072),n(97353)),a=n(28511),r=(0,s.A)("schemaCache");var c=(0,s.A)("directives"),d=(0,s.A)("fields"),l=(0,s.A)("types"),u=(0,s.A)("introspectionFields");class p{constructor(e){Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),(0,i.A)(this,c)[c]=new Map(e.directives),(0,i.A)(this,d)[d]=new Map(e.fields),(0,i.A)(this,l)[l]=new Map(e.types),(0,i.A)(this,u)[u]=new Map(e.fields)}getDirectives(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,c)[c].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,c)[c].forEach((e=>{t.push(e)}));return t.sort(a.Am)}getField(e){var t;return null!==(t=(0,i.A)(this,d)[d].get(e))&&void 0!==t?t:null}getFields(e,t){var n;const s=e+".",o=[];if(null!==t&&void 0!==t&&t.includeIntrospectionFields&&this.addIntrospectionFields(e,o),null!==t&&void 0!==t&&null!==(n=t.filter)&&void 0!==n&&n.length){const e=t.filter.toLocaleLowerCase();(0,i.A)(this,d)[d].forEach((t=>{t.coordinate.startsWith(s)&&t.name.toLocaleLowerCase().includes(e)&&o.push(t)}))}else(0,i.A)(this,d)[d].forEach((e=>{e.coordinate.startsWith(s)&&o.push(e)}));return o.sort(a.Am)}getType(e){var t;return null!==(t=(0,i.A)(this,l)[l].get(e))&&void 0!==t?t:null}getTypes(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,l)[l].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,l)[l].forEach((e=>{t.push(e)}));return t.sort(a.Am)}getTypesByTypeKind(e,t){const n=[];if(null!==t&&void 0!==t&&t.length){const s=t.toLocaleLowerCase();(0,i.A)(this,l)[l].forEach((t=>{t.typeKind===e&&t.name.toLocaleLowerCase().includes(s)&&n.push(t)}))}else(0,i.A)(this,l)[l].forEach((t=>{t.typeKind===e&&n.push(t)}));return n.sort(a.Am)}dispose(){(0,i.A)(this,c)[c].clear(),(0,i.A)(this,d)[d].clear(),(0,i.A)(this,l)[l].clear()}addIntrospectionFields(e,t){const n=(0,i.A)(this,l)[l].get(e),s="query-type"===(null===n||void 0===n?void 0:n.kind),o="subscription-type"===(null===n||void 0===n?void 0:n.kind);if(s){const e=this.getIntrospectionSchemaField(n.name);e&&t.push(e);const i=this.getIntrospectionTypeField(n.name);i&&t.push(i)}if(!o&&n){const e=this.getIntrospectionTypenameField(n.name);e&&t.push(e)}}getIntrospectionSchemaField(e){const t=o.CM.SCHEMA_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(!n){const s=(0,i.A)(this,l)[l].get("__Schema");s&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,u)[u].set(t,n))}return n}getIntrospectionTypeField(e){const t=o.CM.TYPE_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(!n){const s=(0,i.A)(this,l)[l].get("__Type"),a=(0,i.A)(this,l)[l].get("String");s&&a&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:s},arguments:[{kind:"argument",name:"name",coordinate:(0,o.IK)(e,t,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:a}}]},(0,i.A)(this,u)[u].set(t,n))}return n}getIntrospectionTypenameField(e){const t=o.CM.TYPENAME_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(n)n={...n,coordinate:(0,o.IK)(e,o.CM.TYPE_FIELD)};else{const s=(0,i.A)(this,l)[l].get("String");s&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,u)[u].set(t,n))}return n}}const h=new class{constructor(){Object.defineProperty(this,r,{writable:!0,value:new a.Gc})}get(e){var t;return null!==(t=(0,i.A)(this,r)[r].get(e))&&void 0!==t?t:null}set(e,t){var n;const s=new p(t);return null===(n=(0,i.A)(this,r)[r].get(e))||void 0===n||n.dispose(),(0,i.A)(this,r)[r].set(e,s),s}remove(e){var t;null===(t=(0,i.A)(this,r)[r].get(e))||void 0===t||t.dispose(),(0,i.A)(this,r)[r].delete(e)}};function f(e,t){h.set((0,a.c9)(e),t)}},57745:(e,t,n)=>{"use strict";n.d(t,{SP:()=>a});n(36022),n(75885),n(50072);var i=n(97353),s=n(28511),o=n(77929);n(56242);function a(e){const t=[],n=[],i=[],s=Object.values(e.getTypeMap()),a=e.getQueryType(),r=e.getMutationType(),u=e.getSubscriptionType(),p={queryCount:f(a),mutationCount:f(r),subscriptionCount:f(u),directiveCount:e.getDirectives().length,enumCount:s.filter((e=>e instanceof o.Zb)).length,inputObjectCount:s.filter((e=>e instanceof o.zP)).length,interfaceCount:s.filter((e=>e instanceof o.VA)).length,objectCount:s.filter((e=>e instanceof o.bh)).length,scalarCount:s.filter((e=>e instanceof o.Ag)).length,typeCount:s.length,unionCount:s.filter((e=>e instanceof o.hI)).length};for(const o of s){const t=l(e,o);i.push([t.coordinate,t]);const s=c(e,o);for(const e of s)n.push([e.coordinate,e])}for(const o of e.getDirectives()){const n=d(e,o);t.push([n.coordinate,n])}return{queryTypeName:null===a||void 0===a?void 0:a.name,mutationTypeName:null===r||void 0===r?void 0:r.name,subscriptionTypeName:null===u||void 0===u?void 0:u.name,statistics:p,items:{directives:t,fields:n,types:i}}}function r(e){return e instanceof o.Zb?"enum":e instanceof o.zP?"input-object":e instanceof o.VA?"interface":e instanceof o.Ag?"scalar":e instanceof o.hI?"union":e instanceof o.KT||e instanceof o.Gc?r(e.ofType):"object"}function c(e,t,n){const a=[];if(t instanceof o.zP){const s=t.getFields();for(const o in s){const d=s[o];var r,c;if(null===n||void 0===n||!n.length||o.toLocaleLowerCase().includes(n.toLocaleLowerCase()))a.push({coordinate:(0,i.IK)(t.name,d.name),name:d.name,kind:"field",description:d.description||void 0,valueType:p(e,d.type),defaultValue:d.defaultValue,isDeprecated:!(null===(r=d.deprecationReason)||void 0===r||!r.length),deprecationReason:null!==(c=d.deprecationReason)&&void 0!==c?c:void 0})}}else if(t instanceof o.VA||t instanceof o.bh){const s=t.getFields();for(const o in s){const r=s[o];if(null===n||void 0===n||!n.length||o.toLocaleLowerCase().includes(n.toLocaleLowerCase())){var d;const n=0===r.args.length?void 0:r.args.map((n=>{var s;const o=p(e,n.type);return{coordinate:(0,i.IK)(t.name,r.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:o,isDeprecated:!(null===(s=n.deprecationReason)||void 0===s||!s.length),deprecationReason:n.deprecationReason||void 0}}));a.push({coordinate:(0,i.IK)(t.name,r.name),name:r.name,kind:"field",description:r.description||void 0,arguments:n,valueType:p(e,r.type),isDeprecated:!(null===(d=r.deprecationReason)||void 0===d||!d.length),deprecationReason:r.deprecationReason||void 0})}}}return a.sort(s.Am)}function d(e,t){var n;const s=t.args.length?t.args.map((n=>{var s,o,a,r;const c=p(e,n.type);return{coordinate:(0,i.x8)(t.name,n.name),name:n.name,kind:"argument",description:null!==(s=n.description)&&void 0!==s?s:void 0,defaultValue:null!==(o=n.defaultValue)&&void 0!==o?o:void 0,type:c,isDeprecated:!(null===(a=n.deprecationReason)||void 0===a||!a.length),deprecationReason:null!==(r=n.deprecationReason)&&void 0!==r?r:void 0}})):void 0;return{coordinate:(0,i.x8)(t.name),name:t.name,kind:"directive",description:null!==(n=t.description)&&void 0!==n?n:void 0,arguments:s}}function l(e,t){let n,a,c,d=!1;return t instanceof o.Zb&&(n=t.getValues().map((e=>e)).sort(s.Am).map((e=>{var n,s;return{coordinate:(0,i.IK)(t.name,e.name),name:e.name,kind:"enum-value",description:e.description||void 0,value:e.value,isDeprecated:!(null===(n=e.deprecationReason)||void 0===n||!n.length),deprecationReason:null!==(s=e.deprecationReason)&&void 0!==s?s:void 0}}))),t instanceof o.VA&&(d=function(e,t){return"Node"===t.name&&!!function(e,t,n){if(t instanceof o.zP){const o=t.getFields()[n];var s,a;if(o)return{coordinate:(0,i.IK)(t.name,o.name),name:o.name,kind:"field",description:o.description||void 0,valueType:p(e,o.type),defaultValue:o.defaultValue,isDeprecated:!(null===(s=o.deprecationReason)||void 0===s||!s.length),deprecationReason:null!==(a=o.deprecationReason)&&void 0!==a?a:void 0}}else if(t instanceof o.VA||t instanceof o.bh){const s=t.getFields()[n];if(s){var r,c,d;const n=s.args.length?s.args.map((n=>{var o;const a=p(e,n.type);return{coordinate:(0,i.IK)(t.name,s.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:a,isDeprecated:!(null===(o=s.deprecationReason)||void 0===o||!o.length),deprecationReason:n.deprecationReason||void 0}})):void 0;return{coordinate:(0,i.IK)(t.name,s.name),name:s.name,kind:"field",description:null!==(r=s.description)&&void 0!==r?r:void 0,arguments:n,valueType:p(e,s.type),isDeprecated:!(null===(c=s.deprecationReason)||void 0===c||!c.length),deprecationReason:null!==(d=s.deprecationReason)&&void 0!==d?d:void 0}}}}(e,t,"id")}(e,t),c=e.getPossibleTypes(t).map((e=>e)).sort(s.Am).map((t=>p(e,t)))),t instanceof o.bh&&(d=u(e,t),a=t.getInterfaces().map((n=>({coordinate:n.name,name:n.name,kind:"type",description:n.description||void 0,typeKind:"interface",isRelayType:u(e,t)})))),t instanceof o.hI&&(c=t.getTypes().map((e=>e)).sort(s.Am).map((t=>p(e,t)))),{coordinate:t.name,name:t.name,kind:t instanceof o.bh?h(e,t):"type",description:t.description||void 0,typeKind:r(t),enumValues:n,interfaces:a,isRelayType:d,types:c}}function u(e,t){if(t.name.endsWith("Connection")){const n=c(e,t).map((e=>e.name));return n.includes("edges")&&n.includes("pageInfo")}if(t.name.endsWith("Edge")){const n=c(e,t).map((e=>e.name));return n.includes("cursor")&&n.includes("node")}if("PageInfo"===t.name){const n=c(e,t).map((e=>e.name));return n.includes("hasNextPage")&&n.includes("hasPreviousPage")&&n.includes("startCursor")&&n.includes("endCursor")}return!1}function p(e,t){let n,i,s=!1,a=!0;return t instanceof o.Gc?(a=!1,t.ofType instanceof o.KT?(n=t.ofType.ofType,s=!0):n=t.ofType):t instanceof o.KT?(n=t.ofType,s=!0):n=t,i=n instanceof o.KT||n instanceof o.Gc?p(e,n):l(e,n),{kind:"value-type",isList:s,isOptional:a,type:i}}function h(e,t){switch(!0){case t===e.getQueryType():return"query-type";case t===e.getMutationType():return"mutation-type";case t===e.getSubscriptionType():return"subscription-type";default:return"type"}}function f(e){return e?Object.keys(e.getFields()).length:0}},90126:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u,k:()=>l});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(23845)),a=n(29232),r=n(28511),c=(0,s.A)("handlers"),d=(0,s.A)("responseHandlers");class l{constructor(){Object.defineProperty(this,c,{writable:!0,value:[]}),Object.defineProperty(this,d,{writable:!0,value:new Map})}handleMessage(e,t){const n=(0,i.A)(this,d)[d].get(t.id);n?n(t,e):(0,i.A)(this,c)[c].filter((e=>e.type===t.type)).forEach((n=>{let{handle:i}=n;return i(t,e)}))}registerReceiveMessageHandler(e,t){const n={type:e,handle:t};return(0,i.A)(this,c)[c].push(n),()=>{const e=(0,i.A)(this,c)[c].indexOf(n);(0,i.A)(this,c)[c].splice(e,1)}}sendAndReceiveMessage(e){let t,n,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=arguments.length>2?arguments[2]:void 0;return(0,r.bA)((()=>{var e;return null===(e=n)||void 0===e?void 0:e()}),(()=>new Promise(((l,u)=>{n=()=>{self.clearTimeout(t),u(r.eC),(0,a.yX)(this.getContext(),e.id),(0,i.A)(this,d)[d].delete(e.id)},t=s?void 0:self.setTimeout((()=>{u("Timeout exceeded 60 sec."),(0,i.A)(this,d)[d].delete(e.id)}),o.iW),(0,i.A)(this,d)[d].set(e.id,(e=>{if(null===c||void 0===c||!c.aborted){if((0,a.SA)(e)){const{errorMessage:t,kind:n,details:i}=e.payload;u(new a.zX(t,n,i))}else l(e.payload);self.clearTimeout(t),(0,i.A)(this,d)[d].delete(e.id)}})),this.getContext().sendMessage(e)}))),c)}sendMessage(e){this.getContext().sendMessage(e)}}class u{constructor(e,t,n){this.type=e,this.payload=t,this.id=void 0,this.createdAt=void 0,this.id=n||(0,r.sX)(),this.createdAt=(0,r.tB)()}}},40409:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,u:()=>c});var i=n(4473),s=n(68341),o=n(77740),a=n(47924),r=n(90126);const c={sendMessage:e=>self.postMessage(e)};var d=(0,s.A)("context");class l extends r.k{constructor(){super(),Object.defineProperty(this,d,{writable:!0,value:{sendMessage:e=>self.postMessage(e)}}),this.initialize()}getContext(){return(0,i.A)(this,d)[d]}initialize(){self.onmessage=e=>{let{data:t}=e;this.handleMessage((0,i.A)(this,d)[d],t)},this.registerReceiveMessageHandler(o.CN,(e=>{(0,a.yX)(e.payload.taskId)})),this.registerMessageReceiveHandlers()}}},13798:(e,t,n)=>{"use strict";n(53358)},28511:(e,t,n)=>{"use strict";n.d(t,{eC:()=>i.eC,Gc:()=>h.G,Tp:()=>l.Tp,y1:()=>i.y1,bA:()=>i.bA,sX:()=>c,cb:()=>f.c,WG:()=>s.W,c9:()=>u.c,zf:()=>i.zf,Td:()=>m.Td,Hf:()=>m.Hf,aE:()=>v.a,Mn:()=>i.Mn,mv:()=>p.m,M_:()=>i.M_,tB:()=>d.tB,Am:()=>o.A});var i=n(82175),s=(n(29899),n(34818)),o=(n(17112),n(5198),n(27362)),a=(n(13798),n(32089));const r="|";function c(e){return e&&e.length>0?"".concat(e).concat(r).concat((0,a.Ak)()):(0,a.Ak)()}var d=n(85096),l=n(79968),u=(n(17957),n(63291),n(75468)),p=n(46765),h=n(50379),f=(n(20433),n(39876),n(72307),n(81370),n(6687),n(12777),n(4048),n(44812)),v=(n(99689),n(77415),n(32531)),m=n(53768)},20709:(e,t,n)=>{e.exports=n(82685)}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.m=e,n.x=()=>{var e=n.O(void 0,[461,676,86,305,264,72,126],(()=>n(21333)));return e=n.O(e)},(()=>{var e=[];n.O=(t,i,s,o)=>{if(!i){var a=1/0;for(l=0;l<e.length;l++){i=e[l][0],s=e[l][1],o=e[l][2];for(var r=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(n.O).every((e=>n.O[e](i[c])))?i.splice(c--,1):(r=!1,o<a&&(a=o));if(r){e.splice(l--,1);var d=s();void 0!==d&&(t=d)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[i,s,o]}})(),n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,i)=>(n.f[i](e,t),t)),[])),n.u=e=>461===e?"static/js/polyfills.48d5b45f.js":676===e?"static/js/676.48d5b45f.js":264===e?"static/js/264.48d5b45f.js":"static/js/"+e+"."+{72:"f9e3a51b",86:"e8257075",126:"4345da60",305:"ce4ec256"}[e]+".chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=856,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=i[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../../"})(),(()=>{var e={856:1};n.f.i=(t,i)=>{e[t]||importScripts(n.p+n.u(t))};var t=self.webpackChunknitro=self.webpackChunknitro||[],i=t.push.bind(t);t.push=t=>{var s=t[0],o=t[1],a=t[2];for(var r in o)n.o(o,r)&&(n.m[r]=o[r]);for(a&&a(n);s.length;)e[s.pop()]=1;i(t)}})(),(()=>{var e=n.x;n.x=()=>Promise.all([461,676,86,305,264,72,126].map(n.e,n)).then(e)})();n.x()})();
1
+ (()=>{var e={50072:(e,t,n)=>{"use strict";n.d(t,{K6y:()=>i.K6,SWZ:()=>d,ECv:()=>l,qaW:()=>u.q,x_1:()=>s.x,GUQ:()=>u.GU,vXE:()=>c,LDz:()=>s.L});var i=n(3455),s=(n(52396),n(37551)),o=(n(75885),n(99850)),a=n(28511);let r=function(e){return e.SDL_SCHEMA="sdl-schema",e.STATISTICS="statistics",e.ITEMS="items",e}({});function c(e,t,n,i){return(0,o.SE)(["schema","schema-attachment"],"readwrite",(async s=>{const o=await s.store.schema.get(e);o&&o.hash===t&&!o.indexed&&await Promise.all([s.store.schema.put({...o,indexed:!0}),s.store.schemaAttachment.put({endpoint:e,kind:r.ITEMS,value:n}),s.store.schemaAttachment.put({endpoint:e,kind:r.STATISTICS,value:i}),s.done])}))}function d(e){const t=(0,a.c9)(e);return(0,o.EL)("schema",t)}async function l(e){const t=(0,a.c9)(e),n=await(0,o.EL)("schema-attachment",[t,r.SDL_SCHEMA]);return function(e){return!!e&&e.kind===r.SDL_SCHEMA}(n)?n.value:void 0}var u=n(21244);n(85233),n(9416),n(54700),n(57731),n(95616),n(54161),n(19518)},2622:(e,t,n)=>{"use strict";n(75885),n(99850),n(65107),n(59943)},52396:(e,t,n)=>{"use strict";n(46114),n(22197),n(13939),n(43351),n(2622),n(62316),n(36022),n(45155),n(49997),n(57928),n(2813),n(32990),n(37669),n(35033),n(75885),n(99850),n(28511),n(65107),n(59943);n(82545),n(19340),n(37532),n(94120),n(43744),n(5250),n(2091)},65107:(e,t,n)=>{"use strict"},59943:(e,t,n)=>{"use strict";n(76523),n(5084),n(75885),n(23845),n(99850),n(54700),n(28511),n(65107)},9416:(e,t,n)=>{"use strict";n.d(t,{Hw:()=>i,JZ:()=>o,X:()=>a,wv:()=>s});const i="no-auth",s="bearer",o="oauth2",a="basic"},11081:(e,t,n)=>{"use strict";var i=n(4537),s=(n(78238),n(20709));n(62316),n(93967),n(54913),n(75885);var o=n(23845),a=n(28511),r=n(20278),c=n(41192);new s.Environment({network:s.Network.create(((e,t,n)=>s.Observable.from((0,i.L)("/graphql")).mergeMap((n=>s.Observable.create((i=>s.Observable.from(new Promise(((s,r)=>{(async function(n,i){try{const{uri:s,headers:r}=i;r.set(o.VX,"application/json");const d=await fetch(s,{body:JSON.stringify(e.id?{id:e.id,variables:t}:{query:e.text,variables:t}),headers:r,method:"POST"}),l=await(0,c.z)(d);if((0,a.Td)(l))for await(const e of l){if(!e.json){n.error(new Error("Failed to parse part as json."));break}if("data"in e.body&&n.next(e.body),"incremental"in e.body)for(const t of e.body.incremental)if("data"in t)n.next({...t,hasNext:e.body.hasNext});else if(t.items){const i=t.path.slice(0,-1);let s=t.path.at(-1);for(const o of t.items)n.next({...t,path:i.concat(s++),data:o,hasNext:e.body.hasNext})}else n.next({...t,data:t.items,hasNext:e.body.hasNext})}else n.next(await l.json());n.complete()}catch(s){s instanceof Error?n.error(s,!0):n.error(new Error("Unknown error"),!0)}})(i,n).then(s,r)}))).subscribe({})))))),((e,t)=>s.Observable.from((0,i.L)("/graphql")).map((e=>{let{uri:t,headers:n}=e;const i={};return n.forEach(((e,t)=>{i[t]=e})),(0,r.UU)({url:t,headers:i})})).mergeMap((n=>s.Observable.create((i=>{var s,o;const a=n.subscribe({id:null!==(s=e.id)&&void 0!==s?s:void 0,query:null!==(o=e.text)&&void 0!==o?o:"",variables:t},{next:e=>{var t;let{data:n,errors:s,extensions:o}=e;return i.next({data:null!==n&&void 0!==n?n:void 0,errors:null!==(t=null===s||void 0===s?void 0:s.map((e=>{var t;return{message:e.message,locations:null===(t=e.locations)||void 0===t?void 0:t.map((e=>{let{line:t,column:n}=e;return{line:t,column:n}}))}})))&&void 0!==t?t:[],extensions:o})},complete:i.complete,error:e=>{e instanceof Error?i.error(e,!0):i.error(new Error("Unknown error"),!0)}});return{closed:i.closed,unsubscribe:a}})))))),store:new s.Store(new s.RecordSource)});n(77122)},97353:(e,t,n)=>{"use strict";n.d(t,{CM:()=>i,x8:()=>d,IK:()=>l});let i=function(e){return e.SCHEMA_FIELD="__schema",e.TYPENAME_FIELD="__typename",e.TYPE_FIELD="__type",e.TYPE_FIELDS_FIELD="fields",e.TYPE_INTERFACES_FIELD="interfaces",e.TYPE_POSSIBLE_TYPES_FIELD="possibleTypes",e.TYPE_INPUT_FIELDS_FIELD="inputFields",e}({});const s="@",o=":",a=".",r="(",c=")";function d(e,t){const n=s+e;return t?u(n,t):n}function l(e,t,n){const i=e+a+t;return n?u(i,n):i}function u(e,t){return e+r+t+o+c}},15793:(e,t,n)=>{"use strict"},21333:(e,t,n)=>{"use strict";var i=n(40409),s=(n(75885),n(50072)),o=n(56242),a=n(90126),r=n(47924),c=n(18706),d=n(77740);const l="schema-indexed",u=new Map;function p(e,t){let{id:n,payload:{schemaEndpoint:i,schemaHash:p,schemaUpdatedAt:h}}=e;const f=u.get(i);if(f){if(f.schemaHash===p||f.schemaUpdatedAt>h)return;(0,r.yX)(f.taskId)}u.set(i,{taskId:n,schemaHash:p,schemaUpdatedAt:h});const v=new AbortController;(0,r.UT)({id:n,cancel:()=>v.abort(),execute:async()=>{const[e,n]=await Promise.all([(0,s.SWZ)(i),(0,s.ECv)(i)]);var r,u,p;if(!e||!n||e.indexed||v.signal.aborted)return void t.sendMessage(new a.Q(l,{schemaEndpoint:null!==(r=null===e||void 0===e?void 0:e.endpoint)&&void 0!==r?r:i,schemaHash:null!==(u=null===e||void 0===e?void 0:e.hash)&&void 0!==u?u:"",schemaIndexed:null!==(p=null===e||void 0===e?void 0:e.indexed)&&void 0!==p&&p}));let h=!1;try{const{statistics:t,items:i}=(0,d.SP)((0,c.I)(n));(0,o.zL)(e.endpoint,i),await(0,s.vXE)(e.endpoint,e.hash,i,t),h=!0}finally{t.sendMessage(new a.Q(l,{schemaEndpoint:e.endpoint,schemaHash:e.hash,schemaIndexed:h}))}}})}class h extends i.H{registerMessageReceiveHandlers(){this.registerReceiveMessageHandler("index-schema",p)}}new h},77740:(e,t,n)=>{"use strict";n.d(t,{CN:()=>i.CN,SP:()=>s.SP,cN:()=>i.cN,zX:()=>i.zX});n(49117),n(53543),n(67889),n(25119),n(84165);var i=n(29232),s=n(57745);n(14881)},29232:(e,t,n)=>{"use strict";n.d(t,{CN:()=>s,SA:()=>d,cN:()=>r,yX:()=>o,zX:()=>c});n(62316),n(15793);var i=n(90126);const s="cancel-task";function o(e,t){e.sendMessage(new i.Q(s,{taskId:t}))}const a="task-failed";function r(e,t,n,s,o){e.sendMessage(new i.Q(a,{errorMessage:n,kind:s,details:o},t))}class c extends Error{constructor(e,t,n){super(e),this.kind=t,this.details=n}}function d(e){return e.type===a}},56242:(e,t,n)=>{"use strict";n.d(t,{zL:()=>f});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(50072),n(97353)),a=n(28511),r=(0,s.A)("schemaCache");var c=(0,s.A)("directives"),d=(0,s.A)("fields"),l=(0,s.A)("types"),u=(0,s.A)("introspectionFields");class p{constructor(e){Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),(0,i.A)(this,c)[c]=new Map(e.directives),(0,i.A)(this,d)[d]=new Map(e.fields),(0,i.A)(this,l)[l]=new Map(e.types),(0,i.A)(this,u)[u]=new Map(e.fields)}getDirectives(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,c)[c].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,c)[c].forEach((e=>{t.push(e)}));return t.sort(a.Am)}getField(e){var t;return null!==(t=(0,i.A)(this,d)[d].get(e))&&void 0!==t?t:null}getFields(e,t){var n;const s=e+".",o=[];if(null!==t&&void 0!==t&&t.includeIntrospectionFields&&this.addIntrospectionFields(e,o),null!==t&&void 0!==t&&null!==(n=t.filter)&&void 0!==n&&n.length){const e=t.filter.toLocaleLowerCase();(0,i.A)(this,d)[d].forEach((t=>{t.coordinate.startsWith(s)&&t.name.toLocaleLowerCase().includes(e)&&o.push(t)}))}else(0,i.A)(this,d)[d].forEach((e=>{e.coordinate.startsWith(s)&&o.push(e)}));return o.sort(a.Am)}getType(e){var t;return null!==(t=(0,i.A)(this,l)[l].get(e))&&void 0!==t?t:null}getTypes(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,l)[l].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,l)[l].forEach((e=>{t.push(e)}));return t.sort(a.Am)}getTypesByTypeKind(e,t){const n=[];if(null!==t&&void 0!==t&&t.length){const s=t.toLocaleLowerCase();(0,i.A)(this,l)[l].forEach((t=>{t.typeKind===e&&t.name.toLocaleLowerCase().includes(s)&&n.push(t)}))}else(0,i.A)(this,l)[l].forEach((t=>{t.typeKind===e&&n.push(t)}));return n.sort(a.Am)}dispose(){(0,i.A)(this,c)[c].clear(),(0,i.A)(this,d)[d].clear(),(0,i.A)(this,l)[l].clear()}addIntrospectionFields(e,t){const n=(0,i.A)(this,l)[l].get(e),s="query-type"===(null===n||void 0===n?void 0:n.kind),o="subscription-type"===(null===n||void 0===n?void 0:n.kind);if(s){const e=this.getIntrospectionSchemaField(n.name);e&&t.push(e);const i=this.getIntrospectionTypeField(n.name);i&&t.push(i)}if(!o&&n){const e=this.getIntrospectionTypenameField(n.name);e&&t.push(e)}}getIntrospectionSchemaField(e){const t=o.CM.SCHEMA_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(!n){const s=(0,i.A)(this,l)[l].get("__Schema");s&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,u)[u].set(t,n))}return n}getIntrospectionTypeField(e){const t=o.CM.TYPE_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(!n){const s=(0,i.A)(this,l)[l].get("__Type"),a=(0,i.A)(this,l)[l].get("String");s&&a&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:s},arguments:[{kind:"argument",name:"name",coordinate:(0,o.IK)(e,t,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:a}}]},(0,i.A)(this,u)[u].set(t,n))}return n}getIntrospectionTypenameField(e){const t=o.CM.TYPENAME_FIELD;let n=(0,i.A)(this,u)[u].get(t);if(n)n={...n,coordinate:(0,o.IK)(e,o.CM.TYPE_FIELD)};else{const s=(0,i.A)(this,l)[l].get("String");s&&(n={kind:"field",name:t,coordinate:(0,o.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,u)[u].set(t,n))}return n}}const h=new class{constructor(){Object.defineProperty(this,r,{writable:!0,value:new a.Gc})}get(e){var t;return null!==(t=(0,i.A)(this,r)[r].get(e))&&void 0!==t?t:null}set(e,t){var n;const s=new p(t);return null===(n=(0,i.A)(this,r)[r].get(e))||void 0===n||n.dispose(),(0,i.A)(this,r)[r].set(e,s),s}remove(e){var t;null===(t=(0,i.A)(this,r)[r].get(e))||void 0===t||t.dispose(),(0,i.A)(this,r)[r].delete(e)}};function f(e,t){h.set((0,a.c9)(e),t)}},57745:(e,t,n)=>{"use strict";n.d(t,{SP:()=>a});n(36022),n(75885),n(50072);var i=n(97353),s=n(28511),o=n(77929);n(56242);function a(e){const t=[],n=[],i=[],s=Object.values(e.getTypeMap()),a=e.getQueryType(),r=e.getMutationType(),u=e.getSubscriptionType(),p={queryCount:f(a),mutationCount:f(r),subscriptionCount:f(u),directiveCount:e.getDirectives().length,enumCount:s.filter((e=>e instanceof o.Zb)).length,inputObjectCount:s.filter((e=>e instanceof o.zP)).length,interfaceCount:s.filter((e=>e instanceof o.VA)).length,objectCount:s.filter((e=>e instanceof o.bh)).length,scalarCount:s.filter((e=>e instanceof o.Ag)).length,typeCount:s.length,unionCount:s.filter((e=>e instanceof o.hI)).length};for(const o of s){const t=l(e,o);i.push([t.coordinate,t]);const s=c(e,o);for(const e of s)n.push([e.coordinate,e])}for(const o of e.getDirectives()){const n=d(e,o);t.push([n.coordinate,n])}return{queryTypeName:null===a||void 0===a?void 0:a.name,mutationTypeName:null===r||void 0===r?void 0:r.name,subscriptionTypeName:null===u||void 0===u?void 0:u.name,statistics:p,items:{directives:t,fields:n,types:i}}}function r(e){return e instanceof o.Zb?"enum":e instanceof o.zP?"input-object":e instanceof o.VA?"interface":e instanceof o.Ag?"scalar":e instanceof o.hI?"union":e instanceof o.KT||e instanceof o.Gc?r(e.ofType):"object"}function c(e,t,n){const a=[];if(t instanceof o.zP){const s=t.getFields();for(const o in s){const d=s[o];var r,c;if(null===n||void 0===n||!n.length||o.toLocaleLowerCase().includes(n.toLocaleLowerCase()))a.push({coordinate:(0,i.IK)(t.name,d.name),name:d.name,kind:"field",description:d.description||void 0,valueType:p(e,d.type),defaultValue:d.defaultValue,isDeprecated:!(null===(r=d.deprecationReason)||void 0===r||!r.length),deprecationReason:null!==(c=d.deprecationReason)&&void 0!==c?c:void 0})}}else if(t instanceof o.VA||t instanceof o.bh){const s=t.getFields();for(const o in s){const r=s[o];if(null===n||void 0===n||!n.length||o.toLocaleLowerCase().includes(n.toLocaleLowerCase())){var d;const n=0===r.args.length?void 0:r.args.map((n=>{var s;const o=p(e,n.type);return{coordinate:(0,i.IK)(t.name,r.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:o,isDeprecated:!(null===(s=n.deprecationReason)||void 0===s||!s.length),deprecationReason:n.deprecationReason||void 0}}));a.push({coordinate:(0,i.IK)(t.name,r.name),name:r.name,kind:"field",description:r.description||void 0,arguments:n,valueType:p(e,r.type),isDeprecated:!(null===(d=r.deprecationReason)||void 0===d||!d.length),deprecationReason:r.deprecationReason||void 0})}}}return a.sort(s.Am)}function d(e,t){var n;const s=t.args.length?t.args.map((n=>{var s,o,a,r;const c=p(e,n.type);return{coordinate:(0,i.x8)(t.name,n.name),name:n.name,kind:"argument",description:null!==(s=n.description)&&void 0!==s?s:void 0,defaultValue:null!==(o=n.defaultValue)&&void 0!==o?o:void 0,type:c,isDeprecated:!(null===(a=n.deprecationReason)||void 0===a||!a.length),deprecationReason:null!==(r=n.deprecationReason)&&void 0!==r?r:void 0}})):void 0;return{coordinate:(0,i.x8)(t.name),name:t.name,kind:"directive",description:null!==(n=t.description)&&void 0!==n?n:void 0,arguments:s}}function l(e,t){let n,a,c,d=!1;return t instanceof o.Zb&&(n=t.getValues().map((e=>e)).sort(s.Am).map((e=>{var n,s;return{coordinate:(0,i.IK)(t.name,e.name),name:e.name,kind:"enum-value",description:e.description||void 0,value:e.value,isDeprecated:!(null===(n=e.deprecationReason)||void 0===n||!n.length),deprecationReason:null!==(s=e.deprecationReason)&&void 0!==s?s:void 0}}))),t instanceof o.VA&&(d=function(e,t){return"Node"===t.name&&!!function(e,t,n){if(t instanceof o.zP){const o=t.getFields()[n];var s,a;if(o)return{coordinate:(0,i.IK)(t.name,o.name),name:o.name,kind:"field",description:o.description||void 0,valueType:p(e,o.type),defaultValue:o.defaultValue,isDeprecated:!(null===(s=o.deprecationReason)||void 0===s||!s.length),deprecationReason:null!==(a=o.deprecationReason)&&void 0!==a?a:void 0}}else if(t instanceof o.VA||t instanceof o.bh){const s=t.getFields()[n];if(s){var r,c,d;const n=s.args.length?s.args.map((n=>{var o;const a=p(e,n.type);return{coordinate:(0,i.IK)(t.name,s.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:a,isDeprecated:!(null===(o=s.deprecationReason)||void 0===o||!o.length),deprecationReason:n.deprecationReason||void 0}})):void 0;return{coordinate:(0,i.IK)(t.name,s.name),name:s.name,kind:"field",description:null!==(r=s.description)&&void 0!==r?r:void 0,arguments:n,valueType:p(e,s.type),isDeprecated:!(null===(c=s.deprecationReason)||void 0===c||!c.length),deprecationReason:null!==(d=s.deprecationReason)&&void 0!==d?d:void 0}}}}(e,t,"id")}(e,t),c=e.getPossibleTypes(t).map((e=>e)).sort(s.Am).map((t=>p(e,t)))),t instanceof o.bh&&(d=u(e,t),a=t.getInterfaces().map((n=>({coordinate:n.name,name:n.name,kind:"type",description:n.description||void 0,typeKind:"interface",isRelayType:u(e,t)})))),t instanceof o.hI&&(c=t.getTypes().map((e=>e)).sort(s.Am).map((t=>p(e,t)))),{coordinate:t.name,name:t.name,kind:t instanceof o.bh?h(e,t):"type",description:t.description||void 0,typeKind:r(t),enumValues:n,interfaces:a,isRelayType:d,types:c}}function u(e,t){if(t.name.endsWith("Connection")){const n=c(e,t).map((e=>e.name));return n.includes("edges")&&n.includes("pageInfo")}if(t.name.endsWith("Edge")){const n=c(e,t).map((e=>e.name));return n.includes("cursor")&&n.includes("node")}if("PageInfo"===t.name){const n=c(e,t).map((e=>e.name));return n.includes("hasNextPage")&&n.includes("hasPreviousPage")&&n.includes("startCursor")&&n.includes("endCursor")}return!1}function p(e,t){let n,i,s=!1,a=!0;return t instanceof o.Gc?(a=!1,t.ofType instanceof o.KT?(n=t.ofType.ofType,s=!0):n=t.ofType):t instanceof o.KT?(n=t.ofType,s=!0):n=t,i=n instanceof o.KT||n instanceof o.Gc?p(e,n):l(e,n),{kind:"value-type",isList:s,isOptional:a,type:i}}function h(e,t){switch(!0){case t===e.getQueryType():return"query-type";case t===e.getMutationType():return"mutation-type";case t===e.getSubscriptionType():return"subscription-type";default:return"type"}}function f(e){return e?Object.keys(e.getFields()).length:0}},90126:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u,k:()=>l});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(23845)),a=n(29232),r=n(28511),c=(0,s.A)("handlers"),d=(0,s.A)("responseHandlers");class l{constructor(){Object.defineProperty(this,c,{writable:!0,value:[]}),Object.defineProperty(this,d,{writable:!0,value:new Map})}handleMessage(e,t){const n=(0,i.A)(this,d)[d].get(t.id);n?n(t,e):(0,i.A)(this,c)[c].filter((e=>e.type===t.type)).forEach((n=>{let{handle:i}=n;return i(t,e)}))}registerReceiveMessageHandler(e,t){const n={type:e,handle:t};return(0,i.A)(this,c)[c].push(n),()=>{const e=(0,i.A)(this,c)[c].indexOf(n);(0,i.A)(this,c)[c].splice(e,1)}}sendAndReceiveMessage(e){let t,n,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=arguments.length>2?arguments[2]:void 0;return(0,r.bA)((()=>{var e;return null===(e=n)||void 0===e?void 0:e()}),(()=>new Promise(((l,u)=>{n=()=>{self.clearTimeout(t),u(r.eC),(0,a.yX)(this.getContext(),e.id),(0,i.A)(this,d)[d].delete(e.id)},t=s?void 0:self.setTimeout((()=>{u("Timeout exceeded 60 sec."),(0,i.A)(this,d)[d].delete(e.id)}),o.iW),(0,i.A)(this,d)[d].set(e.id,(e=>{if(null===c||void 0===c||!c.aborted){if((0,a.SA)(e)){const{errorMessage:t,kind:n,details:i}=e.payload;u(new a.zX(t,n,i))}else l(e.payload);self.clearTimeout(t),(0,i.A)(this,d)[d].delete(e.id)}})),this.getContext().sendMessage(e)}))),c)}sendMessage(e){this.getContext().sendMessage(e)}}class u{constructor(e,t,n){this.type=e,this.payload=t,this.id=void 0,this.createdAt=void 0,this.id=n||(0,r.sX)(),this.createdAt=(0,r.tB)()}}},40409:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,u:()=>c});var i=n(4473),s=n(68341),o=n(77740),a=n(47924),r=n(90126);const c={sendMessage:e=>self.postMessage(e)};var d=(0,s.A)("context");class l extends r.k{constructor(){super(),Object.defineProperty(this,d,{writable:!0,value:{sendMessage:e=>self.postMessage(e)}}),this.initialize()}getContext(){return(0,i.A)(this,d)[d]}initialize(){self.onmessage=e=>{let{data:t}=e;this.handleMessage((0,i.A)(this,d)[d],t)},this.registerReceiveMessageHandler(o.CN,(e=>{(0,a.yX)(e.payload.taskId)})),this.registerMessageReceiveHandlers()}}},13798:(e,t,n)=>{"use strict";n(53358)},28511:(e,t,n)=>{"use strict";n.d(t,{eC:()=>i.eC,Gc:()=>h.G,Tp:()=>l.Tp,y1:()=>i.y1,bA:()=>i.bA,sX:()=>c,cb:()=>f.c,WG:()=>s.W,c9:()=>u.c,zf:()=>i.zf,Td:()=>m.Td,Hf:()=>m.Hf,aE:()=>v.a,Mn:()=>i.Mn,mv:()=>p.m,M_:()=>i.M_,tB:()=>d.tB,Am:()=>o.A});var i=n(82175),s=(n(29899),n(34818)),o=(n(17112),n(5198),n(27362)),a=(n(13798),n(32089));const r="|";function c(e){return e&&e.length>0?"".concat(e).concat(r).concat((0,a.Ak)()):(0,a.Ak)()}var d=n(85096),l=n(79968),u=(n(17957),n(63291),n(75468)),p=n(46765),h=n(50379),f=(n(20433),n(39876),n(72307),n(81370),n(6687),n(12777),n(4048),n(44812)),v=(n(99689),n(77415),n(32531)),m=n(53768)},20709:(e,t,n)=>{e.exports=n(82685)}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.m=e,n.x=()=>{var e=n.O(void 0,[461,676,86,305,264,72,126],(()=>n(21333)));return e=n.O(e)},(()=>{var e=[];n.O=(t,i,s,o)=>{if(!i){var a=1/0;for(l=0;l<e.length;l++){i=e[l][0],s=e[l][1],o=e[l][2];for(var r=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(n.O).every((e=>n.O[e](i[c])))?i.splice(c--,1):(r=!1,o<a&&(a=o));if(r){e.splice(l--,1);var d=s();void 0!==d&&(t=d)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[i,s,o]}})(),n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,i)=>(n.f[i](e,t),t)),[])),n.u=e=>461===e?"static/js/polyfills.48d5b45f.js":676===e?"static/js/676.48d5b45f.js":264===e?"static/js/264.48d5b45f.js":"static/js/"+e+"."+{72:"9d691e49",86:"e8257075",126:"4345da60",305:"b04c6c5d"}[e]+".chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=856,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=i[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../../"})(),(()=>{var e={856:1};n.f.i=(t,i)=>{e[t]||importScripts(n.p+n.u(t))};var t=self.webpackChunknitro=self.webpackChunknitro||[],i=t.push.bind(t);t.push=t=>{var s=t[0],o=t[1],a=t[2];for(var r in o)n.o(o,r)&&(n.m[r]=o[r]);for(a&&a(n);s.length;)e[s.pop()]=1;i(t)}})(),(()=>{var e=n.x;n.x=()=>Promise.all([461,676,86,305,264,72,126].map(n.e,n)).then(e)})();n.x()})();