contentful 11.2.1 → 11.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var contentful=function(t){"use strict";function e(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function i(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function a(t){return function(t){if(Array.isArray(t))return n(t)}(t)||o(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){if(Array.isArray(t))return t}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function l(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}function f(t,e,r){return(e=l(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function h(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e){return u(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||i(t,e)||c()}function v(t,e){this.v=t,this.k=e}function m(t){return function(){return new b(t.apply(this,arguments))}}function b(t){var e,r;function n(e,r){try{var i=t[e](r),a=i.value,u=a instanceof v;Promise.resolve(u?a.v:a).then((function(r){if(u){var c="return"===e?"return":"next";if(!a.k||r.done)return n(c,r);r=t[c](r).value}o(i.done?"return":"normal",r)}),(function(t){n("throw",t)}))}catch(t){o("throw",t)}}function o(t,o){switch(t){case"return":e.resolve({value:o,done:!0});break;case"throw":e.reject(o);break;default:e.resolve({value:o,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(t,o){return new Promise((function(i,a){var u={key:t,arg:o,resolve:i,reject:a,next:null};r?r=r.next=u:(e=r=u,n(t,o))}))},"function"!=typeof t.return&&(this.return=void 0)}function g(t){return new v(t,0)}function w(t){var e={},r=!1;function n(e,n){return r=!0,n=new Promise((function(r){r(t[e](n))})),{done:!1,value:new v(n,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return r?(r=!1,t):n("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(r)throw r=!1,t;return n("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return r?(r=!1,t):n("return",t)}),e}function O(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function S(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")&&1===Object.keys(t).length?t.default:t}b.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},b.prototype.next=function(t){return this._invoke("next",t)},b.prototype.throw=function(t){return this._invoke("throw",t)},b.prototype.return=function(t){return this._invoke("return",t)};var x={exports:{}},j={exports:{}};!function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(j);var E=j.exports;!function(t){var e=E.default;function r(){t.exports=r=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(n){p=function(t,e,r){return t[e]=r}}function y(t,e,r,n){var o=Object.create((e&&e.prototype instanceof w?e:w).prototype);return u(o,"_invoke",{value:T(t,r,new I(n||[]))}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=y;var d="suspendedStart",v="suspendedYield",m="executing",b="completed",g={};function w(){}function O(){}function S(){}var x={};p(x,s,(function(){return this}));var j=Object.getPrototypeOf,E=j&&j(j(N([])));E&&E!==i&&a.call(E,s)&&(x=E);var A=S.prototype=w.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,r){function n(o,i,u,c){var s=h(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function T(t,e,r){var o=d;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=h(t,e,r);if("normal"===s.type){if(o=r.done?b:v,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=b,r.method="throw",r.arg=s.arg)}}}function R(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,R(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=h(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(a.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}throw new TypeError(e(t)+" is not iterable")}return O.prototype=S,u(A,"constructor",{value:S,configurable:!0}),u(S,"constructor",{value:O,configurable:!0}),O.displayName=p(S,f,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,p(t,f,"GeneratorFunction")),t.prototype=Object.create(A),t},o.awrap=function(t){return{__await:t}},k(P.prototype),p(P.prototype,l,(function(){return this})),o.AsyncIterator=P,o.async=function(t,e,r,n,i){void 0===i&&(i=Promise);var a=new P(y(t,e,r,n),i);return o.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),p(A,f,"Generator"),p(A,s,(function(){return this})),p(A,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=N,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},o}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(x);var A=(0,x.exports)(),k=A;try{regeneratorRuntime=A}catch(t){"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))?globalThis.regeneratorRuntime=A:Function("r","regeneratorRuntime = r")(A)}var P=O(k);function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t){var e,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(e=t[r]))return e.call(t);if(n&&null!=(e=t[n]))return new I(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function I(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return I=function(t){this.s=t,this.n=t.next},I.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new I(t)}function N(t,e){return function(){return t.apply(e,arguments)}}var U,C=Object.prototype.toString,F=Object.getPrototypeOf,D=(U=Object.create(null),function(t){var e=C.call(t);return U[e]||(U[e]=e.slice(8,-1).toLowerCase())}),B=function(t){return t=t.toLowerCase(),function(e){return D(e)===t}},M=function(t){return function(e){return s(e)===t}},q=Array.isArray,W=M("undefined"),z=B("ArrayBuffer"),G=M("string"),H=M("function"),K=M("number"),J=function(t){return null!==t&&"object"===s(t)},$=function(t){if("object"!==D(t))return!1;var e=F(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},V=B("Date"),Q=B("File"),X=B("Blob"),Y=B("FileList"),Z=B("URLSearchParams"),tt=d(["ReadableStream","Request","Response","Headers"].map(B),4),et=tt[0],rt=tt[1],nt=tt[2],ot=tt[3];function it(t,e){var r,n,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=t)if("object"!==s(t)&&(t=[t]),q(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{var a,u=i?Object.getOwnPropertyNames(t):Object.keys(t),c=u.length;for(r=0;r<c;r++)e.call(null,t[a=u[r]],a,t)}}function at(t,e){e=e.toLowerCase();for(var r,n=Object.keys(t),o=n.length;o-- >0;)if(e===(r=n[o]).toLowerCase())return r;return null}var ut,ct,st,lt,ft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,pt=function(t){return!W(t)&&t!==ft},yt=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&F(Uint8Array)),ht=B("HTMLFormElement"),dt=function(){var t=Object.prototype.hasOwnProperty;return function(e,r){return t.call(e,r)}}(),vt=B("RegExp"),mt=function(t,e){var r=Object.getOwnPropertyDescriptors(t),n={};it(r,(function(r,o){var i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},bt="abcdefghijklmnopqrstuvwxyz",gt="0123456789",wt={DIGIT:gt,ALPHA:bt,ALPHA_DIGIT:bt+bt.toUpperCase()+gt},Ot=B("AsyncFunction"),St=(ut="function"==typeof setImmediate,ct=H(ft.postMessage),ut?setImmediate:ct?(st="axios@".concat(Math.random()),lt=[],ft.addEventListener("message",(function(t){t.source===ft&&t.data===st&&lt.length&&lt.shift()()}),!1),function(t){lt.push(t),ft.postMessage(st,"*")}):function(t){return setTimeout(t)}),xt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ft):"undefined"!=typeof process&&process.nextTick||St,jt={isArray:q,isArrayBuffer:z,isBuffer:function(t){return null!==t&&!W(t)&&null!==t.constructor&&!W(t.constructor)&&H(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:function(t){var e;return t&&("function"==typeof FormData&&t instanceof FormData||H(t.append)&&("formdata"===(e=D(t))||"object"===e&&H(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&z(t.buffer)},isString:G,isNumber:K,isBoolean:function(t){return!0===t||!1===t},isObject:J,isPlainObject:$,isReadableStream:et,isRequest:rt,isResponse:nt,isHeaders:ot,isUndefined:W,isDate:V,isFile:Q,isBlob:X,isRegExp:vt,isFunction:H,isStream:function(t){return J(t)&&H(t.pipe)},isURLSearchParams:Z,isTypedArray:yt,isFileList:Y,forEach:it,merge:function t(){for(var e=(pt(this)&&this||{}).caseless,r={},n=function(n,o){var i=e&&at(r,o)||o;r[i]=$(r[i])&&$(n)?t(r[i],n):$(n)?t({},n):q(n)?n.slice():n},o=0,i=arguments.length;o<i;o++)arguments[o]&&it(arguments[o],n);return r},extend:function(t,e,r){return it(e,(function(e,n){t[n]=r&&H(e)?N(e,r):e}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),t},trim:function(t){return t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r,n){var o,i,a,u={};if(e=e||{},null==t)return e;do{for(i=(o=Object.getOwnPropertyNames(t)).length;i-- >0;)a=o[i],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&F(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:D,kindOfTest:B,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length);var n=t.indexOf(e,r-=e.length);return-1!==n&&n===r},toArray:function(t){if(!t)return null;if(q(t))return t;var e=t.length;if(!K(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},forEachEntry:function(t,e){for(var r,n=(t&&t[Symbol.iterator]).call(t);(r=n.next())&&!r.done;){var o=r.value;e.call(t,o[0],o[1])}},matchAll:function(t,e){for(var r,n=[];null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:ht,hasOwnProperty:dt,hasOwnProp:dt,reduceDescriptors:mt,freezeMethods:function(t){mt(t,(function(e,r){if(H(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;H(t[r])&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(t,e){var r={},n=function(t){t.forEach((function(t){r[t]=!0}))};return q(t)?n(t):n(String(t).split(e)),r},toCamelCase:function(t){return t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(t,e){return null!=t&&Number.isFinite(t=+t)?t:e},findKey:at,global:ft,isContextDefined:pt,ALPHABET:wt,generateString:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wt.ALPHA_DIGIT,r="",n=e.length;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&H(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:function(t){var e=new Array(10),r=function(t,n){if(J(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;var o=q(t)?[]:{};return it(t,(function(t,e){var i=r(t,n+1);!W(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Ot,isThenable:function(t){return t&&(J(t)||H(t))&&H(t.then)&&H(t.catch)},setImmediate:St,asap:xt};function Et(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}jt.inherits(Et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:jt.toJSONObject(this.config),code:this.code,status:this.status}}});var At=Et.prototype,kt={};function Pt(t){return jt.isPlainObject(t)||jt.isArray(t)}function Tt(t){return jt.endsWith(t,"[]")?t.slice(0,-2):t}function Rt(t,e,r){return t?t.concat(e).map((function(t,e){return t=Tt(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(t){kt[t]={value:t}})),Object.defineProperties(Et,kt),Object.defineProperty(At,"isAxiosError",{value:!0}),Et.from=function(t,e,r,n,o,i){var a=Object.create(At);return jt.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(function(t){return"isAxiosError"!==t})),Et.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};var Lt=jt.toFlatObject(jt,{},null,(function(t){return/^is[A-Z]/.test(t)}));function _t(t,e,r){if(!jt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;var n=(r=jt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!jt.isUndefined(e[t])}))).metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&jt.isSpecCompliantForm(e);if(!jt.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(jt.isDate(t))return t.toISOString();if(!u&&jt.isBlob(t))throw new Et("Blob is not supported. Use a Buffer instead.");return jt.isArrayBuffer(t)||jt.isTypedArray(t)?u&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function l(t,r,o){var u=t;if(t&&!o&&"object"===s(t))if(jt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(jt.isArray(t)&&function(t){return jt.isArray(t)&&!t.some(Pt)}(t)||(jt.isFileList(t)||jt.endsWith(r,"[]"))&&(u=jt.toArray(t)))return r=Tt(r),u.forEach((function(t,n){!jt.isUndefined(t)&&null!==t&&e.append(!0===a?Rt([r],n,i):null===a?r:r+"[]",c(t))})),!1;return!!Pt(t)||(e.append(Rt(o,r,i),c(t)),!1)}var f=[],p=Object.assign(Lt,{defaultVisitor:l,convertValue:c,isVisitable:Pt});if(!jt.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!jt.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),jt.forEach(r,(function(r,i){!0===(!(jt.isUndefined(r)||null===r)&&o.call(e,r,jt.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),f.pop()}}(t),e}function It(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Nt(t,e){this._pairs=[],t&&_t(t,this,e)}var Ut=Nt.prototype;function Ct(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ft(t,e,r){if(!e)return t;var n,o=r&&r.encode||Ct,i=r&&r.serialize;if(n=i?i(e,r):jt.isURLSearchParams(e)?e.toString():new Nt(e,r).toString(o)){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t}Ut.append=function(t,e){this._pairs.push([t,e])},Ut.toString=function(t){var e=t?function(e){return t.call(this,e,It)}:It;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Dt=function(){return h((function t(){p(this,t),this.handlers=[]}),[{key:"use",value:function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(t){this.handlers[t]&&(this.handlers[t]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(t){jt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}])}(),Bt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Nt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},qt="undefined"!=typeof window&&"undefined"!=typeof document,Wt="object"===("undefined"==typeof navigator?"undefined":s(navigator))&&navigator||void 0,zt=qt&&(!Wt||["ReactNative","NativeScript","NS"].indexOf(Wt.product)<0),Gt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ht=qt&&window.location.href||"http://localhost",Kt=L(L({},Object.freeze({__proto__:null,hasBrowserEnv:qt,hasStandardBrowserWebWorkerEnv:Gt,hasStandardBrowserEnv:zt,navigator:Wt,origin:Ht})),Mt);function Jt(t){function e(t,r,n,o){var i=t[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=t.length;return i=!i&&jt.isArray(n)?n.length:i,u?(n[i]=jt.hasOwnProp(n,i)?[n[i],r]:r,!a):(n[i]&&jt.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&jt.isArray(n[i])&&(n[i]=function(t){var e,r,n={},o=Object.keys(t),i=o.length;for(e=0;e<i;e++)n[r=o[e]]=t[r];return n}(n[i])),!a)}if(jt.isFormData(t)&&jt.isFunction(t.entries)){var r={};return jt.forEachEntry(t,(function(t,n){e(function(t){return jt.matchAll(/\w+|\[(\w*)]/g,t).map((function(t){return"[]"===t[0]?"":t[1]||t[0]}))}(t),n,r,0)})),r}return null}var $t={transitional:Bt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){var r,n=e.getContentType()||"",o=n.indexOf("application/json")>-1,i=jt.isObject(t);if(i&&jt.isHTMLForm(t)&&(t=new FormData(t)),jt.isFormData(t))return o?JSON.stringify(Jt(t)):t;if(jt.isArrayBuffer(t)||jt.isBuffer(t)||jt.isStream(t)||jt.isFile(t)||jt.isBlob(t)||jt.isReadableStream(t))return t;if(jt.isArrayBufferView(t))return t.buffer;if(jt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return _t(t,new Kt.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Kt.isNode&&jt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((r=jt.isFileList(t))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return _t(r?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(e.setContentType("application/json",!1),function(t){if(jt.isString(t))try{return(0,JSON.parse)(t),jt.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||$t.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(jt.isResponse(t)||jt.isReadableStream(t))return t;if(t&&jt.isString(t)&&(r&&!this.responseType||n)){var o=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw Et.from(t,Et.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kt.classes.FormData,Blob:Kt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};jt.forEach(["delete","get","head","post","put","patch"],(function(t){$t.headers[t]={}}));var Vt=$t,Qt=jt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xt=Symbol("internals");function Yt(t){return t&&String(t).trim().toLowerCase()}function Zt(t){return!1===t||null==t?t:jt.isArray(t)?t.map(Zt):String(t)}function te(t,e,r,n,o){return jt.isFunction(n)?n.call(this,e,r):(o&&(e=r),jt.isString(e)?jt.isString(n)?-1!==e.indexOf(n):jt.isRegExp(n)?n.test(e):void 0:void 0)}var ee=function(){return h((function t(e){p(this,t),e&&this.set(e)}),[{key:"set",value:function(t,e,r){var n=this;function o(t,e,r){var o=Yt(e);if(!o)throw new Error("header name must be a non-empty string");var i=jt.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Zt(t))}var i,a,u,c,s,l=function(t,e){return jt.forEach(t,(function(t,r){return o(t,r,e)}))};if(jt.isPlainObject(t)||t instanceof this.constructor)l(t,e);else if(jt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))l((s={},(i=t)&&i.split("\n").forEach((function(t){c=t.indexOf(":"),a=t.substring(0,c).trim().toLowerCase(),u=t.substring(c+1).trim(),!a||s[a]&&Qt[a]||("set-cookie"===a?s[a]?s[a].push(u):s[a]=[u]:s[a]=s[a]?s[a]+", "+u:u)})),s),e);else if(jt.isHeaders(t)){var f,p=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return T(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(t.entries());try{for(p.s();!(f=p.n()).done;){var y=d(f.value,2);o(y[1],y[0],r)}}catch(t){p.e(t)}finally{p.f()}}else null!=t&&o(e,t,r);return this}},{key:"get",value:function(t,e){if(t=Yt(t)){var r=jt.findKey(this,t);if(r){var n=this[r];if(!e)return n;if(!0===e)return function(t){for(var e,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;e=n.exec(t);)r[e[1]]=e[2];return r}(n);if(jt.isFunction(e))return e.call(this,n,r);if(jt.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(t,e){if(t=Yt(t)){var r=jt.findKey(this,t);return!(!r||void 0===this[r]||e&&!te(0,this[r],r,e))}return!1}},{key:"delete",value:function(t,e){var r=this,n=!1;function o(t){if(t=Yt(t)){var o=jt.findKey(r,t);!o||e&&!te(0,r[o],o,e)||(delete r[o],n=!0)}}return jt.isArray(t)?t.forEach(o):o(t),n}},{key:"clear",value:function(t){for(var e=Object.keys(this),r=e.length,n=!1;r--;){var o=e[r];t&&!te(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(t){var e=this,r={};return jt.forEach(this,(function(n,o){var i=jt.findKey(r,o);if(i)return e[i]=Zt(n),void delete e[o];var a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r}))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Zt(n),r[a]=!0})),this}},{key:"concat",value:function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=this.constructor).concat.apply(t,[this].concat(r))}},{key:"toJSON",value:function(t){var e=Object.create(null);return jt.forEach(this,(function(r,n){null!=r&&!1!==r&&(e[n]=t&&jt.isArray(r)?r.join(", "):r)})),e}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(t){var e=d(t,2);return e[0]+": "+e[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(t){return t instanceof this?t:new this(t)}},{key:"concat",value:function(t){for(var e=new this(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((function(t){return e.set(t)})),e}},{key:"accessor",value:function(t){var e=(this[Xt]=this[Xt]={accessors:{}}).accessors,r=this.prototype;function n(t){var n=Yt(t);e[n]||(function(t,e){var r=jt.toCamelCase(" "+e);["get","set","has"].forEach((function(n){Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return jt.isArray(t)?t.forEach(n):n(t),this}}])}();ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),jt.reduceDescriptors(ee.prototype,(function(t,e){var r=t.value,n=e[0].toUpperCase()+e.slice(1);return{get:function(){return r},set:function(t){this[n]=t}}})),jt.freezeMethods(ee);var re=ee;function ne(t,e){var r=this||Vt,n=e||r,o=re.from(n.headers),i=n.data;return jt.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function oe(t){return!(!t||!t.__CANCEL__)}function ie(t,e,r){Et.call(this,null==t?"canceled":t,Et.ERR_CANCELED,e,r),this.name="CanceledError"}function ae(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Et("Request failed with status code "+r.status,[Et.ERR_BAD_REQUEST,Et.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}jt.inherits(ie,Et,{__CANCEL__:!0});var ue=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0,o=function(t,e){t=t||10;var r,n=new Array(t),o=new Array(t),i=0,a=0;return e=void 0!==e?e:1e3,function(u){var c=Date.now(),s=o[a];r||(r=c),n[i]=u,o[i]=c;for(var l=a,f=0;l!==i;)f+=n[l++],l%=t;if((i=(i+1)%t)===a&&(a=(a+1)%t),!(c-r<e)){var p=s&&c-s;return p?Math.round(1e3*f/p):void 0}}}(50,250);return function(t,e){var r,n,o=0,i=1e3/e,a=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[function(){for(var t=Date.now(),e=t-o,u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s];e>=i?a(c,t):(r=c,n||(n=setTimeout((function(){n=null,a(r)}),i-e)))},function(){return r&&a(r)}]}((function(r){var i=r.loaded,a=r.lengthComputable?r.total:void 0,u=i-n,c=o(u);n=i;var s=f({loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a},e?"download":"upload",!0);t(s)}),r)},ce=function(t,e){var r=null!=t;return[function(n){return e[0]({lengthComputable:r,total:t,loaded:n})},e[1]]},se=function(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return jt.asap((function(){return t.apply(void 0,r)}))}},le=Kt.hasStandardBrowserEnv?function(){var t,e=Kt.navigator&&/(msie|trident)/i.test(Kt.navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=jt.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0},fe=Kt.hasStandardBrowserEnv?{write:function(t,e,r,n,o,i){var a=[t+"="+encodeURIComponent(e)];jt.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),jt.isString(n)&&a.push("path="+n),jt.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function pe(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var ye=function(t){return t instanceof re?L({},t):t};function he(t,e){e=e||{};var r={};function n(t,e,r){return jt.isPlainObject(t)&&jt.isPlainObject(e)?jt.merge.call({caseless:r},t,e):jt.isPlainObject(e)?jt.merge({},e):jt.isArray(e)?e.slice():e}function o(t,e,r){return jt.isUndefined(e)?jt.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!jt.isUndefined(e))return n(void 0,e)}function a(t,e){return jt.isUndefined(e)?jt.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function u(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}var c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(t,e){return o(ye(t),ye(e),!0)}};return jt.forEach(Object.keys(Object.assign({},t,e)),(function(n){var i=c[n]||o,a=i(t[n],e[n],n);jt.isUndefined(a)&&i!==u||(r[n]=a)})),r}var de,ve,me=function(t){var e,r,n=he({},t),s=n.data,l=n.withXSRFToken,f=n.xsrfHeaderName,p=n.xsrfCookieName,y=n.headers,h=n.auth;if(n.headers=y=re.from(y),n.url=Ft(pe(n.baseURL,n.url),t.params,t.paramsSerializer),h&&y.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),jt.isFormData(s))if(Kt.hasStandardBrowserEnv||Kt.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if(!1!==(e=y.getContentType())){var d=e?e.split(";").map((function(t){return t.trim()})).filter(Boolean):[],v=u(r=d)||o(r)||i(r)||c(),m=v[0],b=v.slice(1);y.setContentType([m||"multipart/form-data"].concat(a(b)).join("; "))}if(Kt.hasStandardBrowserEnv&&(l&&jt.isFunction(l)&&(l=l(n)),l||!1!==l&&le(n.url))){var g=f&&p&&fe.read(p);g&&y.set(f,g)}return n},be="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){var n,o,i,a=me(t),u=a.data,c=re.from(a.headers).normalize(),s=a.responseType,l=a.onUploadProgress,f=a.onDownloadProgress;function p(){o&&o(),i&&i(),a.cancelToken&&a.cancelToken.unsubscribe(n),a.signal&&a.signal.removeEventListener("abort",n)}var y=new XMLHttpRequest;function h(){if(y){var n=re.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());ae((function(t){e(t),p()}),(function(t){r(t),p()}),{data:s&&"text"!==s&&"json"!==s?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y}),y=null}}if(y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(h)},y.onabort=function(){y&&(r(new Et("Request aborted",Et.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new Et("Network Error",Et.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){var e=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";a.timeoutErrorMessage&&(e=a.timeoutErrorMessage),r(new Et(e,(a.transitional||Bt).clarifyTimeoutError?Et.ETIMEDOUT:Et.ECONNABORTED,t,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&jt.forEach(c.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),jt.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var v=d(ue(f,!0),2);i=v[1],y.addEventListener("progress",v[0])}if(l&&y.upload){var m=d(ue(l),2);o=m[1],y.upload.addEventListener("progress",m[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(e){y&&(r(!e||e.type?new ie(null,t,y):e),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(n),a.signal&&(a.signal.aborted?n():a.signal.addEventListener("abort",n)));var b,g=(b=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a.url))&&b[1]||"";g&&-1===Kt.protocols.indexOf(g)?r(new Et("Unsupported protocol "+g+":",Et.ERR_BAD_REQUEST,t)):y.send(u||null)}))},ge=function(t,e){var r=t=t?t.filter(Boolean):[];if(e||r.length){var n,o=new AbortController,i=function(t){if(!n){n=!0,u();var e=t instanceof Error?t:this.reason;o.abort(e instanceof Et?e:new ie(e instanceof Error?e.message:e))}},a=e&&setTimeout((function(){a=null,i(new Et("timeout ".concat(e," of ms exceeded"),Et.ETIMEDOUT))}),e),u=function(){t&&(a&&clearTimeout(a),a=null,t.forEach((function(t){t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)})),t=null)};t.forEach((function(t){return t.addEventListener("abort",i)}));var c=o.signal;return c.unsubscribe=function(){return jt.asap(u)},c}},we=P.mark((function t(e,r){var n,o,i;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.byteLength,r&&!(n<r)){t.next=5;break}return t.next=4,e;case 4:return t.abrupt("return");case 5:o=0;case 6:if(!(o<n)){t.next=13;break}return i=o+r,t.next=10,e.slice(o,i);case 10:o=i,t.next=6;break;case 13:case"end":return t.stop()}}),t)})),Oe=function(){var t=m(P.mark((function t(e,r){var n,o,i,a,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=!1,o=!1,t.prev=2,a=_(Se(e));case 4:return t.next=6,g(a.next());case 6:if(!(n=!(u=t.sent).done)){t.next=12;break}return t.delegateYield(w(_(we(u.value,r))),"t0",9);case 9:n=!1,t.next=4;break;case 12:t.next=18;break;case 14:t.prev=14,t.t1=t.catch(2),o=!0,i=t.t1;case 18:if(t.prev=18,t.prev=19,!n||null==a.return){t.next=23;break}return t.next=23,g(a.return());case 23:if(t.prev=23,!o){t.next=26;break}throw i;case 26:return t.finish(23);case 27:return t.finish(18);case 28:case"end":return t.stop()}}),t,null,[[2,14,18,28],[19,,23,27]])})));return function(e,r){return t.apply(this,arguments)}}(),Se=function(){var t=m(P.mark((function t(e){var r,n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e[Symbol.asyncIterator]){t.next=3;break}return t.delegateYield(w(_(e)),"t0",2);case 2:return t.abrupt("return");case 3:r=e.getReader(),t.prev=4;case 5:return t.next=7,g(r.read());case 7:if(o=(n=t.sent).value,!n.done){t.next=12;break}return t.abrupt("break",16);case 12:return t.next=14,o;case 14:t.next=5;break;case 16:return t.prev=16,t.next=19,g(r.cancel());case 19:return t.finish(16);case 20:case"end":return t.stop()}}),t,null,[[4,,16,20]])})));return function(e){return t.apply(this,arguments)}}(),xe=function(t,e,n,o){var i,a=Oe(t,e),u=0,c=function(t){i||(i=!0,o&&o(t))};return new ReadableStream({pull:function(t){return r(P.mark((function e(){var r,o,i,s;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.next();case 3:if(o=(r=e.sent).value,!r.done){e.next=10;break}return c(),t.close(),e.abrupt("return");case 10:i=o.byteLength,n&&(s=u+=i,n(s)),t.enqueue(new Uint8Array(o)),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),c(e.t0),e.t0;case 19:case"end":return e.stop()}}),e,null,[[0,15]])})))()},cancel:function(t){return c(t),a.return()}},{highWaterMark:2})},je="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ee=je&&"function"==typeof ReadableStream,Ae=je&&("function"==typeof TextEncoder?(de=new TextEncoder,function(t){return de.encode(t)}):function(){var t=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=Uint8Array,t.next=3,new Response(e).arrayBuffer();case 3:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),ke=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return!!t.apply(void 0,r)}catch(t){return!1}},Pe=Ee&&ke((function(){var t=!1,e=new Request(Kt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Te=Ee&&ke((function(){return jt.isReadableStream(new Response("").body)})),Re={stream:Te&&function(t){return t.body}};je&&(ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((function(t){!Re[t]&&(Re[t]=jt.isFunction(ve[t])?function(e){return e[t]()}:function(e,r){throw new Et("Response type '".concat(t,"' is not supported"),Et.ERR_NOT_SUPPORT,r)})})));var Le=function(){var t=r(P.mark((function t(e){var r;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e){t.next=2;break}return t.abrupt("return",0);case 2:if(!jt.isBlob(e)){t.next=4;break}return t.abrupt("return",e.size);case 4:if(!jt.isSpecCompliantForm(e)){t.next=9;break}return r=new Request(Kt.origin,{method:"POST",body:e}),t.next=8,r.arrayBuffer();case 8:case 15:return t.abrupt("return",t.sent.byteLength);case 9:if(!jt.isArrayBufferView(e)&&!jt.isArrayBuffer(e)){t.next=11;break}return t.abrupt("return",e.byteLength);case 11:if(jt.isURLSearchParams(e)&&(e+=""),!jt.isString(e)){t.next=16;break}return t.next=15,Ae(e);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_e=function(){var t=r(P.mark((function t(e,r){var n;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=jt.toFiniteNumber(e.getContentLength()),t.abrupt("return",null==n?Le(r):n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Ie=je&&function(){var t=r(P.mark((function t(e){var r,n,o,i,a,u,c,s,l,f,p,y,h,v,m,b,g,w,O,S,x,j,E,A,k,T,R,_,I,N,U;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=me(e),n=r.url,o=r.method,i=r.data,a=r.signal,u=r.cancelToken,c=r.timeout,s=r.onDownloadProgress,l=r.onUploadProgress,p=r.headers,h=void 0===(y=r.withCredentials)?"same-origin":y,v=r.fetchOptions,f=(f=r.responseType)?(f+"").toLowerCase():"text",m=ge([a,u&&u.toAbortSignal()],c),g=m&&m.unsubscribe&&function(){m.unsubscribe()},t.prev=4,t.t0=l&&Pe&&"get"!==o&&"head"!==o,!t.t0){t.next=11;break}return t.next=9,_e(p,i);case 9:t.t1=w=t.sent,t.t0=0!==t.t1;case 11:if(!t.t0){t.next=15;break}O=new Request(n,{method:"POST",body:i,duplex:"half"}),jt.isFormData(i)&&(S=O.headers.get("content-type"))&&p.setContentType(S),O.body&&(x=ce(w,ue(se(l))),j=d(x,2),i=xe(O.body,65536,j[0],j[1]));case 15:return jt.isString(h)||(h=h?"include":"omit"),E="credentials"in Request.prototype,b=new Request(n,L(L({},v),{},{signal:m,method:o.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:E?h:void 0})),t.next=20,fetch(b);case 20:return A=t.sent,k=Te&&("stream"===f||"response"===f),Te&&(s||k&&g)&&(T={},["status","statusText","headers"].forEach((function(t){T[t]=A[t]})),R=jt.toFiniteNumber(A.headers.get("content-length")),_=s&&ce(R,ue(se(s),!0))||[],I=d(_,2),N=I[1],A=new Response(xe(A.body,65536,I[0],(function(){N&&N(),g&&g()})),T)),f=f||"text",t.next=26,Re[jt.findKey(Re,f)||"text"](A,e);case 26:return U=t.sent,!k&&g&&g(),t.next=30,new Promise((function(t,r){ae(t,r,{data:U,headers:re.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:b})}));case 30:return t.abrupt("return",t.sent);case 33:if(t.prev=33,t.t2=t.catch(4),g&&g(),!t.t2||"TypeError"!==t.t2.name||!/fetch/i.test(t.t2.message)){t.next=38;break}throw Object.assign(new Et("Network Error",Et.ERR_NETWORK,e,b),{cause:t.t2.cause||t.t2});case 38:throw Et.from(t.t2,t.t2&&t.t2.code,e,b);case 39:case"end":return t.stop()}}),t,null,[[4,33]])})));return function(e){return t.apply(this,arguments)}}(),Ne={http:null,xhr:be,fetch:Ie};jt.forEach(Ne,(function(t,e){if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));var Ue=function(t){return"- ".concat(t)},Ce=function(t){return jt.isFunction(t)||null===t||!1===t},Fe=function(t){for(var e,r,n=(t=jt.isArray(t)?t:[t]).length,o={},i=0;i<n;i++){var a=void 0;if(r=e=t[i],!Ce(e)&&void 0===(r=Ne[(a=String(e)).toLowerCase()]))throw new Et("Unknown adapter '".concat(a,"'"));if(r)break;o[a||"#"+i]=r}if(!r){var u=Object.entries(o).map((function(t){var e=d(t,2),r=e[1];return"adapter ".concat(e[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Et("There is no suitable adapter to dispatch the request "+(n?u.length>1?"since :\n"+u.map(Ue).join("\n"):" "+Ue(u[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function De(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ie(null,t)}function Be(t){return De(t),t.headers=re.from(t.headers),t.data=ne.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fe(t.adapter||Vt.adapter)(t).then((function(e){return De(t),e.data=ne.call(t,t.transformResponse,e),e.headers=re.from(e.headers),e}),(function(e){return oe(e)||(De(t),e&&e.response&&(e.response.data=ne.call(t,t.transformResponse,e.response),e.response.headers=re.from(e.response.headers))),Promise.reject(e)}))}var Me={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){Me[t]=function(r){return s(r)===t||"a"+(e<1?"n ":" ")+t}}));var qe={};Me.transitional=function(t,e,r){return function(n,o,i){if(!1===t)throw new Et(function(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}(o," has been removed"+(e?" in "+e:"")),Et.ERR_DEPRECATED);return e&&!qe[o]&&(qe[o]=!0),!t||t(n,o,i)}};var We={assertOptions:function(t,e,r){if("object"!==s(t))throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],c=void 0===u||a(u,i,t);if(!0!==c)throw new Et("option "+i+" must be "+c,Et.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Et("Unknown option "+i,Et.ERR_BAD_OPTION)}},validators:Me},ze=We.validators,Ge=function(){return h((function t(e){p(this,t),this.defaults=e,this.interceptors={request:new Dt,response:new Dt}}),[{key:"request",value:(t=r(P.mark((function t(e,r){var n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._request(e,r);case 3:return t.abrupt("return",t.sent);case 6:if(t.prev=6,t.t0=t.catch(0),t.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error,o=n.stack?n.stack.replace(/^.+\n/,""):"";try{t.t0.stack?o&&!String(t.t0.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(t.t0.stack+="\n"+o):t.t0.stack=o}catch(t){}}throw t.t0;case 10:case"end":return t.stop()}}),t,this,[[0,6]])}))),function(e,r){return t.apply(this,arguments)})},{key:"_request",value:function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{};var r=(e=he(this.defaults,e)).transitional,n=e.paramsSerializer,o=e.headers;void 0!==r&&We.assertOptions(r,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1),null!=n&&(jt.isFunction(n)?e.paramsSerializer={serialize:n}:We.assertOptions(n,{encode:ze.function,serialize:ze.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();var i=o&&jt.merge(o.common,o[e.method]);o&&jt.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete o[t]})),e.headers=re.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(u=u&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var c,s=[];this.interceptors.response.forEach((function(t){s.push(t.fulfilled,t.rejected)}));var l,f=0;if(!u){var p=[Be.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,s),l=p.length,c=Promise.resolve(e);f<l;)c=c.then(p[f++],p[f++]);return c}l=a.length;var y=e;for(f=0;f<l;){var h=a[f++],d=a[f++];try{y=h(y)}catch(t){d.call(this,t);break}}try{c=Be.call(this,y)}catch(t){return Promise.reject(t)}for(f=0,l=s.length;f<l;)c=c.then(s[f++],s[f++]);return c}},{key:"getUri",value:function(t){return Ft(pe((t=he(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}]);var t}();jt.forEach(["delete","get","head","options"],(function(t){Ge.prototype[t]=function(e,r){return this.request(he(r||{},{method:t,url:e,data:(r||{}).data}))}})),jt.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(he(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ge.prototype[t]=e(),Ge.prototype[t+"Form"]=e(!0)}));var He=Ge,Ke=function(){function t(e){if(p(this,t),"function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){for(var e=n._listeners.length;e-- >0;)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(t,e,o){n.reason||(n.reason=new ie(t,e,o),r(n.reason))}))}return h(t,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}},{key:"unsubscribe",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"toAbortSignal",value:function(){var t=this,e=new AbortController,r=function(t){e.abort(t)};return this.subscribe(r),e.signal.unsubscribe=function(){return t.unsubscribe(r)},e.signal}}],[{key:"source",value:function(){var e;return{token:new t((function(t){e=t})),cancel:e}}}])}(),Je=Ke,$e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($e).forEach((function(t){var e=d(t,2);$e[e[1]]=e[0]}));var Ve=$e,Qe=function t(e){var r=new He(e),n=N(He.prototype.request,r);return jt.extend(n,He.prototype,r,{allOwnKeys:!0}),jt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(he(e,r))},n}(Vt);Qe.Axios=He,Qe.CanceledError=ie,Qe.CancelToken=Je,Qe.isCancel=oe,Qe.VERSION="1.7.7",Qe.toFormData=_t,Qe.AxiosError=Et,Qe.Cancel=Qe.CanceledError,Qe.all=function(t){return Promise.all(t)},Qe.spread=function(t){return function(e){return t.apply(null,e)}},Qe.isAxiosError=function(t){return jt.isObject(t)&&!0===t.isAxiosError},Qe.mergeConfig=he,Qe.AxiosHeaders=re,Qe.formToJSON=function(t){return Jt(jt.isHTMLForm(t)?new FormData(t):t)},Qe.getAdapter=Fe,Qe.HttpStatusCode=Ve,Qe.default=Qe;var Xe,Ye=O(Qe),Ze={exports:{}};Xe=function(){var t=Function.prototype.toString,e=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),h=function(r,n){var o=r.__proto__||a(r);if(!o)return e(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:e(o);if(~t.call(i).indexOf("[native code]"))try{return new i}catch(t){}return e(o)},d=function(t,e,r,n){var o=h(t,e);for(var a in n.set(t,o),t)c.call(t,a)&&(o[a]=r(t[a],n));if(f)for(var u=i(t),s=0,p=u.length,y=void 0;s<p;++s)l.call(t,y=u[s])&&(o[y]=r(t[y],n));return o},v=function(t,e,a,u){var c=h(t,e);u.set(t,c);for(var s=f?o(t).concat(i(t)):o(t),l=0,p=s.length,y=void 0,d=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(d=n(t,y)){d.get||d.set||(d.value=a(t[y],u));try{r(c,y,d)}catch(t){c[y]=d.value}}else c[y]=a(t[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(t,e){var r=!(!e||!e.isStrict),n=e&&e.realm||g,o=r?v:d,i=function(t,e){if(!t||"object"!==s(t))return t;if(e.has(t))return e.get(t);var a,u,c,l=t.__proto__||b(t),f=l&&l.constructor;if(!f||f===n.Object)return o(t,n,i,e);if(m(t)){if(r)return v(t,n,i,e);e.set(t,a=new f);for(var p=0,y=t.length;p<y;++p)a[p]=i(t[p],e);return a}if(t instanceof n.Date)return new f(t.getTime());if(t instanceof n.RegExp)return(a=new f(t.source,t.flags||(c="",(u=t).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=t.lastIndex,a;if(n.Map&&t instanceof n.Map)return e.set(t,a=new f),t.forEach((function(t,r){a.set(r,i(t,e))})),a;if(n.Set&&t instanceof n.Set)return e.set(t,a=new f),t.forEach((function(t){a.add(i(t,e))})),a;if(n.Blob&&t instanceof n.Blob)return t.slice(0,t.size,t.type);if(n.Buffer&&n.Buffer.isBuffer(t))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(t.length):new f(t.length),e.set(t,a),t.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(t))return a=new f(t.buffer.slice(0)),e.set(t,a),a;if(t instanceof n.ArrayBuffer)return a=t.slice(0),e.set(t,a),a}return"function"==typeof t.then||t instanceof Error||n.WeakMap&&t instanceof n.WeakMap||n.WeakSet&&t instanceof n.WeakSet?t:o(t,n,i,e)};return i(t,y())}return w.default=w,w.strict=function(t,e){return w(t,{isStrict:!0,realm:e?e.realm:void 0})},w},Ze.exports=Xe();var tr,er=O(Ze.exports),rr=Error,nr=EvalError,or=RangeError,ir=ReferenceError,ar=SyntaxError,ur=TypeError,cr=URIError,sr="undefined"!=typeof Symbol&&Symbol,lr={__proto__:null,foo:{}},fr=Object,pr=Object.prototype.toString,yr=Math.max,hr=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},dr=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==pr.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t){for(var e=[],r=1,n=0;r<t.length;r+=1,n+=1)e[n]=t[r];return e}(arguments),o=yr(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t){for(var e="",r=0;r<t.length;r+=1)e+=t[r],r+1<t.length&&(e+=",");return e}(i)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,hr(n,arguments));return Object(o)===o?o:this}return e.apply(t,hr(n,arguments))})),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},vr=dr.call(Function.prototype.call,Object.prototype.hasOwnProperty),mr=rr,br=nr,gr=or,wr=ir,Or=ar,Sr=ur,xr=cr,jr=Function,Er=function(t){try{return jr('"use strict"; return ('+t+").constructor;")()}catch(t){}},Ar=Object.getOwnPropertyDescriptor;if(Ar)try{Ar({},"")}catch(t){Ar=null}var kr=function(){throw new Sr},Pr=Ar?function(){try{return kr}catch(t){try{return Ar(arguments,"callee").get}catch(t){return kr}}}():kr,Tr="function"==typeof sr&&"function"==typeof Symbol&&"symbol"===s(sr("foo"))&&"symbol"===s(Symbol("bar"))&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===s(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),Rr=Object.getPrototypeOf||({__proto__:lr}.foo!==lr.foo||lr instanceof fr?null:function(t){return t.__proto__}),Lr={},_r="undefined"!=typeof Uint8Array&&Rr?Rr(Uint8Array):tr,Ir={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?tr:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?tr:ArrayBuffer,"%ArrayIteratorPrototype%":Tr&&Rr?Rr([][Symbol.iterator]()):tr,"%AsyncFromSyncIteratorPrototype%":tr,"%AsyncFunction%":Lr,"%AsyncGenerator%":Lr,"%AsyncGeneratorFunction%":Lr,"%AsyncIteratorPrototype%":Lr,"%Atomics%":"undefined"==typeof Atomics?tr:Atomics,"%BigInt%":"undefined"==typeof BigInt?tr:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?tr:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?tr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?tr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":mr,"%eval%":eval,"%EvalError%":br,"%Float32Array%":"undefined"==typeof Float32Array?tr:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?tr:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?tr:FinalizationRegistry,"%Function%":jr,"%GeneratorFunction%":Lr,"%Int8Array%":"undefined"==typeof Int8Array?tr:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?tr:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?tr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tr&&Rr?Rr(Rr([][Symbol.iterator]())):tr,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":s(JSON))?JSON:tr,"%Map%":"undefined"==typeof Map?tr:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Tr&&Rr?Rr((new Map)[Symbol.iterator]()):tr,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?tr:Promise,"%Proxy%":"undefined"==typeof Proxy?tr:Proxy,"%RangeError%":gr,"%ReferenceError%":wr,"%Reflect%":"undefined"==typeof Reflect?tr:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?tr:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Tr&&Rr?Rr((new Set)[Symbol.iterator]()):tr,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?tr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tr&&Rr?Rr(""[Symbol.iterator]()):tr,"%Symbol%":Tr?Symbol:tr,"%SyntaxError%":Or,"%ThrowTypeError%":Pr,"%TypedArray%":_r,"%TypeError%":Sr,"%Uint8Array%":"undefined"==typeof Uint8Array?tr:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?tr:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?tr:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?tr:Uint32Array,"%URIError%":xr,"%WeakMap%":"undefined"==typeof WeakMap?tr:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?tr:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?tr:WeakSet};if(Rr)try{null.error}catch(t){var Nr=Rr(Rr(t));Ir["%Error.prototype%"]=Nr}var Ur,Cr,Fr=function t(e){var r;if("%AsyncFunction%"===e)r=Er("async function () {}");else if("%GeneratorFunction%"===e)r=Er("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Er("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&Rr&&(r=Rr(o.prototype))}return Ir[e]=r,r},Dr={__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"]},Br=dr,Mr=vr,qr=Br.call(Function.call,Array.prototype.concat),Wr=Br.call(Function.apply,Array.prototype.splice),zr=Br.call(Function.call,String.prototype.replace),Gr=Br.call(Function.call,String.prototype.slice),Hr=Br.call(Function.call,RegExp.prototype.exec),Kr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jr=/\\(\\)?/g,$r=function(t,e){var r,n=t;if(Mr(Dr,n)&&(n="%"+(r=Dr[n])[0]+"%"),Mr(Ir,n)){var o=Ir[n];if(o===Lr&&(o=Fr(n)),void 0===o&&!e)throw new Sr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Or("intrinsic "+t+" does not exist!")},Vr=function(t,e){if("string"!=typeof t||0===t.length)throw new Sr("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Sr('"allowMissing" argument must be a boolean');if(null===Hr(/^%?[^%]*%?$/,t))throw new Or("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=Gr(t,0,1),r=Gr(t,-1);if("%"===e&&"%"!==r)throw new Or("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Or("invalid intrinsic syntax, expected opening `%`");var n=[];return zr(t,Kr,(function(t,e,r,o){n[n.length]=r?zr(o,Jr,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=$r("%"+n+"%",e),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Wr(r,qr([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=Gr(f,0,1),y=Gr(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new Or("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),Mr(Ir,i="%"+(n+="."+f)+"%"))a=Ir[i];else if(null!=a){if(!(f in a)){if(!e)throw new Sr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Ar&&s+1>=r.length){var h=Ar(a,f);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[f]}else l=Mr(a,f),a=a[f];l&&!u&&(Ir[i]=a)}}return a},Qr={exports:{}};function Xr(){if(Cr)return Ur;Cr=1;var t=Vr("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return Ur=t}var Yr=Vr("%Object.getOwnPropertyDescriptor%",!0);if(Yr)try{Yr([],"length")}catch(t){Yr=null}var Zr=Yr,tn=Xr(),en=ar,rn=ur,nn=Zr,on=Xr(),an=function(){return!!on};an.hasArrayLengthDefineBug=function(){if(!on)return null;try{return 1!==on([],"length",{value:1}).length}catch(t){return!0}};var un=Vr,cn=function(t,e,r){if(!t||"object"!==s(t)&&"function"!=typeof t)throw new rn("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!==s(e))throw new rn("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new rn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new rn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new rn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new rn("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],u=!!nn&&nn(t,e);if(tn)tn(t,e,{configurable:null===i&&u?u.configurable:!i,enumerable:null===n&&u?u.enumerable:!n,value:r,writable:null===o&&u?u.writable:!o});else{if(!a&&(n||o||i))throw new en("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}},sn=an(),ln=Zr,fn=ur,pn=un("%Math.floor%"),yn=function(t,e){if("function"!=typeof t)throw new fn("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||pn(e)!==e)throw new fn("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in t&&ln){var i=ln(t,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(sn?cn(t,"length",e,!0,!0):cn(t,"length",e)),t};!function(t){var e=dr,r=Vr,n=yn,o=ur,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||e.call(a,i),c=Xr(),s=r("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new o("a function is required");var r=u(e,a,arguments);return n(r,1+s(0,t.length-(arguments.length-1)),!0)};var l=function(){return u(e,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(Qr);var hn=Vr,dn=Qr.exports,vn=dn(hn("String.prototype.indexOf")),mn=S(Object.freeze({__proto__:null,default:{}})),bn="function"==typeof Map&&Map.prototype,gn=Object.getOwnPropertyDescriptor&&bn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,wn=bn&&gn&&"function"==typeof gn.get?gn.get:null,On=bn&&Map.prototype.forEach,Sn="function"==typeof Set&&Set.prototype,xn=Object.getOwnPropertyDescriptor&&Sn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,jn=Sn&&xn&&"function"==typeof xn.get?xn.get:null,En=Sn&&Set.prototype.forEach,An="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,kn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Pn="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Tn=Boolean.prototype.valueOf,Rn=Object.prototype.toString,Ln=Function.prototype.toString,_n=String.prototype.match,In=String.prototype.slice,Nn=String.prototype.replace,Un=String.prototype.toUpperCase,Cn=String.prototype.toLowerCase,Fn=RegExp.prototype.test,Dn=Array.prototype.concat,Bn=Array.prototype.join,Mn=Array.prototype.slice,qn=Math.floor,Wn="function"==typeof BigInt?BigInt.prototype.valueOf:null,zn=Object.getOwnPropertySymbols,Gn="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?Symbol.prototype.toString:null,Hn="function"==typeof Symbol&&"object"===s(Symbol.iterator),Kn="function"==typeof Symbol&&Symbol.toStringTag&&(s(Symbol.toStringTag),1)?Symbol.toStringTag:null,Jn=Object.prototype.propertyIsEnumerable,$n=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Vn(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Fn.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-qn(-t):qn(t);if(n!==t){var o=String(n),i=In.call(e,o.length+1);return Nn.call(o,r,"$&_")+"."+Nn.call(Nn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Nn.call(e,r,"$&_")}var Qn=mn,Xn=Qn.custom,Yn=no(Xn)?Xn:null;function Zn(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function to(t){return Nn.call(String(t),/"/g,"&quot;")}function eo(t){return!("[object Array]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}function ro(t){return!("[object RegExp]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}function no(t){if(Hn)return t&&"object"===s(t)&&t instanceof Symbol;if("symbol"===s(t))return!0;if(!t||"object"!==s(t)||!Gn)return!1;try{return Gn.call(t),!0}catch(t){}return!1}var oo=Object.prototype.hasOwnProperty||function(t){return t in this};function io(t,e){return oo.call(t,e)}function ao(t){return Rn.call(t)}function uo(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function co(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return co(In.call(t,0,e.maxStringLength),e)+n}return Zn(Nn.call(Nn.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,so),"single",e)}function so(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Un.call(e.toString(16))}function lo(t){return"Object("+t+")"}function fo(t){return t+" { ? }"}function po(t,e,r,n){return t+" ("+e+") {"+(n?yo(r,n):Bn.call(r,", "))+"}"}function yo(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Bn.call(t,","+r)+"\n"+e.prev}function ho(t,e){var r=eo(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=io(t,o)?e(t[o],t):""}var i,a="function"==typeof zn?zn(t):[];if(Hn){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in t)io(t,c)&&(r&&String(Number(c))===c&&c<t.length||Hn&&i["$"+c]instanceof Symbol||(Fn.call(/[^\w$]/,c)?n.push(e(c,t)+": "+e(t[c],t)):n.push(c+": "+e(t[c],t))));if("function"==typeof zn)for(var s=0;s<a.length;s++)Jn.call(t,a[s])&&n.push("["+e(a[s])+"]: "+e(t[a[s]],t));return n}var vo=Vr,mo=function(t,e){var r=hn(t,!!e);return"function"==typeof r&&vn(t,".prototype.")>-1?dn(r):r},bo=function t(e,r,n,o){var i=r||{};if(io(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(io(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!io(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(io(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(io(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return co(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var c=String(e);return u?Vn(e,c):c}if("bigint"==typeof e){var l=String(e)+"n";return u?Vn(e,l):l}var f=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"===s(e))return eo(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Bn.call(Array(t.indent+1)," ")}return{base:r,prev:Bn.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(uo(o,e)>=0)return"[Circular]";function y(e,r,a){if(r&&(o=Mn.call(o)).push(r),a){var u={depth:i.depth};return io(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!ro(e)){var h=function(t){if(t.name)return t.name;var e=_n.call(Ln.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),d=ho(e,y);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Bn.call(d,", ")+" }":"")}if(no(e)){var v=Hn?Nn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Gn.call(e);return"object"!==s(e)||Hn?v:lo(v)}if(function(t){return!(!t||"object"!==s(t))&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var m="<"+Cn.call(String(e.nodeName)),b=e.attributes||[],g=0;g<b.length;g++)m+=" "+b[g].name+"="+Zn(to(b[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+Cn.call(String(e.nodeName))+">"}if(eo(e)){if(0===e.length)return"[]";var w=ho(e,y);return p&&!function(t){for(var e=0;e<t.length;e++)if(uo(t[e],"\n")>=0)return!1;return!0}(w)?"["+yo(w,p)+"]":"[ "+Bn.call(w,", ")+" ]"}if(function(t){return!("[object Error]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e)){var O=ho(e,y);return"cause"in Error.prototype||!("cause"in e)||Jn.call(e,"cause")?0===O.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Bn.call(O,", ")+" }":"{ ["+String(e)+"] "+Bn.call(Dn.call("[cause]: "+y(e.cause),O),", ")+" }"}if("object"===s(e)&&a){if(Yn&&"function"==typeof e[Yn]&&Qn)return Qn(e,{depth:f-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!wn||!t||"object"!==s(t))return!1;try{wn.call(t);try{jn.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var S=[];return On&&On.call(e,(function(t,r){S.push(y(r,e,!0)+" => "+y(t,e))})),po("Map",wn.call(e),S,p)}if(function(t){if(!jn||!t||"object"!==s(t))return!1;try{jn.call(t);try{wn.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var x=[];return En&&En.call(e,(function(t){x.push(y(t,e))})),po("Set",jn.call(e),x,p)}if(function(t){if(!An||!t||"object"!==s(t))return!1;try{An.call(t,An);try{kn.call(t,kn)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return fo("WeakMap");if(function(t){if(!kn||!t||"object"!==s(t))return!1;try{kn.call(t,kn);try{An.call(t,An)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return fo("WeakSet");if(function(t){if(!Pn||!t||"object"!==s(t))return!1;try{return Pn.call(t),!0}catch(t){}return!1}(e))return fo("WeakRef");if(function(t){return!("[object Number]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(y(Number(e)));if(function(t){if(!t||"object"!==s(t)||!Wn)return!1;try{return Wn.call(t),!0}catch(t){}return!1}(e))return lo(y(Wn.call(e)));if(function(t){return!("[object Boolean]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(Tn.call(e));if(function(t){return!("[object String]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(y(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||"undefined"!=typeof global&&e===global)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e)&&!ro(e)){var j=ho(e,y),E=$n?$n(e)===Object.prototype:e instanceof Object||e.constructor===Object,A=e instanceof Object?"":"null prototype",k=!E&&Kn&&Object(e)===e&&Kn in e?In.call(ao(e),8,-1):A?"Object":"",P=(E||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(k||A?"["+Bn.call(Dn.call([],k||[],A||[]),": ")+"] ":"");return 0===j.length?P+"{}":p?P+"{"+yo(j,p)+"}":P+"{ "+Bn.call(j,", ")+" }"}return String(e)},go=ur,wo=vo("%WeakMap%",!0),Oo=vo("%Map%",!0),So=mo("WeakMap.prototype.get",!0),xo=mo("WeakMap.prototype.set",!0),jo=mo("WeakMap.prototype.has",!0),Eo=mo("Map.prototype.get",!0),Ao=mo("Map.prototype.set",!0),ko=mo("Map.prototype.has",!0),Po=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},To=String.prototype.replace,Ro=/%20/g,Lo="RFC3986",_o={default:Lo,formatters:{RFC1738:function(t){return To.call(t,Ro,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:Lo},Io=_o,No=Object.prototype.hasOwnProperty,Uo=Array.isArray,Co=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Fo=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},Do=1024,Bo={arrayToObject:Fo,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var c=a[u],l=i[c];"object"===s(l)&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:i,prop:c}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(Uo(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"===s(t)?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;u+=Do){for(var c=i.length>=Do?i.slice(u,u+Do):i,l=[],f=0;f<c.length;++f){var p=c.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===Io.RFC1738&&(40===p||41===p)?l[l.length]=c.charAt(f):p<128?l[l.length]=Co[p]:p<2048?l[l.length]=Co[192|p>>6]+Co[128|63&p]:p<55296||p>=57344?l[l.length]=Co[224|p>>12]+Co[128|p>>6&63]+Co[128|63&p]:(p=65536+((1023&p)<<10|1023&c.charCodeAt(f+=1)),l[l.length]=Co[240|p>>18]+Co[128|p>>12&63]+Co[128|p>>6&63]+Co[128|63&p])}a+=l.join("")}return a},isBuffer:function(t){return!(!t||"object"!==s(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(Uo(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!==s(r)){if(Uo(e))e.push(r);else{if(!e||"object"!==s(e))return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!No.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!==s(e))return[e].concat(r);var o=e;return Uo(e)&&!Uo(r)&&(o=Fo(e,n)),Uo(e)&&Uo(r)?(r.forEach((function(r,o){if(No.call(e,o)){var i=e[o];i&&"object"===s(i)&&r&&"object"===s(r)?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=No.call(e,o)?t(e[o],i,n):i,e}),o)}},Mo=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new go("Side channel does not contain "+bo(t))},get:function(n){if(wo&&n&&("object"===s(n)||"function"==typeof n)){if(t)return So(t,n)}else if(Oo){if(e)return Eo(e,n)}else if(r)return function(t,e){var r=Po(t,e);return r&&r.value}(r,n)},has:function(n){if(wo&&n&&("object"===s(n)||"function"==typeof n)){if(t)return jo(t,n)}else if(Oo){if(e)return ko(e,n)}else if(r)return function(t,e){return!!Po(t,e)}(r,n);return!1},set:function(n,o){wo&&n&&("object"===s(n)||"function"==typeof n)?(t||(t=new wo),xo(t,n,o)):Oo?(e||(e=new Oo),Ao(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=Po(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},qo=Bo,Wo=_o,zo=Object.prototype.hasOwnProperty,Go={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},Ho=Array.isArray,Ko=Array.prototype.push,Jo=function(t,e){Ko.apply(t,Ho(e)?e:[e])},$o=Date.prototype.toISOString,Vo=Wo.default,Qo={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qo.encode,encodeValuesOnly:!1,format:Vo,formatter:Wo.formatters[Vo],indices:!1,serializeDate:function(t){return $o.call(t)},skipNulls:!1,strictNullHandling:!1},Xo={},Yo=function t(e,r,n,o,i,a,u,c,l,f,p,y,h,d,v,m,b,g){for(var w,O=e,S=g,x=0,j=!1;void 0!==(S=S.get(Xo))&&!j;){var E=S.get(e);if(x+=1,void 0!==E){if(E===x)throw new RangeError("Cyclic object value");j=!0}void 0===S.get(Xo)&&(x=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=h(O):"comma"===n&&Ho(O)&&(O=qo.maybeMap(O,(function(t){return t instanceof Date?h(t):t}))),null===O){if(a)return l&&!m?l(r,Qo.encoder,b,"key",d):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===s(w)||"bigint"==typeof w||qo.isBuffer(O))return l?[v(m?r:l(r,Qo.encoder,b,"key",d))+"="+v(l(O,Qo.encoder,b,"value",d))]:[v(r)+"="+v(String(O))];var A,k=[];if(void 0===O)return k;if("comma"===n&&Ho(O))m&&l&&(O=qo.maybeMap(O,l)),A=[{value:O.length>0?O.join(",")||null:void 0}];else if(Ho(f))A=f;else{var P=Object.keys(O);A=p?P.sort(p):P}var T=c?r.replace(/\./g,"%2E"):r,R=o&&Ho(O)&&1===O.length?T+"[]":T;if(i&&Ho(O)&&0===O.length)return R+"[]";for(var L=0;L<A.length;++L){var _=A[L],I="object"===s(_)&&void 0!==_.value?_.value:O[_];if(!u||null!==I){var N=y&&c?_.replace(/\./g,"%2E"):_,U=Ho(O)?"function"==typeof n?n(R,N):R:R+(y?"."+N:"["+N+"]");g.set(e,x);var C=Mo();C.set(Xo,g),Jo(k,t(I,U,n,o,i,a,u,c,"comma"===n&&m&&Ho(O)?null:l,f,p,y,h,d,v,m,b,C))}}return k},Zo=Bo,ti=Object.prototype.hasOwnProperty,ei=Array.isArray,ri={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Zo.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},ni=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},oi=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},ii=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&ti.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&ti.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+o.slice(a.index)+"]")}return function(t,e,r,n){for(var o=n?e:oi(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(s,10);r.parseArrays||""!==s?!isNaN(l)&&u!==s&&String(l)===s&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(c,e,r,n)}},ai=O({formats:_o,parse:function(t,e){var r=function(t){if(!t)return ri;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!=t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?ri.charset:t.charset,r=void 0===t.duplicates?ri.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||ri.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:ri.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:ri.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:ri.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:ri.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:ri.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:ri.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:ri.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:ri.decoder,delimiter:"string"==typeof t.delimiter||Zo.isRegExp(t.delimiter)?t.delimiter:ri.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:ri.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:ri.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:ri.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:ri.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:ri.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:ri.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=(o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]")).split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),a=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[r]?u="utf-8":"utf8=%26%2310003%3B"===i[r]&&(u="iso-8859-1"),a=r,r=i.length);for(r=0;r<i.length;++r)if(r!==a){var c,s,l=i[r],f=l.indexOf("]="),p=-1===f?l.indexOf("="):f+1;-1===p?(c=e.decoder(l,ri.decoder,u,"key"),s=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,p),ri.decoder,u,"key"),s=Zo.maybeMap(oi(l.slice(p+1),e),(function(t){return e.decoder(t,ri.decoder,u,"value")}))),s&&e.interpretNumericEntities&&"iso-8859-1"===u&&(s=ni(s)),l.indexOf("[]=")>-1&&(s=ei(s)?[s]:s);var y=ti.call(n,c);y&&"combine"===e.duplicates?n[c]=Zo.combine(n[c],s):y&&"last"!==e.duplicates||(n[c]=s)}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=ii(u,n[u],r,"string"==typeof t);o=Zo.merge(o,c,r)}return!0===r.allowSparse?o:Zo.compact(o)},stringify:function(t,e){var r,n=t,o=function(t){if(!t)return Qo;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!=t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||Qo.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Wo.default;if(void 0!==t.format){if(!zo.call(Wo.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=Wo.formatters[r],i=Qo.filter;if(("function"==typeof t.filter||Ho(t.filter))&&(i=t.filter),n=t.arrayFormat in Go?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":Qo.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:Qo.addQueryPrefix,allowDots:void 0===t.allowDots?!0===t.encodeDotInKeys||Qo.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:Qo.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Qo.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?Qo.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:Qo.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:Qo.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:Qo.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:Qo.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:Qo.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:Qo.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Qo.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):Ho(o.filter)&&(r=o.filter);var i=[];if("object"!==s(n)||null===n)return"";var a=Go[o.arrayFormat],u="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=Mo(),l=0;l<r.length;++l){var f=r[l];o.skipNulls&&null===n[f]||Jo(i,Yo(n[f],f,a,u,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var p=i.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(y+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),p.length>0?y+p:""}}),ui=Object.prototype.toString,ci=Array.isArray,si=O((function(t){return"string"==typeof t||!ci(t)&&function(t){return!!t&&"object"==s(t)}(t)&&"[object String]"==ui.call(t)}));function li(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},fi(t)}function pi(t,e){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pi(t,e)}function yi(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pi(t,e)}function hi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(hi=function(){return!!t})()}function di(t){var e="function"==typeof Map?new Map:void 0;return di=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(hi())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&pi(o,r.prototype),o}(t,arguments,fi(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pi(r,t)},di(t)}var vi={exports:{}};function mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(bi=function(){return!!t})()}var gi=function(t){function e(){var t,r,n,o;return p(this,e),r=this,o=["Throttled function aborted"],n=fi(n=e),(t=li(r,bi()?Reflect.construct(n,o||[],fi(r).constructor):n.apply(r,o))).name="AbortError",t}return yi(e,t),h(e)}(di(Error));vi.exports=function(t){var e=t.limit,n=t.interval,o=t.strict;if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");var i=new Map,a=0,u=0,c=[],s=o?function(){var t=Date.now();if(c.length<e)return c.push(t),0;var r=c.shift()+n;return t>=r?(c.push(t),0):(c.push(r),r-t)}:function(){var t=Date.now();return t-a>n?(u=1,a=t,0):(u<e?u++:(a+=n,u=1),a-t)};return function(t){var e=function(){for(var n,o=this,a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return e.isEnabled?new Promise((function(e,r){n=setTimeout((function(){e(t.apply(o,u)),i.delete(n)}),s()),i.set(n,r)})):r(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.apply(o,u));case 1:case"end":return e.stop()}}),e)})))()};return e.abort=function(){var t,e=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return mi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mi(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(i.keys());try{for(e.s();!(t=e.n()).done;){var r=t.value;clearTimeout(r),i.get(r)(new gi)}}catch(t){e.e(t)}finally{e.f()}i.clear(),c.splice(0,c.length)},e.isEnabled=!0,e}},vi.exports.AbortError=gi;var wi,Oi,Si=O(vi.exports),xi=Object.prototype,ji=Function.prototype.toString,Ei=xi.hasOwnProperty,Ai=ji.call(Object),ki=xi.toString,Pi=(wi=Object.getPrototypeOf,Oi=Object,function(t){return wi(Oi(t))}),Ti=O((function(t){if(!function(t){return!!t&&"object"==s(t)}(t)||"[object Object]"!=ki.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=Pi(t);if(null===e)return!0;var r=Ei.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&ji.call(r)==Ai}));function Ri(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Li(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function _i(t,e,r){return(e=function(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ii(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ni(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(r),!0).forEach((function(e){_i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ui(){Ui=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=Object.create((e&&e.prototype instanceof b?e:b).prototype);return o(i,"_invoke",{value:k(t,r,new L(n||[]))}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",h="suspendedYield",d="executing",v="completed",m={};function b(){}function g(){}function w(){}var O={};l(O,a,(function(){return this}));var S=Object.getPrototypeOf,x=S&&S(S(_([])));x&&x!==r&&n.call(x,a)&&(O=x);var j=w.prototype=b.prototype=Object.create(O);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var c=p(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=P(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(s(e)+" is not iterable")}return g.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(A.prototype),l(A.prototype,u,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new A(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),l(j,c,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Ci(t,e){return Ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ci(t,e)}function Fi(t){return Fi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fi(t)}function Di(t,e){if(t){if("string"==typeof t)return Ri(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ri(t,e):void 0}}function Bi(){Bi=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,n,o){var i=RegExp(t,n);return e.set(i,o||e.get(t)),Ci(i,r.prototype)}function n(t,r){var n=e.get(r);return Object.keys(n).reduce((function(e,r){var o=n[r];if("number"==typeof o)e[r]=t[o];else{for(var i=0;void 0===t[o[i]]&&i+1<o.length;)i++;e[r]=t[o[i]]}return e}),Object.create(null))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ci(t,e)}(r,RegExp),r.prototype.exec=function(e){var r=t.exec.call(this,e);if(r){r.groups=n(r,this);var o=r.indices;o&&(o.groups=n(o,this))}return r},r.prototype[Symbol.replace]=function(r,o){if("string"==typeof o){var i=e.get(this);return t[Symbol.replace].call(this,r,o.replace(/\$<([^>]+)>/g,(function(t,e){var r=i[e];return"$"+(Array.isArray(r)?r.join("$"):r)})))}if("function"==typeof o){var a=this;return t[Symbol.replace].call(this,r,(function(){var t=arguments;return"object"!=s(t[t.length-1])&&(t=[].slice.call(t)).push(n(t,a)),o.apply(this,t)}))}return t[Symbol.replace].call(this,r,o)},Bi.apply(this,arguments)}function Mi(){}var qi=function(t){return new Promise((function(e){setTimeout(e,t)}))},Wi=Bi(/(\d+)(%)/,{value:1});function zi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=e;if(Wi.test(t)){var n,o=null===(n=t.match(Wi))||void 0===n?void 0:n.groups;if(o&&o.value){var i=parseInt(o.value)/100;r=Math.round(e*i)}}return Math.min(30,Math.max(1,r))}function Gi(t,e){return e("info","Throttle request to ".concat(t,"/s")),Si({limit:t,interval:1e3,strict:!1})}var Hi=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Ki(t,e){var r=Ni(Ni({},{insecure:!1,retryOnError:!0,logHandler:function(t,e){"error"===t&&e&&[e.name,e.message].filter((function(t){return t})).join(" - ")},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),e);if(!r.accessToken){var n=new TypeError("Expected parameter accessToken");throw r.logHandler("error",n),n}var o,i=r.insecure?"http":"https",a=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,c=r.insecure?80:443;if(r.host&&Hi.test(r.host)){var s=r.host.split(":");if(2===s.length){var l=function(t){if(Array.isArray(t))return t}(o=s)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(o)||Di(o,2)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();u=l[0],c=l[1]}else u=s[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var f=e.baseURL||"".concat(i,"://").concat(u,":").concat(c).concat(r.basePath,"/spaces/").concat(a);r.headers.Authorization||"function"==typeof r.accessToken||(r.headers.Authorization="Bearer "+r.accessToken);var p=t.create({baseURL:f,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,paramsSerializer:{serialize:function(t){return ai.stringify(t)}},logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError});return p.httpClientParams=e,p.cloneWithNewParams=function(r){return Ki(t,Ni(Ni({},er(e)),r))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),"function"==typeof r.accessToken&&function(t,e){t.interceptors.request.use((function(t){return e().then((function(e){return t.headers.set("Authorization","Bearer ".concat(e)),t}))}))}(p,r.accessToken),r.throttle&&function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=t.defaults.logHandler,n=void 0===r?Mi:r,o=si(e)?zi(e):zi("auto",e),i=Gi(o,n),a=!1,u=t.interceptors.request.use((function(t){return i((function(){return t}))()}),(function(t){return Promise.reject(t)}));t.interceptors.response.use((function(r){if(!a&&si(e)&&("auto"===e||Wi.test(e))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=zi(e,c);s!==o&&(u&&t.interceptors.request.eject(u),o=s,i=Gi(s,n),u=t.interceptors.request.use((function(t){return i((function(){return t}))()}),(function(t){return Promise.reject(t)}))),a=!0}return r}),(function(t){return Promise.reject(t)}))}(p,r.throttle),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=t.defaults,n=r.responseLogger,o=void 0===n?Mi:n,i=r.requestLogger,a=void 0===i?Mi:i;t.interceptors.request.use((function(t){return a(t),t}),(function(t){return a(t),Promise.reject(t)})),t.interceptors.response.use((function(t){return o(t),t}),function(){var r,n=(r=Ui().mark((function r(n){var i,a,u,c,s;return Ui().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=n.response,a=n.config,o(n),a&&t.defaults.retryOnError){r.next=5;break}return r.abrupt("return",Promise.reject(n));case 5:if(!((u=a.attempts||1)>e)){r.next=9;break}return n.attempts=a.attempts,r.abrupt("return",Promise.reject(n));case 9:if(c=null,s=Math.pow(Math.SQRT2,u),i?i.status>=500&&i.status<600?c="Server ".concat(i.status):429===i.status&&(c="Rate limit",i.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(s=i.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){r.next=19;break}return s=Math.floor(1e3*s+200*Math.random()+500),t.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(s," ms before retrying...")),a.attempts=u+1,delete a.httpAgent,delete a.httpsAgent,r.abrupt("return",qi(s).then((function(){return t(a)})));case 19:return r.abrupt("return",Promise.reject(n));case 20:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){Li(i,n,o,a,u,"next",t)}function u(t){Li(i,n,o,a,u,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}())}(p,r.retryLimit),r.onError&&p.interceptors.response.use((function(t){return t}),r.onError),p}function Ji(t){var e=t.query,r={};return delete e.resolveLinks,r.params=er(e),r}function $i(t){var e,r=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Di(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(Object.getOwnPropertyNames(t));try{for(r.s();!(e=r.n()).done;){var n=t[e.value];n&&"object"===Fi(n)&&$i(n)}}catch(t){r.e(t)}finally{r.f()}return Object.freeze(t)}function Vi(){var t=window;if(!t)return null;var e=t.navigator.userAgent,r=t.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?"Windows":/Android/.test(e)?"Android":/Linux/.test(r)?"Linux":null}function Qi(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return er(this)}})}function Xi(t){var e,r=t.config,n=t.response;if(r&&r.headers&&r.headers.Authorization){var o="...".concat(r.headers.Authorization.toString().substr(-5));r.headers.Authorization="Bearer ".concat(o)}if(!Ti(n)||!Ti(r))throw t;var i,a=null==n?void 0:n.data,u={status:null==n?void 0:n.status,statusText:null==n?void 0:n.statusText,message:"",details:{}};r&&Ti(r)&&(u.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),a&&"object"===Fi(a)&&("requestId"in a&&(u.requestId=a.requestId||"UNKNOWN"),"message"in a&&(u.message=a.message||""),"details"in a&&(u.details=a.details||{}),e=null===(i=a.sys)||void 0===i?void 0:i.id);var c=new Error;c.name=e&&"Unknown"!==e?e:"".concat(null==n?void 0:n.status," ").concat(null==n?void 0:n.statusText);try{c.message=JSON.stringify(u,null," ")}catch(t){var s;c.message=null!==(s=null==u?void 0:u.message)&&void 0!==s?s:""}throw c}function Yi(t){return function(e){return Object.assign({},t,e)}}function Zi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ta={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},ea={0:8203,1:8204,2:8205,3:65279},ra=new Array(4).fill(String.fromCodePoint(ea[0])).join("");function na(t,e){return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return!0===r||"auto"===r&&(function(t){return!(!Number.isNaN(Number(t))||/[a-z]/i.test(t)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(t)||!Date.parse(t))}(t)||function(t){try{t.startsWith("/")}catch(t){return!1}return!0}(t))?t:"".concat(t).concat(function(t){var e=JSON.stringify(t);return"".concat(ra).concat(Array.from(e).map((function(t){var r=t.charCodeAt(0);if(r>255)throw new Error("Only ASCII edit info can be encoded. Error attempting to encode ".concat(e," on character ").concat(t," (").concat(r,")"));return Array.from(r.toString(4).padStart(4,"0")).map((function(t){return String.fromCodePoint(ea[t])})).join("")})).join(""))}(e))}(t,e)}Object.fromEntries(Object.entries(ea).map((function(t){return t.reverse()}))),Object.fromEntries(Object.entries(ta).map((function(t){return t.reverse()}))),"".concat(Object.values(ta).map((function(t){return"\\u{".concat(t.toString(16),"}")})).join(""));var oa=Object.prototype.hasOwnProperty,ia=Object.prototype.toString,aa=ua;function ua(t,e,r){if(3===arguments.length)return ua.set(t,e,r);if(2===arguments.length)return ua.get(t,e);var n=ua.bind(ua,t);for(var o in ua)ua.hasOwnProperty(o)&&(n[o]=ua[o].bind(n,t));return n}ua.get=function(t,e){for(var r=Array.isArray(e)?e:ua.parse(e),n=0;n<r.length;++n){var o=r[n];if("object"!=s(t)||!(o in t))throw new Error("Invalid reference token: "+o);t=t[o]}return t},ua.set=function(t,e,r){var n=Array.isArray(e)?e:ua.parse(e),o=n[0];if(0===n.length)throw Error("Can not set the root object");for(var i=0;i<n.length-1;++i){var a=n[i];"string"!=typeof a&&"number"!=typeof a&&(a=String(a)),"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&("-"===a&&Array.isArray(t)&&(a=t.length),o=n[i+1],a in t||(t[a]=o.match(/^(\d+|-)$/)?[]:{}),t=t[a])}return"-"===o&&Array.isArray(t)&&(o=t.length),t[o]=r,this},ua.remove=function(t,e){var r=Array.isArray(e)?e:ua.parse(e),n=r[r.length-1];if(void 0===n)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var o=ua.get(t,r.slice(0,-1));if(Array.isArray(o)){var i=+n;if(""===n&&isNaN(i))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,i,1)}else delete o[n]},ua.dict=function(t,e){var r={};return ua.walk(t,(function(t,e){r[e]=t}),e),r},ua.walk=function(t,e,r){var n=[];r=r||function(t){var e=Object.prototype.toString.call(t);return"[object Object]"===e||"[object Array]"===e},function t(o){!function(t,e,r){if("[object Function]"!==ia.call(e))throw new TypeError("iterator must be a function");var n=t.length;if(n===+n)for(var o=0;o<n;o++)e.call(r,t[o],o,t);else for(var i in t)oa.call(t,i)&&e.call(r,t[i],i,t)}(o,(function(o,i){n.push(String(i)),r(o)?t(o):e(o,ua.compile(n)),n.pop()}))}(t)},ua.has=function(t,e){try{ua.get(t,e)}catch(t){return!1}return!0},ua.escape=function(t){return t.toString().replace(/~/g,"~0").replace(/\//g,"~1")},ua.unescape=function(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")},ua.parse=function(t){if(""===t)return[];if("/"!==t.charAt(0))throw new Error("Invalid JSON pointer: "+t);return t.substring(1).split(/\//).map(ua.unescape)},ua.compile=function(t){return 0===t.length?"":"/"+t.map(ua.escape).join("/")};var ca=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=aa.get(t,e);if(n.content)for(var o=0;o<n.content.length;o++)"text"===n.content[o].nodeType?r.push("".concat(e,"/content/").concat(o,"/value")):r.push.apply(r,a(ca(t,"".concat(e,"/content/").concat(o))));return r},sa=function(t){var e=t.entityId,r=t.entityType,n=t.space,o=t.environment,i=t.field,a=t.locale,u=t.editorInterface,c=t.fieldType,s=t.platform,l={origin:"contentful.com",href:"".concat("".concat(t.targetOrigin||"https://app.contentful.com","/spaces/").concat(n,"/environments/").concat(o),"/","Entry"===r?"entries":"assets","/").concat(e,"/?focusedField=").concat(i,"&focusedLocale=").concat(a,"&source=vercel-content-link"),contentful:{editorInterface:u,fieldType:c}};return"vercel"===s&&delete l.contentful,l},la=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function fa(t,e,r,n,o,i,a){var u=a?e[a]:e;switch(t){case"Symbol":var c=na(u,r);aa.set(n,o,c);break;case"Text":var s=na(u,r);aa.set(n,o,s);break;case"RichText":!function(t){var e=t.pointer,r=t.mappings,n=t.data,o=t.hiddenStrings,i=r[e];delete r[e];var a,u=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return Zi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zi(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(ca(n,e));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=na(aa.get(n,c),o);aa.set(n,c,s)}}catch(t){u.e(t)}finally{u.f()}}({pointer:"",mappings:i,data:u,hiddenStrings:r});break;case"Array":var l=u.map((function(t){return"string"==typeof t?na(t,r):t}));aa.set(n,o,l)}}var pa,ya=function(t,e,r,n,o){if(t.fields){var i=t.sys.contentSourceMaps;if(i){var a,u=i.mappings,c=function(){var i=u[s].source,a=t.sys.space.sys.id,c=t.sys.environment.sys.id,l=t.sys.id,f=t.sys.type,p=e[i.fieldType],y=r[i.editorInterface];if(function(t){return["builtin","sidebar-builtin","editor-builtin"].includes(t)}(y.widgetNamespace)&&!function(t){return la.includes(t)}(y.widgetId))return 0;var h=s.startsWith("/")?s:"/".concat(s);if(aa.has(t,h)){var d=aa.get(t,h);if(null===d)return{v:void 0};var v=h.split("/").pop();if(!v)return{v:void 0};var m=t.sys.locale;if(m){var b=sa({entityId:l,entityType:f,space:a,environment:c,field:v,locale:m,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});fa(p,d,b,t,h,u)}else Object.keys(d).forEach((function(e){var r=sa({entityId:l,entityType:f,space:a,environment:c,field:v,locale:e,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});fa(p,d,r,t,"".concat(h,"/").concat(e),u,e)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},ha={exports:{}};pa=ha,function(t,e){pa.exports=e()}(0,(function(){var t=Function.prototype.toString,e=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),h=function(r,n){var o=r.__proto__||a(r);if(!o)return e(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:e(o);if(~t.call(i).indexOf("[native code]"))try{return new i}catch(t){}return e(o)},d=function(t,e,r,n){var o=h(t,e);for(var a in n.set(t,o),t)c.call(t,a)&&(o[a]=r(t[a],n));if(f)for(var u=i(t),s=0,p=u.length,y=void 0;s<p;++s)l.call(t,y=u[s])&&(o[y]=r(t[y],n));return o},v=function(t,e,a,u){var c=h(t,e);u.set(t,c);for(var s=f?o(t).concat(i(t)):o(t),l=0,p=s.length,y=void 0,d=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(d=n(t,y)){d.get||d.set||(d.value=a(t[y],u));try{r(c,y,d)}catch(t){c[y]=d.value}}else c[y]=a(t[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(t,e){var r=!(!e||!e.isStrict),n=e&&e.realm||g,o=r?v:d,i=function(t,e){if(!t||"object"!==s(t))return t;if(e.has(t))return e.get(t);var a,u,c,l=t.__proto__||b(t),f=l&&l.constructor;if(!f||f===n.Object)return o(t,n,i,e);if(m(t)){if(r)return v(t,n,i,e);e.set(t,a=new f);for(var p=0,y=t.length;p<y;++p)a[p]=i(t[p],e);return a}if(t instanceof n.Date)return new f(t.getTime());if(t instanceof n.RegExp)return(a=new f(t.source,t.flags||(c="",(u=t).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=t.lastIndex,a;if(n.Map&&t instanceof n.Map)return e.set(t,a=new f),t.forEach((function(t,r){a.set(r,i(t,e))})),a;if(n.Set&&t instanceof n.Set)return e.set(t,a=new f),t.forEach((function(t){a.add(i(t,e))})),a;if(n.Blob&&t instanceof n.Blob)return t.slice(0,t.size,t.type);if(n.Buffer&&n.Buffer.isBuffer(t))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(t.length):new f(t.length),e.set(t,a),t.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(t))return a=new f(t.buffer.slice(0)),e.set(t,a),a;if(t instanceof n.ArrayBuffer)return a=t.slice(0),e.set(t,a),a}return"function"==typeof t.then||t instanceof Error||n.WeakMap&&t instanceof n.WeakMap||n.WeakSet&&t instanceof n.WeakSet?t:o(t,n,i,e)};return i(t,y())}return w.default=w,w.strict=function(t,e){return w(t,{isStrict:!0,realm:e?e.realm:void 0})},w}));var da=O(ha.exports),va="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(t){return s(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":s(t)};function ma(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var ba={},ga=function(t,e){var r=e.entryId,n=e.linkType,o=e.spaceId,i=e.environmentId;return t.get(o&&i?o+"!"+i+"!"+n+"!"+r:n+"!"+r)},wa=function t(e,r,n,o){if(r(e))return n(e);if(e&&"object"===(void 0===e?"undefined":va(e))){for(var i in e)e.hasOwnProperty(i)&&(e[i]=t(e[i],r,n,o));o&&(e=function(t){if(Array.isArray(t))return t.filter((function(t){return t!==ba}));for(var e in t)t[e]===ba&&delete t[e];return t}(e))}return e},Oa=function(t,e){if(e=e||{},!t.items)return[];var r=da(t),n=Object.keys(r.includes||{}).reduce((function(e,r){return[].concat(ma(e),ma(t.includes[r]))}),[]),o=[].concat(ma(r.items),ma(n)).filter((function(t){return Boolean(t.sys)})),i=new Map(o.reduce((function(t,e){var r,n=(r=e.sys,r.space&&r.environment?[r.type+"!"+r.id,r.space.sys.id+"!"+r.environment.sys.id+"!"+r.type+"!"+r.id]:[r.type+"!"+r.id]).map((function(t){return[t,e]}));return t.push.apply(t,ma(n)),t}),[]));return o.forEach((function(t){var r=function(t,e){return Array.isArray(e)?Object.keys(t).filter((function(t){return-1!==e.indexOf(t)})).reduce((function(e,r){return e[r]=t[r],e}),{}):t}(t,e.itemEntryPoints);Object.assign(t,wa(r,(function(t){return(e=t)&&e.sys&&"Link"===e.sys.type||function(t){return t&&t.sys&&"ResourceLink"===t.sys.type}(t);var e}),(function(t){return function(t,e,r){var n=function(t,e){var r=e.sys,n=r.linkType;if("ResourceLink"===r.type){if(!n.startsWith("Contentful:"))return e;var o=function(t){var e=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(e.test(t)){var r=function(t){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t){var e=[],r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done)&&(e.push(i.value),4!==e.length);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(n)throw o}}return e}(t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.match(e)),n=r[2];return{spaceId:r[1],environmentId:void 0===n?"master":n,entryId:r[3]}}}(e.sys.urn),i=o.spaceId,a=o.environmentId,u=o.entryId,c=n.split(":")[1];return ga(t,{linkType:c,entryId:u,spaceId:i,environmentId:a})||ba}return ga(t,{linkType:n,entryId:e.sys.id})||ba}(t,e);return n===ba?r?n:e:n}(i,t,e.removeUnresolved)}),e.removeUnresolved))})),r.items},Sa={exports:{}};!function(t){function e(t,e){var r=[],n=[];return null==e&&(e=function(t,e){return r[0]===e?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(e)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=e.call(this,o,i))}else r.push(i);return null==t?i:t.call(this,o,i)}}(t.exports=function(t,r,n,o){return JSON.stringify(t,e(r,o),n)}).getSerialize=e}(Sa);var xa=O(Sa.exports);function ja(t){return Object.defineProperty(t,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return xa(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",(function(t,e){return{sys:{type:"Link",linkType:"Entry",id:e.sys.id,circular:!0}}}))}})}function Ea(){return Aa.apply(this,arguments)}function Aa(){return Aa=r(P.mark((function t(e,r,n){var o,i,a,u,c,s;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&(r.initial||r.nextSyncToken||r.nextPageToken)){t.next=2;break}throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");case 2:if(!r.content_type||r.type){t.next=6;break}r.type="Entry",t.next=8;break;case 6:if(!r.content_type||!r.type||"Entry"===r.type){t.next=8;break}throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");case 8:return o=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),i=o.withoutLinkResolution,a=o.withoutUnresolvableLinks,u=o.paginate,t.next=12,ka(e,[],r,{paginate:u});case 12:return c=t.sent,i||(c.items=Oa(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(t){return function(e,r){return r.sys.type===t&&e.push(Qi(r)),e}},s={entries:(f=c.items).reduce(p("Entry"),[]),assets:f.reduce(p("Asset"),[]),deletedEntries:f.reduce(p("DeletedEntry"),[]),deletedAssets:f.reduce(p("DeletedAsset"),[])},c.nextSyncToken&&(s.nextSyncToken=c.nextSyncToken),c.nextPageToken&&(s.nextPageToken=c.nextPageToken),t.abrupt("return",($i((l=ja(Qi(s))).sys||{}),l));case 18:case"end":return t.stop()}var l,f,p}),t)}))),Aa.apply(this,arguments)}function ka(){return Pa.apply(this,arguments)}function Pa(){return(Pa=r(P.mark((function t(e,r,n,o){var i,a,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.paginate,a=(c=n).nextPageToken?{sync_token:c.nextPageToken}:c.nextSyncToken?{sync_token:c.nextSyncToken}:c.sync_token?{sync_token:c.sync_token}:c,t.next=4,e.get("sync",Ji({query:a}));case 4:if(r=r.concat((u=t.sent.data||{}).items||[]),!u.nextPageUrl){t.next=15;break}if(!i){t.next=12;break}return delete a.initial,a.sync_token=Ta(u.nextPageUrl),t.abrupt("return",ka(e,r,a,{paginate:i}));case 12:return t.abrupt("return",{items:r,nextPageToken:Ta(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){t.next=19;break}return t.abrupt("return",{items:r,nextSyncToken:Ta(u.nextSyncUrl)});case 19:return t.abrupt("return",{items:[]});case 20:case"end":return t.stop()}var c}),t)})))).apply(this,arguments)}function Ta(t){var e=t.split("?");return e.length>0?e[1].replace("sync_token=",""):""}function Ra(t){var e={},r=!1;for(var n in t)Array.isArray(t[n])&&(e[n]=t[n].join(","),r=!0);return r?Object.assign(Object.assign({},t),e):t}function La(t){if(!t.select)return new Set;var e=Array.isArray(t.select)?t.select:t.select.split(",").map((function(t){return t.trim()}));return new Set(e)}function _a(t){if(!t.select)return t;var e=La(t);return e.has("sys")?t:(e.add("sys.id"),e.add("sys.type"),Object.assign(Object.assign({},t),{select:a(e).join(",")}))}function Ia(t,e){var r=e.resolveLinks,n=e.removeUnresolved,o=ja(t);return r&&(o.items=Oa(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Na(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Na=function(){return!!t})()}var Ua=function(t){function e(t,r){var n,o,i,a;return p(this,e),o=this,i=e,a=['Invalid "'.concat(t,'" provided, ')+r],i=fi(i),(n=li(o,Na()?Reflect.construct(i,a||[],fi(o).constructor):i.apply(o,a))).name="ValidationError",n}return yi(e,t),h(e)}(di(Error));function Ca(t,e,r){if(r=r||{},"number"!=typeof e)throw new Ua(t,'only numeric values are allowed for timestamps, provided type was "'.concat(s(e),'"'));if(r.maximum&&e>r.maximum)throw new Ua(t,"value (".concat(e,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&e<r.now)throw new Ua(t,"value (".concat(e,") cannot be in the past, current time was ").concat(r.now))}function Fa(t,e){e?function(t){if(t.locale)throw new Ua("locale","The `locale` parameter is not allowed")}(t):function(t){if("*"===t.locale)throw new Ua("locale","The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n use client.withAllLocales instead of the locale='*' parameter.")}(t)}function Da(t){if("resolveLinks"in t)throw new Ua("resolveLinks","The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n If you do not want to resolve links, use client.withoutLinkResolution.")}function Ba(t){if("removeUnresolved"in t)throw new Ua("removeUnresolved","The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n If you do not want to include unresolved links, use client.withoutUnresolvableLinks.")}function Ma(t){for(var e in t){var r=t[e];if("object"===s(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(e,'" query parameter.'))}}function qa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(qa=function(){return!!t})()}var Wa=function(t){function e(t,r,n){var o,i,a,u;return p(this,e),i=this,u=["The resource could not be found."],a=fi(a=e),(o=li(i,qa()?Reflect.construct(a,u||[],fi(i).constructor):a.apply(i,u))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:t,environment:r,space:n},o}return yi(e,t),h(e)}(di(Error));function za(t,e){var n=t.http,o=t.getGlobalOptions,i=function(){return new Wa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown",o().environment,o().space)},a=function(t){var e="space"===t?o().spaceBaseUrl:o().environmentBaseUrl;if(!e)throw new Error("Please define baseUrl for "+t);return e.endsWith("/")||(e+="/"),e};function u(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.httpClientParams,i=null!==(t=null==o?void 0:o.includeContentSourceMaps)&&void 0!==t?t:null===(e=null==o?void 0:o.alphaFeatures)||void 0===e?void 0:e.includeContentSourceMaps,a=function(t,e){if(void 0===e)return!1;if("boolean"!=typeof e)throw new Ua("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");if(e&&"preview.contentful.com"!==t)throw new Ua("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to include Content Source Maps.\n ");return e}(null==o?void 0:o.host,i);if(a&&(r.includeContentSourceMaps=!0,r.select)){var u=La(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(t,e){var r;return(null===(r=null==e?void 0:e.params)||void 0===r?void 0:r.includeContentSourceMaps)?function(t,e,r){var n,o=function(t){if("function"==typeof structuredClone)return structuredClone(t);try{return JSON.parse(JSON.stringify(t))}catch(e){return t}}(t);if(o.sys&&"items"in o){if(null==(n=o.sys)||!n.contentSourceMapsLookup)return o;var i=o.sys.contentSourceMapsLookup,a=i.fieldTypes,u=i.editorInterfaces,c=o.includes;o.items.forEach((function(t){return ya(t,a,u,e,r)})),c&&c.Entry&&c.Entry.forEach((function(t){return ya(t,a,u,e,r)})),c&&c.Asset&&c.Asset.forEach((function(t){return ya(t,a,u,e,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;ya(o,o.sys.contentSourceMapsLookup.fieldTypes,o.sys.contentSourceMapsLookup.editorInterfaces,e,r)}return o}(t):t}function s(t){return l.apply(this,arguments)}function l(){return(l=r(P.mark((function t(e){var r,o,i;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.path,o=e.config,i=a(e.context),t.prev=2,t.next=5,n.get(i+r,o);case 5:return t.abrupt("return",c(t.sent.data,o));case 9:t.prev=9,t.t0=t.catch(2),Xi(t.t0);case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))).apply(this,arguments)}function f(t){return p.apply(this,arguments)}function p(){return(p=r(P.mark((function t(e){var r,o,i,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.path,o=e.data,i=e.config,u=a(e.context),t.prev=2,t.next=5,n.post(u+r,o,i);case 5:return t.abrupt("return",t.sent.data);case 9:t.prev=9,t.t0=t.catch(2),Xi(t.t0);case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))).apply(this,arguments)}function y(){return(y=r(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"space",path:""}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(){return(h=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"content_types/".concat(e)}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(){return d=r(P.mark((function t(){var e=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"content_types",config:Ji({query:e.length>0&&void 0!==e[0]?e[0]:{}})}));case 2:case"end":return t.stop()}}),t)}))),d.apply(this,arguments)}function v(){return v=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",b(r,n.length>1&&void 0!==n[1]?n[1]:{},e));case 2:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}function m(){return m=r(P.mark((function t(){var r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",S(r.length>0&&void 0!==r[0]?r[0]:{},e));case 2:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}function b(t,e){return g.apply(this,arguments)}function g(){return g=r(P.mark((function t(e,r){var n,o,i=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Da(r),Ba(r),Ma(r),t.abrupt("return",w(e,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}function w(t,e,r){return O.apply(this,arguments)}function O(){return O=r(P.mark((function t(e,r,n){var o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw i(e);case 2:return t.prev=2,t.next=5,j(Object.assign({"sys.id":e},u(r)),n);case 5:if(!((o=t.sent).items.length>0)){t.next=10;break}return t.abrupt("return",o.items[0]);case 10:throw i(e);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(2),Xi(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),O.apply(this,arguments)}function S(t){return x.apply(this,arguments)}function x(){return x=r(P.mark((function t(e){var r,n,o=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(e,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Da(e),Ba(e),Ma(e),t.abrupt("return",j(n?Object.assign(Object.assign({},e),{locale:"*"}):e,r));case 7:case"end":return t.stop()}}),t)}))),x.apply(this,arguments)}function j(t,e){return E.apply(this,arguments)}function E(){return E=r(P.mark((function t(e,r){var n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,t.prev=1,t.next=4,s({context:"environment",path:"entries",config:Ji({query:u(Ra(_a(e)))})});case 4:return t.abrupt("return",Ia(t.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 8:t.prev=8,t.t0=t.catch(1),Xi(t.t0);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),E.apply(this,arguments)}function A(){return A=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",I(r,n.length>1&&void 0!==n[1]?n[1]:{},e));case 2:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}function k(){return k=r(P.mark((function t(){var r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",T(r.length>0&&void 0!==r[0]?r[0]:{},e));case 2:case"end":return t.stop()}}),t)}))),k.apply(this,arguments)}function T(t){return R.apply(this,arguments)}function R(){return R=r(P.mark((function t(e){var r,n,o=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(e,r=(o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Ma(e),n=r?Object.assign(Object.assign({},e),{locale:"*"}):e,t.abrupt("return",U(n));case 6:case"end":return t.stop()}}),t)}))),R.apply(this,arguments)}function L(t,e){return _.apply(this,arguments)}function _(){return(_=r(P.mark((function t(e,r){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",s({context:"environment",path:"assets/".concat(e),config:Ji({query:u(_a(r))})}));case 4:t.prev=4,t.t0=t.catch(0),Xi(t.t0);case 7:case"end":return t.stop()}}),t,null,[[0,4]])})))).apply(this,arguments)}function I(t,e){return N.apply(this,arguments)}function N(){return N=r(P.mark((function t(e,r){var n,o,i=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(r,n=(i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Ma(r),o=n?Object.assign(Object.assign({},r),{locale:"*"}):r,t.abrupt("return",L(e,o));case 6:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}function U(t){return C.apply(this,arguments)}function C(){return(C=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",s({context:"environment",path:"assets",config:Ji({query:u(Ra(_a(e)))})}));case 4:t.prev=4,t.t0=t.catch(0),Xi(t.t0);case 7:case"end":return t.stop()}}),t,null,[[0,4]])})))).apply(this,arguments)}function F(){return(F=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"tags/".concat(e)}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(){return D=r(P.mark((function t(){var e,r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ma(e=r.length>0&&void 0!==r[0]?r[0]:{}),t.abrupt("return",s({context:"environment",path:"tags",config:Ji({query:Ra(_a(e))})}));case 3:case"end":return t.stop()}}),t)}))),D.apply(this,arguments)}function B(){return(B=r(P.mark((function t(e){var r;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{r=Math.floor(Date.now()/1e3),Ca("expiresAt",e,{maximum:r+172800,now:r})}catch(t){Xi(t)}return t.abrupt("return",f({context:"environment",path:"asset_keys",data:{expiresAt:e}}));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function M(){return M=r(P.mark((function t(){var e,r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ma(e=r.length>0&&void 0!==r[0]?r[0]:{}),t.abrupt("return",s({context:"environment",path:"locales",config:Ji({query:_a(e)})}));case 3:case"end":return t.stop()}}),t)}))),M.apply(this,arguments)}function q(){return q=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},e));case 2:case"end":return t.stop()}}),t)}))),q.apply(this,arguments)}function W(t,e){return z.apply(this,arguments)}function z(){return z=r(P.mark((function t(e,r){var o,i,a=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1},Da(e),Ba(e),i=Object.assign(Object.assign({},r),o),G(n),t.abrupt("return",Ea(n,e,i));case 6:case"end":return t.stop()}}),t)}))),z.apply(this,arguments)}function G(t){t.defaults.baseURL=o().environmentBaseUrl}return{version:"11.2.1",getSpace:function(){return y.apply(this,arguments)},getContentType:function(t){return h.apply(this,arguments)},getContentTypes:function(){return d.apply(this,arguments)},getAsset:function(t){return A.apply(this,arguments)},getAssets:function(){return k.apply(this,arguments)},getTag:function(t){return F.apply(this,arguments)},getTags:function(){return D.apply(this,arguments)},getLocales:function(){return M.apply(this,arguments)},parseEntries:function(t){return function(t){return function(t,e){var r=e.withoutUnresolvableLinks;return Ia(t,{resolveLinks:!e.withoutLinkResolution,removeUnresolved:null!=r&&r})}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})}(t,e)},sync:function(t){return q.apply(this,arguments)},getEntry:function(t){return v.apply(this,arguments)},getEntries:function(){return m.apply(this,arguments)},createAssetKey:function(t){return B.apply(this,arguments)}}}return t.createClient=function(t){if(!t.accessToken)throw new TypeError("Expected parameter accessToken");if(!t.space)throw new TypeError("Expected parameter space");Da(t),Ba(t);var e=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),t),r=function(t,e,r){var n=[];e&&n.push("app ".concat(e)),r&&n.push("integration ".concat(r)),n.push("sdk ".concat(t));var o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=Vi(),n.push("platform ReactNative")):"undefined"==typeof process||process.browser?(o=Vi(),n.push("platform browser")):(o=function(){var t=process.platform||"linux",e=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),n.push("platform node.js/".concat(process.versions&&process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(t){return""!==t})).join("; "),";")}("contentful.js/".concat("11.2.1"),e.application,e.integration);e.headers=Object.assign(Object.assign({},e.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=Ki(Ye,e);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=Yi({space:e.space,environment:e.environment,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:"".concat(n.defaults.baseURL,"environments/").concat(e.environment)});return n.defaults.baseURL=o({}).environmentBaseUrl,function(t){var e=t.http,r=t.getGlobalOptions;function n(t){return function(t,e,r){var n=za({http:t.http,getGlobalOptions:t.getGlobalOptions},e)||{};return Object.defineProperty(n,"withAllLocales",{get:function(){return r(Object.assign(Object.assign({},e),{withAllLocales:!0}))}}),Object.defineProperty(n,"withoutLinkResolution",{get:function(){return r(Object.assign(Object.assign({},e),{withoutLinkResolution:!0}))}}),Object.defineProperty(n,"withoutUnresolvableLinks",{get:function(){return r(Object.assign(Object.assign({},e),{withoutUnresolvableLinks:!0}))}}),Object.create(n)}({http:e,getGlobalOptions:r},t,n)}var o=za({http:e,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})}({http:n,getGlobalOptions:o})},t.createGlobalOptions=Yi,t}({});
1
+ var contentful=function(t){"use strict";function e(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function i(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function a(t){return function(t){if(Array.isArray(t))return n(t)}(t)||o(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){if(Array.isArray(t))return t}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function l(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}function f(t,e,r){return(e=l(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function h(t,e,r){return e&&y(t.prototype,e),r&&y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e){return u(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||i(t,e)||c()}function v(t,e){this.v=t,this.k=e}function m(t){return function(){return new b(t.apply(this,arguments))}}function b(t){var e,r;function n(e,r){try{var i=t[e](r),a=i.value,u=a instanceof v;Promise.resolve(u?a.v:a).then((function(r){if(u){var c="return"===e?"return":"next";if(!a.k||r.done)return n(c,r);r=t[c](r).value}o(i.done?"return":"normal",r)}),(function(t){n("throw",t)}))}catch(t){o("throw",t)}}function o(t,o){switch(t){case"return":e.resolve({value:o,done:!0});break;case"throw":e.reject(o);break;default:e.resolve({value:o,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(t,o){return new Promise((function(i,a){var u={key:t,arg:o,resolve:i,reject:a,next:null};r?r=r.next=u:(e=r=u,n(t,o))}))},"function"!=typeof t.return&&(this.return=void 0)}function g(t){return new v(t,0)}function w(t){var e={},r=!1;function n(e,n){return r=!0,n=new Promise((function(r){r(t[e](n))})),{done:!1,value:new v(n,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return r?(r=!1,t):n("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(r)throw r=!1,t;return n("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return r?(r=!1,t):n("return",t)}),e}function O(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function S(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")&&1===Object.keys(t).length?t.default:t}b.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},b.prototype.next=function(t){return this._invoke("next",t)},b.prototype.throw=function(t){return this._invoke("throw",t)},b.prototype.return=function(t){return this._invoke("return",t)};var x={exports:{}},j={exports:{}};!function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(j);var E=j.exports;!function(t){var e=E.default;function r(){t.exports=r=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(n){p=function(t,e,r){return t[e]=r}}function y(t,e,r,n){var o=Object.create((e&&e.prototype instanceof w?e:w).prototype);return u(o,"_invoke",{value:T(t,r,new I(n||[]))}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=y;var d="suspendedStart",v="suspendedYield",m="executing",b="completed",g={};function w(){}function O(){}function S(){}var x={};p(x,s,(function(){return this}));var j=Object.getPrototypeOf,E=j&&j(j(N([])));E&&E!==i&&a.call(E,s)&&(x=E);var A=S.prototype=w.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,r){function n(o,i,u,c){var s=h(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function T(t,e,r){var o=d;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=h(t,e,r);if("normal"===s.type){if(o=r.done?b:v,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=b,r.method="throw",r.arg=s.arg)}}}function R(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,R(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=h(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(a.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}throw new TypeError(e(t)+" is not iterable")}return O.prototype=S,u(A,"constructor",{value:S,configurable:!0}),u(S,"constructor",{value:O,configurable:!0}),O.displayName=p(S,f,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,p(t,f,"GeneratorFunction")),t.prototype=Object.create(A),t},o.awrap=function(t){return{__await:t}},k(P.prototype),p(P.prototype,l,(function(){return this})),o.AsyncIterator=P,o.async=function(t,e,r,n,i){void 0===i&&(i=Promise);var a=new P(y(t,e,r,n),i);return o.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),p(A,f,"Generator"),p(A,s,(function(){return this})),p(A,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=N,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},o}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(x);var A=(0,x.exports)(),k=A;try{regeneratorRuntime=A}catch(t){"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))?globalThis.regeneratorRuntime=A:Function("r","regeneratorRuntime = r")(A)}var P=O(k);function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t){var e,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(e=t[r]))return e.call(t);if(n&&null!=(e=t[n]))return new I(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function I(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return I=function(t){this.s=t,this.n=t.next},I.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new I(t)}function N(t,e){return function(){return t.apply(e,arguments)}}var U,C=Object.prototype.toString,F=Object.getPrototypeOf,D=(U=Object.create(null),function(t){var e=C.call(t);return U[e]||(U[e]=e.slice(8,-1).toLowerCase())}),B=function(t){return t=t.toLowerCase(),function(e){return D(e)===t}},M=function(t){return function(e){return s(e)===t}},q=Array.isArray,W=M("undefined"),z=B("ArrayBuffer"),G=M("string"),H=M("function"),K=M("number"),J=function(t){return null!==t&&"object"===s(t)},$=function(t){if("object"!==D(t))return!1;var e=F(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},V=B("Date"),Q=B("File"),X=B("Blob"),Y=B("FileList"),Z=B("URLSearchParams"),tt=d(["ReadableStream","Request","Response","Headers"].map(B),4),et=tt[0],rt=tt[1],nt=tt[2],ot=tt[3];function it(t,e){var r,n,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=t)if("object"!==s(t)&&(t=[t]),q(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{var a,u=i?Object.getOwnPropertyNames(t):Object.keys(t),c=u.length;for(r=0;r<c;r++)e.call(null,t[a=u[r]],a,t)}}function at(t,e){e=e.toLowerCase();for(var r,n=Object.keys(t),o=n.length;o-- >0;)if(e===(r=n[o]).toLowerCase())return r;return null}var ut,ct,st,lt,ft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,pt=function(t){return!W(t)&&t!==ft},yt=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&F(Uint8Array)),ht=B("HTMLFormElement"),dt=function(){var t=Object.prototype.hasOwnProperty;return function(e,r){return t.call(e,r)}}(),vt=B("RegExp"),mt=function(t,e){var r=Object.getOwnPropertyDescriptors(t),n={};it(r,(function(r,o){var i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},bt="abcdefghijklmnopqrstuvwxyz",gt="0123456789",wt={DIGIT:gt,ALPHA:bt,ALPHA_DIGIT:bt+bt.toUpperCase()+gt},Ot=B("AsyncFunction"),St=(ut="function"==typeof setImmediate,ct=H(ft.postMessage),ut?setImmediate:ct?(st="axios@".concat(Math.random()),lt=[],ft.addEventListener("message",(function(t){t.source===ft&&t.data===st&&lt.length&&lt.shift()()}),!1),function(t){lt.push(t),ft.postMessage(st,"*")}):function(t){return setTimeout(t)}),xt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ft):"undefined"!=typeof process&&process.nextTick||St,jt={isArray:q,isArrayBuffer:z,isBuffer:function(t){return null!==t&&!W(t)&&null!==t.constructor&&!W(t.constructor)&&H(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:function(t){var e;return t&&("function"==typeof FormData&&t instanceof FormData||H(t.append)&&("formdata"===(e=D(t))||"object"===e&&H(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&z(t.buffer)},isString:G,isNumber:K,isBoolean:function(t){return!0===t||!1===t},isObject:J,isPlainObject:$,isReadableStream:et,isRequest:rt,isResponse:nt,isHeaders:ot,isUndefined:W,isDate:V,isFile:Q,isBlob:X,isRegExp:vt,isFunction:H,isStream:function(t){return J(t)&&H(t.pipe)},isURLSearchParams:Z,isTypedArray:yt,isFileList:Y,forEach:it,merge:function t(){for(var e=(pt(this)&&this||{}).caseless,r={},n=function(n,o){var i=e&&at(r,o)||o;r[i]=$(r[i])&&$(n)?t(r[i],n):$(n)?t({},n):q(n)?n.slice():n},o=0,i=arguments.length;o<i;o++)arguments[o]&&it(arguments[o],n);return r},extend:function(t,e,r){return it(e,(function(e,n){t[n]=r&&H(e)?N(e,r):e}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),t},trim:function(t){return t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r,n){var o,i,a,u={};if(e=e||{},null==t)return e;do{for(i=(o=Object.getOwnPropertyNames(t)).length;i-- >0;)a=o[i],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&F(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:D,kindOfTest:B,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length);var n=t.indexOf(e,r-=e.length);return-1!==n&&n===r},toArray:function(t){if(!t)return null;if(q(t))return t;var e=t.length;if(!K(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},forEachEntry:function(t,e){for(var r,n=(t&&t[Symbol.iterator]).call(t);(r=n.next())&&!r.done;){var o=r.value;e.call(t,o[0],o[1])}},matchAll:function(t,e){for(var r,n=[];null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:ht,hasOwnProperty:dt,hasOwnProp:dt,reduceDescriptors:mt,freezeMethods:function(t){mt(t,(function(e,r){if(H(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;H(t[r])&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(t,e){var r={},n=function(t){t.forEach((function(t){r[t]=!0}))};return q(t)?n(t):n(String(t).split(e)),r},toCamelCase:function(t){return t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(t,e){return null!=t&&Number.isFinite(t=+t)?t:e},findKey:at,global:ft,isContextDefined:pt,ALPHABET:wt,generateString:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wt.ALPHA_DIGIT,r="",n=e.length;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&H(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:function(t){var e=new Array(10),r=function(t,n){if(J(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;var o=q(t)?[]:{};return it(t,(function(t,e){var i=r(t,n+1);!W(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Ot,isThenable:function(t){return t&&(J(t)||H(t))&&H(t.then)&&H(t.catch)},setImmediate:St,asap:xt};function Et(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}jt.inherits(Et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:jt.toJSONObject(this.config),code:this.code,status:this.status}}});var At=Et.prototype,kt={};function Pt(t){return jt.isPlainObject(t)||jt.isArray(t)}function Tt(t){return jt.endsWith(t,"[]")?t.slice(0,-2):t}function Rt(t,e,r){return t?t.concat(e).map((function(t,e){return t=Tt(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(t){kt[t]={value:t}})),Object.defineProperties(Et,kt),Object.defineProperty(At,"isAxiosError",{value:!0}),Et.from=function(t,e,r,n,o,i){var a=Object.create(At);return jt.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(function(t){return"isAxiosError"!==t})),Et.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};var Lt=jt.toFlatObject(jt,{},null,(function(t){return/^is[A-Z]/.test(t)}));function _t(t,e,r){if(!jt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;var n=(r=jt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!jt.isUndefined(e[t])}))).metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&jt.isSpecCompliantForm(e);if(!jt.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(jt.isDate(t))return t.toISOString();if(!u&&jt.isBlob(t))throw new Et("Blob is not supported. Use a Buffer instead.");return jt.isArrayBuffer(t)||jt.isTypedArray(t)?u&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function l(t,r,o){var u=t;if(t&&!o&&"object"===s(t))if(jt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(jt.isArray(t)&&function(t){return jt.isArray(t)&&!t.some(Pt)}(t)||(jt.isFileList(t)||jt.endsWith(r,"[]"))&&(u=jt.toArray(t)))return r=Tt(r),u.forEach((function(t,n){!jt.isUndefined(t)&&null!==t&&e.append(!0===a?Rt([r],n,i):null===a?r:r+"[]",c(t))})),!1;return!!Pt(t)||(e.append(Rt(o,r,i),c(t)),!1)}var f=[],p=Object.assign(Lt,{defaultVisitor:l,convertValue:c,isVisitable:Pt});if(!jt.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!jt.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),jt.forEach(r,(function(r,i){!0===(!(jt.isUndefined(r)||null===r)&&o.call(e,r,jt.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),f.pop()}}(t),e}function It(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Nt(t,e){this._pairs=[],t&&_t(t,this,e)}var Ut=Nt.prototype;function Ct(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ft(t,e,r){if(!e)return t;var n,o=r&&r.encode||Ct,i=r&&r.serialize;if(n=i?i(e,r):jt.isURLSearchParams(e)?e.toString():new Nt(e,r).toString(o)){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t}Ut.append=function(t,e){this._pairs.push([t,e])},Ut.toString=function(t){var e=t?function(e){return t.call(this,e,It)}:It;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Dt=function(){return h((function t(){p(this,t),this.handlers=[]}),[{key:"use",value:function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(t){this.handlers[t]&&(this.handlers[t]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(t){jt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}])}(),Bt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Nt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},qt="undefined"!=typeof window&&"undefined"!=typeof document,Wt="object"===("undefined"==typeof navigator?"undefined":s(navigator))&&navigator||void 0,zt=qt&&(!Wt||["ReactNative","NativeScript","NS"].indexOf(Wt.product)<0),Gt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ht=qt&&window.location.href||"http://localhost",Kt=L(L({},Object.freeze({__proto__:null,hasBrowserEnv:qt,hasStandardBrowserWebWorkerEnv:Gt,hasStandardBrowserEnv:zt,navigator:Wt,origin:Ht})),Mt);function Jt(t){function e(t,r,n,o){var i=t[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=t.length;return i=!i&&jt.isArray(n)?n.length:i,u?(n[i]=jt.hasOwnProp(n,i)?[n[i],r]:r,!a):(n[i]&&jt.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&jt.isArray(n[i])&&(n[i]=function(t){var e,r,n={},o=Object.keys(t),i=o.length;for(e=0;e<i;e++)n[r=o[e]]=t[r];return n}(n[i])),!a)}if(jt.isFormData(t)&&jt.isFunction(t.entries)){var r={};return jt.forEachEntry(t,(function(t,n){e(function(t){return jt.matchAll(/\w+|\[(\w*)]/g,t).map((function(t){return"[]"===t[0]?"":t[1]||t[0]}))}(t),n,r,0)})),r}return null}var $t={transitional:Bt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){var r,n=e.getContentType()||"",o=n.indexOf("application/json")>-1,i=jt.isObject(t);if(i&&jt.isHTMLForm(t)&&(t=new FormData(t)),jt.isFormData(t))return o?JSON.stringify(Jt(t)):t;if(jt.isArrayBuffer(t)||jt.isBuffer(t)||jt.isStream(t)||jt.isFile(t)||jt.isBlob(t)||jt.isReadableStream(t))return t;if(jt.isArrayBufferView(t))return t.buffer;if(jt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return _t(t,new Kt.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Kt.isNode&&jt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((r=jt.isFileList(t))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return _t(r?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(e.setContentType("application/json",!1),function(t){if(jt.isString(t))try{return(0,JSON.parse)(t),jt.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||$t.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(jt.isResponse(t)||jt.isReadableStream(t))return t;if(t&&jt.isString(t)&&(r&&!this.responseType||n)){var o=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw Et.from(t,Et.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kt.classes.FormData,Blob:Kt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};jt.forEach(["delete","get","head","post","put","patch"],(function(t){$t.headers[t]={}}));var Vt=$t,Qt=jt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xt=Symbol("internals");function Yt(t){return t&&String(t).trim().toLowerCase()}function Zt(t){return!1===t||null==t?t:jt.isArray(t)?t.map(Zt):String(t)}function te(t,e,r,n,o){return jt.isFunction(n)?n.call(this,e,r):(o&&(e=r),jt.isString(e)?jt.isString(n)?-1!==e.indexOf(n):jt.isRegExp(n)?n.test(e):void 0:void 0)}var ee=function(){return h((function t(e){p(this,t),e&&this.set(e)}),[{key:"set",value:function(t,e,r){var n=this;function o(t,e,r){var o=Yt(e);if(!o)throw new Error("header name must be a non-empty string");var i=jt.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Zt(t))}var i,a,u,c,s,l=function(t,e){return jt.forEach(t,(function(t,r){return o(t,r,e)}))};if(jt.isPlainObject(t)||t instanceof this.constructor)l(t,e);else if(jt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))l((s={},(i=t)&&i.split("\n").forEach((function(t){c=t.indexOf(":"),a=t.substring(0,c).trim().toLowerCase(),u=t.substring(c+1).trim(),!a||s[a]&&Qt[a]||("set-cookie"===a?s[a]?s[a].push(u):s[a]=[u]:s[a]=s[a]?s[a]+", "+u:u)})),s),e);else if(jt.isHeaders(t)){var f,p=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return T(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(t.entries());try{for(p.s();!(f=p.n()).done;){var y=d(f.value,2);o(y[1],y[0],r)}}catch(t){p.e(t)}finally{p.f()}}else null!=t&&o(e,t,r);return this}},{key:"get",value:function(t,e){if(t=Yt(t)){var r=jt.findKey(this,t);if(r){var n=this[r];if(!e)return n;if(!0===e)return function(t){for(var e,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;e=n.exec(t);)r[e[1]]=e[2];return r}(n);if(jt.isFunction(e))return e.call(this,n,r);if(jt.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(t,e){if(t=Yt(t)){var r=jt.findKey(this,t);return!(!r||void 0===this[r]||e&&!te(0,this[r],r,e))}return!1}},{key:"delete",value:function(t,e){var r=this,n=!1;function o(t){if(t=Yt(t)){var o=jt.findKey(r,t);!o||e&&!te(0,r[o],o,e)||(delete r[o],n=!0)}}return jt.isArray(t)?t.forEach(o):o(t),n}},{key:"clear",value:function(t){for(var e=Object.keys(this),r=e.length,n=!1;r--;){var o=e[r];t&&!te(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(t){var e=this,r={};return jt.forEach(this,(function(n,o){var i=jt.findKey(r,o);if(i)return e[i]=Zt(n),void delete e[o];var a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r}))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Zt(n),r[a]=!0})),this}},{key:"concat",value:function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=this.constructor).concat.apply(t,[this].concat(r))}},{key:"toJSON",value:function(t){var e=Object.create(null);return jt.forEach(this,(function(r,n){null!=r&&!1!==r&&(e[n]=t&&jt.isArray(r)?r.join(", "):r)})),e}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(t){var e=d(t,2);return e[0]+": "+e[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(t){return t instanceof this?t:new this(t)}},{key:"concat",value:function(t){for(var e=new this(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((function(t){return e.set(t)})),e}},{key:"accessor",value:function(t){var e=(this[Xt]=this[Xt]={accessors:{}}).accessors,r=this.prototype;function n(t){var n=Yt(t);e[n]||(function(t,e){var r=jt.toCamelCase(" "+e);["get","set","has"].forEach((function(n){Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return jt.isArray(t)?t.forEach(n):n(t),this}}])}();ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),jt.reduceDescriptors(ee.prototype,(function(t,e){var r=t.value,n=e[0].toUpperCase()+e.slice(1);return{get:function(){return r},set:function(t){this[n]=t}}})),jt.freezeMethods(ee);var re=ee;function ne(t,e){var r=this||Vt,n=e||r,o=re.from(n.headers),i=n.data;return jt.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function oe(t){return!(!t||!t.__CANCEL__)}function ie(t,e,r){Et.call(this,null==t?"canceled":t,Et.ERR_CANCELED,e,r),this.name="CanceledError"}function ae(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Et("Request failed with status code "+r.status,[Et.ERR_BAD_REQUEST,Et.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}jt.inherits(ie,Et,{__CANCEL__:!0});var ue=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0,o=function(t,e){t=t||10;var r,n=new Array(t),o=new Array(t),i=0,a=0;return e=void 0!==e?e:1e3,function(u){var c=Date.now(),s=o[a];r||(r=c),n[i]=u,o[i]=c;for(var l=a,f=0;l!==i;)f+=n[l++],l%=t;if((i=(i+1)%t)===a&&(a=(a+1)%t),!(c-r<e)){var p=s&&c-s;return p?Math.round(1e3*f/p):void 0}}}(50,250);return function(t,e){var r,n,o=0,i=1e3/e,a=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[function(){for(var t=Date.now(),e=t-o,u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s];e>=i?a(c,t):(r=c,n||(n=setTimeout((function(){n=null,a(r)}),i-e)))},function(){return r&&a(r)}]}((function(r){var i=r.loaded,a=r.lengthComputable?r.total:void 0,u=i-n,c=o(u);n=i;var s=f({loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a},e?"download":"upload",!0);t(s)}),r)},ce=function(t,e){var r=null!=t;return[function(n){return e[0]({lengthComputable:r,total:t,loaded:n})},e[1]]},se=function(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return jt.asap((function(){return t.apply(void 0,r)}))}},le=Kt.hasStandardBrowserEnv?function(){var t,e=Kt.navigator&&/(msie|trident)/i.test(Kt.navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=jt.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0},fe=Kt.hasStandardBrowserEnv?{write:function(t,e,r,n,o,i){var a=[t+"="+encodeURIComponent(e)];jt.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),jt.isString(n)&&a.push("path="+n),jt.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function pe(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var ye=function(t){return t instanceof re?L({},t):t};function he(t,e){e=e||{};var r={};function n(t,e,r){return jt.isPlainObject(t)&&jt.isPlainObject(e)?jt.merge.call({caseless:r},t,e):jt.isPlainObject(e)?jt.merge({},e):jt.isArray(e)?e.slice():e}function o(t,e,r){return jt.isUndefined(e)?jt.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!jt.isUndefined(e))return n(void 0,e)}function a(t,e){return jt.isUndefined(e)?jt.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function u(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}var c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(t,e){return o(ye(t),ye(e),!0)}};return jt.forEach(Object.keys(Object.assign({},t,e)),(function(n){var i=c[n]||o,a=i(t[n],e[n],n);jt.isUndefined(a)&&i!==u||(r[n]=a)})),r}var de,ve,me=function(t){var e,r,n=he({},t),s=n.data,l=n.withXSRFToken,f=n.xsrfHeaderName,p=n.xsrfCookieName,y=n.headers,h=n.auth;if(n.headers=y=re.from(y),n.url=Ft(pe(n.baseURL,n.url),t.params,t.paramsSerializer),h&&y.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),jt.isFormData(s))if(Kt.hasStandardBrowserEnv||Kt.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if(!1!==(e=y.getContentType())){var d=e?e.split(";").map((function(t){return t.trim()})).filter(Boolean):[],v=u(r=d)||o(r)||i(r)||c(),m=v[0],b=v.slice(1);y.setContentType([m||"multipart/form-data"].concat(a(b)).join("; "))}if(Kt.hasStandardBrowserEnv&&(l&&jt.isFunction(l)&&(l=l(n)),l||!1!==l&&le(n.url))){var g=f&&p&&fe.read(p);g&&y.set(f,g)}return n},be="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){var n,o,i,a=me(t),u=a.data,c=re.from(a.headers).normalize(),s=a.responseType,l=a.onUploadProgress,f=a.onDownloadProgress;function p(){o&&o(),i&&i(),a.cancelToken&&a.cancelToken.unsubscribe(n),a.signal&&a.signal.removeEventListener("abort",n)}var y=new XMLHttpRequest;function h(){if(y){var n=re.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());ae((function(t){e(t),p()}),(function(t){r(t),p()}),{data:s&&"text"!==s&&"json"!==s?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y}),y=null}}if(y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(h)},y.onabort=function(){y&&(r(new Et("Request aborted",Et.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new Et("Network Error",Et.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){var e=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";a.timeoutErrorMessage&&(e=a.timeoutErrorMessage),r(new Et(e,(a.transitional||Bt).clarifyTimeoutError?Et.ETIMEDOUT:Et.ECONNABORTED,t,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&jt.forEach(c.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),jt.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var v=d(ue(f,!0),2);i=v[1],y.addEventListener("progress",v[0])}if(l&&y.upload){var m=d(ue(l),2);o=m[1],y.upload.addEventListener("progress",m[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(e){y&&(r(!e||e.type?new ie(null,t,y):e),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(n),a.signal&&(a.signal.aborted?n():a.signal.addEventListener("abort",n)));var b,g=(b=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a.url))&&b[1]||"";g&&-1===Kt.protocols.indexOf(g)?r(new Et("Unsupported protocol "+g+":",Et.ERR_BAD_REQUEST,t)):y.send(u||null)}))},ge=function(t,e){var r=t=t?t.filter(Boolean):[];if(e||r.length){var n,o=new AbortController,i=function(t){if(!n){n=!0,u();var e=t instanceof Error?t:this.reason;o.abort(e instanceof Et?e:new ie(e instanceof Error?e.message:e))}},a=e&&setTimeout((function(){a=null,i(new Et("timeout ".concat(e," of ms exceeded"),Et.ETIMEDOUT))}),e),u=function(){t&&(a&&clearTimeout(a),a=null,t.forEach((function(t){t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)})),t=null)};t.forEach((function(t){return t.addEventListener("abort",i)}));var c=o.signal;return c.unsubscribe=function(){return jt.asap(u)},c}},we=P.mark((function t(e,r){var n,o,i;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.byteLength,r&&!(n<r)){t.next=5;break}return t.next=4,e;case 4:return t.abrupt("return");case 5:o=0;case 6:if(!(o<n)){t.next=13;break}return i=o+r,t.next=10,e.slice(o,i);case 10:o=i,t.next=6;break;case 13:case"end":return t.stop()}}),t)})),Oe=function(){var t=m(P.mark((function t(e,r){var n,o,i,a,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=!1,o=!1,t.prev=2,a=_(Se(e));case 4:return t.next=6,g(a.next());case 6:if(!(n=!(u=t.sent).done)){t.next=12;break}return t.delegateYield(w(_(we(u.value,r))),"t0",9);case 9:n=!1,t.next=4;break;case 12:t.next=18;break;case 14:t.prev=14,t.t1=t.catch(2),o=!0,i=t.t1;case 18:if(t.prev=18,t.prev=19,!n||null==a.return){t.next=23;break}return t.next=23,g(a.return());case 23:if(t.prev=23,!o){t.next=26;break}throw i;case 26:return t.finish(23);case 27:return t.finish(18);case 28:case"end":return t.stop()}}),t,null,[[2,14,18,28],[19,,23,27]])})));return function(e,r){return t.apply(this,arguments)}}(),Se=function(){var t=m(P.mark((function t(e){var r,n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e[Symbol.asyncIterator]){t.next=3;break}return t.delegateYield(w(_(e)),"t0",2);case 2:return t.abrupt("return");case 3:r=e.getReader(),t.prev=4;case 5:return t.next=7,g(r.read());case 7:if(o=(n=t.sent).value,!n.done){t.next=12;break}return t.abrupt("break",16);case 12:return t.next=14,o;case 14:t.next=5;break;case 16:return t.prev=16,t.next=19,g(r.cancel());case 19:return t.finish(16);case 20:case"end":return t.stop()}}),t,null,[[4,,16,20]])})));return function(e){return t.apply(this,arguments)}}(),xe=function(t,e,n,o){var i,a=Oe(t,e),u=0,c=function(t){i||(i=!0,o&&o(t))};return new ReadableStream({pull:function(t){return r(P.mark((function e(){var r,o,i,s;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.next();case 3:if(o=(r=e.sent).value,!r.done){e.next=10;break}return c(),t.close(),e.abrupt("return");case 10:i=o.byteLength,n&&(s=u+=i,n(s)),t.enqueue(new Uint8Array(o)),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),c(e.t0),e.t0;case 19:case"end":return e.stop()}}),e,null,[[0,15]])})))()},cancel:function(t){return c(t),a.return()}},{highWaterMark:2})},je="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ee=je&&"function"==typeof ReadableStream,Ae=je&&("function"==typeof TextEncoder?(de=new TextEncoder,function(t){return de.encode(t)}):function(){var t=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=Uint8Array,t.next=3,new Response(e).arrayBuffer();case 3:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),ke=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return!!t.apply(void 0,r)}catch(t){return!1}},Pe=Ee&&ke((function(){var t=!1,e=new Request(Kt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Te=Ee&&ke((function(){return jt.isReadableStream(new Response("").body)})),Re={stream:Te&&function(t){return t.body}};je&&(ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((function(t){!Re[t]&&(Re[t]=jt.isFunction(ve[t])?function(e){return e[t]()}:function(e,r){throw new Et("Response type '".concat(t,"' is not supported"),Et.ERR_NOT_SUPPORT,r)})})));var Le=function(){var t=r(P.mark((function t(e){var r;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e){t.next=2;break}return t.abrupt("return",0);case 2:if(!jt.isBlob(e)){t.next=4;break}return t.abrupt("return",e.size);case 4:if(!jt.isSpecCompliantForm(e)){t.next=9;break}return r=new Request(Kt.origin,{method:"POST",body:e}),t.next=8,r.arrayBuffer();case 8:case 15:return t.abrupt("return",t.sent.byteLength);case 9:if(!jt.isArrayBufferView(e)&&!jt.isArrayBuffer(e)){t.next=11;break}return t.abrupt("return",e.byteLength);case 11:if(jt.isURLSearchParams(e)&&(e+=""),!jt.isString(e)){t.next=16;break}return t.next=15,Ae(e);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_e=function(){var t=r(P.mark((function t(e,r){var n;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=jt.toFiniteNumber(e.getContentLength()),t.abrupt("return",null==n?Le(r):n);case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Ie=je&&function(){var t=r(P.mark((function t(e){var r,n,o,i,a,u,c,s,l,f,p,y,h,v,m,b,g,w,O,S,x,j,E,A,k,T,R,_,I,N,U;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=me(e),n=r.url,o=r.method,i=r.data,a=r.signal,u=r.cancelToken,c=r.timeout,s=r.onDownloadProgress,l=r.onUploadProgress,p=r.headers,h=void 0===(y=r.withCredentials)?"same-origin":y,v=r.fetchOptions,f=(f=r.responseType)?(f+"").toLowerCase():"text",m=ge([a,u&&u.toAbortSignal()],c),g=m&&m.unsubscribe&&function(){m.unsubscribe()},t.prev=4,t.t0=l&&Pe&&"get"!==o&&"head"!==o,!t.t0){t.next=11;break}return t.next=9,_e(p,i);case 9:t.t1=w=t.sent,t.t0=0!==t.t1;case 11:if(!t.t0){t.next=15;break}O=new Request(n,{method:"POST",body:i,duplex:"half"}),jt.isFormData(i)&&(S=O.headers.get("content-type"))&&p.setContentType(S),O.body&&(x=ce(w,ue(se(l))),j=d(x,2),i=xe(O.body,65536,j[0],j[1]));case 15:return jt.isString(h)||(h=h?"include":"omit"),E="credentials"in Request.prototype,b=new Request(n,L(L({},v),{},{signal:m,method:o.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:E?h:void 0})),t.next=20,fetch(b);case 20:return A=t.sent,k=Te&&("stream"===f||"response"===f),Te&&(s||k&&g)&&(T={},["status","statusText","headers"].forEach((function(t){T[t]=A[t]})),R=jt.toFiniteNumber(A.headers.get("content-length")),_=s&&ce(R,ue(se(s),!0))||[],I=d(_,2),N=I[1],A=new Response(xe(A.body,65536,I[0],(function(){N&&N(),g&&g()})),T)),f=f||"text",t.next=26,Re[jt.findKey(Re,f)||"text"](A,e);case 26:return U=t.sent,!k&&g&&g(),t.next=30,new Promise((function(t,r){ae(t,r,{data:U,headers:re.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:b})}));case 30:return t.abrupt("return",t.sent);case 33:if(t.prev=33,t.t2=t.catch(4),g&&g(),!t.t2||"TypeError"!==t.t2.name||!/fetch/i.test(t.t2.message)){t.next=38;break}throw Object.assign(new Et("Network Error",Et.ERR_NETWORK,e,b),{cause:t.t2.cause||t.t2});case 38:throw Et.from(t.t2,t.t2&&t.t2.code,e,b);case 39:case"end":return t.stop()}}),t,null,[[4,33]])})));return function(e){return t.apply(this,arguments)}}(),Ne={http:null,xhr:be,fetch:Ie};jt.forEach(Ne,(function(t,e){if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));var Ue=function(t){return"- ".concat(t)},Ce=function(t){return jt.isFunction(t)||null===t||!1===t},Fe=function(t){for(var e,r,n=(t=jt.isArray(t)?t:[t]).length,o={},i=0;i<n;i++){var a=void 0;if(r=e=t[i],!Ce(e)&&void 0===(r=Ne[(a=String(e)).toLowerCase()]))throw new Et("Unknown adapter '".concat(a,"'"));if(r)break;o[a||"#"+i]=r}if(!r){var u=Object.entries(o).map((function(t){var e=d(t,2),r=e[1];return"adapter ".concat(e[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Et("There is no suitable adapter to dispatch the request "+(n?u.length>1?"since :\n"+u.map(Ue).join("\n"):" "+Ue(u[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function De(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ie(null,t)}function Be(t){return De(t),t.headers=re.from(t.headers),t.data=ne.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fe(t.adapter||Vt.adapter)(t).then((function(e){return De(t),e.data=ne.call(t,t.transformResponse,e),e.headers=re.from(e.headers),e}),(function(e){return oe(e)||(De(t),e&&e.response&&(e.response.data=ne.call(t,t.transformResponse,e.response),e.response.headers=re.from(e.response.headers))),Promise.reject(e)}))}var Me={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){Me[t]=function(r){return s(r)===t||"a"+(e<1?"n ":" ")+t}}));var qe={};Me.transitional=function(t,e,r){return function(n,o,i){if(!1===t)throw new Et(function(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}(o," has been removed"+(e?" in "+e:"")),Et.ERR_DEPRECATED);return e&&!qe[o]&&(qe[o]=!0),!t||t(n,o,i)}};var We={assertOptions:function(t,e,r){if("object"!==s(t))throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],c=void 0===u||a(u,i,t);if(!0!==c)throw new Et("option "+i+" must be "+c,Et.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Et("Unknown option "+i,Et.ERR_BAD_OPTION)}},validators:Me},ze=We.validators,Ge=function(){return h((function t(e){p(this,t),this.defaults=e,this.interceptors={request:new Dt,response:new Dt}}),[{key:"request",value:(t=r(P.mark((function t(e,r){var n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._request(e,r);case 3:return t.abrupt("return",t.sent);case 6:if(t.prev=6,t.t0=t.catch(0),t.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error,o=n.stack?n.stack.replace(/^.+\n/,""):"";try{t.t0.stack?o&&!String(t.t0.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(t.t0.stack+="\n"+o):t.t0.stack=o}catch(t){}}throw t.t0;case 10:case"end":return t.stop()}}),t,this,[[0,6]])}))),function(e,r){return t.apply(this,arguments)})},{key:"_request",value:function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{};var r=(e=he(this.defaults,e)).transitional,n=e.paramsSerializer,o=e.headers;void 0!==r&&We.assertOptions(r,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1),null!=n&&(jt.isFunction(n)?e.paramsSerializer={serialize:n}:We.assertOptions(n,{encode:ze.function,serialize:ze.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();var i=o&&jt.merge(o.common,o[e.method]);o&&jt.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete o[t]})),e.headers=re.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(u=u&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));var c,s=[];this.interceptors.response.forEach((function(t){s.push(t.fulfilled,t.rejected)}));var l,f=0;if(!u){var p=[Be.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,s),l=p.length,c=Promise.resolve(e);f<l;)c=c.then(p[f++],p[f++]);return c}l=a.length;var y=e;for(f=0;f<l;){var h=a[f++],d=a[f++];try{y=h(y)}catch(t){d.call(this,t);break}}try{c=Be.call(this,y)}catch(t){return Promise.reject(t)}for(f=0,l=s.length;f<l;)c=c.then(s[f++],s[f++]);return c}},{key:"getUri",value:function(t){return Ft(pe((t=he(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}]);var t}();jt.forEach(["delete","get","head","options"],(function(t){Ge.prototype[t]=function(e,r){return this.request(he(r||{},{method:t,url:e,data:(r||{}).data}))}})),jt.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(he(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ge.prototype[t]=e(),Ge.prototype[t+"Form"]=e(!0)}));var He=Ge,Ke=function(){function t(e){if(p(this,t),"function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){for(var e=n._listeners.length;e-- >0;)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(t,e,o){n.reason||(n.reason=new ie(t,e,o),r(n.reason))}))}return h(t,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}},{key:"unsubscribe",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"toAbortSignal",value:function(){var t=this,e=new AbortController,r=function(t){e.abort(t)};return this.subscribe(r),e.signal.unsubscribe=function(){return t.unsubscribe(r)},e.signal}}],[{key:"source",value:function(){var e;return{token:new t((function(t){e=t})),cancel:e}}}])}(),Je=Ke,$e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($e).forEach((function(t){var e=d(t,2);$e[e[1]]=e[0]}));var Ve=$e,Qe=function t(e){var r=new He(e),n=N(He.prototype.request,r);return jt.extend(n,He.prototype,r,{allOwnKeys:!0}),jt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(he(e,r))},n}(Vt);Qe.Axios=He,Qe.CanceledError=ie,Qe.CancelToken=Je,Qe.isCancel=oe,Qe.VERSION="1.7.7",Qe.toFormData=_t,Qe.AxiosError=Et,Qe.Cancel=Qe.CanceledError,Qe.all=function(t){return Promise.all(t)},Qe.spread=function(t){return function(e){return t.apply(null,e)}},Qe.isAxiosError=function(t){return jt.isObject(t)&&!0===t.isAxiosError},Qe.mergeConfig=he,Qe.AxiosHeaders=re,Qe.formToJSON=function(t){return Jt(jt.isHTMLForm(t)?new FormData(t):t)},Qe.getAdapter=Fe,Qe.HttpStatusCode=Ve,Qe.default=Qe;var Xe,Ye=O(Qe),Ze={exports:{}};Xe=function(){var t=Function.prototype.toString,e=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),h=function(r,n){var o=r.__proto__||a(r);if(!o)return e(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:e(o);if(~t.call(i).indexOf("[native code]"))try{return new i}catch(t){}return e(o)},d=function(t,e,r,n){var o=h(t,e);for(var a in n.set(t,o),t)c.call(t,a)&&(o[a]=r(t[a],n));if(f)for(var u=i(t),s=0,p=u.length,y=void 0;s<p;++s)l.call(t,y=u[s])&&(o[y]=r(t[y],n));return o},v=function(t,e,a,u){var c=h(t,e);u.set(t,c);for(var s=f?o(t).concat(i(t)):o(t),l=0,p=s.length,y=void 0,d=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(d=n(t,y)){d.get||d.set||(d.value=a(t[y],u));try{r(c,y,d)}catch(t){c[y]=d.value}}else c[y]=a(t[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(t,e){var r=!(!e||!e.isStrict),n=e&&e.realm||g,o=r?v:d,i=function(t,e){if(!t||"object"!==s(t))return t;if(e.has(t))return e.get(t);var a,u,c,l=t.__proto__||b(t),f=l&&l.constructor;if(!f||f===n.Object)return o(t,n,i,e);if(m(t)){if(r)return v(t,n,i,e);e.set(t,a=new f);for(var p=0,y=t.length;p<y;++p)a[p]=i(t[p],e);return a}if(t instanceof n.Date)return new f(t.getTime());if(t instanceof n.RegExp)return(a=new f(t.source,t.flags||(c="",(u=t).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=t.lastIndex,a;if(n.Map&&t instanceof n.Map)return e.set(t,a=new f),t.forEach((function(t,r){a.set(r,i(t,e))})),a;if(n.Set&&t instanceof n.Set)return e.set(t,a=new f),t.forEach((function(t){a.add(i(t,e))})),a;if(n.Blob&&t instanceof n.Blob)return t.slice(0,t.size,t.type);if(n.Buffer&&n.Buffer.isBuffer(t))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(t.length):new f(t.length),e.set(t,a),t.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(t))return a=new f(t.buffer.slice(0)),e.set(t,a),a;if(t instanceof n.ArrayBuffer)return a=t.slice(0),e.set(t,a),a}return"function"==typeof t.then||t instanceof Error||n.WeakMap&&t instanceof n.WeakMap||n.WeakSet&&t instanceof n.WeakSet?t:o(t,n,i,e)};return i(t,y())}return w.default=w,w.strict=function(t,e){return w(t,{isStrict:!0,realm:e?e.realm:void 0})},w},Ze.exports=Xe();var tr,er=O(Ze.exports),rr=Error,nr=EvalError,or=RangeError,ir=ReferenceError,ar=SyntaxError,ur=TypeError,cr=URIError,sr="undefined"!=typeof Symbol&&Symbol,lr={__proto__:null,foo:{}},fr=Object,pr=Object.prototype.toString,yr=Math.max,hr=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},dr=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==pr.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t){for(var e=[],r=1,n=0;r<t.length;r+=1,n+=1)e[n]=t[r];return e}(arguments),o=yr(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t){for(var e="",r=0;r<t.length;r+=1)e+=t[r],r+1<t.length&&(e+=",");return e}(i)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,hr(n,arguments));return Object(o)===o?o:this}return e.apply(t,hr(n,arguments))})),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},vr=dr.call(Function.prototype.call,Object.prototype.hasOwnProperty),mr=rr,br=nr,gr=or,wr=ir,Or=ar,Sr=ur,xr=cr,jr=Function,Er=function(t){try{return jr('"use strict"; return ('+t+").constructor;")()}catch(t){}},Ar=Object.getOwnPropertyDescriptor;if(Ar)try{Ar({},"")}catch(t){Ar=null}var kr=function(){throw new Sr},Pr=Ar?function(){try{return kr}catch(t){try{return Ar(arguments,"callee").get}catch(t){return kr}}}():kr,Tr="function"==typeof sr&&"function"==typeof Symbol&&"symbol"===s(sr("foo"))&&"symbol"===s(Symbol("bar"))&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===s(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),Rr=Object.getPrototypeOf||({__proto__:lr}.foo!==lr.foo||lr instanceof fr?null:function(t){return t.__proto__}),Lr={},_r="undefined"!=typeof Uint8Array&&Rr?Rr(Uint8Array):tr,Ir={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?tr:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?tr:ArrayBuffer,"%ArrayIteratorPrototype%":Tr&&Rr?Rr([][Symbol.iterator]()):tr,"%AsyncFromSyncIteratorPrototype%":tr,"%AsyncFunction%":Lr,"%AsyncGenerator%":Lr,"%AsyncGeneratorFunction%":Lr,"%AsyncIteratorPrototype%":Lr,"%Atomics%":"undefined"==typeof Atomics?tr:Atomics,"%BigInt%":"undefined"==typeof BigInt?tr:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?tr:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?tr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?tr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":mr,"%eval%":eval,"%EvalError%":br,"%Float32Array%":"undefined"==typeof Float32Array?tr:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?tr:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?tr:FinalizationRegistry,"%Function%":jr,"%GeneratorFunction%":Lr,"%Int8Array%":"undefined"==typeof Int8Array?tr:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?tr:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?tr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tr&&Rr?Rr(Rr([][Symbol.iterator]())):tr,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":s(JSON))?JSON:tr,"%Map%":"undefined"==typeof Map?tr:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Tr&&Rr?Rr((new Map)[Symbol.iterator]()):tr,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?tr:Promise,"%Proxy%":"undefined"==typeof Proxy?tr:Proxy,"%RangeError%":gr,"%ReferenceError%":wr,"%Reflect%":"undefined"==typeof Reflect?tr:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?tr:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Tr&&Rr?Rr((new Set)[Symbol.iterator]()):tr,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?tr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tr&&Rr?Rr(""[Symbol.iterator]()):tr,"%Symbol%":Tr?Symbol:tr,"%SyntaxError%":Or,"%ThrowTypeError%":Pr,"%TypedArray%":_r,"%TypeError%":Sr,"%Uint8Array%":"undefined"==typeof Uint8Array?tr:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?tr:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?tr:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?tr:Uint32Array,"%URIError%":xr,"%WeakMap%":"undefined"==typeof WeakMap?tr:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?tr:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?tr:WeakSet};if(Rr)try{null.error}catch(t){var Nr=Rr(Rr(t));Ir["%Error.prototype%"]=Nr}var Ur,Cr,Fr=function t(e){var r;if("%AsyncFunction%"===e)r=Er("async function () {}");else if("%GeneratorFunction%"===e)r=Er("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Er("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&Rr&&(r=Rr(o.prototype))}return Ir[e]=r,r},Dr={__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"]},Br=dr,Mr=vr,qr=Br.call(Function.call,Array.prototype.concat),Wr=Br.call(Function.apply,Array.prototype.splice),zr=Br.call(Function.call,String.prototype.replace),Gr=Br.call(Function.call,String.prototype.slice),Hr=Br.call(Function.call,RegExp.prototype.exec),Kr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jr=/\\(\\)?/g,$r=function(t,e){var r,n=t;if(Mr(Dr,n)&&(n="%"+(r=Dr[n])[0]+"%"),Mr(Ir,n)){var o=Ir[n];if(o===Lr&&(o=Fr(n)),void 0===o&&!e)throw new Sr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Or("intrinsic "+t+" does not exist!")},Vr=function(t,e){if("string"!=typeof t||0===t.length)throw new Sr("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Sr('"allowMissing" argument must be a boolean');if(null===Hr(/^%?[^%]*%?$/,t))throw new Or("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=Gr(t,0,1),r=Gr(t,-1);if("%"===e&&"%"!==r)throw new Or("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Or("invalid intrinsic syntax, expected opening `%`");var n=[];return zr(t,Kr,(function(t,e,r,o){n[n.length]=r?zr(o,Jr,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=$r("%"+n+"%",e),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Wr(r,qr([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=Gr(f,0,1),y=Gr(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new Or("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),Mr(Ir,i="%"+(n+="."+f)+"%"))a=Ir[i];else if(null!=a){if(!(f in a)){if(!e)throw new Sr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Ar&&s+1>=r.length){var h=Ar(a,f);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[f]}else l=Mr(a,f),a=a[f];l&&!u&&(Ir[i]=a)}}return a},Qr={exports:{}};function Xr(){if(Cr)return Ur;Cr=1;var t=Vr("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return Ur=t}var Yr=Vr("%Object.getOwnPropertyDescriptor%",!0);if(Yr)try{Yr([],"length")}catch(t){Yr=null}var Zr=Yr,tn=Xr(),en=ar,rn=ur,nn=Zr,on=Xr(),an=function(){return!!on};an.hasArrayLengthDefineBug=function(){if(!on)return null;try{return 1!==on([],"length",{value:1}).length}catch(t){return!0}};var un=Vr,cn=function(t,e,r){if(!t||"object"!==s(t)&&"function"!=typeof t)throw new rn("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!==s(e))throw new rn("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new rn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new rn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new rn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new rn("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],u=!!nn&&nn(t,e);if(tn)tn(t,e,{configurable:null===i&&u?u.configurable:!i,enumerable:null===n&&u?u.enumerable:!n,value:r,writable:null===o&&u?u.writable:!o});else{if(!a&&(n||o||i))throw new en("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}},sn=an(),ln=Zr,fn=ur,pn=un("%Math.floor%"),yn=function(t,e){if("function"!=typeof t)throw new fn("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||pn(e)!==e)throw new fn("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in t&&ln){var i=ln(t,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(sn?cn(t,"length",e,!0,!0):cn(t,"length",e)),t};!function(t){var e=dr,r=Vr,n=yn,o=ur,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||e.call(a,i),c=Xr(),s=r("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new o("a function is required");var r=u(e,a,arguments);return n(r,1+s(0,t.length-(arguments.length-1)),!0)};var l=function(){return u(e,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(Qr);var hn=Vr,dn=Qr.exports,vn=dn(hn("String.prototype.indexOf")),mn=S(Object.freeze({__proto__:null,default:{}})),bn="function"==typeof Map&&Map.prototype,gn=Object.getOwnPropertyDescriptor&&bn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,wn=bn&&gn&&"function"==typeof gn.get?gn.get:null,On=bn&&Map.prototype.forEach,Sn="function"==typeof Set&&Set.prototype,xn=Object.getOwnPropertyDescriptor&&Sn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,jn=Sn&&xn&&"function"==typeof xn.get?xn.get:null,En=Sn&&Set.prototype.forEach,An="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,kn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Pn="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Tn=Boolean.prototype.valueOf,Rn=Object.prototype.toString,Ln=Function.prototype.toString,_n=String.prototype.match,In=String.prototype.slice,Nn=String.prototype.replace,Un=String.prototype.toUpperCase,Cn=String.prototype.toLowerCase,Fn=RegExp.prototype.test,Dn=Array.prototype.concat,Bn=Array.prototype.join,Mn=Array.prototype.slice,qn=Math.floor,Wn="function"==typeof BigInt?BigInt.prototype.valueOf:null,zn=Object.getOwnPropertySymbols,Gn="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?Symbol.prototype.toString:null,Hn="function"==typeof Symbol&&"object"===s(Symbol.iterator),Kn="function"==typeof Symbol&&Symbol.toStringTag&&(s(Symbol.toStringTag),1)?Symbol.toStringTag:null,Jn=Object.prototype.propertyIsEnumerable,$n=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Vn(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Fn.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-qn(-t):qn(t);if(n!==t){var o=String(n),i=In.call(e,o.length+1);return Nn.call(o,r,"$&_")+"."+Nn.call(Nn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Nn.call(e,r,"$&_")}var Qn=mn,Xn=Qn.custom,Yn=no(Xn)?Xn:null;function Zn(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function to(t){return Nn.call(String(t),/"/g,"&quot;")}function eo(t){return!("[object Array]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}function ro(t){return!("[object RegExp]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}function no(t){if(Hn)return t&&"object"===s(t)&&t instanceof Symbol;if("symbol"===s(t))return!0;if(!t||"object"!==s(t)||!Gn)return!1;try{return Gn.call(t),!0}catch(t){}return!1}var oo=Object.prototype.hasOwnProperty||function(t){return t in this};function io(t,e){return oo.call(t,e)}function ao(t){return Rn.call(t)}function uo(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function co(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return co(In.call(t,0,e.maxStringLength),e)+n}return Zn(Nn.call(Nn.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,so),"single",e)}function so(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Un.call(e.toString(16))}function lo(t){return"Object("+t+")"}function fo(t){return t+" { ? }"}function po(t,e,r,n){return t+" ("+e+") {"+(n?yo(r,n):Bn.call(r,", "))+"}"}function yo(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Bn.call(t,","+r)+"\n"+e.prev}function ho(t,e){var r=eo(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=io(t,o)?e(t[o],t):""}var i,a="function"==typeof zn?zn(t):[];if(Hn){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in t)io(t,c)&&(r&&String(Number(c))===c&&c<t.length||Hn&&i["$"+c]instanceof Symbol||(Fn.call(/[^\w$]/,c)?n.push(e(c,t)+": "+e(t[c],t)):n.push(c+": "+e(t[c],t))));if("function"==typeof zn)for(var s=0;s<a.length;s++)Jn.call(t,a[s])&&n.push("["+e(a[s])+"]: "+e(t[a[s]],t));return n}var vo=Vr,mo=function(t,e){var r=hn(t,!!e);return"function"==typeof r&&vn(t,".prototype.")>-1?dn(r):r},bo=function t(e,r,n,o){var i=r||{};if(io(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(io(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!io(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(io(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(io(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return co(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var c=String(e);return u?Vn(e,c):c}if("bigint"==typeof e){var l=String(e)+"n";return u?Vn(e,l):l}var f=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"===s(e))return eo(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Bn.call(Array(t.indent+1)," ")}return{base:r,prev:Bn.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(uo(o,e)>=0)return"[Circular]";function y(e,r,a){if(r&&(o=Mn.call(o)).push(r),a){var u={depth:i.depth};return io(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!ro(e)){var h=function(t){if(t.name)return t.name;var e=_n.call(Ln.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),d=ho(e,y);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Bn.call(d,", ")+" }":"")}if(no(e)){var v=Hn?Nn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Gn.call(e);return"object"!==s(e)||Hn?v:lo(v)}if(function(t){return!(!t||"object"!==s(t))&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var m="<"+Cn.call(String(e.nodeName)),b=e.attributes||[],g=0;g<b.length;g++)m+=" "+b[g].name+"="+Zn(to(b[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+Cn.call(String(e.nodeName))+">"}if(eo(e)){if(0===e.length)return"[]";var w=ho(e,y);return p&&!function(t){for(var e=0;e<t.length;e++)if(uo(t[e],"\n")>=0)return!1;return!0}(w)?"["+yo(w,p)+"]":"[ "+Bn.call(w,", ")+" ]"}if(function(t){return!("[object Error]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e)){var O=ho(e,y);return"cause"in Error.prototype||!("cause"in e)||Jn.call(e,"cause")?0===O.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Bn.call(O,", ")+" }":"{ ["+String(e)+"] "+Bn.call(Dn.call("[cause]: "+y(e.cause),O),", ")+" }"}if("object"===s(e)&&a){if(Yn&&"function"==typeof e[Yn]&&Qn)return Qn(e,{depth:f-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!wn||!t||"object"!==s(t))return!1;try{wn.call(t);try{jn.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var S=[];return On&&On.call(e,(function(t,r){S.push(y(r,e,!0)+" => "+y(t,e))})),po("Map",wn.call(e),S,p)}if(function(t){if(!jn||!t||"object"!==s(t))return!1;try{jn.call(t);try{wn.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var x=[];return En&&En.call(e,(function(t){x.push(y(t,e))})),po("Set",jn.call(e),x,p)}if(function(t){if(!An||!t||"object"!==s(t))return!1;try{An.call(t,An);try{kn.call(t,kn)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return fo("WeakMap");if(function(t){if(!kn||!t||"object"!==s(t))return!1;try{kn.call(t,kn);try{An.call(t,An)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return fo("WeakSet");if(function(t){if(!Pn||!t||"object"!==s(t))return!1;try{return Pn.call(t),!0}catch(t){}return!1}(e))return fo("WeakRef");if(function(t){return!("[object Number]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(y(Number(e)));if(function(t){if(!t||"object"!==s(t)||!Wn)return!1;try{return Wn.call(t),!0}catch(t){}return!1}(e))return lo(y(Wn.call(e)));if(function(t){return!("[object Boolean]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(Tn.call(e));if(function(t){return!("[object String]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e))return lo(y(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||"undefined"!=typeof global&&e===global)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==ao(t)||Kn&&"object"===s(t)&&Kn in t)}(e)&&!ro(e)){var j=ho(e,y),E=$n?$n(e)===Object.prototype:e instanceof Object||e.constructor===Object,A=e instanceof Object?"":"null prototype",k=!E&&Kn&&Object(e)===e&&Kn in e?In.call(ao(e),8,-1):A?"Object":"",P=(E||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(k||A?"["+Bn.call(Dn.call([],k||[],A||[]),": ")+"] ":"");return 0===j.length?P+"{}":p?P+"{"+yo(j,p)+"}":P+"{ "+Bn.call(j,", ")+" }"}return String(e)},go=ur,wo=vo("%WeakMap%",!0),Oo=vo("%Map%",!0),So=mo("WeakMap.prototype.get",!0),xo=mo("WeakMap.prototype.set",!0),jo=mo("WeakMap.prototype.has",!0),Eo=mo("Map.prototype.get",!0),Ao=mo("Map.prototype.set",!0),ko=mo("Map.prototype.has",!0),Po=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},To=String.prototype.replace,Ro=/%20/g,Lo="RFC3986",_o={default:Lo,formatters:{RFC1738:function(t){return To.call(t,Ro,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:Lo},Io=_o,No=Object.prototype.hasOwnProperty,Uo=Array.isArray,Co=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Fo=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},Do=1024,Bo={arrayToObject:Fo,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var c=a[u],l=i[c];"object"===s(l)&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:i,prop:c}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(Uo(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"===s(t)?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;u+=Do){for(var c=i.length>=Do?i.slice(u,u+Do):i,l=[],f=0;f<c.length;++f){var p=c.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===Io.RFC1738&&(40===p||41===p)?l[l.length]=c.charAt(f):p<128?l[l.length]=Co[p]:p<2048?l[l.length]=Co[192|p>>6]+Co[128|63&p]:p<55296||p>=57344?l[l.length]=Co[224|p>>12]+Co[128|p>>6&63]+Co[128|63&p]:(p=65536+((1023&p)<<10|1023&c.charCodeAt(f+=1)),l[l.length]=Co[240|p>>18]+Co[128|p>>12&63]+Co[128|p>>6&63]+Co[128|63&p])}a+=l.join("")}return a},isBuffer:function(t){return!(!t||"object"!==s(t)||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(Uo(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!==s(r)){if(Uo(e))e.push(r);else{if(!e||"object"!==s(e))return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!No.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!==s(e))return[e].concat(r);var o=e;return Uo(e)&&!Uo(r)&&(o=Fo(e,n)),Uo(e)&&Uo(r)?(r.forEach((function(r,o){if(No.call(e,o)){var i=e[o];i&&"object"===s(i)&&r&&"object"===s(r)?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=No.call(e,o)?t(e[o],i,n):i,e}),o)}},Mo=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new go("Side channel does not contain "+bo(t))},get:function(n){if(wo&&n&&("object"===s(n)||"function"==typeof n)){if(t)return So(t,n)}else if(Oo){if(e)return Eo(e,n)}else if(r)return function(t,e){var r=Po(t,e);return r&&r.value}(r,n)},has:function(n){if(wo&&n&&("object"===s(n)||"function"==typeof n)){if(t)return jo(t,n)}else if(Oo){if(e)return ko(e,n)}else if(r)return function(t,e){return!!Po(t,e)}(r,n);return!1},set:function(n,o){wo&&n&&("object"===s(n)||"function"==typeof n)?(t||(t=new wo),xo(t,n,o)):Oo?(e||(e=new Oo),Ao(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=Po(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},qo=Bo,Wo=_o,zo=Object.prototype.hasOwnProperty,Go={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},Ho=Array.isArray,Ko=Array.prototype.push,Jo=function(t,e){Ko.apply(t,Ho(e)?e:[e])},$o=Date.prototype.toISOString,Vo=Wo.default,Qo={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qo.encode,encodeValuesOnly:!1,format:Vo,formatter:Wo.formatters[Vo],indices:!1,serializeDate:function(t){return $o.call(t)},skipNulls:!1,strictNullHandling:!1},Xo={},Yo=function t(e,r,n,o,i,a,u,c,l,f,p,y,h,d,v,m,b,g){for(var w,O=e,S=g,x=0,j=!1;void 0!==(S=S.get(Xo))&&!j;){var E=S.get(e);if(x+=1,void 0!==E){if(E===x)throw new RangeError("Cyclic object value");j=!0}void 0===S.get(Xo)&&(x=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=h(O):"comma"===n&&Ho(O)&&(O=qo.maybeMap(O,(function(t){return t instanceof Date?h(t):t}))),null===O){if(a)return l&&!m?l(r,Qo.encoder,b,"key",d):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===s(w)||"bigint"==typeof w||qo.isBuffer(O))return l?[v(m?r:l(r,Qo.encoder,b,"key",d))+"="+v(l(O,Qo.encoder,b,"value",d))]:[v(r)+"="+v(String(O))];var A,k=[];if(void 0===O)return k;if("comma"===n&&Ho(O))m&&l&&(O=qo.maybeMap(O,l)),A=[{value:O.length>0?O.join(",")||null:void 0}];else if(Ho(f))A=f;else{var P=Object.keys(O);A=p?P.sort(p):P}var T=c?r.replace(/\./g,"%2E"):r,R=o&&Ho(O)&&1===O.length?T+"[]":T;if(i&&Ho(O)&&0===O.length)return R+"[]";for(var L=0;L<A.length;++L){var _=A[L],I="object"===s(_)&&void 0!==_.value?_.value:O[_];if(!u||null!==I){var N=y&&c?_.replace(/\./g,"%2E"):_,U=Ho(O)?"function"==typeof n?n(R,N):R:R+(y?"."+N:"["+N+"]");g.set(e,x);var C=Mo();C.set(Xo,g),Jo(k,t(I,U,n,o,i,a,u,c,"comma"===n&&m&&Ho(O)?null:l,f,p,y,h,d,v,m,b,C))}}return k},Zo=Bo,ti=Object.prototype.hasOwnProperty,ei=Array.isArray,ri={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Zo.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},ni=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},oi=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},ii=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&ti.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&ti.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+o.slice(a.index)+"]")}return function(t,e,r,n){for(var o=n?e:oi(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(s,10);r.parseArrays||""!==s?!isNaN(l)&&u!==s&&String(l)===s&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(c,e,r,n)}},ai=O({formats:_o,parse:function(t,e){var r=function(t){if(!t)return ri;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!=t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?ri.charset:t.charset,r=void 0===t.duplicates?ri.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||ri.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:ri.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:ri.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:ri.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:ri.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:ri.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:ri.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:ri.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:ri.decoder,delimiter:"string"==typeof t.delimiter||Zo.isRegExp(t.delimiter)?t.delimiter:ri.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:ri.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:ri.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:ri.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:ri.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:ri.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:ri.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=(o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]")).split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),a=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[r]?u="utf-8":"utf8=%26%2310003%3B"===i[r]&&(u="iso-8859-1"),a=r,r=i.length);for(r=0;r<i.length;++r)if(r!==a){var c,s,l=i[r],f=l.indexOf("]="),p=-1===f?l.indexOf("="):f+1;-1===p?(c=e.decoder(l,ri.decoder,u,"key"),s=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,p),ri.decoder,u,"key"),s=Zo.maybeMap(oi(l.slice(p+1),e),(function(t){return e.decoder(t,ri.decoder,u,"value")}))),s&&e.interpretNumericEntities&&"iso-8859-1"===u&&(s=ni(s)),l.indexOf("[]=")>-1&&(s=ei(s)?[s]:s);var y=ti.call(n,c);y&&"combine"===e.duplicates?n[c]=Zo.combine(n[c],s):y&&"last"!==e.duplicates||(n[c]=s)}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=ii(u,n[u],r,"string"==typeof t);o=Zo.merge(o,c,r)}return!0===r.allowSparse?o:Zo.compact(o)},stringify:function(t,e){var r,n=t,o=function(t){if(!t)return Qo;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!=t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||Qo.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Wo.default;if(void 0!==t.format){if(!zo.call(Wo.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=Wo.formatters[r],i=Qo.filter;if(("function"==typeof t.filter||Ho(t.filter))&&(i=t.filter),n=t.arrayFormat in Go?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":Qo.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:Qo.addQueryPrefix,allowDots:void 0===t.allowDots?!0===t.encodeDotInKeys||Qo.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:Qo.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Qo.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?Qo.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:Qo.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:Qo.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:Qo.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:Qo.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:Qo.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:Qo.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Qo.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):Ho(o.filter)&&(r=o.filter);var i=[];if("object"!==s(n)||null===n)return"";var a=Go[o.arrayFormat],u="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=Mo(),l=0;l<r.length;++l){var f=r[l];o.skipNulls&&null===n[f]||Jo(i,Yo(n[f],f,a,u,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var p=i.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(y+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),p.length>0?y+p:""}}),ui=Object.prototype.toString,ci=Array.isArray,si=O((function(t){return"string"==typeof t||!ci(t)&&function(t){return!!t&&"object"==s(t)}(t)&&"[object String]"==ui.call(t)}));function li(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},fi(t)}function pi(t,e){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pi(t,e)}function yi(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pi(t,e)}function hi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(hi=function(){return!!t})()}function di(t){var e="function"==typeof Map?new Map:void 0;return di=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(hi())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&pi(o,r.prototype),o}(t,arguments,fi(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pi(r,t)},di(t)}var vi={exports:{}};function mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(bi=function(){return!!t})()}var gi=function(t){function e(){var t,r,n,o;return p(this,e),r=this,o=["Throttled function aborted"],n=fi(n=e),(t=li(r,bi()?Reflect.construct(n,o||[],fi(r).constructor):n.apply(r,o))).name="AbortError",t}return yi(e,t),h(e)}(di(Error));vi.exports=function(t){var e=t.limit,n=t.interval,o=t.strict;if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");var i=new Map,a=0,u=0,c=[],s=o?function(){var t=Date.now();if(c.length<e)return c.push(t),0;var r=c.shift()+n;return t>=r?(c.push(t),0):(c.push(r),r-t)}:function(){var t=Date.now();return t-a>n?(u=1,a=t,0):(u<e?u++:(a+=n,u=1),a-t)};return function(t){var e=function(){for(var n,o=this,a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return e.isEnabled?new Promise((function(e,r){n=setTimeout((function(){e(t.apply(o,u)),i.delete(n)}),s()),i.set(n,r)})):r(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.apply(o,u));case 1:case"end":return e.stop()}}),e)})))()};return e.abort=function(){var t,e=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return mi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mi(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(i.keys());try{for(e.s();!(t=e.n()).done;){var r=t.value;clearTimeout(r),i.get(r)(new gi)}}catch(t){e.e(t)}finally{e.f()}i.clear(),c.splice(0,c.length)},e.isEnabled=!0,e}},vi.exports.AbortError=gi;var wi,Oi,Si=O(vi.exports),xi=Object.prototype,ji=Function.prototype.toString,Ei=xi.hasOwnProperty,Ai=ji.call(Object),ki=xi.toString,Pi=(wi=Object.getPrototypeOf,Oi=Object,function(t){return wi(Oi(t))}),Ti=O((function(t){if(!function(t){return!!t&&"object"==s(t)}(t)||"[object Object]"!=ki.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=Pi(t);if(null===e)return!0;var r=Ei.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&ji.call(r)==Ai}));function Ri(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Li(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function _i(t,e,r){return(e=function(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ii(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ni(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(r),!0).forEach((function(e){_i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ui(){Ui=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=Object.create((e&&e.prototype instanceof b?e:b).prototype);return o(i,"_invoke",{value:k(t,r,new L(n||[]))}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var y="suspendedStart",h="suspendedYield",d="executing",v="completed",m={};function b(){}function g(){}function w(){}var O={};l(O,a,(function(){return this}));var S=Object.getPrototypeOf,x=S&&S(S(_([])));x&&x!==r&&n.call(x,a)&&(O=x);var j=w.prototype=b.prototype=Object.create(O);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(o,i,a,u){var c=p(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=P(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(s(e)+" is not iterable")}return g.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(A.prototype),l(A.prototype,u,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new A(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),l(j,c,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Ci(t,e){return Ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ci(t,e)}function Fi(t){return Fi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fi(t)}function Di(t,e){if(t){if("string"==typeof t)return Ri(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ri(t,e):void 0}}function Bi(){Bi=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,n,o){var i=RegExp(t,n);return e.set(i,o||e.get(t)),Ci(i,r.prototype)}function n(t,r){var n=e.get(r);return Object.keys(n).reduce((function(e,r){var o=n[r];if("number"==typeof o)e[r]=t[o];else{for(var i=0;void 0===t[o[i]]&&i+1<o.length;)i++;e[r]=t[o[i]]}return e}),Object.create(null))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ci(t,e)}(r,RegExp),r.prototype.exec=function(e){var r=t.exec.call(this,e);if(r){r.groups=n(r,this);var o=r.indices;o&&(o.groups=n(o,this))}return r},r.prototype[Symbol.replace]=function(r,o){if("string"==typeof o){var i=e.get(this);return t[Symbol.replace].call(this,r,o.replace(/\$<([^>]+)>/g,(function(t,e){var r=i[e];return"$"+(Array.isArray(r)?r.join("$"):r)})))}if("function"==typeof o){var a=this;return t[Symbol.replace].call(this,r,(function(){var t=arguments;return"object"!=s(t[t.length-1])&&(t=[].slice.call(t)).push(n(t,a)),o.apply(this,t)}))}return t[Symbol.replace].call(this,r,o)},Bi.apply(this,arguments)}function Mi(){}var qi=function(t){return new Promise((function(e){setTimeout(e,t)}))},Wi=Bi(/(\d+)(%)/,{value:1});function zi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=e;if(Wi.test(t)){var n,o=null===(n=t.match(Wi))||void 0===n?void 0:n.groups;if(o&&o.value){var i=parseInt(o.value)/100;r=Math.round(e*i)}}return Math.min(30,Math.max(1,r))}function Gi(t,e){return e("info","Throttle request to ".concat(t,"/s")),Si({limit:t,interval:1e3,strict:!1})}var Hi=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Ki(t,e){var r=Ni(Ni({},{insecure:!1,retryOnError:!0,logHandler:function(t,e){"error"===t&&e&&[e.name,e.message].filter((function(t){return t})).join(" - ")},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),e);if(!r.accessToken){var n=new TypeError("Expected parameter accessToken");throw r.logHandler("error",n),n}var o,i=r.insecure?"http":"https",a=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,c=r.insecure?80:443;if(r.host&&Hi.test(r.host)){var s=r.host.split(":");if(2===s.length){var l=function(t){if(Array.isArray(t))return t}(o=s)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(o)||Di(o,2)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();u=l[0],c=l[1]}else u=s[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var f=e.baseURL||"".concat(i,"://").concat(u,":").concat(c).concat(r.basePath,"/spaces/").concat(a);r.headers.Authorization||"function"==typeof r.accessToken||(r.headers.Authorization="Bearer "+r.accessToken);var p=t.create({baseURL:f,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,paramsSerializer:{serialize:function(t){return ai.stringify(t)}},logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError});return p.httpClientParams=e,p.cloneWithNewParams=function(r){return Ki(t,Ni(Ni({},er(e)),r))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),"function"==typeof r.accessToken&&function(t,e){t.interceptors.request.use((function(t){return e().then((function(e){return t.headers.set("Authorization","Bearer ".concat(e)),t}))}))}(p,r.accessToken),r.throttle&&function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=t.defaults.logHandler,n=void 0===r?Mi:r,o=si(e)?zi(e):zi("auto",e),i=Gi(o,n),a=!1,u=t.interceptors.request.use((function(t){return i((function(){return t}))()}),(function(t){return Promise.reject(t)}));t.interceptors.response.use((function(r){if(!a&&si(e)&&("auto"===e||Wi.test(e))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=zi(e,c);s!==o&&(u&&t.interceptors.request.eject(u),o=s,i=Gi(s,n),u=t.interceptors.request.use((function(t){return i((function(){return t}))()}),(function(t){return Promise.reject(t)}))),a=!0}return r}),(function(t){return Promise.reject(t)}))}(p,r.throttle),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=t.defaults,n=r.responseLogger,o=void 0===n?Mi:n,i=r.requestLogger,a=void 0===i?Mi:i;t.interceptors.request.use((function(t){return a(t),t}),(function(t){return a(t),Promise.reject(t)})),t.interceptors.response.use((function(t){return o(t),t}),function(){var r,n=(r=Ui().mark((function r(n){var i,a,u,c,s;return Ui().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=n.response,a=n.config,o(n),a&&t.defaults.retryOnError){r.next=5;break}return r.abrupt("return",Promise.reject(n));case 5:if(!((u=a.attempts||1)>e)){r.next=9;break}return n.attempts=a.attempts,r.abrupt("return",Promise.reject(n));case 9:if(c=null,s=Math.pow(Math.SQRT2,u),i?i.status>=500&&i.status<600?c="Server ".concat(i.status):429===i.status&&(c="Rate limit",i.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(s=i.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){r.next=19;break}return s=Math.floor(1e3*s+200*Math.random()+500),t.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(s," ms before retrying...")),a.attempts=u+1,delete a.httpAgent,delete a.httpsAgent,r.abrupt("return",qi(s).then((function(){return t(a)})));case 19:return r.abrupt("return",Promise.reject(n));case 20:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){Li(i,n,o,a,u,"next",t)}function u(t){Li(i,n,o,a,u,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}())}(p,r.retryLimit),r.onError&&p.interceptors.response.use((function(t){return t}),r.onError),p}function Ji(t){var e=t.query,r={};return delete e.resolveLinks,r.params=er(e),r}function $i(t){var e,r=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Di(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(Object.getOwnPropertyNames(t));try{for(r.s();!(e=r.n()).done;){var n=t[e.value];n&&"object"===Fi(n)&&$i(n)}}catch(t){r.e(t)}finally{r.f()}return Object.freeze(t)}function Vi(){var t=window;if(!t)return null;var e=t.navigator.userAgent,r=t.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?"Windows":/Android/.test(e)?"Android":/Linux/.test(r)?"Linux":null}function Qi(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return er(this)}})}function Xi(t){var e,r=t.config,n=t.response;if(r&&r.headers&&r.headers.Authorization){var o="...".concat(r.headers.Authorization.toString().substr(-5));r.headers.Authorization="Bearer ".concat(o)}if(!Ti(n)||!Ti(r))throw t;var i,a=null==n?void 0:n.data,u={status:null==n?void 0:n.status,statusText:null==n?void 0:n.statusText,message:"",details:{}};r&&Ti(r)&&(u.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),a&&"object"===Fi(a)&&("requestId"in a&&(u.requestId=a.requestId||"UNKNOWN"),"message"in a&&(u.message=a.message||""),"details"in a&&(u.details=a.details||{}),e=null===(i=a.sys)||void 0===i?void 0:i.id);var c=new Error;c.name=e&&"Unknown"!==e?e:"".concat(null==n?void 0:n.status," ").concat(null==n?void 0:n.statusText);try{c.message=JSON.stringify(u,null," ")}catch(t){var s;c.message=null!==(s=null==u?void 0:u.message)&&void 0!==s?s:""}throw c}function Yi(t){return function(e){return Object.assign({},t,e)}}function Zi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ta={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},ea={0:8203,1:8204,2:8205,3:65279},ra=new Array(4).fill(String.fromCodePoint(ea[0])).join("");function na(t,e){return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return!0===r||"auto"===r&&(function(t){return!(!Number.isNaN(Number(t))||/[a-z]/i.test(t)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(t)||!Date.parse(t))}(t)||function(t){try{t.startsWith("/")}catch(t){return!1}return!0}(t))?t:"".concat(t).concat(function(t){var e=JSON.stringify(t);return"".concat(ra).concat(Array.from(e).map((function(t){var r=t.charCodeAt(0);if(r>255)throw new Error("Only ASCII edit info can be encoded. Error attempting to encode ".concat(e," on character ").concat(t," (").concat(r,")"));return Array.from(r.toString(4).padStart(4,"0")).map((function(t){return String.fromCodePoint(ea[t])})).join("")})).join(""))}(e))}(t,e)}Object.fromEntries(Object.entries(ea).map((function(t){return t.reverse()}))),Object.fromEntries(Object.entries(ta).map((function(t){return t.reverse()}))),"".concat(Object.values(ta).map((function(t){return"\\u{".concat(t.toString(16),"}")})).join(""));var oa=Object.prototype.hasOwnProperty,ia=Object.prototype.toString,aa=ua;function ua(t,e,r){if(3===arguments.length)return ua.set(t,e,r);if(2===arguments.length)return ua.get(t,e);var n=ua.bind(ua,t);for(var o in ua)ua.hasOwnProperty(o)&&(n[o]=ua[o].bind(n,t));return n}ua.get=function(t,e){for(var r=Array.isArray(e)?e:ua.parse(e),n=0;n<r.length;++n){var o=r[n];if("object"!=s(t)||!(o in t))throw new Error("Invalid reference token: "+o);t=t[o]}return t},ua.set=function(t,e,r){var n=Array.isArray(e)?e:ua.parse(e),o=n[0];if(0===n.length)throw Error("Can not set the root object");for(var i=0;i<n.length-1;++i){var a=n[i];"string"!=typeof a&&"number"!=typeof a&&(a=String(a)),"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&("-"===a&&Array.isArray(t)&&(a=t.length),o=n[i+1],a in t||(t[a]=o.match(/^(\d+|-)$/)?[]:{}),t=t[a])}return"-"===o&&Array.isArray(t)&&(o=t.length),t[o]=r,this},ua.remove=function(t,e){var r=Array.isArray(e)?e:ua.parse(e),n=r[r.length-1];if(void 0===n)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var o=ua.get(t,r.slice(0,-1));if(Array.isArray(o)){var i=+n;if(""===n&&isNaN(i))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,i,1)}else delete o[n]},ua.dict=function(t,e){var r={};return ua.walk(t,(function(t,e){r[e]=t}),e),r},ua.walk=function(t,e,r){var n=[];r=r||function(t){var e=Object.prototype.toString.call(t);return"[object Object]"===e||"[object Array]"===e},function t(o){!function(t,e,r){if("[object Function]"!==ia.call(e))throw new TypeError("iterator must be a function");var n=t.length;if(n===+n)for(var o=0;o<n;o++)e.call(r,t[o],o,t);else for(var i in t)oa.call(t,i)&&e.call(r,t[i],i,t)}(o,(function(o,i){n.push(String(i)),r(o)?t(o):e(o,ua.compile(n)),n.pop()}))}(t)},ua.has=function(t,e){try{ua.get(t,e)}catch(t){return!1}return!0},ua.escape=function(t){return t.toString().replace(/~/g,"~0").replace(/\//g,"~1")},ua.unescape=function(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")},ua.parse=function(t){if(""===t)return[];if("/"!==t.charAt(0))throw new Error("Invalid JSON pointer: "+t);return t.substring(1).split(/\//).map(ua.unescape)},ua.compile=function(t){return 0===t.length?"":"/"+t.map(ua.escape).join("/")};var ca=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=aa.get(t,e);if(n.content)for(var o=0;o<n.content.length;o++)"text"===n.content[o].nodeType?r.push("".concat(e,"/content/").concat(o,"/value")):r.push.apply(r,a(ca(t,"".concat(e,"/content/").concat(o))));return r},sa=function(t){var e=t.entityId,r=t.entityType,n=t.space,o=t.environment,i=t.field,a=t.locale,u=t.editorInterface,c=t.fieldType,s=t.platform,l={origin:"contentful.com",href:"".concat("".concat(t.targetOrigin||"https://app.contentful.com","/spaces/").concat(n,"/environments/").concat(o),"/","Entry"===r?"entries":"assets","/").concat(e,"/?focusedField=").concat(i,"&focusedLocale=").concat(a,"&source=vercel-content-link"),contentful:{editorInterface:u,fieldType:c}};return"vercel"===s&&delete l.contentful,l},la=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function fa(t,e,r,n,o,i,a){var u=a?e[a]:e;switch(t){case"Symbol":var c=na(u,r);aa.set(n,o,c);break;case"Text":var s=na(u,r);aa.set(n,o,s);break;case"RichText":!function(t){var e=t.pointer,r=t.mappings,n=t.data,o=t.hiddenStrings,i=r[e];delete r[e];var a,u=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return Zi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zi(t,e):void 0}}(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(ca(n,e));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=na(aa.get(n,c),o);aa.set(n,c,s)}}catch(t){u.e(t)}finally{u.f()}}({pointer:"",mappings:i,data:u,hiddenStrings:r});break;case"Array":var l=u.map((function(t){return"string"==typeof t?na(t,r):t}));aa.set(n,o,l)}}var pa,ya=function(t,e,r,n,o){if(t.fields){var i=t.sys.contentSourceMaps;if(i){var a,u=i.mappings,c=function(){var i=u[s].source,a=t.sys.space.sys.id,c=t.sys.environment.sys.id,l=t.sys.id,f=t.sys.type,p=e[i.fieldType],y=r[i.editorInterface];if(function(t){return["builtin","sidebar-builtin","editor-builtin"].includes(t)}(y.widgetNamespace)&&!function(t){return la.includes(t)}(y.widgetId))return 0;var h=s.startsWith("/")?s:"/".concat(s);if(aa.has(t,h)){var d=aa.get(t,h);if(null===d)return{v:void 0};var v=h.split("/").pop();if(!v)return{v:void 0};var m=t.sys.locale;if(m){var b=sa({entityId:l,entityType:f,space:a,environment:c,field:v,locale:m,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});fa(p,d,b,t,h,u)}else Object.keys(d).forEach((function(e){var r=sa({entityId:l,entityType:f,space:a,environment:c,field:v,locale:e,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});fa(p,d,r,t,"".concat(h,"/").concat(e),u,e)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},ha={exports:{}};pa=ha,function(t,e){pa.exports=e()}(0,(function(){var t=Function.prototype.toString,e=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),h=function(r,n){var o=r.__proto__||a(r);if(!o)return e(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:e(o);if(~t.call(i).indexOf("[native code]"))try{return new i}catch(t){}return e(o)},d=function(t,e,r,n){var o=h(t,e);for(var a in n.set(t,o),t)c.call(t,a)&&(o[a]=r(t[a],n));if(f)for(var u=i(t),s=0,p=u.length,y=void 0;s<p;++s)l.call(t,y=u[s])&&(o[y]=r(t[y],n));return o},v=function(t,e,a,u){var c=h(t,e);u.set(t,c);for(var s=f?o(t).concat(i(t)):o(t),l=0,p=s.length,y=void 0,d=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(d=n(t,y)){d.get||d.set||(d.value=a(t[y],u));try{r(c,y,d)}catch(t){c[y]=d.value}}else c[y]=a(t[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(t,e){var r=!(!e||!e.isStrict),n=e&&e.realm||g,o=r?v:d,i=function(t,e){if(!t||"object"!==s(t))return t;if(e.has(t))return e.get(t);var a,u,c,l=t.__proto__||b(t),f=l&&l.constructor;if(!f||f===n.Object)return o(t,n,i,e);if(m(t)){if(r)return v(t,n,i,e);e.set(t,a=new f);for(var p=0,y=t.length;p<y;++p)a[p]=i(t[p],e);return a}if(t instanceof n.Date)return new f(t.getTime());if(t instanceof n.RegExp)return(a=new f(t.source,t.flags||(c="",(u=t).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=t.lastIndex,a;if(n.Map&&t instanceof n.Map)return e.set(t,a=new f),t.forEach((function(t,r){a.set(r,i(t,e))})),a;if(n.Set&&t instanceof n.Set)return e.set(t,a=new f),t.forEach((function(t){a.add(i(t,e))})),a;if(n.Blob&&t instanceof n.Blob)return t.slice(0,t.size,t.type);if(n.Buffer&&n.Buffer.isBuffer(t))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(t.length):new f(t.length),e.set(t,a),t.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(t))return a=new f(t.buffer.slice(0)),e.set(t,a),a;if(t instanceof n.ArrayBuffer)return a=t.slice(0),e.set(t,a),a}return"function"==typeof t.then||t instanceof Error||n.WeakMap&&t instanceof n.WeakMap||n.WeakSet&&t instanceof n.WeakSet?t:o(t,n,i,e)};return i(t,y())}return w.default=w,w.strict=function(t,e){return w(t,{isStrict:!0,realm:e?e.realm:void 0})},w}));var da=O(ha.exports),va="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(t){return s(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":s(t)};function ma(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var ba={},ga=function(t,e){var r=e.entryId,n=e.linkType,o=e.spaceId,i=e.environmentId;return t.get(o&&i?o+"!"+i+"!"+n+"!"+r:n+"!"+r)},wa=function t(e,r,n,o){if(r(e))return n(e);if(e&&"object"===(void 0===e?"undefined":va(e))){for(var i in e)e.hasOwnProperty(i)&&(e[i]=t(e[i],r,n,o));o&&(e=function(t){if(Array.isArray(t))return t.filter((function(t){return t!==ba}));for(var e in t)t[e]===ba&&delete t[e];return t}(e))}return e},Oa=function(t,e){if(e=e||{},!t.items)return[];var r=da(t),n=Object.keys(r.includes||{}).reduce((function(e,r){return[].concat(ma(e),ma(t.includes[r]))}),[]),o=[].concat(ma(r.items),ma(n)).filter((function(t){return Boolean(t.sys)})),i=new Map(o.reduce((function(t,e){var r,n=(r=e.sys,r.space&&r.environment?[r.type+"!"+r.id,r.space.sys.id+"!"+r.environment.sys.id+"!"+r.type+"!"+r.id]:[r.type+"!"+r.id]).map((function(t){return[t,e]}));return t.push.apply(t,ma(n)),t}),[]));return o.forEach((function(t){var r=function(t,e){return Array.isArray(e)?Object.keys(t).filter((function(t){return-1!==e.indexOf(t)})).reduce((function(e,r){return e[r]=t[r],e}),{}):t}(t,e.itemEntryPoints);Object.assign(t,wa(r,(function(t){return(e=t)&&e.sys&&"Link"===e.sys.type||function(t){return t&&t.sys&&"ResourceLink"===t.sys.type}(t);var e}),(function(t){return function(t,e,r){var n=function(t,e){var r=e.sys,n=r.linkType;if("ResourceLink"===r.type){if(!n.startsWith("Contentful:"))return e;var o=function(t){var e=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(e.test(t)){var r=function(t){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t){var e=[],r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done)&&(e.push(i.value),4!==e.length);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(n)throw o}}return e}(t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.match(e)),n=r[2];return{spaceId:r[1],environmentId:void 0===n?"master":n,entryId:r[3]}}}(e.sys.urn),i=o.spaceId,a=o.environmentId,u=o.entryId,c=n.split(":")[1];return ga(t,{linkType:c,entryId:u,spaceId:i,environmentId:a})||ba}return ga(t,{linkType:n,entryId:e.sys.id})||ba}(t,e);return n===ba?r?n:e:n}(i,t,e.removeUnresolved)}),e.removeUnresolved))})),r.items},Sa={exports:{}};!function(t){function e(t,e){var r=[],n=[];return null==e&&(e=function(t,e){return r[0]===e?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(e)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=e.call(this,o,i))}else r.push(i);return null==t?i:t.call(this,o,i)}}(t.exports=function(t,r,n,o){return JSON.stringify(t,e(r,o),n)}).getSerialize=e}(Sa);var xa=O(Sa.exports);function ja(t){return Object.defineProperty(t,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return xa(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",(function(t,e){return{sys:{type:"Link",linkType:"Entry",id:e.sys.id,circular:!0}}}))}})}function Ea(){return Aa.apply(this,arguments)}function Aa(){return Aa=r(P.mark((function t(e,r,n){var o,i,a,u,c,s;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&(r.initial||r.nextSyncToken||r.nextPageToken)){t.next=2;break}throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");case 2:if(!r.content_type||r.type){t.next=6;break}r.type="Entry",t.next=8;break;case 6:if(!r.content_type||!r.type||"Entry"===r.type){t.next=8;break}throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");case 8:return o=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),i=o.withoutLinkResolution,a=o.withoutUnresolvableLinks,u=o.paginate,t.next=12,ka(e,[],r,{paginate:u});case 12:return c=t.sent,i||(c.items=Oa(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(t){return function(e,r){return r.sys.type===t&&e.push(Qi(r)),e}},s={entries:(f=c.items).reduce(p("Entry"),[]),assets:f.reduce(p("Asset"),[]),deletedEntries:f.reduce(p("DeletedEntry"),[]),deletedAssets:f.reduce(p("DeletedAsset"),[])},c.nextSyncToken&&(s.nextSyncToken=c.nextSyncToken),c.nextPageToken&&(s.nextPageToken=c.nextPageToken),t.abrupt("return",($i((l=ja(Qi(s))).sys||{}),l));case 18:case"end":return t.stop()}var l,f,p}),t)}))),Aa.apply(this,arguments)}function ka(){return Pa.apply(this,arguments)}function Pa(){return(Pa=r(P.mark((function t(e,r,n,o){var i,a,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.paginate,a=(c=n).nextPageToken?{sync_token:c.nextPageToken}:c.nextSyncToken?{sync_token:c.nextSyncToken}:c.sync_token?{sync_token:c.sync_token}:c,t.next=4,e.get("sync",Ji({query:a}));case 4:if(r=r.concat((u=t.sent.data||{}).items||[]),!u.nextPageUrl){t.next=15;break}if(!i){t.next=12;break}return delete a.initial,a.sync_token=Ta(u.nextPageUrl),t.abrupt("return",ka(e,r,a,{paginate:i}));case 12:return t.abrupt("return",{items:r,nextPageToken:Ta(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){t.next=19;break}return t.abrupt("return",{items:r,nextSyncToken:Ta(u.nextSyncUrl)});case 19:return t.abrupt("return",{items:[]});case 20:case"end":return t.stop()}var c}),t)})))).apply(this,arguments)}function Ta(t){var e=t.split("?");return e.length>0?e[1].replace("sync_token=",""):""}function Ra(t){var e={},r=!1;for(var n in t)Array.isArray(t[n])&&(e[n]=t[n].join(","),r=!0);return r?Object.assign(Object.assign({},t),e):t}function La(t){if(!t.select)return new Set;var e=Array.isArray(t.select)?t.select:t.select.split(",").map((function(t){return t.trim()}));return new Set(e)}function _a(t){if(!t.select)return t;var e=La(t);return e.has("sys")?t:(e.add("sys.id"),e.add("sys.type"),Object.assign(Object.assign({},t),{select:a(e).join(",")}))}function Ia(t,e){var r=e.resolveLinks,n=e.removeUnresolved,o=ja(t);return r&&(o.items=Oa(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Na(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Na=function(){return!!t})()}var Ua=function(t){function e(t,r){var n,o,i,a;return p(this,e),o=this,i=e,a=['Invalid "'.concat(t,'" provided, ')+r],i=fi(i),(n=li(o,Na()?Reflect.construct(i,a||[],fi(o).constructor):i.apply(o,a))).name="ValidationError",n}return yi(e,t),h(e)}(di(Error));function Ca(t,e,r){if(r=r||{},"number"!=typeof e)throw new Ua(t,'only numeric values are allowed for timestamps, provided type was "'.concat(s(e),'"'));if(r.maximum&&e>r.maximum)throw new Ua(t,"value (".concat(e,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&e<r.now)throw new Ua(t,"value (".concat(e,") cannot be in the past, current time was ").concat(r.now))}function Fa(t,e){e?function(t){if(t.locale)throw new Ua("locale","The `locale` parameter is not allowed")}(t):function(t){if("*"===t.locale)throw new Ua("locale","The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n use client.withAllLocales instead of the locale='*' parameter.")}(t)}function Da(t){if("resolveLinks"in t)throw new Ua("resolveLinks","The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n If you do not want to resolve links, use client.withoutLinkResolution.")}function Ba(t){if("removeUnresolved"in t)throw new Ua("removeUnresolved","The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n If you do not want to include unresolved links, use client.withoutUnresolvableLinks.")}function Ma(t){for(var e in t){var r=t[e];if("object"===s(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(e,'" query parameter.'))}}function qa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(qa=function(){return!!t})()}var Wa=function(t){function e(t,r,n){var o,i,a,u;return p(this,e),i=this,u=["The resource could not be found."],a=fi(a=e),(o=li(i,qa()?Reflect.construct(a,u||[],fi(i).constructor):a.apply(i,u))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:t,environment:r,space:n},o}return yi(e,t),h(e)}(di(Error));function za(t,e){var n=t.http,o=t.getGlobalOptions,i=function(){return new Wa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown",o().environment,o().space)},a=function(t){var e="space"===t?o().spaceBaseUrl:o().environmentBaseUrl;if(!e)throw new Error("Please define baseUrl for "+t);return e.endsWith("/")||(e+="/"),e};function u(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.httpClientParams,i=null!==(t=null==o?void 0:o.includeContentSourceMaps)&&void 0!==t?t:null===(e=null==o?void 0:o.alphaFeatures)||void 0===e?void 0:e.includeContentSourceMaps,a=function(t,e){if(void 0===e)return!1;if("boolean"!=typeof e)throw new Ua("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");if(e&&"preview.contentful.com"!==t)throw new Ua("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to include Content Source Maps.\n ");return e}(null==o?void 0:o.host,i);if(a&&(r.includeContentSourceMaps=!0,r.select)){var u=La(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(t,e){var r;return(null===(r=null==e?void 0:e.params)||void 0===r?void 0:r.includeContentSourceMaps)?function(t,e,r){var n,o=function(t){if("function"==typeof structuredClone)return structuredClone(t);try{return JSON.parse(JSON.stringify(t))}catch(e){return t}}(t);if(o.sys&&"items"in o){if(null==(n=o.sys)||!n.contentSourceMapsLookup)return o;var i=o.sys.contentSourceMapsLookup,a=i.fieldTypes,u=i.editorInterfaces,c=o.includes;o.items.forEach((function(t){return ya(t,a,u,e,r)})),c&&c.Entry&&c.Entry.forEach((function(t){return ya(t,a,u,e,r)})),c&&c.Asset&&c.Asset.forEach((function(t){return ya(t,a,u,e,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;ya(o,o.sys.contentSourceMapsLookup.fieldTypes,o.sys.contentSourceMapsLookup.editorInterfaces,e,r)}return o}(t):t}function s(t){return l.apply(this,arguments)}function l(){return(l=r(P.mark((function t(e){var r,o,i;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.path,o=e.config,i=a(e.context),t.prev=2,t.next=5,n.get(i+r,o);case 5:return t.abrupt("return",c(t.sent.data,o));case 9:t.prev=9,t.t0=t.catch(2),Xi(t.t0);case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))).apply(this,arguments)}function f(t){return p.apply(this,arguments)}function p(){return(p=r(P.mark((function t(e){var r,o,i,u;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.path,o=e.data,i=e.config,u=a(e.context),t.prev=2,t.next=5,n.post(u+r,o,i);case 5:return t.abrupt("return",t.sent.data);case 9:t.prev=9,t.t0=t.catch(2),Xi(t.t0);case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))).apply(this,arguments)}function y(){return(y=r(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"space",path:""}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(){return(h=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"content_types/".concat(e)}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(){return d=r(P.mark((function t(){var e=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"content_types",config:Ji({query:e.length>0&&void 0!==e[0]?e[0]:{}})}));case 2:case"end":return t.stop()}}),t)}))),d.apply(this,arguments)}function v(){return v=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",b(r,n.length>1&&void 0!==n[1]?n[1]:{},e));case 2:case"end":return t.stop()}}),t)}))),v.apply(this,arguments)}function m(){return m=r(P.mark((function t(){var r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",S(r.length>0&&void 0!==r[0]?r[0]:{},e));case 2:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}function b(t,e){return g.apply(this,arguments)}function g(){return g=r(P.mark((function t(e,r){var n,o,i=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Da(r),Ba(r),Ma(r),t.abrupt("return",w(e,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}function w(t,e,r){return O.apply(this,arguments)}function O(){return O=r(P.mark((function t(e,r,n){var o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw i(e);case 2:return t.prev=2,t.next=5,j(Object.assign({"sys.id":e},u(r)),n);case 5:if(!((o=t.sent).items.length>0)){t.next=10;break}return t.abrupt("return",o.items[0]);case 10:throw i(e);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(2),Xi(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,13]])}))),O.apply(this,arguments)}function S(t){return x.apply(this,arguments)}function x(){return x=r(P.mark((function t(e){var r,n,o=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(e,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Da(e),Ba(e),Ma(e),t.abrupt("return",j(n?Object.assign(Object.assign({},e),{locale:"*"}):e,r));case 7:case"end":return t.stop()}}),t)}))),x.apply(this,arguments)}function j(t,e){return E.apply(this,arguments)}function E(){return E=r(P.mark((function t(e,r){var n,o;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,t.prev=1,t.next=4,s({context:"environment",path:"entries",config:Ji({query:u(Ra(_a(e)))})});case 4:return t.abrupt("return",Ia(t.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 8:t.prev=8,t.t0=t.catch(1),Xi(t.t0);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),E.apply(this,arguments)}function A(){return A=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",I(r,n.length>1&&void 0!==n[1]?n[1]:{},e));case 2:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}function k(){return k=r(P.mark((function t(){var r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",T(r.length>0&&void 0!==r[0]?r[0]:{},e));case 2:case"end":return t.stop()}}),t)}))),k.apply(this,arguments)}function T(t){return R.apply(this,arguments)}function R(){return R=r(P.mark((function t(e){var r,n,o=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(e,r=(o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Ma(e),n=r?Object.assign(Object.assign({},e),{locale:"*"}):e,t.abrupt("return",U(n));case 6:case"end":return t.stop()}}),t)}))),R.apply(this,arguments)}function L(t,e){return _.apply(this,arguments)}function _(){return(_=r(P.mark((function t(e,r){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",s({context:"environment",path:"assets/".concat(e),config:Ji({query:u(_a(r))})}));case 4:t.prev=4,t.t0=t.catch(0),Xi(t.t0);case 7:case"end":return t.stop()}}),t,null,[[0,4]])})))).apply(this,arguments)}function I(t,e){return N.apply(this,arguments)}function N(){return N=r(P.mark((function t(e,r){var n,o,i=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Fa(r,n=(i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Ma(r),o=n?Object.assign(Object.assign({},r),{locale:"*"}):r,t.abrupt("return",L(e,o));case 6:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}function U(t){return C.apply(this,arguments)}function C(){return(C=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",s({context:"environment",path:"assets",config:Ji({query:u(Ra(_a(e)))})}));case 4:t.prev=4,t.t0=t.catch(0),Xi(t.t0);case 7:case"end":return t.stop()}}),t,null,[[0,4]])})))).apply(this,arguments)}function F(){return(F=r(P.mark((function t(e){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s({context:"environment",path:"tags/".concat(e)}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(){return D=r(P.mark((function t(){var e,r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ma(e=r.length>0&&void 0!==r[0]?r[0]:{}),t.abrupt("return",s({context:"environment",path:"tags",config:Ji({query:Ra(_a(e))})}));case 3:case"end":return t.stop()}}),t)}))),D.apply(this,arguments)}function B(){return(B=r(P.mark((function t(e){var r;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{r=Math.floor(Date.now()/1e3),Ca("expiresAt",e,{maximum:r+172800,now:r})}catch(t){Xi(t)}return t.abrupt("return",f({context:"environment",path:"asset_keys",data:{expiresAt:e}}));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function M(){return M=r(P.mark((function t(){var e,r=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ma(e=r.length>0&&void 0!==r[0]?r[0]:{}),t.abrupt("return",s({context:"environment",path:"locales",config:Ji({query:_a(e)})}));case 3:case"end":return t.stop()}}),t)}))),M.apply(this,arguments)}function q(){return q=r(P.mark((function t(r){var n=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},e));case 2:case"end":return t.stop()}}),t)}))),q.apply(this,arguments)}function W(t,e){return z.apply(this,arguments)}function z(){return z=r(P.mark((function t(e,r){var o,i,a=arguments;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1},Da(e),Ba(e),i=Object.assign(Object.assign({},r),o),G(n),t.abrupt("return",Ea(n,e,i));case 6:case"end":return t.stop()}}),t)}))),z.apply(this,arguments)}function G(t){t.defaults.baseURL=o().environmentBaseUrl}return{version:"11.2.2",getSpace:function(){return y.apply(this,arguments)},getContentType:function(t){return h.apply(this,arguments)},getContentTypes:function(){return d.apply(this,arguments)},getAsset:function(t){return A.apply(this,arguments)},getAssets:function(){return k.apply(this,arguments)},getTag:function(t){return F.apply(this,arguments)},getTags:function(){return D.apply(this,arguments)},getLocales:function(){return M.apply(this,arguments)},parseEntries:function(t){return function(t){return function(t,e){var r=e.withoutUnresolvableLinks;return Ia(t,{resolveLinks:!e.withoutLinkResolution,removeUnresolved:null!=r&&r})}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})}(t,e)},sync:function(t){return q.apply(this,arguments)},getEntry:function(t){return v.apply(this,arguments)},getEntries:function(){return m.apply(this,arguments)},createAssetKey:function(t){return B.apply(this,arguments)}}}return t.createClient=function(t){if(!t.accessToken)throw new TypeError("Expected parameter accessToken");if(!t.space)throw new TypeError("Expected parameter space");Da(t),Ba(t);var e=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),t),r=function(t,e,r){var n=[];e&&n.push("app ".concat(e)),r&&n.push("integration ".concat(r)),n.push("sdk ".concat(t));var o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=Vi(),n.push("platform ReactNative")):"undefined"==typeof process||process.browser?(o=Vi(),n.push("platform browser")):(o=function(){var t=process.platform||"linux",e=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in r?"".concat(r[t]||"Linux","/").concat(e):null}(),n.push("platform node.js/".concat(process.versions&&process.versions.node?"v".concat(process.versions.node):process.version)))}catch(t){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(t){return""!==t})).join("; "),";")}("contentful.js/".concat("11.2.2"),e.application,e.integration);e.headers=Object.assign(Object.assign({},e.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=Ki(Ye,e);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=Yi({space:e.space,environment:e.environment,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:"".concat(n.defaults.baseURL,"environments/").concat(e.environment)});return n.defaults.baseURL=o({}).environmentBaseUrl,function(t){var e=t.http,r=t.getGlobalOptions;function n(t){return function(t,e,r){var n=za({http:t.http,getGlobalOptions:t.getGlobalOptions},e)||{};return Object.defineProperty(n,"withAllLocales",{get:function(){return r(Object.assign(Object.assign({},e),{withAllLocales:!0}))}}),Object.defineProperty(n,"withoutLinkResolution",{get:function(){return r(Object.assign(Object.assign({},e),{withoutLinkResolution:!0}))}}),Object.defineProperty(n,"withoutUnresolvableLinks",{get:function(){return r(Object.assign(Object.assign({},e),{withoutUnresolvableLinks:!0}))}}),Object.create(n)}({http:e,getGlobalOptions:r},t,n)}var o=za({http:e,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})}({http:n,getGlobalOptions:o})},t.createGlobalOptions=Yi,t}({});