/*! For license information please see main.817cc4b6.js.LICENSE.txt */ (()=>{var e={138:function(e){e.exports=function(){function e(){return e=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var o="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(e){var t=e.split("-"),n=t[1],r=t[2],i=t[3];if(!n||!r||!i)throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+o+'".');var a=r.split("x"),l=+a[0],u=+a[1];if(!isFinite(l)||!isFinite(u))throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+o+'".');return{id:n,width:l,height:u,format:i}}var a=function(e){return!!e&&"string"===typeof e._ref},l=function(e){return!!e&&"string"===typeof e._id},u=function(e){var t=e;return!(!t||!t.asset)&&"string"===typeof t.asset.url};function s(e){if(!e)return null;var t;if("string"===typeof e&&c(e))t={asset:{_ref:f(e)}};else if("string"===typeof e)t={asset:{_ref:e}};else if(a(e))t={asset:e};else if(l(e))t={asset:{_ref:e._id||""}};else if(u(e))t={asset:{_ref:f(e.asset.url)}};else{if("object"!==typeof e.asset)return null;t=e}var n=e;return n.crop&&(t.crop=n.crop),n.hotspot&&(t.hotspot=n.hotspot),d(t)}function c(e){return/^https?:\/\//.test(""+e)}function f(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function d(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}var p=[["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"]];function h(t){var n=e({},t||{}),r=n.source;delete n.source;var o=s(r);if(!o)return null;var a=i(o.asset._ref||o.asset._id||""),l=Math.round(o.crop.left*a.width),u=Math.round(o.crop.top*a.height),c={left:l,top:u,width:Math.round(a.width-o.crop.right*a.width-l),height:Math.round(a.height-o.crop.bottom*a.height-u)},f=o.hotspot.height*a.height/2,d=o.hotspot.width*a.width/2,p=o.hotspot.x*a.width,h=o.hotspot.y*a.height,y={left:p-d,top:h-f,right:p+d,bottom:h+f};return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=e(e({},n),v({crop:c,hotspot:y},n))),m(e(e({},n),{},{asset:a}))}function m(e){var t=e.baseUrl||"https://cdn.sanity.io",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,r=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,o=[];if(e.rect){var i=e.rect,a=i.left,l=i.top,u=i.width,s=i.height;(0!==a||0!==l||s!==e.asset.height||u!==e.asset.width)&&o.push("rect="+a+","+l+","+u+","+s)}e.bg&&o.push("bg="+e.bg),e.focalPoint&&(o.push("fp-x="+e.focalPoint.x),o.push("fp-y="+e.focalPoint.y));var c=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return c&&o.push("flip="+c),p.forEach((function(t){var n=t[0],r=t[1];"undefined"!==typeof e[n]?o.push(r+"="+encodeURIComponent(e[n])):"undefined"!==typeof e[r]&&o.push(r+"="+encodeURIComponent(e[r]))})),0===o.length?r:r+"?"+o.join("&")}function v(e,t){var n,r=t.width,o=t.height;if(!r||!o)return{width:r,height:o,rect:e.crop};var i=e.crop,a=e.hotspot,l=r/o;if(i.width/i.height>l){var u=i.height,s=u*l,c=i.top,f=(a.right-a.left)/2+a.left-s/2;fi.left+i.width&&(f=i.left+i.width-s),n={left:Math.round(f),top:Math.round(c),width:Math.round(s),height:Math.round(u)}}else{var d=i.width,p=d/l,h=i.left,m=(a.bottom-a.top)/2+a.top-p/2;mi.top+i.height&&(m=i.top+i.height-p),n={left:Math.max(0,Math.floor(h)),top:Math.max(0,Math.floor(m)),width:Math.round(d),height:Math.round(p)}}return{width:r,height:o,rect:n}}var y=["clip","crop","fill","fillmax","max","scale","min"],g=["top","bottom","left","right","center","focalpoint","entropy"],b=["format"];function w(e){return!!e&&"object"===typeof e.clientConfig}function k(e){for(var t,n=r(p);!(t=n()).done;){var o=t.value,i=o[0],a=o[1];if(e===i||e===a)return i}return e}function _(e){var t=e;if(w(t)){var n=t.clientConfig,r=n.apiHost,o=n.projectId,i=n.dataset;return new E(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:o,dataset:i})}return new E(null,e)}var E=function(){function t(t,n){this.options=e(t?e({},t.options||{}):{},n||{})}var n=t.prototype;return n.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,o={baseUrl:r};for(var i in n)n.hasOwnProperty(i)&&(o[k(i)]=n[i]);return new t(this,e({baseUrl:r},o))},n.image=function(e){return this.withOptions({source:e})},n.dataset=function(e){return this.withOptions({dataset:e})},n.projectId=function(e){return this.withOptions({projectId:e})},n.bg=function(e){return this.withOptions({bg:e})},n.dpr=function(e){return this.withOptions({dpr:e})},n.width=function(e){return this.withOptions({width:e})},n.height=function(e){return this.withOptions({height:e})},n.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},n.maxWidth=function(e){return this.withOptions({maxWidth:e})},n.minWidth=function(e){return this.withOptions({minWidth:e})},n.maxHeight=function(e){return this.withOptions({maxHeight:e})},n.minHeight=function(e){return this.withOptions({minHeight:e})},n.size=function(e,t){return this.withOptions({width:e,height:t})},n.blur=function(e){return this.withOptions({blur:e})},n.sharpen=function(e){return this.withOptions({sharpen:e})},n.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},n.format=function(e){return this.withOptions({format:e})},n.invert=function(e){return this.withOptions({invert:e})},n.orientation=function(e){return this.withOptions({orientation:e})},n.quality=function(e){return this.withOptions({quality:e})},n.forceDownload=function(e){return this.withOptions({download:e})},n.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},n.flipVertical=function(){return this.withOptions({flipVertical:!0})},n.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},n.fit=function(e){if(-1===y.indexOf(e))throw new Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},n.crop=function(e){if(-1===g.indexOf(e))throw new Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},n.saturation=function(e){return this.withOptions({saturation:e})},n.auto=function(e){if(-1===b.indexOf(e))throw new Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},n.pad=function(e){return this.withOptions({pad:e})},n.url=function(){return h(this.options)},n.toString=function(){return this.url()},t}();return _}()},310:(e,t,n)=>{t.map=n(5707).map},480:(e,t,n)=>{"use strict";var r=n(2123),o=n(8317);function i(e){this.request=e.request.bind(e)}r(i.prototype,{create:function(e,t){return this._modify("PUT",e,t)},edit:function(e,t){return this._modify("PATCH",e,t)},delete:function(e){return this._modify("DELETE",e)},list:function(){return this.request({uri:"/datasets"})},_modify:function(e,t,n){return o.dataset(t),this.request({method:e,uri:"/datasets/".concat(t),body:n})}}),e.exports=i},498:(e,t,n)=>{"use strict";var r=n(1360),o=n(2123);e.exports=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).implementation||r.Observable;if(!e)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(t,n){return new e((function(e){return t.error.subscribe((function(t){return e.error(t)})),t.progress.subscribe((function(t){return e.next(o({type:"progress"},t))})),t.response.subscribe((function(t){e.next(o({type:"response"},t)),e.complete()})),t.request.publish(n),function(){return t.abort.publish()}}))}}}},579:(e,t,n)=>{"use strict";e.exports=n(1153)},597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"===typeof e.length}},640:(e,t,n)=>{"use strict";e.exports=n(7416)},658:e=>{"use strict";var t=["strong","em","code","underline","strike-through"];function n(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var o=e.marks.reduce((function(e,r){e[r]=e[r]?e[r]+1:1;for(var o=t+1;or?1:0}e.exports=function(e){var t=e.children,r=e.markDefs;if(!t||!t.length)return[];var o=t.map(n),i={_type:"span",children:[]},a=[i];return t.forEach((function(e,t){var n=o[t];if(n){var i=1;if(a.length>1)for(;i=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}return}(a=a.slice(0,i));if(n.forEach((function(t){var n={_type:"span",_key:e._key,children:[],mark:r.find((function(e){return e._key===t}))||t,markKey:t};c.children.push(n),a.push(n),c=n})),"span"!==(s=e)._type||"string"!==typeof s.text||!Array.isArray(s.marks)&&"undefined"!==typeof s.marks)c.children=c.children.concat(e);else{for(var f=e.text.split("\n"),d=f.length;d-- >1;)f.splice(d,0,"\n");c.children=c.children.concat(f)}}else{a[a.length-1].children.push(e)}})),i.children}},774:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(4585),i=n(4245),a=n(7300);t.takeLast=function(e){return function(t){return 0===e?a.empty():t.lift(new l(e))}};var l=function(){function e(e){if(this.total=e,this.total<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o{"use strict";e.exports=function(e){return function(t,n){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i{e.exports=n(7148)},849:(e,t,n)=>{"use strict";var r=n(2123);function o(e){return Boolean(e.listItem)}function i(e,t){return e.level===t.level&&e.listItem===t.listItem}function a(e){return{_type:"list",_key:"".concat(e._key,"-parent"),level:e.level,listItem:e.listItem,children:[e]}}function l(e){return e.children&&e.children[e.children.length-1]}function u(e,t){var n="string"===typeof t.listItem;if("list"===e._type&&e.level===t.level&&n&&e.listItem===t.listItem)return e;var r=l(e);return!!r&&u(r,t)}e.exports=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",s=[],c=0;ct.level){var d=a(f);if("html"===n){var p=l(t),h=r({},p,{children:p.children.concat(d)});t.children[t.children.length-1]=h}else t.children.push(d);t=d}else if(f.level{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(1320),i=n(2123),a=n(7491),l=n(8317),u=l.validateObject,s=l.validateInsert;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.selection=e,this.operations=i({},t),this.client=n}i(c.prototype,{clone:function(){return new c(this.selection,i({},this.operations),this.client)},merge:function(e){u("merge",e);var t=(new Error).stack.toString().split("\n").filter((function(e){return e.trim()})).slice(2);return console.warn('The "merge" patch has been deprecated and will be removed in the future\n'.concat(t.join("\n"))),this._assign("merge",o(this.operations.merge||{},e))},set:function(e){return this._assign("set",e)},diffMatchPatch:function(e){return u("diffMatchPatch",e),this._assign("diffMatchPatch",e)},unset:function(e){if(!Array.isArray(e))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=i({},this.operations,{unset:e}),this},setIfMissing:function(e){return this._assign("setIfMissing",e)},replace:function(e){return u("replace",e),this._set("set",{$:e})},inc:function(e){return this._assign("inc",e)},dec:function(e){return this._assign("dec",e)},insert:function(e,t,n){var o;return s(e,t,n),this._assign("insert",(r(o={},e,t),r(o,"items",n),o))},append:function(e,t){return this.insert("after","".concat(e,"[-1]"),t)},prepend:function(e,t){return this.insert("before","".concat(e,"[0]"),t)},splice:function(e,t,n,r){var o=t<0?t-1:t,i="undefined"===typeof n||-1===n?-1:Math.max(0,t+n),a=o<0&&i>=0?"":i,l="".concat(e,"[").concat(o,":").concat(a,"]");return this.insert("replace",l,r||[])},ifRevisionId:function(e){return this.operations.ifRevisionID=e,this},serialize:function(){return i(a(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var t="string"===typeof this.selection,n=i({returnFirst:t,returnDocuments:!0},e);return this.client.mutate({patch:this.serialize()},n)},reset:function(){return this.operations={},this},_set:function(e,t){return this._assign(e,t,!1)},_assign:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return u(e,t),this.operations=i({},this.operations,r({},e,i({},n&&this.operations[e]||{},t))),this}}),e.exports=c},1083:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(2123),i=n(8384).filter,a=n(310).map,l=n(8317),u=n(7491),s=n(3062),c=n(5465),f=n(935),d=n(7758),p=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{returnIds:!0,returnDocuments:(e=n.returnDocuments,t=!0,!1===e?void 0:"undefined"===typeof e?t:e),visibility:n.visibility||"sync"}},h=function(e){return"response"===e.type},m=function(e){return e.body},v=function(e){return e.toPromise()};e.exports={listen:d,getDataUrl:function(e,t){var n=this.clientConfig,r=n.gradientMode?n.namespace:l.hasDataset(n),o="/".concat(e,"/").concat(r),i=t?"".concat(o,"/").concat(t):o;return(this.clientConfig.gradientMode?i:"/data".concat(i)).replace(/\/($|\?)/,"$1")},fetch:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!1===n.filterResponse?function(e){return e}:function(e){return e.result},o=this._dataRequest("query",{query:e,params:t},n).pipe(a(r));return this.isPromiseAPI()?v(o):o},getDocument:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(i(h),a((function(e){return e.body.documents&&e.body.documents[0]})));return this.isPromiseAPI()?v(r):r},getDocuments:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e.join(",")),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(i(h),a((function(t){var n,r,o=(n=t.body.documents||[],r=function(e){return e._id},n.reduce((function(e,t){return e[r(t)]=t,e}),Object.create(null)));return e.map((function(e){return o[e]||null}))})));return this.isPromiseAPI()?v(r):r},create:function(e,t){return this._create(e,"create",t)},createIfNotExists:function(e,t){return l.requireDocumentId("createIfNotExists",e),this._create(e,"createIfNotExists",t)},createOrReplace:function(e,t){return l.requireDocumentId("createOrReplace",e),this._create(e,"createOrReplace",t)},patch:function(e,t){return new f(e,t,this)},delete:function(e,t){return this.dataRequest("mutate",{mutations:[{delete:u(e)}]},t)},mutate:function(e,t){var n=e instanceof f||e instanceof c?e.serialize():e,r=Array.isArray(n)?n:[n],o=t&&t.transactionId;return this.dataRequest("mutate",{mutations:r,transactionId:o},t)},transaction:function(e){return new c(e,this)},dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._dataRequest(e,t,n);return this.isPromiseAPI()?v(r):r},_dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="mutate"===e,l="query"===e,u=!o&&s(t),c=!o&&u.length<11264,f=c?u:"",d=n.returnFirst,v=n.timeout,y=n.token,g=n.tag,b={method:c?"GET":"POST",uri:this.getDataUrl(e,f),json:!0,body:c?void 0:t,query:o&&p(n),timeout:v,token:y,tag:g,canUseCdn:l};return this._requestObservable(b).pipe(i(h),a(m),a((function(e){if(!o)return e;var t=e.results||[];if(n.returnDocuments)return d?t[0]&&t[0].document:t.map((function(e){return e.document}));var i=d?"documentId":"documentIds",a=d?t[0]&&t[0].id:t.map((function(e){return e.id}));return r({transactionId:e.transactionId,results:t},i,a)})))},_create:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r({},t,e),a=o({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[i]},a)}}},1108:(e,t,n)=>{"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(2123),i=n(6927),a=["boolean","string","number"];e.exports=function(){return{processOptions:function(e){var t,n=e.body;return n&&!("function"===typeof n.pipe)&&!((t=n).constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t))&&(-1!==a.indexOf("undefined"===typeof n?"undefined":r(n))||Array.isArray(n)||i(n))?o({},e,{body:JSON.stringify(e.body),headers:o({},e.headers,{"Content-Type":"application/json"})}):e}}}},1113:(e,t)=>{"use strict";var n="undefined"!==typeof Reflect?Reflect.construct:void 0,r=Object.defineProperty,o=Error.captureStackTrace;function i(e){void 0!==e&&r(this,"message",{configurable:!0,value:e,writable:!0});var t=this.constructor.name;void 0!==t&&t!==this.name&&r(this,"name",{configurable:!0,value:t,writable:!0}),o(this,this.constructor)}void 0===o&&(o=function(e){var t=new Error;r(e,"stack",{configurable:!0,get:function(){var e=t.stack;return r(this,"stack",{configurable:!0,value:e,writable:!0}),e},set:function(t){r(e,"stack",{configurable:!0,value:t,writable:!0})}})}),i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var a=function(){function e(e,t){return r(e,"name",{configurable:!0,value:t})}try{var t=function(){};if(e(t,"foo"),"foo"===t.name)return e}catch(n){}}();(e.exports=function(e,t){if(null==t||t===Error)t=i;else if("function"!==typeof t)throw new TypeError("super_ should be a function");var r;if("string"===typeof e)r=e,e=void 0!==n?function(){return n(t,arguments,this.constructor)}:function(){t.apply(this,arguments)},void 0!==a&&(a(e,r),r=void 0);else if("function"!==typeof e)throw new TypeError("constructor should be either a string or a function");e.super_=e.super=t;var o={constructor:{configurable:!0,value:e,writable:!0}};return void 0!==r&&(o.name={configurable:!0,value:r,writable:!0}),e.prototype=Object.create(t.prototype,o),e}).BaseError=i},1153:(e,t,n)=>{"use strict";n(2123);var r=n(5043),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},1186:e=>{"use strict";var t=/^https?:\/\//i;e.exports=function(e){if(!t.test(e.url))throw new Error('"'+e.url+'" is not a valid URL')}},1260:e=>{"use strict";var t=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/;e.exports={regex:t,parse:function(e){var n=t.exec(e);return n?{protocol:(n[1]||"").toLowerCase()||void 0,hostname:(n[5]||"").toLowerCase()||void 0,port:n[6]||void 0}:{}}}},1320:(e,t,n)=>{"use strict";var r=n(6140),o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e,t,n){var i=t[n];if(void 0!==i&&null!==i){if(o.call(e,n)&&(void 0===e[n]||null===e[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");o.call(e,n)&&r(i)?e[n]=l(Object(e[n]),t[n]):e[n]=i}}function l(e,t){if(e===t)return e;for(var n in t=Object(t))o.call(t,n)&&a(e,t,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(t),l=0;l{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},1360:(e,t,n)=>{"use strict";"undefined"!==typeof window?e.exports=window:"undefined"!==typeof n.g?e.exports=n.g:"undefined"!==typeof self?e.exports=self:e.exports={}},1387:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tf,Gh:()=>z,HS:()=>L,Oi:()=>l,Rr:()=>d,pX:()=>q,pb:()=>j,rc:()=>o,tH:()=>U,ue:()=>m,yD:()=>N,zR:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){return void 0===e&&(e={}),p((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return c("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:f(t)}),null,e)}function l(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function u(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function s(e,t){return{usr:e.state,key:e.key,idx:t}}function c(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?d(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function f(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function d(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function p(e,t,n,a){void 0===a&&(a={});let{window:u=document.defaultView,v5Compat:d=!1}=a,p=u.history,h=o.Pop,m=null,v=y();function y(){return(p.state||{idx:null}).idx}function g(){h=o.Pop;let e=y(),t=null==e?null:e-v;v=e,m&&m({action:h,location:w.location,delta:t})}function b(e){let t="null"!==u.location.origin?u.location.origin:u.location.href,n="string"===typeof e?e:f(e);return n=n.replace(/ $/,"%20"),l(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,p.replaceState(r({},p.state,{idx:v}),""));let w={get action(){return h},get location(){return e(u,p)},listen(e){if(m)throw new Error("A history only accepts one active listener");return u.addEventListener(i,g),m=e,()=>{u.removeEventListener(i,g),m=null}},createHref:e=>t(u,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let r=c(w.location,e,t);n&&n(r,e),v=y()+1;let i=s(r,v),a=w.createHref(r);try{p.pushState(i,"",a)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;u.location.assign(a)}d&&m&&m({action:h,location:w.location,delta:1})},replace:function(e,t){h=o.Replace;let r=c(w.location,e,t);n&&n(r,e),v=y();let i=s(r,v),a=w.createHref(r);p.replaceState(i,"",a),d&&m&&m({action:h,location:w.location,delta:0})},go:e=>p.go(e)};return w}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),v(e,t,n,!1)}function v(e,t,n,r){let o=j(("string"===typeof t?d(t):t).pathname||"/",n);if(null==o)return null;let i=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let l=0;null==a&&l{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(l(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let u=L([r,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),y(e.children,t,s,u)),(null!=e.path||e.index)&&t.push({path:u,score:O(u,e.index),routesMeta:s})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of g(e.path))o(e,t,r);else o(e,t)})),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=g(r.join("/")),l=[];return l.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&l.push(...a),l.map((t=>e.startsWith("/")&&""===t?"/":t))}const b=/^:[\w-]+$/,w=3,k=2,_=1,E=10,x=-2,S=e=>"*"===e;function O(e,t){let n=e.split("/"),r=n.length;return n.some(S)&&(r+=x),t&&(r+=k),n.filter((e=>!S(e))).reduce(((e,t)=>e+(b.test(t)?w:""===t?_:E)),r)}function C(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=l[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const u=l[n];return e[r]=o&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function T(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function R(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function I(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function N(e,t){let n=I(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function z(e,t,n,o){let i;void 0===o&&(o=!1),"string"===typeof e?i=d(e):(i=r({},e),l(!i.pathname||!i.pathname.includes("?"),R("?","pathname","search",i)),l(!i.pathname||!i.pathname.includes("#"),R("#","pathname","hash",i)),l(!i.search||!i.search.includes("#"),R("#","search","hash",i)));let a,u=""===e||""===i.pathname,s=u?"/":i.pathname;if(null==s)a=n;else{let e=t.length-1;if(!o&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"===typeof e?d(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:D(r),hash:A(o)}}(i,a),f=s&&"/"!==s&&s.endsWith("/"),p=(u||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!p||(c.pathname+="/"),c}const L=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class U extends Error{}function q(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const F=["post","put","patch","delete"],H=(new Set(F),["get",...F]);new Set(H),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},1497:(e,t,n)=>{"use strict";var r=n(3218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},1921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"===typeof e}},2036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},2123:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u{"use strict";var r=n(1113),o=n(2123);function i(e){var t=l(e);i.super.call(this,t.message),o(this,t)}function a(e){var t=l(e);a.super.call(this,t.message),o(this,t)}function l(e){var t=e.body,n={response:e,statusCode:e.statusCode,responseBody:u(t,e)};return t.error&&t.message?(n.message="".concat(t.error," - ").concat(t.message),n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||function(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}(e),n)}function u(e,t){return-1!==(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(e,null,2):e}r(i),r(a),t.ClientError=i,t.ServerError=a},2719:(e,t,n)=>{"use strict";var r=n(7124),o=n(774),i=n(6022),a=n(9302);t.reduce=function(e,t){return arguments.length>=2?function(n){return a.pipe(r.scan(e,t),o.takeLast(1),i.defaultIfEmpty(t))(n)}:function(t){return a.pipe(r.scan((function(t,n,r){return e(t,n,r+1)})),o.takeLast(1))(t)}}},2730:(e,t,n)=>{"use strict";var r=n(5043),o=n(2123),i=n(8853);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n