@globus/sdk 1.1.0-alpha → 1.2.0-alpha
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/cjs/index.d.ts +43 -0
- package/cjs/index.d.ts.map +1 -0
- package/cjs/index.js +50 -0
- package/cjs/index.js.map +1 -0
- package/cjs/lib/core/authorization.d.ts +30 -0
- package/cjs/lib/core/authorization.d.ts.map +1 -0
- package/cjs/lib/core/authorization.js +93 -0
- package/cjs/lib/core/authorization.js.map +1 -0
- package/cjs/lib/core/consent.d.ts +6 -0
- package/cjs/lib/core/consent.d.ts.map +1 -0
- package/cjs/lib/core/consent.js +33 -0
- package/cjs/lib/core/consent.js.map +1 -0
- package/cjs/lib/core/errors.d.ts +5 -0
- package/cjs/lib/core/errors.d.ts.map +1 -0
- package/cjs/lib/core/errors.js +13 -0
- package/cjs/lib/core/errors.js.map +1 -0
- package/cjs/lib/core/fetch.d.ts +7 -0
- package/cjs/lib/core/fetch.d.ts.map +1 -0
- package/cjs/lib/core/fetch.js +27 -0
- package/cjs/lib/core/fetch.js.map +1 -0
- package/cjs/lib/core/global.d.ts +38 -0
- package/cjs/lib/core/global.d.ts.map +1 -0
- package/cjs/lib/core/global.js +100 -0
- package/cjs/lib/core/global.js.map +1 -0
- package/cjs/lib/core/internals/fetch.d.ts +2 -0
- package/cjs/lib/core/internals/fetch.d.ts.map +1 -0
- package/cjs/lib/core/internals/fetch.js +7 -0
- package/cjs/lib/core/internals/fetch.js.map +1 -0
- package/cjs/lib/core/storage/index.d.ts +25 -0
- package/cjs/lib/core/storage/index.d.ts.map +1 -0
- package/cjs/lib/core/storage/index.js +44 -0
- package/cjs/lib/core/storage/index.js.map +1 -0
- package/cjs/lib/core/storage/local-storage.d.ts +8 -0
- package/cjs/lib/core/storage/local-storage.d.ts.map +1 -0
- package/cjs/lib/core/storage/local-storage.js +20 -0
- package/cjs/lib/core/storage/local-storage.js.map +1 -0
- package/cjs/lib/core/storage/memory.d.ts +9 -0
- package/cjs/lib/core/storage/memory.d.ts.map +1 -0
- package/cjs/lib/core/storage/memory.js +25 -0
- package/cjs/lib/core/storage/memory.js.map +1 -0
- package/cjs/lib/core/url.d.ts +31 -0
- package/cjs/lib/core/url.d.ts.map +1 -0
- package/cjs/lib/core/url.js +60 -0
- package/cjs/lib/core/url.js.map +1 -0
- package/cjs/lib/services/auth/config.d.ts +4 -0
- package/cjs/lib/services/auth/config.d.ts.map +1 -0
- package/cjs/lib/services/auth/config.js +13 -0
- package/cjs/lib/services/auth/config.js.map +1 -0
- package/cjs/lib/services/auth/index.d.ts +21 -0
- package/cjs/lib/services/auth/index.d.ts.map +1 -0
- package/cjs/lib/services/auth/index.js +26 -0
- package/cjs/lib/services/auth/index.js.map +1 -0
- package/cjs/lib/services/auth/types.d.ts +15 -0
- package/cjs/lib/services/auth/types.d.ts.map +1 -0
- package/cjs/lib/services/auth/types.js +3 -0
- package/cjs/lib/services/auth/types.js.map +1 -0
- package/cjs/lib/services/flows/config.d.ts +14 -0
- package/cjs/lib/services/flows/config.d.ts.map +1 -0
- package/cjs/lib/services/flows/config.js +23 -0
- package/cjs/lib/services/flows/config.js.map +1 -0
- package/cjs/lib/services/flows/index.d.ts +15 -0
- package/cjs/lib/services/flows/index.d.ts.map +1 -0
- package/cjs/lib/services/flows/index.js +19 -0
- package/cjs/lib/services/flows/index.js.map +1 -0
- package/cjs/lib/services/flows/service/flows.d.ts +17 -0
- package/cjs/lib/services/flows/service/flows.d.ts.map +1 -0
- package/cjs/lib/services/flows/service/flows.js +30 -0
- package/cjs/lib/services/flows/service/flows.js.map +1 -0
- package/cjs/lib/services/flows/service/runs.d.ts +10 -0
- package/cjs/lib/services/flows/service/runs.d.ts.map +1 -0
- package/cjs/lib/services/flows/service/runs.js +17 -0
- package/cjs/lib/services/flows/service/runs.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/client.d.ts +3461 -0
- package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/client.js +55 -0
- package/cjs/lib/services/globus-connect-server/client.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/index.d.ts +47 -0
- package/cjs/lib/services/globus-connect-server/index.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/index.js +28 -0
- package/cjs/lib/services/globus-connect-server/index.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/collections.d.ts +29 -0
- package/cjs/lib/services/globus-connect-server/service/collections.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/collections.js +23 -0
- package/cjs/lib/services/globus-connect-server/service/collections.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts +7 -0
- package/cjs/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/endpoint.js +14 -0
- package/cjs/lib/services/globus-connect-server/service/endpoint.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/roles.d.ts +33 -0
- package/cjs/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/roles.js +39 -0
- package/cjs/lib/services/globus-connect-server/service/roles.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts +27 -0
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.js +25 -0
- package/cjs/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts +20 -0
- package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/user-credentials.js +23 -0
- package/cjs/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/versioning.d.ts +8 -0
- package/cjs/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -0
- package/cjs/lib/services/globus-connect-server/service/versioning.js +15 -0
- package/cjs/lib/services/globus-connect-server/service/versioning.js.map +1 -0
- package/cjs/lib/services/groups/config.d.ts +11 -0
- package/cjs/lib/services/groups/config.d.ts.map +1 -0
- package/cjs/lib/services/groups/config.js +20 -0
- package/cjs/lib/services/groups/config.js.map +1 -0
- package/cjs/lib/services/groups/index.d.ts +19 -0
- package/cjs/lib/services/groups/index.d.ts.map +1 -0
- package/cjs/lib/services/groups/index.js +23 -0
- package/cjs/lib/services/groups/index.js.map +1 -0
- package/cjs/lib/services/groups/service/groups.d.ts +28 -0
- package/cjs/lib/services/groups/service/groups.d.ts.map +1 -0
- package/cjs/lib/services/groups/service/groups.js +25 -0
- package/cjs/lib/services/groups/service/groups.js.map +1 -0
- package/cjs/lib/services/groups/service/membership.d.ts +14 -0
- package/cjs/lib/services/groups/service/membership.d.ts.map +1 -0
- package/cjs/lib/services/groups/service/membership.js +17 -0
- package/cjs/lib/services/groups/service/membership.js.map +1 -0
- package/cjs/lib/services/groups/service/policies.d.ts +7 -0
- package/cjs/lib/services/groups/service/policies.d.ts.map +1 -0
- package/cjs/lib/services/groups/service/policies.js +14 -0
- package/cjs/lib/services/groups/service/policies.js.map +1 -0
- package/cjs/lib/services/search/config.d.ts +12 -0
- package/cjs/lib/services/search/config.d.ts.map +1 -0
- package/cjs/lib/services/search/config.js +21 -0
- package/cjs/lib/services/search/config.js.map +1 -0
- package/cjs/lib/services/search/index.d.ts +14 -0
- package/cjs/lib/services/search/index.d.ts.map +1 -0
- package/cjs/lib/services/search/index.js +18 -0
- package/cjs/lib/services/search/index.js.map +1 -0
- package/cjs/lib/services/search/service/query.d.ts +24 -0
- package/cjs/lib/services/search/service/query.d.ts.map +1 -0
- package/cjs/lib/services/search/service/query.js +18 -0
- package/cjs/lib/services/search/service/query.js.map +1 -0
- package/cjs/lib/services/shared.d.ts +7 -0
- package/cjs/lib/services/shared.d.ts.map +1 -0
- package/cjs/lib/services/shared.js +11 -0
- package/cjs/lib/services/shared.js.map +1 -0
- package/cjs/lib/services/transfer/config.d.ts +4 -0
- package/cjs/lib/services/transfer/config.d.ts.map +1 -0
- package/cjs/lib/services/transfer/config.js +13 -0
- package/cjs/lib/services/transfer/config.js.map +1 -0
- package/cjs/lib/services/transfer/index.d.ts +18 -0
- package/cjs/lib/services/transfer/index.d.ts.map +1 -0
- package/cjs/lib/services/transfer/index.js +22 -0
- package/cjs/lib/services/transfer/index.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-search.d.ts +18 -0
- package/cjs/lib/services/transfer/service/endpoint-search.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint-search.js +27 -0
- package/cjs/lib/services/transfer/service/endpoint-search.js.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint.d.ts +5 -0
- package/cjs/lib/services/transfer/service/endpoint.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/endpoint.js +14 -0
- package/cjs/lib/services/transfer/service/endpoint.js.map +1 -0
- package/cjs/lib/services/transfer/service/file-operations.d.ts +63 -0
- package/cjs/lib/services/transfer/service/file-operations.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/file-operations.js +53 -0
- package/cjs/lib/services/transfer/service/file-operations.js.map +1 -0
- package/cjs/lib/services/transfer/service/task-submission.d.ts +30 -0
- package/cjs/lib/services/transfer/service/task-submission.d.ts.map +1 -0
- package/cjs/lib/services/transfer/service/task-submission.js +34 -0
- package/cjs/lib/services/transfer/service/task-submission.js.map +1 -0
- package/cjs/lib/services/transfer/shared.d.ts +3 -0
- package/cjs/lib/services/transfer/shared.d.ts.map +1 -0
- package/cjs/lib/services/transfer/shared.js +14 -0
- package/cjs/lib/services/transfer/shared.js.map +1 -0
- package/cjs/lib/services/transfer/types.d.ts +43 -0
- package/cjs/lib/services/transfer/types.d.ts.map +1 -0
- package/cjs/lib/services/transfer/types.js +3 -0
- package/cjs/lib/services/transfer/types.js.map +1 -0
- package/cjs/lib/services/types.d.ts +44 -0
- package/cjs/lib/services/types.d.ts.map +1 -0
- package/cjs/lib/services/types.js +3 -0
- package/cjs/lib/services/types.js.map +1 -0
- package/cjs/package.json +3 -0
- package/esm/index.js +14 -14
- package/esm/index.js.map +1 -1
- package/esm/lib/core/authorization.js +21 -27
- package/esm/lib/core/authorization.js.map +1 -1
- package/esm/lib/core/consent.js +7 -13
- package/esm/lib/core/consent.js.map +1 -1
- package/esm/lib/core/errors.js +1 -5
- package/esm/lib/core/errors.js.map +1 -1
- package/esm/lib/core/fetch.js +5 -9
- package/esm/lib/core/fetch.js.map +1 -1
- package/esm/lib/core/global.js +17 -25
- package/esm/lib/core/global.js.map +1 -1
- package/esm/lib/core/internals/fetch.js +2 -6
- package/esm/lib/core/internals/fetch.js.map +1 -1
- package/esm/lib/core/storage/index.js +8 -14
- package/esm/lib/core/storage/index.js.map +1 -1
- package/esm/lib/core/storage/local-storage.js +1 -5
- package/esm/lib/core/storage/local-storage.js.map +1 -1
- package/esm/lib/core/storage/memory.js +6 -10
- package/esm/lib/core/storage/memory.js.map +1 -1
- package/esm/lib/core/url.js +5 -11
- package/esm/lib/core/url.js.map +1 -1
- package/esm/lib/services/auth/config.js +2 -5
- package/esm/lib/services/auth/config.js.map +1 -1
- package/esm/lib/services/auth/index.js +7 -13
- package/esm/lib/services/auth/index.js.map +1 -1
- package/esm/lib/services/auth/types.js +1 -2
- package/esm/lib/services/flows/config.js +3 -6
- package/esm/lib/services/flows/config.js.map +1 -1
- package/esm/lib/services/flows/index.js +6 -8
- package/esm/lib/services/flows/index.js.map +1 -1
- package/esm/lib/services/flows/service/flows.js +9 -12
- package/esm/lib/services/flows/service/flows.js.map +1 -1
- package/esm/lib/services/flows/service/runs.js +5 -8
- package/esm/lib/services/flows/service/runs.js.map +1 -1
- package/esm/lib/services/globus-connect-server/client.js +7 -12
- package/esm/lib/services/globus-connect-server/client.js.map +1 -1
- package/esm/lib/services/globus-connect-server/index.js +13 -15
- package/esm/lib/services/globus-connect-server/index.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/collections.js +7 -10
- package/esm/lib/services/globus-connect-server/service/collections.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/endpoint.js +5 -8
- package/esm/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/roles.js +11 -14
- package/esm/lib/services/globus-connect-server/service/roles.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/storage-gateways.js +7 -10
- package/esm/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/user-credentials.js +7 -10
- package/esm/lib/services/globus-connect-server/service/user-credentials.js.map +1 -1
- package/esm/lib/services/globus-connect-server/service/versioning.js +5 -8
- package/esm/lib/services/globus-connect-server/service/versioning.js.map +1 -1
- package/esm/lib/services/groups/config.js +3 -6
- package/esm/lib/services/groups/config.js.map +1 -1
- package/esm/lib/services/groups/index.js +8 -12
- package/esm/lib/services/groups/index.js.map +1 -1
- package/esm/lib/services/groups/service/groups.js +7 -10
- package/esm/lib/services/groups/service/groups.js.map +1 -1
- package/esm/lib/services/groups/service/membership.js +5 -8
- package/esm/lib/services/groups/service/membership.js.map +1 -1
- package/esm/lib/services/groups/service/policies.js +5 -8
- package/esm/lib/services/groups/service/policies.js.map +1 -1
- package/esm/lib/services/search/config.js +3 -6
- package/esm/lib/services/search/config.js.map +1 -1
- package/esm/lib/services/search/index.js +4 -7
- package/esm/lib/services/search/index.js.map +1 -1
- package/esm/lib/services/search/service/query.js +5 -8
- package/esm/lib/services/search/service/query.js.map +1 -1
- package/esm/lib/services/shared.js +2 -5
- package/esm/lib/services/shared.js.map +1 -1
- package/esm/lib/services/transfer/config.js +2 -5
- package/esm/lib/services/transfer/config.js.map +1 -1
- package/esm/lib/services/transfer/index.js +10 -11
- package/esm/lib/services/transfer/index.js.map +1 -1
- package/esm/lib/services/transfer/service/endpoint-search.js +6 -10
- package/esm/lib/services/transfer/service/endpoint-search.js.map +1 -1
- package/esm/lib/services/transfer/service/endpoint.js +5 -8
- package/esm/lib/services/transfer/service/endpoint.js.map +1 -1
- package/esm/lib/services/transfer/service/file-operations.js +13 -16
- package/esm/lib/services/transfer/service/file-operations.js.map +1 -1
- package/esm/lib/services/transfer/service/task-submission.js +11 -15
- package/esm/lib/services/transfer/service/task-submission.js.map +1 -1
- package/esm/lib/services/transfer/shared.js +3 -7
- package/esm/lib/services/transfer/shared.js.map +1 -1
- package/esm/lib/services/transfer/types.js +1 -2
- package/esm/lib/services/types.js +1 -2
- package/esm/package.json +3 -0
- package/package.json +39 -8
- package/tsconfig.cjs.tsbuildinfo +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/umd/globus.production.js +1 -1
package/umd/globus.production.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var globus;(()=>{var e={724:function(e,t,r){var o;e.exports=(o=o||function(e,t){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==r.g&&r.g.crypto&&(o=r.g.crypto),!o)try{o=r(56)}catch(e){}var n=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},a=s.lib={},c=a.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,r=e.words,o=this.sigBytes,n=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i<n;i++){var s=r[i>>>2]>>>24-i%4*8&255;t[o+i>>>2]|=s<<24-(o+i)%4*8}else for(var a=0;a<n;a+=4)t[o+a>>>2]=r[a>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new u.init(t,e)}}),l=s.enc={},f=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o+=2)r[o>>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new u.init(r,t/2)}},d=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o++)r[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new u.init(r,t)}},p=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,o=this._data,n=o.words,i=o.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*c,i);if(c){for(var f=0;f<c;f+=s)this._doProcessBlock(n,f);r=n.splice(0,c),o.sigBytes-=l}return new u.init(r,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=h.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new g.HMAC.init(e,r).finalize(t)}}}),s.algo={});return s}(Math),o)},676:function(e,t,r){var o,n,i;e.exports=(o=r(724),i=(n=o).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,o=this._map;e.clamp();for(var n=[],i=0;i<r;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)n.push(o.charAt(s>>>6*(3-a)&63));var c=o.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var n=0;n<r.length;n++)o[r.charCodeAt(n)]=n}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,r){for(var o=[],n=0,s=0;s<t;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;o[n>>>2]|=a<<24-n%4*8,n++}return i.create(o,n)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},876:function(e,t,r){var o;e.exports=(o=r(724),function(){if("function"==typeof ArrayBuffer){var e=o.lib.WordArray,t=e.init,r=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,o=[],n=0;n<r;n++)o[n>>>2]|=e[n]<<24-n%4*8;t.call(this,o,r)}else t.apply(this,arguments)};r.prototype=e}}(),o.lib.WordArray)},287:function(e,t,r){var o;e.exports=(o=r(724),function(e){var t=o,r=t.lib,n=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),o=2;o<=r;o++)if(!(t%o))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var o=2,n=0;n<64;)t(o)&&(n<8&&(a[n]=r(e.pow(o,.5))),c[n]=r(e.pow(o,1/3)),n++),o++}();var u=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,o=r[0],n=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var h=u[p-15],g=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,v=u[p-2],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[p]=g+u[p-7]+y+u[p-16]}var _=o&n^o&i^n&i,b=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),S=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+c[p]+u[p];d=f,f=l,l=a,a=s+S|0,s=i,i=n,n=o,o=S+(b+_)|0}r[0]=r[0]+o|0,r[1]=r[1]+n|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,o=8*this._nDataBytes,n=8*t.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=e.floor(o/4294967296),r[15+(n+64>>>9<<4)]=o,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),o.SHA256)},107:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(287)),i=o(r(676)),s=o(r(876)),a=function(){function e(e){this.state="",this.codeVerifier="",this.config=e}return e.prototype.authorizeUrl=function(e){void 0===e&&(e={});var t=this.pkceChallengeFromVerifier(),r=new URLSearchParams(Object.assign({response_type:"code",client_id:this.config.client_id,state:this.getState(e.state||null),scope:this.config.requested_scopes,redirect_uri:this.config.redirect_uri,code_challenge:t,code_challenge_method:"S256"},e)).toString();return"".concat(this.config.authorization_endpoint,"?").concat(r)},e.prototype.exchangeForAccessToken=function(e,t){var r=this;return void 0===t&&(t={}),this.parseAuthResponseUrl(e).then((function(e){return fetch(r.config.token_endpoint,{method:"POST",body:new URLSearchParams(Object.assign({grant_type:"authorization_code",code:e.code,client_id:r.config.client_id,redirect_uri:r.config.redirect_uri,code_verifier:r.getCodeVerifier()},t)),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}}).then((function(e){return e.json()}))}))},e.prototype.getCodeVerifier=function(){return""===this.codeVerifier&&(this.codeVerifier=this.randomStringFromStorage("pkce_code_verifier")),this.codeVerifier},e.prototype.getState=function(e){void 0===e&&(e=null);var t="pkce_state";return null!==e&&this.getStore().setItem(t,e),""===this.state&&(this.state=this.randomStringFromStorage(t)),this.state},e.prototype.parseAuthResponseUrl=function(e){var t=new URL(e).searchParams;return this.validateAuthResponse({error:t.get("error"),query:t.get("query"),state:t.get("state"),code:t.get("code")})},e.prototype.pkceChallengeFromVerifier=function(){var e=(0,n.default)(this.getCodeVerifier());return i.default.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.prototype.randomStringFromStorage=function(e){return null===this.getStore().getItem(e)&&this.getStore().setItem(e,s.default.random(64)),this.getStore().getItem(e)||""},e.prototype.validateAuthResponse=function(e){var t=this;return new Promise((function(r,o){return e.error?o({error:e.error}):e.state!==t.getState()?o({error:"Invalid State"}):r(e)}))},e.prototype.getStore=function(){var e;return(null===(e=this.config)||void 0===e?void 0:e.storage)||sessionStorage},e}();t.default=a},530:(e,t,r)=>{"use strict";var o,n,i,s,a,c;Object.defineProperty(t,"__esModule",{value:!0}),t.incremental=t.pkce=t.PKCEAuthorization=void 0;const u=r(712),l=u.__importDefault(r(107)),f=r(860),d=r(120),p=r(738);let h;class g{constructor(e){if(o.add(this),n.set(this,void 0),i.set(this,void 0),s.set(this,void 0),h=(0,p.createStorage)("localStorage"),!e.client_id)throw new Error("You must provide a `client_id`.");u.__classPrivateFieldSet(this,i,Object.assign({client_id:e.client_id,authorization_endpoint:(0,f.getAuthorizationEndpoint)(),token_endpoint:(0,f.getTokenEndpoint)()},e),"f"),u.__classPrivateFieldSet(this,n,u.__classPrivateFieldGet(this,o,"m",a).call(this),"f")}reset(){u.__classPrivateFieldGet(this,o,"m",c).call(this),(0,d.reset)()}redirect(){this.reset(),window.location.replace(u.__classPrivateFieldGet(this,n,"f").authorizeUrl())}handleCodeRedirect(e={removeStateAndReplaceLocation:!0}){return u.__awaiter(this,void 0,void 0,(function*(){const t=new URL(window.location.href),r=new URLSearchParams(t.search);if(!r.get("code"))return;const o=yield u.__classPrivateFieldGet(this,n,"f").exchangeForAccessToken(t.toString());u.__classPrivateFieldSet(this,s,o,"f"),(0,d.addTokenResponse)(u.__classPrivateFieldGet(this,s,"f")),e.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),t.search=r.toString(),window.location.replace(t))}))}hasToken(){return u.__classPrivateFieldGet(this,i,"f").requested_scopes.split(" ").every((e=>Boolean((0,d.getTokenForScope)(e))))}revoke(){this.reset()}}t.PKCEAuthorization=g,n=new WeakMap,i=new WeakMap,s=new WeakMap,o=new WeakSet,a=function(){return new l.default(u.__classPrivateFieldGet(this,i,"f"))},c=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")},t.pkce=function(e){return new g(e)},t.incremental=function(e){return new g(e)}},120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reset=t.getTokenForScope=t.addTokenResponse=void 0;const o=r(738);function n(e){e.scope.split(" ").forEach((t=>{(0,o.getStorage)().set(t,e)}))}t.addTokenResponse=function(e){n(e),"other_tokens"in e&&e.other_tokens.forEach(n)},t.getTokenForScope=function(e){const t=(0,o.getStorage)().get(e);return t&&function(e){const t=e;return Boolean(t.token_type&&t.access_token)}(t)?`${t.token_type} ${t.access_token}`:null},t.reset=function(){(0,o.getStorage)().clear()}},678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EnvironmentConfigurationError=void 0;class r extends Error{constructor(e,t){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${e} (${t}).`}}t.EnvironmentConfigurationError=r},268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchWithScope=void 0;const o=r(293),n=r(120);t.fetchWithScope=function(e,t,r={}){const i=r.headers||{};if(!(null==i?void 0:i.Authorization)){const t=(0,n.getTokenForScope)(e);t&&(i.Authorization=t)}return!(null==i?void 0:i["Content-Type"])&&(null==r?void 0:r.body)&&(i["Content-Type"]="application/json"),(0,o.fetch)(t,Object.assign(Object.assign({},r),{headers:i}))}},626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getServiceBaseUrl=t.getHttpTimeout=t.getVerifySSL=t.SERVICE_HOSTS=t.SERVICES=t.getEnvironment=t.ENVIRONMENTS=void 0;const o=r(712),n=o.__importStar(r(263)),i=o.__importStar(r(546)),s=o.__importStar(r(953)),a=o.__importStar(r(78)),c=o.__importStar(r(7)),u=r(678);function l(e,t=void 0){const r="undefined"!=typeof window?window:process;let o;return o=function(e){return typeof window==typeof e}(r)?r:r.env,e in o?o[e]:t}function f(){const e=l("GLOBUS_SDK_ENVIRONMENT",t.ENVIRONMENTS.PRODUCTION);if(!e||!Object.values(t.ENVIRONMENTS).includes(e))throw new u.EnvironmentConfigurationError("GLOBUS_SDK_ENVIRONMENT",e);return e}t.ENVIRONMENTS={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"},t.getEnvironment=f,t.SERVICES={[n.ID]:n.ID,[i.ID]:i.ID,[s.ID]:s.ID,[a.ID]:a.ID,[c.ID]:c.ID},t.SERVICE_HOSTS={[n.ID]:n.HOSTS,[i.ID]:i.HOSTS,[s.ID]:s.HOSTS,[a.ID]:a.HOSTS,[c.ID]:c.HOSTS},t.getVerifySSL=function(){const e=l("GLOBUS_SDK_VERIFY_SSL","true").toLowerCase();return["n","no","f","false","off","0"].includes(e)&&console.warn("Setting GLOBUS_SDK_VERIFY_SSL to false is disallowed in the Globus Javascript SDK. It will always true in this context"),!0},t.getHttpTimeout=function(){const e=Number(l("GLOBUS_SDK_HTTP_TIMEOUT","60"));return-1===e?null:e},t.getServiceBaseUrl=function(e,r=f()){const o=function(e,r){return t.SERVICE_HOSTS[e][r]}(e,r);return l(`GLOBUS_SDK_SERVICE_URL_${e}`,o?`https://${o}`:void 0)}},293:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetch=void 0;const o=r(712).__importDefault(r(98));t.fetch=o.default},738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__reset=t.getStorage=t.createStorage=void 0;const o=r(966),n=r(189);let i;function s(e="memory"){if(!i){let t;t="localStorage"===e?n.LocalStorage:"memory"===e?o.MemoryStorage:e,i=new t}return i}t.createStorage=s,t.default=s,t.getStorage=function(){if(!i)throw Error("You must create a storage system.");return i},t.__reset=function(){i=void 0}},189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorage=void 0,t.LocalStorage=class{get(e){const t=localStorage.getItem(e);return null!==t?JSON.parse(t):null}set(e,t){localStorage.setItem(e,JSON.stringify(t))}remove(e){localStorage.removeItem(e)}clear(){localStorage.clear()}}},966:(e,t,r)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryStorage=void 0;const n=r(712);t.MemoryStorage=class{constructor(){o.set(this,{})}get(e){return n.__classPrivateFieldGet(this,o,"f")[e]}set(e,t){n.__classPrivateFieldGet(this,o,"f")[e]=t}remove(e){delete n.__classPrivateFieldGet(this,o,"f")[e]}clear(){n.__classPrivateFieldSet(this,o,{},"f")}},o=new WeakMap},870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyParameters=t.build=t.getServiceURL=void 0;const o=r(626);function n(e,t="",r=(0,o.getEnvironment)()){const n=(0,o.getServiceBaseUrl)(e,r);return new URL(t,n)}function i(e){const t=new URLSearchParams;for(const[r,o]of Object.entries(e))Array.isArray(o)?t.set(r,o.join(",")):void 0!==o&&t.set(r,String(o));return t.toString()}t.getServiceURL=n,t.build=function(e,t,r){let o;return o="object"==typeof e?new URL(t,e.host):n(e,t),r&&r.search&&(o.search=i(r.search)),o.toString()},t.stringifyParameters=i},263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HOSTS=t.ID=void 0,t.ID="AUTH",t.HOSTS={integration:"auth.integration.globuscs.info",sandbox:"auth.sandbox.globuscs.info",production:"auth.globus.org",test:"auth.test.globuscs.info",staging:"auth.staging.globuscs.info",preview:"auth.preview.globus.org"}},860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenEndpoint=t.getAuthorizationEndpoint=t.CONFIG=void 0;const o=r(712),n=r(870),i=o.__importStar(r(263));t.CONFIG=i,t.getAuthorizationEndpoint=function(){return(0,n.build)(i.ID,"/v2/oauth2/authorize")},t.getTokenEndpoint=function(){return(0,n.build)(i.ID,"/v2/oauth2/token")}},953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCOPES=t.HOSTS=t.ID=void 0,t.ID="FLOWS",t.HOSTS={sandbox:"sandbox.flows.automate.globus.org",production:"flows.globus.org",staging:"staging.flows.automate.globus.org",integration:"integration.flows.automate.globus.org",test:"test.flows.automate.globus.org",preview:"preview.flows.automate.globus.org"},t.SCOPES={MANAGE_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/manage_flows",VIEW_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/view_flows",RUN:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run",RUN_STATUS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_status",RUN_MANAGE:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_manage"}},578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runs=t.flows=t.CONFIG=void 0;const o=r(712),n=o.__importStar(r(953));t.CONFIG=n,t.flows=o.__importStar(r(970)),t.runs=o.__importStar(r(262))},970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroy=t.get=t.getAll=void 0;const o=r(870),n=r(268),i=r(953);t.getAll=function(e={},t){var r;return(0,n.fetchWithScope)(i.SCOPES.VIEW_FLOWS,(0,o.build)(i.ID,"/flows",{search:e}),null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options)},t.get=function(e,t,r){var s;return(0,n.fetchWithScope)(i.SCOPES.VIEW_FLOWS,(0,o.build)(i.ID,`/flows/${e}`),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))},t.destroy=function(e,t,r){var s;return(0,n.fetchWithScope)(i.SCOPES.MANAGE_FLOWS,(0,o.build)(i.ID,`/flows/${e}`),Object.assign(Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options),{method:"DELETE"}))}},262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAll=void 0;const o=r(870),n=r(268),i=r(953);t.getAll=function(e={},t){var r;return(0,n.fetchWithScope)(i.SCOPES.RUN_MANAGE,(0,o.build)(i.ID,"/runs",{search:e}),null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options)}},838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRequiredScopes=t.versioning=t.userCredentials=t.storageGateways=t.roles=t.endpoint=t.collections=void 0;const o=r(712);t.collections=o.__importStar(r(634)),t.endpoint=o.__importStar(r(956)),t.roles=o.__importStar(r(149)),t.storageGateways=o.__importStar(r(529)),t.userCredentials=o.__importStar(r(767)),t.versioning=o.__importStar(r(597));const n={HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections",NON_HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections[*https://auth.globus.org/scopes/<MAPPED_COLLECTION_ID>/data_access]"};t.getRequiredScopes=function(e){return n.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",e.endpoint_id)}},634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=t.getAll=void 0;const o=r(838),n=r(870),i=r(268);t.getAll=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/collections",{search:null==t?void 0:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))},t.get=function(e,t,r,s){var a;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,`/api/collections/${t}`,{search:null==r?void 0:r.query}),Object.assign({},null===(a=null==s?void 0:s.fetch)||void 0===a?void 0:a.options))}},956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;const o=r(838),n=r(870),i=r(268);t.get=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/endpoint"),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.remove=t.get=t.getAll=void 0;const o=r(838),n=r(870),i=r(268);t.getAll=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/roles",{search:null==t?void 0:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))},t.get=function(e,t,r,s){var a;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,`/api/roles/${t}`),Object.assign({},null===(a=null==s?void 0:s.fetch)||void 0===a?void 0:a.options))},t.remove=function(e,t,r,s){var a;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,`/api/roles/${t}`),Object.assign({method:"DELETE"},null===(a=null==s?void 0:s.fetch)||void 0===a?void 0:a.options))},t.create=function(e,t,r){var s;if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/roles"),Object.assign({method:"POST",body:JSON.stringify(t.payload)},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=t.getAll=void 0;const o=r(838),n=r(870),i=r(268);t.getAll=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/storage_gateways",{search:null==t?void 0:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))},t.get=function(e,t,r,s){var a;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,`/api/storage_gateways/${t}`,{search:null==r?void 0:r.query}),Object.assign({},null===(a=null==s?void 0:s.fetch)||void 0===a?void 0:a.options))}},767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=t.getAll=void 0;const o=r(838),n=r(870),i=r(268);t.getAll=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/user_credentials",{search:null==t?void 0:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))},t.get=function(e,t,r,s){var a;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,`/api/user_credentials/${t}`),Object.assign({},null===(a=null==s?void 0:s.fetch)||void 0===a?void 0:a.options))}},597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.info=void 0;const o=r(838),n=r(870),i=r(268);t.info=function(e,t,r){var s;return(0,i.fetchWithScope)((0,o.getRequiredScopes)(e),(0,n.build)(e,"/api/info"),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},78:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCOPES=t.HOSTS=t.ID=void 0,t.ID="GROUPS",t.HOSTS={sandbox:"groups.api.sandbox.globuscs.info",production:"groups.api.globus.org",staging:"groups.api.staging.globuscs.info",integration:"groups.api.integration.globuscs.info",test:"groups.api.test.globuscs.info",preview:"groups.api.preview.globuscs.info"},t.SCOPES={ALL:"urn:globus:auth:scope:groups.api.globus.org:all",VIEW_MY:"urn:globus:auth:scope:groups.api.globus.org:view_my_groups_and_membership"}},720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.membership=t.policies=t.groups=t.CONFIG=void 0;const o=r(712),n=o.__importStar(r(78));t.CONFIG=n,t.groups=o.__importStar(r(231)),t.policies=o.__importStar(r(974)),t.membership=o.__importStar(r(264))},231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=t.getMyGroups=void 0;const o=r(78),n=r(870),i=r(268);t.getMyGroups=function(e={},t){var r;return(0,i.fetchWithScope)(o.SCOPES.ALL,(0,n.build)(o.ID,"/v2/groups/my_groups",{search:e.query}),Object.assign({},null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options))},t.get=function(e,t={},r){var s;return(0,i.fetchWithScope)(o.SCOPES.ALL,(0,n.build)(o.ID,`/v2/groups/${e}`,{search:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.act=void 0;const o=r(78),n=r(870),i=r(268);t.act=function(e,t,r){var s;if(!(null==t?void 0:t.payload))throw new Error("payload is required.");return(0,i.fetchWithScope)(o.SCOPES.ALL,(0,n.build)(o.ID,`/v2/groups/${e}/policies`),Object.assign({method:"POST",body:JSON.stringify(t.payload)},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;const o=r(78),n=r(870),i=r(268);t.get=function(e,t,r){var s;return(0,i.fetchWithScope)(o.SCOPES.ALL,(0,n.build)(o.ID,`/v2/groups/${e}/policies`),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},7:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCOPES=t.HOSTS=t.ID=void 0,t.ID="SEARCH",t.HOSTS={sandbox:"search.api.sandbox.globuscs.info",production:"search.api.globus.org",staging:"search.api.staging.globuscs.info",integration:"search.api.integration.globuscs.info",test:"search.api.test.globuscs.info",preview:"search.api.preview.globus.org"},t.SCOPES={ALL:"urn:globus:auth:scope:search.api.globus.org:all",INGEST:"urn:globus:auth:scope:search.api.globus.org:ingest",SEARCH:"urn:globus:auth:scope:search.api.globus.org:search"}},328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.query=t.CONFIG=void 0;const o=r(712),n=o.__importStar(r(7));t.CONFIG=n,t.query=o.__importStar(r(273))},273:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;const o=r(870),n=r(268),i=r(7);t.get=function(e,t,r){var s;return(0,n.fetchWithScope)(i.SCOPES.SEARCH,(0,o.build)(i.ID,`/v1/index/${e}/search`,{search:null==t?void 0:t.query}),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},169:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.HTTP_METHODS=void 0,function(e){e.POST="POST",e.GET="GET",e.DELETE="DELETE",e.PUT="PUT"}(r||(t.HTTP_METHODS=r={}))},546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HOSTS=t.ID=void 0,t.ID="TRANSFER",t.HOSTS={sandbox:"transfer.sandbox.globuscs.info",production:"transfer.api.globusonline.org",staging:"transfer.api.staging.globuscs.info",integration:"transfer.api.integration.globuscs.info",test:"transfer.api.test.globuscs.info",preview:"transfer.api.preview.globus.org"}},33:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.endpoint=t.taskSubmission=t.fileOperations=t.endpointSearch=t.CONFIG=void 0;const o=r(712),n=o.__importStar(r(546));t.CONFIG=n;const i=r(617);Object.defineProperty(t,"endpointSearch",{enumerable:!0,get:function(){return i.endpointSearch}}),t.fileOperations=o.__importStar(r(922)),t.taskSubmission=o.__importStar(r(419)),t.endpoint=o.__importStar(r(697))},617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.endpointSearch=void 0;const o=r(870),n=r(268),i=r(546);t.endpointSearch=function(e,t){var r;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(i.ID,"/v0.10/endpoint_search",{search:null==e?void 0:e.query}),null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options)},t.default=t.endpointSearch},697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;const o=r(870),n=r(268),i=r(546);t.get=function(e,t,r){var s;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(i.ID,`/v0.10/endpoint/${e}`),Object.assign({},null===(s=null==r?void 0:r.fetch)||void 0===s?void 0:s.options))}},922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symlink=t.rename=t.mkdir=t.ls=void 0;const o=r(870),n=r(268),i=r(169),s=r(542),a=r(546);t.ls=function(e,t,r){var i;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,`/v0.10/operation/endpoint/${e}/ls`,{search:null==t?void 0:t.query}),null===(i=null==r?void 0:r.fetch)||void 0===i?void 0:i.options)},t.mkdir=function(e,t,r){var c;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,`/v0.10/operation/endpoint/${e}/mkdir`),Object.assign({method:i.HTTP_METHODS.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"mkdir"},null==t?void 0:t.payload)),headers:(0,s.getHeadersForService)(i.HTTP_METHODS.POST)},null===(c=null==r?void 0:r.fetch)||void 0===c?void 0:c.options))},t.rename=function(e,t,r){var c;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,`/v0.10/operation/endpoint/${e}/rename`),Object.assign({method:i.HTTP_METHODS.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"rename"},null==t?void 0:t.payload)),headers:(0,s.getHeadersForService)(i.HTTP_METHODS.POST)},null===(c=null==r?void 0:r.fetch)||void 0===c?void 0:c.options))},t.symlink=function(e,t,r){var c;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,`/v0.10/operation/endpoint/${e}/symlink`),Object.assign({method:i.HTTP_METHODS.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"symlink"},null==t?void 0:t.payload)),headers:(0,s.getHeadersForService)(i.HTTP_METHODS.POST)},null===(c=null==r?void 0:r.fetch)||void 0===c?void 0:c.options))}},419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.submissionId=t.submitTransfer=t.submitDelete=void 0;const o=r(870),n=r(268),i=r(169),s=r(542),a=r(546);t.submitDelete=function(e,t){var r;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,"/v0.10/delete"),Object.assign({method:i.HTTP_METHODS.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"delete"},null==e?void 0:e.payload)),headers:(0,s.getHeadersForService)(i.HTTP_METHODS.POST)},null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options))},t.submitTransfer=function(e,t){var r;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,"/v0.10/transfer"),Object.assign({method:i.HTTP_METHODS.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"transfer"},null==e?void 0:e.payload)),headers:(0,s.getHeadersForService)(i.HTTP_METHODS.POST)},null===(r=null==t?void 0:t.fetch)||void 0===r?void 0:r.options))},t.submissionId=function(e){var t;return(0,n.fetchWithScope)("urn:globus:auth:scope:transfer.api.globus.org:all",(0,o.build)(a.ID,"/v0.10/submission_id"),Object.assign({},null===(t=null==e?void 0:e.fetch)||void 0===t?void 0:t.options))}},542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHeadersForService=void 0;const o=r(169);t.getHeadersForService=function(e){return e===o.HTTP_METHODS.GET?{}:{"Content-Type":"application/json"}}},98:(e,t,r)=>{var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,n=function(){function e(){this.fetch=!1,this.DOMException=o.DOMException}return e.prototype=o,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r&&r,o="URLSearchParams"in r,n="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=g(t);return t.readAsArrayBuffer(e),r}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(v)}),this.text=function(){var e,t,r,o=h(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=g(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(m)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=l(e),t=f(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},p.prototype.delete=function(e){delete this.map[l(e)]},p.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},p.prototype.set=function(e,t){this.map[l(e)]=f(t)},p.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),d(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),d(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o,n=(t=t||{}).body;if(e instanceof S){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(o=(r=t.method||this.method||"GET").toUpperCase(),b.indexOf(o)>-1?o:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function m(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(n))}})),t}function O(e,t){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})},_.call(S.prototype),_.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},O.error=function(){var e=new O(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];O.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new O(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(e,o){return new Promise((function(n,s){var c=new S(e,o);if(c.signal&&c.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function l(){u.abort()}u.onload=function(){var e,t,r={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();t.append(o,n)}})),t)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new O(o,r))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){s(new t.DOMException("Aborted","AbortError"))}),0)},u.open(c.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(c.url),!0),"include"===c.credentials?u.withCredentials=!0:"omit"===c.credentials&&(u.withCredentials=!1),"responseType"in u&&(i?u.responseType="blob":a&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof p?c.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(o.headers).forEach((function(e){u.setRequestHeader(e,f(o.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",l),u.onreadystatechange=function(){4===u.readyState&&c.signal.removeEventListener("abort",l)}),u.send(void 0===c._bodyInit?null:c._bodyInit)}))}T.polyfill=!0,r.fetch||(r.fetch=T,r.Headers=p,r.Request=S,r.Response=O),t.Headers=p,t.Request=S,t.Response=O,t.fetch=T}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=o.fetch?o:n;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},56:()=>{},712:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__assign:()=>i,__asyncDelegator:()=>E,__asyncGenerator:()=>T,__asyncValues:()=>P,__await:()=>w,__awaiter:()=>h,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>x,__classPrivateFieldSet:()=>M,__createBinding:()=>v,__decorate:()=>a,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>n,__generator:()=>g,__importDefault:()=>D,__importStar:()=>I,__makeTemplateObject:()=>A,__metadata:()=>p,__param:()=>c,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>S,__spreadArray:()=>O,__spreadArrays:()=>m,__values:()=>_,default:()=>H});var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)};function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},i.apply(this,arguments)};function s(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}function a(e,t,r,o){var n,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,r,s):n(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,o){t(r,o,e)}}function u(e,t,r,o,n,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=o.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?o.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,o.name):{}),d=!1,p=r.length-1;p>=0;p--){var h={};for(var g in o)h[g]="access"===g?{}:o[g];for(var g in o.access)h.access[g]=o.access[g];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var v=(0,r[p])("accessor"===c?{get:f.get,set:f.set}:f[u],h);if("accessor"===c){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(a=s(v.get))&&(f.get=a),(a=s(v.set))&&(f.set=a),(a=s(v.init))&&n.unshift(a)}else(a=s(v))&&("field"===c?n.unshift(a):f[u]=a)}l&&Object.defineProperty(l,o.name,f),d=!0}function l(e,t,r){for(var o=arguments.length>2,n=0;n<t.length;n++)r=o?t[n].call(e,r):t[n].call(e);return o?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,o){return new(r||(r=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((o=o.apply(e,t||[])).next())}))}function g(e,t){var r,o,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(r=1,o&&(n=2&a[0]?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch(o=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){s.label=a[1];break}if(6===a[0]&&s.label<n[1]){s.label=n[1],n=a;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(a);break}n[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],o=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var v=Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]};function y(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||v(t,e,r)}function _(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function S(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function m(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var o=Array(e),n=0;for(t=0;t<r;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,n++)o[n]=i[s];return o}function O(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function w(e){return this instanceof w?(this.v=e,this):new w(e)}function T(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(e){n[e]&&(o[e]=function(t){return new Promise((function(r,o){i.push([e,t,r,o])>1||a(e,t)}))})}function a(e,t){try{(r=n[e](t)).value instanceof w?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function E(e){var t,r;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,n){t[o]=e[o]?function(t){return(r=!r)?{value:w(e[o](t)),done:!1}:n?n(t):t}:n}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=_(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(r){t[r]=e[r]&&function(t){return new Promise((function(o,n){!function(e,t,r,o){Promise.resolve(o).then((function(t){e({value:t,done:r})}),t)}(o,n,(t=e[r](t)).done,t.value)}))}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&v(t,e,r);return j(t,e),t}function D(e){return e&&e.__esModule?e:{default:e}}function R(e,t,r,o){if("a"===r&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(e):o?o.value:t.get(e)}function M(e,t,r,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(e,r):n?n.value=r:t.set(e,r),r}function x(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}const H={__extends:n,__assign:i,__rest:s,__decorate:a,__param:c,__metadata:p,__awaiter:h,__generator:g,__createBinding:v,__exportStar:y,__values:_,__read:b,__spread:S,__spreadArrays:m,__spreadArray:O,__await:w,__asyncGenerator:T,__asyncDelegator:E,__asyncValues:P,__makeTemplateObject:A,__importStar:I,__importDefault:D,__classPrivateFieldGet:R,__classPrivateFieldSet:M,__classPrivateFieldIn:x}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.gcs=e.flows=e.groups=e.search=e.transfer=e.auth=e.authorization=void 0;const t=r(712);e.authorization=t.__importStar(r(530)),e.auth=t.__importStar(r(860)),e.transfer=t.__importStar(r(33)),e.search=t.__importStar(r(328)),e.groups=t.__importStar(r(720)),e.flows=t.__importStar(r(578)),e.gcs=t.__importStar(r(838))})(),globus=o})();
|
|
1
|
+
var globus;(()=>{var t={724:function(t,e,r){var o;t.exports=(o=o||function(t,e){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==r.g&&r.g.crypto&&(o=r.g.crypto),!o)try{o=r(56)}catch(t){}var n=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),s={},a=s.lib={},u=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=u.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||d).stringify(this)},concat:function(t){var e=this.words,r=t.words,o=this.sigBytes,n=t.sigBytes;if(this.clamp(),o%4)for(var i=0;i<n;i++){var s=r[i>>>2]>>>24-i%4*8&255;e[o+i>>>2]|=s<<24-(o+i)%4*8}else for(var a=0;a<n;a+=4)e[o+a>>>2]=r[a>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(n());return new c.init(e,t)}}),l=s.enc={},d=l.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,o=[],n=0;n<r;n++){var i=e[n>>>2]>>>24-n%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(t){for(var e=t.length,r=[],o=0;o<e;o+=2)r[o>>>3]|=parseInt(t.substr(o,2),16)<<24-o%8*4;return new c.init(r,e/2)}},f=l.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,o=[],n=0;n<r;n++){var i=e[n>>>2]>>>24-n%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(t){for(var e=t.length,r=[],o=0;o<e;o++)r[o>>>2]|=(255&t.charCodeAt(o))<<24-o%4*8;return new c.init(r,e)}},h=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},p=a.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=h.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,o=this._data,n=o.words,i=o.sigBytes,s=this.blockSize,a=i/(4*s),u=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*s,l=t.min(4*u,i);if(u){for(var d=0;d<u;d+=s)this._doProcessBlock(n,d);r=n.splice(0,u),o.sigBytes-=l}return new c.init(r,l)},clone:function(){var t=u.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:u.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new g.HMAC.init(t,r).finalize(e)}}}),s.algo={});return s}(Math),o)},676:function(t,e,r){var o,n,i;t.exports=(o=r(724),i=(n=o).lib.WordArray,n.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,o=this._map;t.clamp();for(var n=[],i=0;i<r;i+=3)for(var s=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)n.push(o.charAt(s>>>6*(3-a)&63));var u=o.charAt(64);if(u)for(;n.length%4;)n.push(u);return n.join("")},parse:function(t){var e=t.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var n=0;n<r.length;n++)o[r.charCodeAt(n)]=n}var s=r.charAt(64);if(s){var a=t.indexOf(s);-1!==a&&(e=a)}return function(t,e,r){for(var o=[],n=0,s=0;s<e;s++)if(s%4){var a=r[t.charCodeAt(s-1)]<<s%4*2|r[t.charCodeAt(s)]>>>6-s%4*2;o[n>>>2]|=a<<24-n%4*8,n++}return i.create(o,n)}(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},876:function(t,e,r){var o;t.exports=(o=r(724),function(){if("function"==typeof ArrayBuffer){var t=o.lib.WordArray,e=t.init,r=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var r=t.byteLength,o=[],n=0;n<r;n++)o[n>>>2]|=t[n]<<24-n%4*8;e.call(this,o,r)}else e.apply(this,arguments)};r.prototype=t}}(),o.lib.WordArray)},287:function(t,e,r){var o;t.exports=(o=r(724),function(t){var e=o,r=e.lib,n=r.WordArray,i=r.Hasher,s=e.algo,a=[],u=[];!function(){function e(e){for(var r=t.sqrt(e),o=2;o<=r;o++)if(!(e%o))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var o=2,n=0;n<64;)e(o)&&(n<8&&(a[n]=r(t.pow(o,.5))),u[n]=r(t.pow(o,1/3)),n++),o++}();var c=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,o=r[0],n=r[1],i=r[2],s=r[3],a=r[4],l=r[5],d=r[6],f=r[7],h=0;h<64;h++){if(h<16)c[h]=0|t[e+h];else{var p=c[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=c[h-2],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[h]=g+c[h-7]+y+c[h-16]}var b=o&n^o&i^n&i,w=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),m=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+u[h]+c[h];f=d,d=l,l=a,a=s+m|0,s=i,i=n,n=o,o=m+(w+b)|0}r[0]=r[0]+o|0,r[1]=r[1]+n|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0},_doFinalize:function(){var e=this._data,r=e.words,o=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(o/4294967296),r[15+(n+64>>>9<<4)]=o,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=i._createHelper(l),e.HmacSHA256=i._createHmacHelper(l)}(Math),o.SHA256)},107:function(t,e,r){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=o(r(287)),i=o(r(676)),s=o(r(876)),a=function(){function t(t){this.state="",this.codeVerifier="",this.config=t}return t.prototype.authorizeUrl=function(t){void 0===t&&(t={});var e=this.pkceChallengeFromVerifier(),r=new URLSearchParams(Object.assign({response_type:"code",client_id:this.config.client_id,state:this.getState(t.state||null),scope:this.config.requested_scopes,redirect_uri:this.config.redirect_uri,code_challenge:e,code_challenge_method:"S256"},t)).toString();return"".concat(this.config.authorization_endpoint,"?").concat(r)},t.prototype.exchangeForAccessToken=function(t,e){var r=this;return void 0===e&&(e={}),this.parseAuthResponseUrl(t).then((function(t){return fetch(r.config.token_endpoint,{method:"POST",body:new URLSearchParams(Object.assign({grant_type:"authorization_code",code:t.code,client_id:r.config.client_id,redirect_uri:r.config.redirect_uri,code_verifier:r.getCodeVerifier()},e)),headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}}).then((function(t){return t.json()}))}))},t.prototype.getCodeVerifier=function(){return""===this.codeVerifier&&(this.codeVerifier=this.randomStringFromStorage("pkce_code_verifier")),this.codeVerifier},t.prototype.getState=function(t){void 0===t&&(t=null);var e="pkce_state";return null!==t&&this.getStore().setItem(e,t),""===this.state&&(this.state=this.randomStringFromStorage(e)),this.state},t.prototype.parseAuthResponseUrl=function(t){var e=new URL(t).searchParams;return this.validateAuthResponse({error:e.get("error"),query:e.get("query"),state:e.get("state"),code:e.get("code")})},t.prototype.pkceChallengeFromVerifier=function(){var t=(0,n.default)(this.getCodeVerifier());return i.default.stringify(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},t.prototype.randomStringFromStorage=function(t){return null===this.getStore().getItem(t)&&this.getStore().setItem(t,s.default.random(64)),this.getStore().getItem(t)||""},t.prototype.validateAuthResponse=function(t){var e=this;return new Promise((function(r,o){return t.error?o({error:t.error}):t.state!==e.getState()?o({error:"Invalid State"}):r(t)}))},t.prototype.getStore=function(){var t;return(null===(t=this.config)||void 0===t?void 0:t.storage)||sessionStorage},t}();e.default=a},98:(t,e,r)=>{var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,n=function(){function t(){this.fetch=!1,this.DOMException=o.DOMException}return t.prototype=o,new t}();!function(t){!function(e){var r=void 0!==t&&t||"undefined"!=typeof self&&self||void 0!==r&&r,o="URLSearchParams"in r,n="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function g(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function v(t){var e=new FileReader,r=g(e);return e.readAsArrayBuffer(t),r}function y(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=y(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||c(t))?this._bodyArrayBuffer=y(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=p(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(v)}),this.text=function(){var t,e,r,o=p(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,r=g(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(t,e){t=l(t),e=d(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},h.prototype.delete=function(t){delete this.map[l(t)]},h.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},h.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},h.prototype.set=function(t,e){this.map[l(t)]=d(e)},h.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},h.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),f(t)},h.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),f(t)},h.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),f(t)},n&&(h.prototype[Symbol.iterator]=h.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function m(t,e){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o,n=(e=e||{}).body;if(t instanceof m){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new h(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new h(e.headers)),this.method=(o=(r=e.method||this.method||"GET").toUpperCase(),w.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function _(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function O(t,e){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new h(e.headers),this.url=e.url||"",this._initBody(t)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},b.call(m.prototype),b.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},O.error=function(){var t=new O(null,{status:0,statusText:""});return t.type="error",t};var S=[301,302,303,307,308];O.redirect=function(t,e){if(-1===S.indexOf(e))throw new RangeError("Invalid status code");return new O(null,{status:e,headers:{location:t}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function A(t,o){return new Promise((function(n,s){var u=new m(t,o);if(u.signal&&u.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var t,e,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new h,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){n(new O(o,r))}),0)},c.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},c.open(u.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(u.url),!0),"include"===u.credentials?c.withCredentials=!0:"omit"===u.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":a&&u.headers.get("Content-Type")&&-1!==u.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof h?u.headers.forEach((function(t,e){c.setRequestHeader(e,t)})):Object.getOwnPropertyNames(o.headers).forEach((function(t){c.setRequestHeader(t,d(o.headers[t]))})),u.signal&&(u.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&u.signal.removeEventListener("abort",l)}),c.send(void 0===u._bodyInit?null:u._bodyInit)}))}A.polyfill=!0,r.fetch||(r.fetch=A,r.Headers=h,r.Request=m,r.Response=O),e.Headers=h,e.Request=m,e.Response=O,e.fetch=A}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=o.fetch?o:n;(e=i.fetch).default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e},56:()=>{}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{auth:()=>a,authorization:()=>u,flows:()=>_,gcs:()=>j,groups:()=>b,search:()=>p,transfer:()=>f});var t={};r.r(t),r.d(t,{HOSTS:()=>D,ID:()=>R});var e={};r.r(e),r.d(e,{HOSTS:()=>L,ID:()=>C});var n={};r.r(n),r.d(n,{HOSTS:()=>k,ID:()=>N,SCOPES:()=>H});var i={};r.r(i),r.d(i,{HOSTS:()=>M,ID:()=>F,SCOPES:()=>q});var s={};r.r(s),r.d(s,{HOSTS:()=>$,ID:()=>G,SCOPES:()=>V});var a={};r.r(a),r.d(a,{CONFIG:()=>Q,getAuthorizationEndpoint:()=>Z,getTokenEndpoint:()=>tt});var u={};r.r(u),r.d(u,{PKCEAuthorization:()=>gt,incremental:()=>yt,pkce:()=>vt});var c={};r.r(c),r.d(c,{ls:()=>At,mkdir:()=>Tt,rename:()=>Et,symlink:()=>Pt});var l={};r.r(l),r.d(l,{submissionId:()=>Bt,submitDelete:()=>jt,submitTransfer:()=>xt});var d={};r.r(d),r.d(d,{get:()=>It});var f={};r.r(f),r.d(f,{CONFIG:()=>Ut,endpoint:()=>d,endpointSearch:()=>_t,fileOperations:()=>c,taskSubmission:()=>l});var h={};r.r(h),r.d(h,{get:()=>Rt});var p={};r.r(p),r.d(p,{CONFIG:()=>Dt,query:()=>h});var g={};r.r(g),r.d(g,{get:()=>Lt,getMyGroups:()=>Ct});var v={};r.r(v),r.d(v,{get:()=>Nt});var y={};r.r(y),r.d(y,{act:()=>kt});var b={};r.r(b),r.d(b,{CONFIG:()=>Ht,groups:()=>g,membership:()=>y,policies:()=>v});var w={};r.r(w),r.d(w,{destroy:()=>qt,get:()=>Mt,getAll:()=>Ft});var m={};r.r(m),r.d(m,{getAll:()=>Gt});var _={};r.r(_),r.d(_,{CONFIG:()=>$t,flows:()=>w,runs:()=>m});var O={};r.r(O),r.d(O,{get:()=>zt,getAll:()=>Vt});var S={};r.r(S),r.d(S,{get:()=>Wt});var A={};r.r(A),r.d(A,{create:()=>Xt,get:()=>Yt,getAll:()=>Jt,remove:()=>Kt});var T={};r.r(T),r.d(T,{get:()=>Zt,getAll:()=>Qt});var E={};r.r(E),r.d(E,{get:()=>ee,getAll:()=>te});var P={};r.r(P),r.d(P,{info:()=>re});var j={};function x(t,e,r,o){if("a"===r&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(t):o?o.value:e.get(t)}function B(t,e,r,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,r):n?n.value=r:e.set(t,r),r}r.r(j),r.d(j,{collections:()=>O,endpoint:()=>S,getRequiredScopes:()=>ne,roles:()=>A,storageGateways:()=>T,userCredentials:()=>E,versioning:()=>P}),Object.create,Object.create;var I=r(107),U=r.n(I);const R="AUTH",D={integration:"auth.integration.globuscs.info",sandbox:"auth.sandbox.globuscs.info",production:"auth.globus.org",test:"auth.test.globuscs.info",staging:"auth.staging.globuscs.info",preview:"auth.preview.globus.org"},C="TRANSFER",L={sandbox:"transfer.sandbox.globuscs.info",production:"transfer.api.globusonline.org",staging:"transfer.api.staging.globuscs.info",integration:"transfer.api.integration.globuscs.info",test:"transfer.api.test.globuscs.info",preview:"transfer.api.preview.globus.org"},N="FLOWS",k={sandbox:"sandbox.flows.automate.globus.org",production:"flows.globus.org",staging:"staging.flows.automate.globus.org",integration:"integration.flows.automate.globus.org",test:"test.flows.automate.globus.org",preview:"preview.flows.automate.globus.org"},H={MANAGE_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/manage_flows",VIEW_FLOWS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/view_flows",RUN:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run",RUN_STATUS:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_status",RUN_MANAGE:"https://auth.globus.org/scopes/eec9b274-0c81-4334-bdc2-54e90e689b9a/run_manage"},F="GROUPS",M={sandbox:"groups.api.sandbox.globuscs.info",production:"groups.api.globus.org",staging:"groups.api.staging.globuscs.info",integration:"groups.api.integration.globuscs.info",test:"groups.api.test.globuscs.info",preview:"groups.api.preview.globuscs.info"},q={ALL:"urn:globus:auth:scope:groups.api.globus.org:all",VIEW_MY:"urn:globus:auth:scope:groups.api.globus.org:view_my_groups_and_membership"},G="SEARCH",$={sandbox:"search.api.sandbox.globuscs.info",production:"search.api.globus.org",staging:"search.api.staging.globuscs.info",integration:"search.api.integration.globuscs.info",test:"search.api.test.globuscs.info",preview:"search.api.preview.globus.org"},V={ALL:"urn:globus:auth:scope:search.api.globus.org:all",INGEST:"urn:globus:auth:scope:search.api.globus.org:ingest",SEARCH:"urn:globus:auth:scope:search.api.globus.org:search"};class z extends Error{constructor(t,e){super(),this.name="EnvironmentConfigurationError",this.message=`Invalid configuration value provided for ${t} (${e}).`}}function W(t,e=void 0){const r="undefined"!=typeof window?window:process;let o;return o=function(t){return typeof window==typeof t}(r)?r:r.env,t in o?o[t]:e}const J={PRODUCTION:"production",PREVIEW:"preview",STAGING:"staging",SANDBOX:"sandbox",INTEGRATION:"integration",TEST:"test"};function Y(){const t=W("GLOBUS_SDK_ENVIRONMENT",J.PRODUCTION);if(!t||!Object.values(J).includes(t))throw new z("GLOBUS_SDK_ENVIRONMENT",t);return t}const K={[R]:D,[C]:L,[N]:k,[F]:M,[G]:$};function X(t,e,r){let o;return o="object"==typeof t?new URL(e,t.host):function(t,e="",r=Y()){const o=function(t,e=Y()){const r=function(t,e){return K[t][e]}(t,e);return W(`GLOBUS_SDK_SERVICE_URL_${t}`,r?`https://${r}`:void 0)}(t,r);return new URL(e,o)}(t,e),r&&r.search&&(o.search=function(t){const e=new URLSearchParams;for(const[r,o]of Object.entries(t))Array.isArray(o)?e.set(r,o.join(",")):void 0!==o&&e.set(r,String(o));return e.toString()}(r.search)),o.toString()}const Q=t;function Z(){return X(R,"/v2/oauth2/authorize")}function tt(){return X(R,"/v2/oauth2/token")}var et;class rt{constructor(){et.set(this,{})}get(t){return x(this,et,"f")[t]}set(t,e){x(this,et,"f")[t]=e}remove(t){delete x(this,et,"f")[t]}clear(){B(this,et,{},"f")}}et=new WeakMap;class ot{get(t){const e=localStorage.getItem(t);return null!==e?JSON.parse(e):null}set(t,e){localStorage.setItem(t,JSON.stringify(e))}remove(t){localStorage.removeItem(t)}clear(){localStorage.clear()}}let nt;function it(){if(!nt)throw Error("You must create a storage system.");return nt}function st(t){t.scope.split(" ").forEach((e=>{it().set(e,t)}))}function at(t){const e=it().get(t);return e&&function(t){const e=t;return Boolean(e.token_type&&e.access_token)}(e)?`${e.token_type} ${e.access_token}`:null}var ut,ct,lt,dt,ft,ht;let pt;class gt{constructor(t){if(ut.add(this),ct.set(this,void 0),lt.set(this,void 0),dt.set(this,void 0),pt=function(t="memory"){if(!nt){let e;e="localStorage"===t?ot:"memory"===t?rt:t,nt=new e}return nt}("localStorage"),!t.client_id)throw new Error("You must provide a `client_id`.");B(this,lt,Object.assign({client_id:t.client_id,authorization_endpoint:Z(),token_endpoint:tt()},t),"f"),B(this,ct,x(this,ut,"m",ft).call(this),"f")}reset(){x(this,ut,"m",ht).call(this),it().clear()}redirect(){this.reset(),window.location.replace(x(this,ct,"f").authorizeUrl())}handleCodeRedirect(t={removeStateAndReplaceLocation:!0}){return e=this,r=void 0,n=function*(){const e=new URL(window.location.href),r=new URLSearchParams(e.search);if(!r.get("code"))return;const o=yield x(this,ct,"f").exchangeForAccessToken(e.toString());var n;B(this,dt,o,"f"),st(n=x(this,dt,"f")),"other_tokens"in n&&n.other_tokens.forEach(st),t.removeStateAndReplaceLocation&&(r.delete("code"),r.delete("state"),e.search=r.toString(),window.location.replace(e))},new((o=void 0)||(o=Promise))((function(t,i){function s(t){try{u(n.next(t))}catch(t){i(t)}}function a(t){try{u(n.throw(t))}catch(t){i(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(s,a)}u((n=n.apply(e,r||[])).next())}));var e,r,o,n}hasToken(){return x(this,lt,"f").requested_scopes.split(" ").every((t=>Boolean(at(t))))}revoke(){this.reset()}}function vt(t){return new gt(t)}function yt(t){return new gt(t)}ct=new WeakMap,lt=new WeakMap,dt=new WeakMap,ut=new WeakSet,ft=function(){return new(U())(x(this,lt,"f"))},ht=function(){sessionStorage.removeItem("pkce_state"),sessionStorage.removeItem("pkce_code_verifier")};var bt=r(98);const wt=r.n(bt)();function mt(t,e,r={}){const o=r.headers||{};if(!(null==o?void 0:o.Authorization)){const e=at(t);e&&(o.Authorization=e)}return!(null==o?void 0:o["Content-Type"])&&(null==r?void 0:r.body)&&(o["Content-Type"]="application/json"),wt(e,Object.assign(Object.assign({},r),{headers:o}))}const _t=function(t,e){var r;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,"/v0.10/endpoint_search",{search:null==t?void 0:t.query}),null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options)};var Ot;function St(t){return t===Ot.GET?{}:{"Content-Type":"application/json"}}!function(t){t.POST="POST",t.GET="GET",t.DELETE="DELETE",t.PUT="PUT"}(Ot||(Ot={}));const At=function(t,e,r){var o;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,`/v0.10/operation/endpoint/${t}/ls`,{search:null==e?void 0:e.query}),null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options)},Tt=function(t,e,r){var o;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,`/v0.10/operation/endpoint/${t}/mkdir`),Object.assign({method:Ot.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"mkdir"},null==e?void 0:e.payload)),headers:St(Ot.POST)},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Et=function(t,e,r){var o;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,`/v0.10/operation/endpoint/${t}/rename`),Object.assign({method:Ot.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"rename"},null==e?void 0:e.payload)),headers:St(Ot.POST)},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Pt=function(t,e,r){var o;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,`/v0.10/operation/endpoint/${t}/symlink`),Object.assign({method:Ot.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"symlink"},null==e?void 0:e.payload)),headers:St(Ot.POST)},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},jt=function(t,e){var r;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,"/v0.10/delete"),Object.assign({method:Ot.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"delete"},null==t?void 0:t.payload)),headers:St(Ot.POST)},null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options))},xt=function(t,e){var r;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,"/v0.10/transfer"),Object.assign({method:Ot.POST,body:JSON.stringify(Object.assign({DATA_TYPE:"transfer"},null==t?void 0:t.payload)),headers:St(Ot.POST)},null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options))};function Bt(t){var e;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,"/v0.10/submission_id"),Object.assign({},null===(e=null==t?void 0:t.fetch)||void 0===e?void 0:e.options))}const It=function(t,e,r){var o;return mt("urn:globus:auth:scope:transfer.api.globus.org:all",X(C,`/v0.10/endpoint/${t}`),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Ut=e,Rt=function(t,e,r){var o;return mt(V.SEARCH,X(G,`/v1/index/${t}/search`,{search:null==e?void 0:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Dt=s,Ct=function(t={},e){var r;return mt(q.ALL,X(F,"/v2/groups/my_groups",{search:t.query}),Object.assign({},null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options))},Lt=function(t,e={},r){var o;return mt(q.ALL,X(F,`/v2/groups/${t}`,{search:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Nt=function(t,e,r){var o;return mt(q.ALL,X(F,`/v2/groups/${t}/policies`),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},kt=function(t,e,r){var o;if(!(null==e?void 0:e.payload))throw new Error("payload is required.");return mt(q.ALL,X(F,`/v2/groups/${t}/policies`),Object.assign({method:"POST",body:JSON.stringify(e.payload)},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Ht=i,Ft=function(t={},e){var r;return mt(H.VIEW_FLOWS,X(N,"/flows",{search:t}),null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options)},Mt=function(t,e,r){var o;return mt(H.VIEW_FLOWS,X(N,`/flows/${t}`),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},qt=function(t,e,r){var o;return mt(H.MANAGE_FLOWS,X(N,`/flows/${t}`),Object.assign(Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options),{method:"DELETE"}))},Gt=function(t={},e){var r;return mt(H.RUN_MANAGE,X(N,"/runs",{search:t}),null===(r=null==e?void 0:e.fetch)||void 0===r?void 0:r.options)},$t=n,Vt=function(t,e,r){var o;return mt(ne(t),X(t,"/api/collections",{search:null==e?void 0:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},zt=function(t,e,r,o){var n;return mt(ne(t),X(t,`/api/collections/${e}`,{search:null==r?void 0:r.query}),Object.assign({},null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options))},Wt=function(t,e,r){var o;return mt(ne(t),X(t,"/api/endpoint"),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Jt=function(t,e,r){var o;return mt(ne(t),X(t,"/api/roles",{search:null==e?void 0:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Yt=function(t,e,r,o){var n;return mt(ne(t),X(t,`/api/roles/${e}`),Object.assign({},null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options))},Kt=function(t,e,r,o){var n;return mt(ne(t),X(t,`/api/roles/${e}`),Object.assign({method:"DELETE"},null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options))},Xt=function(t,e,r){var o;if(!(null==e?void 0:e.payload))throw new Error("payload is required.");return mt(ne(t),X(t,"/api/roles"),Object.assign({method:"POST",body:JSON.stringify(e.payload)},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Qt=function(t,e,r){var o;return mt(ne(t),X(t,"/api/storage_gateways",{search:null==e?void 0:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},Zt=function(t,e,r,o){var n;return mt(ne(t),X(t,`/api/storage_gateways/${e}`,{search:null==r?void 0:r.query}),Object.assign({},null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options))},te=function(t,e,r){var o;return mt(ne(t),X(t,"/api/user_credentials",{search:null==e?void 0:e.query}),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},ee=function(t,e,r,o){var n;return mt(ne(t),X(t,`/api/user_credentials/${e}`),Object.assign({},null===(n=null==o?void 0:o.fetch)||void 0===n?void 0:n.options))},re=function(t,e,r){var o;return mt(ne(t),X(t,"/api/info"),Object.assign({},null===(o=null==r?void 0:r.fetch)||void 0===o?void 0:o.options))},oe={HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections",NON_HIGH_ASSURANCE:"urn:globus:auth:scope:<ENDPOINT_ID>:manage_collections[*https://auth.globus.org/scopes/<MAPPED_COLLECTION_ID>/data_access]"};function ne(t){return oe.HIGH_ASSURANCE.replace("<ENDPOINT_ID>",t.endpoint_id)}})(),globus=o})();
|