(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5142],{38550:function(e,t,n){e.exports=n(29608)},81923:function(e,t,n){"use strict";var r=n(96086),i=n(72695),o=n(81247),a=n(97118),s=n(41051),l=["projectId","dataset","imageOptions","ignoreUnknownTypes"],c={imageOptions:{},ignoreUnknownTypes:!0};function isListItem(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,u){var h=r({},c,t),f=o(a(Array.isArray(h.blocks)?h.blocks:[h.blocks]),h.listNestMode),y=s(n,h.serializers||{}),g=l.reduce(function(e,t){var n=h[t];return void 0!==n&&(e[t]=n),e},{}),b=!!h.renderContainerOnSingleChild,k=f.map(function serializeNode(t,n,r,o){var a,s,l,c,h,f,b,k,w;return"list"===t._type&&t.listItem?(a=t.listItem,s=t.level,l=t._key,c=t.children.map(serializeNode),e(y.list,{key:l,level:s,type:a,options:g},c)):isListItem(t)?(h=function(e,t){for(var n=0,r=0;r1){var w=h.className?{className:h.className}:{};return e(y.container,w,k)}return k[0]?k[0]:"function"==typeof y.empty?e(y.empty):y.empty}},72695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function sortMarksByOccurences(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var r=sortMarks.bind(null,e.marks.reduce(function(e,r){e[r]=e[r]?e[r]+1:1;for(var i=t+1;ir?1:0}e.exports=function(e){var t=e.children,n=e.markDefs;if(!t||!t.length)return[];var r=t.map(sortMarksByOccurences),i={_type:"span",children:[]},o=[i];return t.forEach(function(e,t){var i=r[t];if(!i){o[o.length-1].children.push(e);return}var a=1;if(o.length>1)for(;a=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}}(o=o.slice(0,a));if(i.forEach(function(t){var r={_type:"span",_key:e._key,children:[],mark:n.find(function(e){return e._key===t})||t,markKey:t};c.children.push(r),o.push(r),c=r}),"span"===e._type&&"string"==typeof e.text&&(Array.isArray(e.marks)||void 0===e.marks)){for(var u=e.text.split("\n"),h=u.length;h-- >1;)u.splice(h,0,"\n");c.children=c.children.concat(u)}else c.children=c.children.concat(e)}),i.children}},97118:function(e,t,n){"use strict";var r=n(96086);e.exports=function(e){return e.map(function(e){return e._key?e:r({_key:(function(e){var t=0,n=e.length;if(0===n)return t;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"html",i=[],o=0;ot.level){var l=listFromBlock(s);if("html"===n){var c=lastChild(t),u=r({},c,{children:c.children.concat(l)});t.children[t.children.length-1]=u}else t.children.push(l);t=l;continue}if(s.levele.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}(t);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];if(e===o||e===a)return o}return e}(i)]=e[i]);return new ImageUrlBuilder(this,_extends({baseUrl:n},r))},o.image=function(e){return this.withOptions({source:e})},o.dataset=function(e){return this.withOptions({dataset:e})},o.projectId=function(e){return this.withOptions({projectId:e})},o.bg=function(e){return this.withOptions({bg:e})},o.dpr=function(e){return this.withOptions({dpr:e})},o.width=function(e){return this.withOptions({width:e})},o.height=function(e){return this.withOptions({height:e})},o.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},o.maxWidth=function(e){return this.withOptions({maxWidth:e})},o.minWidth=function(e){return this.withOptions({minWidth:e})},o.maxHeight=function(e){return this.withOptions({maxHeight:e})},o.minHeight=function(e){return this.withOptions({minHeight:e})},o.size=function(e,t){return this.withOptions({width:e,height:t})},o.blur=function(e){return this.withOptions({blur:e})},o.sharpen=function(e){return this.withOptions({sharpen:e})},o.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},o.format=function(e){return this.withOptions({format:e})},o.invert=function(e){return this.withOptions({invert:e})},o.orientation=function(e){return this.withOptions({orientation:e})},o.quality=function(e){return this.withOptions({quality:e})},o.forceDownload=function(e){return this.withOptions({download:e})},o.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},o.flipVertical=function(){return this.withOptions({flipVertical:!0})},o.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},o.fit=function(e){if(-1===n.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},o.crop=function(e){if(-1===r.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},o.saturation=function(e){return this.withOptions({saturation:e})},o.auto=function(e){if(-1===i.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},o.pad=function(e){return this.withOptions({pad:e})},o.url=function(){return function(n){var r=_extends({},n||{}),i=r.source;delete r.source;var o=function(e){var t;if(!e)return null;if("string"==typeof e&&/^https?:\/\//.test(""+e))t={asset:{_ref:urlToId(e)}};else if("string"==typeof e)t={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)t={asset:e};else if(e&&"string"==typeof e._id)t={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)t={asset:{_ref:urlToId(e.asset.url)}};else{if("object"!=typeof e.asset)return null;t=e}return e.crop&&(t.crop=e.crop),e.hotspot&&(t.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;var t=_extends({},e);return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(t)}(i);if(!o)return null;var a=function(t){var n=t.split("-"),r=n[1],i=n[2],o=n[3];if(!r||!i||!o)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+e+'".');var a=i.split("x"),s=a[0],l=a[1],c=+s,u=+l;if(!(isFinite(c)&&isFinite(u)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+e+'".');return{id:r,width:c,height:u,format:o}}(o.asset._ref||o.asset._id||""),s=Math.round(o.crop.left*a.width),l=Math.round(o.crop.top*a.height),c={left:s,top:l,width:Math.round(a.width-o.crop.right*a.width-s),height:Math.round(a.height-o.crop.bottom*a.height-l)},u=o.hotspot.height*a.height/2,h=o.hotspot.width*a.width/2,f=o.hotspot.x*a.width,y=o.hotspot.y*a.height;return r.rect||r.focalPoint||r.ignoreImageParams||r.crop||(r=_extends(_extends({},r),function(e,t){var n,r=t.width,i=t.height;if(!(r&&i))return{width:r,height:i,rect:e.crop};var o=e.crop,a=e.hotspot,s=r/i;if(o.width/o.height>s){var l=o.height,c=l*s,u=o.top,h=(a.right-a.left)/2+a.left-c/2;ho.left+o.width&&(h=o.left+o.width-c),n={left:Math.round(h),top:Math.round(u),width:Math.round(c),height:Math.round(l)}}else{var f=o.width,y=f/s,g=o.left,b=(a.bottom-a.top)/2+a.top-y/2;bo.top+o.height&&(b=o.top+o.height-y),n={left:Math.max(0,Math.floor(g)),top:Math.max(0,Math.floor(b)),width:Math.round(f),height:Math.round(y)}}return{width:r,height:i,rect:n}}({crop:c,hotspot:{left:f-h,top:y-u,right:f+h,bottom:y+u}},r))),function(e){var n=e.baseUrl||"https://cdn.sanity.io",r=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,i=n+"/images/"+e.projectId+"/"+e.dataset+"/"+r,o=[];if(e.rect){var a=e.rect,s=a.left,l=a.top,c=a.width,u=a.height;(0!==s||0!==l||u!==e.asset.height||c!==e.asset.width)&&o.push("rect="+s+","+l+","+c+","+u)}e.bg&&o.push("bg="+e.bg),e.focalPoint&&(o.push("fp-x="+e.focalPoint.x),o.push("fp-y="+e.focalPoint.y));var h=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(h&&o.push("flip="+h),t.forEach(function(t){var n=t[0],r=t[1];void 0!==e[n]?o.push(r+"="+encodeURIComponent(e[n])):void 0!==e[r]&&o.push(r+"="+encodeURIComponent(e[r]))}),0===o.length)?i:i+"?"+o.join("&")}(_extends(_extends({},r),{},{asset:a}))}(this.options)},o.toString=function(){return this.url()},ImageUrlBuilder}();return function(e){if(e&&"object"==typeof e.clientConfig){var t=e.clientConfig,n=t.apiHost,r=t.projectId,i=t.dataset;return new o(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:i})}return new o(null,e)}}()},99960:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(r=n=t.ElementType||(t.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},47915:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(99960),a=n(97790);i(n(97790),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function DomHandler(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return DomHandler.prototype.onparserinit=function(e){this.parser=e},DomHandler.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},DomHandler.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},DomHandler.prototype.onerror=function(e){this.handleCallback(e)},DomHandler.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},DomHandler.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},DomHandler.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},DomHandler.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},DomHandler.prototype.oncommentend=function(){this.lastNode=null},DomHandler.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},DomHandler.prototype.oncdataend=function(){this.lastNode=null},DomHandler.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},DomHandler.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},DomHandler.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},DomHandler}();t.DomHandler=c,t.default=c},97790:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),NodeWithChildren}(l);t.NodeWithChildren=y;var g=function(e){function Document(t){return e.call(this,a.ElementType.Root,t)||this}return i(Document,e),Document}(y);t.Document=g;var b=function(e){function Element(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(Element,e),Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),Element}(y);function isTag(e){return(0,a.isTag)(e)}function isCDATA(e){return e.type===a.ElementType.CDATA}function isText(e){return e.type===a.ElementType.Text}function isComment(e){return e.type===a.ElementType.Comment}function isDirective(e){return e.type===a.ElementType.Directive}function isDocument(e){return e.type===a.ElementType.Root}function cloneNode(e,t){if(void 0===t&&(t=!1),isText(e))n=new u(e.data);else if(isComment(e))n=new h(e.data);else if(isTag(e)){var n,r=t?cloneChildren(e.children):[],i=new b(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(isCDATA(e)){var r=t?cloneChildren(e.children):[],s=new y(a.ElementType.CDATA,r);r.forEach(function(e){return e.parent=s}),n=s}else if(isDocument(e)){var r=t?cloneChildren(e.children):[],l=new g(r);r.forEach(function(e){return e.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else if(isDirective(e)){var c=new f(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function cloneChildren(e){for(var t=e.map(function(e){return cloneNode(e,!0)}),n=1;n1?t-1:0),r=1;r/i,c=//i,parseFromDocument=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},parseFromString=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var u=new window.DOMParser;parseFromDocument=parseFromString=function(e,t){return t&&(e="<"+t+">"+e+""),u.parseFromString(e,"text/html")}}if(document.implementation){var h=n(1507).isIE,f=document.implementation.createHTMLDocument(h()?"html-dom-parser":void 0);parseFromDocument=function(e,t){return t?f.documentElement.getElementsByTagName(t)[0].innerHTML=e:f.documentElement.innerHTML=e,f}}var y=document.createElement("template");y.content&&(r=function(e){return y.innerHTML=e,y.content.childNodes}),e.exports=function(e){var t,n,u,h,f=e.match(s);switch(f&&f[1]&&(t=f[1].toLowerCase()),t){case i:return n=parseFromString(e),!l.test(e)&&(u=n.getElementsByTagName(o)[0])&&u.parentNode.removeChild(u),!c.test(e)&&(u=n.getElementsByTagName(a)[0])&&u.parentNode.removeChild(u),n.getElementsByTagName(i);case o:case a:if(h=parseFromDocument(e).getElementsByTagName(t),c.test(e)&&l.test(e))return h[0].parentNode.childNodes;return h;default:if(r)return r(e);return parseFromDocument(e,a).getElementsByTagName(a)[0].childNodes}}},14152:function(e,t,n){var r=n(38276),i=n(1507).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(o);return n&&n[1]&&(t=n[1]),i(r(e),null,t)}},1507:function(e,t,n){for(var r,i=n(60885),o=n(97790),a=i.CASE_SENSITIVE_TAG_NAMES,s=o.Comment,l=o.Element,c=o.ProcessingInstruction,u=o.Text,h={},f=0,y=a.length;f1&&(c=y(c,{key:c.key||T})),k.push(c);continue}if("text"===n.type){if((l=!n.data.trim().length)&&n.parent&&!s(n.parent)||x&&l)continue;k.push(n.data);continue}switch(u=n.attribs,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===n.type&&o.isCustomComponent(n.name,n.attribs)?a(u.style,u):u&&(u=i(u)),h=null,n.type){case"script":case"style":n.children[0]&&(u.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?u.defaultValue=n.children[0].data:n.children&&n.children.length&&(h=domToReact(n.children,t));break;default:continue}C>1&&(u.key=T),k.push(g(n.name,u,h))}return 1===k.length?k[0]:k}},23916:function(e,t,n){var r=n(67294),i=n(41476).default,o={reactCompat:!0},a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e){if(r=e[n],i&&(o=t(n,r))&&2===o.length){a[o[0]]=o[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},70131:function(e,t,n){"use strict";n.d(t,{YD:function(){return useInView},df:function(){return c}});var r=n(67294);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=s.get(t.target))||n.forEach(function(e){e(i,t)})})},e);r=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:l,elements:s},i.set(t,n)}return n}(n),u=c.id,h=c.observer,f=c.elements,y=f.get(e)||[];return f.has(e)||f.set(e,y),y.push(t),h.observe(e),function(){y.splice(y.indexOf(t),1),0===y.length&&(f.delete(e),h.unobserve(e)),0===f.size&&(h.disconnect(),i.delete(u))}}var l=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var c=function(e){function InView(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),isPlainChildren(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},a)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var i=this.props,o=i.children,a=i.as,s=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(i,l);return r.createElement(a||"div",_extends({ref:this.handleNode},s),o)},InView}(r.Component);function useInView(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,a=t.rootMargin,s=t.root,l=t.triggerOnce,c=t.skip,u=t.initialInView,h=t.fallbackInView,f=r.useRef(),y=r.useState({inView:!!u}),g=y[0],b=y[1],k=r.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!c&&e&&(f.current=observe(e,function(e,t){b({inView:e,entry:t}),t.isIntersecting&&l&&f.current&&(f.current(),f.current=void 0)},{root:s,rootMargin:a,threshold:n,trackVisibility:o,delay:i},h))},[Array.isArray(n)?n.toString():n,s,a,l,c,o,h,i]);(0,r.useEffect)(function(){f.current||!g.entry||l||c||b({inView:!!u})});var w=[k,g.inView,g.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}c.displayName="InView",c.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},87737:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertySymbols,u=Object.prototype.propertyIsEnumerable,h=Object.assign,O=e=>i(e,"__esModule",{value:!0}),m=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))0>t.indexOf(r)&&u.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of s(t))a.call(e,r)||"default"===r||i(e,r,{get:()=>t[r],enumerable:!(n=l(t,r))||n.enumerable});return e},P=e=>Q(O(i(null!=e?r(o(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);O(t),((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>Z,default:()=>k});var f=P(n(67294)),y=P(n(45697)),g=P(n(88863)),b=g.default.defaultSerializers,q=e=>{var{content:t,className:n,serializers:r={},dataset:i,projectId:o}=e,a=m(e,["content","className","serializers","dataset","projectId"]);if(!t)throw Error("No `content` provided to PortableText.");return f.default.createElement(g.default,h({blocks:t,className:n,serializers:V(r),renderContainerOnSingleChild:!0,dataset:i,projectId:o},a))},k=q;q.propTypes={content:y.default.array.isRequired,className:y.default.string,projectId:y.default.string,dataset:y.default.string,ignoreUnknownTypes:y.default.bool,serializers:y.default.shape({link:y.default.elementType,strong:y.default.elementType,em:y.default.elementType,underline:y.default.elementType,del:y.default.elementType,code:y.default.elementType,ul:y.default.elementType,ol:y.default.elementType,li:y.default.elementType,h1:y.default.elementType,h2:y.default.elementType,h3:y.default.elementType,h4:y.default.elementType,h5:y.default.elementType,h6:y.default.elementType,blockquote:y.default.elementType,container:y.default.elementType,block:y.default.elementType,span:y.default.elementType,hardBreak:y.default.elementType,unknownType:y.default.elementType,unknownMark:y.default.elementType})};var V=e=>{let{link:t,strong:n,em:r,underline:i,del:o,code:a,ul:s,ol:l,li:c,h1:u,h2:y,h3:k,h4:w,h5:x,h6:T,blockquote:C,container:I="div",block:S=b.BlockSerializer,span:E=b.SpanSerializer,hardBreak:_=b.HardBreakSerializer,unknownType:N=b.DefaultUnknownTypeSerializer,unknownMark:M="span"}=e,D=m(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),A={h1:u,h2:y,h3:k,h4:w,h5:x,h6:T,blockquote:C};return{container:I,block:S,span:E,hardBreak:_,unknownType:N,unknownMark:M,marks:Y(h({link:t,strong:n,em:r,underline:i,code:a,"strike-through":o},D)),list:e=>{let{type:t,children:n}=e,r="bullet"===t?s:l;return r?r({children:n}):g.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return c?c({children:t}):g.default.defaultSerializers.listItem(e)},types:h({block:e=>{let{node:{style:t},children:n}=e;return A[t]?A[t]({children:n}):D[t]?D[t]({children:n}):g.default.defaultSerializers.types.block(e)}},Object.entries(D).reduce((e,[t,n])=>{let d=({node:e})=>f.default.createElement(n,e);return d.displayName=`${v(t)}Wrapper`,e[t]=d,e},{}))}},Y=e=>Object.entries(e).reduce((e,[t,n])=>{if(n){let p=e=>{var{_type:t,_key:r,mark:i,markKey:o,children:a}=e,s=m(e,["_type","_key","mark","markKey","children"]);if("object"==typeof i){let{_type:e,_key:t}=i;Object.entries(m(i,["_type","_key"])).forEach(([e,t])=>{s[e]=t})}return f.default.createElement(n,s,a)};p.displayName=`${v(t)}Wrapper`,e[t]=p}return e},{}),Z=(e=[])=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join(` `),v=e=>e.slice(0,1).toUpperCase()+e.slice(1)},25726:function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n