backlog-js 0.16.0 → 0.17.1
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/README.md +18 -2
- package/dist/backlog.iife.js +3280 -0
- package/dist/backlog.iife.min.js +4 -0
- package/dist/backlog.js +3245 -3867
- package/dist/backlog.min.js +4 -1
- package/dist/chunk-CfYAbeIz.mjs +13 -0
- package/dist/index.cjs +1288 -0
- package/dist/index.d.cts +2049 -0
- package/dist/index.d.mts +2049 -0
- package/dist/index.mjs +1231 -0
- package/package.json +36 -31
- package/CHANGELOG.md +0 -142
- package/dist/types/backlog.d.ts +0 -606
- package/dist/types/entity.d.ts +0 -544
- package/dist/types/error.d.ts +0 -37
- package/dist/types/index.d.ts +0 -7
- package/dist/types/oauth2.d.ts +0 -21
- package/dist/types/option.d.ts +0 -437
- package/dist/types/request.d.ts +0 -27
- package/dist/types/types.d.ts +0 -59
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var Backlog=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),d=c({BacklogApiError:()=>p,BacklogAuthError:()=>m,BacklogError:()=>f,UnexpectedError:()=>h}),f=class extends Error{_name;_url;_status;_body;_response;constructor(e,t,n){super(t.statusText),this._name=e,this._url=t.url,this._status=t.status,this._body=n,this._response=t}get name(){return this._name}get url(){return this._url}get status(){return this._status}get body(){return this._body}get response(){return this._response}},p=class extends f{constructor(e,t){super(`BacklogApiError`,e,t)}},m=class extends f{constructor(e,t){super(`BacklogAuthError`,e,t)}},h=class extends f{constructor(e){super(`UnexpectedError`,e)}},g=s(((e,t)=>{t.exports=TypeError})),_=s((()=>{})),v=s(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,x=String.prototype.toLowerCase,S=RegExp.prototype.test,C=Array.prototype.concat,w=Array.prototype.join,T=Array.prototype.slice,E=Math.floor,D=typeof BigInt==`function`?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,k=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,A=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,j=typeof Symbol==`function`&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A||`symbol`)?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,N=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ee(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-E(-e):E(e);if(r!==e){var i=String(r),a=v.call(t,i.length+1);return y.call(i,n,`$&_`)+`.`+y.call(y.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return y.call(t,n,`$&_`)}var P=_(),F=P.custom,I=oe(F)?F:null,L={__proto__:null,double:`"`,single:`'`},R={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function e(t,n,r,o){var s=n||{};if(G(s,`quoteStyle`)&&!G(L,s.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(G(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=G(s,`customInspect`)?s.customInspect:!0;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return fe(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?ee(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?ee(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return V(t)?`[Array]`:`[Object]`;var g=he(s,r);if(o===void 0)o=[];else if(ce(o,t)>=0)return`[Circular]`;function _(t,n,i){if(n&&(o=T.call(o),o.push(n)),i){var a={depth:s.depth};return G(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!re(t)){var b=q(t),S=_e(t,_);return`[Function`+(b?`: `+b:` (anonymous)`)+`]`+(S.length>0?` { `+w.call(S,`, `)+` }`:``)}if(oe(t)){var E=A?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):k.call(t);return typeof t==`object`&&!A?Q(E):E}if(de(t)){for(var O=`<`+x.call(String(t.nodeName)),F=t.attributes||[],R=0;R<F.length;R++)O+=` `+F[R].name+`=`+z(te(F[R].value),`double`,s);return O+=`>`,t.childNodes&&t.childNodes.length&&(O+=`...`),O+=`</`+x.call(String(t.nodeName))+`>`,O}if(V(t)){if(t.length===0)return`[]`;var B=_e(t,_);return g&&!me(B)?`[`+ge(B,g)+`]`:`[ `+w.call(B,`, `)+` ]`}if(ie(t)){var W=_e(t,_);return!(`cause`in Error.prototype)&&`cause`in t&&!M.call(t,`cause`)?`{ [`+String(t)+`] `+w.call(C.call(`[cause]: `+_(t.cause),W),`, `)+` }`:W.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+w.call(W,`, `)+` }`}if(typeof t==`object`&&u){if(I&&typeof t[I]==`function`&&P)return P(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(J(t)){var Z=[];return a&&a.call(t,function(e,n){Z.push(_(n,t,!0)+` => `+_(e,t))}),pe(`Map`,i.call(t),Z,g)}if(Y(t)){var ve=[];return l&&l.call(t,function(e){ve.push(_(e,t))}),pe(`Set`,c.call(t),ve,g)}if(le(t))return $(`WeakMap`);if(X(t))return $(`WeakSet`);if(ue(t))return $(`WeakRef`);if(U(t))return Q(_(Number(t)));if(se(t))return Q(_(D.call(t)));if(ae(t))return Q(p.call(t));if(H(t))return Q(_(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!ne(t)&&!re(t)){var ye=_e(t,_),be=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,xe=t instanceof Object?``:`null prototype`,Se=!be&&j&&Object(t)===t&&j in t?v.call(K(t),8,-1):xe?`Object`:``,Ce=(be||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Se||xe?`[`+w.call(C.call([],Se||[],xe||[]),`: `)+`] `:``);return ye.length===0?Ce+`{}`:g?Ce+`{`+ge(ye,g)+`}`:Ce+`{ `+w.call(ye,`, `)+` }`}return String(t)};function z(e,t,n){var r=L[n.quoteStyle||t];return r+e+r}function te(e){return y.call(String(e),/"/g,`"`)}function B(e){return!j||!(typeof e==`object`&&(j in e||e[j]!==void 0))}function V(e){return K(e)===`[object Array]`&&B(e)}function ne(e){return K(e)===`[object Date]`&&B(e)}function re(e){return K(e)===`[object RegExp]`&&B(e)}function ie(e){return K(e)===`[object Error]`&&B(e)}function H(e){return K(e)===`[object String]`&&B(e)}function U(e){return K(e)===`[object Number]`&&B(e)}function ae(e){return K(e)===`[object Boolean]`&&B(e)}function oe(e){if(A)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!k)return!1;try{return k.call(e),!0}catch{}return!1}function se(e){if(!e||typeof e!=`object`||!D)return!1;try{return D.call(e),!0}catch{}return!1}var W=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return W.call(e,t)}function K(e){return m.call(e)}function q(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ce(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function J(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function le(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function ue(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function Y(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function X(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function de(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function fe(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return fe(v.call(e,0,t.maxStringLength),t)+r}var i=R[t.quoteStyle||`single`];return i.lastIndex=0,z(y.call(y.call(e,i,`\\$1`),/[\x00-\x1f]/g,Z),`single`,t)}function Z(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+b.call(t.toString(16))}function Q(e){return`Object(`+e+`)`}function $(e){return e+` { ? }`}function pe(e,t,n,r){var i=r?ge(n,r):w.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function me(e){for(var t=0;t<e.length;t++)if(ce(e[t],`
|
|
2
|
+
`)>=0)return!1;return!0}function he(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=w.call(Array(e.indent+1),` `);else return null;return{base:n,prev:w.call(Array(t+1),n)}}function ge(e,t){if(e.length===0)return``;var n=`
|
|
3
|
+
`+t.prev+t.base;return n+w.call(e,`,`+n)+`
|
|
4
|
+
`+t.prev}function _e(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=G(e,i)?t(e[i],e):``}var a=typeof O==`function`?O(e):[],o;if(A){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)G(e,c)&&(n&&String(Number(c))===c&&c<e.length||A&&o[`$`+c]instanceof Symbol||(S.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof O==`function`)for(var l=0;l<a.length;l++)M.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),y=s(((e,t)=>{var n=v(),r=g(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=e&&e.next,r=c(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),b=s(((e,t)=>{t.exports=Object})),x=s(((e,t)=>{t.exports=Error})),S=s(((e,t)=>{t.exports=EvalError})),C=s(((e,t)=>{t.exports=RangeError})),w=s(((e,t)=>{t.exports=ReferenceError})),T=s(((e,t)=>{t.exports=SyntaxError})),E=s(((e,t)=>{t.exports=URIError})),D=s(((e,t)=>{t.exports=Math.abs})),O=s(((e,t)=>{t.exports=Math.floor})),k=s(((e,t)=>{t.exports=Math.max})),A=s(((e,t)=>{t.exports=Math.min})),j=s(((e,t)=>{t.exports=Math.pow})),M=s(((e,t)=>{t.exports=Math.round})),N=s(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),ee=s(((e,t)=>{var n=N();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),P=s(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),F=s(((e,t)=>{var n=P();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),I=s(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),L=s(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),R=s(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=L();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),z=s(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),te=s(((e,t)=>{t.exports=b().getPrototypeOf||null})),B=s(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),V=s(((e,t)=>{var n=B();t.exports=Function.prototype.bind||n})),ne=s(((e,t)=>{t.exports=Function.prototype.call})),re=s(((e,t)=>{t.exports=Function.prototype.apply})),ie=s(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),H=s(((e,t)=>{var n=V(),r=re(),i=ne();t.exports=ie()||n.call(i,r)})),U=s(((e,t)=>{var n=V(),r=g(),i=ne(),a=H();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),ae=s(((e,t)=>{var n=U(),r=F(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),oe=s(((e,t)=>{var n=z(),r=te(),i=ae();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),se=s(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=V().call(n,r)})),W=s(((e,t)=>{var n,r=b(),i=x(),a=S(),o=C(),s=w(),c=T(),l=g(),u=E(),d=D(),f=O(),p=k(),m=A(),h=j(),_=M(),v=ee(),y=Function,N=function(e){try{return y(`"use strict"; return (`+e+`).constructor;`)()}catch{}},P=F(),L=I(),B=function(){throw new l},ie=P?function(){try{return arguments.callee,B}catch{try{return P(arguments,`callee`).get}catch{return B}}}():B,H=R()(),U=oe(),ae=te(),W=z(),G=re(),K=ne(),q={},ce=typeof Uint8Array>`u`||!U?n:U(Uint8Array),J={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":H&&U?U([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":q,"%AsyncGenerator%":q,"%AsyncGeneratorFunction%":q,"%AsyncIteratorPrototype%":q,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":q,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":H&&U?U(U([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!H||!U?n:U(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":P,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!H||!U?n:U(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":H&&U?U(``[Symbol.iterator]()):n,"%Symbol%":H?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":ie,"%TypedArray%":ce,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":K,"%Function.prototype.apply%":G,"%Object.defineProperty%":L,"%Object.getPrototypeOf%":ae,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":_,"%Math.sign%":v,"%Reflect.getPrototypeOf%":W};if(U)try{null.error}catch(e){J[`%Error.prototype%`]=U(U(e))}var le=function e(t){var n;if(t===`%AsyncFunction%`)n=N(`async function () {}`);else if(t===`%GeneratorFunction%`)n=N(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=N(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&U&&(n=U(i.prototype))}return J[t]=n,n},ue={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},Y=V(),X=se(),de=Y.call(K,Array.prototype.concat),fe=Y.call(G,Array.prototype.splice),Z=Y.call(K,String.prototype.replace),Q=Y.call(K,String.prototype.slice),$=Y.call(K,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,he=function(e){var t=Q(e,0,1),n=Q(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return Z(e,pe,function(e,t,n,i){r[r.length]=n?Z(i,me,`$1`):t||e}),r},ge=function(e,t){var n=e,r;if(X(ue,n)&&(r=ue[n],n=`%`+r[0]+`%`),X(J,n)){var i=J[n];if(i===q&&(i=le(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if($(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=he(e),r=n.length>0?n[0]:``,i=ge(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],fe(n,de([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=Q(p,0,1),h=Q(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,X(J,a))o=J[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(P&&d+1>=n.length){var g=P(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=X(o,p),o=o[p];f&&!s&&(J[a]=o)}}return o}})),G=s(((e,t)=>{var n=W(),r=U(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),K=s(((e,t)=>{var n=W(),r=G(),i=v(),a=g(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),q=s(((e,t)=>{var n=W(),r=G(),i=v(),a=K(),o=g(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),ce=s(((e,t)=>{var n=g(),r=v(),i=y(),a=K(),o=q()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),J=s(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),le=s(((e,t)=>{var n=J(),r=ce(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e[e.length]=`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&(r[r.length]=n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t)){var o=t.length;if(r&&typeof r.arrayLimit==`number`&&o>r.arrayLimit)return s(p(t.concat(n),r),o);t[o]=n}else if(t&&typeof t==`object`)if(c(t)){var d=l(t)+1;t[d]=n,u(t,d)}else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var f=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<f.length;h++){var g=parseInt(f[h],10);m[g+1]=n[f[h]]}return s(m,l(n)+1)}var _=[t].concat(n);return r&&typeof r.arrayLimit==`number`&&_.length>r.arrayLimit?s(p(_,r),_.length-1):_}var v=t;return a(t)&&!a(n)&&(v=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t[t.length]=n}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];if(i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,c(n)&&!c(t)&&s(t,l(n)),c(t)){var d=parseInt(a,10);String(d)===a&&d>=0&&d>l(t)&&u(t,d)}return t},v)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t[t.length]={obj:a,prop:c},n[n.length]=l)}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:m}})),ue=s(((e,t)=>{var n=ce(),r=le(),i=J(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,w,T){for(var E=t,D=T,O=0,k=!1;(D=D.get(m))!==void 0&&!k;){var A=D.get(t);if(O+=1,A!==void 0){if(A===O)throw RangeError(`Cyclic object value`);k=!0}D.get(m)===void 0&&(O=0)}if(typeof _==`function`?E=_(i,E):E instanceof Date?E=b(E):a===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?b(e):e})),E===null){if(u)return g&&!C?g(i,f.encoder,w,`key`,x):i;E=``}if(p(E)||r.isBuffer(E))return g?[S(C?i:g(i,f.encoder,w,`key`,x))+`=`+S(g(E,f.encoder,w,`value`,x))]:[S(i)+`=`+S(String(E))];var j=[];if(E===void 0)return j;var M;if(a===`comma`&&s(E))C&&g&&(E=r.maybeMap(E,g)),M=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(_))M=_;else{var N=Object.keys(E);M=v?N.sort(v):N}var ee=h?String(i).replace(/\./g,`%2E`):String(i),P=o&&s(E)&&E.length===1?ee+`[]`:ee;if(c&&s(E)&&E.length===0)return P+`[]`;for(var F=0;F<M.length;++F){var I=M[F],L=typeof I==`object`&&I&&I.value!==void 0?I.value:E[I];if(!(d&&L===null)){var R=y&&h?String(I).replace(/\./g,`%2E`):String(I),z=s(E)?typeof a==`function`?a(P,R):P:P+(y?`.`+R:`[`+R+`]`);T.set(t,O);var te=n();te.set(m,T),l(j,e(L,z,a,o,c,u,d,h,a===`comma`&&C&&s(E)?null:g,_,v,y,b,x,S,C,w,te))}}return j},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m],v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B&`:b+=`utf8=%E2%9C%93&`),y.length>0?b+y:``}})),Y=s(((e,t)=>{var n=le(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded?f+1:f);if(t.throwOnLimitExceeded&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),t.comma&&i(x)&&x.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);x=n.combine([],x,t.arrayLimit,t.plainObjects)}if(b!==null){var S=r.call(u,b);S&&t.duplicates===`combine`?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10),h=!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)u={0:c};else if(h&&m<r.arrayLimit)u=[],u[m]=c;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(u[m]=c,n.markOverflow(u,m)):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(n),s=o?n.slice(0,o.index):n,c=[];if(s){if(!t.plainObjects&&r.call(Object.prototype,s)&&!t.allowPrototypes)return;c[c.length]=s}for(var l=0;(o=a.exec(n))!==null&&l<t.depth;){l+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,u)&&!t.allowPrototypes)return;c[c.length]=o[1]}if(o){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);c[c.length]=`[`+n.slice(o.index)+`]`}return c},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),X=u(s(((e,t)=>{var n=ue(),r=Y();t.exports={formats:J(),parse:r,stringify:n}}))()),de=class{fetch;constructor(e){this.configure=e,this.fetch=e.fetch??globalThis.fetch}get(e,t){return this.request({method:`GET`,path:e,params:t}).then(this.parseJSON)}post(e,t){return this.request({method:`POST`,path:e,params:t}).then(this.parseJSON)}put(e,t){return this.request({method:`PUT`,path:e,params:t}).then(this.parseJSON)}patch(e,t){return this.request({method:`PATCH`,path:e,params:t}).then(this.parseJSON)}delete(e,t){return this.request({method:`DELETE`,path:e,params:t}).then(this.parseJSON)}request(e){let{method:t,path:n,params:r={}}=e,{apiKey:i,accessToken:a,timeout:o,userAgent:s}=this.configure,c=i?{apiKey:i}:{},l={},u={method:t,headers:l};o&&(u.timeout=o),!i&&a&&(l.Authorization=`Bearer `+a),s&&(l[`User-Agent`]=s),typeof window<`u`&&(u.mode=`cors`),t===`GET`?Object.keys(r).forEach(e=>c[e]=r[e]):r instanceof FormData?u.body=r:(l[`Content-type`]=`application/x-www-form-urlencoded`,u.body=this.toQueryString(r));let d=this.toQueryString(c),f=`${this.restBaseURL}/${n}`+(d.length>0?`?${d}`:``);return this.fetch(f,u).then(this.checkStatus)}checkStatus(e){return new Promise((t,n)=>{200<=e.status&&e.status<300?t(e):e.json().then(t=>{e.status===401?n(new m(e,t)):n(new p(e,t))}).catch(()=>n(new h(e)))})}parseJSON(e){return e.status===204||e.headers.get(`Content-Length`)===`0`?Promise.resolve(void 0):e.json()}toQueryString(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];n.startsWith(`customField_`)&&Array.isArray(r)?r.forEach((e,r)=>{t[`${n}[${r}]`]=e}):t[n]=r}),X.stringify(t,{arrayFormat:`brackets`})}get webAppBaseURL(){return`https://${this.configure.host}`}get restBaseURL(){return`${this.webAppBaseURL}/api/v2`}},fe=class extends de{constructor(e){super(e)}getSpace(){return this.get(`space`)}getSpaceActivities(e){return this.get(`space/activities`,e)}getSpaceIcon(){return this.download(`space/image`)}getSpaceNotification(){return this.get(`space/notification`)}putSpaceNotification(e){return this.put(`space/notification`,e)}getSpaceDiskUsage(){return this.get(`space/diskUsage`)}postSpaceAttachment(e){return this.upload(`space/attachment`,e)}getUsers(){return this.get(`users`)}getUser(e){return this.get(`users/${e}`)}postUser(e){return this.post(`users`,e)}patchUser(e,t){return this.patch(`users/${e}`,t)}deleteUser(e){return this.delete(`users/${e}`)}getMyself(){return this.get(`users/myself`)}getUserIcon(e){return this.download(`users/${e}/icon`)}getUserActivities(e,t){return this.get(`users/${e}/activities`,t)}getUserStars(e,t){return this.get(`users/${e}/stars`,t)}getUserStarsCount(e,t){return this.get(`users/${e}/stars/count`,t)}getRecentlyViewedIssues(e){return this.get(`users/myself/recentlyViewedIssues`,e)}getRecentlyViewedProjects(e){return this.get(`users/myself/recentlyViewedProjects`,e)}getRecentlyViewedWikis(e){return this.get(`users/myself/recentlyViewedWikis`,e)}getProjectStatuses(e){return this.get(`projects/${e}/statuses`)}getResolutions(){return this.get(`resolutions`)}getPriorities(){return this.get(`priorities`)}getProjects(e){return this.get(`projects`,e)}postProject(e){return this.post(`projects`,e)}getProject(e){return this.get(`projects/${e}`)}patchProject(e,t){return this.patch(`projects/${e}`,t)}deleteProject(e){return this.delete(`projects/${e}`)}getProjectIcon(e){return this.download(`projects/${e}/image`)}getProjectActivities(e,t){return this.get(`projects/${e}/activities`,t)}postProjectUser(e,t){return this.post(`projects/${e}/users`,{userId:t})}getProjectUsers(e){return this.get(`projects/${e}/users`)}deleteProjectUsers(e,t){return this.delete(`projects/${e}/users`,t)}postProjectAdministrators(e,t){return this.post(`projects/${e}/administrators`,t)}getProjectAdministrators(e){return this.get(`projects/${e}/administrators`)}deleteProjectAdministrators(e,t){return this.delete(`projects/${e}/administrators`,t)}postProjectStatus(e,t){return this.post(`projects/${e}/statuses`,t)}patchProjectStatus(e,t,n){return this.patch(`projects/${e}/statuses/${t}`,n)}deleteProjectStatus(e,t,n){return this.delete(`projects/${e}/statuses/${t}`,{substituteStatusId:n})}patchProjectStatusOrder(e,t){return this.patch(`projects/${e}/statuses/updateDisplayOrder`,{statusId:t})}getIssueTypes(e){return this.get(`projects/${e}/issueTypes`)}postIssueType(e,t){return this.post(`projects/${e}/issueTypes`,t)}patchIssueType(e,t,n){return this.patch(`projects/${e}/issueTypes/${t}`,n)}deleteIssueType(e,t,n){return this.delete(`projects/${e}/issueTypes/${t}`,n)}getCategories(e){return this.get(`projects/${e}/categories`)}postCategories(e,t){return this.post(`projects/${e}/categories`,t)}patchCategories(e,t,n){return this.patch(`projects/${e}/categories/${t}`,n)}deleteCategories(e,t){return this.delete(`projects/${e}/categories/${t}`)}getVersions(e){return this.get(`projects/${e}/versions`)}postVersions(e,t){return this.post(`projects/${e}/versions`,t)}patchVersions(e,t,n){return this.patch(`projects/${e}/versions/${t}`,n)}deleteVersions(e,t){return this.delete(`projects/${e}/versions/${t}`)}getCustomFields(e){return this.get(`projects/${e}/customFields`)}postCustomField(e,t){return this.post(`projects/${e}/customFields`,t)}patchCustomField(e,t,n){return this.patch(`projects/${e}/customFields/${t}`,n)}deleteCustomField(e,t){return this.delete(`projects/${e}/customFields/${t}`)}postCustomFieldItem(e,t,n){return this.post(`projects/${e}/customFields/${t}/items`,n)}patchCustomFieldItem(e,t,n,r){return this.patch(`projects/${e}/customFields/${t}/items/${n}`,r)}deleteCustomFieldItem(e,t,n){return this.delete(`projects/${e}/customFields/${t}/items/${n}`)}getSharedFiles(e,t,n){return this.get(`projects/${e}/files/metadata/${t}`,n)}getSharedFile(e,t){return this.download(`projects/${e}/files/${t}`)}getProjectsDiskUsage(e){return this.get(`projects/${e}/diskUsage`)}getWebhooks(e){return this.get(`projects/${e}/webhooks`)}postWebhook(e,t){return this.post(`projects/${e}/webhooks`,t)}getWebhook(e,t){return this.get(`projects/${e}/webhooks/${t}`)}patchWebhook(e,t,n){return this.patch(`projects/${e}/webhooks/${t}`,n)}deleteWebhook(e,t){return this.delete(`projects/${e}/webhooks/${t}`)}getIssues(e){return this.get(`issues`,e)}getIssuesCount(e){return this.get(`issues/count`,e)}postIssue(e){return this.post(`issues`,e)}patchIssue(e,t){return this.patch(`issues/${e}`,t)}getIssue(e,t){return this.get(`issues/${e}`,t)}deleteIssue(e){return this.delete(`issues/${e}`)}getIssueComments(e,t){return this.get(`issues/${e}/comments`,t)}postIssueComments(e,t){return this.post(`issues/${e}/comments`,t)}getIssueCommentsCount(e){return this.get(`issues/${e}/comments/count`)}getIssueComment(e,t){return this.get(`issues/${e}/comments/${t}`)}deleteIssueComment(e,t){return this.delete(`issues/${e}/comments/${t}`)}patchIssueComment(e,t,n){return this.patch(`issues/${e}/comments/${t}`,n)}getIssueCommentNotifications(e,t){return this.get(`issues/${e}/comments/${t}/notifications`)}postIssueCommentNotifications(e,t,n){return this.post(`issues/${e}/comments/${t}/notifications`,n)}getIssueAttachments(e){return this.get(`issues/${e}/attachments`)}getIssueAttachment(e,t){return this.download(`issues/${e}/attachments/${t}`)}deleteIssueAttachment(e,t){return this.delete(`issues/${e}/attachments/${t}`)}getIssueParticipants(e){return this.get(`issues/${e}/participants`)}getIssueSharedFiles(e){return this.get(`issues/${e}/sharedFiles`)}linkIssueSharedFiles(e,t){return this.post(`issues/${e}/sharedFiles`,t)}unlinkIssueSharedFile(e,t){return this.delete(`issues/${e}/sharedFiles/${t}`)}getWikis(e){return this.get(`wikis`,e)}getWikisCount(e){return this.get(`wikis/count`,{projectIdOrKey:e})}getWikisTags(e){return this.get(`wikis/tags`,{projectIdOrKey:e})}postWiki(e){return this.post(`wikis`,e)}getWiki(e){return this.get(`wikis/${e}`)}patchWiki(e,t){return this.patch(`wikis/${e}`,t)}deleteWiki(e,t){return this.delete(`wikis/${e}`,{mailNotify:t})}getWikisAttachments(e){return this.get(`wikis/${e}/attachments`)}postWikisAttachments(e,t){return this.post(`wikis/${e}/attachments`,{attachmentId:t})}getWikiAttachment(e,t){return this.download(`wikis/${e}/attachments/${t}`)}deleteWikisAttachments(e,t){return this.delete(`wikis/${e}/attachments/${t}`)}getWikisSharedFiles(e){return this.get(`wikis/${e}/sharedFiles`)}linkWikisSharedFiles(e,t){return this.post(`wikis/${e}/sharedFiles`,{fileId:t})}unlinkWikisSharedFiles(e,t){return this.delete(`wikis/${e}/sharedFiles/${t}`)}getDocuments(e){return this.get(`documents`,e)}getDocumentTree(e){return this.get(`documents/tree`,{projectIdOrKey:e})}getDocument(e){return this.get(`documents/${e}`)}downloadDocumentAttachment(e,t){return this.download(`documents/${e}/attachments/${t}`)}addDocument(e){return this.post(`documents`,e)}deleteDocument(e){return this.delete(`documents/${e}`)}getWikisHistory(e,t){return this.get(`wikis/${e}/history`,t)}getWikisStars(e){return this.get(`wikis/${e}/stars`)}postStar(e){return this.post(`stars`,e)}removeStar(e){let t=`stars/${e}`;return this.delete(t)}getNotifications(e){return this.get(`notifications`,e)}getNotificationsCount(e){return this.get(`notifications/count`,e)}resetNotificationsMarkAsRead(){return this.post(`notifications/markAsRead`)}markAsReadNotification(e){return this.post(`notifications/${e}/markAsRead`)}getGitRepositories(e){return this.get(`projects/${e}/git/repositories`)}getGitRepository(e,t){return this.get(`projects/${e}/git/repositories/${t}`)}getPullRequests(e,t,n){return this.get(`projects/${e}/git/repositories/${t}/pullRequests`,n)}getPullRequestsCount(e,t,n){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/count`,n)}postPullRequest(e,t,n){return this.post(`projects/${e}/git/repositories/${t}/pullRequests`,n)}getPullRequest(e,t,n){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/${n}`)}patchPullRequest(e,t,n,r){return this.patch(`projects/${e}/git/repositories/${t}/pullRequests/${n}`,r)}getPullRequestComments(e,t,n,r){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/${n}/comments`,r)}postPullRequestComments(e,t,n,r){return this.post(`projects/${e}/git/repositories/${t}/pullRequests/${n}/comments`,r)}getPullRequestCommentsCount(e,t,n){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/${n}/comments/count`)}patchPullRequestComments(e,t,n,r,i){return this.patch(`projects/${e}/git/repositories/${t}/pullRequests/${n}/comments/${r}`,i)}getPullRequestAttachments(e,t,n){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/${n}/attachments`)}getPullRequestAttachment(e,t,n,r){return this.download(`projects/${e}/git/repositories/${t}/pullRequests/${n}/attachments/${r}`)}deletePullRequestAttachment(e,t,n,r){return this.get(`projects/${e}/git/repositories/${t}/pullRequests/${n}/attachments/${r}`)}getWatchingListItems(e,t){return this.get(`users/${e}/watchings`,t)}getWatchingListCount(e,t){return this.get(`users/${e}/watchings/count`,t)}getWatchingListItem(e){return this.get(`watchings/${e}`)}postWatchingListItem(e){return this.post(`watchings`,e)}patchWatchingListItem(e,t){return this.patch(`watchings/${e}`,{note:t})}deletehWatchingListItem(e){return this.delete(`watchings/${e}`)}resetWatchingListItemAsRead(e){return this.post(`watchings/${e}/markAsRead`)}getLicence(){return this.get(`space/licence`)}getTeams(e){return this.get(`teams`,e)}postTeam(e){return this.post(`teams`,e)}getTeam(e){return this.get(`teams/${e}`)}patchTeam(e,t){return this.patch(`teams/${e}`,t)}deleteTeam(e){return this.delete(`teams/${e}`)}getTeamIcon(e){return this.download(`teams/${e}/icon`)}getProjectTeams(e){return this.get(`projects/${e}/teams`)}postProjectTeam(e,t){return this.post(`projects/${e}/teams`,{teamId:t})}deleteProjectTeam(e,t){return this.delete(`projects/${e}/teams`,{teamId:t})}getRateLimit(){return this.get(`rateLimit`)}download(e){return this.request({method:`GET`,path:e}).then(this.parseFileData)}upload(e,t){return this.request({method:`POST`,path:e,params:t}).then(this.parseJSON)}parseFileData(e){return new Promise(t=>{if(typeof window<`u`)t({body:e.body,url:e.url,blob:()=>e.blob()});else{let n=e.headers.get(`Content-Disposition`),r=n?n.substring(n.indexOf(`''`)+2):``;t({body:e.body,url:e.url,filename:r})}})}},Z=class{constructor(e,t,n){this.credentials=e,this.timeout=t,this.fetch=n}getAuthorizationURL(e){let t={client_id:this.credentials.clientId,response_type:`code`,redirect_uri:e.redirectUri,state:e.state};return`https://${e.host}/OAuth2AccessRequest.action?`+Object.keys(t).map(e=>t[e]?`${e}=${t[e]}`:``).filter(e=>e.length>0).join(`&`)}getAccessToken(e){return new de({host:e.host,timeout:this.timeout,fetch:this.fetch}).post(`oauth2/token`,{grant_type:`authorization_code`,code:e.code,client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,redirect_uri:e.redirectUri})}refreshAccessToken(e){return new de({host:e.host,timeout:this.timeout,fetch:this.fetch}).post(`oauth2/token`,{grant_type:`refresh_token`,client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,refresh_token:e.refreshToken})}},Q=c({Issue:()=>$});let $;(function(e){e.ParentChildType=function(e){return e[e.All=0]=`All`,e[e.NotChild=1]=`NotChild`,e[e.Child=2]=`Child`,e[e.ChildOrGrandchild=2]=`ChildOrGrandchild`,e[e.NotChildNotParent=3]=`NotChildNotParent`,e[e.Standalone=3]=`Standalone`,e[e.Parent=4]=`Parent`,e[e.HasChildren=4]=`HasChildren`,e[e.GrandchildOnly=5]=`GrandchildOnly`,e[e.ChildOnly=6]=`ChildOnly`,e[e.TopLevelOnly=7]=`TopLevelOnly`,e[e.ExcludeGrandchild=8]=`ExcludeGrandchild`,e[e.ExcludeTopLevel=9]=`ExcludeTopLevel`,e[e.LeafOnly=10]=`LeafOnly`,e}({})})($||={});var pe=c({}),me=c({ActivityType:()=>_e,ClassicRoleType:()=>he,CustomFieldType:()=>ve,NormalRoleType:()=>ge});let he=function(e){return e[e.Admin=1]=`Admin`,e[e.User=2]=`User`,e[e.Reporter=3]=`Reporter`,e[e.Viewer=4]=`Viewer`,e[e.GuestReporter=5]=`GuestReporter`,e[e.GuestViewer=6]=`GuestViewer`,e}({}),ge=function(e){return e[e.Admin=1]=`Admin`,e[e.MemberOrGuest=2]=`MemberOrGuest`,e[e.MemberOrGuestForAddIssues=3]=`MemberOrGuestForAddIssues`,e[e.MemberOrGuestForViewIssues=4]=`MemberOrGuestForViewIssues`,e}({}),_e=function(e){return e[e.Undefined=-1]=`Undefined`,e[e.IssueCreated=1]=`IssueCreated`,e[e.IssueUpdated=2]=`IssueUpdated`,e[e.IssueCommented=3]=`IssueCommented`,e[e.IssueDeleted=4]=`IssueDeleted`,e[e.WikiCreated=5]=`WikiCreated`,e[e.WikiUpdated=6]=`WikiUpdated`,e[e.WikiDeleted=7]=`WikiDeleted`,e[e.FileAdded=8]=`FileAdded`,e[e.FileUpdated=9]=`FileUpdated`,e[e.FileDeleted=10]=`FileDeleted`,e[e.SvnCommitted=11]=`SvnCommitted`,e[e.GitPushed=12]=`GitPushed`,e[e.GitRepositoryCreated=13]=`GitRepositoryCreated`,e[e.IssueMultiUpdated=14]=`IssueMultiUpdated`,e[e.ProjectUserAdded=15]=`ProjectUserAdded`,e[e.ProjectUserRemoved=16]=`ProjectUserRemoved`,e[e.NotifyAdded=17]=`NotifyAdded`,e[e.PullRequestAdded=18]=`PullRequestAdded`,e[e.PullRequestUpdated=19]=`PullRequestUpdated`,e[e.PullRequestCommented=20]=`PullRequestCommented`,e[e.PullRequestMerged=21]=`PullRequestMerged`,e[e.MilestoneCreated=22]=`MilestoneCreated`,e[e.MilestoneUpdated=23]=`MilestoneUpdated`,e[e.MilestoneDeleted=24]=`MilestoneDeleted`,e[e.ProjectGroupAdded=25]=`ProjectGroupAdded`,e[e.ProjectGroupDeleted=26]=`ProjectGroupDeleted`,e[e.IssuesDatesUpdated=35]=`IssuesDatesUpdated`,e[e.StatusDeleted=34]=`StatusDeleted`,e[e.DocumentCreated=36]=`DocumentCreated`,e[e.DocumentDeleted=37]=`DocumentDeleted`,e[e.DocumentTitleUpdated=38]=`DocumentTitleUpdated`,e[e.DocumentCommentCreated=40]=`DocumentCommentCreated`,e[e.DocumentCommentUpdated=41]=`DocumentCommentUpdated`,e[e.DocumentCommentDeleted=42]=`DocumentCommentDeleted`,e[e.DocumentCommentReplyCreated=43]=`DocumentCommentReplyCreated`,e[e.DocumentCommentReplyUpdated=44]=`DocumentCommentReplyUpdated`,e[e.DocumentCommentReplyDeleted=45]=`DocumentCommentReplyDeleted`,e[e.DocumentAttachmentCreated=46]=`DocumentAttachmentCreated`,e[e.IssueMultiCreated=47]=`IssueMultiCreated`,e[e.DocumentMultiCreated=48]=`DocumentMultiCreated`,e}({}),ve=function(e){return e[e.Text=1]=`Text`,e[e.TextArea=2]=`TextArea`,e[e.Numeric=3]=`Numeric`,e[e.Date=4]=`Date`,e[e.SingleList=5]=`SingleList`,e[e.MultipleList=6]=`MultipleList`,e[e.CheckBox=7]=`CheckBox`,e[e.Radio=8]=`Radio`,e}({});return e.Backlog=fe,Object.defineProperty(e,`Entity`,{enumerable:!0,get:function(){return pe}}),Object.defineProperty(e,`Error`,{enumerable:!0,get:function(){return d}}),e.OAuth2=Z,Object.defineProperty(e,`Option`,{enumerable:!0,get:function(){return Q}}),Object.defineProperty(e,`Types`,{enumerable:!0,get:function(){return me}}),e})({});
|