altair-static 8.1.2 → 8.1.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.
Files changed (43) hide show
  1. package/.turbo/turbo-bootstrap.log +5 -5
  2. package/build/dist/103.js +5 -0
  3. package/build/dist/144.js +5 -0
  4. package/build/dist/15.js +5 -0
  5. package/build/dist/163.js +5 -0
  6. package/build/dist/{318.js → 215.js} +4 -4
  7. package/build/dist/241.js +5 -0
  8. package/build/dist/{471.js → 302.js} +4 -4
  9. package/build/dist/3rdpartylicenses.txt +27 -2
  10. package/build/dist/428.js +5 -0
  11. package/build/dist/513.js +5 -0
  12. package/build/dist/616.js +4 -4
  13. package/build/dist/635.js +5 -0
  14. package/build/dist/{119.js → 638.js} +4 -4
  15. package/build/dist/650.js +5 -0
  16. package/build/dist/681.js +5 -0
  17. package/build/dist/684.js +5 -0
  18. package/build/dist/713.js +3 -3
  19. package/build/dist/{320.js → 859.js} +4 -4
  20. package/build/dist/{936.js → 866.js} +4 -4
  21. package/build/dist/{597.js → 902.js} +4 -4
  22. package/build/dist/{808.js → 949.js} +4 -4
  23. package/build/dist/assets/i18n/zh-CN.json +12 -12
  24. package/build/dist/common.js +1 -1
  25. package/build/dist/main.js +4 -4
  26. package/build/dist/polyfills.js +3 -3
  27. package/build/index.d.ts +7 -1
  28. package/build/index.js +11 -2
  29. package/package.json +3 -3
  30. package/src/__snapshots__/index.test.ts.snap +2 -2
  31. package/src/index.test.ts +5 -5
  32. package/src/index.ts +19 -3
  33. package/build/dist/167.js +0 -5
  34. package/build/dist/23.js +0 -5
  35. package/build/dist/338.js +0 -5
  36. package/build/dist/391.js +0 -5
  37. package/build/dist/493.js +0 -5
  38. package/build/dist/608.js +0 -5
  39. package/build/dist/610.js +0 -5
  40. package/build/dist/719.js +0 -5
  41. package/build/dist/764.js +0 -5
  42. package/build/dist/82.js +0 -5
  43. package/build/dist/986.js +0 -5
@@ -1,18 +1,18 @@
1
1
 
2
- > altair-static@8.1.2 bootstrap /home/runner/work/altair/altair/packages/altair-static
2
+ > altair-static@8.1.4 bootstrap /home/runner/work/altair/altair/packages/altair-static
3
3
  > pnpm prepare-dist && pnpm compile && pnpm types
4
4
 
5
5
 
6
- > altair-static@8.1.2 prepare-dist /home/runner/work/altair/altair/packages/altair-static
6
+ > altair-static@8.1.4 prepare-dist /home/runner/work/altair/altair/packages/altair-static
7
7
  > node scripts/prepare_dist.js
8
8
 
9
9
  Done copying dist folder!
10
10
 
11
- > altair-static@8.1.2 compile /home/runner/work/altair/altair/packages/altair-static
11
+ > altair-static@8.1.4 compile /home/runner/work/altair/altair/packages/altair-static
12
12
  > node scripts/build.js
13
13
 
14
14
 
15
- > altair-static@8.1.2 types /home/runner/work/altair/altair/packages/altair-static
15
+ > altair-static@8.1.4 types /home/runner/work/altair/altair/packages/altair-static
16
16
  > dts-bundle-generator src/index.ts -o build/index.d.ts --external-inlines altair-graphql-core --external-inlines altair-static --verbose
17
17
 
18
18
  Verbose log enabled
@@ -443,4 +443,4 @@ Writing src/index.ts -> build/index.d.ts
443
443
  Checking generated files...
444
444
  Using config: /home/runner/work/altair/altair/packages/altair-static/tsconfig.json
445
445
  Compiler option "skipLibCheck" is disabled to properly check generated output
