@chillicream/nitro-embedded 23.0.2 → 23.0.4
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.
- package/asset-manifest.json +26 -26
- package/index.html +1 -1
- package/package.json +1 -1
- package/service-worker.js +1 -1
- package/static/js/195.bee67636.chunk.js +1 -0
- package/static/js/{305.143f2013.chunk.js → 305.60507c5d.chunk.js} +1 -1
- package/static/js/438.fcf95553.chunk.js +1 -0
- package/static/js/{656.9dcaf1a1.js → 656.68789ec1.js} +2 -2
- package/static/js/{676.9dcaf1a1.js → 676.68789ec1.js} +1 -1
- package/static/js/{graphql-engine.1061caf0.chunk.js → graphql-engine.bf4a2176.chunk.js} +1 -1
- package/static/js/{graphql-indexer.2261f92d.chunk.js → graphql-indexer.bd75ac52.chunk.js} +1 -1
- package/static/js/{graphql.worker.9dcaf1a1.js → graphql.worker.68789ec1.js} +2 -2
- package/static/js/{json.9dcaf1a1.js → json.68789ec1.js} +1 -1
- package/static/js/main.68789ec1.js +2 -0
- package/static/js/{session.b55dad80.chunk.js → session.977bfd32.chunk.js} +1 -1
- package/static/js/195.2f33c2fd.chunk.js +0 -1
- package/static/js/438.917ee470.chunk.js +0 -1
- package/static/js/main.9dcaf1a1.js +0 -2
- /package/static/js/{264.9dcaf1a1.js → 264.68789ec1.js} +0 -0
- /package/static/js/{320.9dcaf1a1.js → 320.68789ec1.js} +0 -0
- /package/static/js/{594.9dcaf1a1.js → 594.68789ec1.js} +0 -0
- /package/static/js/{656.9dcaf1a1.js.LICENSE.txt → 656.68789ec1.js.LICENSE.txt} +0 -0
- /package/static/js/{676.9dcaf1a1.js.LICENSE.txt → 676.68789ec1.js.LICENSE.txt} +0 -0
- /package/static/js/{936.9dcaf1a1.js → 936.68789ec1.js} +0 -0
- /package/static/js/{editor.9dcaf1a1.js → editor.68789ec1.js} +0 -0
- /package/static/js/{graphql.worker.9dcaf1a1.js.LICENSE.txt → graphql.worker.68789ec1.js.LICENSE.txt} +0 -0
- /package/static/js/{json.9dcaf1a1.js.LICENSE.txt → json.68789ec1.js.LICENSE.txt} +0 -0
- /package/static/js/{main.9dcaf1a1.js.LICENSE.txt → main.68789ec1.js.LICENSE.txt} +0 -0
- /package/static/js/{polyfills.9dcaf1a1.js → polyfills.68789ec1.js} +0 -0
- /package/static/js/{yaml.worker.9dcaf1a1.js → yaml.worker.68789ec1.js} +0 -0
|
@@ -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,TL:()=>p});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}function p(e){let t="argument"===e.kind?e.type:"field"===e.kind?e.valueType:e;for(;"value-type"===t.kind;)t=t.type;return t}},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:()=>v});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(23845)),a=(n(50072),n(97353)),r=n(28511),c=(0,s.A)("schemaCache");var d=(0,s.A)("directives"),l=(0,s.A)("fields"),u=(0,s.A)("types"),p=(0,s.A)("introspectionFields");class h{constructor(e){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}),Object.defineProperty(this,p,{writable:!0,value:void 0}),(0,i.A)(this,d)[d]=new Map(e.directives),(0,i.A)(this,l)[l]=new Map(e.fields),(0,i.A)(this,u)[u]=new Map(e.types),(0,i.A)(this,p)[p]=new Map(e.fields)}getDirectives(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,d)[d].forEach((e=>{!o.RI.test(e.name)&&e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,d)[d].forEach((e=>{o.RI.test(e.name)||t.push(e)}));return t.sort(r.Am)}getField(e){var t;return null!==(t=(0,i.A)(this,l)[l].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,l)[l].forEach((t=>{t.coordinate.startsWith(s)&&t.name.toLocaleLowerCase().includes(e)&&o.push(t)}))}else(0,i.A)(this,l)[l].forEach((e=>{e.coordinate.startsWith(s)&&o.push(e)}));return o.sort(r.Am)}getType(e){var t;return null!==(t=(0,i.A)(this,u)[u].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,u)[u].forEach((e=>{!o.RI.test(e.name)&&e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,u)[u].forEach((e=>{o.RI.test(e.name)||t.push(e)}));return t.sort(r.Am)}getPossibleTypes(e,t){var n;const s=(0,i.A)(this,u)[u].get(e);if(null===s||void 0===s||null===(n=s.types)||void 0===n||!n.length)return[];if(null!==t&&void 0!==t&&t.length){const e=t.toLocaleLowerCase();return s.types.map(a.TL).filter((t=>{let{name:n}=t;return n.toLocaleLowerCase().includes(e)})).sort(r.Am)}return s.types.map(a.TL).sort(r.Am)}getTypesByTypeKind(e,t){const n=[];if(null!==t&&void 0!==t&&t.length){const s=t.toLocaleLowerCase();(0,i.A)(this,u)[u].forEach((t=>{t.typeKind===e&&!o.RI.test(t.name)&&t.name.toLocaleLowerCase().includes(s)&&n.push(t)}))}else(0,i.A)(this,u)[u].forEach((t=>{t.typeKind!==e||o.RI.test(t.name)||n.push(t)}));return n.sort(r.Am)}dispose(){(0,i.A)(this,d)[d].clear(),(0,i.A)(this,l)[l].clear(),(0,i.A)(this,u)[u].clear()}addIntrospectionFields(e,t){const n=(0,i.A)(this,u)[u].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=a.CM.SCHEMA_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(!n){const s=(0,i.A)(this,u)[u].get("__Schema");s&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(t,n))}return n}getIntrospectionTypeField(e){const t=a.CM.TYPE_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(!n){const s=(0,i.A)(this,u)[u].get("__Type"),o=(0,i.A)(this,u)[u].get("String");s&&o&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:s},arguments:[{kind:"argument",name:"name",coordinate:(0,a.IK)(e,t,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:o}}]},(0,i.A)(this,p)[p].set(t,n))}return n}getIntrospectionTypenameField(e){const t=a.CM.TYPENAME_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(n)n={...n,coordinate:(0,a.IK)(e,a.CM.TYPE_FIELD)};else{const s=(0,i.A)(this,u)[u].get("String");s&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(t,n))}return n}}const f=new class{constructor(){Object.defineProperty(this,c,{writable:!0,value:new r.Gc})}get(e){var t;return null!==(t=(0,i.A)(this,c)[c].get(e))&&void 0!==t?t:null}set(e,t){var n;const s=new h(t);return null===(n=(0,i.A)(this,c)[c].get(e))||void 0===n||n.dispose(),(0,i.A)(this,c)[c].set(e,s),s}remove(e){var t;null===(t=(0,i.A)(this,c)[c].get(e))||void 0===t||t.dispose(),(0,i.A)(this,c)[c].delete(e)}};function v(e,t){f.set((0,r.c9)(e),t)}},57745:(e,t,n)=>{"use strict";n.d(t,{SP:()=>r});n(36022),n(75885);var i=n(23845),s=(n(50072),n(97353)),o=n(28511),a=n(77929);n(56242);function r(e){const t=[],n=[],s=[],o=Object.values(e.getTypeMap()).filter((e=>!i.RI.test(e.name))),r=e.getQueryType(),c=e.getMutationType(),p=e.getSubscriptionType(),h=(r?1:0)+(c?1:0)+(p?1:0);for(const i of o){const t=u(e,i);s.push([t.coordinate,t]);const o=d(e,i);for(const e of o)n.push([e.coordinate,e])}for(const i of e.getDirectives()){const n=l(e,i);t.push([n.coordinate,n])}const f={queryCount:v(r),mutationCount:v(c),subscriptionCount:v(p),directiveCount:e.getDirectives().length,enumCount:o.filter((e=>e instanceof a.Zb)).length,fieldCount:n.length,inputObjectCount:o.filter((e=>e instanceof a.zP)).length,interfaceCount:o.filter((e=>e instanceof a.VA)).length,objectCount:o.filter((e=>e instanceof a.bh)).length,rootTypeCount:h,scalarCount:o.filter((e=>e instanceof a.Ag)).length,typeCount:o.length,unionCount:o.filter((e=>e instanceof a.hI)).length};return{queryTypeName:null===r||void 0===r?void 0:r.name,mutationTypeName:null===c||void 0===c?void 0:c.name,subscriptionTypeName:null===p||void 0===p?void 0:p.name,statistics:f,items:{directives:t,fields:n,types:s}}}function c(e){return e instanceof a.Zb?"enum":e instanceof a.zP?"input-object":e instanceof a.VA?"interface":e instanceof a.Ag?"scalar":e instanceof a.hI?"union":e instanceof a.KT||e instanceof a.Gc?c(e.ofType):"object"}function d(e,t,n){const i=[];if(t instanceof a.zP){const o=t.getFields();for(const a in o){const d=o[a];var r,c;if(null===n||void 0===n||!n.length||a.toLocaleLowerCase().includes(n.toLocaleLowerCase()))i.push({coordinate:(0,s.IK)(t.name,d.name),name:d.name,kind:"field",description:d.description||void 0,valueType:h(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 a.VA||t instanceof a.bh){const o=t.getFields();for(const a in o){const r=o[a];if(null===n||void 0===n||!n.length||a.toLocaleLowerCase().includes(n.toLocaleLowerCase())){var d;const n=0===r.args.length?void 0:r.args.map((n=>{var i;const o=h(e,n.type);return{coordinate:(0,s.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===(i=n.deprecationReason)||void 0===i||!i.length),deprecationReason:n.deprecationReason||void 0}}));i.push({coordinate:(0,s.IK)(t.name,r.name),name:r.name,kind:"field",description:r.description||void 0,arguments:n,valueType:h(e,r.type),isDeprecated:!(null===(d=r.deprecationReason)||void 0===d||!d.length),deprecationReason:r.deprecationReason||void 0})}}}return i.sort(o.Am)}function l(e,t){var n;const i=t.args.length?t.args.map((n=>{var i,o,a,r;const c=h(e,n.type);return{coordinate:(0,s.x8)(t.name,n.name),name:n.name,kind:"argument",description:null!==(i=n.description)&&void 0!==i?i: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,s.x8)(t.name),name:t.name,kind:"directive",description:null!==(n=t.description)&&void 0!==n?n:void 0,arguments:i}}function u(e,t){let n,i,r,d=!1;return t instanceof a.Zb&&(n=t.getValues().map((e=>e)).sort(o.Am).map((e=>{var n,i;return{coordinate:(0,s.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!==(i=e.deprecationReason)&&void 0!==i?i:void 0}}))),t instanceof a.VA&&(d=function(e,t){return"Node"===t.name&&!!function(e,t,n){if(t instanceof a.zP){const a=t.getFields()[n];var i,o;if(a)return{coordinate:(0,s.IK)(t.name,a.name),name:a.name,kind:"field",description:a.description||void 0,valueType:h(e,a.type),defaultValue:a.defaultValue,isDeprecated:!(null===(i=a.deprecationReason)||void 0===i||!i.length),deprecationReason:null!==(o=a.deprecationReason)&&void 0!==o?o:void 0}}else if(t instanceof a.VA||t instanceof a.bh){const i=t.getFields()[n];if(i){var r,c,d;const n=i.args.length?i.args.map((n=>{var o;const a=h(e,n.type);return{coordinate:(0,s.IK)(t.name,i.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:a,isDeprecated:!(null===(o=i.deprecationReason)||void 0===o||!o.length),deprecationReason:n.deprecationReason||void 0}})):void 0;return{coordinate:(0,s.IK)(t.name,i.name),name:i.name,kind:"field",description:null!==(r=i.description)&&void 0!==r?r:void 0,arguments:n,valueType:h(e,i.type),isDeprecated:!(null===(c=i.deprecationReason)||void 0===c||!c.length),deprecationReason:null!==(d=i.deprecationReason)&&void 0!==d?d:void 0}}}}(e,t,"id")}(e,t),r=e.getPossibleTypes(t).map((e=>e)).sort(o.Am).map((t=>h(e,t)))),t instanceof a.bh&&(d=p(e,t),i=t.getInterfaces().map((n=>({coordinate:n.name,name:n.name,kind:"type",description:n.description||void 0,typeKind:"interface",isRelayType:p(e,t)})))),t instanceof a.hI&&(r=t.getTypes().map((e=>e)).sort(o.Am).map((t=>h(e,t)))),{coordinate:t.name,name:t.name,kind:t instanceof a.bh?f(e,t):"type",description:t.description||void 0,typeKind:c(t),enumValues:n,interfaces:i,isRelayType:d,types:r}}function p(e,t){if(t.name.endsWith("Connection")){const n=d(e,t).map((e=>e.name));return n.includes("edges")&&n.includes("pageInfo")}if(t.name.endsWith("Edge")){const n=d(e,t).map((e=>e.name));return n.includes("cursor")&&n.includes("node")}if("PageInfo"===t.name){const n=d(e,t).map((e=>e.name));return n.includes("hasNextPage")&&n.includes("hasPreviousPage")&&n.includes("startCursor")&&n.includes("endCursor")}return!1}function h(e,t){let n,i,s=!1,o=!0;return t instanceof a.Gc?(o=!1,t.ofType instanceof a.KT?(n=t.ofType.ofType,s=!0):n=t.ofType):t instanceof a.KT?(n=t.ofType,s=!0):n=t,i=n instanceof a.KT||n instanceof a.Gc?h(e,n):u(e,n),{kind:"value-type",isList:s,isOptional:o,type:i}}function f(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 v(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.9dcaf1a1.js":676===e?"static/js/676.9dcaf1a1.js":264===e?"static/js/264.9dcaf1a1.js":"static/js/"+e+"."+{72:"f9e3a51b",86:"e8257075",126:"811bbdc6",305:"143f2013"}[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,TL:()=>p});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}function p(e){let t="argument"===e.kind?e.type:"field"===e.kind?e.valueType:e;for(;"value-type"===t.kind;)t=t.type;return t}},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:()=>v});var i=n(4473),s=n(68341),o=(n(36022),n(75885),n(23845)),a=(n(50072),n(97353)),r=n(28511),c=(0,s.A)("schemaCache");var d=(0,s.A)("directives"),l=(0,s.A)("fields"),u=(0,s.A)("types"),p=(0,s.A)("introspectionFields");class h{constructor(e){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}),Object.defineProperty(this,p,{writable:!0,value:void 0}),(0,i.A)(this,d)[d]=new Map(e.directives),(0,i.A)(this,l)[l]=new Map(e.fields),(0,i.A)(this,u)[u]=new Map(e.types),(0,i.A)(this,p)[p]=new Map(e.fields)}getDirectives(e){const t=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,i.A)(this,d)[d].forEach((e=>{!o.RI.test(e.name)&&e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,d)[d].forEach((e=>{o.RI.test(e.name)||t.push(e)}));return t.sort(r.Am)}getField(e){var t;return null!==(t=(0,i.A)(this,l)[l].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,l)[l].forEach((t=>{t.coordinate.startsWith(s)&&t.name.toLocaleLowerCase().includes(e)&&o.push(t)}))}else(0,i.A)(this,l)[l].forEach((e=>{e.coordinate.startsWith(s)&&o.push(e)}));return o.sort(r.Am)}getType(e){var t;return null!==(t=(0,i.A)(this,u)[u].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,u)[u].forEach((e=>{!o.RI.test(e.name)&&e.name.toLocaleLowerCase().includes(n)&&t.push(e)}))}else(0,i.A)(this,u)[u].forEach((e=>{o.RI.test(e.name)||t.push(e)}));return t.sort(r.Am)}getPossibleTypes(e,t){var n;const s=(0,i.A)(this,u)[u].get(e);if(null===s||void 0===s||null===(n=s.types)||void 0===n||!n.length)return[];if(null!==t&&void 0!==t&&t.length){const e=t.toLocaleLowerCase();return s.types.map(a.TL).filter((t=>{let{name:n}=t;return n.toLocaleLowerCase().includes(e)})).sort(r.Am)}return s.types.map(a.TL).sort(r.Am)}getTypesByTypeKind(e,t){const n=[];if(null!==t&&void 0!==t&&t.length){const s=t.toLocaleLowerCase();(0,i.A)(this,u)[u].forEach((t=>{t.typeKind===e&&!o.RI.test(t.name)&&t.name.toLocaleLowerCase().includes(s)&&n.push(t)}))}else(0,i.A)(this,u)[u].forEach((t=>{t.typeKind!==e||o.RI.test(t.name)||n.push(t)}));return n.sort(r.Am)}dispose(){(0,i.A)(this,d)[d].clear(),(0,i.A)(this,l)[l].clear(),(0,i.A)(this,u)[u].clear()}addIntrospectionFields(e,t){const n=(0,i.A)(this,u)[u].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=a.CM.SCHEMA_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(!n){const s=(0,i.A)(this,u)[u].get("__Schema");s&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(t,n))}return n}getIntrospectionTypeField(e){const t=a.CM.TYPE_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(!n){const s=(0,i.A)(this,u)[u].get("__Type"),o=(0,i.A)(this,u)[u].get("String");s&&o&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:s},arguments:[{kind:"argument",name:"name",coordinate:(0,a.IK)(e,t,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:o}}]},(0,i.A)(this,p)[p].set(t,n))}return n}getIntrospectionTypenameField(e){const t=a.CM.TYPENAME_FIELD;let n=(0,i.A)(this,p)[p].get(t);if(n)n={...n,coordinate:(0,a.IK)(e,a.CM.TYPE_FIELD)};else{const s=(0,i.A)(this,u)[u].get("String");s&&(n={kind:"field",name:t,coordinate:(0,a.IK)(e,t),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(t,n))}return n}}const f=new class{constructor(){Object.defineProperty(this,c,{writable:!0,value:new r.Gc})}get(e){var t;return null!==(t=(0,i.A)(this,c)[c].get(e))&&void 0!==t?t:null}set(e,t){var n;const s=new h(t);return null===(n=(0,i.A)(this,c)[c].get(e))||void 0===n||n.dispose(),(0,i.A)(this,c)[c].set(e,s),s}remove(e){var t;null===(t=(0,i.A)(this,c)[c].get(e))||void 0===t||t.dispose(),(0,i.A)(this,c)[c].delete(e)}};function v(e,t){f.set((0,r.c9)(e),t)}},57745:(e,t,n)=>{"use strict";n.d(t,{SP:()=>r});n(36022),n(75885);var i=n(23845),s=(n(50072),n(97353)),o=n(28511),a=n(77929);n(56242);function r(e){const t=[],n=[],s=[],o=Object.values(e.getTypeMap()).filter((e=>!i.RI.test(e.name))),r=e.getQueryType(),c=e.getMutationType(),p=e.getSubscriptionType(),h=(r?1:0)+(c?1:0)+(p?1:0);for(const i of o){const t=u(e,i);s.push([t.coordinate,t]);const o=d(e,i);for(const e of o)n.push([e.coordinate,e])}for(const i of e.getDirectives()){const n=l(e,i);t.push([n.coordinate,n])}const f={queryCount:v(r),mutationCount:v(c),subscriptionCount:v(p),directiveCount:e.getDirectives().length,enumCount:o.filter((e=>e instanceof a.Zb)).length,fieldCount:n.length,inputObjectCount:o.filter((e=>e instanceof a.zP)).length,interfaceCount:o.filter((e=>e instanceof a.VA)).length,objectCount:o.filter((e=>e instanceof a.bh)).length,rootTypeCount:h,scalarCount:o.filter((e=>e instanceof a.Ag)).length,typeCount:o.length,unionCount:o.filter((e=>e instanceof a.hI)).length};return{queryTypeName:null===r||void 0===r?void 0:r.name,mutationTypeName:null===c||void 0===c?void 0:c.name,subscriptionTypeName:null===p||void 0===p?void 0:p.name,statistics:f,items:{directives:t,fields:n,types:s}}}function c(e){return e instanceof a.Zb?"enum":e instanceof a.zP?"input-object":e instanceof a.VA?"interface":e instanceof a.Ag?"scalar":e instanceof a.hI?"union":e instanceof a.KT||e instanceof a.Gc?c(e.ofType):"object"}function d(e,t,n){const i=[];if(t instanceof a.zP){const o=t.getFields();for(const a in o){const d=o[a];var r,c;if(null===n||void 0===n||!n.length||a.toLocaleLowerCase().includes(n.toLocaleLowerCase()))i.push({coordinate:(0,s.IK)(t.name,d.name),name:d.name,kind:"field",description:d.description||void 0,valueType:h(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 a.VA||t instanceof a.bh){const o=t.getFields();for(const a in o){const r=o[a];if(null===n||void 0===n||!n.length||a.toLocaleLowerCase().includes(n.toLocaleLowerCase())){var d;const n=0===r.args.length?void 0:r.args.map((n=>{var i;const o=h(e,n.type);return{coordinate:(0,s.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===(i=n.deprecationReason)||void 0===i||!i.length),deprecationReason:n.deprecationReason||void 0}}));i.push({coordinate:(0,s.IK)(t.name,r.name),name:r.name,kind:"field",description:r.description||void 0,arguments:n,valueType:h(e,r.type),isDeprecated:!(null===(d=r.deprecationReason)||void 0===d||!d.length),deprecationReason:r.deprecationReason||void 0})}}}return i.sort(o.Am)}function l(e,t){var n;const i=t.args.length?t.args.map((n=>{var i,o,a,r;const c=h(e,n.type);return{coordinate:(0,s.x8)(t.name,n.name),name:n.name,kind:"argument",description:null!==(i=n.description)&&void 0!==i?i: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,s.x8)(t.name),name:t.name,kind:"directive",description:null!==(n=t.description)&&void 0!==n?n:void 0,arguments:i}}function u(e,t){let n,i,r,d=!1;return t instanceof a.Zb&&(n=t.getValues().map((e=>e)).sort(o.Am).map((e=>{var n,i;return{coordinate:(0,s.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!==(i=e.deprecationReason)&&void 0!==i?i:void 0}}))),t instanceof a.VA&&(d=function(e,t){return"Node"===t.name&&!!function(e,t,n){if(t instanceof a.zP){const a=t.getFields()[n];var i,o;if(a)return{coordinate:(0,s.IK)(t.name,a.name),name:a.name,kind:"field",description:a.description||void 0,valueType:h(e,a.type),defaultValue:a.defaultValue,isDeprecated:!(null===(i=a.deprecationReason)||void 0===i||!i.length),deprecationReason:null!==(o=a.deprecationReason)&&void 0!==o?o:void 0}}else if(t instanceof a.VA||t instanceof a.bh){const i=t.getFields()[n];if(i){var r,c,d;const n=i.args.length?i.args.map((n=>{var o;const a=h(e,n.type);return{coordinate:(0,s.IK)(t.name,i.name,n.name),name:n.name,kind:"argument",description:n.description||void 0,defaultValue:n.defaultValue||void 0,type:a,isDeprecated:!(null===(o=i.deprecationReason)||void 0===o||!o.length),deprecationReason:n.deprecationReason||void 0}})):void 0;return{coordinate:(0,s.IK)(t.name,i.name),name:i.name,kind:"field",description:null!==(r=i.description)&&void 0!==r?r:void 0,arguments:n,valueType:h(e,i.type),isDeprecated:!(null===(c=i.deprecationReason)||void 0===c||!c.length),deprecationReason:null!==(d=i.deprecationReason)&&void 0!==d?d:void 0}}}}(e,t,"id")}(e,t),r=e.getPossibleTypes(t).map((e=>e)).sort(o.Am).map((t=>h(e,t)))),t instanceof a.bh&&(d=p(e,t),i=t.getInterfaces().map((n=>({coordinate:n.name,name:n.name,kind:"type",description:n.description||void 0,typeKind:"interface",isRelayType:p(e,t)})))),t instanceof a.hI&&(r=t.getTypes().map((e=>e)).sort(o.Am).map((t=>h(e,t)))),{coordinate:t.name,name:t.name,kind:t instanceof a.bh?f(e,t):"type",description:t.description||void 0,typeKind:c(t),enumValues:n,interfaces:i,isRelayType:d,types:r}}function p(e,t){if(t.name.endsWith("Connection")){const n=d(e,t).map((e=>e.name));return n.includes("edges")&&n.includes("pageInfo")}if(t.name.endsWith("Edge")){const n=d(e,t).map((e=>e.name));return n.includes("cursor")&&n.includes("node")}if("PageInfo"===t.name){const n=d(e,t).map((e=>e.name));return n.includes("hasNextPage")&&n.includes("hasPreviousPage")&&n.includes("startCursor")&&n.includes("endCursor")}return!1}function h(e,t){let n,i,s=!1,o=!0;return t instanceof a.Gc?(o=!1,t.ofType instanceof a.KT?(n=t.ofType.ofType,s=!0):n=t.ofType):t instanceof a.KT?(n=t.ofType,s=!0):n=t,i=n instanceof a.KT||n instanceof a.Gc?h(e,n):u(e,n),{kind:"value-type",isList:s,isOptional:o,type:i}}function f(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 v(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.68789ec1.js":676===e?"static/js/676.68789ec1.js":264===e?"static/js/264.68789ec1.js":"static/js/"+e+"."+{72:"f9e3a51b",86:"e8257075",126:"811bbdc6",305:"60507c5d"}[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()})();
|