altair-static 4.4.2 → 4.5.2
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/build/dist/121.js +1 -0
- package/build/dist/206.js +1 -0
- package/build/dist/23.js +1 -0
- package/build/dist/243.js +1 -0
- package/build/dist/364.js +1 -0
- package/build/dist/3rdpartylicenses.txt +374 -16
- package/build/dist/471.js +1 -1
- package/build/dist/478.js +1 -0
- package/build/dist/482.js +1 -0
- package/build/dist/630.js +1 -0
- package/build/dist/657.js +1 -0
- package/build/dist/690.js +1 -0
- package/build/dist/747.js +1 -1
- package/build/dist/783.js +1 -0
- package/build/dist/852.js +1 -0
- package/build/dist/863.js +1 -0
- package/build/dist/assets/i18n/default.json +1 -0
- package/build/dist/main.js +1 -1
- package/build/dist/polyfills.js +1 -1
- package/build/dist/runtime.js +1 -1
- package/build/dist/styles.css +1 -2
- package/build/index.d.ts +357 -14
- package/build/index.js +91 -62
- package/package.json +9 -8
- package/src/{utils/get-altair-html.ts → get-altair-html.ts} +0 -0
- package/src/{utils/get-dist.ts → get-dist.ts} +1 -1
- package/src/index.test.ts +1 -1
- package/src/index.ts +5 -3
- package/build/dist/100.js +0 -1
- package/build/dist/108.js +0 -1
- package/build/dist/267.js +0 -1
- package/build/dist/379.js +0 -1
- package/build/dist/527.js +0 -1
- package/build/dist/604.js +0 -1
- package/build/dist/729.js +0 -1
- package/build/dist/790.js +0 -1
- package/build/dist/794.js +0 -1
- package/build/dist/873.js +0 -1
- package/build/dist/929.js +0 -1
- package/build/dist/934.js +0 -1
- package/build/index.test.d.ts +0 -2
- package/build/index.test.js +0 -67
- package/build/utils/get-altair-html.d.ts +0 -2
- package/build/utils/get-altair-html.js +0 -10
- package/build/utils/get-dist.d.ts +0 -5
- package/build/utils/get-dist.js +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[364],{38364:(pe,Q,I)=>{I.r(Q),I.d(Q,{GraphQLWsSubscriptionProvider:()=>ae});var h=I(15861),Y=I(69972),_=I(12418);const R=Object.prototype.hasOwnProperty;function w(e){return"object"==typeof e&&null!==e}function v(e,n){return R.call(e,n)}function W(e,n){return R.call(e,n)&&w(e[n])}function S(e,n){return R.call(e,n)&&"string"==typeof e[n]}function j(e,n){return e.length<124?e:n}const ne="graphql-transport-ws";var m=(()=>{return(e=m||(m={}))[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",m;var e})(),l=(()=>{return(e=l||(l={})).ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",l;var e})();function z(e){if(w(e)){if(!S(e,"type"))return!1;switch(e.type){case l.ConnectionInit:case l.ConnectionAck:case l.Ping:case l.Pong:return!v(e,"payload")||void 0===e.payload||w(e.payload);case l.Subscribe:return S(e,"id")&&W(e,"payload")&&(!v(e.payload,"operationName")||null==e.payload.operationName||"string"==typeof e.payload.operationName)&&S(e.payload,"query")&&(!v(e.payload,"variables")||null==e.payload.variables||W(e.payload,"variables"))&&(!v(e.payload,"extensions")||null==e.payload.extensions||W(e.payload,"extensions"));case l.Next:return S(e,"id")&&W(e,"payload");case l.Error:return S(e,"id")&&function ee(e){return Array.isArray(e)&&e.length>0&&e.every(n=>"message"in n)}(e.payload);case l.Complete:return S(e,"id");default:return!1}}return!1}function te(e,n){if(z(e))return e;if("string"!=typeof e)throw new Error("Message not parsable");const i=JSON.parse(e,n);if(!z(i))throw new Error("Invalid message");return i}function N(e,n){if(!z(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e,n)}function L(e){return w(e)&&"code"in e&&"reason"in e}class ae extends Y.q{createClient(){this.client=function oe(e){const{url:n,connectionParams:i,lazy:d=!0,onNonLazyError:A=console.error,lazyCloseTimeout:B=0,keepAlive:M=0,disablePong:se,connectionAckWaitTimeout:F=0,retryAttempts:H=5,retryWait:ce=function(){var t=(0,h.Z)(function*(c){let r=1e3;for(let s=0;s<c;s++)r*=2;yield new Promise(s=>setTimeout(s,r+Math.floor(2700*Math.random()+300)))});return function u(c){return t.apply(this,arguments)}}(),shouldRetry:le=L,isFatalConnectionProblem:Z,on:o,webSocketImpl:C,generateID:ue=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,u=>{const c=16*Math.random()|0;return("x"==u?c:3&c|8).toString(16)})},jsonMessageReplacer:D,jsonMessageReviver:de}=e;let P;if(C){if(!function ie(e){return"function"==typeof e&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}(C))throw new Error("Invalid WebSocket implementation provided");P=C}else typeof WebSocket<"u"?P=WebSocket:typeof global<"u"?P=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(P=window.WebSocket||window.MozWebSocket);if(!P)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const O=P,y=(()=>{const t=(()=>{const c={};return{on:(r,s)=>(c[r]=s,()=>{delete c[r]}),emit(r){var s;"id"in r&&(null===(s=c[r.id])||void 0===s||s.call(c,r))}}})(),u={connecting:o?.connecting?[o.connecting]:[],opened:o?.opened?[o.opened]:[],connected:o?.connected?[o.connected]:[],ping:o?.ping?[o.ping]:[],pong:o?.pong?[o.pong]:[],message:o?.message?[t.emit,o.message]:[t.emit],closed:o?.closed?[o.closed]:[],error:o?.error?[o.error]:[]};return{onMessage:t.on,on(c,r){const s=u[c];return s.push(r),()=>{s.splice(s.indexOf(r),1)}},emit(c,...r){for(const s of[...u[c]])s(...r)}}})();function J(t){const u=[y.on("error",c=>{u.forEach(r=>r()),t(c)}),y.on("closed",c=>{u.forEach(r=>r()),t(c)})]}let g,x=0,U=!1,G=0,K=!1;function V(){return $.apply(this,arguments)}function $(){return($=(0,h.Z)(function*(){const[t,u]=yield g??(g=new Promise((s,b)=>(0,h.Z)(function*(){if(U){if(yield ce(G),!x)return g=void 0,b({code:1e3,reason:"All Subscriptions Gone"});G++}y.emit("connecting");const a=new O("function"==typeof n?yield n():n,ne);let E,T;function q(){isFinite(M)&&M>0&&(clearTimeout(T),T=setTimeout(()=>{a.readyState===O.OPEN&&(a.send(N({type:l.Ping})),y.emit("ping",!1,void 0))},M))}J(f=>{g=void 0,clearTimeout(E),clearTimeout(T),b(f),L(f)&&4499===f.code&&(a.close(4499,"Terminated"),a.onerror=null,a.onclose=null)}),a.onerror=f=>y.emit("error",f),a.onclose=f=>y.emit("closed",f),a.onopen=(0,h.Z)(function*(){try{y.emit("opened",a);const f="function"==typeof i?yield i():i;if(a.readyState!==O.OPEN)return;a.send(N(f?{type:l.ConnectionInit,payload:f}:{type:l.ConnectionInit},D)),isFinite(F)&&F>0&&(E=setTimeout(()=>{a.close(m.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},F)),q()}catch(f){y.emit("error",f),a.close(m.InternalClientError,j(f instanceof Error?f.message:new Error(f).message,"Internal client error"))}});let k=!1;a.onmessage=({data:f})=>{try{const p=te(f,de);if(y.emit("message",p),"ping"===p.type||"pong"===p.type)return y.emit(p.type,!0,p.payload),void("pong"===p.type?q():se||(a.send(N(p.payload?{type:l.Pong,payload:p.payload}:{type:l.Pong})),y.emit("pong",!1,p.payload)));if(k)return;if(p.type!==l.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(E),k=!0,y.emit("connected",a,p.payload),U=!1,G=0,s([a,new Promise((xe,fe)=>J(fe))])}catch(p){a.onmessage=null,y.emit("error",p),a.close(m.BadResponse,j(p instanceof Error?p.message:new Error(p).message,"Bad response"))}}})()));t.readyState===O.CLOSING&&(yield u);let c=()=>{};const r=new Promise(s=>c=s);return[t,c,Promise.race([r.then(()=>{if(!x){const s=()=>t.close(1e3,"Normal Closure");isFinite(B)&&B>0?setTimeout(()=>{!x&&t.readyState===O.OPEN&&s()},B):s()}}),u])]})).apply(this,arguments)}function X(t){if(L(t)&&(function re(e){return![1e3,1001,1006,1005,1012,1013,1013].includes(e)&&e>=1e3&&e<=1999}(t.code)||[m.InternalServerError,m.InternalClientError,m.BadRequest,m.BadResponse,m.Unauthorized,m.SubprotocolNotAcceptable,m.SubscriberAlreadyExists,m.TooManyInitialisationRequests].includes(t.code)))throw t;if(K)return!1;if(L(t)&&1e3===t.code)return x>0;if(!H||G>=H||!le(t)||Z?.(t))throw t;return U=!0}return d||(0,h.Z)(function*(){for(x++;;)try{const[,,t]=yield V();yield t}catch(t){try{if(!X(t))return}catch(u){return A?.(u)}}})(),{on:y.on,subscribe(t,u){const c=ue();let r=!1,s=!1,b=()=>{x--,r=!0};return(0,h.Z)(function*(){for(x++;;)try{const[a,E,T]=yield V();if(r)return E();const q=y.onMessage(c,k=>{switch(k.type){case l.Next:return void u.next(k.payload);case l.Error:return s=!0,r=!0,u.error(k.payload),void b();case l.Complete:return r=!0,void b()}});return a.send(N({id:c,type:l.Subscribe,payload:t},D)),b=()=>{!r&&a.readyState===O.OPEN&&a.send(N({id:c,type:l.Complete},D)),x--,r=!0,E()},void(yield T.finally(q))}catch(a){if(!X(a))return}})().then(()=>{s||u.complete()}).catch(a=>{u.error(a)}),()=>{r||b()}},dispose:()=>(0,h.Z)(function*(){if(K=!0,g){const[t]=yield g;t.close(1e3,"Normal Closure")}})(),terminate(){g&&y.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:this.subscriptionUrl,connectionParams:this.connectionParams,lazy:!1,onNonLazyError:n=>{var i,d;null===(i=this.extraOptions)||void 0===i||null===(d=i.onConnected)||void 0===d||d.call(i,n,void 0)},on:{connected:()=>{var n,i;null===(n=this.extraOptions)||void 0===n||null===(i=n.onConnected)||void 0===i||i.call(n,void 0,void 0)},error:n=>{var i,d;null===(i=this.extraOptions)||void 0===i||null===(d=i.onConnected)||void 0===d||d.call(i,n,void 0)}}})}execute(n){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new _.y(i=>{this.cleanup=this.client.subscribe({query:n.query,variables:n.variables,operationName:n.operationName},{next:(...d)=>i.next(...d),error:(...d)=>i.error(...d),complete:()=>i.complete()})})}close(){var n=this;return(0,h.Z)(function*(){try{var i,d;null===(i=n.cleanup)||void 0===i||i.call(n),n.cleanup=void 0,yield null===(d=n.client)||void 0===d?void 0:d.dispose(),n.client=void 0}catch(A){console.error(A)}})()}}}}]);
|
|
@@ -148,6 +148,181 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
148
148
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
149
149
|
|
|
150
150
|
|
|
151
|
+
@codemirror/autocomplete
|
|
152
|
+
MIT
|
|
153
|
+
MIT License
|
|
154
|
+
|
|
155
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
156
|
+
|
|
157
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
158
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
159
|
+
in the Software without restriction, including without limitation the rights
|
|
160
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
161
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
162
|
+
furnished to do so, subject to the following conditions:
|
|
163
|
+
|
|
164
|
+
The above copyright notice and this permission notice shall be included in
|
|
165
|
+
all copies or substantial portions of the Software.
|
|
166
|
+
|
|
167
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
168
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
169
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
170
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
171
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
172
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
173
|
+
THE SOFTWARE.
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
@codemirror/commands
|
|
177
|
+
MIT
|
|
178
|
+
MIT License
|
|
179
|
+
|
|
180
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
181
|
+
|
|
182
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
184
|
+
in the Software without restriction, including without limitation the rights
|
|
185
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
186
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
187
|
+
furnished to do so, subject to the following conditions:
|
|
188
|
+
|
|
189
|
+
The above copyright notice and this permission notice shall be included in
|
|
190
|
+
all copies or substantial portions of the Software.
|
|
191
|
+
|
|
192
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
193
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
194
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
195
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
196
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
197
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
198
|
+
THE SOFTWARE.
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
@codemirror/lang-javascript
|
|
202
|
+
MIT
|
|
203
|
+
MIT License
|
|
204
|
+
|
|
205
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
206
|
+
|
|
207
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
208
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
209
|
+
in the Software without restriction, including without limitation the rights
|
|
210
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
211
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
212
|
+
furnished to do so, subject to the following conditions:
|
|
213
|
+
|
|
214
|
+
The above copyright notice and this permission notice shall be included in
|
|
215
|
+
all copies or substantial portions of the Software.
|
|
216
|
+
|
|
217
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
218
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
219
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
220
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
221
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
222
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
223
|
+
THE SOFTWARE.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
@codemirror/lang-json
|
|
227
|
+
MIT
|
|
228
|
+
MIT License
|
|
229
|
+
|
|
230
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
231
|
+
|
|
232
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
233
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
234
|
+
in the Software without restriction, including without limitation the rights
|
|
235
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
236
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
237
|
+
furnished to do so, subject to the following conditions:
|
|
238
|
+
|
|
239
|
+
The above copyright notice and this permission notice shall be included in
|
|
240
|
+
all copies or substantial portions of the Software.
|
|
241
|
+
|
|
242
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
243
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
244
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
245
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
246
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
247
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
248
|
+
THE SOFTWARE.
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
@codemirror/language
|
|
252
|
+
MIT
|
|
253
|
+
MIT License
|
|
254
|
+
|
|
255
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
256
|
+
|
|
257
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
258
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
259
|
+
in the Software without restriction, including without limitation the rights
|
|
260
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
261
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
262
|
+
furnished to do so, subject to the following conditions:
|
|
263
|
+
|
|
264
|
+
The above copyright notice and this permission notice shall be included in
|
|
265
|
+
all copies or substantial portions of the Software.
|
|
266
|
+
|
|
267
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
268
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
269
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
270
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
271
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
272
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
273
|
+
THE SOFTWARE.
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
@codemirror/state
|
|
277
|
+
MIT
|
|
278
|
+
MIT License
|
|
279
|
+
|
|
280
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
281
|
+
|
|
282
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
283
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
284
|
+
in the Software without restriction, including without limitation the rights
|
|
285
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
286
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
287
|
+
furnished to do so, subject to the following conditions:
|
|
288
|
+
|
|
289
|
+
The above copyright notice and this permission notice shall be included in
|
|
290
|
+
all copies or substantial portions of the Software.
|
|
291
|
+
|
|
292
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
293
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
294
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
295
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
296
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
297
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
298
|
+
THE SOFTWARE.
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
@codemirror/view
|
|
302
|
+
MIT
|
|
303
|
+
MIT License
|
|
304
|
+
|
|
305
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
306
|
+
|
|
307
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
308
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
309
|
+
in the Software without restriction, including without limitation the rights
|
|
310
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
311
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
312
|
+
furnished to do so, subject to the following conditions:
|
|
313
|
+
|
|
314
|
+
The above copyright notice and this permission notice shall be included in
|
|
315
|
+
all copies or substantial portions of the Software.
|
|
316
|
+
|
|
317
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
318
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
319
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
320
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
321
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
322
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
323
|
+
THE SOFTWARE.
|
|
324
|
+
|
|
325
|
+
|
|
151
326
|
@ctrl/ngx-codemirror
|
|
152
327
|
MIT
|
|
153
328
|
MIT License
|
|
@@ -384,6 +559,130 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
384
559
|
SOFTWARE.
|
|
385
560
|
|
|
386
561
|
|
|
562
|
+
@lezer/common
|
|
563
|
+
MIT
|
|
564
|
+
MIT License
|
|
565
|
+
|
|
566
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
567
|
+
|
|
568
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
569
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
570
|
+
in the Software without restriction, including without limitation the rights
|
|
571
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
572
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
573
|
+
furnished to do so, subject to the following conditions:
|
|
574
|
+
|
|
575
|
+
The above copyright notice and this permission notice shall be included in
|
|
576
|
+
all copies or substantial portions of the Software.
|
|
577
|
+
|
|
578
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
579
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
580
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
581
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
582
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
583
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
584
|
+
THE SOFTWARE.
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
@lezer/highlight
|
|
588
|
+
MIT
|
|
589
|
+
MIT License
|
|
590
|
+
|
|
591
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
592
|
+
|
|
593
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
594
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
595
|
+
in the Software without restriction, including without limitation the rights
|
|
596
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
597
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
598
|
+
furnished to do so, subject to the following conditions:
|
|
599
|
+
|
|
600
|
+
The above copyright notice and this permission notice shall be included in
|
|
601
|
+
all copies or substantial portions of the Software.
|
|
602
|
+
|
|
603
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
604
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
605
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
606
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
607
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
608
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
609
|
+
THE SOFTWARE.
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
@lezer/javascript
|
|
613
|
+
MIT
|
|
614
|
+
MIT License
|
|
615
|
+
|
|
616
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
617
|
+
|
|
618
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
619
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
620
|
+
in the Software without restriction, including without limitation the rights
|
|
621
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
622
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
623
|
+
furnished to do so, subject to the following conditions:
|
|
624
|
+
|
|
625
|
+
The above copyright notice and this permission notice shall be included in
|
|
626
|
+
all copies or substantial portions of the Software.
|
|
627
|
+
|
|
628
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
629
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
630
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
631
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
632
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
633
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
634
|
+
THE SOFTWARE.
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
@lezer/json
|
|
638
|
+
MIT
|
|
639
|
+
MIT License
|
|
640
|
+
|
|
641
|
+
Copyright (C) 2020 by Marijn Haverbeke <marijnh@gmail.com>, Arun Srinivasan <rulfzid@gmail.com>, and others
|
|
642
|
+
|
|
643
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
644
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
645
|
+
in the Software without restriction, including without limitation the rights
|
|
646
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
647
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
648
|
+
furnished to do so, subject to the following conditions:
|
|
649
|
+
|
|
650
|
+
The above copyright notice and this permission notice shall be included in
|
|
651
|
+
all copies or substantial portions of the Software.
|
|
652
|
+
|
|
653
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
654
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
655
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
656
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
657
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
658
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
659
|
+
THE SOFTWARE.
|
|
660
|
+
|
|
661
|
+
@lezer/lr
|
|
662
|
+
MIT
|
|
663
|
+
MIT License
|
|
664
|
+
|
|
665
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
666
|
+
|
|
667
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
668
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
669
|
+
in the Software without restriction, including without limitation the rights
|
|
670
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
671
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
672
|
+
furnished to do so, subject to the following conditions:
|
|
673
|
+
|
|
674
|
+
The above copyright notice and this permission notice shall be included in
|
|
675
|
+
all copies or substantial portions of the Software.
|
|
676
|
+
|
|
677
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
678
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
679
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
680
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
681
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
682
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
683
|
+
THE SOFTWARE.
|
|
684
|
+
|
|
685
|
+
|
|
387
686
|
@ngneat/hot-toast
|
|
388
687
|
MIT
|
|
389
688
|
|
|
@@ -2709,6 +3008,31 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
2709
3008
|
|
|
2710
3009
|
|
|
2711
3010
|
|
|
3011
|
+
graphql-sse
|
|
3012
|
+
MIT
|
|
3013
|
+
MIT License
|
|
3014
|
+
|
|
3015
|
+
Copyright (c) 2021 Denis Badurina
|
|
3016
|
+
|
|
3017
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3018
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3019
|
+
in the Software without restriction, including without limitation the rights
|
|
3020
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3021
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3022
|
+
furnished to do so, subject to the following conditions:
|
|
3023
|
+
|
|
3024
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3025
|
+
copies or substantial portions of the Software.
|
|
3026
|
+
|
|
3027
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3028
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3029
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3030
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3031
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3032
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3033
|
+
SOFTWARE.
|
|
3034
|
+
|
|
3035
|
+
|
|
2712
3036
|
graphql-tag
|
|
2713
3037
|
MIT
|
|
2714
3038
|
The MIT License (MIT)
|
|
@@ -4318,6 +4642,29 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
4318
4642
|
SOFTWARE.
|
|
4319
4643
|
|
|
4320
4644
|
|
|
4645
|
+
style-mod
|
|
4646
|
+
MIT
|
|
4647
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
4648
|
+
|
|
4649
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4650
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4651
|
+
in the Software without restriction, including without limitation the rights
|
|
4652
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4653
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4654
|
+
furnished to do so, subject to the following conditions:
|
|
4655
|
+
|
|
4656
|
+
The above copyright notice and this permission notice shall be included in
|
|
4657
|
+
all copies or substantial portions of the Software.
|
|
4658
|
+
|
|
4659
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4660
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4661
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4662
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4663
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4664
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4665
|
+
THE SOFTWARE.
|
|
4666
|
+
|
|
4667
|
+
|
|
4321
4668
|
subscriptions-transport-ws
|
|
4322
4669
|
MIT
|
|
4323
4670
|
The MIT License (MIT)
|
|
@@ -4533,25 +4880,13 @@ uuid
|
|
|
4533
4880
|
MIT
|
|
4534
4881
|
The MIT License (MIT)
|
|
4535
4882
|
|
|
4536
|
-
Copyright (c) 2010-
|
|
4883
|
+
Copyright (c) 2010-2020 Robert Kieffer and other contributors
|
|
4537
4884
|
|
|
4538
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4539
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
4540
|
-
in the Software without restriction, including without limitation the rights
|
|
4541
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4542
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
4543
|
-
furnished to do so, subject to the following conditions:
|
|
4885
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4544
4886
|
|
|
4545
|
-
The above copyright notice and this permission notice shall be included in all
|
|
4546
|
-
copies or substantial portions of the Software.
|
|
4887
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
4547
4888
|
|
|
4548
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4549
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4550
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4551
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4552
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4553
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
4554
|
-
SOFTWARE.
|
|
4889
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4555
4890
|
|
|
4556
4891
|
|
|
4557
4892
|
valid-url
|
|
@@ -4592,6 +4927,29 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
4592
4927
|
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4593
4928
|
|
|
4594
4929
|
|
|
4930
|
+
w3c-keyname
|
|
4931
|
+
MIT
|
|
4932
|
+
Copyright (C) 2016 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
4933
|
+
|
|
4934
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4935
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4936
|
+
in the Software without restriction, including without limitation the rights
|
|
4937
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4938
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4939
|
+
furnished to do so, subject to the following conditions:
|
|
4940
|
+
|
|
4941
|
+
The above copyright notice and this permission notice shall be included in
|
|
4942
|
+
all copies or substantial portions of the Software.
|
|
4943
|
+
|
|
4944
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4945
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4946
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4947
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4948
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4949
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4950
|
+
THE SOFTWARE.
|
|
4951
|
+
|
|
4952
|
+
|
|
4595
4953
|
websocket
|
|
4596
4954
|
Apache-2.0
|
|
4597
4955
|
|
package/build/dist/471.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.
|
|
1
|
+
"use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[471],{95471:(F,y,u)=>{u.r(y),u.d(y,{DocUtils:()=>O});var I=u(15861),E=u(30121),b=u(70708),A=u(51316),M=u(62762);class O{constructor(e){this.searchIndex=[],e&&this.updateSchema(e)}updateSchema(e){this.schema=(0,b.I)(e)}generateSearchIndex(){if(!this.schema)return[];let e=[];(0,A.Z)(this.schema).forEach(t=>{e=[...e,...this.getTypeIndices(t,!0,e)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(t=>{/^__/.test(t)||(e=[...e,...this.getTypeIndices(r[t],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,i,r,t){let s=[];return Object.keys(e).forEach(n=>{const a=e[n],c={search:a.name,name:a.name,description:a.description?a.description:"",args:a.args?a.args.map(h=>({name:h.name,description:h.description})):[],cat:"field",type:i.name,isQuery:r,highlight:"field"};s=[...s,c],a.args&&a.args.length&&a.args.forEach(h=>{s=[...s,{...c,search:h.name,highlight:"argument"}]}),a.type&&(s=[...s,...this.getTypeIndices(a.type,!1,[...t,...s]).filter(h=>!!h)])}),s}getTypeIndices(e,i,r){let t=null;if(!e.name)return[];if(r.some(n=>n.name===e.name&&"type"===n.cat))return[];e.getFields&&(t=e.getFields());const s=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:i,highlight:"type"}];return t?[...s,...this.getFieldsIndices(t,e,i,[...r,...s]).filter(n=>!!n)]:s}searchDocs(e){return this.searchIndex.length?new E.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(r=>r.item):[]}generateQuery(e,i,r){let t="",s=!1;if(!this.schema)return;switch(i){case this.schema.getQueryType()&&this.schema.getQueryType().name:t+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:t+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:t+="subscription";break;default:t+=`fragment _____ on ${i}`,s=!0}const n=this.generateFieldData(e,i,[],1,r);if(!n)return;t+=`{\n${n.query}\n}`;const a={...n.meta};return a.hasArgs=s||a.hasArgs,{query:t,meta:a}}generateQueryV2(e,i,r){var t=this;return(0,I.Z)(function*(){if(!t.schema)return;const s=yield(0,M.Ku)(t.schema,e,i,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:s.generated,meta:s.metas.find(n=>n.hasArgs)||{}}})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,i,r,t,s={}){if(!(e&&i&&r&&this.schema))return{query:"",meta:{}};const n=s.tabSize||2,a=this.schema.getType(i),c=a&&a.getFields()[e];if(!c)return{query:"",meta:{}};const h={hasArgs:!1};let d=" ".repeat(t*n)+c.name;c.args&&c.args.length&&(h.hasArgs=!0,d+=`(${c.args.reduce((o,l)=>o+", "+l.name+": ______","").substring(2)})`);const m=this.cleanName(c.type.inspect()),f=this.schema.getType(m);if(r.filter(g=>g.type===m).length)return{query:"",meta:{}};if(t>=(s.addQueryDepthLimit||0))return{query:"",meta:{}};const p=f&&f.getFields&&f.getFields();let _="";return p&&(_=Object.keys(p).reduce((g,o)=>{if(r.filter(T=>T.name===o&&T.type===m).length)return"";const l=this.generateFieldData(o,m,[...r,{name:e,type:m}],t+1,s);if(!l)return g;const D=l.query;return h.hasArgs=h.hasArgs||l.meta.hasArgs||!1,D?g+"\n"+D:g},"").substring(1)),_&&(d+=`{\n${_}\n`,d+=" ".repeat(t*n)+"}"),{query:d,meta:h}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[478],{72478:(u,l,o)=>{const i=o(51101),e=o(48515);u.exports={atob:i,btoa:e}},51101:u=>{function i(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e);return t<0?void 0:t}u.exports=function l(e){if((e=(e=`${e}`).replace(/[ \t\n\f\r]/g,"")).length%4==0&&(e=e.replace(/==?$/,"")),e.length%4==1||/[^+/0-9A-Za-z]/.test(e))return null;let t="",n=0,r=0;for(let f=0;f<e.length;f++)n<<=6,n|=i(e[f]),r+=6,24===r&&(t+=String.fromCharCode((16711680&n)>>16),t+=String.fromCharCode((65280&n)>>8),t+=String.fromCharCode(255&n),n=r=0);return 12===r?(n>>=4,t+=String.fromCharCode(n)):18===r&&(n>>=2,t+=String.fromCharCode((65280&n)>>8),t+=String.fromCharCode(255&n)),t}},48515:u=>{function i(e){if(e>=0&&e<64)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}u.exports=function l(e){let t;for(e=`${e}`,t=0;t<e.length;t++)if(e.charCodeAt(t)>255)return null;let n="";for(t=0;t<e.length;t+=3){const r=[void 0,void 0,void 0,void 0];r[0]=e.charCodeAt(t)>>2,r[1]=(3&e.charCodeAt(t))<<4,e.length>t+1&&(r[1]|=e.charCodeAt(t+1)>>4,r[2]=(15&e.charCodeAt(t+1))<<2),e.length>t+2&&(r[2]|=e.charCodeAt(t+2)>>6,r[3]=63&e.charCodeAt(t+2));for(let f=0;f<r.length;f++)n+=typeof r[f]>"u"?"=":i(r[f])}return n}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[482],{22482:(C,f,r)=>{"use strict";r.r(f),r.d(f,{WebsocketSubscriptionProvider:()=>y});var a=r(69972),g=r(48921),w=r(12418);class y extends a.q{createClient(){var s;this.client=new g.SubscriptionClient(this.subscriptionUrl,{reconnect:!0,connectionParams:this.connectionParams,connectionCallback:null===(s=this.extraOptions)||void 0===s?void 0:s.onConnected})}execute(s){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new w.y(u=>{const l=this.client.request({query:s.query,variables:s.variables,operationName:s.operationName}).subscribe({next:(...I)=>u.next(...I),error:(...I)=>u.error(...I),complete:()=>u.complete()});this.cleanup=l.unsubscribe})}close(){var s,u,l;null===(s=this.cleanup)||void 0===s||s.call(this),this.cleanup=void 0,null===(u=this.client)||void 0===u||u.unsubscribeAll(),null===(l=this.client)||void 0===l||l.close(),this.client=void 0}}},50586:C=>{function f(r){this.ms=(r=r||{}).min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}C.exports=f,f.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var a=Math.random(),g=Math.floor(a*this.jitter*r);r=0==(1&Math.floor(10*a))?r-g:r+g}return 0|Math.min(r,this.max)},f.prototype.reset=function(){this.attempts=0},f.prototype.setMin=function(r){this.ms=r},f.prototype.setMax=function(r){this.max=r},f.prototype.setJitter=function(r){this.jitter=r}},73817:C=>{"use strict";var f=Object.prototype.hasOwnProperty,r="~";function a(){}function g(d,s,u){this.fn=d,this.context=s,this.once=u||!1}function A(d,s,u,l,I){if("function"!=typeof u)throw new TypeError("The listener must be a function");var O=new g(u,l||d,I),b=r?r+s:s;return d._events[b]?d._events[b].fn?d._events[b]=[d._events[b],O]:d._events[b].push(O):(d._events[b]=O,d._eventsCount++),d}function w(d,s){0==--d._eventsCount?d._events=new a:delete d._events[s]}function y(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),(new a).__proto__||(r=!1)),y.prototype.eventNames=function(){var u,l,s=[];if(0===this._eventsCount)return s;for(l in u=this._events)f.call(u,l)&&s.push(r?l.slice(1):l);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(u)):s},y.prototype.listeners=function(s){var l=this._events[r?r+s:s];if(!l)return[];if(l.fn)return[l.fn];for(var I=0,O=l.length,b=new Array(O);I<O;I++)b[I]=l[I].fn;return b},y.prototype.listenerCount=function(s){var l=this._events[r?r+s:s];return l?l.fn?1:l.length:0},y.prototype.emit=function(s,u,l,I,O,b){var M=r?r+s:s;if(!this._events[M])return!1;var _,T,p=this._events[M],S=arguments.length;if(p.fn){switch(p.once&&this.removeListener(s,p.fn,void 0,!0),S){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,u),!0;case 3:return p.fn.call(p.context,u,l),!0;case 4:return p.fn.call(p.context,u,l,I),!0;case 5:return p.fn.call(p.context,u,l,I,O),!0;case 6:return p.fn.call(p.context,u,l,I,O,b),!0}for(T=1,_=new Array(S-1);T<S;T++)_[T-1]=arguments[T];p.fn.apply(p.context,_)}else{var t,c=p.length;for(T=0;T<c;T++)switch(p[T].once&&this.removeListener(s,p[T].fn,void 0,!0),S){case 1:p[T].fn.call(p[T].context);break;case 2:p[T].fn.call(p[T].context,u);break;case 3:p[T].fn.call(p[T].context,u,l);break;case 4:p[T].fn.call(p[T].context,u,l,I);break;default:if(!_)for(t=1,_=new Array(S-1);t<S;t++)_[t-1]=arguments[t];p[T].fn.apply(p[T].context,_)}}return!0},y.prototype.on=function(s,u,l){return A(this,s,u,l,!1)},y.prototype.once=function(s,u,l){return A(this,s,u,l,!0)},y.prototype.removeListener=function(s,u,l,I){var O=r?r+s:s;if(!this._events[O])return this;if(!u)return w(this,O),this;var b=this._events[O];if(b.fn)b.fn===u&&(!I||b.once)&&(!l||b.context===l)&&w(this,O);else{for(var M=0,p=[],S=b.length;M<S;M++)(b[M].fn!==u||I&&!b[M].once||l&&b[M].context!==l)&&p.push(b[M]);p.length?this._events[O]=1===p.length?p[0]:p:w(this,O)}return this},y.prototype.removeAllListeners=function(s){var u;return s?this._events[u=r?r+s:s]&&w(this,u):(this._events=new a,this._eventsCount=0),this},y.prototype.off=y.prototype.removeListener,y.prototype.addListener=y.prototype.on,y.prefixed=r,y.EventEmitter=y,C.exports=y},48921:function(C,f,r){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(c){for(var t,e=1,n=arguments.length;e<n;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(c[o]=t[o]);return c},a.apply(this,arguments)},g=this&&this.__awaiter||function(c,t,e,n){return new(e||(e=Promise))(function(i,v){function E(m){try{h(n.next(m))}catch(R){v(R)}}function N(m){try{h(n.throw(m))}catch(R){v(R)}}function h(m){m.done?i(m.value):function o(i){return i instanceof e?i:new e(function(v){v(i)})}(m.value).then(E,N)}h((n=n.apply(c,t||[])).next())})},A=this&&this.__generator||function(c,t){var n,o,i,v,e={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return v={next:E(0),throw:E(1),return:E(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function E(h){return function(m){return function N(h){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,o&&(i=2&h[0]?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[2&h[0],i.value]),h[0]){case 0:case 1:i=h;break;case 4:return e.label++,{value:h[1],done:!1};case 5:e.label++,o=h[1],h=[0];continue;case 7:h=e.ops.pop(),e.trys.pop();continue;default:if(!(i=(i=e.trys).length>0&&i[i.length-1])&&(6===h[0]||2===h[0])){e=0;continue}if(3===h[0]&&(!i||h[1]>i[0]&&h[1]<i[3])){e.label=h[1];break}if(6===h[0]&&e.label<i[1]){e.label=i[1],i=h;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(h);break}i[2]&&e.ops.pop(),e.trys.pop();continue}h=t.call(c,e)}catch(m){h=[6,m],o=0}finally{n=i=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,m])}}},w=this&&this.__spreadArrays||function(){for(var c=0,t=0,e=arguments.length;t<e;t++)c+=arguments[t].length;var n=Array(c),o=0;for(t=0;t<e;t++)for(var i=arguments[t],v=0,E=i.length;v<E;v++,o++)n[o]=i[v];return n};Object.defineProperty(f,"__esModule",{value:!0}),f.SubscriptionClient=void 0;var y=typeof global<"u"?global:typeof window<"u"?window:{},d=y.WebSocket||y.MozWebSocket,s=r(50586),u=r(73817),l=r(23273),I=r(13942),O=r(71352),b=r(69251),M=r(60433),p=r(28938),S=r(17987),_=r(56399),T=function(){function c(t,e,n,o){var i=e||{},v=i.connectionCallback,E=void 0===v?void 0:v,N=i.connectionParams,h=void 0===N?{}:N,m=i.minTimeout,R=void 0===m?S.MIN_WS_TIMEOUT:m,P=i.timeout,U=void 0===P?S.WS_TIMEOUT:P,L=i.reconnect,j=void 0!==L&&L,k=i.reconnectionAttempts,W=void 0===k?1/0:k,x=i.lazy,B=void 0!==x&&x,G=i.inactivityTimeout,D=void 0===G?0:G,Q=i.wsOptionArguments,K=void 0===Q?[]:Q;if(this.wsImpl=n||d,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=o||p.GRAPHQL_WS,this.connectionCallback=E,this.url=t,this.operations={},this.nextOperationId=0,this.minWsTimeout=R,this.wsTimeout=U,this.unsentMessagesQueue=[],this.reconnect=j,this.reconnecting=!1,this.reconnectionAttempts=W,this.lazy=!!B,this.inactivityTimeout=D,this.closedByUser=!1,this.backoff=new s({jitter:.5}),this.eventEmitter=new u.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(h),this.wsOptionArguments=K,this.lazy||this.connect()}return Object.defineProperty(c.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),c.prototype.close=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=e,t&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,_.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit("disconnected"),t||this.tryReconnect())},c.prototype.request=function(t){var e,v,n=this.getObserver.bind(this),o=this.executeOperation.bind(this),i=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(e={})[M.default]=function(){return this},e.subscribe=function(E,N,h){var m=n(E,N,h);return v=o(t,function(R,P){null===R&&null===P?m.complete&&m.complete():R?m.error&&m.error(R[0]):m.next&&m.next(P)}),{unsubscribe:function(){v&&(i(v),v=null)}}},e},c.prototype.on=function(t,e,n){var o=this.eventEmitter.on(t,e,n);return function(){o.off(t,e,n)}},c.prototype.onConnected=function(t,e){return this.on("connected",t,e)},c.prototype.onConnecting=function(t,e){return this.on("connecting",t,e)},c.prototype.onDisconnected=function(t,e){return this.on("disconnected",t,e)},c.prototype.onReconnected=function(t,e){return this.on("reconnected",t,e)},c.prototype.onReconnecting=function(t,e){return this.on("reconnecting",t,e)},c.prototype.onError=function(t,e){return this.on("error",t,e)},c.prototype.unsubscribeAll=function(){var t=this;Object.keys(this.operations).forEach(function(e){t.unsubscribe(e)})},c.prototype.applyMiddlewares=function(t){var e=this;return new Promise(function(n,o){var v,E,N;v=w(e.middlewares),E=e,(N=function(h){if(h)o(h);else if(v.length>0){var m=v.shift();m&&m.applyMiddleware.apply(E,[t,N])}else n(t)})()})},c.prototype.use=function(t){var e=this;return t.map(function(n){if("function"!=typeof n.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(n)}),this},c.prototype.getConnectionParams=function(t){return function(){return new Promise(function(e,n){if("function"==typeof t)try{return e(t.call(null))}catch(o){return n(o)}e(t)})}},c.prototype.executeOperation=function(t,e){var n=this;null===this.client&&this.connect();var o=this.generateOperationId();return this.operations[o]={options:t,handler:e},this.applyMiddlewares(t).then(function(i){n.checkOperationOptions(i,e),n.operations[o]&&(n.operations[o]={options:i,handler:e},n.sendMessage(o,_.default.GQL_START,i))}).catch(function(i){n.unsubscribe(o),e(n.formatErrors(i))}),o},c.prototype.getObserver=function(t,e,n){return"function"==typeof t?{next:function(o){return t(o)},error:function(o){return e&&e(o)},complete:function(){return n&&n()}}:t},c.prototype.createMaxConnectTimeGenerator=function(){return new s({min:this.minWsTimeout,max:this.wsTimeout,factor:1.2})},c.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},c.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},c.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},c.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},c.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(t.operations).length&&t.close()},this.inactivityTimeout))},c.prototype.checkOperationOptions=function(t,e){var n=t.query,o=t.variables,i=t.operationName;if(!n)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!l.default(n)&&!b.getOperationAST(n,i)||i&&!l.default(i)||o&&!I.default(o))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},c.prototype.buildMessage=function(t,e,n){return{id:t,type:e,payload:n&&n.query?a(a({},n),{query:"string"==typeof n.query?n.query:O.print(n.query)}):n}},c.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},c.prototype.sendMessage=function(t,e,n){this.sendMessageRaw(this.buildMessage(t,e,n))},c.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch{this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},c.prototype.generateOperationId=function(){return String(++this.nextOperationId)},c.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(n){t.unsentMessagesQueue.push(t.buildMessage(n,_.default.GQL_START,t.operations[n].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){t.connect()},e)}},c.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach(function(e){t.sendMessageRaw(e)}),this.unsentMessagesQueue=[]},c.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},c.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))},this.maxConnectTimeGenerator.duration())},c.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,w([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return g(e,void 0,void 0,function(){var n,o;return A(this,function(i){switch(i.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return n=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_INIT,n),this.flushUnsentMessagesQueue(),[3,4];case 3:return o=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_ERROR,o),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(n){e.eventEmitter.emit("error",n)},this.client.onmessage=function(n){e.processReceivedData(n.data)}},c.prototype.processReceivedData=function(t){var e,n;try{n=(e=JSON.parse(t)).id}catch{throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[_.default.GQL_DATA,_.default.GQL_COMPLETE,_.default.GQL_ERROR].indexOf(e.type)||this.operations[n])switch(e.type){case _.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case _.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case _.default.GQL_COMPLETE:var o=this.operations[n].handler;delete this.operations[n],o.call(this,null,null);break;case _.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(e.payload),null),delete this.operations[n];break;case _.default.GQL_DATA:var i=e.payload.errors?a(a({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[n].handler(null,i);break;case _.default.GQL_CONNECTION_KEEP_ALIVE:var v=typeof this.wasKeepAliveReceived>"u";this.wasKeepAliveReceived=!0,v&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},c.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,_.default.GQL_STOP,void 0))},c}();f.SubscriptionClient=T},17987:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WS_TIMEOUT=f.MIN_WS_TIMEOUT=void 0,f.MIN_WS_TIMEOUT=1e3,f.WS_TIMEOUT=3e4},56399:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0});var r=function(){function a(){throw new Error("Static Class")}return a.GQL_CONNECTION_INIT="connection_init",a.GQL_CONNECTION_ACK="connection_ack",a.GQL_CONNECTION_ERROR="connection_error",a.GQL_CONNECTION_KEEP_ALIVE="ka",a.GQL_CONNECTION_TERMINATE="connection_terminate",a.GQL_START="start",a.GQL_DATA="data",a.GQL_ERROR="error",a.GQL_COMPLETE="complete",a.GQL_STOP="stop",a.SUBSCRIPTION_START="subscription_start",a.SUBSCRIPTION_DATA="subscription_data",a.SUBSCRIPTION_SUCCESS="subscription_success",a.SUBSCRIPTION_FAIL="subscription_fail",a.SUBSCRIPTION_END="subscription_end",a.INIT="init",a.INIT_SUCCESS="init_success",a.INIT_FAIL="init_fail",a.KEEP_ALIVE="keepalive",a}();f.default=r},28938:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GRAPHQL_SUBSCRIPTIONS=f.GRAPHQL_WS=void 0,f.GRAPHQL_WS="graphql-ws",f.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},13942:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=function r(a){return null!==a&&"object"==typeof a}},23273:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=function r(a){return"string"==typeof a}},60433:(C,f,r)=>{"use strict";r.r(f),r.d(f,{default:()=>w}),C=r.hmd(C);const w=function a(y){var d,s=y.Symbol;return"function"==typeof s?s.observable?d=s.observable:(d=s("observable"),s.observable=d):d="@@observable",d}(typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:C)}}]);
|