(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[474],{1572:function(e,t,r){"use strict";r.d(t,{ZP:function(){return S}});class n{constructor(e=0,t="Network Error"){this.status=e,this.text=t}}let o={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:(()=>{if("undefined"!=typeof localStorage)return{get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t)),remove:e=>Promise.resolve(localStorage.removeItem(e))}})()},i=e=>e?"string"==typeof e?{publicKey:e}:"[object Object]"===e.toString()?e:{}:{},s=async(e,t,r={})=>{let i=await fetch(o.origin+e,{method:"POST",headers:r,body:t}),s=await i.text(),a=new n(i.status,s);if(i.ok)return a;throw a},a=(e,t,r)=>{if(!e||"string"!=typeof e)throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||"string"!=typeof t)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!r||"string"!=typeof r)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},u=e=>{if(e&&"[object Object]"!==e.toString())throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},l=e=>e.webdriver||!e.languages||0===e.languages.length,c=()=>new n(451,"Unavailable For Headless Browser"),d=(e,t)=>{if(!Array.isArray(e))throw"The BlockList list has to be an array";if("string"!=typeof t)throw"The BlockList watchVariable has to be a string"},p=e=>!e.list?.length||!e.watchVariable,f=(e,t)=>e instanceof FormData?e.get(t):e[t],h=(e,t)=>{if(p(e))return!1;d(e.list,e.watchVariable);let r=f(t,e.watchVariable);return"string"==typeof r&&e.list.includes(r)},m=()=>new n(403,"Forbidden"),y=(e,t)=>{if("number"!=typeof e||e<0)throw"The LimitRate throttle has to be a positive number";if(t&&"string"!=typeof t)throw"The LimitRate ID has to be a string"},v=async(e,t,r)=>{let n=Number(await r.get(e)||0);return t-Date.now()+n},g=async(e,t,r)=>{if(!t.throttle||!r)return!1;y(t.throttle,t.id);let n=t.id||e;return await v(n,t.throttle,r)>0||(await r.set(n,Date.now().toString()),!1)},b=()=>new n(429,"Too Many Requests"),P=e=>{if(!e||"FORM"!==e.nodeName)throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},_=e=>"string"==typeof e?document.querySelector(e):e;var S={init:(e,t="https://api.emailjs.com")=>{if(!e)return;let r=i(e);o.publicKey=r.publicKey,o.blockHeadless=r.blockHeadless,o.storageProvider=r.storageProvider,o.blockList=r.blockList,o.limitRate=r.limitRate,o.origin=r.origin||t},send:async(e,t,r,n)=>{let d=i(n),p=d.publicKey||o.publicKey,f=d.blockHeadless||o.blockHeadless,y=o.storageProvider||d.storageProvider,v={...o.blockList,...d.blockList},P={...o.limitRate,...d.limitRate};return f&&l(navigator)?Promise.reject(c()):(a(p,e,t),u(r),r&&h(v,r))?Promise.reject(m()):await g(location.pathname,P,y)?Promise.reject(b()):s("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:p,service_id:e,template_id:t,template_params:r}),{"Content-type":"application/json"})},sendForm:async(e,t,r,n)=>{let u=i(n),d=u.publicKey||o.publicKey,p=u.blockHeadless||o.blockHeadless,f=o.storageProvider||u.storageProvider,y={...o.blockList,...u.blockList},v={...o.limitRate,...u.limitRate};if(p&&l(navigator))return Promise.reject(c());let S=_(r);a(d,e,t),P(S);let w=new FormData(S);return h(y,w)?Promise.reject(m()):await g(location.pathname,v,f)?Promise.reject(b()):(w.append("lib_version","4.3.3"),w.append("service_id",e),w.append("template_id",t),w.append("user_id",d),s("/api/v1.0/email/send-form",w))},EmailJSResponseStatus:n}},6103:function(e){var t;t=function(){function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var o=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]],i=["clip","crop","fill","fillmax","max","scale","min"],s=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"],u=function(){function u(t,r){this.options=void 0,this.options=t?e({},t.options||{},r||{}):e({},r||{})}var l=u.prototype;return l.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,i={baseUrl:n};for(var s in r)r.hasOwnProperty(s)&&(i[function(e){for(var r,n=function(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,void 0)}}(e))){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o);!(r=n()).done;){var i=r.value,s=i[0],a=i[1];if(e===s||e===a)return s}return e}(s)]=r[s]);return new u(this,e({baseUrl:n},i))},l.image=function(e){return this.withOptions({source:e})},l.dataset=function(e){return this.withOptions({dataset:e})},l.projectId=function(e){return this.withOptions({projectId:e})},l.bg=function(e){return this.withOptions({bg:e})},l.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},l.width=function(e){return this.withOptions({width:e})},l.height=function(e){return this.withOptions({height:e})},l.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},l.maxWidth=function(e){return this.withOptions({maxWidth:e})},l.minWidth=function(e){return this.withOptions({minWidth:e})},l.maxHeight=function(e){return this.withOptions({maxHeight:e})},l.minHeight=function(e){return this.withOptions({minHeight:e})},l.size=function(e,t){return this.withOptions({width:e,height:t})},l.blur=function(e){return this.withOptions({blur:e})},l.sharpen=function(e){return this.withOptions({sharpen:e})},l.rect=function(e,t,r,n){return this.withOptions({rect:{left:e,top:t,width:r,height:n}})},l.format=function(e){return this.withOptions({format:e})},l.invert=function(e){return this.withOptions({invert:e})},l.orientation=function(e){return this.withOptions({orientation:e})},l.quality=function(e){return this.withOptions({quality:e})},l.forceDownload=function(e){return this.withOptions({download:e})},l.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},l.flipVertical=function(){return this.withOptions({flipVertical:!0})},l.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},l.fit=function(e){if(-1===i.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},l.crop=function(e){if(-1===s.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},l.saturation=function(e){return this.withOptions({saturation:e})},l.auto=function(e){if(-1===a.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},l.pad=function(e){return this.withOptions({pad:e})},l.url=function(){return function(t){var i=e({},t||{}),s=i.source;delete i.source;var a=function(t){var r;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))r={asset:{_ref:n(t)}};else if("string"==typeof t)r={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)r={asset:t};else if(t&&"string"==typeof t._id)r={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)r={asset:{_ref:n(t.asset.url)}};else{if("object"!=typeof t.asset)return null;r=e({},t)}return t.crop&&(r.crop=t.crop),t.hotspot&&(r.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var r=e({},t);return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(s);if(!a)throw Error("Unable to resolve image URL from source ("+JSON.stringify(s)+")");var u=function(e){var t=e.split("-"),n=t[1],o=t[2],i=t[3];if(!n||!o||!i)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');var s=o.split("x"),a=s[0],u=s[1],l=+a,c=+u;if(!(isFinite(l)&&isFinite(c)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');return{id:n,width:l,height:c,format:i}}(a.asset._ref||a.asset._id||""),l=Math.round(a.crop.left*u.width),c=Math.round(a.crop.top*u.height),d={left:l,top:c,width:Math.round(u.width-a.crop.right*u.width-l),height:Math.round(u.height-a.crop.bottom*u.height-c)},p=a.hotspot.height*u.height/2,f=a.hotspot.width*u.width/2,h=a.hotspot.x*u.width,m=a.hotspot.y*u.height;return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=e({},i,function(e,t){var r,n=t.width,o=t.height;if(!(n&&o))return{width:n,height:o,rect:e.crop};var i=e.crop,s=e.hotspot,a=n/o;if(i.width/i.height>a){var u=Math.round(i.height),l=Math.round(u*a),c=Math.max(0,Math.round(i.top)),d=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-l/2));d<i.left?d=i.left:d+l>i.left+i.width&&(d=i.left+i.width-l),r={left:d,top:c,width:l,height:u}}else{var p=i.width,f=Math.round(p/a),h=Math.max(0,Math.round(i.left)),m=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-f/2));m<i.top?m=i.top:m+f>i.top+i.height&&(m=i.top+i.height-f),r={left:h,top:m,width:p,height:f}}return{width:n,height:o,rect:r}}({crop:d,hotspot:{left:h-f,top:m-p,right:h+f,bottom:m+p}},i))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,n=t+"/images/"+e.projectId+"/"+e.dataset+"/"+r,i=[];if(e.rect){var s=e.rect,a=s.left,u=s.top,l=s.width,c=s.height;(0!==a||0!==u||c!==e.asset.height||l!==e.asset.width)&&i.push("rect="+a+","+u+","+l+","+c)}e.bg&&i.push("bg="+e.bg),e.focalPoint&&(i.push("fp-x="+e.focalPoint.x),i.push("fp-y="+e.focalPoint.y));var d=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(d&&i.push("flip="+d),o.forEach(function(t){var r=t[0],n=t[1];void 0!==e[r]?i.push(n+"="+encodeURIComponent(e[r])):void 0!==e[n]&&i.push(n+"="+encodeURIComponent(e[n]))}),0===i.length)?n:n+"?"+i.join("&")}(e({},i,{asset:u}))}(this.options)},l.toString=function(){return this.url()},u}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),r=t.apiHost,n=t.projectId,o=t.dataset;return new u(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:o})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var i=e.clientConfig,s=i.apiHost,a=i.projectId,l=i.dataset;return new u(null,{baseUrl:(s||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:a,dataset:l})}return new u(null,e)}},e.exports=t()},8738:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=u(e),s=i[0],a=i[1],l=new o((s+a)*3/4-a),c=0,d=a>0?s-4:s;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,t,n){for(var o,i=[],s=t;s<n;s+=3)i.push(r[(o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},9109:function(e,t,r){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var n=r(8738),o=r(6868),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=s(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var o=function(e){if(a.isBuffer(e)){var t,r=0|f(e.length),n=s(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),s(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function f(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(e).length;default:if(o)return n?-1:O(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,r){var o,i,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=C[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=t,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var c=-1;for(i=r;i<a;i++)if(l(e,i)===l(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*s}else -1!==c&&(i-=i-c),c=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var d=!0,p=0;p<u;p++)if(l(e,i+p)!==l(t,p)){d=!1;break}if(d)return i}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,u,l=e[o],c=null,d=l>239?4:l>223?3:l>191?2:1;if(o+d<=r)switch(d){case 1:l<128&&(c=l);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&l)<<6|63&i)>127&&(c=u);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(u=(15&l)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function P(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,o,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function w(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.lW=a,t.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(l(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(j(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(j(i,Uint8Array))o+i.length>n.length?a.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(a.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(j(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,u=Math.min(i,s),l=this.slice(n,o),c=e.slice(t,r),d=0;d<u;++d)if(l[d]!==c[d]){i=l[d],s=c[d];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,u,l,c,d,p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(a!=a)break;e[r+s]=a}return s}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,x(O(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return s=t,a=r,x(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,l=r,x(R(e),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,x(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,d);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||P(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;_(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;_(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);_(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);_(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return w(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return w(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%u]}return this};var E=/[^+/0-9A-Za-z-_]/g;function O(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function R(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function x(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},84:function(e,t,r){"use strict";var n=r(7323),o=r(1356),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},1356:function(e,t,r){"use strict";var n=r(1769),o=r(7323),i=r(9813),s=r(1354),a=o("%Function.prototype.apply%"),u=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||n.call(u,a),c=r(7723),d=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=l(n,u,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return l(n,a,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},602:function(e,t,r){"use strict";var n=r(7723),o=r(7422),i=r(1354),s=r(5601);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!s&&s(e,t);if(n)n(e,t,{configurable:null===l&&d?d.configurable:!l,enumerable:null===a&&d?d.enumerable:!a,value:r,writable:null===u&&d?d.writable:!u});else if(!c&&(a||u||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},7723:function(e,t,r){"use strict";var n=r(7323)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},1479:function(e){"use strict";e.exports=EvalError},9509:function(e){"use strict";e.exports=Error},3231:function(e){"use strict";e.exports=RangeError},8531:function(e){"use strict";e.exports=ReferenceError},7422:function(e){"use strict";e.exports=SyntaxError},1354:function(e){"use strict";e.exports=TypeError},8150:function(e){"use strict";e.exports=URIError},8734:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},o=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r},i=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var s,a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw TypeError("Function.prototype.bind called on incompatible "+a);for(var u=o(arguments,1),l=r(0,a.length-u.length),c=[],d=0;d<l;d++)c[d]="$"+d;if(s=Function("binder","return function ("+i(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof s){var t=a.apply(this,n(u,arguments));return Object(t)===t?t:this}return a.apply(e,n(u,arguments))}),a.prototype){var p=function(){};p.prototype=a.prototype,s.prototype=new p,p.prototype=null}return s}},1769:function(e,t,r){"use strict";var n=r(8734);e.exports=Function.prototype.bind||n},7323:function(e,t,r){"use strict";var n,o=r(9509),i=r(1479),s=r(3231),a=r(8531),u=r(7422),l=r(1354),c=r(8150),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var h=function(){throw new l},m=f?function(){try{return arguments.callee,h}catch(e){try{return f(arguments,"callee").get}catch(e){return h}}}():h,y=r(6025)(),v=r(7077)(),g=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),b={},P="undefined"!=typeof Uint8Array&&g?g(Uint8Array):n,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":y&&g?g([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y&&g?g(g([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&y&&g?g(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&y&&g?g(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y&&g?g(""[Symbol.iterator]()):n,"%Symbol%":y?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":m,"%TypedArray%":P,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(g)try{null.error}catch(e){var S=g(g(e));_["%Error.prototype%"]=S}var w=function e(t){var r;if("%AsyncFunction%"===t)r=p("async function () {}");else if("%GeneratorFunction%"===t)r=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=p("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&g&&(r=g(o.prototype))}return _[t]=r,r},T={__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"]},E=r(1769),O=r(1060),R=E.call(Function.call,Array.prototype.concat),x=E.call(Function.apply,Array.prototype.splice),j=E.call(Function.call,String.prototype.replace),C=E.call(Function.call,String.prototype.slice),A=E.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,M=function(e){var t=C(e,0,1),r=C(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,k,function(e,t,r,o){n[n.length]=r?j(o,I,"$1"):t||e}),n},D=function(e,t){var r,n=e;if(O(T,n)&&(n="%"+(r=T[n])[0]+"%"),O(_,n)){var o=_[n];if(o===b&&(o=w(n)),void 0===o&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=M(e),n=r.length>0?r[0]:"",o=D("%"+n+"%",t),i=o.name,s=o.value,a=!1,c=o.alias;c&&(n=c[0],x(r,R([0,1],c)));for(var d=1,p=!0;d<r.length;d+=1){var h=r[d],m=C(h,0,1),y=C(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==h&&p||(a=!0),n+="."+h,O(_,i="%"+n+"%"))s=_[i];else if(null!=s){if(!(h in s)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(f&&d+1>=r.length){var v=f(s,h);s=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[h]}else p=O(s,h),s=s[h];p&&!a&&(_[i]=s)}}return s}},5601:function(e,t,r){"use strict";var n=r(7323)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},5041:function(e,t,r){"use strict";var n=r(7723),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},7077:function(e){"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},6025:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(1770);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},1770:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},1060:function(e,t,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=r(1769);e.exports=i.call(n,o)},6868:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,l=u>>1,c=-7,d=r?o-1:0,p=r?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-c)-1,f>>=-c,c+=a;c>0;i=256*i+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+d],d+=p,c-=8);if(0===i)i=1-l;else{if(i===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),i-=l}return(f?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,u,l=8*i-o-1,c=(1<<l)-1,d=c>>1,p=23===o?5960464477539062e-23:0,f=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+d>=1?t+=p/u:t+=p*Math.pow(2,1-d),t*u>=2&&(s++,u/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*u-1)*Math.pow(2,o),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+f]=255&a,f+=h,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;e[r+f]=255&s,f+=h,s/=256,l-=8);e[r+f-h]|=128*m}},6648:function(e,t,r){"use strict";r(1669)},7138:function(e,t,r){"use strict";r.d(t,{default:function(){return o.a}});var n=r(231),o=r.n(n)},6463:function(e,t,r){"use strict";var n=r(1169);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},844:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(8157);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5944:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(8157),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(9920),o=r(1452),i=r(7437),s=o._(r(2265)),a=n._(r(4887)),u=n._(r(8321)),l=r(497),c=r(7103),d=r(3938);r(2301);let p=r(291),f=n._(r(1241)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,r,n,o,i,s){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:a,width:u,decoding:l,className:c,style:d,fetchPriority:p,placeholder:f,loading:h,unoptimized:v,fill:g,onLoadRef:b,onLoadingCompleteRef:P,setBlurComplete:_,setShowAltText:S,sizesInput:w,onLoad:T,onError:E,...O}=e;return(0,i.jsx)("img",{...O,...y(p),loading:h,width:u,height:a,decoding:l,"data-nimg":g?"fill":"1",className:c,style:d,sizes:o,srcSet:n,src:r,ref:(0,s.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(E&&(e.src=e.src),e.complete&&m(e,f,b,P,_,v,w))},[r,f,b,P,_,E,v,w,t]),onLoad:e=>{m(e.currentTarget,f,b,P,_,v,w)},onError:e=>{S(!0),"empty"!==f&&_(!0),E&&E(e)}})});function g(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,i.jsx)(u.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(p.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),o=(0,s.useMemo)(()=>{let e=h||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:a,onLoadingComplete:u}=e,m=(0,s.useRef)(a);(0,s.useEffect)(()=>{m.current=a},[a]);let y=(0,s.useRef)(u);(0,s.useEffect)(()=>{y.current=u},[u]);let[b,P]=(0,s.useState)(!1),[_,S]=(0,s.useState)(!1),{props:w,meta:T}=(0,l.getImgProps)(e,{defaultLoader:f.default,imgConf:o,blurComplete:b,showAltText:_});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...w,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:y,setBlurComplete:P,setShowAltText:S,sizesInput:e.sizes,ref:t}),T.priority?(0,i.jsx)(g,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},231:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});let n=r(9920),o=r(7437),i=n._(r(2265)),s=r(8016),a=r(8029),u=r(1142),l=r(3461),c=r(844),d=r(291),p=r(4467),f=r(3106),h=r(5944),m=r(4897),y=r(1507),v=new Set;function g(e,t,r,n,o,i){if("undefined"!=typeof window&&(i||(0,a.isLocalURL)(t))){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let P=i.default.forwardRef(function(e,t){let r,n;let{href:u,as:v,children:P,prefetch:_=null,passHref:S,replace:w,shallow:T,scroll:E,locale:O,onClick:R,onMouseEnter:x,onTouchStart:j,legacyBehavior:C=!1,...A}=e;r=P,C&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let k=i.default.useContext(d.RouterContext),I=i.default.useContext(p.AppRouterContext),M=null!=k?k:I,D=!k,N=!1!==_,U=null===_?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:F,as:G}=i.default.useMemo(()=>{if(!k){let e=b(u);return{href:e,as:v?b(v):e}}let[e,t]=(0,s.resolveHref)(k,u,!0);return{href:e,as:v?(0,s.resolveHref)(k,v):t||e}},[k,u,v]),L=i.default.useRef(F),q=i.default.useRef(G);C&&(n=i.default.Children.only(r));let $=C?n&&"object"==typeof n&&n.ref:t,[B,z,H]=(0,f.useIntersection)({rootMargin:"200px"}),W=i.default.useCallback(e=>{(q.current!==G||L.current!==F)&&(H(),q.current=G,L.current=F),B(e),$&&("function"==typeof $?$(e):"object"==typeof $&&($.current=e))},[G,$,F,H,B]);i.default.useEffect(()=>{M&&z&&N&&g(M,F,G,{locale:O},{kind:U},D)},[G,F,z,O,N,null==k?void 0:k.locale,M,D,U]);let V={ref:W,onClick(e){C||"function"!=typeof R||R(e),C&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),M&&!e.defaultPrevented&&function(e,t,r,n,o,s,u,l,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:s,locale:l,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(p):p()}(e,M,F,G,w,T,E,O,D)},onMouseEnter(e){C||"function"!=typeof x||x(e),C&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&(N||!D)&&g(M,F,G,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:U},D)},onTouchStart:function(e){C||"function"!=typeof j||j(e),C&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&(N||!D)&&g(M,F,G,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:U},D)}};if((0,l.isAbsoluteUrl)(G))V.href=G;else if(!C||S||"a"===n.type&&!("href"in n.props)){let e=void 0!==O?O:null==k?void 0:k.locale,t=(null==k?void 0:k.isLocaleDomain)&&(0,h.getDomainLocale)(G,e,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);V.href=t||(0,m.addBasePath)((0,c.addLocale)(G,e,null==k?void 0:k.defaultLocale))}return C?i.default.cloneElement(n,V):(0,o.jsx)("a",{...A,...V,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9189:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8016:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let n=r(8323),o=r(1142),i=r(5519),s=r(3461),a=r(8157),u=r(8029),l=r(9195),c=r(20);function d(e,t,r){let d;let p="string"==typeof t?t:(0,o.formatWithValidation)(t),f=p.match(/^[a-zA-Z]{1,}:\/\//),h=f?p.slice(f[0].length):p;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,s.normalizeRepeatedSlashes)(h);p=(f?f[0]:"")+t}if(!(0,u.isLocalURL)(p))return r?[p]:p;try{d=new URL(p.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(p,d);e.pathname=(0,a.normalizePathTrailingSlash)(e.pathname);let t="";if((0,l.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:s,params:a}=(0,c.interpolateAs)(e.pathname,e.pathname,r);s&&(t=(0,o.formatWithValidation)({pathname:s,hash:e.hash,query:(0,i.omit)(r,a)}))}let s=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[s,t||s]:s}catch(e){return r?[p]:p}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3106:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(2265),o=r(9189),i="function"==typeof IntersectionObserver,s=new Map,a=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,l=u||!i,[c,d]=(0,n.useState)(!1),p=(0,n.useRef)(null),f=(0,n.useCallback)(e=>{p.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(l||c)return;let e=p.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=s.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},a.push(r),s.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),s.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,r,t,c,p.current]),[f,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2901:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext({})},687:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},1943:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),r(2301);let n=r(1564),o=r(7103);function i(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var r;let a,u,l,{src:c,sizes:d,unoptimized:p=!1,priority:f=!1,loading:h,className:m,quality:y,width:v,height:g,fill:b=!1,style:P,overrideSrc:_,onLoad:S,onLoadingComplete:w,placeholder:T="empty",blurDataURL:E,fetchPriority:O,layout:R,objectFit:x,objectPosition:j,lazyBoundary:C,lazyRoot:A,...k}=e,{imgConf:I,showAltText:M,blurComplete:D,defaultLoader:N}=t,U=I||o.imageConfigDefault;if("allSizes"in U)a=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t);a={...U,allSizes:e,deviceSizes:t}}if(void 0===N)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=k.loader||N;delete k.loader,delete k.srcSet;let G="__next_img_default"in F;if(G){if("custom"===a.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(P={...P,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!d&&(d=t)}let L="",q=s(v),$=s(g);if("object"==typeof(r=c)&&(i(r)||void 0!==r.src)){let e=i(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,l=e.blurHeight,E=E||e.blurDataURL,L=e.src,!b){if(q||$){if(q&&!$){let t=q/e.width;$=Math.round(e.height*t)}else if(!q&&$){let t=$/e.height;q=Math.round(e.width*t)}}else q=e.width,$=e.height}}let B=!f&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:L)||c.startsWith("data:")||c.startsWith("blob:"))&&(p=!0,B=!1),a.unoptimized&&(p=!0),G&&c.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(p=!0),f&&(O="high");let z=s(y),H=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:x,objectPosition:j}:{},M?{}:{color:"transparent"},P),W=D||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:q,heightInt:$,blurWidth:u,blurHeight:l,blurDataURL:E||"",objectFit:H.objectFit})+'")':'url("'+T+'")',V=W?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{},K=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:s,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:l}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,s),c=u.length-1;return{sizes:s||"w"!==l?s:"100vw",srcSet:u.map((e,n)=>a({config:t,src:r,quality:i,width:e})+" "+("w"===l?e:n+1)+l).join(", "),src:a({config:t,src:r,quality:i,width:u[c]})}}({config:a,src:c,unoptimized:p,width:q,quality:z,sizes:d,loader:F});return{props:{...k,loading:B?"lazy":h,fetchPriority:O,width:q,height:$,decoding:"async",className:m,style:{...H,...V},sizes:K.sizes,srcSet:K.srcSet,src:_||K.src},meta:{unoptimized:p,priority:f,placeholder:T,fill:b}}}},8321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(9920),o=r(1452),i=r(7437),s=o._(r(2265)),a=n._(r(5960)),u=r(2901),l=r(6590),c=r(687);function d(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2301);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let i=!0,s=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){s=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(o.props.hasOwnProperty(t)){if("charSet"===t)r.has(t)?i=!1:r.add(t);else{let e=o.props[t],r=n[t]||new Set;("name"!==t||!s)&&r.has(e)?i=!1:(r.add(e),n[t]=r)}}}}return i}}()).reverse().map((e,t)=>{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,s.useContext)(u.AmpStateContext),n=(0,s.useContext)(l.HeadManagerContext);return(0,i.jsx)(a.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1564:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:s}=e,a=n?40*n:t,u=o?40*o:r,l=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(l?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},3938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(9920)._(r(2265)),o=r(7103),i=n.default.createContext(o.imageConfigDefault)},7103:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},1669:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return a}});let n=r(9920),o=r(497),i=r(8173),s=n._(r(1241));function a(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=i.Image},1241:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:o}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},291:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext(null)},1142:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return a},urlObjectKeys:function(){return s}});let n=r(1452)._(r(8323)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,i=e.protocol||"",s=e.pathname||"",a=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(n.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==l?(l="//"+(l||""),s&&"/"!==s[0]&&(s="/"+s)):l||(l=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+i+l+(s=s.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return i(e)}},9195:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(9089),o=r(8083)},20:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=r(1533),o=r(3169);function i(e,t,r){let i="",s=(0,o.getRouteRegex)(e),a=s.groups,u=(t!==e?(0,n.getRouteMatcher)(s)(t):"")||r;i=e;let l=Object.keys(a);return l.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=a[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(i=i.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:l,result:i}}},8083:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(2269),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},8029:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=r(3461),o=r(9404);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},5519:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},8323:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},1533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(3461);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},s={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(s[e]=~n.indexOf("/")?n.split("/").map(e=>i(e)):t.repeat?[i(n)]:i(n))}),s}}},3169:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return u}});let n=r(2269),o=r(1943),i=r(7741);function s(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function a(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},a=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:n,repeat:u}=s(i[1]);return r[e]={pos:a++,repeat:u,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=s(i[1]);return r[e]={pos:a++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=a(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function l(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:i,keyPrefix:a}=e,{key:u,optional:l,repeat:c}=s(n),d=u.replace(/\W/g,"");a&&(d=""+a+d);let p=!1;(0===d.length||d.length>30)&&(p=!0),isNaN(parseInt(d.slice(0,1)))||(p=!0),p&&(d=r()),a?i[d]=""+a+u:i[d]=u;let f=t?(0,o.escapeStringRegexp)(t):"";return c?l?"(?:/"+f+"(?<"+d+">.+?))?":"/"+f+"(?<"+d+">.+?)":"/"+f+"(?<"+d+">[^/]+?)"}function c(e,t){let r;let s=(0,i.removeTrailingSlash)(e).slice(1).split("/"),a=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:s.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=e.split(i[0]);return l({getSafeRouteKey:a,interceptionMarker:r,segment:i[1],routeKeys:u,keyPrefix:t?"nxtI":void 0})}return i?l({getSafeRouteKey:a,segment:i[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function d(e,t){let r=c(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function p(e,t){let{parameterizedRoute:r}=a(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},9089:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),s=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),s=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function i(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},5960:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(2265),o="undefined"==typeof window,i=o?()=>{}:n.useLayoutEffect,s=o?()=>{}:n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}if(o){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),a()}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},3461:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return g},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return y},SP:function(){return p},ST:function(){return f},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return s},getURL:function(){return a},isAbsoluteUrl:function(){return i},isResSent:function(){return l},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function a(){let{href:e}=window.location,t=s();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&l(r))return n;if(!n)throw Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let p="undefined"!=typeof performance,f=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class v extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class g extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},6919:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,s=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=a&&u&&"function"==typeof u.get?u.get:null,c=a&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,y=Function.prototype.toString,v=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,P=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,w=Array.prototype.concat,T=Array.prototype.join,E=Array.prototype.slice,O=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===C?"object":"symbol")?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-O(-e):O(e);if(n!==e){var o=String(n),i=g.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var D=r(4654),N=D.custom,U=q(N)?N:null;function F(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function G(e){return"[object Array]"===z(e)&&(!A||!("object"==typeof e&&A in e))}function L(e){return"[object RegExp]"===z(e)&&(!A||!("object"==typeof e&&A in e))}function q(e){if(C)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,a){var u=n||{};if(B(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(B(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!B(u,"customInspect")||u.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(B(u,"indent")&&null!==u.indent&&"	"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(B(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var P=u.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(g.call(t,0,r.maxStringLength),r)+"... "+n+" more character"+(n>1?"s":"")}return F(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,W),"single",r)}(t,u);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return P?M(t,S):S}if("bigint"==typeof t){var O=String(t)+"n";return P?M(t,O):O}var x=void 0===u.depth?5:u.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"==typeof t)return G(t)?"[Array]":"[Object]";var N=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=T.call(Array(e.indent+1)," ")}return{base:r,prev:T.call(Array(t+1),r)}}(u,o);if(void 0===a)a=[];else if(H(a,t)>=0)return"[Circular]";function $(t,r,n){if(r&&(a=E.call(a)).push(r),n){var i={depth:u.depth};return B(u,"quoteStyle")&&(i.quoteStyle=u.quoteStyle),e(t,i,o+1,a)}return e(t,u,o+1,a)}if("function"==typeof t&&!L(t)){var X=function(e){if(e.name)return e.name;var t=v.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),Z=Y(t,$);return"[Function"+(X?": "+X:" (anonymous)")+"]"+(Z.length>0?" { "+T.call(Z,", ")+" }":"")}if(q(t)){var ee=C?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(t);return"object"!=typeof t||C?ee:V(ee)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var et,er="<"+_.call(String(t.nodeName)),en=t.attributes||[],eo=0;eo<en.length;eo++)er+=" "+en[eo].name+"="+F((et=en[eo].value,b.call(String(et),/"/g,"&quot;")),"double",u);return er+=">",t.childNodes&&t.childNodes.length&&(er+="..."),er+="</"+_.call(String(t.nodeName))+">"}if(G(t)){if(0===t.length)return"[]";var ei=Y(t,$);return N&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(ei)?"["+Q(ei,N)+"]":"[ "+T.call(ei,", ")+" ]"}if("[object Error]"===z(t)&&(!A||!("object"==typeof t&&A in t))){var es=Y(t,$);return"cause"in Error.prototype||!("cause"in t)||k.call(t,"cause")?0===es.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(es,", ")+" }":"{ ["+String(t)+"] "+T.call(w.call("[cause]: "+$(t.cause),es),", ")+" }"}if("object"==typeof t&&m){if(U&&"function"==typeof t[U]&&D)return D(t,{depth:x-o});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ea=[];return s&&s.call(t,function(e,r){ea.push($(r,t,!0)+" => "+$(e,t))}),J("Map",i.call(t),ea,N)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var eu=[];return c&&c.call(t,function(e){eu.push($(e,t))}),J("Set",l.call(t),eu,N)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return K("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return K("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return K("WeakRef");if("[object Number]"===z(t)&&(!A||!("object"==typeof t&&A in t)))return V($(Number(t)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(t))return V($(R.call(t)));if("[object Boolean]"===z(t)&&(!A||!("object"==typeof t&&A in t)))return V(h.call(t));if("[object String]"===z(t)&&(!A||!("object"==typeof t&&A in t)))return V($(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===z(t)&&(!A||!("object"==typeof t&&A in t)))&&!L(t)){var el=Y(t,$),ec=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,ed=t instanceof Object?"":"null prototype",ep=!ec&&A&&Object(t)===t&&A in t?g.call(z(t),8,-1):ed?"Object":"",ef=(ec||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ep||ed?"["+T.call(w.call([],ep||[],ed||[]),": ")+"] ":"");return 0===el.length?ef+"{}":N?ef+"{"+Q(el,N)+"}":ef+"{ "+T.call(el,", ")+" }"}return String(t)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function B(e,t){return $.call(e,t)}function z(e){return m.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function W(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+P.call(t.toString(16))}function V(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function J(e,t,r,n){return e+" ("+t+") {"+(n?Q(r,n):T.call(r,", "))+"}"}function Q(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+T.call(e,","+r)+"\n"+t.prev}function Y(e,t){var r,n=G(e),o=[];if(n){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=B(e,i)?t(e[i],e):""}var s="function"==typeof x?x(e):[];if(C){r={};for(var a=0;a<s.length;a++)r["$"+s[a]]=s[a]}for(var u in e)B(e,u)&&(!n||String(Number(u))!==u||!(u<e.length))&&(C&&r["$"+u]instanceof Symbol||(S.call(/[^\w$]/,u)?o.push(t(u,e)+": "+t(e[u],e)):o.push(u+": "+t(e[u],e))));if("function"==typeof x)for(var l=0;l<s.length;l++)k.call(e,s[l])&&o.push("["+t(s[l])+"]: "+t(e[s[l]],e));return o}},3462:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},7334:function(e,t,r){"use strict";var n=r(8489),o=r(9864),i=r(3462);e.exports={formats:i,parse:o,stringify:n}},9864:function(e,t,r){"use strict";var n=r(5600),o=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t){var r={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=t.parameterLimit===1/0?void 0:t.parameterLimit,c=u.split(t.delimiter,l),d=-1,p=t.charset;if(t.charsetSentinel)for(f=0;f<c.length;++f)0===c[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[f]?p="utf-8":"utf8=%26%2310003%3B"===c[f]&&(p="iso-8859-1"),d=f,f=c.length);for(f=0;f<c.length;++f)if(f!==d){var f,h,m,y=c[f],v=y.indexOf("]="),g=-1===v?y.indexOf("="):v+1;-1===g?(h=t.decoder(y,s.decoder,p,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,g),s.decoder,p,"key"),m=n.maybeMap(a(y.slice(g+1),t),function(e){return t.decoder(e,s.decoder,p,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=m.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),y.indexOf("[]=")>-1&&(m=i(m)?[m]:m);var b=o.call(r,h);b&&"combine"===t.duplicates?r[h]=n.combine(r[h],m):b&&"last"!==t.duplicates||(r[h]=m)}return r},l=function(e,t,r,n){for(var o=n?t:a(t,r),i=e.length-1;i>=0;--i){var s,u=e[i];if("[]"===u&&r.parseArrays)s=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{s=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,d=parseInt(c,10);r.parseArrays||""!==c?!isNaN(d)&&u!==c&&String(d)===c&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(s=[])[d]=o:"__proto__"!==c&&(s[c]=o):s={0:o}}o=s}return o},c=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=a?i.slice(0,a.index):i,c=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(a=s.exec(i))&&d<r.depth;){if(d+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+i.slice(a.index)+"]"),l(c,t,r,n)}},d=function(e){if(!e)return s;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?s.charset:e.charset,r=void 0===e.duplicates?s.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||s.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,t){var r=d(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?u(e,r):e,i=r.plainObjects?Object.create(null):{},s=Object.keys(o),a=0;a<s.length;++a){var l=s[a],p=c(l,o[l],r,"string"==typeof e);i=n.merge(i,p,r)}return!0===r.allowSparse?i:n.compact(i)}},8489:function(e,t,r){"use strict";var n=r(6689),o=r(5600),i=r(3462),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,r,i,s,a,l,d,p,m,y,v,g,b,P,_,S,w,T){for(var E,O,R=t,x=T,j=0,C=!1;void 0!==(x=x.get(h))&&!C;){var A=x.get(t);if(j+=1,void 0!==A){if(A===j)throw RangeError("Cyclic object value");C=!0}void 0===x.get(h)&&(j=0)}if("function"==typeof y?R=y(r,R):R instanceof Date?R=b(R):"comma"===i&&u(R)&&(R=o.maybeMap(R,function(e){return e instanceof Date?b(e):e})),null===R){if(l)return m&&!S?m(r,f.encoder,w,"key",P):r;R=""}if("string"==typeof(E=R)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(R))return m?[_(S?r:m(r,f.encoder,w,"key",P))+"="+_(m(R,f.encoder,w,"value",P))]:[_(r)+"="+_(String(R))];var k=[];if(void 0===R)return k;if("comma"===i&&u(R))S&&m&&(R=o.maybeMap(R,m)),O=[{value:R.length>0?R.join(",")||null:void 0}];else if(u(y))O=y;else{var I=Object.keys(R);O=v?I.sort(v):I}var M=p?r.replace(/\./g,"%2E"):r,D=s&&u(R)&&1===R.length?M+"[]":M;if(a&&u(R)&&0===R.length)return D+"[]";for(var N=0;N<O.length;++N){var U=O[N],F="object"==typeof U&&void 0!==U.value?U.value:R[U];if(!d||null!==F){var G=g&&p?U.replace(/\./g,"%2E"):U,L=u(R)?"function"==typeof i?i(D,G):D:D+(g?"."+G:"["+G+"]");T.set(t,j);var q=n();q.set(h,T),c(k,e(F,L,i,s,a,l,d,p,"comma"===i&&S&&u(R)?null:m,y,v,g,b,P,_,S,w,q))}}return k},y=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!s.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],l=f.filter;if(("function"==typeof e.filter||u(e.filter))&&(l=e.filter),t=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:l,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};e.exports=function(e,t){var r,o=e,i=y(t);"function"==typeof i.filter?o=(0,i.filter)("",o):u(i.filter)&&(r=i.filter);var s=[];if("object"!=typeof o||null===o)return"";var l=a[i.arrayFormat],d="comma"===l&&i.commaRoundTrip;r||(r=Object.keys(o)),i.sort&&r.sort(i.sort);for(var p=n(),f=0;f<r.length;++f){var h=r[f];i.skipNulls&&null===o[h]||c(s,m(o[h],h,l,d,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var v=s.join(i.delimiter),g=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),v.length>0?g+v:""}},5600:function(e,t,r){"use strict";var n=r(3462),o=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),u=0;u<s.length;++u){var l=s[u],c=i[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:l}),r.push(c))}return a(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var u="",l=0;l<a.length;l+=1024){for(var c=a.length>=1024?a.slice(l,l+1024):a,d=[],p=0;p<c.length;++p){var f=c.charCodeAt(p);if(45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===n.RFC1738&&(40===f||41===f)){d[d.length]=c.charAt(p);continue}if(f<128){d[d.length]=s[f];continue}if(f<2048){d[d.length]=s[192|f>>6]+s[128|63&f];continue}if(f<55296||f>=57344){d[d.length]=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f];continue}p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),d[d.length]=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f]}u+=d.join("")}return u},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var s=t;return(i(t)&&!i(r)&&(s=u(t,n)),i(t)&&i(r))?(r.forEach(function(r,i){if(o.call(t,i)){var s=t[i];s&&"object"==typeof s&&r&&"object"==typeof r?t[i]=e(s,r,n):t.push(r)}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var s=r[i];return o.call(t,i)?t[i]=e(t[i],s,n):t[i]=s,t},s)}}},9813:function(e,t,r){"use strict";var n=r(7323),o=r(602),i=r(5041)(),s=r(5601),a=r(1354),u=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in e&&s){var c=s(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(l=!1)}return(n||l||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},6689:function(e,t,r){"use strict";var n=r(7323),o=r(84),i=r(6919),s=r(1354),a=n("%WeakMap%",!0),u=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},y=function(e,t){var r=m(e,t);return r&&r.value},v=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+i(e))},get:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(u){if(t)return p(t,n)}else if(r)return y(r,n)},has:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(u){if(t)return h(t,n)}else if(r)return!!m(r,n);return!1},set:function(n,o){a&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new a),c(e,n,o)):u?(t||(t=new u),f(t,n,o)):(r||(r={key:{},next:null}),v(r,n,o))}};return n}},5566:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],l=!1,c=-1;function d(){l&&n&&(l=!1,n.length?u=n.concat(u):c=-1,u.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(n=u,u=[];++c<t;)n&&n[c].run();c=-1,t=u.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new f(e,t)),1!==u.length||l||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},8721:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StripeUnknownError=t.StripeInvalidGrantError=t.StripeIdempotencyError=t.StripeSignatureVerificationError=t.StripeConnectionError=t.StripeRateLimitError=t.StripePermissionError=t.StripeAuthenticationError=t.StripeAPIError=t.StripeInvalidRequestError=t.StripeCardError=t.StripeError=t.generate=void 0,t.generate=e=>{switch(e.type){case"card_error":return new n(e);case"invalid_request_error":return new o(e);case"api_error":return new i(e);case"authentication_error":return new s(e);case"rate_limit_error":return new u(e);case"idempotency_error":return new d(e);case"invalid_grant":return new p(e);default:return new f(e)}};class r extends Error{constructor(e={},t=null){super(e.message),this.type=t||this.constructor.name,this.raw=e,this.rawType=e.type,this.code=e.code,this.doc_url=e.doc_url,this.param=e.param,this.detail=e.detail,this.headers=e.headers,this.requestId=e.requestId,this.statusCode=e.statusCode,this.message=e.message,this.charge=e.charge,this.decline_code=e.decline_code,this.payment_intent=e.payment_intent,this.payment_method=e.payment_method,this.payment_method_type=e.payment_method_type,this.setup_intent=e.setup_intent,this.source=e.source}}t.StripeError=r,r.generate=t.generate;class n extends r{constructor(e={}){super(e,"StripeCardError")}}t.StripeCardError=n;class o extends r{constructor(e={}){super(e,"StripeInvalidRequestError")}}t.StripeInvalidRequestError=o;class i extends r{constructor(e={}){super(e,"StripeAPIError")}}t.StripeAPIError=i;class s extends r{constructor(e={}){super(e,"StripeAuthenticationError")}}t.StripeAuthenticationError=s;class a extends r{constructor(e={}){super(e,"StripePermissionError")}}t.StripePermissionError=a;class u extends r{constructor(e={}){super(e,"StripeRateLimitError")}}t.StripeRateLimitError=u;class l extends r{constructor(e={}){super(e,"StripeConnectionError")}}t.StripeConnectionError=l;class c extends r{constructor(e,t,r={}){super(r,"StripeSignatureVerificationError"),this.header=e,this.payload=t}}t.StripeSignatureVerificationError=c;class d extends r{constructor(e={}){super(e,"StripeIdempotencyError")}}t.StripeIdempotencyError=d;class p extends r{constructor(e={}){super(e,"StripeInvalidGrantError")}}t.StripeInvalidGrantError=p;class f extends r{constructor(e={}){super(e,"StripeUnknownError")}}t.StripeUnknownError=f},3639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequestSender=void 0;let n=r(8721),o=r(8064),i=r(5768);class s{constructor(e,t){this._stripe=e,this._maxBufferedRequestMetric=t}_addHeadersDirectlyToObject(e,t){e.requestId=t["request-id"],e.stripeAccount=e.stripeAccount||t["stripe-account"],e.apiVersion=e.apiVersion||t["stripe-version"],e.idempotencyKey=e.idempotencyKey||t["idempotency-key"]}_makeResponseEvent(e,t,r){let n=Date.now(),i=n-e.request_start_time;return(0,o.removeNullish)({api_version:r["stripe-version"],account:r["stripe-account"],idempotency_key:r["idempotency-key"],method:e.method,path:e.path,status:t,request_id:this._getRequestId(r),elapsed:i,request_start_time:e.request_start_time,request_end_time:n})}_getRequestId(e){return e["request-id"]}_streamingResponseHandler(e,t,r){return n=>{let o=n.getHeaders(),i=n.toStream(()=>{let r=this._makeResponseEvent(e,n.getStatusCode(),o);this._stripe._emitter.emit("response",r),this._recordRequestMetrics(this._getRequestId(o),r.elapsed,t)});return this._addHeadersDirectlyToObject(i,o),r(null,i)}}_jsonResponseHandler(e,t,r){return o=>{let i=o.getHeaders(),s=this._getRequestId(i),a=o.getStatusCode(),u=this._makeResponseEvent(e,a,i);this._stripe._emitter.emit("response",u),o.toJSON().then(e=>{if(e.error)throw"string"==typeof e.error&&(e.error={type:e.error,message:e.error_description}),e.error.headers=i,e.error.statusCode=a,e.error.requestId=s,401===a?new n.StripeAuthenticationError(e.error):403===a?new n.StripePermissionError(e.error):429===a?new n.StripeRateLimitError(e.error):n.StripeError.generate(e.error);return e},e=>{throw new n.StripeAPIError({message:"Invalid JSON received from the Stripe API",exception:e,requestId:i["request-id"]})}).then(e=>{this._recordRequestMetrics(s,u.elapsed,t);let n=o.getRawResponse();this._addHeadersDirectlyToObject(n,i),Object.defineProperty(e,"lastResponse",{enumerable:!1,writable:!1,value:n}),r(null,e)},e=>r(e,null))}}static _generateConnectionErrorMessage(e){return`An error occurred with our connection to Stripe.${e>0?` Request was retried ${e} times.`:""}`}static _shouldRetry(e,t,r,n){return!!(n&&0===t&&i.HttpClient.CONNECTION_CLOSED_ERROR_CODES.includes(n.code))||!(t>=r)&&(!e||"false"!==e.getHeaders()["stripe-should-retry"]&&!!("true"===e.getHeaders()["stripe-should-retry"]||409===e.getStatusCode()||e.getStatusCode()>=500))}_getSleepTimeInMS(e,t=null){let r=this._stripe.getInitialNetworkRetryDelay(),n=Math.min(r*Math.pow(e-1,2),this._stripe.getMaxNetworkRetryDelay());return n*=.5*(1+Math.random()),n=Math.max(r,n),Number.isInteger(t)&&t<=60&&(n=Math.max(n,t)),1e3*n}_getMaxNetworkRetries(e={}){return void 0!==e.maxNetworkRetries&&Number.isInteger(e.maxNetworkRetries)?e.maxNetworkRetries:this._stripe.getMaxNetworkRetries()}_defaultIdempotencyKey(e,t){let r=this._getMaxNetworkRetries(t);return"POST"===e&&r>0?`stripe-node-retry-${this._stripe._platformFunctions.uuid4()}`:null}_makeHeaders(e,t,r,n,i,s,a){let u={Authorization:e?`Bearer ${e}`:this._stripe.getApiField("auth"),Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","User-Agent":this._getUserAgentString(),"X-Stripe-Client-User-Agent":n,"X-Stripe-Client-Telemetry":this._getTelemetryHeader(),"Stripe-Version":r,"Stripe-Account":this._stripe.getApiField("stripeAccount"),"Idempotency-Key":this._defaultIdempotencyKey(i,a)},l="POST"==i||"PUT"==i||"PATCH"==i;return(l||t)&&(l||(0,o.emitWarning)(`${i} method had non-zero contentLength but no payload is expected for this verb`),u["Content-Length"]=t),Object.assign((0,o.removeNullish)(u),(0,o.normalizeHeaders)(s))}_getUserAgentString(){let e=this._stripe.getConstant("PACKAGE_VERSION"),t=this._stripe._appInfo?this._stripe.getAppInfoAsString():"";return`Stripe/v1 NodeBindings/${e} ${t}`.trim()}_getTelemetryHeader(){if(this._stripe.getTelemetryEnabled()&&this._stripe._prevRequestMetrics.length>0)return JSON.stringify({last_request_metrics:this._stripe._prevRequestMetrics.shift()})}_recordRequestMetrics(e,t,r){if(this._stripe.getTelemetryEnabled()&&e){if(this._stripe._prevRequestMetrics.length>this._maxBufferedRequestMetric)(0,o.emitWarning)("Request metrics buffer is full, dropping telemetry message.");else{let n={request_id:e,request_duration_ms:t};r&&r.length>0&&(n.usage=r),this._stripe._prevRequestMetrics.push(n)}}}_request(e,t,r,a,u,l={},c=[],d,p=null){let f;let h=(e,t,r,n,o)=>setTimeout(e,this._getSleepTimeInMS(n,o),t,r,n+1),m=(a,u,p)=>{let y=l.settings&&l.settings.timeout&&Number.isInteger(l.settings.timeout)&&l.settings.timeout>=0?l.settings.timeout:this._stripe.getApiField("timeout"),v=this._stripe.getApiField("httpClient").makeRequest(t||this._stripe.getApiField("host"),this._stripe.getApiField("port"),r,e,u,f,this._stripe.getApiField("protocol"),y),g=Date.now(),b=(0,o.removeNullish)({api_version:a,account:u["Stripe-Account"],idempotency_key:u["Idempotency-Key"],method:e,path:r,request_start_time:g}),P=p||0,_=this._getMaxNetworkRetries(l.settings||{});this._stripe._emitter.emit("request",b),v.then(e=>s._shouldRetry(e,P,_)?h(m,a,u,P,e.getHeaders()["retry-after"]):l.streaming&&400>e.getStatusCode()?this._streamingResponseHandler(b,c,d)(e):this._jsonResponseHandler(b,c,d)(e)).catch(e=>{if(s._shouldRetry(null,P,_,e))return h(m,a,u,P,null);{let t=e.code&&e.code===i.HttpClient.TIMEOUT_ERROR_CODE;return d(new n.StripeConnectionError({message:t?`Request aborted due to timeout being reached (${y}ms)`:s._generateConnectionErrorMessage(P),detail:e}))}})},y=(t,r)=>{if(t)return d(t);f=r,this._stripe.getClientUserAgent(t=>{var r,n;let o=this._stripe.getApiField("version"),i=this._makeHeaders(u,f.length,o,t,e,null!==(r=l.headers)&&void 0!==r?r:null,null!==(n=l.settings)&&void 0!==n?n:{});m(o,i,0)})};p?p(e,a,l.headers,y):y(null,(0,o.stringifyRequestData)(a||{}))}}t.RequestSender=s},4603:function(e,t){"use strict";function r(e,t){for(let r in t){let n=r[0].toLowerCase()+r.substring(1),o=new t[r](e);this[n]=o}}Object.defineProperty(t,"__esModule",{value:!0}),t.resourceNamespace=void 0,t.resourceNamespace=function(e,t){return function(e){return new r(e,t)}}},1388:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StripeEmitter=void 0;class r extends Event{constructor(e,t){super(e),this.data=t}}class n{constructor(){this.eventTarget=new EventTarget,this.listenerMapping=new Map}on(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r)}removeListener(e,t){let r=this.listenerMapping.get(t);return this.listenerMapping.delete(t),this.eventTarget.removeEventListener(e,r)}once(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r,{once:!0})}emit(e,t){return this.eventTarget.dispatchEvent(new r(e,t))}}t.StripeEmitter=n},6672:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripeMethod=void 0;let n=r(8064),o=r(1478);t.stripeMethod=function(e){if(void 0!==e.path&&void 0!==e.fullPath)throw Error(`Method spec specified both a 'path' (${e.path}) and a 'fullPath' (${e.fullPath}).`);return function(...t){let r="function"==typeof t[t.length-1]&&t.pop();e.urlParams=(0,n.extractUrlParams)(e.fullPath||this.createResourcePathWithSymbols(e.path||""));let i=(0,n.callbackifyPromiseWithTimeout)(this._makeRequest(t,e,{}),r);return Object.assign(i,(0,o.makeAutoPaginationMethods)(this,t,e,i)),i}}},5348:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StripeResource=void 0;let n=r(8064),o=r(6672);function i(e,t){if(this._stripe=e,t)throw Error("Support for curried url params was dropped in stripe-node v7.0.0. Instead, pass two ids.");this.basePath=(0,n.makeURLInterpolator)(this.basePath||e.getApiField("basePath")),this.resourcePath=this.path,this.path=(0,n.makeURLInterpolator)(this.path),this.initialize(...arguments)}i.extend=n.protoExtend,i.method=o.stripeMethod,i.MAX_BUFFERED_REQUEST_METRICS=100,t.StripeResource=i,i.prototype={_stripe:null,path:"",resourcePath:"",basePath:null,initialize(){},requestDataProcessor:null,validateRequest:null,createFullPath(e,t){let r=[this.basePath(t),this.path(t)];if("function"==typeof e){let n=e(t);n&&r.push(n)}else r.push(e);return this._joinUrlParts(r)},createResourcePathWithSymbols(e){return e?`/${this._joinUrlParts([this.resourcePath,e])}`:`/${this.resourcePath}`},_joinUrlParts:e=>e.join("/").replace(/\/{2,}/g,"/"),_getRequestOpts(e,t,r){let o=(t.method||"GET").toUpperCase(),i=t.usage||[],s=t.urlParams||[],a=t.encode||(e=>e),u=!!t.fullPath,l=(0,n.makeURLInterpolator)(u?t.fullPath:t.path||""),c=u?t.fullPath:this.createResourcePathWithSymbols(t.path),d=[].slice.call(e),p=s.reduce((e,t)=>{let r=d.shift();if("string"!=typeof r)throw Error(`Stripe: Argument "${t}" must be a string, but got: ${r} (on API request to \`${o} ${c}\`)`);return e[t]=r,e},{}),f=a(Object.assign({},(0,n.getDataFromArgs)(d),r)),h=(0,n.getOptionsFromArgs)(d),m=h.host||t.host,y=!!t.streaming;if(d.filter(e=>null!=e).length)throw Error(`Stripe: Unknown arguments (${d}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to ${o} \`${c}\`)`);let v=u?l(p):this.createFullPath(l,p),g=Object.assign(h.headers,t.headers);t.validator&&t.validator(f,{headers:g});let b="GET"===t.method||"DELETE"===t.method;return{requestMethod:o,requestPath:v,bodyData:b?{}:f,queryData:b?f:{},auth:h.auth,headers:g,host:null!=m?m:null,streaming:y,settings:h.settings,usage:i}},_makeRequest(e,t,r){return new Promise((o,i)=>{var s;let a;try{a=this._getRequestOpts(e,t,r)}catch(e){i(e);return}let u=0===Object.keys(a.queryData).length,l=[a.requestPath,u?"":"?",(0,n.stringifyRequestData)(a.queryData)].join(""),{headers:c,settings:d}=a;this._stripe._requestSender._request(a.requestMethod,a.host,l,a.bodyData,a.auth,{headers:c,settings:d,streaming:a.streaming},a.usage,function(e,r){e?i(e):o(t.transformResponseData?t.transformResponseData(r):r)},null===(s=this.requestDataProcessor)||void 0===s?void 0:s.bind(this))})}}},648:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createWebhooks=void 0;let n=r(8721),o=r(9471);t.createWebhooks=function(e){let t={DEFAULT_TOLERANCE:300,signature:null,constructEvent(e,r,n,i,s,a){try{this.signature.verifyHeader(e,r,n,i||t.DEFAULT_TOLERANCE,s,a)}catch(e){throw e instanceof o.CryptoProviderOnlySupportsAsyncError&&(e.message+="\nUse `await constructEventAsync(...)` instead of `constructEvent(...)`"),e}return e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},async constructEventAsync(e,r,n,o,i,s){return await this.signature.verifyHeaderAsync(e,r,n,o||t.DEFAULT_TOLERANCE,i,s),e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},generateTestHeaderString:function(e){if(!e)throw new n.StripeError({message:"Options are required"});return e.timestamp=Math.floor(e.timestamp)||Math.floor(Date.now()/1e3),e.scheme=e.scheme||r.EXPECTED_SCHEME,e.cryptoProvider=e.cryptoProvider||l(),e.signature=e.signature||e.cryptoProvider.computeHMACSignature(e.timestamp+"."+e.payload,e.secret),["t="+e.timestamp,e.scheme+"="+e.signature].join(",")}},r={EXPECTED_SCHEME:"v1",verifyHeader(e,t,r,n,o,u){let{decodedHeader:c,decodedPayload:d,details:p,suspectPayloadType:f}=s(e,t,this.EXPECTED_SCHEME),h=/\s/.test(r),m=(o=o||l()).computeHMACSignature(i(d,p),r);return a(d,c,p,m,n,f,h,u),!0},async verifyHeaderAsync(e,t,r,n,o,u){let{decodedHeader:c,decodedPayload:d,details:p,suspectPayloadType:f}=s(e,t,this.EXPECTED_SCHEME),h=/\s/.test(r);o=o||l();let m=await o.computeHMACSignatureAsync(i(d,p),r);return a(d,c,p,m,n,f,h,u)}};function i(e,t){return`${t.timestamp}.${e}`}function s(e,t,r){if(!e)throw new n.StripeSignatureVerificationError(t,e,{message:"No webhook payload was provided."});let o="string"!=typeof e&&!(e instanceof Uint8Array),i=new TextDecoder("utf8"),s=e instanceof Uint8Array?i.decode(e):e;if(Array.isArray(t))throw Error("Unexpected: An array was passed as a header, which should not be possible for the stripe-signature header.");if(null==t||""==t)throw new n.StripeSignatureVerificationError(t,e,{message:"No stripe-signature header value was provided."});let a=t instanceof Uint8Array?i.decode(t):t,u="string"!=typeof a?null:a.split(",").reduce((e,t)=>{let n=t.split("=");return"t"===n[0]&&(e.timestamp=parseInt(n[1],10)),n[0]===r&&e.signatures.push(n[1]),e},{timestamp:-1,signatures:[]});if(!u||-1===u.timestamp)throw new n.StripeSignatureVerificationError(a,s,{message:"Unable to extract timestamp and signatures from header"});if(!u.signatures.length)throw new n.StripeSignatureVerificationError(a,s,{message:"No signatures found with expected scheme"});return{decodedPayload:s,decodedHeader:a,details:u,suspectPayloadType:o}}function a(t,r,o,i,s,a,u,l){let c=!!o.signatures.filter(e.secureCompare.bind(e,i)).length,d="\nLearn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing",p=u?"\n\nNote: The provided signing secret contains whitespace. This often indicates an extra newline or space is in the value":"";if(!c){if(a)throw new n.StripeSignatureVerificationError(r,t,{message:"Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead. \nSignature verification is impossible without access to the original signed material. \n"+d+"\n"+p});throw new n.StripeSignatureVerificationError(r,t,{message:"No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.\n"+d+"\n"+p})}let f=Math.floor(("number"==typeof l?l:Date.now())/1e3)-o.timestamp;if(s>0&&f>s)throw new n.StripeSignatureVerificationError(r,t,{message:"Timestamp outside the tolerance zone"});return!0}let u=null;function l(){return u||(u=e.createDefaultCryptoProvider()),u}return t.signature=r,t}},1825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiVersion=void 0,t.ApiVersion="2024-06-20"},1478:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAutoPaginationMethods=void 0;let n=r(8064);class o{constructor(e,t,r,n){this.index=0,this.pagePromise=e,this.promiseCache={currentPromise:null},this.requestArgs=t,this.spec=r,this.stripeResource=n}async iterate(e){if(!(e&&e.data&&"number"==typeof e.data.length))throw Error("Unexpected: Stripe API response does not have a well-formed `data` array.");let t=u(this.requestArgs);if(this.index<e.data.length){let r=t?e.data.length-1-this.index:this.index,n=e.data[r];return this.index+=1,{value:n,done:!1}}if(e.has_more){this.index=0,this.pagePromise=this.getNextPage(e);let t=await this.pagePromise;return this.iterate(t)}return{done:!0,value:void 0}}getNextPage(e){throw Error("Unimplemented")}async _next(){return this.iterate(await this.pagePromise)}next(){if(this.promiseCache.currentPromise)return this.promiseCache.currentPromise;let e=(async()=>{let e=await this._next();return this.promiseCache.currentPromise=null,e})();return this.promiseCache.currentPromise=e,e}}class i extends o{getNextPage(e){let t=u(this.requestArgs),r=function(e,t){let r=t?0:e.data.length-1,n=e.data[r],o=n&&n.id;if(!o)throw Error("Unexpected: No `id` found on the last item while auto-paging a list.");return o}(e,t);return this.stripeResource._makeRequest(this.requestArgs,this.spec,{[t?"ending_before":"starting_after"]:r})}}class s extends o{getNextPage(e){if(!e.next_page)throw Error("Unexpected: Stripe API response does not have a well-formed `next_page` field, but `has_more` was true.");return this.stripeResource._makeRequest(this.requestArgs,this.spec,{page:e.next_page})}}t.makeAutoPaginationMethods=(e,t,r,n)=>"search"===r.methodType?a(new s(n,t,r,e)):"list"===r.methodType?a(new i(n,t,r,e)):null;let a=e=>{var t;let r=(t=(...t)=>e.next(...t),function(){let e=[].slice.call(arguments),r=function(e){if(0===e.length)return;let t=e[0];if("function"!=typeof t)throw Error(`The first argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);if(2===t.length)return t;if(t.length>2)throw Error(`The \`onItem\` callback function passed to autoPagingEach must accept at most two arguments; got ${t}`);return function(e,r){r(t(e))}}(e),o=function(e){if(e.length<2)return null;let t=e[1];if("function"!=typeof t)throw Error(`The second argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);return t}(e);if(e.length>2)throw Error(`autoPagingEach takes up to two arguments; received ${e}`);let i=new Promise((e,n)=>{t().then(function n(o){if(o.done){e();return}let i=o.value;return new Promise(e=>{r(i,e)}).then(e=>!1===e?n({done:!0,value:void 0}):t().then(n))}).catch(n)});return(0,n.callbackifyPromiseWithTimeout)(i,o)}),o={autoPagingEach:r,autoPagingToArray:function(e,t){let o=e&&e.limit;if(!o)throw Error("You must pass a `limit` option to autoPagingToArray, e.g., `autoPagingToArray({limit: 1000});`.");if(o>1e4)throw Error("You cannot specify a limit of more than 10,000 items to fetch in `autoPagingToArray`; use `autoPagingEach` to iterate through longer lists.");let i=new Promise((e,t)=>{let n=[];r(e=>{if(n.push(e),n.length>=o)return!1}).then(()=>{e(n)}).catch(t)});return(0,n.callbackifyPromiseWithTimeout)(i,t)},next:()=>e.next(),return:()=>({}),["undefined"!=typeof Symbol&&Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator"]:()=>o};return o};function u(e){let t=[].slice.call(e);return!!(0,n.getDataFromArgs)(t).ending_before}},9471:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CryptoProviderOnlySupportsAsyncError=t.CryptoProvider=void 0;class r{computeHMACSignature(e,t){throw Error("computeHMACSignature not implemented.")}computeHMACSignatureAsync(e,t){throw Error("computeHMACSignatureAsync not implemented.")}}t.CryptoProvider=r;class n extends Error{}t.CryptoProviderOnlySupportsAsyncError=n},9881:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubtleCryptoProvider=void 0;let n=r(9471);class o extends n.CryptoProvider{constructor(e){super(),this.subtleCrypto=e||crypto.subtle}computeHMACSignature(e,t){throw new n.CryptoProviderOnlySupportsAsyncError("SubtleCryptoProvider cannot be used in a synchronous context.")}async computeHMACSignatureAsync(e,t){let r=new TextEncoder,n=await this.subtleCrypto.importKey("raw",r.encode(t),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),o=new Uint8Array(await this.subtleCrypto.sign("hmac",n,r.encode(e))),s=Array(o.length);for(let e=0;e<o.length;e++)s[e]=i[o[e]];return s.join("")}}t.SubtleCryptoProvider=o;let i=Array(256);for(let e=0;e<i.length;e++)i[e]=e.toString(16).padStart(2,"0")},9929:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multipartRequestDataProcessor=void 0;let n=r(8064),o=(e,t,r)=>{let o=(Math.round(1e16*Math.random())+Math.round(1e16*Math.random())).toString();r["Content-Type"]=`multipart/form-data; boundary=${o}`;let i=new TextEncoder,s=new Uint8Array(0),a=i.encode("\r\n");function u(e){let t=s,r=e instanceof Uint8Array?e:new Uint8Array(i.encode(e));(s=new Uint8Array(t.length+r.length+2)).set(t),s.set(r,t.length),s.set(a,s.length-2)}function l(e){return`"${e.replace(/"|"/g,"%22").replace(/\r\n|\r|\n/g," ")}"`}let c=(0,n.flattenAndStringify)(t);for(let e in c){let t=c[e];u(`--${o}`),Object.prototype.hasOwnProperty.call(t,"data")?(u(`Content-Disposition: form-data; name=${l(e)}; filename=${l(t.name||"blob")}`),u(`Content-Type: ${t.type||"application/octet-stream"}`),u(""),u(t.data)):(u(`Content-Disposition: form-data; name=${l(e)}`),u(""),u(t))}return u(`--${o}--`),s};t.multipartRequestDataProcessor=function(e,t,r,i){if(t=t||{},"POST"!==e)return i(null,(0,n.stringifyRequestData)(t));this._stripe._platformFunctions.tryBufferData(t).then(t=>i(null,o(e,t,r))).catch(e=>i(e,null))}},2105:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FetchHttpClientResponse=t.FetchHttpClient=void 0;let n=r(5768);class o extends n.HttpClient{constructor(e){if(super(),!e){if(!globalThis.fetch)throw Error("fetch() function not provided and is not defined in the global scope. You must provide a fetch implementation.");e=globalThis.fetch}globalThis.AbortController?this._fetchFn=o.makeFetchWithAbortTimeout(e):this._fetchFn=o.makeFetchWithRaceTimeout(e)}static makeFetchWithRaceTimeout(e){return(t,r,o)=>{let i;let s=new Promise((e,t)=>{i=setTimeout(()=>{i=null,t(n.HttpClient.makeTimeoutError())},o)});return Promise.race([e(t,r),s]).finally(()=>{i&&clearTimeout(i)})}}static makeFetchWithAbortTimeout(e){return async(t,r,o)=>{let i=new AbortController,s=setTimeout(()=>{s=null,i.abort(n.HttpClient.makeTimeoutError())},o);try{return await e(t,Object.assign(Object.assign({},r),{signal:i.signal}))}catch(e){if("AbortError"===e.name)throw n.HttpClient.makeTimeoutError();throw e}finally{s&&clearTimeout(s)}}}getClientName(){return"fetch"}async makeRequest(e,t,r,n,o,s,a,u){let l=new URL(r,`${"http"===a?"http":"https"}://${e}`);l.port=t;let c="POST"==n||"PUT"==n||"PATCH"==n;return new i(await this._fetchFn(l.toString(),{method:n,headers:o,body:s||(c?"":void 0)},u))}}t.FetchHttpClient=o;class i extends n.HttpClientResponse{constructor(e){super(e.status,i._transformHeadersToObject(e.headers)),this._res=e}getRawResponse(){return this._res}toStream(e){return e(),this._res.body}toJSON(){return this._res.json()}static _transformHeadersToObject(e){let t={};for(let r of e){if(!Array.isArray(r)||2!=r.length)throw Error("Response objects produced by the fetch function given to FetchHttpClient do not have an iterable headers map. Response#headers should be an iterable object.");t[r[0]]=r[1]}return t}}t.FetchHttpClientResponse=i},5768:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClientResponse=t.HttpClient=void 0;class r{getClientName(){throw Error("getClientName not implemented.")}makeRequest(e,t,r,n,o,i,s,a){throw Error("makeRequest not implemented.")}static makeTimeoutError(){let e=TypeError(r.TIMEOUT_ERROR_CODE);return e.code=r.TIMEOUT_ERROR_CODE,e}}t.HttpClient=r,r.CONNECTION_CLOSED_ERROR_CODES=["ECONNRESET","EPIPE"],r.TIMEOUT_ERROR_CODE="ETIMEDOUT";class n{constructor(e,t){this._statusCode=e,this._headers=t}getStatusCode(){return this._statusCode}getHeaders(){return this._headers}getRawResponse(){throw Error("getRawResponse not implemented.")}toStream(e){throw Error("toStream not implemented.")}toJSON(){throw Error("toJSON not implemented.")}}t.HttpClientResponse=n},6598:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformFunctions=void 0;let n=r(2105),o=r(9881);class i{constructor(){this._fetchFn=null,this._agent=null}getUname(){throw Error("getUname not implemented.")}uuid4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}secureCompare(e,t){if(e.length!==t.length)return!1;let r=e.length,n=0;for(let o=0;o<r;++o)n|=e.charCodeAt(o)^t.charCodeAt(o);return 0===n}createEmitter(){throw Error("createEmitter not implemented.")}tryBufferData(e){throw Error("tryBufferData not implemented.")}createNodeHttpClient(e){throw Error("createNodeHttpClient not implemented.")}createFetchHttpClient(e){return new n.FetchHttpClient(e)}createDefaultHttpClient(){throw Error("createDefaultHttpClient not implemented.")}createNodeCryptoProvider(){throw Error("createNodeCryptoProvider not implemented.")}createSubtleCryptoProvider(e){return new o.SubtleCryptoProvider(e)}createDefaultCryptoProvider(){throw Error("createDefaultCryptoProvider not implemented.")}}t.PlatformFunctions=i},1437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebPlatformFunctions=void 0;let n=r(6598),o=r(1388);class i extends n.PlatformFunctions{getUname(){return Promise.resolve(null)}createEmitter(){return new o.StripeEmitter}tryBufferData(e){if(e.file.data instanceof ReadableStream)throw Error("Uploading a file as a stream is not supported in non-Node environments. Please open or upvote an issue at github.com/stripe/stripe-node if you use this, detailing your use-case.");return Promise.resolve(e)}createNodeHttpClient(){throw Error("Stripe: `createNodeHttpClient()` is not available in non-Node environments. Please use `createFetchHttpClient()` instead.")}createDefaultHttpClient(){return super.createFetchHttpClient()}createNodeCryptoProvider(){throw Error("Stripe: `createNodeCryptoProvider()` is not available in non-Node environments. Please use `createSubtleCryptoProvider()` instead.")}createDefaultCryptoProvider(){return this.createSubtleCryptoProvider()}}t.WebPlatformFunctions=i},378:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Topups=t.Tokens=t.TaxRates=t.TaxIds=t.TaxCodes=t.Subscriptions=t.SubscriptionSchedules=t.SubscriptionItems=t.Sources=t.ShippingRates=t.SetupIntents=t.SetupAttempts=t.Reviews=t.Refunds=t.Quotes=t.PromotionCodes=t.Products=t.Prices=t.Plans=t.Payouts=t.PaymentMethods=t.PaymentMethodDomains=t.PaymentMethodConfigurations=t.PaymentLinks=t.PaymentIntents=t.OAuth=t.Mandates=t.Invoices=t.InvoiceItems=t.Files=t.FileLinks=t.ExchangeRates=t.Events=t.EphemeralKeys=t.Disputes=t.Customers=t.CustomerSessions=t.CreditNotes=t.Coupons=t.CountrySpecs=t.ConfirmationTokens=t.Charges=t.BalanceTransactions=t.Balance=t.ApplicationFees=t.ApplePayDomains=t.Accounts=t.AccountSessions=t.AccountLinks=t.Account=void 0,t.Treasury=t.TestHelpers=t.Terminal=t.Tax=t.Sigma=t.Reporting=t.Radar=t.Issuing=t.Identity=t.Forwarding=t.FinancialConnections=t.Entitlements=t.Climate=t.Checkout=t.BillingPortal=t.Billing=t.Apps=t.WebhookEndpoints=t.Transfers=void 0;let n=r(4603),o=r(6485),i=r(7737),s=r(3862),a=r(2321),u=r(2176),l=r(4459),c=r(8439),d=r(1530),p=r(1076),f=r(3287),h=r(4306),m=r(2713),y=r(8702),v=r(7935),g=r(8205),b=r(9266),P=r(4427),_=r(5739),S=r(9254),w=r(8062),T=r(3589),E=r(50),O=r(6329),R=r(3755),x=r(9885),j=r(3518),C=r(5757),A=r(3227),k=r(6544),I=r(9428),M=r(9095),D=r(9999),N=r(4047),U=r(5377),F=r(3285),G=r(2430),L=r(9719),q=r(2253),$=r(4479),B=r(8536),z=r(6118),H=r(6292),W=r(6045),V=r(3659),K=r(3536),J=r(4705),Q=r(1243),Y=r(385),X=r(4498),Z=r(8663),ee=r(8918),et=r(2862),er=r(906),en=r(4338),eo=r(4336),ei=r(2212),es=r(489),ea=r(843),eu=r(8568),el=r(4291),ec=r(9186),ed=r(9646),ep=r(9406),ef=r(3068);var eh=r(7472);Object.defineProperty(t,"Account",{enumerable:!0,get:function(){return eh.Accounts}});var em=r(2542);Object.defineProperty(t,"AccountLinks",{enumerable:!0,get:function(){return em.AccountLinks}});var ey=r(7498);Object.defineProperty(t,"AccountSessions",{enumerable:!0,get:function(){return ey.AccountSessions}});var ev=r(7472);Object.defineProperty(t,"Accounts",{enumerable:!0,get:function(){return ev.Accounts}});var eg=r(7197);Object.defineProperty(t,"ApplePayDomains",{enumerable:!0,get:function(){return eg.ApplePayDomains}});var eb=r(6631);Object.defineProperty(t,"ApplicationFees",{enumerable:!0,get:function(){return eb.ApplicationFees}});var eP=r(1753);Object.defineProperty(t,"Balance",{enumerable:!0,get:function(){return eP.Balance}});var e_=r(3383);Object.defineProperty(t,"BalanceTransactions",{enumerable:!0,get:function(){return e_.BalanceTransactions}});var eS=r(3268);Object.defineProperty(t,"Charges",{enumerable:!0,get:function(){return eS.Charges}});var ew=r(4608);Object.defineProperty(t,"ConfirmationTokens",{enumerable:!0,get:function(){return ew.ConfirmationTokens}});var eT=r(4757);Object.defineProperty(t,"CountrySpecs",{enumerable:!0,get:function(){return eT.CountrySpecs}});var eE=r(5547);Object.defineProperty(t,"Coupons",{enumerable:!0,get:function(){return eE.Coupons}});var eO=r(3585);Object.defineProperty(t,"CreditNotes",{enumerable:!0,get:function(){return eO.CreditNotes}});var eR=r(4820);Object.defineProperty(t,"CustomerSessions",{enumerable:!0,get:function(){return eR.CustomerSessions}});var ex=r(6530);Object.defineProperty(t,"Customers",{enumerable:!0,get:function(){return ex.Customers}});var ej=r(4659);Object.defineProperty(t,"Disputes",{enumerable:!0,get:function(){return ej.Disputes}});var eC=r(3100);Object.defineProperty(t,"EphemeralKeys",{enumerable:!0,get:function(){return eC.EphemeralKeys}});var eA=r(2772);Object.defineProperty(t,"Events",{enumerable:!0,get:function(){return eA.Events}});var ek=r(9060);Object.defineProperty(t,"ExchangeRates",{enumerable:!0,get:function(){return ek.ExchangeRates}});var eI=r(5560);Object.defineProperty(t,"FileLinks",{enumerable:!0,get:function(){return eI.FileLinks}});var eM=r(7693);Object.defineProperty(t,"Files",{enumerable:!0,get:function(){return eM.Files}});var eD=r(1370);Object.defineProperty(t,"InvoiceItems",{enumerable:!0,get:function(){return eD.InvoiceItems}});var eN=r(9633);Object.defineProperty(t,"Invoices",{enumerable:!0,get:function(){return eN.Invoices}});var eU=r(2151);Object.defineProperty(t,"Mandates",{enumerable:!0,get:function(){return eU.Mandates}});var eF=r(7783);Object.defineProperty(t,"OAuth",{enumerable:!0,get:function(){return eF.OAuth}});var eG=r(9500);Object.defineProperty(t,"PaymentIntents",{enumerable:!0,get:function(){return eG.PaymentIntents}});var eL=r(6835);Object.defineProperty(t,"PaymentLinks",{enumerable:!0,get:function(){return eL.PaymentLinks}});var eq=r(1849);Object.defineProperty(t,"PaymentMethodConfigurations",{enumerable:!0,get:function(){return eq.PaymentMethodConfigurations}});var e$=r(342);Object.defineProperty(t,"PaymentMethodDomains",{enumerable:!0,get:function(){return e$.PaymentMethodDomains}});var eB=r(9102);Object.defineProperty(t,"PaymentMethods",{enumerable:!0,get:function(){return eB.PaymentMethods}});var ez=r(1541);Object.defineProperty(t,"Payouts",{enumerable:!0,get:function(){return ez.Payouts}});var eH=r(7445);Object.defineProperty(t,"Plans",{enumerable:!0,get:function(){return eH.Plans}});var eW=r(7807);Object.defineProperty(t,"Prices",{enumerable:!0,get:function(){return eW.Prices}});var eV=r(6766);Object.defineProperty(t,"Products",{enumerable:!0,get:function(){return eV.Products}});var eK=r(2725);Object.defineProperty(t,"PromotionCodes",{enumerable:!0,get:function(){return eK.PromotionCodes}});var eJ=r(1754);Object.defineProperty(t,"Quotes",{enumerable:!0,get:function(){return eJ.Quotes}});var eQ=r(3317);Object.defineProperty(t,"Refunds",{enumerable:!0,get:function(){return eQ.Refunds}});var eY=r(9187);Object.defineProperty(t,"Reviews",{enumerable:!0,get:function(){return eY.Reviews}});var eX=r(5688);Object.defineProperty(t,"SetupAttempts",{enumerable:!0,get:function(){return eX.SetupAttempts}});var eZ=r(3905);Object.defineProperty(t,"SetupIntents",{enumerable:!0,get:function(){return eZ.SetupIntents}});var e0=r(7076);Object.defineProperty(t,"ShippingRates",{enumerable:!0,get:function(){return e0.ShippingRates}});var e1=r(1580);Object.defineProperty(t,"Sources",{enumerable:!0,get:function(){return e1.Sources}});var e3=r(8504);Object.defineProperty(t,"SubscriptionItems",{enumerable:!0,get:function(){return e3.SubscriptionItems}});var e2=r(4224);Object.defineProperty(t,"SubscriptionSchedules",{enumerable:!0,get:function(){return e2.SubscriptionSchedules}});var e8=r(9721);Object.defineProperty(t,"Subscriptions",{enumerable:!0,get:function(){return e8.Subscriptions}});var e5=r(9687);Object.defineProperty(t,"TaxCodes",{enumerable:!0,get:function(){return e5.TaxCodes}});var e4=r(5752);Object.defineProperty(t,"TaxIds",{enumerable:!0,get:function(){return e4.TaxIds}});var e6=r(1281);Object.defineProperty(t,"TaxRates",{enumerable:!0,get:function(){return e6.TaxRates}});var e9=r(8953);Object.defineProperty(t,"Tokens",{enumerable:!0,get:function(){return e9.Tokens}});var e7=r(374);Object.defineProperty(t,"Topups",{enumerable:!0,get:function(){return e7.Topups}});var te=r(3265);Object.defineProperty(t,"Transfers",{enumerable:!0,get:function(){return te.Transfers}});var tt=r(4318);Object.defineProperty(t,"WebhookEndpoints",{enumerable:!0,get:function(){return tt.WebhookEndpoints}}),t.Apps=(0,n.resourceNamespace)("apps",{Secrets:Q.Secrets}),t.Billing=(0,n.resourceNamespace)("billing",{MeterEventAdjustments:O.MeterEventAdjustments,MeterEvents:R.MeterEvents,Meters:x.Meters}),t.BillingPortal=(0,n.resourceNamespace)("billingPortal",{Configurations:p.Configurations,Sessions:Y.Sessions}),t.Checkout=(0,n.resourceNamespace)("checkout",{Sessions:X.Sessions}),t.Climate=(0,n.resourceNamespace)("climate",{Orders:j.Orders,Products:U.Products,Suppliers:et.Suppliers}),t.Entitlements=(0,n.resourceNamespace)("entitlements",{ActiveEntitlements:i.ActiveEntitlements,Features:_.Features}),t.FinancialConnections=(0,n.resourceNamespace)("financialConnections",{Accounts:o.Accounts,Sessions:Z.Sessions,Transactions:es.Transactions}),t.Forwarding=(0,n.resourceNamespace)("forwarding",{Requests:K.Requests}),t.Identity=(0,n.resourceNamespace)("identity",{VerificationReports:ep.VerificationReports,VerificationSessions:ef.VerificationSessions}),t.Issuing=(0,n.resourceNamespace)("issuing",{Authorizations:a.Authorizations,Cardholders:l.Cardholders,Cards:d.Cards,Disputes:b.Disputes,PersonalizationDesigns:D.PersonalizationDesigns,PhysicalBundles:N.PhysicalBundles,Tokens:en.Tokens,Transactions:ea.Transactions}),t.Radar=(0,n.resourceNamespace)("radar",{EarlyFraudWarnings:P.EarlyFraudWarnings,ValueListItems:ec.ValueListItems,ValueLists:ed.ValueLists}),t.Reporting=(0,n.resourceNamespace)("reporting",{ReportRuns:W.ReportRuns,ReportTypes:V.ReportTypes}),t.Sigma=(0,n.resourceNamespace)("sigma",{ScheduledQueryRuns:J.ScheduledQueryRuns}),t.Tax=(0,n.resourceNamespace)("tax",{Calculations:u.Calculations,Registrations:H.Registrations,Settings:ee.Settings,Transactions:eu.Transactions}),t.Terminal=(0,n.resourceNamespace)("terminal",{Configurations:f.Configurations,ConnectionTokens:m.ConnectionTokens,Locations:E.Locations,Readers:G.Readers}),t.TestHelpers=(0,n.resourceNamespace)("testHelpers",{ConfirmationTokens:h.ConfirmationTokens,Customers:v.Customers,Refunds:z.Refunds,TestClocks:er.TestClocks,Issuing:(0,n.resourceNamespace)("issuing",{Authorizations:s.Authorizations,Cards:c.Cards,PersonalizationDesigns:M.PersonalizationDesigns,Transactions:ei.Transactions}),Terminal:(0,n.resourceNamespace)("terminal",{Readers:F.Readers}),Treasury:(0,n.resourceNamespace)("treasury",{InboundTransfers:w.InboundTransfers,OutboundPayments:C.OutboundPayments,OutboundTransfers:k.OutboundTransfers,ReceivedCredits:L.ReceivedCredits,ReceivedDebits:$.ReceivedDebits})}),t.Treasury=(0,n.resourceNamespace)("treasury",{CreditReversals:y.CreditReversals,DebitReversals:g.DebitReversals,FinancialAccounts:S.FinancialAccounts,InboundTransfers:T.InboundTransfers,OutboundPayments:A.OutboundPayments,OutboundTransfers:I.OutboundTransfers,ReceivedCredits:q.ReceivedCredits,ReceivedDebits:B.ReceivedDebits,TransactionEntries:eo.TransactionEntries,Transactions:el.Transactions})},2542:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountLinks=void 0;let n=r(5348),o=n.StripeResource.method;t.AccountLinks=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/account_links"})})},7498:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountSessions=void 0;let n=r(5348),o=n.StripeResource.method;t.AccountSessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/account_sessions"})})},7472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Accounts=void 0;let n=r(5348),o=n.StripeResource.method;t.Accounts=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/accounts"}),retrieve(e,...t){return"string"==typeof e?o({method:"GET",fullPath:"/v1/accounts/{id}"}).apply(this,[e,...t]):(null==e&&[].shift.apply([e,...t]),o({method:"GET",fullPath:"/v1/account"}).apply(this,[e,...t]))},update:o({method:"POST",fullPath:"/v1/accounts/{account}"}),list:o({method:"GET",fullPath:"/v1/accounts",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/accounts/{account}"}),createExternalAccount:o({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts"}),createLoginLink:o({method:"POST",fullPath:"/v1/accounts/{account}/login_links"}),createPerson:o({method:"POST",fullPath:"/v1/accounts/{account}/persons"}),deleteExternalAccount:o({method:"DELETE",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),deletePerson:o({method:"DELETE",fullPath:"/v1/accounts/{account}/persons/{person}"}),listCapabilities:o({method:"GET",fullPath:"/v1/accounts/{account}/capabilities",methodType:"list"}),listExternalAccounts:o({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts",methodType:"list"}),listPersons:o({method:"GET",fullPath:"/v1/accounts/{account}/persons",methodType:"list"}),reject:o({method:"POST",fullPath:"/v1/accounts/{account}/reject"}),retrieveCurrent:o({method:"GET",fullPath:"/v1/account"}),retrieveCapability:o({method:"GET",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}),retrieveExternalAccount:o({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),retrievePerson:o({method:"GET",fullPath:"/v1/accounts/{account}/persons/{person}"}),updateCapability:o({method:"POST",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}),updateExternalAccount:o({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),updatePerson:o({method:"POST",fullPath:"/v1/accounts/{account}/persons/{person}"})})},7197:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplePayDomains=void 0;let n=r(5348),o=n.StripeResource.method;t.ApplePayDomains=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/apple_pay/domains"}),retrieve:o({method:"GET",fullPath:"/v1/apple_pay/domains/{domain}"}),list:o({method:"GET",fullPath:"/v1/apple_pay/domains",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/apple_pay/domains/{domain}"})})},6631:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationFees=void 0;let n=r(5348),o=n.StripeResource.method;t.ApplicationFees=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/application_fees/{id}"}),list:o({method:"GET",fullPath:"/v1/application_fees",methodType:"list"}),createRefund:o({method:"POST",fullPath:"/v1/application_fees/{id}/refunds"}),listRefunds:o({method:"GET",fullPath:"/v1/application_fees/{id}/refunds",methodType:"list"}),retrieveRefund:o({method:"GET",fullPath:"/v1/application_fees/{fee}/refunds/{id}"}),updateRefund:o({method:"POST",fullPath:"/v1/application_fees/{fee}/refunds/{id}"})})},1243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Secrets=void 0;let n=r(5348),o=n.StripeResource.method;t.Secrets=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/apps/secrets"}),list:o({method:"GET",fullPath:"/v1/apps/secrets",methodType:"list"}),deleteWhere:o({method:"POST",fullPath:"/v1/apps/secrets/delete"}),find:o({method:"GET",fullPath:"/v1/apps/secrets/find"})})},1753:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Balance=void 0;let n=r(5348),o=n.StripeResource.method;t.Balance=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/balance"})})},3383:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BalanceTransactions=void 0;let n=r(5348),o=n.StripeResource.method;t.BalanceTransactions=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/balance_transactions/{id}"}),list:o({method:"GET",fullPath:"/v1/balance_transactions",methodType:"list"})})},6329:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MeterEventAdjustments=void 0;let n=r(5348),o=n.StripeResource.method;t.MeterEventAdjustments=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/billing/meter_event_adjustments"})})},3755:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MeterEvents=void 0;let n=r(5348),o=n.StripeResource.method;t.MeterEvents=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/billing/meter_events"})})},9885:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Meters=void 0;let n=r(5348),o=n.StripeResource.method;t.Meters=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/billing/meters"}),retrieve:o({method:"GET",fullPath:"/v1/billing/meters/{id}"}),update:o({method:"POST",fullPath:"/v1/billing/meters/{id}"}),list:o({method:"GET",fullPath:"/v1/billing/meters",methodType:"list"}),deactivate:o({method:"POST",fullPath:"/v1/billing/meters/{id}/deactivate"}),listEventSummaries:o({method:"GET",fullPath:"/v1/billing/meters/{id}/event_summaries",methodType:"list"}),reactivate:o({method:"POST",fullPath:"/v1/billing/meters/{id}/reactivate"})})},1076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configurations=void 0;let n=r(5348),o=n.StripeResource.method;t.Configurations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/billing_portal/configurations"}),retrieve:o({method:"GET",fullPath:"/v1/billing_portal/configurations/{configuration}"}),update:o({method:"POST",fullPath:"/v1/billing_portal/configurations/{configuration}"}),list:o({method:"GET",fullPath:"/v1/billing_portal/configurations",methodType:"list"})})},385:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sessions=void 0;let n=r(5348),o=n.StripeResource.method;t.Sessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/billing_portal/sessions"})})},3268:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Charges=void 0;let n=r(5348),o=n.StripeResource.method;t.Charges=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/charges"}),retrieve:o({method:"GET",fullPath:"/v1/charges/{charge}"}),update:o({method:"POST",fullPath:"/v1/charges/{charge}"}),list:o({method:"GET",fullPath:"/v1/charges",methodType:"list"}),capture:o({method:"POST",fullPath:"/v1/charges/{charge}/capture"}),search:o({method:"GET",fullPath:"/v1/charges/search",methodType:"search"})})},4498:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sessions=void 0;let n=r(5348),o=n.StripeResource.method;t.Sessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/checkout/sessions"}),retrieve:o({method:"GET",fullPath:"/v1/checkout/sessions/{session}"}),list:o({method:"GET",fullPath:"/v1/checkout/sessions",methodType:"list"}),expire:o({method:"POST",fullPath:"/v1/checkout/sessions/{session}/expire"}),listLineItems:o({method:"GET",fullPath:"/v1/checkout/sessions/{session}/line_items",methodType:"list"})})},3518:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orders=void 0;let n=r(5348),o=n.StripeResource.method;t.Orders=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/climate/orders"}),retrieve:o({method:"GET",fullPath:"/v1/climate/orders/{order}"}),update:o({method:"POST",fullPath:"/v1/climate/orders/{order}"}),list:o({method:"GET",fullPath:"/v1/climate/orders",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/climate/orders/{order}/cancel"})})},5377:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Products=void 0;let n=r(5348),o=n.StripeResource.method;t.Products=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/climate/products/{product}"}),list:o({method:"GET",fullPath:"/v1/climate/products",methodType:"list"})})},2862:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Suppliers=void 0;let n=r(5348),o=n.StripeResource.method;t.Suppliers=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/climate/suppliers/{supplier}"}),list:o({method:"GET",fullPath:"/v1/climate/suppliers",methodType:"list"})})},4608:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfirmationTokens=void 0;let n=r(5348),o=n.StripeResource.method;t.ConfirmationTokens=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/confirmation_tokens/{confirmation_token}"})})},4757:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CountrySpecs=void 0;let n=r(5348),o=n.StripeResource.method;t.CountrySpecs=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/country_specs/{country}"}),list:o({method:"GET",fullPath:"/v1/country_specs",methodType:"list"})})},5547:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coupons=void 0;let n=r(5348),o=n.StripeResource.method;t.Coupons=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/coupons"}),retrieve:o({method:"GET",fullPath:"/v1/coupons/{coupon}"}),update:o({method:"POST",fullPath:"/v1/coupons/{coupon}"}),list:o({method:"GET",fullPath:"/v1/coupons",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/coupons/{coupon}"})})},3585:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreditNotes=void 0;let n=r(5348),o=n.StripeResource.method;t.CreditNotes=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/credit_notes"}),retrieve:o({method:"GET",fullPath:"/v1/credit_notes/{id}"}),update:o({method:"POST",fullPath:"/v1/credit_notes/{id}"}),list:o({method:"GET",fullPath:"/v1/credit_notes",methodType:"list"}),listLineItems:o({method:"GET",fullPath:"/v1/credit_notes/{credit_note}/lines",methodType:"list"}),listPreviewLineItems:o({method:"GET",fullPath:"/v1/credit_notes/preview/lines",methodType:"list"}),preview:o({method:"GET",fullPath:"/v1/credit_notes/preview"}),voidCreditNote:o({method:"POST",fullPath:"/v1/credit_notes/{id}/void"})})},4820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomerSessions=void 0;let n=r(5348),o=n.StripeResource.method;t.CustomerSessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/customer_sessions"})})},6530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Customers=void 0;let n=r(5348),o=n.StripeResource.method;t.Customers=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/customers"}),retrieve:o({method:"GET",fullPath:"/v1/customers/{customer}"}),update:o({method:"POST",fullPath:"/v1/customers/{customer}"}),list:o({method:"GET",fullPath:"/v1/customers",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/customers/{customer}"}),createBalanceTransaction:o({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions"}),createFundingInstructions:o({method:"POST",fullPath:"/v1/customers/{customer}/funding_instructions"}),createSource:o({method:"POST",fullPath:"/v1/customers/{customer}/sources"}),createTaxId:o({method:"POST",fullPath:"/v1/customers/{customer}/tax_ids"}),deleteDiscount:o({method:"DELETE",fullPath:"/v1/customers/{customer}/discount"}),deleteSource:o({method:"DELETE",fullPath:"/v1/customers/{customer}/sources/{id}"}),deleteTaxId:o({method:"DELETE",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),listBalanceTransactions:o({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions",methodType:"list"}),listCashBalanceTransactions:o({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions",methodType:"list"}),listPaymentMethods:o({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods",methodType:"list"}),listSources:o({method:"GET",fullPath:"/v1/customers/{customer}/sources",methodType:"list"}),listTaxIds:o({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids",methodType:"list"}),retrieveBalanceTransaction:o({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),retrieveCashBalance:o({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance"}),retrieveCashBalanceTransaction:o({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions/{transaction}"}),retrievePaymentMethod:o({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods/{payment_method}"}),retrieveSource:o({method:"GET",fullPath:"/v1/customers/{customer}/sources/{id}"}),retrieveTaxId:o({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),search:o({method:"GET",fullPath:"/v1/customers/search",methodType:"search"}),updateBalanceTransaction:o({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),updateCashBalance:o({method:"POST",fullPath:"/v1/customers/{customer}/cash_balance"}),updateSource:o({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}"}),verifySource:o({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}/verify"})})},4659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disputes=void 0;let n=r(5348),o=n.StripeResource.method;t.Disputes=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/disputes/{dispute}"}),update:o({method:"POST",fullPath:"/v1/disputes/{dispute}"}),list:o({method:"GET",fullPath:"/v1/disputes",methodType:"list"}),close:o({method:"POST",fullPath:"/v1/disputes/{dispute}/close"})})},7737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveEntitlements=void 0;let n=r(5348),o=n.StripeResource.method;t.ActiveEntitlements=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/entitlements/active_entitlements/{id}"}),list:o({method:"GET",fullPath:"/v1/entitlements/active_entitlements",methodType:"list"})})},5739:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Features=void 0;let n=r(5348),o=n.StripeResource.method;t.Features=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/entitlements/features"}),retrieve:o({method:"GET",fullPath:"/v1/entitlements/features/{id}"}),update:o({method:"POST",fullPath:"/v1/entitlements/features/{id}"}),list:o({method:"GET",fullPath:"/v1/entitlements/features",methodType:"list"})})},3100:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EphemeralKeys=void 0;let n=r(5348),o=n.StripeResource.method;t.EphemeralKeys=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/ephemeral_keys",validator:(e,t)=>{if(!t.headers||!t.headers["Stripe-Version"])throw Error("Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node")}}),del:o({method:"DELETE",fullPath:"/v1/ephemeral_keys/{key}"})})},2772:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Events=void 0;let n=r(5348),o=n.StripeResource.method;t.Events=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/events/{id}"}),list:o({method:"GET",fullPath:"/v1/events",methodType:"list"})})},9060:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExchangeRates=void 0;let n=r(5348),o=n.StripeResource.method;t.ExchangeRates=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/exchange_rates/{rate_id}"}),list:o({method:"GET",fullPath:"/v1/exchange_rates",methodType:"list"})})},5560:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileLinks=void 0;let n=r(5348),o=n.StripeResource.method;t.FileLinks=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/file_links"}),retrieve:o({method:"GET",fullPath:"/v1/file_links/{link}"}),update:o({method:"POST",fullPath:"/v1/file_links/{link}"}),list:o({method:"GET",fullPath:"/v1/file_links",methodType:"list"})})},7693:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Files=void 0;let n=r(9929),o=r(5348),i=o.StripeResource.method;t.Files=o.StripeResource.extend({create:i({method:"POST",fullPath:"/v1/files",headers:{"Content-Type":"multipart/form-data"},host:"files.stripe.com"}),retrieve:i({method:"GET",fullPath:"/v1/files/{file}"}),list:i({method:"GET",fullPath:"/v1/files",methodType:"list"}),requestDataProcessor:n.multipartRequestDataProcessor})},6485:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Accounts=void 0;let n=r(5348),o=n.StripeResource.method;t.Accounts=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}"}),list:o({method:"GET",fullPath:"/v1/financial_connections/accounts",methodType:"list"}),disconnect:o({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/disconnect"}),listOwners:o({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}/owners",methodType:"list"}),refresh:o({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/refresh"}),subscribe:o({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/subscribe"}),unsubscribe:o({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/unsubscribe"})})},8663:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sessions=void 0;let n=r(5348),o=n.StripeResource.method;t.Sessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/financial_connections/sessions"}),retrieve:o({method:"GET",fullPath:"/v1/financial_connections/sessions/{session}"})})},489:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transactions=void 0;let n=r(5348),o=n.StripeResource.method;t.Transactions=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/financial_connections/transactions/{transaction}"}),list:o({method:"GET",fullPath:"/v1/financial_connections/transactions",methodType:"list"})})},3536:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Requests=void 0;let n=r(5348),o=n.StripeResource.method;t.Requests=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/forwarding/requests"}),retrieve:o({method:"GET",fullPath:"/v1/forwarding/requests/{id}"}),list:o({method:"GET",fullPath:"/v1/forwarding/requests",methodType:"list"})})},9406:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VerificationReports=void 0;let n=r(5348),o=n.StripeResource.method;t.VerificationReports=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/identity/verification_reports/{report}"}),list:o({method:"GET",fullPath:"/v1/identity/verification_reports",methodType:"list"})})},3068:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VerificationSessions=void 0;let n=r(5348),o=n.StripeResource.method;t.VerificationSessions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/identity/verification_sessions"}),retrieve:o({method:"GET",fullPath:"/v1/identity/verification_sessions/{session}"}),update:o({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}"}),list:o({method:"GET",fullPath:"/v1/identity/verification_sessions",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/cancel"}),redact:o({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/redact"})})},1370:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvoiceItems=void 0;let n=r(5348),o=n.StripeResource.method;t.InvoiceItems=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/invoiceitems"}),retrieve:o({method:"GET",fullPath:"/v1/invoiceitems/{invoiceitem}"}),update:o({method:"POST",fullPath:"/v1/invoiceitems/{invoiceitem}"}),list:o({method:"GET",fullPath:"/v1/invoiceitems",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/invoiceitems/{invoiceitem}"})})},9633:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Invoices=void 0;let n=r(5348),o=n.StripeResource.method;t.Invoices=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/invoices"}),retrieve:o({method:"GET",fullPath:"/v1/invoices/{invoice}"}),update:o({method:"POST",fullPath:"/v1/invoices/{invoice}"}),list:o({method:"GET",fullPath:"/v1/invoices",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/invoices/{invoice}"}),createPreview:o({method:"POST",fullPath:"/v1/invoices/create_preview"}),finalizeInvoice:o({method:"POST",fullPath:"/v1/invoices/{invoice}/finalize"}),listLineItems:o({method:"GET",fullPath:"/v1/invoices/{invoice}/lines",methodType:"list"}),listUpcomingLines:o({method:"GET",fullPath:"/v1/invoices/upcoming/lines",methodType:"list"}),markUncollectible:o({method:"POST",fullPath:"/v1/invoices/{invoice}/mark_uncollectible"}),pay:o({method:"POST",fullPath:"/v1/invoices/{invoice}/pay"}),retrieveUpcoming:o({method:"GET",fullPath:"/v1/invoices/upcoming"}),search:o({method:"GET",fullPath:"/v1/invoices/search",methodType:"search"}),sendInvoice:o({method:"POST",fullPath:"/v1/invoices/{invoice}/send"}),updateLineItem:o({method:"POST",fullPath:"/v1/invoices/{invoice}/lines/{line_item_id}"}),voidInvoice:o({method:"POST",fullPath:"/v1/invoices/{invoice}/void"})})},2321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Authorizations=void 0;let n=r(5348),o=n.StripeResource.method;t.Authorizations=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/issuing/authorizations/{authorization}"}),update:o({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}"}),list:o({method:"GET",fullPath:"/v1/issuing/authorizations",methodType:"list"}),approve:o({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/approve"}),decline:o({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/decline"})})},4459:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cardholders=void 0;let n=r(5348),o=n.StripeResource.method;t.Cardholders=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/issuing/cardholders"}),retrieve:o({method:"GET",fullPath:"/v1/issuing/cardholders/{cardholder}"}),update:o({method:"POST",fullPath:"/v1/issuing/cardholders/{cardholder}"}),list:o({method:"GET",fullPath:"/v1/issuing/cardholders",methodType:"list"})})},1530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cards=void 0;let n=r(5348),o=n.StripeResource.method;t.Cards=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/issuing/cards"}),retrieve:o({method:"GET",fullPath:"/v1/issuing/cards/{card}"}),update:o({method:"POST",fullPath:"/v1/issuing/cards/{card}"}),list:o({method:"GET",fullPath:"/v1/issuing/cards",methodType:"list"})})},9266:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disputes=void 0;let n=r(5348),o=n.StripeResource.method;t.Disputes=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/issuing/disputes"}),retrieve:o({method:"GET",fullPath:"/v1/issuing/disputes/{dispute}"}),update:o({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}"}),list:o({method:"GET",fullPath:"/v1/issuing/disputes",methodType:"list"}),submit:o({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}/submit"})})},9999:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalizationDesigns=void 0;let n=r(5348),o=n.StripeResource.method;t.PersonalizationDesigns=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/issuing/personalization_designs"}),retrieve:o({method:"GET",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),update:o({method:"POST",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),list:o({method:"GET",fullPath:"/v1/issuing/personalization_designs",methodType:"list"})})},4047:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhysicalBundles=void 0;let n=r(5348),o=n.StripeResource.method;t.PhysicalBundles=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/issuing/physical_bundles/{physical_bundle}"}),list:o({method:"GET",fullPath:"/v1/issuing/physical_bundles",methodType:"list"})})},4338:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokens=void 0;let n=r(5348),o=n.StripeResource.method;t.Tokens=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/issuing/tokens/{token}"}),update:o({method:"POST",fullPath:"/v1/issuing/tokens/{token}"}),list:o({method:"GET",fullPath:"/v1/issuing/tokens",methodType:"list"})})},843:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transactions=void 0;let n=r(5348),o=n.StripeResource.method;t.Transactions=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/issuing/transactions/{transaction}"}),update:o({method:"POST",fullPath:"/v1/issuing/transactions/{transaction}"}),list:o({method:"GET",fullPath:"/v1/issuing/transactions",methodType:"list"})})},2151:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mandates=void 0;let n=r(5348),o=n.StripeResource.method;t.Mandates=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/mandates/{mandate}"})})},7783:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth=void 0;let n=r(5348),o=r(8064),i=n.StripeResource.method,s="connect.stripe.com";t.OAuth=n.StripeResource.extend({basePath:"/",authorizeUrl(e,t){e=e||{};let r="oauth/authorize";return(t=t||{}).express&&(r=`express/${r}`),e.response_type||(e.response_type="code"),e.client_id||(e.client_id=this._stripe.getClientId()),e.scope||(e.scope="read_write"),`https://${s}/${r}?${(0,o.stringifyRequestData)(e)}`},token:i({method:"POST",path:"oauth/token",host:s}),deauthorize(e,...t){return e.client_id||(e.client_id=this._stripe.getClientId()),i({method:"POST",path:"oauth/deauthorize",host:s}).apply(this,[e,...t])}})},9500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentIntents=void 0;let n=r(5348),o=n.StripeResource.method;t.PaymentIntents=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payment_intents"}),retrieve:o({method:"GET",fullPath:"/v1/payment_intents/{intent}"}),update:o({method:"POST",fullPath:"/v1/payment_intents/{intent}"}),list:o({method:"GET",fullPath:"/v1/payment_intents",methodType:"list"}),applyCustomerBalance:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/apply_customer_balance"}),cancel:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/cancel"}),capture:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/capture"}),confirm:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/confirm"}),incrementAuthorization:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/increment_authorization"}),search:o({method:"GET",fullPath:"/v1/payment_intents/search",methodType:"search"}),verifyMicrodeposits:o({method:"POST",fullPath:"/v1/payment_intents/{intent}/verify_microdeposits"})})},6835:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentLinks=void 0;let n=r(5348),o=n.StripeResource.method;t.PaymentLinks=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payment_links"}),retrieve:o({method:"GET",fullPath:"/v1/payment_links/{payment_link}"}),update:o({method:"POST",fullPath:"/v1/payment_links/{payment_link}"}),list:o({method:"GET",fullPath:"/v1/payment_links",methodType:"list"}),listLineItems:o({method:"GET",fullPath:"/v1/payment_links/{payment_link}/line_items",methodType:"list"})})},1849:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentMethodConfigurations=void 0;let n=r(5348),o=n.StripeResource.method;t.PaymentMethodConfigurations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payment_method_configurations"}),retrieve:o({method:"GET",fullPath:"/v1/payment_method_configurations/{configuration}"}),update:o({method:"POST",fullPath:"/v1/payment_method_configurations/{configuration}"}),list:o({method:"GET",fullPath:"/v1/payment_method_configurations",methodType:"list"})})},342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentMethodDomains=void 0;let n=r(5348),o=n.StripeResource.method;t.PaymentMethodDomains=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payment_method_domains"}),retrieve:o({method:"GET",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),update:o({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),list:o({method:"GET",fullPath:"/v1/payment_method_domains",methodType:"list"}),validate:o({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}/validate"})})},9102:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentMethods=void 0;let n=r(5348),o=n.StripeResource.method;t.PaymentMethods=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payment_methods"}),retrieve:o({method:"GET",fullPath:"/v1/payment_methods/{payment_method}"}),update:o({method:"POST",fullPath:"/v1/payment_methods/{payment_method}"}),list:o({method:"GET",fullPath:"/v1/payment_methods",methodType:"list"}),attach:o({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/attach"}),detach:o({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/detach"})})},1541:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Payouts=void 0;let n=r(5348),o=n.StripeResource.method;t.Payouts=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/payouts"}),retrieve:o({method:"GET",fullPath:"/v1/payouts/{payout}"}),update:o({method:"POST",fullPath:"/v1/payouts/{payout}"}),list:o({method:"GET",fullPath:"/v1/payouts",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/payouts/{payout}/cancel"}),reverse:o({method:"POST",fullPath:"/v1/payouts/{payout}/reverse"})})},7445:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plans=void 0;let n=r(5348),o=n.StripeResource.method;t.Plans=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/plans"}),retrieve:o({method:"GET",fullPath:"/v1/plans/{plan}"}),update:o({method:"POST",fullPath:"/v1/plans/{plan}"}),list:o({method:"GET",fullPath:"/v1/plans",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/plans/{plan}"})})},7807:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Prices=void 0;let n=r(5348),o=n.StripeResource.method;t.Prices=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/prices"}),retrieve:o({method:"GET",fullPath:"/v1/prices/{price}"}),update:o({method:"POST",fullPath:"/v1/prices/{price}"}),list:o({method:"GET",fullPath:"/v1/prices",methodType:"list"}),search:o({method:"GET",fullPath:"/v1/prices/search",methodType:"search"})})},6766:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Products=void 0;let n=r(5348),o=n.StripeResource.method;t.Products=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/products"}),retrieve:o({method:"GET",fullPath:"/v1/products/{id}"}),update:o({method:"POST",fullPath:"/v1/products/{id}"}),list:o({method:"GET",fullPath:"/v1/products",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/products/{id}"}),createFeature:o({method:"POST",fullPath:"/v1/products/{product}/features"}),deleteFeature:o({method:"DELETE",fullPath:"/v1/products/{product}/features/{id}"}),listFeatures:o({method:"GET",fullPath:"/v1/products/{product}/features",methodType:"list"}),retrieveFeature:o({method:"GET",fullPath:"/v1/products/{product}/features/{id}"}),search:o({method:"GET",fullPath:"/v1/products/search",methodType:"search"})})},2725:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromotionCodes=void 0;let n=r(5348),o=n.StripeResource.method;t.PromotionCodes=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/promotion_codes"}),retrieve:o({method:"GET",fullPath:"/v1/promotion_codes/{promotion_code}"}),update:o({method:"POST",fullPath:"/v1/promotion_codes/{promotion_code}"}),list:o({method:"GET",fullPath:"/v1/promotion_codes",methodType:"list"})})},1754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Quotes=void 0;let n=r(5348),o=n.StripeResource.method;t.Quotes=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/quotes"}),retrieve:o({method:"GET",fullPath:"/v1/quotes/{quote}"}),update:o({method:"POST",fullPath:"/v1/quotes/{quote}"}),list:o({method:"GET",fullPath:"/v1/quotes",methodType:"list"}),accept:o({method:"POST",fullPath:"/v1/quotes/{quote}/accept"}),cancel:o({method:"POST",fullPath:"/v1/quotes/{quote}/cancel"}),finalizeQuote:o({method:"POST",fullPath:"/v1/quotes/{quote}/finalize"}),listComputedUpfrontLineItems:o({method:"GET",fullPath:"/v1/quotes/{quote}/computed_upfront_line_items",methodType:"list"}),listLineItems:o({method:"GET",fullPath:"/v1/quotes/{quote}/line_items",methodType:"list"}),pdf:o({method:"GET",fullPath:"/v1/quotes/{quote}/pdf",host:"files.stripe.com",streaming:!0})})},4427:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EarlyFraudWarnings=void 0;let n=r(5348),o=n.StripeResource.method;t.EarlyFraudWarnings=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/radar/early_fraud_warnings/{early_fraud_warning}"}),list:o({method:"GET",fullPath:"/v1/radar/early_fraud_warnings",methodType:"list"})})},9186:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueListItems=void 0;let n=r(5348),o=n.StripeResource.method;t.ValueListItems=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/radar/value_list_items"}),retrieve:o({method:"GET",fullPath:"/v1/radar/value_list_items/{item}"}),list:o({method:"GET",fullPath:"/v1/radar/value_list_items",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/radar/value_list_items/{item}"})})},9646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueLists=void 0;let n=r(5348),o=n.StripeResource.method;t.ValueLists=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/radar/value_lists"}),retrieve:o({method:"GET",fullPath:"/v1/radar/value_lists/{value_list}"}),update:o({method:"POST",fullPath:"/v1/radar/value_lists/{value_list}"}),list:o({method:"GET",fullPath:"/v1/radar/value_lists",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/radar/value_lists/{value_list}"})})},3317:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Refunds=void 0;let n=r(5348),o=n.StripeResource.method;t.Refunds=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/refunds"}),retrieve:o({method:"GET",fullPath:"/v1/refunds/{refund}"}),update:o({method:"POST",fullPath:"/v1/refunds/{refund}"}),list:o({method:"GET",fullPath:"/v1/refunds",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/refunds/{refund}/cancel"})})},6045:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReportRuns=void 0;let n=r(5348),o=n.StripeResource.method;t.ReportRuns=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/reporting/report_runs"}),retrieve:o({method:"GET",fullPath:"/v1/reporting/report_runs/{report_run}"}),list:o({method:"GET",fullPath:"/v1/reporting/report_runs",methodType:"list"})})},3659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReportTypes=void 0;let n=r(5348),o=n.StripeResource.method;t.ReportTypes=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/reporting/report_types/{report_type}"}),list:o({method:"GET",fullPath:"/v1/reporting/report_types",methodType:"list"})})},9187:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reviews=void 0;let n=r(5348),o=n.StripeResource.method;t.Reviews=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/reviews/{review}"}),list:o({method:"GET",fullPath:"/v1/reviews",methodType:"list"}),approve:o({method:"POST",fullPath:"/v1/reviews/{review}/approve"})})},5688:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetupAttempts=void 0;let n=r(5348),o=n.StripeResource.method;t.SetupAttempts=n.StripeResource.extend({list:o({method:"GET",fullPath:"/v1/setup_attempts",methodType:"list"})})},3905:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetupIntents=void 0;let n=r(5348),o=n.StripeResource.method;t.SetupIntents=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/setup_intents"}),retrieve:o({method:"GET",fullPath:"/v1/setup_intents/{intent}"}),update:o({method:"POST",fullPath:"/v1/setup_intents/{intent}"}),list:o({method:"GET",fullPath:"/v1/setup_intents",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/setup_intents/{intent}/cancel"}),confirm:o({method:"POST",fullPath:"/v1/setup_intents/{intent}/confirm"}),verifyMicrodeposits:o({method:"POST",fullPath:"/v1/setup_intents/{intent}/verify_microdeposits"})})},7076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShippingRates=void 0;let n=r(5348),o=n.StripeResource.method;t.ShippingRates=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/shipping_rates"}),retrieve:o({method:"GET",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),update:o({method:"POST",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),list:o({method:"GET",fullPath:"/v1/shipping_rates",methodType:"list"})})},4705:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledQueryRuns=void 0;let n=r(5348),o=n.StripeResource.method;t.ScheduledQueryRuns=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs/{scheduled_query_run}"}),list:o({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs",methodType:"list"})})},1580:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sources=void 0;let n=r(5348),o=n.StripeResource.method;t.Sources=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/sources"}),retrieve:o({method:"GET",fullPath:"/v1/sources/{source}"}),update:o({method:"POST",fullPath:"/v1/sources/{source}"}),listSourceTransactions:o({method:"GET",fullPath:"/v1/sources/{source}/source_transactions",methodType:"list"}),verify:o({method:"POST",fullPath:"/v1/sources/{source}/verify"})})},8504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionItems=void 0;let n=r(5348),o=n.StripeResource.method;t.SubscriptionItems=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/subscription_items"}),retrieve:o({method:"GET",fullPath:"/v1/subscription_items/{item}"}),update:o({method:"POST",fullPath:"/v1/subscription_items/{item}"}),list:o({method:"GET",fullPath:"/v1/subscription_items",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/subscription_items/{item}"}),createUsageRecord:o({method:"POST",fullPath:"/v1/subscription_items/{subscription_item}/usage_records"}),listUsageRecordSummaries:o({method:"GET",fullPath:"/v1/subscription_items/{subscription_item}/usage_record_summaries",methodType:"list"})})},4224:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionSchedules=void 0;let n=r(5348),o=n.StripeResource.method;t.SubscriptionSchedules=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/subscription_schedules"}),retrieve:o({method:"GET",fullPath:"/v1/subscription_schedules/{schedule}"}),update:o({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}"}),list:o({method:"GET",fullPath:"/v1/subscription_schedules",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/cancel"}),release:o({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/release"})})},9721:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Subscriptions=void 0;let n=r(5348),o=n.StripeResource.method;t.Subscriptions=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/subscriptions"}),retrieve:o({method:"GET",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),update:o({method:"POST",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),list:o({method:"GET",fullPath:"/v1/subscriptions",methodType:"list"}),cancel:o({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),deleteDiscount:o({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}/discount"}),resume:o({method:"POST",fullPath:"/v1/subscriptions/{subscription}/resume"}),search:o({method:"GET",fullPath:"/v1/subscriptions/search",methodType:"search"})})},2176:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Calculations=void 0;let n=r(5348),o=n.StripeResource.method;t.Calculations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/tax/calculations"}),listLineItems:o({method:"GET",fullPath:"/v1/tax/calculations/{calculation}/line_items",methodType:"list"})})},6292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Registrations=void 0;let n=r(5348),o=n.StripeResource.method;t.Registrations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/tax/registrations"}),retrieve:o({method:"GET",fullPath:"/v1/tax/registrations/{id}"}),update:o({method:"POST",fullPath:"/v1/tax/registrations/{id}"}),list:o({method:"GET",fullPath:"/v1/tax/registrations",methodType:"list"})})},8918:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=void 0;let n=r(5348),o=n.StripeResource.method;t.Settings=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/tax/settings"}),update:o({method:"POST",fullPath:"/v1/tax/settings"})})},8568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transactions=void 0;let n=r(5348),o=n.StripeResource.method;t.Transactions=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/tax/transactions/{transaction}"}),createFromCalculation:o({method:"POST",fullPath:"/v1/tax/transactions/create_from_calculation"}),createReversal:o({method:"POST",fullPath:"/v1/tax/transactions/create_reversal"}),listLineItems:o({method:"GET",fullPath:"/v1/tax/transactions/{transaction}/line_items",methodType:"list"})})},9687:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaxCodes=void 0;let n=r(5348),o=n.StripeResource.method;t.TaxCodes=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/tax_codes/{id}"}),list:o({method:"GET",fullPath:"/v1/tax_codes",methodType:"list"})})},5752:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaxIds=void 0;let n=r(5348),o=n.StripeResource.method;t.TaxIds=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/tax_ids"}),retrieve:o({method:"GET",fullPath:"/v1/tax_ids/{id}"}),list:o({method:"GET",fullPath:"/v1/tax_ids",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/tax_ids/{id}"})})},1281:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaxRates=void 0;let n=r(5348),o=n.StripeResource.method;t.TaxRates=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/tax_rates"}),retrieve:o({method:"GET",fullPath:"/v1/tax_rates/{tax_rate}"}),update:o({method:"POST",fullPath:"/v1/tax_rates/{tax_rate}"}),list:o({method:"GET",fullPath:"/v1/tax_rates",methodType:"list"})})},3287:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configurations=void 0;let n=r(5348),o=n.StripeResource.method;t.Configurations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/terminal/configurations"}),retrieve:o({method:"GET",fullPath:"/v1/terminal/configurations/{configuration}"}),update:o({method:"POST",fullPath:"/v1/terminal/configurations/{configuration}"}),list:o({method:"GET",fullPath:"/v1/terminal/configurations",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/terminal/configurations/{configuration}"})})},2713:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionTokens=void 0;let n=r(5348),o=n.StripeResource.method;t.ConnectionTokens=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/terminal/connection_tokens"})})},50:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Locations=void 0;let n=r(5348),o=n.StripeResource.method;t.Locations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/terminal/locations"}),retrieve:o({method:"GET",fullPath:"/v1/terminal/locations/{location}"}),update:o({method:"POST",fullPath:"/v1/terminal/locations/{location}"}),list:o({method:"GET",fullPath:"/v1/terminal/locations",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/terminal/locations/{location}"})})},2430:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Readers=void 0;let n=r(5348),o=n.StripeResource.method;t.Readers=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/terminal/readers"}),retrieve:o({method:"GET",fullPath:"/v1/terminal/readers/{reader}"}),update:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}"}),list:o({method:"GET",fullPath:"/v1/terminal/readers",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/terminal/readers/{reader}"}),cancelAction:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}/cancel_action"}),processPaymentIntent:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_payment_intent"}),processSetupIntent:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_setup_intent"}),refundPayment:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}/refund_payment"}),setReaderDisplay:o({method:"POST",fullPath:"/v1/terminal/readers/{reader}/set_reader_display"})})},4306:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfirmationTokens=void 0;let n=r(5348),o=n.StripeResource.method;t.ConfirmationTokens=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/test_helpers/confirmation_tokens"})})},7935:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Customers=void 0;let n=r(5348),o=n.StripeResource.method;t.Customers=n.StripeResource.extend({fundCashBalance:o({method:"POST",fullPath:"/v1/test_helpers/customers/{customer}/fund_cash_balance"})})},3862:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Authorizations=void 0;let n=r(5348),o=n.StripeResource.method;t.Authorizations=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations"}),capture:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/capture"}),expire:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/expire"}),finalizeAmount:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount"}),increment:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/increment"}),reverse:o({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/reverse"})})},8439:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cards=void 0;let n=r(5348),o=n.StripeResource.method;t.Cards=n.StripeResource.extend({deliverCard:o({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/deliver"}),failCard:o({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/fail"}),returnCard:o({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/return"}),shipCard:o({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/ship"})})},9095:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalizationDesigns=void 0;let n=r(5348),o=n.StripeResource.method;t.PersonalizationDesigns=n.StripeResource.extend({activate:o({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate"}),deactivate:o({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate"}),reject:o({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject"})})},2212:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transactions=void 0;let n=r(5348),o=n.StripeResource.method;t.Transactions=n.StripeResource.extend({createForceCapture:o({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_force_capture"}),createUnlinkedRefund:o({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_unlinked_refund"}),refund:o({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/{transaction}/refund"})})},6118:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Refunds=void 0;let n=r(5348),o=n.StripeResource.method;t.Refunds=n.StripeResource.extend({expire:o({method:"POST",fullPath:"/v1/test_helpers/refunds/{refund}/expire"})})},3285:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Readers=void 0;let n=r(5348),o=n.StripeResource.method;t.Readers=n.StripeResource.extend({presentPaymentMethod:o({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/present_payment_method"})})},906:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestClocks=void 0;let n=r(5348),o=n.StripeResource.method;t.TestClocks=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/test_helpers/test_clocks"}),retrieve:o({method:"GET",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),list:o({method:"GET",fullPath:"/v1/test_helpers/test_clocks",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),advance:o({method:"POST",fullPath:"/v1/test_helpers/test_clocks/{test_clock}/advance"})})},8062:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InboundTransfers=void 0;let n=r(5348),o=n.StripeResource.method;t.InboundTransfers=n.StripeResource.extend({fail:o({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/fail"}),returnInboundTransfer:o({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/return"}),succeed:o({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/succeed"})})},5757:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutboundPayments=void 0;let n=r(5348),o=n.StripeResource.method;t.OutboundPayments=n.StripeResource.extend({update:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}"}),fail:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/fail"}),post:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/post"}),returnOutboundPayment:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/return"})})},6544:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutboundTransfers=void 0;let n=r(5348),o=n.StripeResource.method;t.OutboundTransfers=n.StripeResource.extend({update:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}"}),fail:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail"}),post:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post"}),returnOutboundTransfer:o({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return"})})},9719:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReceivedCredits=void 0;let n=r(5348),o=n.StripeResource.method;t.ReceivedCredits=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/test_helpers/treasury/received_credits"})})},4479:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReceivedDebits=void 0;let n=r(5348),o=n.StripeResource.method;t.ReceivedDebits=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/test_helpers/treasury/received_debits"})})},8953:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokens=void 0;let n=r(5348),o=n.StripeResource.method;t.Tokens=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/tokens"}),retrieve:o({method:"GET",fullPath:"/v1/tokens/{token}"})})},374:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Topups=void 0;let n=r(5348),o=n.StripeResource.method;t.Topups=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/topups"}),retrieve:o({method:"GET",fullPath:"/v1/topups/{topup}"}),update:o({method:"POST",fullPath:"/v1/topups/{topup}"}),list:o({method:"GET",fullPath:"/v1/topups",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/topups/{topup}/cancel"})})},3265:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transfers=void 0;let n=r(5348),o=n.StripeResource.method;t.Transfers=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/transfers"}),retrieve:o({method:"GET",fullPath:"/v1/transfers/{transfer}"}),update:o({method:"POST",fullPath:"/v1/transfers/{transfer}"}),list:o({method:"GET",fullPath:"/v1/transfers",methodType:"list"}),createReversal:o({method:"POST",fullPath:"/v1/transfers/{id}/reversals"}),listReversals:o({method:"GET",fullPath:"/v1/transfers/{id}/reversals",methodType:"list"}),retrieveReversal:o({method:"GET",fullPath:"/v1/transfers/{transfer}/reversals/{id}"}),updateReversal:o({method:"POST",fullPath:"/v1/transfers/{transfer}/reversals/{id}"})})},8702:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreditReversals=void 0;let n=r(5348),o=n.StripeResource.method;t.CreditReversals=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/credit_reversals"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/credit_reversals/{credit_reversal}"}),list:o({method:"GET",fullPath:"/v1/treasury/credit_reversals",methodType:"list"})})},8205:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebitReversals=void 0;let n=r(5348),o=n.StripeResource.method;t.DebitReversals=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/debit_reversals"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/debit_reversals/{debit_reversal}"}),list:o({method:"GET",fullPath:"/v1/treasury/debit_reversals",methodType:"list"})})},9254:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FinancialAccounts=void 0;let n=r(5348),o=n.StripeResource.method;t.FinancialAccounts=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/financial_accounts"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),update:o({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),list:o({method:"GET",fullPath:"/v1/treasury/financial_accounts",methodType:"list"}),retrieveFeatures:o({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"}),updateFeatures:o({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"})})},3589:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InboundTransfers=void 0;let n=r(5348),o=n.StripeResource.method;t.InboundTransfers=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/inbound_transfers"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/inbound_transfers/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/inbound_transfers",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/treasury/inbound_transfers/{inbound_transfer}/cancel"})})},3227:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutboundPayments=void 0;let n=r(5348),o=n.StripeResource.method;t.OutboundPayments=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/outbound_payments"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/outbound_payments/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/outbound_payments",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/treasury/outbound_payments/{id}/cancel"})})},9428:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutboundTransfers=void 0;let n=r(5348),o=n.StripeResource.method;t.OutboundTransfers=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/treasury/outbound_transfers"}),retrieve:o({method:"GET",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}"}),list:o({method:"GET",fullPath:"/v1/treasury/outbound_transfers",methodType:"list"}),cancel:o({method:"POST",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}/cancel"})})},2253:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReceivedCredits=void 0;let n=r(5348),o=n.StripeResource.method;t.ReceivedCredits=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/treasury/received_credits/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/received_credits",methodType:"list"})})},8536:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReceivedDebits=void 0;let n=r(5348),o=n.StripeResource.method;t.ReceivedDebits=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/treasury/received_debits/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/received_debits",methodType:"list"})})},4336:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionEntries=void 0;let n=r(5348),o=n.StripeResource.method;t.TransactionEntries=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/treasury/transaction_entries/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/transaction_entries",methodType:"list"})})},4291:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transactions=void 0;let n=r(5348),o=n.StripeResource.method;t.Transactions=n.StripeResource.extend({retrieve:o({method:"GET",fullPath:"/v1/treasury/transactions/{id}"}),list:o({method:"GET",fullPath:"/v1/treasury/transactions",methodType:"list"})})},4318:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebhookEndpoints=void 0;let n=r(5348),o=n.StripeResource.method;t.WebhookEndpoints=n.StripeResource.extend({create:o({method:"POST",fullPath:"/v1/webhook_endpoints"}),retrieve:o({method:"GET",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),update:o({method:"POST",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),list:o({method:"GET",fullPath:"/v1/webhook_endpoints",methodType:"list"}),del:o({method:"DELETE",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"})})},8421:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(1437),o=(0,r(2314).createStripe)(new n.WebPlatformFunctions);e.exports=o,e.exports.Stripe=o,e.exports.default=o},2314:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStripe=void 0;let n=r(8721),o=r(1825),i=r(378),s=r(5768),a=r(8064),u=r(9471),l=r(3639),c=r(5348),d=r(648),p="api.stripe.com",f="/v1/",h=o.ApiVersion,m=["name","version","url","partner_id"],y=["apiVersion","typescript","maxNetworkRetries","httpAgent","httpClient","timeout","host","port","protocol","telemetry","appInfo","stripeAccount"],v=e=>new l.RequestSender(e,c.StripeResource.MAX_BUFFERED_REQUEST_METRICS);t.createStripe=function(e,t=v){function r(t=e){return(0,d.createWebhooks)(t)}function o(i,s={}){if(!(this instanceof o))return new o(i,s);let u=this._getPropsFromConfig(s);this._platformFunctions=e,Object.defineProperty(this,"_emitter",{value:this._platformFunctions.createEmitter(),enumerable:!1,configurable:!1,writable:!1}),this.VERSION=o.PACKAGE_VERSION,this.on=this._emitter.on.bind(this._emitter),this.once=this._emitter.once.bind(this._emitter),this.off=this._emitter.removeListener.bind(this._emitter);let l=u.httpAgent||null;this._api={auth:null,host:u.host||p,port:u.port||"443",protocol:u.protocol||"https",basePath:f,version:u.apiVersion||h,timeout:(0,a.validateInteger)("timeout",u.timeout,8e4),maxNetworkRetries:(0,a.validateInteger)("maxNetworkRetries",u.maxNetworkRetries,1),agent:l,httpClient:u.httpClient||(l?this._platformFunctions.createNodeHttpClient(l):this._platformFunctions.createDefaultHttpClient()),dev:!1,stripeAccount:u.stripeAccount||null};let c=u.typescript||!1;c!==o.USER_AGENT.typescript&&(o.USER_AGENT.typescript=c),u.appInfo&&this._setAppInfo(u.appInfo),this._prepResources(),this._setApiKey(i),this.errors=n,this.webhooks=r(),this._prevRequestMetrics=[],this._enableTelemetry=!1!==u.telemetry,this._requestSender=t(this),this.StripeResource=o.StripeResource}return o.PACKAGE_VERSION="16.1.0",o.USER_AGENT=Object.assign({bindings_version:o.PACKAGE_VERSION,lang:"node",publisher:"stripe",uname:null,typescript:!1},(0,a.determineProcessUserAgentProperties)()),o.StripeResource=c.StripeResource,o.resources=i,o.HttpClient=s.HttpClient,o.HttpClientResponse=s.HttpClientResponse,o.CryptoProvider=u.CryptoProvider,o.webhooks=Object.assign(r,(0,d.createWebhooks)(e)),o.errors=n,o.createNodeHttpClient=e.createNodeHttpClient,o.createFetchHttpClient=e.createFetchHttpClient,o.createNodeCryptoProvider=e.createNodeCryptoProvider,o.createSubtleCryptoProvider=e.createSubtleCryptoProvider,o.prototype={_appInfo:void 0,on:null,off:null,once:null,VERSION:null,StripeResource:null,webhooks:null,errors:null,_api:null,_prevRequestMetrics:null,_emitter:null,_enableTelemetry:null,_requestSender:null,_platformFunctions:null,_setApiKey(e){e&&this._setApiField("auth",`Bearer ${e}`)},_setAppInfo(e){if(e&&"object"!=typeof e)throw Error("AppInfo must be an object.");if(e&&!e.name)throw Error("AppInfo.name is required");e=e||{},this._appInfo=m.reduce((t,r)=>("string"==typeof e[r]&&((t=t||{})[r]=e[r]),t),void 0)},_setApiField(e,t){this._api[e]=t},getApiField(e){return this._api[e]},setClientId(e){this._clientId=e},getClientId(){return this._clientId},getConstant:e=>{switch(e){case"DEFAULT_HOST":return p;case"DEFAULT_PORT":return"443";case"DEFAULT_BASE_PATH":return f;case"DEFAULT_API_VERSION":return h;case"DEFAULT_TIMEOUT":return 8e4;case"MAX_NETWORK_RETRY_DELAY_SEC":return 2;case"INITIAL_NETWORK_RETRY_DELAY_SEC":return .5}return o[e]},getMaxNetworkRetries(){return this.getApiField("maxNetworkRetries")},_setApiNumberField(e,t,r){let n=(0,a.validateInteger)(e,t,r);this._setApiField(e,n)},getMaxNetworkRetryDelay:()=>2,getInitialNetworkRetryDelay:()=>.5,getClientUserAgent(e){return this.getClientUserAgentSeeded(o.USER_AGENT,e)},getClientUserAgentSeeded(e,t){this._platformFunctions.getUname().then(r=>{var n;let o={};for(let t in e)o[t]=encodeURIComponent(null!==(n=e[t])&&void 0!==n?n:"null");o.uname=encodeURIComponent(r||"UNKNOWN");let i=this.getApiField("httpClient");i&&(o.httplib=encodeURIComponent(i.getClientName())),this._appInfo&&(o.application=this._appInfo),t(JSON.stringify(o))})},getAppInfoAsString(){if(!this._appInfo)return"";let e=this._appInfo.name;return this._appInfo.version&&(e+=`/${this._appInfo.version}`),this._appInfo.url&&(e+=` (${this._appInfo.url})`),e},getTelemetryEnabled(){return this._enableTelemetry},_prepResources(){for(let e in i)this[(0,a.pascalToCamelCase)(e)]=new i[e](this)},_getPropsFromConfig(e){if(!e)return{};let t="string"==typeof e;if(!(e===Object(e)&&!Array.isArray(e))&&!t)throw Error("Config must either be an object or a string");if(t)return{apiVersion:e};if(Object.keys(e).filter(e=>!y.includes(e)).length>0)throw Error(`Config object may only contain the following: ${y.join(", ")}`);return e}},o}},8064:function(e,t,r){"use strict";var n=r(5566);Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.determineProcessUserAgentProperties=t.validateInteger=t.flattenAndStringify=t.isObject=t.emitWarning=t.pascalToCamelCase=t.callbackifyPromiseWithTimeout=t.normalizeHeader=t.normalizeHeaders=t.removeNullish=t.protoExtend=t.getOptionsFromArgs=t.getDataFromArgs=t.extractUrlParams=t.makeURLInterpolator=t.stringifyRequestData=t.isOptionsHash=void 0;let o=r(7334),i=["apiKey","idempotencyKey","stripeAccount","apiVersion","maxNetworkRetries","timeout","host"];function s(e){return e&&"object"==typeof e&&i.some(t=>Object.prototype.hasOwnProperty.call(e,t))}function a(e){return e.split("-").map(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join("-")}function u(e){return"function"!=typeof n.emitWarning?console.warn(`Stripe: ${e}`):n.emitWarning(e,"Stripe")}function l(e){let t=typeof e;return("function"===t||"object"===t)&&!!e}t.isOptionsHash=s,t.stringifyRequestData=function(e){return o.stringify(e,{serializeDate:e=>Math.floor(e.getTime()/1e3).toString()}).replace(/%5B/g,"[").replace(/%5D/g,"]")},t.makeURLInterpolator=(()=>{let e={"\n":"\\n",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029"};return t=>{let r=t.replace(/["\n\r\u2028\u2029]/g,t=>e[t]);return e=>r.replace(/\{([\s\S]+?)\}/g,(t,r)=>encodeURIComponent(e[r]||""))}})(),t.extractUrlParams=function(e){let t=e.match(/\{\w+\}/g);return t?t.map(e=>e.replace(/[{}]/g,"")):[]},t.getDataFromArgs=function(e){if(!Array.isArray(e)||!e[0]||"object"!=typeof e[0])return{};if(!s(e[0]))return e.shift();let t=Object.keys(e[0]),r=t.filter(e=>i.includes(e));return r.length>0&&r.length!==t.length&&u(`Options found in arguments (${r.join(", ")}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.`),{}},t.getOptionsFromArgs=function(e){let t={auth:null,host:null,headers:{},settings:{}};if(e.length>0){let r=e[e.length-1];if("string"==typeof r)t.auth=e.pop();else if(s(r)){let r=Object.assign({},e.pop()),n=Object.keys(r).filter(e=>!i.includes(e));n.length&&u(`Invalid options found (${n.join(", ")}); ignoring.`),r.apiKey&&(t.auth=r.apiKey),r.idempotencyKey&&(t.headers["Idempotency-Key"]=r.idempotencyKey),r.stripeAccount&&(t.headers["Stripe-Account"]=r.stripeAccount),r.apiVersion&&(t.headers["Stripe-Version"]=r.apiVersion),Number.isInteger(r.maxNetworkRetries)&&(t.settings.maxNetworkRetries=r.maxNetworkRetries),Number.isInteger(r.timeout)&&(t.settings.timeout=r.timeout),r.host&&(t.host=r.host)}}return t},t.protoExtend=function(e){let t=this,r=Object.prototype.hasOwnProperty.call(e,"constructor")?e.constructor:function(...e){t.apply(this,e)};return Object.assign(r,t),r.prototype=Object.create(t.prototype),Object.assign(r.prototype,e),r},t.removeNullish=function(e){if("object"!=typeof e)throw Error("Argument must be an object");return Object.keys(e).reduce((t,r)=>(null!=e[r]&&(t[r]=e[r]),t),{})},t.normalizeHeaders=function(e){return e&&"object"==typeof e?Object.keys(e).reduce((t,r)=>(t[a(r)]=e[r],t),{}):e},t.normalizeHeader=a,t.callbackifyPromiseWithTimeout=function(e,t){return t?e.then(e=>{setTimeout(()=>{t(null,e)},0)},e=>{setTimeout(()=>{t(e,null)},0)}):e},t.pascalToCamelCase=function(e){return"OAuth"===e?"oauth":e[0].toLowerCase()+e.substring(1)},t.emitWarning=u,t.isObject=l,t.flattenAndStringify=function(e){let t={},r=(e,n)=>{Object.keys(e).forEach(o=>{let i=e[o],s=n?`${n}[${o}]`:o;if(l(i)){if(!(i instanceof Uint8Array)&&!Object.prototype.hasOwnProperty.call(i,"data"))return r(i,s);t[s]=i}else t[s]=String(i)})};return r(e,null),t},t.validateInteger=function(e,t,r){if(!Number.isInteger(t)){if(void 0!==r)return r;throw Error(`${e} must be an integer`)}return t},t.determineProcessUserAgentProperties=function(){return void 0===n?{}:{lang_version:n.version,platform:n.platform}},t.concat=function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;return e.forEach(e=>{t.set(e,r),r+=e.length}),t}},668:function(e,t,r){"use strict";r.d(t,{YI:function(){return M}});var n=r(7437);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function a(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function u(e){return a(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function l(e){return"@list"===e._type}function c(e){return"@span"===e._type}function d(e){return"@text"===e._type}let p=["strong","em","code","underline","strike-through"];function f(e,t,r){if(!s(e)||!e.marks||!e.marks.length)return[];let n=e.marks.slice(),o={};return n.forEach(e=>{o[e]=1;for(let n=t+1;n<r.length;n++){let t=r[n];if(t&&s(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))o[e]++;else break}}),n.sort((e,t)=>(function(e,t,r){let n=e[t],o=e[r];if(n!==o)return o-n;let i=p.indexOf(t),s=p.indexOf(r);return i!==s?i-s:t.localeCompare(r)})(o,e,t))}function h(e,t,r){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:r,level:e.level||1,listItem:e.listItem,children:[e]}}function m(e,t){let r=t.level||1,n=t.listItem||"normal",o="string"==typeof t.listItem;if(l(e)&&(e.level||1)===r&&o&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let i=e.children[e.children.length-1];return i&&!s(i)?m(i,t):void 0}var y=r(2265);let v=["block","list","listItem","marks","types"],g=["listItem"],b=["_key"];function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function S(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}let w={textDecoration:"underline"},T=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,E=e=>T(`block type "${e}"`,"types"),O=e=>T(`mark type "${e}"`,"marks"),R=e=>T(`block style "${e}"`,"block"),x=e=>T(`list style "${e}"`,"list"),j=e=>T(`list item style "${e}"`,"listItem");function C(e){console.warn(e)}let A={display:"none"},k={types:{},block:{normal:({children:e})=>(0,n.jsx)("p",{children:e}),blockquote:({children:e})=>(0,n.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,n.jsx)("h1",{children:e}),h2:({children:e})=>(0,n.jsx)("h2",{children:e}),h3:({children:e})=>(0,n.jsx)("h3",{children:e}),h4:({children:e})=>(0,n.jsx)("h4",{children:e}),h5:({children:e})=>(0,n.jsx)("h5",{children:e}),h6:({children:e})=>(0,n.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,n.jsx)("em",{children:e}),strong:({children:e})=>(0,n.jsx)("strong",{children:e}),code:({children:e})=>(0,n.jsx)("code",{children:e}),underline:({children:e})=>(0,n.jsx)("span",{style:w,children:e}),"strike-through":({children:e})=>(0,n.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,n.jsx)("a",{href:null==t?void 0:t.href,children:e})},list:{number:({children:e})=>(0,n.jsx)("ol",{children:e}),bullet:({children:e})=>(0,n.jsx)("ul",{children:e})},listItem:({children:e})=>(0,n.jsx)("li",{children:e}),hardBreak:()=>(0,n.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let r=E(e._type);return t?(0,n.jsx)("span",{style:A,children:r}):(0,n.jsx)("div",{style:A,children:r})},unknownMark:({markType:e,children:t})=>(0,n.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,n.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,n.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,n.jsx)("p",{children:e})};function I(e,t,r){let n=t[r],o=e[r];return"function"==typeof n||n&&"function"==typeof o?n:n?_(_({},o),n):o}function M({value:e,components:t,listNestingMode:r,onMissingComponent:o=C}){let s=o||U,a=function(e,t){let r;let n=[];for(let s=0;s<e.length;s++){let a=e[s];if(a){var o;if(!u(a)){n.push(a),r=void 0;continue}if(!r){r=h(a,s,t),n.push(r);continue}if(o=r,(a.level||1)===o.level&&a.listItem===o.listItem){r.children.push(a);continue}if((a.level||1)>r.level){let e=h(a,s,t);if("html"===t){let t=r.children[r.children.length-1],n=i(i({},t),{},{children:[...t.children,e]});r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((a.level||1)<r.level){let e=n[n.length-1],o=e&&m(e,a);if(o){(r=o).children.push(a);continue}r=h(a,s,t),n.push(r);continue}if(a.listItem!==r.listItem){let e=n[n.length-1],o=e&&m(e,{level:a.level||1});if(o&&o.listItem===a.listItem){(r=o).children.push(a);continue}r=h(a,s,t),n.push(r);continue}console.warn("Unknown state encountered for block",a),n.push(a)}}return n}(Array.isArray(e)?e:[e],r||"html"),l=(0,y.useMemo)(()=>t?function(e,t){let{block:r,list:n,listItem:o,marks:i,types:s}=t,a=S(t,v);return _(_({},e),{},{block:I(e,t,"block"),list:I(e,t,"list"),listItem:I(e,t,"listItem"),marks:I(e,t,"marks"),types:I(e,t,"types")},a)}(k,t):k,[t]),c=(0,y.useMemo)(()=>D(l,s),[l,s]),d=a.map((e,t)=>c({node:e,index:t,isInline:!1,renderNode:c}));return(0,n.jsx)(n.Fragment,{children:d})}let D=(e,t)=>function r(o){let{node:i,index:s,isInline:p}=o,f=i._key||`node-${s}`;return l(i)?function(o,i,s){let a=o.children.map((e,t)=>r({node:e._key?e:_(_({},e),{},{_key:`li-${i}-${t}`}),index:t,isInline:!1,renderNode:r})),u=e.list,l=("function"==typeof u?u:u[o.listItem])||e.unknownList;if(l===e.unknownList){let e=o.listItem||"bullet";t(x(e),{nodeType:"listStyle",type:e})}return(0,n.jsx)(l,{value:o,index:i,isInline:!1,renderNode:r,children:a},s)}(i,s,f):u(i)?function(o,i,s){let a=N({node:o,index:i,isInline:!1,renderNode:r}),u=e.listItem,l=("function"==typeof u?u:u[o.listItem])||e.unknownListItem;if(l===e.unknownListItem){let e=o.listItem||"bullet";t(j(e),{type:e,nodeType:"listItemStyle"})}let c=a.children;if(o.style&&"normal"!==o.style){let{listItem:e}=o;c=r({node:S(o,g),index:i,isInline:!1,renderNode:r})}return(0,n.jsx)(l,{value:o,index:i,isInline:!1,renderNode:r,children:c},s)}(i,s,f):c(i)?function(o,i,s){let{markDef:a,markType:u,markKey:l}=o,p=e.marks[u]||e.unknownMark,f=o.children.map((e,t)=>r({node:e,index:t,isInline:!0,renderNode:r}));return p===e.unknownMark&&t(O(u),{nodeType:"mark",type:u}),(0,n.jsx)(p,{text:function e(t){let r="";return t.children.forEach(t=>{d(t)?r+=t.text:c(t)&&(r+=e(t))}),r}(o),value:a,markType:u,markKey:l,renderNode:r,children:f},s)}(i,0,f):i._type in e.types?function(t,o,i,s){let a=e.types[t._type];return a?(0,n.jsx)(a,_({},{value:t,isInline:s,index:o,renderNode:r}),i):null}(i,s,f,p):a(i)?function(o,i,s,a){let u=N({node:o,index:i,isInline:a,renderNode:r}),{_key:l}=u,c=S(u,b),d=c.node.style||"normal",p=("function"==typeof e.block?e.block:e.block[d])||e.unknownBlockStyle;return p===e.unknownBlockStyle&&t(R(d),{nodeType:"blockStyle",type:d}),(0,n.jsx)(p,_(_({},c),{},{value:c.node,renderNode:r}),s)}(i,s,f,p):d(i)?function(t,r){if(t.text===`
`){let t=e.hardBreak;return t?(0,n.jsx)(t,{},r):`
`}return t.text}(i,f):function(o,i,s,a){t(E(o._type),{nodeType:"block",type:o._type});let u=e.unknownType;return(0,n.jsx)(u,_({},{value:o,isInline:a,index:i,renderNode:r}),s)}(i,s,f,p)};function N(e){let{node:t,index:r,isInline:n,renderNode:o}=e,i=(function(e){var t;let{children:r,markDefs:n=[]}=e;if(!r||!r.length)return[];let o=r.map(f),i={_type:"@span",children:[],markType:"<unknown>"},a=[i];for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let u=o[e]||[],l=1;if(a.length>1)for(;l<a.length;l++){let e=(null==(t=a[l])?void 0:t.markKey)||"",r=u.indexOf(e);if(-1===r)break;u.splice(r,1)}let c=(a=a.slice(0,l))[a.length-1];if(c){for(let e of u){let t=n.find(t=>t._key===e),r=t?t._type:e,o={_type:"@span",_key:i._key,children:[],markDef:t,markType:r,markKey:e};c.children.push(o),a.push(o),c=o}if(s(i)){let e=i.text.split(`
`);for(let t=e.length;t-- >1;)e.splice(t,0,`
`);c.children=c.children.concat(e.map(e=>({_type:"@text",text:e})))}else c.children=c.children.concat(i)}}return i.children})(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${r}`,children:i,index:r,isInline:n,node:t}}function U(){}},2926:function(e,t,r){"use strict";r.d(t,{C:function(){return s},N:function(){return l}});var n={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},o={0:8203,1:8204,2:8205,3:65279},i=[,,,,].fill(String.fromCodePoint(o[0])).join("");function s(e,t,r="auto"){let n;return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${n=JSON.stringify(t),`${i}${Array.from(n).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${n} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(o[e])).join("")}).join("")}`}`}Object.fromEntries(Object.entries(o).map(e=>e.reverse())),Object.fromEntries(Object.entries(n).map(e=>e.reverse()));var a=`${Object.values(n).map(e=>`\\u{${e.toString(16)}}`).join("")}`,u=RegExp(`[${a}]{4,}`,"gu");function l(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(u,""),encoded:(null==(r=t.match(u))?void 0:r[0])||""}.cleaned)}},8961:function(e,t,r){"use strict";r.d(t,{eI:function(){return nw}});let n=!(typeof navigator>"u")&&"ReactNative"===navigator.product,o={timeout:n?6e4:12e4},i=function(e){let t={...o,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(o.timeout):{connect:r,socket:r}}(t.timeout),t.query){let{url:e,searchParams:r}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let r=e.slice(0,t),o=e.slice(t+1);if(!n)return{url:r,searchParams:new URLSearchParams(o)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let i=new URLSearchParams;for(let e of o.split("&")){let[t,r]=e.split("=");t&&i.append(s(t),s(r||""))}return{url:r,searchParams:i}}(t.url);for(let[n,o]of Object.entries(t.query)){if(void 0!==o){if(Array.isArray(o))for(let e of o)r.append(n,e);else r.append(n,o)}let i=r.toString();i&&(t.url=`${e}?${i}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function s(e){return decodeURIComponent(e.replace(/\+/g," "))}let a=/^https?:\/\//i,u=function(e){if(!a.test(e.url))throw Error(`"${e.url}" is not a valid URL`)},l=e=>function(t,r,...n){let o="onError"===t,i=r;for(let r=0;r<e[t].length&&(i=(0,e[t][r])(i,...n),!o||i);r++);return i},c=["request","response","progress","error","abort"],d=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var p,f,h,m,y,v,g,b,P,_,S=function(e){return e.replace(/^\s+|\s+$/g,"")},w=(p=function(e){if(!e)return{};for(var t={},r=S(e).split(`
`),n=0;n<r.length;n++){var o,i=r[n],s=i.indexOf(":"),a=S(i.slice(0,s)).toLowerCase(),u=S(i.slice(s+1));typeof t[a]>"u"?t[a]=u:(o=t[a],"[object Array]"===Object.prototype.toString.call(o))?t[a].push(u):t[a]=[t[a],u]}return t}).__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p,T=Object.defineProperty,E=e=>{throw TypeError(e)},O=(e,t,r)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t,r)=>O(e,"symbol"!=typeof t?t+"":t,r),x=(e,t,r)=>t.has(e)||E("Cannot "+r),j=(e,t,r)=>(x(e,t,"read from private field"),r?r.call(e):t.get(e)),C=(e,t,r)=>t.has(e)?E("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),A=(e,t,r,n)=>(x(e,t,"write to private field"),t.set(e,r),r);class k{constructor(){R(this,"onabort"),R(this,"onerror"),R(this,"onreadystatechange"),R(this,"ontimeout"),R(this,"readyState",0),R(this,"response"),R(this,"responseText",""),R(this,"responseType",""),R(this,"status"),R(this,"statusText"),R(this,"withCredentials"),C(this,m),C(this,y),C(this,v),C(this,g,{}),C(this,b),C(this,P,{}),C(this,_)}open(e,t,r){var n;A(this,m,e),A(this,y,t),A(this,v,""),this.readyState=1,null==(n=this.onreadystatechange)||n.call(this),A(this,b,void 0)}abort(){j(this,b)&&j(this,b).abort()}getAllResponseHeaders(){return j(this,v)}setRequestHeader(e,t){j(this,g)[e]=t}setInit(e,t=!0){A(this,P,e),A(this,_,t)}send(e){let t="arraybuffer"!==this.responseType,r={...j(this,P),method:j(this,m),headers:j(this,g),body:e};"function"==typeof AbortController&&j(this,_)&&(A(this,b,new AbortController),"u">typeof EventTarget&&j(this,b).signal instanceof EventTarget&&(r.signal=j(this,b).signal)),"u">typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(j(this,y),r).then(e=>{var r;return e.headers.forEach((e,t)=>{A(this,v,j(this,v)+`${t}: ${e}\r
`)}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,null==(r=this.onreadystatechange)||r.call(this),t?e.text():e.arrayBuffer()}).then(e=>{var t;"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,null==(t=this.onreadystatechange)||t.call(this)}).catch(e=>{var t,r;if("AbortError"===e.name){null==(t=this.onabort)||t.call(this);return}null==(r=this.onerror)||r.call(this,e)})}}m=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap,b=new WeakMap,P=new WeakMap,_=new WeakMap;let I="function"==typeof XMLHttpRequest?"xhr":"fetch",M="xhr"===I?XMLHttpRequest:k,D=(e,t)=>{var r;let n=e.options,o=e.applyMiddleware("finalizeOptions",n),i={},s=e.applyMiddleware("interceptRequest",void 0,{adapter:I,context:e});if(s){let e=setTimeout(t,0,null,s);return{abort:()=>clearTimeout(e)}}let a=new M;a instanceof k&&"object"==typeof o.fetch&&a.setInit(o.fetch,null==(r=o.useAbortSignal)||r);let u=o.headers,l=o.timeout,c=!1,d=!1,p=!1;if(a.onerror=e=>{a instanceof k?m(e instanceof Error?e:Error(`Request error while attempting to reach is ${o.url}`,{cause:e})):m(Error(`Request error while attempting to reach is ${o.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},a.ontimeout=e=>{m(Error(`Request timeout while attempting to reach ${o.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},a.onabort=()=>{h(!0),c=!0},a.onreadystatechange=()=>{l&&(h(),i.socket=setTimeout(()=>f("ESOCKETTIMEDOUT"),l.socket)),c||4!==a.readyState||0===a.status||function(){if(!(c||d||p)){if(0===a.status){m(Error("Unknown XHR error"));return}h(),d=!0,t(null,{body:a.response||(""===a.responseType||"text"===a.responseType?a.responseText:""),url:o.url,method:o.method,headers:w(a.getAllResponseHeaders()),statusCode:a.status,statusMessage:a.statusText})}}()},a.open(o.method,o.url,!0),a.withCredentials=!!o.withCredentials,u&&a.setRequestHeader)for(let e in u)u.hasOwnProperty(e)&&a.setRequestHeader(e,u[e]);return o.rawBody&&(a.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:o,adapter:I,request:a,context:e}),a.send(o.body||null),l&&(i.connect=setTimeout(()=>f("ETIMEDOUT"),l.connect)),{abort:function(){c=!0,a&&a.abort()}};function f(t){p=!0,a.abort();let r=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${o.url}`:`Connection timed out on request to ${o.url}`);r.code=t,e.channels.error.publish(r)}function h(e){(e||c||a.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function m(e){if(d)return;h(!0),d=!0,a=null;let r=e||Error(`Network error while attempting to reach ${o.url}`);r.isNetworkError=!0,r.request=o,t(r)}},N=(e=[],t=D)=>(function e(t,r){let n=[],o=d.reduce((e,t)=>(e[t]=e[t]||[],e),{processOptions:[i],validateOptions:[u]});function s(e){let t;let n=(e,t,r)=>{let n=e,o=t;if(!n)try{o=s("onResponse",t,r)}catch(e){o=null,n=e}(n=n&&s("onError",n,r))?i.error.publish(n):o&&i.response.publish(o)},i=c.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),s=l(o),a=s("processOptions",e);s("validateOptions",a);let u={options:a,channels:i,applyMiddleware:s},d=i.request.subscribe(e=>{t=r(e,(t,r)=>n(t,r,e))});i.abort.subscribe(()=>{d(),t&&t.abort()});let p=s("onReturn",i,u);return p===i&&i.request.publish(u),p}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&o.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return d.forEach(t=>{e[t]&&o[t].push(e[t])}),n.push(e),s},s.clone=()=>e(n,r),t.forEach(s.use),s})(e,t);var U,F,G=r(5566),L=r(9109).lW,q={exports:{}},$=function(e){function t(e){let n,o=null,i,s;function a(...e){if(!a.enabled)return;let r=Number(new Date),o=r-(n||r);a.diff=o,a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(a,t),e.splice(i,1),i--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,r){let n=t(this.namespace+(typeof r>"u"?":":r)+e);return n.log=this.log,n}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(n),...t.skips.map(n).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.slice(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let r,n;if("*"===e[e.length-1])return!0;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=function(){if(F)return U;function e(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}return F=1,U=function(t,r){r=r||{};var n,o,i=typeof t;if("string"===i&&t.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(t);if("number"===i&&isFinite(t))return r.long?(n=Math.abs(t))>=864e5?e(t,n,864e5,"day"):n>=36e5?e(t,n,36e5,"hour"):n>=6e4?e(t,n,6e4,"minute"):n>=1e3?e(t,n,1e3,"second"):t+" ms":(o=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":o>=36e5?Math.round(t/36e5)+"h":o>=6e4?Math.round(t/6e4)+"m":o>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t};!function(e,t){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch{}return!e&&"u">typeof G&&"env"in G&&(e=G.env.DEBUG),e},t.useColors=function(){return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),t.destroy=(r=!1,()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=$(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(q,q.exports),q.exports,Object.prototype.hasOwnProperty;let B=typeof L>"u"?()=>!1:e=>L.isBuffer(e);/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function z(e){return"[object Object]"===Object.prototype.toString.call(e)}let H=["boolean","string","number"],W={};"u">typeof globalThis?W=globalThis:"u">typeof window?W=window:"u">typeof global?W=global:"u">typeof self&&(W=self);var V=W,K=Object.defineProperty,J=(e,t,r)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Q=(e,t,r)=>J(e,"symbol"!=typeof t?t+"":t,r);let Y=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new t((t,o)=>{let i=n.options.cancelToken;i&&i.promise.then(e=>{r.abort.publish(e),o(e)}),r.error.subscribe(o),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){o(e)}},0)})}};class X{constructor(e){Q(this,"__CANCEL__",!0),Q(this,"message"),this.message=e}toString(){return`Cancel${this.message?`: ${this.message}`:""}`}}let Z=class{constructor(e){if(Q(this,"promise"),Q(this,"reason"),"function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new X(e),t(this.reason))})}};Q(Z,"source",()=>{let e;return{token:new Z(t=>{e=t}),cancel:e}}),Y.Cancel=X,Y.CancelToken=Z,Y.isCancel=e=>!!(e&&null!=e&&e.__CANCEL__);var ee=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);let et=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;var er=e=>{let t=e.maxRetries||5,r=e.retryDelay||en,n=e.shouldRetry;return{onError:(e,o)=>{let i=o.options,s=i.maxRetries||t,a=i.retryDelay||r,u=i.shouldRetry||n,l=i.attemptNumber||0;if(et(i.body)||!u(e,l,i)||l>=s)return e;let c=Object.assign({},o,{options:Object.assign({},i,{attemptNumber:l+1})});return setTimeout(()=>o.channels.request.publish(c),a(l)),null}}};function en(e){return 100*Math.pow(2,e)+100*Math.random()}let eo=(e={})=>er({shouldRetry:ee,...e});eo.shouldRetry=ee;var ei=Object.defineProperty,es=(e,t,r)=>t in e?ei(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ea=function(e,t){return(ea=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function eu(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ea(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function el(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function ec(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ed(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function ep(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function ef(e){return this instanceof ef?(this.v=e,this):new ef(e)}function eh(e){return"function"==typeof e}function em(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var ey=em(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}});function ev(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var eg=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,n,o,i=this._parentage;if(i){if(this._parentage=null,Array.isArray(i))try{for(var s=ec(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this)}var u=this.initialTeardown;if(eh(u))try{u()}catch(e){o=e instanceof ey?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=ec(l),d=c.next();!d.done;d=c.next()){var p=d.value;try{eP(p)}catch(e){o=null!=o?o:[],e instanceof ey?o=ep(ep([],ed(o)),ed(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(o)throw new ey(o)}},t.prototype.add=function(e){var r;if(e&&e!==this){if(this.closed)eP(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ev(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&ev(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}();function eb(e){return e instanceof eg||e&&"closed"in e&&eh(e.remove)&&eh(e.add)&&eh(e.unsubscribe)}function eP(e){eh(e)?e():e.unsubscribe()}eg.EMPTY;var e_={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},eS={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=eS.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,ep([e,t],ed(r))):setTimeout.apply(void 0,ep([e,t],ed(r)))},clearTimeout:function(e){var t=eS.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ew(e){eS.setTimeout(function(){var t=e_.onUnhandledError;if(t)t(e);else throw e})}function eT(){}var eE=eO("C",void 0,void 0);function eO(e,t,r){return{kind:e,value:t,error:r}}var eR=null,ex=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,eb(t)&&t.add(r)):r.destination=eD,r}return eu(t,e),t.create=function(e,t,r){return new ek(e,t,r)},t.prototype.next=function(e){this.isStopped?eM(eO("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?eM(eO("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?eM(eE,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(eg),ej=Function.prototype.bind;function eC(e,t){return ej.call(e,t)}var eA=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){eI(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){eI(e)}else eI(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){eI(e)}},e}(),ek=function(e){function t(t,r,n){var o,i,s=e.call(this)||this;return eh(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&e_.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},o={next:t.next&&eC(t.next,i),error:t.error&&eC(t.error,i),complete:t.complete&&eC(t.complete,i)}):o=t,s.destination=new eA(o),s}return eu(t,e),t}(ex);function eI(e){e_.useDeprecatedSynchronousErrorHandling?e_.useDeprecatedSynchronousErrorHandling&&eR&&(eR.errorThrown=!0,eR.error=e):ew(e)}function eM(e,t){var r=e_.onStoppedNotification;r&&eS.setTimeout(function(){return r(e,t)})}var eD={closed:!0,next:eT,error:function(e){throw e},complete:eT},eN="function"==typeof Symbol&&Symbol.observable||"@@observable";function eU(e){return e}function eF(e){return 0===e.length?eU:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var eG=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof ex||n&&eh(n.next)&&eh(n.error)&&eh(n.complete)&&eb(n)?e:new ek(e,t,r);return function(e){if(e_.useDeprecatedSynchronousErrorHandling){var t=!eR;if(t&&(eR={errorThrown:!1,error:null}),e(),t){var r=eR,n=r.errorThrown,o=r.error;if(eR=null,n)throw o}}else e()}(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=eL(t))(function(t,n){var o=new ek({next:function(t){try{e(t)}catch(e){n(e),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[eN]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eF(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eL(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function eL(e){var t;return null!==(t=null!=e?e:e_.Promise)&&void 0!==t?t:Promise}var eq=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function e$(e){return eh(null==e?void 0:e.then)}function eB(e){return Symbol.asyncIterator&&eh(null==e?void 0:e[Symbol.asyncIterator])}function ez(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var eH="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function eW(e){return eh(null==e?void 0:e[eH])}function eV(e){return function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=o[e](t)).value instanceof ef?Promise.resolve(r.value.v).then(u,l):c(i[0][2],r)}catch(e){c(i[0][3],e)}}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function(){var t,r,n;return el(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,ef(t.read())];case 3:if(n=(r=o.sent()).value,!r.done)return[3,5];return[4,ef(void 0)];case 4:return[2,o.sent()];case 5:return[4,ef(n)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function eK(e){return eh(null==e?void 0:e.getReader)}function eJ(e){if(e instanceof eG)return e;if(null!=e){if(eh(e[eN]))return new eG(function(t){var r=e[eN]();if(eh(r.subscribe))return r.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")});if(eq(e))return new eG(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()});if(e$(e))return new eG(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,ew)});if(eB(e))return eQ(e);if(eW(e))return new eG(function(t){var r,n;try{for(var o=ec(e),i=o.next();!i.done;i=o.next()){var s=i.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()});if(eK(e))return eQ(eV(e))}throw ez(e)}function eQ(e){return new eG(function(t){(function(e,t){var r,n,o,i,s,a,u,l;return s=this,a=void 0,u=void 0,l=function(){var s;return el(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=ec(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}}(e),a.label=1;case 1:return[4,r.next()];case 2:if((n=a.sent()).done)return[3,4];if(s=n.value,t.next(s),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return o={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(n&&!n.done&&(i=r.return)))return[3,8];return[4,i.call(r)];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})},new(u||(u=Promise))(function(e,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function n(e){try{o(l.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof u?o:new u(function(e){e(o)})).then(r,n)}o((l=l.apply(s,a||[])).next())})})(e,t).catch(function(e){return t.error(e)})})}function eY(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function eX(e){return function(t){if(eh(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}function eZ(e,t,r,n,o){return new e0(e,t,r,n,o)}var e0=function(e){function t(t,r,n,o,i,s){var a=e.call(this,t)||this;return a.onFinalize=i,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return eu(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(ex);function e1(e,t){return void 0===t&&(t=0),eX(function(r,n){r.subscribe(eZ(n,function(r){return eY(n,e,function(){return n.next(r)},t)},function(){return eY(n,e,function(){return n.complete()},t)},function(r){return eY(n,e,function(){return n.error(r)},t)}))})}function e3(e,t){return void 0===t&&(t=0),eX(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function e2(e,t){if(!e)throw Error("Iterable cannot be null");return new eG(function(r){eY(r,t,function(){var n=e[Symbol.asyncIterator]();eY(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function e8(e,t){return t?function(e,t){if(null!=e){if(eh(e[eN]))return eJ(e).pipe(e3(t),e1(t));if(eq(e))return new eG(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})});if(e$(e))return eJ(e).pipe(e3(t),e1(t));if(eB(e))return e2(e,t);if(eW(e))return new eG(function(r){var n;return eY(r,t,function(){n=e[eH](),eY(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){r.error(e);return}o?r.complete():r.next(t)},0,!0)}),function(){return eh(null==n?void 0:n.return)&&n.return()}});if(eK(e))return e2(eV(e),t)}throw ez(e)}(e,t):eJ(e)}var e5=em(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function e4(e,t){var r="object"==typeof t;return new Promise(function(n,o){var i,s=!1;e.subscribe({next:function(e){i=e,s=!0},error:o,complete:function(){s?n(i):r?n(t.defaultValue):o(new e5)}})})}var e6=Array.isArray;function e9(e,t){return eX(function(r,n){var o=0;r.subscribe(eZ(n,function(r){n.next(e.call(t,r,o++))}))})}var e7=Array.isArray;function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=eh(e[e.length-1])?e.pop():void 0;return r?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eF(e)}(te.apply(void 0,ep([],ed(e))),e9(function(e){return e7(e)?r.apply(void 0,ep([],ed(e))):r(e)})):eX(function(t,r){var n,o,i;(n=ep([t],ed(1===e.length&&e6(e[0])?e[0]:e)),void 0===i&&(i=eU),function(e){var t,r;t=void 0,r=function(){for(var t=n.length,r=Array(t),s=t,a=t,u=function(t){var u;u=function(){var u=e8(n[t],o),l=!1;u.subscribe(eZ(e,function(n){r[t]=n,!l&&(l=!0,a--),a||e.next(i(r.slice()))},function(){--s||e.complete()}))},o?eY(e,o,u):u()},l=0;l<t;l++)u(l)},t?eY(e,t,r):r()})(r)})}function tt(e,t){return eX(function(r,n){var o=0;r.subscribe(eZ(n,function(r){return e.call(t,r,o++)&&n.next(r)}))})}var tr=r(2926),tn=Object.defineProperty,to=(e,t,r)=>t in e?tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ti=(e,t,r)=>(to(e,"symbol"!=typeof t?t+"":t,r),r);class ts extends Error{constructor(e){let t=tu(e);super(t.message),ti(this,"response"),ti(this,"statusCode",400),ti(this,"responseBody"),ti(this,"details"),Object.assign(this,t)}}class ta extends Error{constructor(e){let t=tu(e);super(t.message),ti(this,"response"),ti(this,"statusCode",500),ti(this,"responseBody"),ti(this,"details"),Object.assign(this,t)}}function tu(e){let t=e.body,r={response:e,statusCode:e.statusCode,responseBody:-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(t,null,2):t,message:"",details:void 0};if(t.error&&t.message)return r.message=`${t.error} - ${t.message}`,r;if(tl(t)&&tl(t.error)&&"mutationError"===t.error.type&&"string"==typeof t.error.description||tl(t)&&tl(t.error)&&"actionError"===t.error.type&&"string"==typeof t.error.description){let e=t.error.items||[],n=e.slice(0,5).map(e=>{var t;return null==(t=e.error)?void 0:t.description}).filter(Boolean),o=n.length?`:
- ${n.join(`
- `)}`:"";return e.length>5&&(o+=`
...and ${e.length-5} more`),r.message=`${t.error.description}${o}`,r.details=t.error,r}return t.error&&t.error.description?(r.message=t.error.description,r.details=t.error):r.message=t.error||t.message||function(e){let t=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${t}`}(e),r}function tl(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let tc={onResponse:e=>{if(e.statusCode>=500)throw new ta(e);if(e.statusCode>=400)throw new ts(e);return e}},td={onResponse:e=>{let t=e.headers["x-sanity-warning"];return(Array.isArray(t)?t:[t]).filter(Boolean).forEach(e=>console.warn(e)),e}};function tp(e,t,r){if(0===r.maxRetries)return!1;let n="GET"===r.method||"HEAD"===r.method,o=(r.uri||r.url).startsWith("/data/query"),i=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!n||!!o)&&!!i||eo.shouldRetry(e,t,r)}function tf(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(`
`);throw Error(`Unknown selection - must be one of:

${t}`)}let th=["image","file"],tm=["before","after","replace"],ty=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},tv=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},tg=e=>{if(-1===th.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${th.join(", ")}`)},tb=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},tP=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},t_=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);tP(e,t._id)},tS=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===tm.indexOf(e)){let e=tm.map(e=>`"${e}"`).join(", ");throw Error(`${n} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw Error(`${n} takes an "items"-argument which must be an array`)},tw=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},tT=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e};var tE=Object.defineProperty,tO=(e,t,r)=>t in e?tE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tR=(e,t,r)=>(tO(e,"symbol"!=typeof t?t+"":t,r),r),tx=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},tj=(e,t,r)=>(tx(e,t,"read from private field"),r?r.call(e):t.get(e)),tC=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},tA=(e,t,r,n)=>(tx(e,t,"write to private field"),t.set(e,r),r);class tk{constructor(e,t={}){tR(this,"selection"),tR(this,"operations"),this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return tb("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return tS(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,r,n){let o=t<0?t-1:t,i=typeof r>"u"||-1===r?-1:Math.max(0,t+r),s=`${e}[${o}:${o<0&&i>=0?"":i}]`;return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...tf(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,r=!0){return tb(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}let tI=class e extends tk{constructor(e,t,r){super(e,t),tC(this,rm,void 0),tA(this,rm,r)}clone(){return new e(this.selection,{...this.operations},tj(this,rm))}commit(e){if(!tj(this,rm))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return tj(this,rm).mutate({patch:this.serialize()},t)}};rm=new WeakMap;let tM=class e extends tk{constructor(e,t,r){super(e,t),tC(this,ry,void 0),tA(this,ry,r)}clone(){return new e(this.selection,{...this.operations},tj(this,ry))}commit(e){if(!tj(this,ry))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return tj(this,ry).mutate({patch:this.serialize()},t)}};ry=new WeakMap;var tD=Object.defineProperty,tN=(e,t,r)=>t in e?tD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tU=(e,t,r)=>(tN(e,"symbol"!=typeof t?t+"":t,r),r),tF=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},tG=(e,t,r)=>(tF(e,t,"read from private field"),r?r.call(e):t.get(e)),tL=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},tq=(e,t,r,n)=>(tF(e,t,"write to private field"),t.set(e,r),r);let t$={returnDocuments:!1};class tB{constructor(e=[],t){tU(this,"operations"),tU(this,"trxId"),this.operations=e,this.trxId=t}create(e){return tb("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return tb(t,e),t_(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return tb(t,e),t_(t,e),this._add({[t]:e})}delete(e){return tP("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}let tz=class e extends tB{constructor(e,t,r){super(e,r),tL(this,rv,void 0),tq(this,rv,t)}clone(){return new e([...this.operations],tG(this,rv),this.trxId)}commit(e){if(!tG(this,rv))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tG(this,rv).mutate(this.serialize(),Object.assign({transactionId:this.trxId},t$,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof tM)return this._add({patch:e.serialize()});if(r){let r=t(new tM(e,{},tG(this,rv)));if(!(r instanceof tM))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}};rv=new WeakMap;let tH=class e extends tB{constructor(e,t,r){super(e,r),tL(this,rg,void 0),tq(this,rg,t)}clone(){return new e([...this.operations],tG(this,rg),this.trxId)}commit(e){if(!tG(this,rg))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tG(this,rg).mutate(this.serialize(),Object.assign({transactionId:this.trxId},t$,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof tI)return this._add({patch:e.serialize()});if(r){let r=t(new tI(e,{},tG(this,rg)));if(!(r instanceof tI))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}};function tW(e){return"https://www.sanity.io/help/"+e}rg=new WeakMap;let tV=e=>{var t;let r,n;return t=(...t)=>console.warn(e.join(" "),...t),r=!1,(...e)=>(r||(n=t(...e),r=!0),n)},tK=tV(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),tJ=tV(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),tQ=tV(["The Sanity client is configured with the `perspective` set to `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),tY=tV(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${tW("js-client-browser-token")} for more information and how to hide this warning.`]),tX=tV(["Using the Sanity client without specifying an API version is deprecated.",`See ${tW("js-client-api-version")}`]),tZ=(tV(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),{apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}}),t0=["localhost","127.0.0.1","0.0.0.0"],t1=e=>-1!==t0.indexOf(e),t3=function(e){switch(e){case"previewDrafts":case"published":case"raw":return;default:throw TypeError("Invalid API perspective string, expected `published`, `previewDrafts` or `raw`")}},t2=(e,t)=>{let r={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||tZ.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};r.apiVersion||tX();let n={...tZ,...r},o=n.useProjectHostname;if(typeof Promise>"u"){let e=tW("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(o&&!n.projectId)throw Error("Configuration must contain `projectId`");if("string"==typeof n.perspective&&t3(n.perspective),"encodeSourceMap"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");if("boolean"!=typeof n.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${n.stega.enabled}`);if(n.stega.enabled&&void 0===n.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(n.stega.enabled&&"string"!=typeof n.stega.studioUrl&&"function"!=typeof n.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${n.stega.studioUrl}`);let i="u">typeof window&&window.location&&window.location.hostname,s=i&&t1(window.location.hostname);i&&s&&n.token&&!0!==n.ignoreBrowserTokenWarning?tY():typeof n.useCdn>"u"&&tJ(),o&&tv(n.projectId),n.dataset&&ty(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?tT(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion=`${n.apiVersion}`.replace(/^v/,""),n.isDefaultApi=n.apiHost===tZ.apiHost,!0===n.useCdn&&n.withCredentials&&tK(),n.useCdn=!1!==n.useCdn&&!n.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(n.apiVersion);let a=n.apiHost.split("://",2),u=a[0],l=a[1],c=n.isDefaultApi?"apicdn.sanity.io":l;return n.useProjectHostname?(n.url=`${u}://${n.projectId}.${l}/v${n.apiVersion}`,n.cdnUrl=`${u}://${n.projectId}.${c}/v${n.apiVersion}`):(n.url=`${n.apiHost}/v${n.apiVersion}`,n.cdnUrl=n.url),n},t8=({query:e,params:t={},options:r={}})=>{let n=new URLSearchParams,{tag:o,returnQuery:i,...s}=r;for(let[r,i]of(o&&n.append("tag",o),n.append("query",e),Object.entries(t)))n.append(`$${r}`,JSON.stringify(i));for(let[e,t]of Object.entries(s))t&&n.append(e,`${t}`);return!1===i&&n.append("returnQuery","false"),`?${n}`},t5=(e,t)=>!1===e?void 0:typeof e>"u"?t:e,t4=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:t5(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),t6=e=>"response"===e.type,t9=e=>e.body,t7=(e,t)=>e.reduce((e,r)=>(e[t(r)]=r,e),Object.create(null));function re(e,t,n,o,i={},s={}){let a="stega"in s?{...n||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:n,u=a.enabled?(0,tr.N)(i):i,l=!1===s.filterResponse?e=>e:e=>e.result,{cache:c,next:d,...p}={useAbortSignal:"u">typeof s.signal,resultSourceMap:a.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},f=ru(e,t,"query",{query:o,params:u},"u">typeof c||"u">typeof d?{...p,fetch:{cache:c,next:d}}:p);return a.enabled?f.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return te.apply(void 0,ep([],ed(e)))}(e8(r.e(537).then(r.bind(r,4537)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),e9(([e,t])=>{let r=t(e.result,e.resultSourceMap,a);return l({...e,result:r})})):f.pipe(e9(l))}function rt(e,t,r,n={}){let o={uri:rp(e,"doc",r),json:!0,tag:n.tag};return rc(e,t,o).pipe(tt(t6),e9(e=>e.body.documents&&e.body.documents[0]))}function rr(e,t,r,n={}){let o={uri:rp(e,"doc",r.join(",")),json:!0,tag:n.tag};return rc(e,t,o).pipe(tt(t6),e9(e=>{let t=t7(e.body.documents||[],e=>e._id);return r.map(e=>t[e]||null)}))}function rn(e,t,r,n){return t_("createIfNotExists",r),rl(e,t,r,"createIfNotExists",n)}function ro(e,t,r,n){return t_("createOrReplace",r),rl(e,t,r,"createOrReplace",n)}function ri(e,t,r,n){return ru(e,t,"mutate",{mutations:[{delete:tf(r)}]},n)}function rs(e,t,r,n){let o;return ru(e,t,"mutate",{mutations:Array.isArray(o=r instanceof tM||r instanceof tI?{patch:r.serialize()}:r instanceof tz||r instanceof tH?r.serialize():r)?o:[o],transactionId:n&&n.transactionId||void 0},n)}function ra(e,t,r,n){let o=Array.isArray(r)?r:[r];return ru(e,t,"actions",{actions:o,transactionId:n&&n.transactionId||void 0,skipCrossDatasetReferenceValidation:n&&n.skipCrossDatasetReferenceValidation||void 0,dryRun:n&&n.dryRun||void 0},n)}function ru(e,t,r,n,o={}){let i="mutate"===r,s="actions"===r,a=i||s?"":t8(n),u=!i&&!s&&a.length<11264,l=o.returnFirst,{timeout:c,token:d,tag:p,headers:f,returnQuery:h,lastLiveEventId:m}=o,y=rp(e,r,u?a:"");return rc(e,t,{method:u?"GET":"POST",uri:y,json:!0,body:u?void 0:n,query:i&&t4(o),timeout:c,headers:f,token:d,tag:p,returnQuery:h,perspective:o.perspective,resultSourceMap:o.resultSourceMap,lastLiveEventId:Array.isArray(m)?m[0]:m,canUseCdn:"query"===r,signal:o.signal,fetch:o.fetch,useAbortSignal:o.useAbortSignal,useCdn:o.useCdn}).pipe(tt(t6),e9(t9),e9(e=>{if(!i)return e;let t=e.results||[];if(o.returnDocuments)return l?t[0]&&t[0].document:t.map(e=>e.document);let r=l?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[l?"documentId":"documentIds"]:r}}))}function rl(e,t,r,n,o={}){return ru(e,t,"mutate",{mutations:[{[n]:r}]},Object.assign({returnFirst:!0,returnDocuments:!0},o))}function rc(e,t,r){var n,o,i;let s=r.url||r.uri,a=e.config(),u=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&0===s.indexOf("/data/"):r.canUseCdn,l=(null!=(n=r.useCdn)?n:a.useCdn)&&u,c=r.tag&&a.requestTagPrefix?[a.requestTagPrefix,r.tag].join("."):r.tag||a.requestTagPrefix;if(c&&null!==r.tag&&(r.query={tag:tT(c),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&0===s.indexOf("/data/query/")){let e=null!=(o=r.resultSourceMap)?o:a.resultSourceMap;void 0!==e&&!1!==e&&(r.query={resultSourceMap:e,...r.query});let t=r.perspective||a.perspective;"string"==typeof t&&"raw"!==t&&(t3(t),r.query={perspective:t,...r.query},"previewDrafts"===t&&l&&(l=!1,tQ())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),!1===r.returnQuery&&(r.query={returnQuery:"false",...r.query})}let d=function(e,t={}){let r={},n=t.token||e.token;n&&(r.Authorization=`Bearer ${n}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let o=!!(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),i=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:typeof i>"u"?3e5:i,proxy:t.proxy||e.proxy,json:!0,withCredentials:o,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(a,Object.assign({},r,{url:rf(e,s,l)})),p=new eG(e=>t(d,a.requester).subscribe(e));return r.signal?p.pipe((i=r.signal,e=>new eG(t=>{let r=()=>t.error(function(e){var t,r;if(rh)return new DOMException(null!=(t=null==e?void 0:e.reason)?t:"The operation was aborted.","AbortError");let n=Error(null!=(r=null==e?void 0:e.reason)?r:"The operation was aborted.");return n.name="AbortError",n}(i));if(i&&i.aborted){r();return}let n=e.subscribe(t);return i.addEventListener("abort",r),()=>{i.removeEventListener("abort",r),n.unsubscribe()}}))):p}function rd(e,t,r){return rc(e,t,r).pipe(tt(e=>"response"===e.type),e9(e=>e.body))}function rp(e,t,r){let n=tw(e.config()),o=`/${t}/${n}`;return`/data${r?`${o}/${r}`:o}`.replace(/\/($|\?)/,"$1")}function rf(e,t,r=!1){let{url:n,cdnUrl:o}=e.config();return`${r?o:n}/${t.replace(/^\//,"")}`}let rh=!!globalThis.DOMException;var rm,ry,rv,rg,rb,rP,r_=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},rS=(e,t,r)=>(r_(e,t,"read from private field"),r?r.call(e):t.get(e)),rw=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rT=(e,t,r,n)=>(r_(e,t,"write to private field"),t.set(e,r),r);class rE{constructor(e,t){rw(this,rb,void 0),rw(this,rP,void 0),rT(this,rb,e),rT(this,rP,t)}upload(e,t,r){return rR(rS(this,rb),rS(this,rP),e,t,r)}}rb=new WeakMap,rP=new WeakMap;class rO{constructor(e,t){rw(this,rq,void 0),rw(this,r$,void 0),rT(this,rq,e),rT(this,r$,t)}upload(e,t,r){return e4(rR(rS(this,rq),rS(this,r$),e,t,r).pipe(tt(e=>"response"===e.type),e9(e=>e.body.document)))}}function rR(e,t,r,n,o={}){tg(r);let i=o.extract||void 0;i&&!i.length&&(i=["none"]);let s=tw(e.config()),a="image"===r?"images":"files",u=!(typeof File>"u")&&n instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:n.name,contentType:n.type},o):o,{tag:l,label:c,title:d,description:p,creditLine:f,filename:h,source:m}=u,y={label:c,title:d,description:p,filename:h,meta:i,creditLine:f};return m&&(y.sourceId=m.id,y.sourceName=m.name,y.sourceUrl=m.url),rc(e,t,{tag:l,method:"POST",timeout:u.timeout||0,uri:`/assets/${a}/${s}`,headers:u.contentType?{"Content-Type":u.contentType}:{},query:y,body:n})}rq=new WeakMap,r$=new WeakMap;var rx=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((r,n)=>(r[n]=typeof e[n]>"u"?t[n]:e[n],r),{});let rj=(e,t)=>t.reduce((t,r)=>(typeof e[r]>"u"||(t[r]=e[r]),t),{}),rC=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],rA={includeResult:!0};function rk(e,t,n={}){let{url:o,token:i,withCredentials:s,requestTagPrefix:a}=this.config(),u=n.tag&&a?[a,n.tag].join("."):n.tag,l={...rx(n,rA),tag:u},c=t8({query:e,params:t,options:{tag:u,...rj(l,rC)}}),d=`${o}${rp(this,"listen",c)}`;if(d.length>14800)return new eG(e=>e.error(Error("Query too large for listener")));let p=l.events?l.events:["mutation"],f=-1!==p.indexOf("reconnect"),h={};return(i||s)&&(h.withCredentials=!0),i&&(h.headers={Authorization:`Bearer ${i}`}),new eG(e=>{let t,n,o=!1,i=!1;function s(){o||(f&&e.next({type:"reconnect"}),o||t.readyState!==t.CLOSED||(c(),clearTimeout(n),n=setTimeout(y,100)))}function a(t){e.error(function(e){if(e instanceof Error)return e;let t=rI(e);return t instanceof Error?t:Error(t.error?t.error.description?t.error.description:"string"==typeof t.error?t.error:JSON.stringify(t.error,null,2):t.message||"Unknown listener error")}(t))}function u(t){let r=rI(t);return r instanceof Error?e.error(r):e.next(r)}function l(){o=!0,c(),e.complete()}function c(){t&&(t.removeEventListener("error",s),t.removeEventListener("channelError",a),t.removeEventListener("disconnect",l),p.forEach(e=>t.removeEventListener(e,u)),t.close())}async function m(){let{default:e}=await r.e(583).then(r.t.bind(r,4583,19));if(i)return;let t=new e(d,h);return t.addEventListener("error",s),t.addEventListener("channelError",a),t.addEventListener("disconnect",l),p.forEach(e=>t.addEventListener(e,u)),t}function y(){m().then(e=>{e&&(t=e,i&&c())}).catch(t=>{e.error(t),v()})}function v(){o=!0,c(),i=!0}return y(),v})}function rI(e){try{let t=e.data&&JSON.parse(e.data)||{};return Object.assign({type:e.type},t)}catch(e){return e}}var rM=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},rD=(e,t,r)=>(rM(e,t,"read from private field"),r?r.call(e):t.get(e)),rN=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rU=(e,t,r,n)=>(rM(e,t,"write to private field"),t.set(e,r),r);let rF="2021-03-26";class rG{constructor(e){rN(this,rB,void 0),rU(this,rB,e)}events(){let e=rD(this,rB).config().apiVersion.replace(/^v/,"");if("X"!==e&&e<rF)throw Error(`The live events API requires API version ${rF} or later. The current API version is ${e}. Please update your API version to use this feature.`);let t=rp(rD(this,rB),"live/events"),n=new URL(rD(this,rB).getUrl(t,!1)),o=["restart","message"];return new eG(e=>{let t,i,s=!1,a=!1;function u(r){if(!s){if("data"in r){let t=rL(r);e.error(Error(t.message,{cause:t}))}t.readyState===t.CLOSED&&(c(),clearTimeout(i),i=setTimeout(p,100))}}function l(t){let r=rL(t);return r instanceof Error?e.error(r):e.next(r)}function c(){if(t){for(let e of(t.removeEventListener("error",u),o))t.removeEventListener(e,l);t.close()}}async function d(){let e=typeof EventSource>"u"?(await r.e(583).then(r.t.bind(r,4583,19))).default:EventSource;if(a)return;let t=new e(n.toString());for(let e of(t.addEventListener("error",u),o))t.addEventListener(e,l);return t}function p(){d().then(e=>{e&&(t=e,a&&c())}).catch(t=>{e.error(t),f()})}function f(){s=!0,c(),a=!0}return p(),f})}}function rL(e){try{let t=e.data&&JSON.parse(e.data)||{};return{type:e.type,id:e.lastEventId,...t}}catch(e){return e}}rB=new WeakMap;var rq,r$,rB,rz,rH,rW=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},rV=(e,t,r)=>(rW(e,t,"read from private field"),r?r.call(e):t.get(e)),rK=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rJ=(e,t,r,n)=>(rW(e,t,"write to private field"),t.set(e,r),r);class rQ{constructor(e,t){rK(this,rz,void 0),rK(this,rH,void 0),rJ(this,rz,e),rJ(this,rH,t)}create(e,t){return rX(rV(this,rz),rV(this,rH),"PUT",e,t)}edit(e,t){return rX(rV(this,rz),rV(this,rH),"PATCH",e,t)}delete(e){return rX(rV(this,rz),rV(this,rH),"DELETE",e)}list(){return rd(rV(this,rz),rV(this,rH),{uri:"/datasets",tag:null})}}rz=new WeakMap,rH=new WeakMap;class rY{constructor(e,t){rK(this,rZ,void 0),rK(this,r0,void 0),rJ(this,rZ,e),rJ(this,r0,t)}create(e,t){return e4(rX(rV(this,rZ),rV(this,r0),"PUT",e,t))}edit(e,t){return e4(rX(rV(this,rZ),rV(this,r0),"PATCH",e,t))}delete(e){return e4(rX(rV(this,rZ),rV(this,r0),"DELETE",e))}list(){return e4(rd(rV(this,rZ),rV(this,r0),{uri:"/datasets",tag:null}))}}function rX(e,t,r,n,o){return ty(n),rd(e,t,{method:r,uri:`/datasets/${n}`,body:o,tag:null})}rZ=new WeakMap,r0=new WeakMap;var rZ,r0,r1,r3,r2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},r8=(e,t,r)=>(r2(e,t,"read from private field"),r?r.call(e):t.get(e)),r5=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r4=(e,t,r,n)=>(r2(e,t,"write to private field"),t.set(e,r),r);class r6{constructor(e,t){r5(this,r1,void 0),r5(this,r3,void 0),r4(this,r1,e),r4(this,r3,t)}list(e){let t=(null==e?void 0:e.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return rd(r8(this,r1),r8(this,r3),{uri:t})}getById(e){return rd(r8(this,r1),r8(this,r3),{uri:`/projects/${e}`})}}r1=new WeakMap,r3=new WeakMap;class r9{constructor(e,t){r5(this,r7,void 0),r5(this,ne,void 0),r4(this,r7,e),r4(this,ne,t)}list(e){let t=(null==e?void 0:e.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return e4(rd(r8(this,r7),r8(this,ne),{uri:t}))}getById(e){return e4(rd(r8(this,r7),r8(this,ne),{uri:`/projects/${e}`}))}}r7=new WeakMap,ne=new WeakMap;var r7,ne,nt,nr,nn=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},no=(e,t,r)=>(nn(e,t,"read from private field"),r?r.call(e):t.get(e)),ni=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ns=(e,t,r,n)=>(nn(e,t,"write to private field"),t.set(e,r),r);class na{constructor(e,t){ni(this,nt,void 0),ni(this,nr,void 0),ns(this,nt,e),ns(this,nr,t)}getById(e){return rd(no(this,nt),no(this,nr),{uri:`/users/${e}`})}}nt=new WeakMap,nr=new WeakMap;class nu{constructor(e,t){ni(this,nl,void 0),ni(this,nc,void 0),ns(this,nl,e),ns(this,nc,t)}getById(e){return e4(rd(no(this,nl),no(this,nc),{uri:`/users/${e}`}))}}nl=new WeakMap,nc=new WeakMap;var nl,nc,nd,np,nf=Object.defineProperty,nh=(e,t,r)=>t in e?nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nm=(e,t,r)=>(nh(e,"symbol"!=typeof t?t+"":t,r),r),ny=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},nv=(e,t,r)=>(ny(e,t,"read from private field"),r?r.call(e):t.get(e)),ng=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},nb=(e,t,r,n)=>(ny(e,t,"write to private field"),t.set(e,r),r);let nP=class e{constructor(e,t=tZ){nm(this,"assets"),nm(this,"datasets"),nm(this,"live"),nm(this,"projects"),nm(this,"users"),ng(this,nd,void 0),ng(this,np,void 0),nm(this,"listen",rk),this.config(t),nb(this,np,e),this.assets=new rE(this,nv(this,np)),this.datasets=new rQ(this,nv(this,np)),this.live=new rG(this),this.projects=new r6(this,nv(this,np)),this.users=new na(this,nv(this,np))}clone(){return new e(nv(this,np),this.config())}config(e){if(void 0===e)return{...nv(this,nd)};if(nv(this,nd)&&!1===nv(this,nd).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return nb(this,nd,t2(e,nv(this,nd)||{})),this}withConfig(t){let r=this.config();return new e(nv(this,np),{...r,...t,stega:{...r.stega||{},..."boolean"==typeof(null==t?void 0:t.stega)?{enabled:t.stega}:(null==t?void 0:t.stega)||{}}})}fetch(e,t,r){return re(this,nv(this,np),nv(this,nd).stega,e,t,r)}getDocument(e,t){return rt(this,nv(this,np),e,t)}getDocuments(e,t){return rr(this,nv(this,np),e,t)}create(e,t){return rl(this,nv(this,np),e,"create",t)}createIfNotExists(e,t){return rn(this,nv(this,np),e,t)}createOrReplace(e,t){return ro(this,nv(this,np),e,t)}delete(e,t){return ri(this,nv(this,np),e,t)}mutate(e,t){return rs(this,nv(this,np),e,t)}patch(e,t){return new tI(e,t,this)}transaction(e){return new tH(e,this)}action(e,t){return ra(this,nv(this,np),e,t)}request(e){return rd(this,nv(this,np),e)}getUrl(e,t){return rf(this,e,t)}getDataUrl(e,t){return rp(this,e,t)}};nd=new WeakMap,np=new WeakMap;let n_=class e{constructor(e,t=tZ){nm(this,"assets"),nm(this,"datasets"),nm(this,"live"),nm(this,"projects"),nm(this,"users"),nm(this,"observable"),ng(this,f,void 0),ng(this,h,void 0),nm(this,"listen",rk),this.config(t),nb(this,h,e),this.assets=new rO(this,nv(this,h)),this.datasets=new rY(this,nv(this,h)),this.live=new rG(this),this.projects=new r9(this,nv(this,h)),this.users=new nu(this,nv(this,h)),this.observable=new nP(e,t)}clone(){return new e(nv(this,h),this.config())}config(e){if(void 0===e)return{...nv(this,f)};if(nv(this,f)&&!1===nv(this,f).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),nb(this,f,t2(e,nv(this,f)||{})),this}withConfig(t){let r=this.config();return new e(nv(this,h),{...r,...t,stega:{...r.stega||{},..."boolean"==typeof(null==t?void 0:t.stega)?{enabled:t.stega}:(null==t?void 0:t.stega)||{}}})}fetch(e,t,r){return e4(re(this,nv(this,h),nv(this,f).stega,e,t,r))}getDocument(e,t){return e4(rt(this,nv(this,h),e,t))}getDocuments(e,t){return e4(rr(this,nv(this,h),e,t))}create(e,t){return e4(rl(this,nv(this,h),e,"create",t))}createIfNotExists(e,t){return e4(rn(this,nv(this,h),e,t))}createOrReplace(e,t){return e4(ro(this,nv(this,h),e,t))}delete(e,t){return e4(ri(this,nv(this,h),e,t))}mutate(e,t){return e4(rs(this,nv(this,h),e,t))}patch(e,t){return new tM(e,t,this)}transaction(e){return new tz(e,this)}action(e,t){return e4(ra(this,nv(this,h),e,t))}request(e){return e4(rd(this,nv(this,h),e))}dataRequest(e,t,r){return e4(ru(this,nv(this,h),e,t,r))}getUrl(e,t){return rf(this,e,t)}getDataUrl(e,t){return rp(this,e,t)}};f=new WeakMap,h=new WeakMap;let nS=function(e,t){let r=N([eo({shouldRetry:tp}),...e,td,{processOptions:e=>{let t=e.body;return t&&"function"!=typeof t.pipe&&!B(t)&&(-1!==H.indexOf(typeof t)||Array.isArray(t)||function(e){if(!1===z(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!(!1===z(r)||!1===r.hasOwnProperty("isPrototypeOf"))}(t))?Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})}):e}},{onResponse:e=>{let t=e.headers["content-type"]||"",r=-1!==t.indexOf("application/json");return e.body&&t&&r?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},tc,function(e={}){let t=e.implementation||V.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:eG})]);return{requester:r,createClient:e=>new t((t,n)=>(n||r)({maxRedirects:0,maxRetries:e.maxRetries,retryDelay:e.retryDelay,...t}),e)}}([],n_),nw=(nS.requester,nS.createClient)},1810:function(e,t,r){"use strict";r.d(t,{w_:function(){return c}});var n=r(2265),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),s=["attr","size","title"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e){return t=>n.createElement(d,a({attr:l({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,l({key:r},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var r,{attr:o,size:i,title:u}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,s),d=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:r,style:l(l({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(o)}}}]);