altair-static 8.2.4 → 8.2.7
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/.turbo/turbo-bootstrap.log +4 -4
- package/build/dist/3rdpartylicenses.txt +66 -45
- package/build/dist/472.js +3 -3
- package/build/dist/assets/i18n/ach-UG.json +1 -0
- package/build/dist/assets/i18n/cs-CZ.json +1 -0
- package/build/dist/assets/i18n/da-DK.json +1 -0
- package/build/dist/assets/i18n/de-DE.json +1 -0
- package/build/dist/assets/i18n/default.json +1 -0
- package/build/dist/assets/i18n/en-US.json +1 -0
- package/build/dist/assets/i18n/es-ES.json +1 -0
- package/build/dist/assets/i18n/fi-FI.json +1 -0
- package/build/dist/assets/i18n/fr-FR.json +1 -0
- package/build/dist/assets/i18n/hu-HU.json +1 -0
- package/build/dist/assets/i18n/it-IT.json +1 -0
- package/build/dist/assets/i18n/ja-JP.json +1 -0
- package/build/dist/assets/i18n/ko-KR.json +1 -0
- package/build/dist/assets/i18n/nl-NL.json +1 -0
- package/build/dist/assets/i18n/no-NO.json +1 -0
- package/build/dist/assets/i18n/pl-PL.json +1 -0
- package/build/dist/assets/i18n/pt-BR.json +1 -0
- package/build/dist/assets/i18n/pt-PT.json +1 -0
- package/build/dist/assets/i18n/ro-RO.json +1 -0
- package/build/dist/assets/i18n/ru-RU.json +1 -0
- package/build/dist/assets/i18n/sr-SP.json +1 -0
- package/build/dist/assets/i18n/sv-SE.json +1 -0
- package/build/dist/assets/i18n/tr-TR.json +1 -0
- package/build/dist/assets/i18n/uk-UA.json +1 -0
- package/build/dist/assets/i18n/vi-VN.json +1 -0
- package/build/dist/assets/i18n/zh-CN.json +1 -0
- package/build/dist/assets/i18n/zh-TW.json +1 -0
- package/build/dist/iframe-sandbox/assets/index--PB0RHGE.js +6 -0
- package/build/dist/iframe-sandbox/assets/index-cZO7q35G.js +14 -0
- package/build/dist/iframe-sandbox/index.html +1 -1
- package/build/dist/main.js +4 -4
- package/build/dist/styles.css +1 -1
- package/build/index.d.ts +4 -0
- package/package.json +3 -3
- package/build/dist/iframe-sandbox/assets/index-BcLLzMW8.js +0 -6
- package/build/dist/iframe-sandbox/assets/index-CYpZL7_S.js +0 -14
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> altair-static@8.2.
|
|
2
|
+
> altair-static@8.2.7 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.2.
|
|
6
|
+
> altair-static@8.2.7 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.2.
|
|
11
|
+
> altair-static@8.2.7 compile /home/runner/work/altair/altair/packages/altair-static
|
|
12
12
|
> node scripts/build.js
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> altair-static@8.2.
|
|
15
|
+
> altair-static@8.2.7 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
|
|
@@ -1743,55 +1743,68 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1743
1743
|
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.
|
|
1744
1744
|
|
|
1745
1745
|
|
|
1746
|
-
@sentry/browser
|
|
1746
|
+
@sentry-internal/browser-utils
|
|
1747
1747
|
MIT
|
|
1748
|
-
|
|
1748
|
+
MIT License
|
|
1749
1749
|
|
|
1750
|
-
|
|
1751
|
-
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
|
1752
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
1753
|
-
persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1750
|
+
Copyright (c) 2020 Functional Software, Inc. dba Sentry
|
|
1754
1751
|
|
|
1755
|
-
|
|
1756
|
-
Software
|
|
1752
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1753
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
1754
|
+
the Software without restriction, including without limitation the rights to
|
|
1755
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1756
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1757
|
+
so, subject to the following conditions:
|
|
1757
1758
|
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
1761
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1759
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1760
|
+
copies or substantial portions of the Software.
|
|
1762
1761
|
|
|
1762
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1763
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1764
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1765
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1766
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1767
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1768
|
+
SOFTWARE.
|
|
1763
1769
|
|
|
1764
|
-
|
|
1770
|
+
|
|
1771
|
+
@sentry/browser
|
|
1765
1772
|
MIT
|
|
1766
|
-
|
|
1773
|
+
MIT License
|
|
1767
1774
|
|
|
1768
|
-
|
|
1769
|
-
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
|
1770
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
1771
|
-
persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1775
|
+
Copyright (c) 2019 Functional Software, Inc. dba Sentry
|
|
1772
1776
|
|
|
1773
|
-
|
|
1774
|
-
Software
|
|
1777
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1778
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
1779
|
+
the Software without restriction, including without limitation the rights to
|
|
1780
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1781
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1782
|
+
so, subject to the following conditions:
|
|
1775
1783
|
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1784
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1785
|
+
copies or substantial portions of the Software.
|
|
1786
|
+
|
|
1787
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1788
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1789
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1790
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1791
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1792
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1793
|
+
SOFTWARE.
|
|
1780
1794
|
|
|
1781
1795
|
|
|
1782
|
-
@sentry/
|
|
1796
|
+
@sentry/core
|
|
1783
1797
|
MIT
|
|
1784
1798
|
MIT License
|
|
1785
1799
|
|
|
1786
|
-
Copyright (c)
|
|
1787
|
-
Copyright (c) 2017 Tim Fish
|
|
1800
|
+
Copyright (c) 2019 Functional Software, Inc. dba Sentry
|
|
1788
1801
|
|
|
1789
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1802
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1803
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
1804
|
+
the Software without restriction, including without limitation the rights to
|
|
1805
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1806
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1807
|
+
so, subject to the following conditions:
|
|
1795
1808
|
|
|
1796
1809
|
The above copyright notice and this permission notice shall be included in all
|
|
1797
1810
|
copies or substantial portions of the Software.
|
|
@@ -1805,22 +1818,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
1805
1818
|
SOFTWARE.
|
|
1806
1819
|
|
|
1807
1820
|
|
|
1808
|
-
@sentry/
|
|
1821
|
+
@sentry/electron
|
|
1809
1822
|
MIT
|
|
1810
|
-
|
|
1823
|
+
MIT License
|
|
1811
1824
|
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
1815
|
-
persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1825
|
+
Copyright (c) 2018 Functional Software, Inc. dba Sentry
|
|
1826
|
+
Copyright (c) 2017 Tim Fish
|
|
1816
1827
|
|
|
1817
|
-
|
|
1818
|
-
Software
|
|
1828
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1829
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
1830
|
+
the Software without restriction, including without limitation the rights to
|
|
1831
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1832
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1833
|
+
so, subject to the following conditions:
|
|
1834
|
+
|
|
1835
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1836
|
+
copies or substantial portions of the Software.
|
|
1819
1837
|
|
|
1820
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1838
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1839
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1840
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1841
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1842
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1843
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1844
|
+
SOFTWARE.
|
|
1824
1845
|
|
|
1825
1846
|
|
|
1826
1847
|
@webcomponents/custom-elements
|
package/build/dist/472.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
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]="
|
|
3
|
-
(()=>{"use strict";var __webpack_modules__={67472:(_,n,e)=>{var r=e(67852),s=e(84122);const a=["chrome-extension://flnheeellpciglgpaodhkhmapeljopja","chrome-extension://aiopipphfnlndegenpkclffgaiillbdd","moz-extension://567d7e27-43b8-994e-ab50-e770fa7eab4b","http://localhost:4200","https://dash.altairgraphql.dev","https://altair-gql.sirmuel.design","https://web.altairgraphql.dev","altair://-"];new s.J(new class u extends r.dG{onMessage(t){self.addEventListener("message",i=>{i.origin&&!a.includes(i.origin)||t(i.data)})}send(t,i){self.postMessage({type:t,payload:i})}onError(t){self.addEventListener("error",t),self.addEventListener("unhandledrejection",i=>{i.preventDefault(),t(i.reason)})}}).start()},37762:(_,n,e)=>{e.d(n,{A:()=>s});const s={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},20472:(_,n,e)=>{let r;e.d(n,{A:()=>a});const s=new Uint8Array(16);function a(){if(!r&&(r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(s)}},46148:(_,n,e)=>{e.d(n,{k:()=>s});const r=[];for(let o=0;o<256;++o)r.push((o+256).toString(16).slice(1));function s(o,t=0){return r[o[t+0]]+r[o[t+1]]+r[o[t+2]]+r[o[t+3]]+"-"+r[o[t+4]]+r[o[t+5]]+"-"+r[o[t+6]]+r[o[t+7]]+"-"+r[o[t+8]]+r[o[t+9]]+"-"+r[o[t+10]]+r[o[t+11]]+r[o[t+12]]+r[o[t+13]]+r[o[t+14]]+r[o[t+15]]}},86235:(_,n,e)=>{e.d(n,{A:()=>o});var r=e(37762),s=e(20472),a=e(46148);const o=function u(t,i,l){if(r.A.randomUUID&&!i&&!t)return r.A.randomUUID();const c=(t=t||{}).random||(t.rng||s.A)();if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,i){l=l||0;for(let p=0;p<16;++p)i[l+p]=c[p];return i}return(0,a.k)(c)}},50290:(_,n,e)=>{e.d(n,{xH:()=>t});var r=e(35121),s=e(67852);const a={atob:{exec:()=>(0,r.A)(function*(){return(yield e.e(411).then(e.t.bind(e,61411,23))).atob})()},btoa:{exec:()=>(0,r.A)(function*(){return(yield e.e(411).then(e.t.bind(e,61411,23))).btoa})()},"crypto-js":{exec:()=>(0,r.A)(function*(){return(yield e.e(477).then(e.t.bind(e,54477,23))).default})()}},u=i=>{if(i.response)return{body:i.response.body,requestType:i.requestType??s.Yw.QUERY,responseTime:i.response.responseTime,statusCode:i.response.status,headers:i.response.headers}},o=function(){var i=(0,r.A)(function*(l){const c=a[l];if(!c)throw new Error(`No request script module found matching "${l}"`);return c.exec()});return function(c){return i.apply(this,arguments)}}(),t=(i,l)=>{return{data:i,helpers:{getEnvironment:c=>i.environment[c],setEnvironment:(c,p,d=!1)=>{i.environment[c]=p,d&&(i.__toSetActiveEnvironment=i.__toSetActiveEnvironment??{},i.__toSetActiveEnvironment[c]=p)},getCookie:c=>i.__cookieJar?.[c]??"",setCookie:(c,p,d)=>{l.setCookie(c,p,d)},request:(c=(0,r.A)(function*(p,d,b){return l.request(p,d,b)}),function(d,b,m){return c.apply(this,arguments)})},storage:{get:c=>l.getStorageItem(c),set:(c,p)=>l.setStorageItem(c,p)},importModule:c=>o(c),response:u(i),log:c=>{i.requestScriptLogs=i.requestScriptLogs??[],i.requestScriptLogs.push({time:Date.now(),text:JSON.stringify(c,null,2),source:"Request script"})}};var c}},84122:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{J:()=>ScriptEvaluatorWorkerEngine});var _home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(35121),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(86235),_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(32360),_context__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(50290);const workerHandlerNames=["setCookie","request","getStorageItem","setStorageItem"];class ScriptEvaluatorWorkerEngine{constructor(_){this.worker=_}start(){var _=this;this.worker.onMessage(function(){var n=(0,_home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(e){if(e.type===_events__WEBPACK_IMPORTED_MODULE_2__.l0)try{yield _.initExecute(e.payload)}catch(r){yield _.makeCall("scriptError",r)}});return function(e){return n.apply(this,arguments)}}())}initExecute(payload){var _this2=this;return(0,_home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[script,data]=payload,res=yield new Promise((resolve,reject)=>{_this2.worker.onError(_=>{reject(_)});const clonedMutableData=JSON.parse(JSON.stringify(data)),handlers=workerHandlerNames.reduce((_,n)=>(_[n]=(...e)=>_this2.makeCall(n,...e),_),{}),context={altair:(0,_context__WEBPACK_IMPORTED_MODULE_0__.xH)(clonedMutableData,handlers),alert:_=>_this2.makeCall("alert",_)},contextEntries=Object.entries(context);try{const res=function(){return eval(`\n (async(${contextEntries.map(_=>_[0]).join(",")}) => {\n ${script};\n return altair.data;\n })(...this.__ctxE.map(e => e[1]));\n `)}.call({__ctxE:contextEntries});return resolve(res)}catch(_){return reject(_)}});res.__toSetActiveEnvironment&&_this2.makeCall("updateActiveEnvironment",res.__toSetActiveEnvironment),_this2.makeCall("executeComplete",res)})()}makeCall(_,...n){return new Promise((e,r)=>{const s=(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)();this.worker.onMessage(a=>{switch(a.type){case`${_}_response`:return a.payload.id!==s?void 0:e(a.payload.response);case`${_}_error`:return a.payload.id!==s?void 0:r(a.payload.error)}}),this.worker.send(_,{id:s,args:n})})}}},32360:(_,n,e)=>{e.d(n,{l0:()=>r});const r="init_execute"},67852:(_,n,e)=>{e.d(n,{Yw:()=>r,dG:()=>a});var r=function(u){return u.INTROSPECTION="introspection",u.QUERY="query",u.SUBSCRIPTION="subscription",u}(r||{});class a{}}},__webpack_module_cache__={},_;function __webpack_require__(_){var n=__webpack_module_cache__[_];if(void 0!==n)return n.exports;var e=__webpack_module_cache__[_]={exports:{}};return __webpack_modules__[_].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.x=()=>{var _=__webpack_require__.O(void 0,[76],()=>__webpack_require__(67472));return __webpack_require__.O(_)},_=[],__webpack_require__.O=(n,e,r,s)=>{if(!e){var u=1/0;for(a=0;a<_.length;a++){for(var[e,r,s]=_[a],o=!0,t=0;t<e.length;t++)(!1&s||u>=s)&&Object.keys(__webpack_require__.O).every(b=>__webpack_require__.O[b](e[t]))?e.splice(t--,1):(o=!1,s<u&&(u=s));if(o){_.splice(a--,1);var i=r();void 0!==i&&(n=i)}}return n}s=s||0;for(var a=_.length;a>0&&_[a-1][2]>s;a--)_[a]=_[a-1];_[a]=[e,r,s]},(()=>{var n,_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var s=Object.create(null);__webpack_require__.r(s);var a={};n=n||[null,_({}),_([]),_(_)];for(var u=2&r&&e;"object"==typeof u&&!~n.indexOf(u);u=_(u))Object.getOwnPropertyNames(u).forEach(o=>a[o]=()=>e[o]);return a.default=()=>e,__webpack_require__.d(s,a),s}})(),__webpack_require__.d=(_,n)=>{for(var e in n)__webpack_require__.o(n,e)&&!__webpack_require__.o(_,e)&&Object.defineProperty(_,e,{enumerable:!0,get:n[e]})},__webpack_require__.f={},__webpack_require__.e=_=>Promise.all(Object.keys(__webpack_require__.f).reduce((n,e)=>(__webpack_require__.f[e](_,n),n),[])),__webpack_require__.u=_=>(76===_?"common":_)+".js",__webpack_require__.miniCssF=_=>{},__webpack_require__.o=(_,n)=>Object.prototype.hasOwnProperty.call(_,n),__webpack_require__.r=_=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},(()=>{var _;__webpack_require__.tt=()=>(void 0===_&&(_={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(_=trustedTypes.createPolicy("angular#bundler",_))),_)})(),__webpack_require__.tu=_=>__webpack_require__.tt().createScriptURL(_),__webpack_require__.p="",(()=>{var _={472:1};__webpack_require__.f.i=(s,a)=>{_[s]||importScripts(__webpack_require__.tu(__webpack_require__.p+__webpack_require__.u(s)))};var e=self.webpackChunkaltair=self.webpackChunkaltair||[],r=e.push.bind(e);e.push=s=>{var[a,u,o]=s;for(var t in u)__webpack_require__.o(u,t)&&(__webpack_require__.m[t]=u[t]);for(o&&o(__webpack_require__);a.length;)_[a.pop()]=1;r(s)}})(),(()=>{var _=__webpack_require__.x;__webpack_require__.x=()=>__webpack_require__.e(76).then(_)})();var __webpack_exports__=__webpack_require__.x()})();
|
|
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]="4951aa70-82a0-5ccb-9719-620c031f3ef5")}catch(e){}}();
|
|
3
|
+
(()=>{var __webpack_modules__={67472:(e,i,r)=>{"use strict";var n=r(67852),a=r(84122);const o=["chrome-extension://flnheeellpciglgpaodhkhmapeljopja","chrome-extension://aiopipphfnlndegenpkclffgaiillbdd","moz-extension://567d7e27-43b8-994e-ab50-e770fa7eab4b","http://localhost:4200","https://dash.altairgraphql.dev","https://altair-gql.sirmuel.design","https://web.altairgraphql.dev","altair://-"];new a.J(new class f extends n.dG{onMessage(s){self.addEventListener("message",g=>{g.origin&&!o.includes(g.origin)||s(g.data)})}send(s,g){self.postMessage({type:s,payload:g})}onError(s){self.addEventListener("error",s),self.addEventListener("unhandledrejection",g=>{g.preventDefault(),s(g.reason)})}}).start()},22550:function(e,i){var r,n,a;!function(o,f){"use strict";"object"==typeof e.exports?e.exports=f():(n=[],void 0!==(a="function"==typeof(r=f)?r.apply(i,n):r)&&(e.exports=a))}(0,function(){"use strict";var o=Object.prototype.toString;function f(p,l){return null!=p&&Object.prototype.hasOwnProperty.call(p,l)}function c(p){if(!p||w(p)&&0===p.length)return!0;if("string"!=typeof p){for(var l in p)if(f(p,l))return!1;return!0}return!1}function s(p){return o.call(p)}var w=Array.isArray||function(p){return"[object Array]"===o.call(p)};function v(p){var l=parseInt(p);return l.toString()===p?l:p}function E(p){var k,l=function(u){return Object.keys(l).reduce(function(t,_){return"create"===_||"function"==typeof l[_]&&(t[_]=l[_].bind(l,u)),t},{})};function h(u,t){if(k(u,t))return u[t]}function P(u,t,_,d){if("number"==typeof t&&(t=[t]),!t||0===t.length)return u;if("string"==typeof t)return P(u,t.split(".").map(v),_,d);var y=t[0],O=h(u,y);if(p.includeInheritedProps&&("__proto__"===y||"constructor"===y&&"function"==typeof O))throw new Error("For security reasons, object's magic properties cannot be set");return 1===t.length?((void 0===O||!d)&&(u[y]=_),O):(void 0===O&&(u[y]="number"==typeof t[1]?[]:{}),P(u[y],t.slice(1),_,d))}return k=(p=p||{}).includeInheritedProps?function(){return!0}:function(u,t){return"number"==typeof t&&Array.isArray(u)||f(u,t)},l.has=function(u,t){if("number"==typeof t?t=[t]:"string"==typeof t&&(t=t.split(".")),!t||0===t.length)return!!u;for(var _=0;_<t.length;_++){var d=v(t[_]);if(!("number"==typeof d&&w(u)&&d<u.length||(p.includeInheritedProps?d in Object(u):f(u,d))))return!1;u=u[d]}return!0},l.ensureExists=function(u,t,_){return P(u,t,_,!0)},l.set=function(u,t,_,d){return P(u,t,_,d)},l.insert=function(u,t,_,d){var y=l.get(u,t);d=~~d,w(y)||l.set(u,t,y=[]),y.splice(d,0,_)},l.empty=function(u,t){var _,d;if(!c(t)&&null!=u&&(_=l.get(u,t))){if("string"==typeof _)return l.set(u,t,"");if(function m(p){return"boolean"==typeof p||"[object Boolean]"===s(p)}(_))return l.set(u,t,!1);if("number"==typeof _)return l.set(u,t,0);if(w(_))_.length=0;else{if(!function g(p){return"object"==typeof p&&"[object Object]"===s(p)}(_))return l.set(u,t,null);for(d in _)k(_,d)&&delete _[d]}}},l.push=function(u,t){var _=l.get(u,t);w(_)||l.set(u,t,_=[]),_.push.apply(_,Array.prototype.slice.call(arguments,2))},l.coalesce=function(u,t,_){for(var d,y=0,O=t.length;y<O;y++)if(void 0!==(d=l.get(u,t[y])))return d;return _},l.get=function(u,t,_){if("number"==typeof t&&(t=[t]),!t||0===t.length)return u;if(null==u)return _;if("string"==typeof t)return l.get(u,t.split("."),_);var d=v(t[0]),y=h(u,d);return void 0===y?_:1===t.length?y:l.get(u[d],t.slice(1),_)},l.del=function(t,_){if("number"==typeof _&&(_=[_]),null==t||c(_))return t;if("string"==typeof _)return l.del(t,_.split("."));var d=v(_[0]);return k(t,d)?1!==_.length?l.del(t[d],_.slice(1)):(w(t)?t.splice(d,1):delete t[d],t):t},l}var b=E();return b.create=E,b.withInheritedProps=E({includeInheritedProps:!0}),b})},37762:(e,i,r)=>{"use strict";r.d(i,{A:()=>a});const a={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},20472:(e,i,r)=>{"use strict";let n;r.d(i,{A:()=>o});const a=new Uint8Array(16);function o(){if(!n&&(n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}},46148:(e,i,r)=>{"use strict";r.d(i,{k:()=>a});const n=[];for(let c=0;c<256;++c)n.push((c+256).toString(16).slice(1));function a(c,s=0){return n[c[s+0]]+n[c[s+1]]+n[c[s+2]]+n[c[s+3]]+"-"+n[c[s+4]]+n[c[s+5]]+"-"+n[c[s+6]]+n[c[s+7]]+"-"+n[c[s+8]]+n[c[s+9]]+"-"+n[c[s+10]]+n[c[s+11]]+n[c[s+12]]+n[c[s+13]]+n[c[s+14]]+n[c[s+15]]}},86235:(e,i,r)=>{"use strict";r.d(i,{A:()=>c});var n=r(37762),a=r(20472),o=r(46148);const c=function f(s,g,w){if(n.A.randomUUID&&!g&&!s)return n.A.randomUUID();const m=(s=s||{}).random||(s.rng||a.A)();if(m[6]=15&m[6]|64,m[8]=63&m[8]|128,g){w=w||0;for(let v=0;v<16;++v)g[w+v]=m[v];return g}return(0,o.k)(m)}},50290:(e,i,r)=>{"use strict";r.d(i,{xH:()=>w});var n=r(35121),a=r(67852),o=r(22550);const c={atob:{exec:()=>(0,n.A)(function*(){return(yield r.e(411).then(r.t.bind(r,61411,23))).atob})()},btoa:{exec:()=>(0,n.A)(function*(){return(yield r.e(411).then(r.t.bind(r,61411,23))).btoa})()},"crypto-js":{exec:()=>(0,n.A)(function*(){return(yield r.e(477).then(r.t.bind(r,54477,23))).default})()}},s=m=>{if(m.response)return{body:m.response.body,requestType:m.requestType??a.Yw.QUERY,responseTime:m.response.responseTime,statusCode:m.response.status,headers:m.response.headers}},g=function(){var m=(0,n.A)(function*(v){const E=c[v];if(!E)throw new Error(`No request script module found matching "${v}"`);return E.exec()});return function(E){return m.apply(this,arguments)}}(),w=(m,v)=>{return{data:m,helpers:{getEnvironment:E=>(0,o.get)(m.environment,E),setEnvironment:(E,b,p=!1)=>{(0,o.set)(m.environment,E,b),p&&(m.__toSetActiveEnvironment=m.__toSetActiveEnvironment??{},(0,o.set)(m.__toSetActiveEnvironment,E,b))},getCookie:E=>m.__cookieJar?.[E]??"",setCookie:(E,b,p)=>{v.setCookie(E,b,p)},request:(E=(0,n.A)(function*(b,p,l){return v.request(b,p,l)}),function(p,l,k){return E.apply(this,arguments)})},storage:{get:E=>v.getStorageItem(E),set:(E,b)=>v.setStorageItem(E,b)},importModule:E=>g(E),response:s(m),log:E=>{m.requestScriptLogs=m.requestScriptLogs??[],m.requestScriptLogs.push({time:Date.now(),text:JSON.stringify(E,null,2),source:"Request script"})}};var E}},84122:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>ScriptEvaluatorWorkerEngine});var _home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(35121),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(86235),_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(32360),_context__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(50290);const workerHandlerNames=["setCookie","request","getStorageItem","setStorageItem"];class ScriptEvaluatorWorkerEngine{constructor(e){this.worker=e}start(){var e=this;this.worker.onMessage(function(){var i=(0,_home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(r){if(r.type===_events__WEBPACK_IMPORTED_MODULE_2__.l0)try{yield e.initExecute(r.payload)}catch(n){yield e.makeCall("scriptError",n)}});return function(r){return i.apply(this,arguments)}}())}initExecute(payload){var _this2=this;return(0,_home_runner_work_altair_altair_node_modules_pnpm_babel_runtime_7_25_0_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[script,data]=payload,res=yield new Promise((resolve,reject)=>{_this2.worker.onError(e=>{reject(e)});const clonedMutableData=JSON.parse(JSON.stringify(data)),handlers=workerHandlerNames.reduce((e,i)=>(e[i]=(...r)=>_this2.makeCall(i,...r),e),{}),context={altair:(0,_context__WEBPACK_IMPORTED_MODULE_0__.xH)(clonedMutableData,handlers),alert:e=>_this2.makeCall("alert",e)},contextEntries=Object.entries(context);try{const res=function(){return eval(`\n (async(${contextEntries.map(e=>e[0]).join(",")}) => {\n ${script};\n return altair.data;\n })(...this.__ctxE.map(e => e[1]));\n `)}.call({__ctxE:contextEntries});return resolve(res)}catch(e){return reject(e)}});res.__toSetActiveEnvironment&&_this2.makeCall("updateActiveEnvironment",res.__toSetActiveEnvironment),_this2.makeCall("executeComplete",res)})()}makeCall(e,...i){return new Promise((r,n)=>{const a=(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)();this.worker.onMessage(o=>{switch(o.type){case`${e}_response`:return o.payload.id!==a?void 0:r(o.payload.response);case`${e}_error`:return o.payload.id!==a?void 0:n(o.payload.error)}}),this.worker.send(e,{id:a,args:i})})}}},32360:(e,i,r)=>{"use strict";r.d(i,{l0:()=>n});const n="init_execute"},67852:(e,i,r)=>{"use strict";r.d(i,{Yw:()=>n,dG:()=>o});var n=function(f){return f.INTROSPECTION="introspection",f.QUERY="query",f.SUBSCRIPTION="subscription",f}(n||{});class o{}}},__webpack_module_cache__={},e;function __webpack_require__(e){var i=__webpack_module_cache__[e];if(void 0!==i)return i.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.x=()=>{var e=__webpack_require__.O(void 0,[76],()=>__webpack_require__(67472));return __webpack_require__.O(e)},e=[],__webpack_require__.O=(i,r,n,a)=>{if(!r){var f=1/0;for(o=0;o<e.length;o++){for(var[r,n,a]=e[o],c=!0,s=0;s<r.length;s++)(!1&a||f>=a)&&Object.keys(__webpack_require__.O).every(b=>__webpack_require__.O[b](r[s]))?r.splice(s--,1):(c=!1,a<f&&(f=a));if(c){e.splice(o--,1);var g=n();void 0!==g&&(i=g)}}return i}a=a||0;for(var o=e.length;o>0&&e[o-1][2]>a;o--)e[o]=e[o-1];e[o]=[r,n,a]},__webpack_require__.n=e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(i,{a:i}),i},(()=>{var i,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var a=Object.create(null);__webpack_require__.r(a);var o={};i=i||[null,e({}),e([]),e(e)];for(var f=2&n&&r;"object"==typeof f&&!~i.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(c=>o[c]=()=>r[c]);return o.default=()=>r,__webpack_require__.d(a,o),a}})(),__webpack_require__.d=(e,i)=>{for(var r in i)__webpack_require__.o(i,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((i,r)=>(__webpack_require__.f[r](e,i),i),[])),__webpack_require__.u=e=>(76===e?"common":e)+".js",__webpack_require__.miniCssF=e=>{},__webpack_require__.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),__webpack_require__.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.tt=()=>(void 0===e&&(e={createScriptURL:i=>i},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),__webpack_require__.tu=e=>__webpack_require__.tt().createScriptURL(e),__webpack_require__.p="",(()=>{var e={472:1};__webpack_require__.f.i=(a,o)=>{e[a]||importScripts(__webpack_require__.tu(__webpack_require__.p+__webpack_require__.u(a)))};var r=self.webpackChunkaltair=self.webpackChunkaltair||[],n=r.push.bind(r);r.push=a=>{var[o,f,c]=a;for(var s in f)__webpack_require__.o(f,s)&&(__webpack_require__.m[s]=f[s]);for(c&&c(__webpack_require__);o.length;)e[o.pop()]=1;n(a)}})(),(()=>{var e=__webpack_require__.x;__webpack_require__.x=()=>__webpack_require__.e(76).then(e)})();var __webpack_exports__=__webpack_require__.x()})();
|
|
4
4
|
//# sourceMappingURL=472.js.map
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=4951aa70-82a0-5ccb-9719-620c031f3ef5
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "crwdns1256:0crwdne1256:0",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "crwdns1287:0crwdne1287:0",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "crwdns1289:0crwdne1289:0",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "crwdns1384:0crwdne1384:0",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "crwdns1328:0crwdne1328:0",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "crwdns1330:0crwdne1330:0",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "crwdns873:0crwdne873:0",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Upravit sbírku",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Aktualisieren",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Alle Workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Workspaces filtern",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Revisionen der Abfrage",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "Sie können frühere Versionen dieser Abfrage ansehen und wiederherstellen",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Sammlung bearbeiten",
|
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
166
166
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
167
167
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
168
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
168
169
|
|
|
169
170
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
170
171
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Actualizar",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Todos los workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filtrar workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Solicitud Historia",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "Puede ver y restaurar versiones anteriores de esta solicitud",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Editar Colección",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Actualiser",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Tous les espaces de travail",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filtrer les espaces de travail",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Révisions de la requête",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "Vous pouvez voir et restaurer les versions précédentes de cette requête",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Modifier la collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Modifica Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "更新",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "コレクションを編集",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "새로고침",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "컬렉션 편집",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edytuj kolekcję",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Atualizar",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Todos os espaços de trabalho",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filtrar Espaços de Trabalho",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Editar Coleção",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Editare Colectie",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Обновить",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Все проекты",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Фильтр проектов",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "История Запросов",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "Вы можете найти и восстановить предыдущие версии запроса",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Редактировать коллекцию",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Koleksiyonu düzenle",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Оновити",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "Усі робочі місця",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Фільтрувати робочі простори",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Ревізії запиту",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "Ви можете переглянути та відновити попередні версії цього запиту",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Змінити колекцію",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Tải lại",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Chỉnh sửa Collection",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "刷新",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "所有工作区",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "过滤工作区",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "编辑收藏集",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"COLLECTION_SYNC_TEXT": "Refresh",
|
|
147
147
|
"COLLECTIONS_WORKSPACES_SELECT_ALL": "All workspaces",
|
|
148
148
|
"COLLECTIONS_WORKSPACES_FILTER": "Filter workspaces",
|
|
149
|
+
"SEARCH_COLLECTIONS_PLACEHOLDER": "Search",
|
|
149
150
|
"QUERY_REVISIONS_TEXT": "Query Revisions",
|
|
150
151
|
"QUERY_REVISIONS_SUB_TEXT": "You can view and restore previous versions of this query",
|
|
151
152
|
"EDIT_COLLECTION_TITLE_TEXT": "Edit Collection",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var S=Object.defineProperty;var P=(e,r,n)=>r in e?S(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n;var _=(e,r,n)=>P(e,typeof r!="symbol"?r+"":r,n);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const d of i)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function n(i){const d={};return i.integrity&&(d.integrity=i.integrity),i.referrerPolicy&&(d.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?d.credentials="include":i.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function s(i){if(i.ep)return;i.ep=!0;const d=n(i);fetch(i.href,d)}})();let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let e=0;e<256;++e)byteToHex.push((e+256).toString(16).slice(1));function unsafeStringify(e,r=0){return byteToHex[e[r+0]]+byteToHex[e[r+1]]+byteToHex[e[r+2]]+byteToHex[e[r+3]]+"-"+byteToHex[e[r+4]]+byteToHex[e[r+5]]+"-"+byteToHex[e[r+6]]+byteToHex[e[r+7]]+"-"+byteToHex[e[r+8]]+byteToHex[e[r+9]]+"-"+byteToHex[e[r+10]]+byteToHex[e[r+11]]+byteToHex[e[r+12]]+byteToHex[e[r+13]]+byteToHex[e[r+14]]+byteToHex[e[r+15]]}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(e,r,n){if(native.randomUUID&&!r&&!e)return native.randomUUID();e=e||{};const s=e.random||(e.rng||rng)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,r){n=n||0;for(let i=0;i<16;++i)r[n+i]=s[i];return r}return unsafeStringify(s)}const SCRIPT_INIT_EXECUTE="init_execute",scriptRel="modulepreload",assetsURL=function(e){return"/"+e},seen={},__vitePreload=function(r,n,s){let i=Promise.resolve();if(n&&n.length>0){const d=document.getElementsByTagName("link"),f=document.querySelector("meta[property=csp-nonce]"),E=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));i=Promise.all(n.map(p=>{if(p=assetsURL(p),p in seen)return;seen[p]=!0;const g=p.endsWith(".css"),w=g?'[rel="stylesheet"]':"";if(!!s)for(let m=d.length-1;m>=0;m--){const v=d[m];if(v.href===p&&(!g||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${p}"]${w}`))return;const u=document.createElement("link");if(u.rel=g?"stylesheet":scriptRel,g||(u.as="script",u.crossOrigin=""),u.href=p,E&&u.setAttribute("nonce",E),document.head.appendChild(u),g)return new Promise((m,v)=>{u.addEventListener("load",m),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${p}`)))})}))}return i.then(()=>r()).catch(d=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=d,window.dispatchEvent(f),!f.defaultPrevented)throw d})};var RequestType;(function(e){e.INTROSPECTION="introspection",e.QUERY="query",e.SUBSCRIPTION="subscription"})(RequestType||(RequestType={}));class ScriptEvaluatorWorker{}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var objectPath={exports:{}};(function(e){(function(r,n){e.exports=n()})(commonjsGlobal,function(){var r=Object.prototype.toString;function n(l,u){return l==null?!1:Object.prototype.hasOwnProperty.call(l,u)}function s(l){if(!l||f(l)&&l.length===0)return!0;if(typeof l!="string"){for(var u in l)if(n(l,u))return!1;return!0}return!1}function i(l){return r.call(l)}function d(l){return typeof l=="object"&&i(l)==="[object Object]"}var f=Array.isArray||function(l){return r.call(l)==="[object Array]"};function E(l){return typeof l=="boolean"||i(l)==="[object Boolean]"}function p(l){var u=parseInt(l);return u.toString()===l?u:l}function g(l){l=l||{};var u=function(c){return Object.keys(u).reduce(function(t,o){return o==="create"||typeof u[o]=="function"&&(t[o]=u[o].bind(u,c)),t},{})},m;l.includeInheritedProps?m=function(){return!0}:m=function(c,t){return typeof t=="number"&&Array.isArray(c)||n(c,t)};function v(c,t){if(m(c,t))return c[t]}function x(c,t,o,a){if(typeof t=="number"&&(t=[t]),!t||t.length===0)return c;if(typeof t=="string")return x(c,t.split(".").map(p),o,a);var y=t[0],h=v(c,y);if(l.includeInheritedProps&&(y==="__proto__"||y==="constructor"&&typeof h=="function"))throw new Error("For security reasons, object's magic properties cannot be set");return t.length===1?((h===void 0||!a)&&(c[y]=o),h):(h===void 0&&(typeof t[1]=="number"?c[y]=[]:c[y]={}),x(c[y],t.slice(1),o,a))}return u.has=function(c,t){if(typeof t=="number"?t=[t]:typeof t=="string"&&(t=t.split(".")),!t||t.length===0)return!!c;for(var o=0;o<t.length;o++){var a=p(t[o]);if(typeof a=="number"&&f(c)&&a<c.length||(l.includeInheritedProps?a in Object(c):n(c,a)))c=c[a];else return!1}return!0},u.ensureExists=function(c,t,o){return x(c,t,o,!0)},u.set=function(c,t,o,a){return x(c,t,o,a)},u.insert=function(c,t,o,a){var y=u.get(c,t);a=~~a,f(y)||(y=[],u.set(c,t,y)),y.splice(a,0,o)},u.empty=function(c,t){if(!s(t)&&c!=null){var o,a;if(o=u.get(c,t)){if(typeof o=="string")return u.set(c,t,"");if(E(o))return u.set(c,t,!1);if(typeof o=="number")return u.set(c,t,0);if(f(o))o.length=0;else if(d(o))for(a in o)m(o,a)&&delete o[a];else return u.set(c,t,null)}}},u.push=function(c,t){var o=u.get(c,t);f(o)||(o=[],u.set(c,t,o)),o.push.apply(o,Array.prototype.slice.call(arguments,2))},u.coalesce=function(c,t,o){for(var a,y=0,h=t.length;y<h;y++)if((a=u.get(c,t[y]))!==void 0)return a;return o},u.get=function(c,t,o){if(typeof t=="number"&&(t=[t]),!t||t.length===0)return c;if(c==null)return o;if(typeof t=="string")return u.get(c,t.split("."),o);var a=p(t[0]),y=v(c,a);return y===void 0?o:t.length===1?y:u.get(c[a],t.slice(1),o)},u.del=function(t,o){if(typeof o=="number"&&(o=[o]),t==null||s(o))return t;if(typeof o=="string")return u.del(t,o.split("."));var a=p(o[0]);if(!m(t,a))return t;if(o.length===1)f(t)?t.splice(a,1):delete t[a];else return u.del(t[a],o.slice(1));return t},u}var w=g();return w.create=g,w.withInheritedProps=g({includeInheritedProps:!0}),w})})(objectPath);var objectPathExports=objectPath.exports;const ModuleImports={atob:{async exec(){return(await __vitePreload(async()=>{const{atob:e}=await import("./index-CzXqqJF2.js").then(r=>r.i);return{atob:e}},[])).atob}},btoa:{async exec(){return(await __vitePreload(async()=>{const{btoa:e}=await import("./index-CzXqqJF2.js").then(r=>r.i);return{btoa:e}},[])).btoa}},"crypto-js":{async exec(){return(await __vitePreload(async()=>{const{default:e}=await import("./index-cZO7q35G.js").then(r=>r.i);return{default:e}},[])).default}}},buildContextResponse=e=>{if(e.response)return{body:e.response.body,requestType:e.requestType??RequestType.QUERY,responseTime:e.response.responseTime,statusCode:e.response.status,headers:e.response.headers}},importModuleHelper=async e=>{const r=ModuleImports[e];if(!r)throw new Error(`No request script module found matching "${e}"`);return r.exec()},getGlobalContext=(e,r)=>({data:e,helpers:{getEnvironment:n=>objectPathExports.get(e.environment,n),setEnvironment:(n,s,i=!1)=>{objectPathExports.set(e.environment,n,s),i&&(e.__toSetActiveEnvironment=e.__toSetActiveEnvironment??{},objectPathExports.set(e.__toSetActiveEnvironment,n,s))},getCookie:n=>{var s;return((s=e.__cookieJar)==null?void 0:s[n])??""},setCookie:(n,s,i)=>{r.setCookie(n,s,i)},request:async(n,s,i)=>r.request(n,s,i)},storage:{get:n=>r.getStorageItem(n),set:(n,s)=>r.setStorageItem(n,s)},importModule:n=>importModuleHelper(n),response:buildContextResponse(e),log:n=>{e.requestScriptLogs=e.requestScriptLogs??[],e.requestScriptLogs.push({time:Date.now(),text:JSON.stringify(n,null,2),source:"Request script"})}}),workerHandlerNames=["setCookie","request","getStorageItem","setStorageItem"];class ScriptEvaluatorWorkerEngine{constructor(e){this.worker=e}start(){this.worker.onMessage(async e=>{switch(e.type){case SCRIPT_INIT_EXECUTE:try{await this.initExecute(e.payload)}catch(r){await this.makeCall("scriptError",r)}break}})}async initExecute(payload){const[script,data]=payload,res=await new Promise((resolve,reject)=>{this.worker.onError(e=>{reject(e)});const clonedMutableData=JSON.parse(JSON.stringify(data)),handlers=workerHandlerNames.reduce((e,r)=>(e[r]=(...n)=>this.makeCall(r,...n),e),{}),context={altair:getGlobalContext(clonedMutableData,handlers),alert:e=>this.makeCall("alert",e)},contextEntries=Object.entries(context);try{const res=(function(){return eval(`
|
|
2
|
+
(async(${contextEntries.map(e=>e[0]).join(",")}) => {
|
|
3
|
+
${script};
|
|
4
|
+
return altair.data;
|
|
5
|
+
})(...this.__ctxE.map(e => e[1]));
|
|
6
|
+
`)}).call({__ctxE:contextEntries});return resolve(res)}catch(e){return reject(e)}});res.__toSetActiveEnvironment&&this.makeCall("updateActiveEnvironment",res.__toSetActiveEnvironment),this.makeCall("executeComplete",res)}makeCall(e,...r){return new Promise((n,s)=>{const i=v4();this.worker.onMessage(d=>{switch(d.type){case`${e}_response`:return d.payload.id!==i?void 0:n(d.payload.response);case`${e}_error`:return d.payload.id!==i?void 0:s(d.payload.error)}}),this.worker.send(e,{id:i,args:r})})}}class EvaluatorFrameWorker extends ScriptEvaluatorWorker{constructor(){super();_(this,"origin");const s=new URLSearchParams(window.location.search).get("sc");if(!s)throw new Error("Invalid source provided!");this.origin=s}onMessage(n){window.addEventListener("message",s=>{s.origin===this.origin&&n(s.data)})}send(n,s){window.parent.postMessage({type:n,payload:s},this.origin)}onError(n){window.addEventListener("error",n),window.addEventListener("unhandledrejection",s=>{s.preventDefault(),n(s.reason)})}}const injectScript=e=>new Promise((r,n)=>{const s=document.getElementsByTagName("head")[0];if(!s)return n(new Error("No head found!"));const i=document.createElement("script");i.type="text/javascript",i.src=e,i.onload=()=>r(null),i.onerror=d=>n(d),s.appendChild(i)}),injectStylesheet=e=>new Promise((r,n)=>{const s=document.getElementsByTagName("head")[0];if(!s)return n(new Error("No head found!"));const i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=e,i.onload=()=>r(null),i.onerror=d=>n(d),s.appendChild(i)}),handlePluginSandbox=async()=>{const r=new URLSearchParams(window.location.search).get("plugin_sandbox_opts"),n=r?JSON.parse(r):void 0;if(!n)throw new Error("Invalid plugin options provided!");if(n.type!=="scripts")throw new Error("Invalid plugin option type provided!");if(document.querySelectorAll('style,link[rel="stylesheet"]').forEach(s=>s.remove()),n.styleUrls)for(const s of n.styleUrls)await injectStylesheet(s);if(n.scriptUrls)for(const s of n.scriptUrls)await injectScript(s)},searchParams=new URLSearchParams(window.location.search),sandboxType=searchParams.get("sandbox_type");switch(sandboxType){case"plugin":handlePluginSandbox();break;case"script":default:new ScriptEvaluatorWorkerEngine(new EvaluatorFrameWorker).start()}export{commonjsGlobal as c,getDefaultExportFromCjs as g};
|