446
- Done in 4.29s
446
+ Done in 4.85s
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="928ec270-0af2-5008-b9dc-c31cd3252674")}catch(e){}}();
3
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[103],{41103:(ge,te,R)=>{R.r(te),R.d(te,{SSERequestHandler:()=>ye});var A=R(35121),oe=R(57586),X=R(24140),Z=R(83770);function q(e){var n,t,c,l=2;for(typeof Symbol<"u"&&(t=Symbol.asyncIterator,c=Symbol.iterator);l--;){if(t&&null!=(n=e[t]))return n.call(e);if(c&&null!=(n=e[c]))return new W(n.call(e));t="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function W(e){function n(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var c=t.done;return Promise.resolve(t.value).then(function(l){return{value:l,done:c}})}return(W=function(c){this.s=c,this.n=c.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(c){var l=this.s.return;return void 0===l?Promise.resolve({value:c,done:!0}):n(l.apply(this.s,arguments))},throw:function(c){var l=this.s.return;return void 0===l?Promise.reject(c):n(l.apply(this.s,arguments))}},new W(e)}function le(e){if("next"!==e&&"complete"!==e)throw new Error(`Invalid stream event "${e}"`);return e}function ae(e,n){if(n)try{n=JSON.parse(n)}catch{throw new Error("Invalid stream data")}if("next"===e&&!n)throw new Error('Stream data must be an object for "next" events');return n||null}var z=function(e){return e[e.NewLine=10]="NewLine",e[e.CchunkiageReturn=13]="CchunkiageReturn",e[e.Space=32]="Space",e[e.Colon=58]="Colon",e}(z||{});class T extends Error{constructor(n){let t,c;!function de(e){return function ce(e){return"object"==typeof e&&null!==e}(e)&&"boolean"==typeof e.ok&&"number"==typeof e.status&&"string"==typeof e.statusText}(n)?t=n instanceof Error?n.message:String(n):(c=n,t="Server responded with "+n.status+": "+n.statusText),super(t),this.name=this.constructor.name,this.response=c}}function re(e){return _.apply(this,arguments)}function _(){return(_=(0,A.A)(function*(e){const{signal:n,url:t,credentials:c,headers:l,body:L,referrer:x,referrerPolicy:Q,fetchFn:j,onMessage:E}=e,d={},u={};let o;try{o=yield j(t,{signal:n,method:L?"POST":"GET",credentials:c,referrer:x,referrerPolicy:Q,headers:{...l,accept:"text/event-stream"},body:L})}catch(h){throw new T(h)}if(!o.ok)throw new T(o);if(!o.body)throw new Error("Missing response body");let k,f=null;return(0,A.A)(function*(){var h;try{const M=function se(){let e,n,t,c=!1,l={event:"",data:""},L=[];const x=new TextDecoder;return function(j){if(void 0===e)e=j,n=0,t=-1;else{const u=new Uint8Array(e.length+j.length);u.set(e),u.set(j,e.length),e=u}const E=e.length;let d=0;for(;n<E;){c&&(e[n]===z.NewLine&&(d=++n),c=!1);let u=-1;for(;n<E&&-1===u;++n)switch(e[n]){case z.Colon:-1===t&&(t=n-d);break;case z.CchunkiageReturn:c=!0;case z.NewLine:u=n}if(-1===u)break;if(d===u){if(l.event||l.data){if(!l.event)throw new Error("Missing message event");const o=le(l.event),f=ae(o,l.data);L.push({event:o,data:f}),l={event:"",data:""}}}else if(t>0){const o=e.subarray(d,u),f=x.decode(o.subarray(0,t)),h=x.decode(o.subarray(t+(o[t+1]===z.Space?2:1)));switch(f){case"event":l.event=h;break;case"data":l.data=l.data?l.data+"\n"+h:h}}d=n,t=-1}if(d===E){e=void 0;const u=[...L];return L=[],u}0!==d&&(e=e.subarray(d),n-=d)}}();var S,w=!1,y=!1;try{for(var I,p=q(function fe(e){return"function"==typeof Object(e)[Symbol.asyncIterator]?e[Symbol.asyncIterator]():(0,Z.A)(function*(){const n=e.getReader();let t;do{t=yield(0,X.A)(n.read()),void 0!==t.value&&(yield t.value)}while(!t.done)})()}(o.body));w=!(I=yield p.next()).done;w=!1){const C=I.value;{if("string"==typeof C)throw f=new Error(`Unexpected string chunk "${C}"`);let H;try{H=M(C)}catch(r){throw f=r}if(!H)continue;for(const r of H){try{E?.(r)}catch(i){throw f=i}const s=r.data&&"id"in r.data?r.data.id:"";switch(s in u||(u[s]=[]),r.event){case"next":u[s].push(s?r.data.payload:r.data);break;case"complete":u[s].push("complete");break;default:throw f=new Error(`Unexpected message event "${r.event}"`)}null===(h=d[s])||void 0===h||h.proceed()}}}}catch(C){y=!0,S=C}finally{try{w&&null!=p.return&&(yield p.return())}finally{if(y)throw S}}if(Object.keys(d).length)throw new Error("Connection closed while having active streams")}catch(M){f=!f&&Object.keys(d).length?new T(M):M,k?.(f)}finally{Object.values(d).forEach(({proceed:M})=>M())}})(),{url:t,headers:l,waitForThrow:()=>new Promise((h,w)=>{if(f)return w(f);k=w}),getResults:h=>(0,Z.A)(function*(){var w;const{signal:y,operationId:S=""}=h??{};try{for(;;){for(;null!==(w=u[S])&&void 0!==w&&w.length;){const p=u[S].shift();if("complete"===p)return;yield p}if(f)throw f;if(y?.aborted)throw new Error("Getting results aborted by the client");yield(0,X.A)(new Promise(p=>{const I=()=>{y?.removeEventListener("abort",I),delete d[S],p()};y?.addEventListener("abort",I),d[S]={proceed:I}}))}}finally{delete u[S]}})()}})).apply(this,arguments)}var he=R(49601);class ye{handle(n){return new oe.c(t=>{if(this.client=function ue(e){const{singleConnection:n=!1,lazy:t=!0,lazyCloseTimeout:c=0,onNonLazyError:l=console.error,generateID:L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,s=>{const i=16*Math.random()|0;return("x"==s?i:3&i|8).toString(16)})},retryAttempts:x=5,retry:Q=function(){var r=(0,A.A)(function*(i){let a=1e3;for(let D=0;D<i;D++)a*=2;yield new Promise(D=>setTimeout(D,a+Math.floor(2700*Math.random()+300)))});return function s(i){return r.apply(this,arguments)}}(),credentials:j="same-origin",referrer:E,referrerPolicy:d,onMessage:u,on:o}=e,f=e.fetchFn||fetch,k=e.abortControllerImpl||AbortController,h=(()=>{let r=!1;const s=[];return{get disposed(){return r},onDispose:i=>r?(setTimeout(()=>i(),0),()=>{}):(s.push(i),()=>{s.splice(s.indexOf(i),1)}),dispose(){if(!r){r=!0;for(const i of[...s])i()}}}})();let w,y,S=0,p=null,I=0;function M(){return C.apply(this,arguments)}function C(){return(C=(0,A.A)(function*(){try{if(h.disposed)throw new Error("Client has been disposed");return yield y??(y=(0,A.A)(function*(){var r,s,i;if(p){if(yield Q(I),w.signal.aborted)throw new Error("Connection aborted by the client");I++}null===(r=o?.connecting)||void 0===r||r.call(o,!!p),w=new k;const a=h.onDispose(()=>w.abort());w.signal.addEventListener("abort",()=>{a(),y=void 0});const D="function"==typeof e.url?yield e.url():e.url;if(w.signal.aborted)throw new Error("Connection aborted by the client");const v="function"==typeof e.headers?yield e.headers():null!==(s=e.headers)&&void 0!==s?s:{};if(w.signal.aborted)throw new Error("Connection aborted by the client");let g;try{g=yield f(D,{signal:w.signal,method:"PUT",credentials:j,referrer:E,referrerPolicy:d,headers:v})}catch(P){throw new T(P)}if(201!==g.status)throw new T(g);const b=yield g.text();v["x-graphql-event-stream-token"]=b;const N=yield re({signal:w.signal,headers:v,credentials:j,referrer:E,referrerPolicy:d,url:D,fetchFn:f,onMessage:P=>{var O;null===(O=o?.message)||void 0===O||O.call(o,P),u?.(P)}});return null===(i=o?.connected)||void 0===i||i.call(o,!!p),N.waitForThrow().catch(()=>y=void 0),N})())}catch(r){throw y=void 0,r}})).apply(this,arguments)}function H(r,s,i){if(!n){const v=new k,g=h.onDispose(()=>{g(),v.abort()});return(0,A.A)(function*(){var b,N,P,O,Y;let m=null,J=0;for(;;)try{if(m){if(yield Q(J),v.signal.aborted)throw new Error("Connection aborted by the client");J++}null===(b=o?.connecting)||void 0===b||b.call(o,!!m),null===(N=i?.connecting)||void 0===N||N.call(i,!!m);const U="function"==typeof e.url?yield e.url():e.url;if(v.signal.aborted)throw new Error("Connection aborted by the client");const ve="function"==typeof e.headers?yield e.headers():null!==(P=e.headers)&&void 0!==P?P:{};if(v.signal.aborted)throw new Error("Connection aborted by the client");const{getResults:we}=yield re({signal:v.signal,headers:{...ve,"content-type":"application/json; charset=utf-8"},credentials:j,referrer:E,referrerPolicy:d,url:U,body:JSON.stringify(r),fetchFn:f,onMessage:$=>{var ee,ne;null===(ee=o?.message)||void 0===ee||ee.call(o,$),null===(ne=i?.message)||void 0===ne||ne.call(i,$),u?.($)}});null===(O=o?.connected)||void 0===O||O.call(o,!!m),null===(Y=i?.connected)||void 0===Y||Y.call(i,!!m);var F,V=!1,B=!1;try{for(var K,G=q(we());V=!(K=yield G.next()).done;V=!1)m=null,J=0,s.next(K.value)}catch($){B=!0,F=$}finally{try{V&&null!=G.return&&(yield G.return())}finally{if(B)throw F}}return v.abort()}catch(U){if(v.signal.aborted)return;if(!(U instanceof T)||!x||J>=x)throw U;m=U}})().then(()=>s.complete()).catch(b=>s.error(b)),()=>v.abort()}S++;const a=new k,D=h.onDispose(()=>{D(),a.abort()});return(0,A.A)(function*(){const v=L();r={...r,extensions:{...r.extensions,operationId:v}};let g=null;for(;;){g=null;try{const{url:m,headers:J,getResults:V}=yield M();let B;try{B=yield f(m,{signal:a.signal,method:"POST",credentials:j,referrer:E,referrerPolicy:d,headers:{...J,"content-type":"application/json; charset=utf-8"},body:JSON.stringify(r)})}catch(F){throw new T(F)}if(202!==B.status)throw new T(B);g=function(){var F=(0,A.A)(function*(){let G;try{const K=new k,U=h.onDispose(()=>{U(),K.abort()});G=yield f(m+"?operationId="+v,{signal:K.signal,method:"DELETE",credentials:j,referrer:E,referrerPolicy:d,headers:J})}catch(K){throw new T(K)}if(200!==G.status)throw new T(G)});return function(){return F.apply(this,arguments)}}();var P,b=!1,N=!1;try{for(var Y,O=q(V({signal:a.signal,operationId:v}));b=!(Y=yield O.next()).done;b=!1)p=null,I=0,s.next(Y.value)}catch(F){N=!0,P=F}finally{try{b&&null!=O.return&&(yield O.return())}finally{if(N)throw P}}return g=null,a.abort()}catch(m){if(a.signal.aborted)return yield g?.();if(!(m instanceof T)||(t&&(y=void 0),!x||I>=x))throw a.abort(),m;p=m}finally{a.signal.aborted&&0==--S&&(isFinite(c)&&c>0?setTimeout(()=>{S||w.abort()},c):w.abort())}}})().then(()=>s.complete()).catch(v=>s.error(v)),()=>a.abort()}return n&&!t&&(0,A.A)(function*(){for(S++;;)try{const{waitForThrow:r}=yield M();yield r()}catch(r){if(h.disposed)return;if(!(r instanceof T)||(y=void 0,!x||I>=x))return l?.(r);p=r}})(),{subscribe:H,iterate(r,s){const i=[],a={done:!1,error:null,resolve:()=>{}},D=H(r,{next(g){i.push(g),a.resolve()},error(g){a.done=!0,a.error=g,a.resolve()},complete(){a.done=!0,a.resolve()}},s),v=(g=(0,Z.A)(function*(){for(;;){for(i.length||(yield(0,X.A)(new Promise(N=>a.resolve=N)));i.length;)yield i.shift();if(a.error)throw a.error;if(a.done)return}}),function b(){return g.apply(this,arguments)})();var g;return v.throw=function(){var g=(0,A.A)(function*(b){return a.done||(a.done=!0,a.error=b,a.resolve()),{done:!0,value:void 0}});return function(b){return g.apply(this,arguments)}}(),v.return=(0,A.A)(function*(){return D(),{done:!0,value:void 0}}),v},dispose(){h.dispose()}}}({url:n.url,credentials:n.withCredentials?"include":"same-origin",headers:n.headers?.reduce((l,{key:L,value:x})=>(l[L]=x,l),{})}),!this.client)throw new Error("Could not create SSE client!");const c=Date.now();return this.cleanup=this.client.subscribe({query:n.query,variables:n.variables,operationName:n.selectedOperation??void 0,extensions:n.extensions},(0,he.G)(t,n.url,c)),()=>{this.destroy()}})}destroy(){var n=this;return(0,A.A)(function*(){try{n.cleanup?.(),n.cleanup=void 0,yield n.client?.dispose(),n.client=void 0}catch(t){console.error(t)}})()}}}}]);
4
+ //# sourceMappingURL=103.js.map
5
+ //# debugId=928ec270-0af2-5008-b9dc-c31cd3252674
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d2106fbf-e15c-5448-a0c0-ecb8598f28a7")}catch(e){}}();
3
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[144],{58144:(o,r,e)=>{e.r(r),e.d(r,{default:()=>_});var t=e(35121),n=e(99223);class _ extends n.J{execute(a){var u=this;return(0,t.A)(function*(){return a.data?.token?{headers:{Authorization:`Bearer ${u.hydrate(a.data.token)}`}}:{headers:{}}})()}}}}]);
4
+ //# sourceMappingURL=144.js.map
5
+ //# debugId=d2106fbf-e15c-5448-a0c0-ecb8598f28a7
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35e54168-cb64-549c-ab1b-7b6a4dabb875")}catch(e){}}();
3
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[15],{49015:(Ut,ht,at)=>{function y(e){return Array.isArray?Array.isArray(e):"[object Array]"===V(e)}at.d(ht,{A:()=>Gt});function E(e){return"string"==typeof e}function Y(e){return"number"==typeof e}function G(e){return"object"==typeof e}function m(e){return null!=e}function T(e){return!e.trim().length}function V(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const _t=e=>`Missing ${e} property in key`,xt=e=>`Property 'weight' in key '${e}' must be a positive integer`,U=Object.prototype.hasOwnProperty;class yt{constructor(t){this._keys=[],this._keyMap={};let s=0;t.forEach(n=>{let r=Q(n);s+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,s+=r.weight}),this._keys.forEach(n=>{n.weight/=s})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Q(e){let t=null,s=null,n=null,r=1;if(E(e)||y(e))n=e,t=X(e),s=F(e);else{if(!U.call(e,"name"))throw new Error(_t("name"));const c=e.name;if(n=c,U.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(xt(c));t=X(c),s=F(c)}return{path:t,id:s,weight:r,src:n}}function X(e){return y(e)?e:e.split(".")}function F(e){return y(e)?e.join("."):e}var f={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function Et(e,t){let s=[],n=!1;const r=(c,i,h)=>{if(m(c))if(i[h]){const o=c[i[h]];if(!m(o))return;if(h===i.length-1&&(E(o)||Y(o)||function dt(e){return!0===e||!1===e||function gt(e){return G(e)&&null!==e}(e)&&"[object Boolean]"==V(e)}(o)))s.push(function ft(e){return null==e?"":function ut(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(o));else if(y(o)){n=!0;for(let l=0,u=o.length;l<u;l+=1)r(o[l],i,h+1)}else i.length&&r(o,i,h+1)}else s.push(c)};return r(e,E(t)?t.split("."):t,0),n?s:s[0]},ignoreLocation:!1,ignoreFieldNorm:!1};const It=/[^ ]+/g;class P{constructor({getFn:t=f.getFn}={}){this.norm=function At(e=3){const t=new Map,s=Math.pow(10,e);return{get(n){const r=n.match(It).length;if(t.has(r))return t.get(r);const c=1/Math.sqrt(r),i=parseFloat(Math.round(c*s)/s);return t.set(r,i),i},clear(){t.clear()}}}(3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((s,n)=>{this._keysMap[s.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,E(this.docs[0])?this.docs.forEach((t,s)=>{this._addString(t,s)}):this.docs.forEach((t,s)=>{this._addObject(t,s)}),this.norm.clear())}add(t){const s=this.size();E(t)?this._addString(t,s):this._addObject(t,s)}removeAt(t){this.records.splice(t,1);for(let s=t,n=this.size();s<n;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(t,s){return t[this._keysMap[s]]}size(){return this.records.length}_addString(t,s){if(!m(t)||T(t))return;let n={v:t,i:s,n:this.norm.get(t)};this.records.push(n)}_addObject(t,s){let n={i:s,$:{}};this.keys.forEach((r,c)=>{let i=this.getFn(t,r.path);if(m(i))if(y(i)){let h=[];const a=[{nestedArrIndex:-1,value:i}];for(;a.length;){const{nestedArrIndex:o,value:l}=a.pop();if(m(l))if(E(l)&&!T(l)){let u={v:l,i:o,n:this.norm.get(l)};h.push(u)}else y(l)&&l.forEach((u,d)=>{a.push({nestedArrIndex:d,value:u})})}n.$[c]=h}else if(!T(i)){let h={v:i,n:this.norm.get(i)};n.$[c]=h}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function J(e,t,{getFn:s=f.getFn}={}){const n=new P({getFn:s});return n.setKeys(e.map(Q)),n.setSources(t),n.create(),n}function St(e,{getFn:t=f.getFn}={}){const{keys:s,records:n}=e,r=new P({getFn:t});return r.setKeys(s),r.setIndexRecords(n),r}function C(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:r=f.distance,ignoreLocation:c=f.ignoreLocation}={}){const i=t/e.length;if(c)return i;const h=Math.abs(n-s);return r?i+h/r:h?1:i}const L=32;function bt(e){let t={};for(let s=0,n=e.length;s<n;s+=1){const r=e.charAt(s);t[r]=(t[r]||0)|1<<n-s-1}return t}class Z{constructor(t,{location:s=f.location,threshold:n=f.threshold,distance:r=f.distance,includeMatches:c=f.includeMatches,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:o=f.ignoreLocation}={}){if(this.options={location:s,threshold:n,distance:r,includeMatches:c,findAllMatches:i,minMatchCharLength:h,isCaseSensitive:a,ignoreLocation:o},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(d,g)=>{this.chunks.push({pattern:d,alphabet:bt(d),startIndex:g})},u=this.pattern.length;if(u>L){let d=0;const g=u%L,p=u-g;for(;d<p;)l(this.pattern.substr(d,L),d),d+=L;if(g){const M=u-L;l(this.pattern.substr(M),M)}}else l(this.pattern,0)}searchIn(t){const{isCaseSensitive:s,includeMatches:n}=this.options;if(s||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return n&&(p.indices=[[0,t.length-1]]),p}const{location:r,distance:c,threshold:i,findAllMatches:h,minMatchCharLength:a,ignoreLocation:o}=this.options;let l=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:M,startIndex:b})=>{const{isMatch:I,score:R,indices:k}=function Lt(e,t,s,{location:n=f.location,distance:r=f.distance,threshold:c=f.threshold,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,includeMatches:a=f.includeMatches,ignoreLocation:o=f.ignoreLocation}={}){if(t.length>L)throw new Error("Pattern length exceeds max of 32.");const l=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let g=c,p=d;const M=h>1||a,b=M?Array(u):[];let I;for(;(I=e.indexOf(t,p))>-1;){let _=C(t,{currentLocation:I,expectedLocation:d,distance:r,ignoreLocation:o});if(g=Math.min(_,g),p=I+l,M){let S=0;for(;S<l;)b[I+S]=1,S+=1}}p=-1;let R=[],k=1,v=l+u;const Vt=1<<l-1;for(let _=0;_<l;_+=1){let S=0,w=v;for(;S<w;)C(t,{errors:_,currentLocation:d+w,expectedLocation:d,distance:r,ignoreLocation:o})<=g?S=w:v=w,w=Math.floor((v-S)/2+S);v=w;let ct=Math.max(1,d-w+1),W=i?u:Math.min(d+w,u)+l,O=Array(W+2);O[W+1]=(1<<_)-1;for(let x=W;x>=ct;x-=1){let N=x-1,ot=s[e.charAt(N)];if(M&&(b[N]=+!!ot),O[x]=(O[x+1]<<1|1)&ot,_&&(O[x]|=(R[x+1]|R[x])<<1|1|R[x+1]),O[x]&Vt&&(k=C(t,{errors:_,currentLocation:N,expectedLocation:d,distance:r,ignoreLocation:o}),k<=g)){if(g=k,p=N,p<=d)break;ct=Math.max(1,2*d-p)}}if(C(t,{errors:_+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:o})>g)break;R=O}const H={isMatch:p>=0,score:Math.max(.001,k)};if(M){const _=function wt(e=[],t=f.minMatchCharLength){let s=[],n=-1,r=-1,c=0;for(let i=e.length;c<i;c+=1){let h=e[c];h&&-1===n?n=c:!h&&-1!==n&&(r=c-1,r-n+1>=t&&s.push([n,r]),n=-1)}return e[c-1]&&c-n>=t&&s.push([n,c-1]),s}(b,h);_.length?a&&(H.indices=_):H.isMatch=!1}return H}(t,p,M,{location:r+b,distance:c,threshold:i,findAllMatches:h,minMatchCharLength:a,includeMatches:n,ignoreLocation:o});I&&(d=!0),u+=R,I&&k&&(l=[...l,...k])});let g={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(g.indices=l),g}}class A{constructor(t){this.pattern=t}static isMultiMatch(t){return q(t,this.multiRegex)}static isSingleMatch(t){return q(t,this.singleRegex)}search(){}}function q(e,t){const s=e.match(t);return s?s[1]:null}class tt extends A{constructor(t,{location:s=f.location,threshold:n=f.threshold,distance:r=f.distance,includeMatches:c=f.includeMatches,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:o=f.ignoreLocation}={}){super(t),this._bitapSearch=new Z(t,{location:s,threshold:n,distance:r,includeMatches:c,findAllMatches:i,minMatchCharLength:h,isCaseSensitive:a,ignoreLocation:o})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class et extends A{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n,s=0;const r=[],c=this.pattern.length;for(;(n=t.indexOf(this.pattern,s))>-1;)s=n+c,r.push([n,s-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const j=[class kt extends A{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const s=t===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}},et,class Ot extends A{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const s=t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}},class $t extends A{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const s=!t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}},class vt extends A{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const s=!t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}},class Ct extends A{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const s=t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class Rt extends A{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=-1===t.indexOf(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}},tt],st=j.length,Nt=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,Pt=new Set([tt.type,et.type]),K=[];function z(e,t){for(let s=0,n=K.length;s<n;s+=1){let r=K[s];if(r.condition(e,t))return new r(e,t)}return new Z(e,t)}const $_AND="$and",D=e=>!(!e.$and&&!e.$or),nt=e=>({[$_AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function rt(e,t,{auto:s=!0}={}){const n=r=>{let c=Object.keys(r);const i=(e=>!!e.$path)(r);if(!i&&c.length>1&&!D(r))return n(nt(r));if((e=>!y(e)&&G(e)&&!D(e))(r)){const a=i?r.$path:c[0],o=i?r.$val:r[a];if(!E(o))throw new Error((e=>`Invalid value for key ${e}`)(a));const l={keyId:F(a),pattern:o};return s&&(l.searcher=z(o,t)),l}let h={children:[],operator:c[0]};return c.forEach(a=>{const o=r[a];y(o)&&o.forEach(l=>{h.children.push(n(l))})}),h};return D(e)||(e=nt(e)),n(e)}function Ht(e,t){const s=e.matches;t.matches=[],m(s)&&s.forEach(n=>{if(!m(n.indices)||!n.indices.length)return;const{indices:r,value:c}=n;let i={indices:r,value:c};n.key&&(i.key=n.key.src),n.idx>-1&&(i.refIndex=n.idx),t.matches.push(i)})}function Wt(e,t){t.score=e.score}let it=(()=>{class e{constructor(s,n={},r){this.options={...f,...n},this._keyStore=new yt(this.options.keys),this.setCollection(s,r)}setCollection(s,n){if(this._docs=s,n&&!(n instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=n||J(this.options.keys,this._docs,{getFn:this.options.getFn})}add(s){m(s)&&(this._docs.push(s),this._myIndex.add(s))}remove(s=()=>!1){const n=[];for(let r=0,c=this._docs.length;r<c;r+=1){const i=this._docs[r];s(i,r)&&(this.removeAt(r),r-=1,c-=1,n.push(i))}return n}removeAt(s){this._docs.splice(s,1),this._myIndex.removeAt(s)}getIndex(){return this._myIndex}search(s,{limit:n=-1}={}){const{includeMatches:r,includeScore:c,shouldSort:i,sortFn:h,ignoreFieldNorm:a}=this.options;let o=E(s)?E(this._docs[0])?this._searchStringList(s):this._searchObjectList(s):this._searchLogical(s);return function Dt(e,{ignoreFieldNorm:t=f.ignoreFieldNorm}){e.forEach(s=>{let n=1;s.matches.forEach(({key:r,norm:c,score:i})=>{const h=r?r.weight:null;n*=Math.pow(0===i&&h?Number.EPSILON:i,(h||1)*(t?1:c))}),s.score=n})}(o,{ignoreFieldNorm:a}),i&&o.sort(h),Y(n)&&n>-1&&(o=o.slice(0,n)),function Yt(e,t,{includeMatches:s=f.includeMatches,includeScore:n=f.includeScore}={}){const r=[];return s&&r.push(Ht),n&&r.push(Wt),e.map(c=>{const{idx:i}=c,h={item:t[i],refIndex:i};return r.length&&r.forEach(a=>{a(c,h)}),h})}(o,this._docs,{includeMatches:r,includeScore:c})}_searchStringList(s){const n=z(s,this.options),{records:r}=this._myIndex,c=[];return r.forEach(({v:i,i:h,n:a})=>{if(!m(i))return;const{isMatch:o,score:l,indices:u}=n.searchIn(i);o&&c.push({item:i,idx:h,matches:[{score:l,value:i,norm:a,indices:u}]})}),c}_searchLogical(s){const n=rt(s,this.options),r=(a,o,l)=>{if(!a.children){const{keyId:u,searcher:d}=a,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(o,u),searcher:d});return g&&g.length?[{idx:l,item:o,matches:g}]:[]}switch(a.operator){case"$and":{const u=[];for(let d=0,g=a.children.length;d<g;d+=1){const M=r(a.children[d],o,l);if(!M.length)return[];u.push(...M)}return u}case"$or":{const u=[];for(let d=0,g=a.children.length;d<g;d+=1){const M=r(a.children[d],o,l);if(M.length){u.push(...M);break}}return u}}},i={},h=[];return this._myIndex.records.forEach(({$:a,i:o})=>{if(m(a)){let l=r(n,a,o);l.length&&(i[o]||(i[o]={idx:o,item:a,matches:[]},h.push(i[o])),l.forEach(({matches:u})=>{i[o].matches.push(...u)}))}}),h}_searchObjectList(s){const n=z(s,this.options),{keys:r,records:c}=this._myIndex,i=[];return c.forEach(({$:h,i:a})=>{if(!m(h))return;let o=[];r.forEach((l,u)=>{o.push(...this._findMatches({key:l,value:h[u],searcher:n}))}),o.length&&i.push({idx:a,item:h,matches:o})}),i}_findMatches({key:s,value:n,searcher:r}){if(!m(n))return[];let c=[];if(y(n))n.forEach(({v:i,i:h,n:a})=>{if(!m(i))return;const{isMatch:o,score:l,indices:u}=r.searchIn(i);o&&c.push({score:l,key:s,value:i,idx:h,norm:a,indices:u})});else{const{v:i,n:h}=n,{isMatch:a,score:o,indices:l}=r.searchIn(i);a&&c.push({score:o,key:s,value:i,norm:h,indices:l})}return c}}return e.version="6.4.6",e.createIndex=J,e.parseIndex=St,e.config=f,e})();it.parseQuery=rt,function Kt(...e){K.push(...e)}(class jt{constructor(t,{isCaseSensitive:s=f.isCaseSensitive,includeMatches:n=f.includeMatches,minMatchCharLength:r=f.minMatchCharLength,ignoreLocation:c=f.ignoreLocation,findAllMatches:i=f.findAllMatches,location:h=f.location,threshold:a=f.threshold,distance:o=f.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:c,location:h,threshold:a,distance:o},this.pattern=s?t:t.toLowerCase(),this.query=function Ft(e,t={}){return e.split("|").map(s=>{let n=s.trim().split(Nt).filter(c=>c&&!!c.trim()),r=[];for(let c=0,i=n.length;c<i;c+=1){const h=n[c];let a=!1,o=-1;for(;!a&&++o<st;){const l=j[o];let u=l.isMultiMatch(h);u&&(r.push(new l(u,t)),a=!0)}if(!a)for(o=-1;++o<st;){const l=j[o];let u=l.isSingleMatch(h);if(u){r.push(new l(u,t));break}}}return r})}(this.pattern,this.options)}static condition(t,s){return s.useExtendedSearch}searchIn(t){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let c=0,i=[],h=0;for(let a=0,o=s.length;a<o;a+=1){const l=s[a];i.length=0,c=0;for(let u=0,d=l.length;u<d;u+=1){const g=l[u],{isMatch:p,indices:M,score:b}=g.search(t);if(!p){h=0,c=0,i.length=0;break}c+=1,h+=b,n&&(Pt.has(g.constructor.type)?i=[...i,...M]:i.push(M))}if(c){let u={isMatch:!0,score:h/c};return n&&(u.indices=i),u}}return{isMatch:!1,score:1}}});const Gt=it}}]);
4
+ //# sourceMappingURL=15.js.map
5
+ //# debugId=35e54168-cb64-549c-ab1b-7b6a4dabb875
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7673829d-8047-5788-91ca-956251ed7736")}catch(e){}}();
3
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[163],{11163:(u,e,a)=>{a.r(e),a.d(e,{default:()=>n});var d=a(35121),s=a(99223);class n extends s.J{execute(t){var r=this;return(0,d.A)(function*(){return t.data?.username&&t.data?.password?{headers:{Authorization:`Basic ${(yield a.e(302).then(a.t.bind(a,31302,23))).btoa(`${r.hydrate(t.data.username)}:${r.hydrate(t.data.password)}`)}`}}:{headers:{}}})()}}}}]);
4
+ //# sourceMappingURL=163.js.map
5
+ //# debugId=7673829d-8047-5788-91ca-956251ed7736