1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="2642d25b-58e5-4ae2-469b-123376841d53")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,784419,(t,e,n)=>{var r,i;r=String.prototype.split,i=void 0===/()??/.exec("")[1],e.exports=function(t,e,n){if("[object RegExp]"!==Object.prototype.toString.call(e))return r.call(t,e,n);var o,l,s,a,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),f=0,e=RegExp(e.source,c+"g");for(t+="",i||(o=RegExp("^"+e.source+"$(?!\\s)",c)),n=void 0===n?0xffffffff:n>>>0;(l=e.exec(t))&&(!((s=l.index+l[0].length)>f)||(u.push(t.slice(f,l.index)),!i&&l.length>1&&l[0].replace(o,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(l[t]=void 0)}),l.length>1&&l.index<t.length&&Array.prototype.push.apply(u,l.slice(1)),a=l[0].length,f=s,!(u.length>=n)));)e.lastIndex===l.index&&e.lastIndex++;return f===t.length?(a||!e.test(""))&&u.push(""):u.push(t.slice(f)),u.length>n?u.slice(0,n):u}},435123,(t,e,n)=>{var r=[].indexOf;e.exports=function(t,e){if(r)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return -1}},794968,(t,e,n)=>{var r=t.r(435123);function i(t){return!!t}e.exports=function(t){var e=t.classList;if(e)return e;var n={add:o,remove:l,contains:s,toggle:function(t){return s(t)?(l(t),!1):(o(t),!0)},toString:function(){return t.className},length:0,item:function(t){return a()[t]||null}};return n;function o(t){var e=a();r(e,t)>-1||(e.push(t),u(e))}function l(t){var e=a(),n=r(e,t);-1!==n&&(e.splice(n,1),u(e))}function s(t){return r(a(),t)>-1}function a(){for(var e=t.className.split(" "),n=i,r=[],o=0;o<e.length;o++)n(e[o])&&r.push(e[o]);return r}function u(e){var r=e.length;t.className=e.join(" "),n.length=r;for(var i=0;i<e.length;i++)n[i]=e[i];delete e[r]}}},422579,(t,e,n)=>{var r=t.r(784419),i=t.r(794968),o="u"<typeof window?{}:window,l=o.document,s=o.Text;function a(){var t=[];function e(){for(var e=[].slice.call(arguments),n=null;e.length;)!function e(o){if(null==o);else if("string"==typeof o)n?n.appendChild(d=l.createTextNode(o)):(m=r(o,/([\.#]?[^\s#.]+)/),/^\.|#/.test(m[1])&&(n=l.createElement("div")),c(m,function(t){var e=t.substring(1,t.length);t&&(n?"."===t[0]?i(n).add(e):"#"===t[0]&&n.setAttribute("id",e):n=l.createElement(t))}));else if("number"==typeof o||"boolean"==typeof o||o instanceof Date||o instanceof RegExp)n.appendChild(d=l.createTextNode(o.toString()));else{var a;if(a=o,"[object Array]"==Object.prototype.toString.call(a))c(o,e);else if(u(o))n.appendChild(d=o);else if(o instanceof s)n.appendChild(d=o);else if("object"==typeof o)for(var f in o)if("function"==typeof o[f])/^on\w+/.test(f)?function(e,r){n.addEventListener?(n.addEventListener(e.substring(2),r[e],!1),t.push(function(){n.removeEventListener(e.substring(2),r[e],!1)})):(n.attachEvent(e,r[e]),t.push(function(){n.detachEvent(e,r[e])}))}(f,o):(n[f]=o[f](),t.push(o[f](function(t){n[f]=t})));else if("style"===f)if("string"==typeof o[f])n.style.cssText=o[f];else for(var h in o[f])!function(e,r){if("function"==typeof r)n.style.setProperty(e,r()),t.push(r(function(t){n.style.setProperty(e,t)}));else var i=o[f][e].match(/(.*)\W+!important\W*$/);i?n.style.setProperty(e,i[1],"important"):n.style.setProperty(e,o[f][e])}(h,o[f][h]);else if("attrs"===f)for(var p in o[f])n.setAttribute(p,o[f][p]);else"data-"===f.substr(0,5)?n.setAttribute(f,o[f]):n[f]=o[f];else if("function"==typeof o){var d,m,p=o();n.appendChild(d=u(p)?p:l.createTextNode(p)),t.push(o(function(t){u(t)&&d.parentElement?(d.parentElement.replaceChild(t,d),d=t):d.textContent=t}))}}return d}(e.shift());return n}return e.cleanup=function(){for(var e=0;e<t.length;e++)t[e]();t.length=0},e}function u(t){return t&&t.nodeName&&t.nodeType}function c(t,e){if(t.forEach)return t.forEach(e);for(var n=0;n<t.length;n++)e(t[n],n)}(e.exports=a()).context=a},874263,(t,e,n)=>{"use strict";e.exports=Object.assign.bind(Object),e.exports.default=e.exports},186515,(t,e,n)=>{e.exports=function(t){return"https://docs.sanity.io/help/"+t}},350792,(t,e,n)=>{t.e,e.exports=function(){function t(){return(t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["
2invert","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"]],o=["clip","crop","fill","fillmax","max","scale","min"],l=["top","bottom","left","right","center","focalpoint","entropy"],s=["format"],a=function(){function a(e,n){this.options=e?t(t({},e.options||{}),n||{}):t({},n||{})}var u=a.prototype;return u.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,o={baseUrl:r};for(var l in n)n.hasOwnProperty(l)&&(o[function(t){for(var n,r=function(t){var n=0;if("u"<typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t){if(t){if("string"==typeof t)return e(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,void 0)}}(t)))return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}};throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}(i);!(n=r()).done;){var o=n.value,l=o[0],s=o[1];if(t===l||t===s)return l}return t}(l)]=n[l]);return new a(this,t({baseUrl:r},o))},u.image=function(t){return this.withOptions({source:t})},u.dataset=function(t){return this.withOptions({dataset:t})},u.projectId=function(t){return this.withOptions({projectId:t})},u.bg=function(t){return this.withOptions({bg:t})},u.dpr=function(t){return this.withOptions({dpr:t})},u.width=function(t){return this.withOptions({width:t})},u.height=function(t){return this.withOptions({height:t})},u.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},u.maxWidth=function(t){return this.withOptions({maxWidth:t})},u.minWidth=function(t){return this.withOptions({minWidth:t})},u.maxHeight=function(t){return this.withOptions({maxHeight:t})},u.minHeight=function(t){return this.withOptions({minHeight:t})},u.size=function(t,e){return this.withOptions({width:t,height:e})},u.blur=function(t){return this.withOptions({blur:t})},u.sharpen=function(t){return this.withOptions({sharpen:t})},u.rect=function(t,e,n,r){return this.withOptions({rect:{left:t,top:e,width:n,height:r}})},u.format=function(t){return this.withOptions({format:t})},u.invert=function(t){return this.withOptions({invert:t})},u.orientation=function(t){return this.withOptions({orientation:t})},u.quality=function(t){return this.withOptions({quality:t})},u.forceDownload=function(t){return this.withOptions({download:t})},u.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},u.flipVertical=function(){return this.withOptions({flipVertical:!0})},u.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},u.fit=function(t){if(-1===o.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},u.crop=function(t){if(-1===l.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},u.saturation=function(t){return this.withOptions({saturation:t})},u.auto=function(t){if(-1===s.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},u.pad=function(t){return this.withOptions({pad:t})},u.url=function(){return function(e){var o=t({},e||{}),l=o.source;delete o.source;var s=function(e){var n,i;if(!e)return null;if("string"==typeof e&&(i=e,/^https?:\/\//.test(""+i)))n={asset:{_ref:r(e)}};else if("string"==typeof e)n={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)n={asset:e};else if(e&&"string"==typeof e._id)n={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)n={asset:{_ref:r(e.asset.url)}};else{if("object"!=typeof e.asset)return null;n=e}return e.crop&&(n.crop=e.crop),e.hotspot&&(n.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;var n=t({},e);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}(n)}(l);if(!s)return null;var a=function(t){var e=t.split("-"),r=e[1],i=e[2],o=e[3];
2if(!r||!i||!o)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');var l=i.split("x"),s=l[0],a=l[1],u=+s,c=+a;if(!(isFinite(u)&&isFinite(c)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');return{id:r,width:u,height:c,format:o}}(s.asset._ref||s.asset._id||""),u=Math.round(s.crop.left*a.width),c=Math.round(s.crop.top*a.height),f={left:u,top:c,width:Math.round(a.width-s.crop.right*a.width-u),height:Math.round(a.height-s.crop.bottom*a.height-c)},h=s.hotspot.height*a.height/2,p=s.hotspot.width*a.width/2,d=s.hotspot.x*a.width,m=s.hotspot.y*a.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=t(t({},o),function(t,e){var n,r=e.width,i=e.height;if(!(r&&i))return{width:r,height:i,rect:t.crop};var o=t.crop,l=t.hotspot,s=r/i;if(o.width/o.height>s){var a=o.height,u=a*s,c=o.top,f=(l.right-l.left)/2+l.left-u/2;f<o.left?f=o.left:f+u>o.left+o.width&&(f=o.left+o.width-u),n={left:Math.round(f),top:Math.round(c),width:Math.round(u),height:Math.round(a)}}else{var h=o.width,p=h/s,d=o.left,m=(l.bottom-l.top)/2+l.top-p/2;m<o.top?m=o.top:m+p>o.top+o.height&&(m=o.top+o.height-p),n={left:Math.max(0,Math.floor(d)),top:Math.max(0,Math.floor(m)),width:Math.round(h),height:Math.round(p)}}return{width:r,height:i,rect:n}}({crop:f,hotspot:{left:d-p,top:m-h,right:d+p,bottom:m+h}},o))),function(t){var e=t.baseUrl||"https://cdn.sanity.io",n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,r=e+"/images/"+t.projectId+"/"+t.dataset+"/"+n,o=[];if(t.rect){var l=t.rect,s=l.left,a=l.top,u=l.width,c=l.height;(0!==s||0!==a||c!==t.asset.height||u!==t.asset.width)&&o.push("rect="+s+","+a+","+u+","+c)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var f=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(f&&o.push("flip="+f),i.forEach(function(e){var n=e[0],r=e[1];void 0!==t[n]?o.push(r+"="+encodeURIComponent(t[n])):void 0!==t[r]&&o.push(r+"="+encodeURIComponent(t[r]))}),0===o.length)?r:r+"?"+o.join("&")}(t(t({},o),{},{asset:a}))}(this.options)},u.toString=function(){return this.url()},a}();return function(t){if(t&&"object"==typeof t.clientConfig){var e=t.clientConfig,n=e.apiHost,r=e.projectId,i=e.dataset;return new a(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:i})}return new a(null,t)}}()},434897,(t,e,n)=>{"use strict";var r=t.r(186515),i=t.r(350792),o=t.r(874263),l=encodeURIComponent,s="You must either:\n - Pass `projectId` and `dataset` to the block renderer\n - Materialize images to include the `url` field.\n\nFor more information, see ".concat(r("block-content-image-materializing")),a=function(t){var e=t.imageOptions,n=Object.keys(e);if(!n.length)return"";var r=n.map(function(t){return"".concat(l(t),"=").concat(l(e[t]))});return"?".concat(r.join("&"))};e.exports=function(t){var e=t.node,n=t.options,r=n.projectId,l=n.dataset,u=e.asset;if(!u)throw Error("Image does not have required `asset` property");if(u.url)return u.url+a(n);if(!r||!l)throw Error(s);if(!u._ref)throw Error("Invalid image reference in block, no `_ref` found on `asset`");return i(o({projectId:r,dataset:l},n.imageOptions||{})).image(e).toString()}},366808,(t,e,n)=>{"use strict";var r=["strong","em","code","underline","strike-through"];function i(t,e,n){if(!t.marks||0===t.marks.length)return t.marks||[];var r=o.bind(null,t.marks.reduce(function(t,r){t[r]=t[r]?t[r]+1:1;for(var i=e+1;i<n.length;i++){var o=n[i];if(o.marks&&Array.isArray(o.marks)&&-1!==o.marks.indexOf(r))t[r]++;else break}return t},{}));return t.marks.slice().sort(r)}function o(t,e,n){var i=t[e]||0,o=t[n]||0;if(i!==o)return o-i;var l=r.indexOf(e),s=r.indexOf(n);return l!==s?l-s:e<n?-1:+(e>n)}e.exports=function(t){var e=t.children,n=t.markDefs;if(!e||!e.length)return[];var r=e.map(i),o={_type:"span",children:[]},l=[o];return e.forEach(function(t,e){var i,o=r[e];if(!o)return void l[l.length-1].children.push(t);var s=1;if(l.length>1)for(;s<l.length;s++){var a=l[s].markKey,u=o.indexOf(a);if(-1===u)break;o.splice(u,1)}var c=function(t){for(var e=t.length-1;e>=0;e--){var n=t[e];if("span"===n._type&&n.children)return n}}(l=l.slice(0,s));
2if(o.forEach(function(e){var r={_type:"span",_key:t._key,children:[],mark:(n||[]).find(function(t){return t._key===e})||e,markKey:e};c.children.push(r),l.push(r),c=r}),"span"===(i=t)._type&&"string"==typeof i.text&&(Array.isArray(i.marks)||void 0===i.marks)){for(var f=t.text.split("\n"),h=f.length;h-- >1;)f.splice(h,0,"\n");c.children=c.children.concat(f)}else c.children=c.children.concat(t)}),o.children}},721674,(t,e,n)=>{"use strict";var r=t.r(874263);function i(t){return{_type:"list",_key:"".concat(t._key,"-parent"),level:t.level,listItem:t.listItem,children:[t]}}function o(t){return t.children&&t.children[t.children.length-1]}function l(t,e){var n="string"==typeof e.listItem;if("list"===t._type&&t.level===e.level&&n&&t.listItem===e.listItem)return t;var r=o(t);return!!r&&l(r,e)}e.exports=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",s=[],a=0;a<t.length;a++){var u,c,f=t[a];if(!f.listItem){s.push(f),e=null;continue}if(!e){e=i(f),s.push(e);continue}if(u=f,c=e,u.level===c.level&&u.listItem===c.listItem){e.children.push(f);continue}if(f.level>e.level){var h=i(f);if("html"===n){var p=o(e),d=r({},p,{children:p.children.concat(h)});e.children[e.children.length-1]=d}else e.children.push(h);e=h;continue}if(f.level<e.level){var m=l(s[s.length-1],f);if(m){(e=m).children.push(f);continue}e=i(f),s.push(e);continue}if(f.listItem!==e.listItem){var y=l(s[s.length-1],{level:f.level});if(y&&y.listItem===f.listItem){(e=y).children.push(f);continue}e=i(f),s.push(e);continue}console.warn("Unknown state encountered for block",f),s.push(f)}return s}},871299,(t,e,n)=>{"use strict";var r=t.r(874263);e.exports=function(t){return t.map(function(t){return t._key?t:r({_key:(function(t){var e=0,n=t.length;if(0===n)return e;for(var r=0;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e&=e;return e})(JSON.stringify(t)).toString(36).replace(/[^A-Za-z0-9]/g,"")},t)})}},410673,(t,e,n)=>{"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t.r(874263);e.exports=function(t,e){return Object.keys(t).reduce(function(n,o){var l=r(t[o]);return"function"===l?n[o]=void 0!==e[o]?e[o]:t[o]:"object"===l?n[o]=i({},t[o],e[o]):n[o]=void 0===e[o]?t[o]:e[o],n},{})}},112629,(t,e,n)=>{"use strict";var r=t.r(874263),i=t.r(366808),o=t.r(721674),l=t.r(871299),s=t.r(410673),a=["projectId","dataset","imageOptions","ignoreUnknownTypes"],u={imageOptions:{},ignoreUnknownTypes:!0};function c(t){return"block"===t._type&&t.listItem}e.exports=function(t,e,n,f){var h=r({},u,e),p=o(l(Array.isArray(h.blocks)?h.blocks:[h.blocks]),h.listNestMode),d=s(n,h.serializers||{}),m=a.reduce(function(t,e){var n=h[e];return void 0!==n&&(t[e]=n),t},{}),y=!!h.renderContainerOnSingleChild,g=p.map(function e(n,r,o,l){var s,a,u,h,p,y,g,v,k,w,x,b,I,j,_,O;return"list"===(s=n)._type&&s.listItem?(u=(a=n).listItem,h=a.level,p=a._key,y=a.children.map(e),t(d.list,{key:p,level:h,type:u,options:m},y)):c(n)?(g=n,v=function(t,e){for(var n=0,r=0;r<e.length&&e[r]!==t;r++)c(e[r])&&n++;return n}(n,o),k=g._key,w=i(g).map(e),t(d.listItem,{node:g,serializers:d,index:v,key:k,options:m},w)):"string"==typeof(x=n)||x.marks||"span"===x._type?f(n,d,r,{serializeNode:e}):(b=n,I=r,j=l,_=i(b).map(function(t,n,r){return e(t,n,r,!0)}),O={key:b._key||"block-".concat(I),node:b,isInline:j,serializers:d,options:m},t(d.block,O,_))});if(y||g.length>1){var v=h.className?{className:h.className}:{};return t(d.container,v,g)}return g[0]?g[0]:"function"==typeof d.empty?t(d.empty):d.empty}},882212,(t,e,n)=>{"use strict";var r=t.r(874263),i=t.r(434897);e.exports=function(t,e){var n=e||{useDashedStyles:!1};function o(e,n){return t(e,null,n.children)}return{defaultSerializers:{types:{block:function(e){var n=e.node.style||"normal";return/^h\d/.test(n)?t(n,null,e.children):"blockquote"===n?t("blockquote",null,e.children):t("p",null,e.children)},image:function(e){if(!e.node.asset)return null;var n=t("img",{src:i(e)});return e.isInline?n:t("figure",null,n)}},marks:{strong:o.bind(null,"strong"),em:o.bind(null,"em"),code:o.bind(null,"code"),underline:function(e){return t("span",{style:n.useDashedStyles?{"text-decoration":"underline"}:{textDecoration:"underline"}},e.children)},"strike-through":function(e){return t("del",null,e.children)},link:function(e){return t("a",{href:e.mark.href},e.children)}},list:function(e){return t("bullet"===e.type?"ul":"ol",null,e.children)}
2,listItem:function(e){var n=e.node.style&&"normal"!==e.node.style?t(e.serializers.types.block,e,e.children):e.children;return t("li",null,n)},block:function(e){var n=e.node,r=e.serializers,i=e.options,o=e.isInline,l=e.children,s=n._type,a=r.types[s];if(!a){if(i.ignoreUnknownTypes)return console.warn('Unknown block type "'.concat(s,'", please specify a serializer for it in the `serializers.types` prop')),t(r.unknownType,{node:n,options:i,isInline:o},l);throw Error('Unknown block type "'.concat(s,'", please specify a serializer for it in the `serializers.types` prop'))}return t(a,{node:n,options:i,isInline:o},l)},span:function(e){var n=e.node,r=n.mark,i=n.children,o="string"==typeof r?r:r._type,l=e.serializers.marks[o];return l?t(l,e.node,i):(console.warn('Unknown mark type "'.concat(o,'", please specify a serializer for it in the `serializers.marks` prop')),t(e.serializers.unknownMark,null,i))},hardBreak:function(){return t("br")},unknownType:function(e){return t("div",{style:{display:"none"}},'Unknown block type "'.concat(e.node._type,'", please specify a serializer for it in the `serializers.types` prop'))},unknownMark:"span",container:"div",text:void 0,empty:""},serializeSpan:function(e,n,i,o){if("\n"===e&&n.hardBreak)return t(n.hardBreak,{key:"hb-".concat(i)});if("string"==typeof e)return n.text?t(n.text,{key:"text-".concat(i)},e):e;e.children&&(l={children:e.children.map(function(t,n){return o.serializeNode(t,n,e.children,!0)})});var l,s=r({},e,l);return t(n.span,{key:e._key||"span-".concat(i),node:s,serializers:n})}}}},214376,(t,e,n)=>{"use strict";var r=t.r(422579),i=t.r(874263),o=t.r(434897),l=t.r(112629),s=t.r(882212),a=function(t,e,n){var o=e||{};if("function"==typeof t)return t(i({},o,{children:n}));var l=o.children||n;return r(t,o,l)},u=s(a,{useDashedStyles:!0}),c=u.defaultSerializers,f=u.serializeSpan,h=function(t){return l(a,t,c,f)};h.defaultSerializers=c,h.getImageUrl=o,h.renderNode=a,e.exports=h},442043,(t,e,n)=>{"use strict";var r=t.r(214376),i=r.renderNode,o=function(t){var e=r(t);return e.outerHTML||e};o.defaultSerializers=r.defaultSerializers,o.getImageUrl=r.getImageUrl,o.renderNode=i,o.h=i,e.exports=o},402805,(t,e,n)=>{!function(r,i){if(e.exports)e.exports=i();else if("function"==typeof define&&define.amd){let r;void 0!==(r=i(t.r,n,e))&&t.v(r)}else this[r]=i()}("$script",function(){var t,e,n=document,r=n.getElementsByTagName("head")[0],i="push",o="readyState",l="onreadystatechange",s={},a={},u={},c={};function f(t,e){for(var n=0,r=t.length;n<r;++n)if(!e(t[n]))return!1;return 1}function h(t,e){f(t,function(t){return e(t),1})}function p(e,n,r){e=e[i]?e:[e];var o=n&&n.call,l=o?n:r,m=o?e.join(""):n,y=e.length;function g(t){return t.call?t():s[t]}function v(){if(!--y)for(var t in s[m]=1,l&&l(),u)f(t.split("|"),g)&&!h(u[t],g)&&(u[t]=[])}return setTimeout(function(){h(e,function e(n,r){return null===n?v():(r||/^https?:\/\//.test(n)||!t||(n=-1===n.indexOf(".js")?t+n+".js":t+n),c[n])?(m&&(a[m]=1),2==c[n]?v():setTimeout(function(){e(n,!0)},0)):void(c[n]=1,m&&(a[m]=1),d(n,v))})},0),p}function d(t,i){var s,a=n.createElement("script");a.onload=a.onerror=a[l]=function(){(!a[o]||/^c|loade/.test(a[o]))&&!s&&(a.onload=a[l]=null,s=1,c[t]=2,i())},a.async=1,a.src=e?t+(-1===t.indexOf("?")?"?":"&")+e:t,r.insertBefore(a,r.lastChild)}return p.get=d,p.order=function(t,e,n){!function r(i){i=t.shift(),t.length?p(i,r):p(i,e,n)}()},p.path=function(e){t=e},p.urlArgs=function(t){e=t},p.ready=function(t,e,n){t=t[i]?t:[t];var r,o=[];return!h(t,function(t){s[t]||o[i](t)})&&f(t,function(t){return s[t]})?e():(u[r=t.join("|")]=u[r]||[],u[r][i](e),n&&n(o)),p},p.done=function(t){p([null],t)},p})},501461,t=>{"use strict";t.s(["default",()=>K],501461);var e=t.i(115497);function n(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(void 0===t.marks||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function r(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||!t.markDefs||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function i(t){return r(t)&&"listItem"in t&&"string"==typeof t.listItem&&(void 0===t.level||"number"==typeof t.level)}function o(t){return"@list"===t._type}function l(t){return"@span"===t._type}function s(t){return"@text"===t._type}let a=["strong","em","code","underline","strike-through"];function u(t,e,r){if(!n(t)||!t.marks||!t.marks.length)return[];let i=t.marks.slice(),o={};
2return i.forEach(t=>{o[t]=1;for(let i=e+1;i<r.length;i++){let e=r[i];if(e&&n(e)&&Array.isArray(e.marks)&&-1!==e.marks.indexOf(t))o[t]++;else break}}),i.sort((t,e)=>(function(t,e,n){let r=t[e],i=t[n];if(r!==i)return i-r;let o=a.indexOf(e),l=a.indexOf(n);return o===l?e.localeCompare(n):o-l})(o,t,e))}function c(t,e,n){return{_type:"@list",_key:`${t._key||`${e}`}-parent`,mode:n,level:t.level||1,listItem:t.listItem,children:[t]}}function f(t,e){let r=e.level||1,i=e.listItem||"normal",l="string"==typeof e.listItem;if(o(t)&&(t.level||1)===r&&l&&(t.listItem||"normal")===i)return t;if(!("children"in t))return;let s=t.children[t.children.length-1];return s&&!n(s)?f(s,e):void 0}var h=t.i(650394);let p={textDecoration:"underline"},d=(t,e)=>`[@portabletext/react] Unknown ${t}, specify a component for it in the \`components.${e}\` prop`,m=t=>d(`block type "${t}"`,"types");function y(t){console.warn(t)}let g={display:"none"},v={types:{},block:{normal:({children:t})=>(0,e.jsx)("p",{children:t}),blockquote:({children:t})=>(0,e.jsx)("blockquote",{children:t}),h1:({children:t})=>(0,e.jsx)("h1",{children:t}),h2:({children:t})=>(0,e.jsx)("h2",{children:t}),h3:({children:t})=>(0,e.jsx)("h3",{children:t}),h4:({children:t})=>(0,e.jsx)("h4",{children:t}),h5:({children:t})=>(0,e.jsx)("h5",{children:t}),h6:({children:t})=>(0,e.jsx)("h6",{children:t})},marks:{em:({children:t})=>(0,e.jsx)("em",{children:t}),strong:({children:t})=>(0,e.jsx)("strong",{children:t}),code:({children:t})=>(0,e.jsx)("code",{children:t}),underline:({children:t})=>(0,e.jsx)("span",{style:p,children:t}),"strike-through":({children:t})=>(0,e.jsx)("del",{children:t}),link:({children:t,value:n})=>(0,e.jsx)("a",{href:n?.href,children:t})},list:{number:({children:t})=>(0,e.jsx)("ol",{children:t}),bullet:({children:t})=>(0,e.jsx)("ul",{children:t})},listItem:({children:t})=>(0,e.jsx)("li",{children:t}),hardBreak:()=>(0,e.jsx)("br",{}),unknownType:({value:t,isInline:n})=>{let r=m(t._type);return(0,e.jsx)(n?"span":"div",{style:g,children:r})},unknownMark:({markType:t,children:n})=>(0,e.jsx)("span",{className:`unknown__pt__mark__${t}`,children:n}),unknownList:({children:t})=>(0,e.jsx)("ul",{children:t}),unknownListItem:({children:t})=>(0,e.jsx)("li",{children:t}),unknownBlockStyle:({children:t})=>(0,e.jsx)("p",{children:t})};function k(t,e,n){let r=e[n],i=t[n];return"function"==typeof r||r&&"function"==typeof i?r:r?{...i,...r}:i}function w({value:t,components:n,listNestingMode:r,onMissingComponent:o=y}){let l=o||I,s=function(t,e){let n=[],r;for(let s=0;s<t.length;s++){let a=t[s];if(a){var o,l;if(!i(a)){n.push(a),r=void 0;continue}if(!r){r=c(a,s,e),n.push(r);continue}if(o=a,l=r,(o.level||1)===l.level&&o.listItem===l.listItem){r.children.push(a);continue}if((a.level||1)>r.level){let t=c(a,s,e);if("html"===e){let e=r.children[r.children.length-1],n={...e,children:[...e.children,t]};r.children[r.children.length-1]=n}else r.children.push(t);r=t;continue}if((a.level||1)<r.level){let t=n[n.length-1],i=t&&f(t,a);if(i){(r=i).children.push(a);continue}r=c(a,s,e),n.push(r);continue}if(a.listItem!==r.listItem){let t=n[n.length-1],i=t&&f(t,{level:a.level||1});if(i&&i.listItem===a.listItem){(r=i).children.push(a);continue}r=c(a,s,e),n.push(r);continue}console.warn("Unknown state encountered for block",a),n.push(a)}}return n}(Array.isArray(t)?t:null==t?[]:[t],r||"html"),a=(0,h.useMemo)(()=>n?function(t,e){let{block:n,list:r,listItem:i,marks:o,types:l,...s}=e;return{...t,block:k(t,e,"block"),list:k(t,e,"list"),listItem:k(t,e,"listItem"),marks:k(t,e,"marks"),types:k(t,e,"types"),...s}}(v,n):v,[n]),u=(0,h.useMemo)(()=>x(a,l),[a,l]);return(0,e.jsx)(e.Fragment,{children:s.map((t,e)=>u({node:t,index:e,isInline:!1,renderNode:u}))})}let x=(t,n)=>function a(u){var c,f,h,p,y,g,v,k;let w,x,{node:I,index:j,isInline:_}=u,O=I._key||`node-${j}`;return o(I)?function(r,i,o){let l=r.children.map((t,e)=>a({node:t._key?t:{...t,_key:`li-${i}-${e}`},index:e,isInline:!1,renderNode:a})),s=t.list,u=("function"==typeof s?s:s[r.listItem])||t.unknownList;if(u===t.unknownList){let t=r.listItem||"bullet";n(d(`list style "${t}"`,"list"),{nodeType:"listStyle",type:t})}return(0,e.jsx)(u,{value:r,index:i,isInline:!1,renderNode:a,children:l},o)}(I,j,O):i(I)?function(r,i,o){let l=b({node:r,index:i,isInline:!1,renderNode:a}),s=t.listItem,u=("function"==typeof s?s:s[r.listItem])||t.unknownListItem;if(u===t.unknownListItem){let t=r.listItem||"bullet";n(d(`list item style "${t}"`,"listItem"),{type:t,nodeType:"listItemStyle"})}let c=l.children;if(r.style&&"normal"!==r.style){let{listItem:t,...e}=r;c=a({node:e,index:i,isInline:!1,renderNode:a})}return(0,e.jsx)(u,{value:r,index:i,isInline:!1,renderNode:a,children:c},o)}(I,j,O):l(I)?function(r,i){let{markDef:o,markType:u,markKey:c}=r,f=t.marks[u]||t.unknownMark,h=r.children.map((t,e)=>a({node:t,index:e,isInline:!0,renderNode:a}));return f===t.unknownMark&&n(d(`mark type "${u}"`,"marks"),{nodeType:"mark",type:u}),(0,e.jsx)(f,{text:function t(e){let n="";
2return e.children.forEach(e=>{s(e)?n+=e.text:l(e)&&(n+=t(e))}),n}(r),value:o,markType:u,markKey:c,renderNode:a,children:h},i)}(I,O):I._type in t.types?(c=I,f=j,h=O,p=_,(w=t.types[c._type])?(0,e.jsx)(w,{value:c,isInline:p,index:f,renderNode:a},h):null):r(I)?function(r,i,o,l){let{_key:s,...u}=b({node:r,index:i,isInline:l,renderNode:a}),c=u.node.style||"normal",f=("function"==typeof t.block?t.block:t.block[c])||t.unknownBlockStyle;return f===t.unknownBlockStyle&&n(d(`block style "${c}"`,"block"),{nodeType:"blockStyle",type:c}),(0,e.jsx)(f,{...u,value:u.node,renderNode:a},o)}(I,j,O,_):s(I)?function(n,r){if("\n"===n.text){let n=t.hardBreak;return n?(0,e.jsx)(n,{},r):"\n"}return n.text}(I,O):(y=I,g=j,v=O,k=_,n(m(y._type),{nodeType:"block",type:y._type}),x=t.unknownType,(0,e.jsx)(x,{value:y,isInline:k,index:g,renderNode:a},v))};function b(t){let{node:e,index:r,isInline:i,renderNode:o}=t,l=(function(t){let{children:e}=t,r=t.markDefs??[];if(!e||!e.length)return[];let i=e.map(u),o={_type:"@span",children:[],markType:"<unknown>"},l=[o];for(let t=0;t<e.length;t++){let o=e[t];if(!o)continue;let s=i[t]||[],a=1;if(l.length>1)for(;a<l.length;a++){let t=l[a]?.markKey||"",e=s.indexOf(t);if(-1===e)break;s.splice(e,1)}let u=(l=l.slice(0,a))[l.length-1];if(u){for(let t of s){let e=r?.find(e=>e._key===t),n={_type:"@span",_key:o._key,children:[],markDef:e,markType:e?e._type:t,markKey:t};u.children.push(n),l.push(n),u=n}if(n(o)){let t=o.text.split("\n");for(let e=t.length;e-- >1;)t.splice(e,0,"\n");u.children=u.children.concat(t.map(t=>({_type:"@text",text:t})))}else u.children=u.children.concat(o)}}return o.children})(e).map((t,e)=>o({node:t,isInline:!0,index:e,renderNode:o}));return{_key:e._key||`block-${r}`,children:l,index:r,isInline:i,node:e}}function I(){}var j=t.i(203537),_=t.i(442043),O=t.i(514450);let S=({keyword:t})=>(0,e.jsx)(O.default,{children:t});S.propTypes={keyword:j.default.string.isRequired};var E=t.i(282703),z=t.i(127176),T=t.i(734274),A=t.i(434215);let M=(0,T.default)(A.default),U=[.5,.75,1,1.5,2,3,4],N=(t,{width:e,height:n,format:r,quality:i})=>{let o=M.image(t);return e&&(o=o.width(Math.round(e))),n&&(o=o.height(Math.round(n))),r&&(o=o.format(r)),i&&(o=o.quality(i)),o.fit("max").auto("format").url()},C=({photo:t,width:n,height:r,caption:i,srcSizes:o=null,sizes:l=null,fixDimension:s=!1,quality:a=80,className:u})=>{if(!t)return null;let c=o||U.map(t=>t*n),f="number"==typeof n&&"number"==typeof r?r/n*100:100/t.asset.metadata.dimensions.aspectRatio,h=N(t,{width:n,height:r,quality:a}),p=((t,{srcSizes:e,aspect:n,format:r,quality:i})=>e.map(e=>{let o=N(t,{width:e,height:n&&Math.round(e*n)/100,format:r,quality:i});return r&&(o=o.format(r)),`${o} ${e}w`}).join(","))(t,{srcSizes:c,aspect:f,quality:a});return(0,e.jsxs)("figure",{className:u||null,children:[(0,e.jsx)(z.default,{width:s?n:620,height:s?r:400,src:h,srcSet:p,sizes:l,alt:t.alt,className:(0,E.cn)(u,"mx-auto max-w-full"),placeholder:t.asset.metadata.lqip}),i&&(0,e.jsx)("figcaption",{children:i})]})};C.propTypes={photo:j.default.shape({alt:j.default.string.isRequired,asset:j.default.shape({metadata:j.default.shape({dimensions:j.default.shape({aspectRatio:j.default.number})})})}),width:j.default.number.isRequired,height:j.default.number,caption:j.default.object,srcSizes:j.default.arrayOf(j.default.number),sizes:j.default.string,layout:j.default.string,fixDimension:j.default.bool,quality:j.default.number,hasPlaceholder:j.default.bool,forceLoad:j.default.bool,onLoad:j.default.func,className:j.default.string};var $=t.i(22077),R=t.i(730144);t.i(897);var L=t.i(778045),P=t.i(269204),q="createTweet",B=function(e){var n=h.default.useRef(null),r=h.default.useState(!0),i=r[0],o=r[1];return h.default.useEffect(function(){var r=!0;return t.r(402805)("https://platform.twitter.com/widgets.js","twitter-embed",function(){if(!window.twttr)return void console.error("Failure to load window.twttr, aborting load");if(r){if(!window.twttr.widgets[q])return void console.error("Method "+q+" is not present anymore in twttr.widget api");window.twttr.widgets[q](e.tweetId,null==n?void 0:n.current,e.options).then(function(t){o(!1),e.onLoad&&e.onLoad(t)})}}),function(){r=!1}},[]),h.default.createElement(h.default.Fragment,null,i&&h.default.createElement(h.default.Fragment,null,e.placeholder),h.default.createElement("div",{ref:n}))};let D=({tid:t})=>(0,e.jsx)("div",{className:"mb-[15px]",children:(0,e.jsx)(P.ErrorBoundary,{fallback:`An error with Twitter has occurred. View the tweet: https://x.com/placeholder/status/${t}`,children:(0,e.jsx)(B,{tweetId:t})})});D.propTypes={tid:j.default.string.isRequired},R.default.siteUrl;let H={block:{small:({children:t})=>(0,e.jsx)("small",{children:t})},types:{figure:t=>{let n=(0,e.jsx)(K,{blocks:t.value.caption});return(0,e.jsx)(C,{photo:t.value,width:680,caption:n,sizes:"620px",quality:80})},keywordRef:t=>(0,e.jsx)(S,{keyword:t.value.keyword.keyword,description:t.value.keyword.description}),twitter:t=>{let n=t?.value?.tweetId;return(0,e.jsx)(D,{tid:n})}},marks:{externalLink:t=>{let{value:n,children:r}=t,{href:i}=n;return(0,e.jsx)($.default,{href:i,children:r})},internalLink:t=>{let n,{value:r,children:i}=t;return"post"===r.reference._type&&(n=(0,L.getRoute)({publishedAt:r.reference.publishedAt,slug:r.reference.slug.current})),(0,e.jsx)($.default,{className:"anchor-text",href:n,children:i})}}},W={...H,marks:{externalLink:t=>t.children,internalLink:t=>t.children}};_.default.h;let F=({blocks:t,renderLinks:n=!0})=>(0,e.jsx)(w,{value:t,components:n?H:W}),K=F;F.propTypes={blocks:j.default.arrayOf(j.default.shape({})),renderLinks:j.default.bool}}]); 3 4//# debugId=2642d25b-58e5-4ae2-469b-123376841d53 5//# sourceMappingURL=1oxn3ion-2yzp.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.