1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,r)=>{"use strict";var n=e.r(68996);Object.defineProperty(r,"__esModule",{value:!0});var i={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return o}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});var o="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"===n._(r.default)&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79520,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(4571),a=e.r(95692),o=e.r(21991),s=e.r(68996);Object.defineProperty(r,"__esModule",{value:!0});var u={default:function(){return S},handleClientScriptLoad:function(){return k},initScriptLoader:function(){return T}};for(var c in u)Object.defineProperty(r,c,{enumerable:!0,get:u[c]});var l=e.r(55682),d=e.r(90809),f=e.r(43476),h=l._(e.r(74080)),p=d._(e.r(71645)),v=e.r(42732),g=e.r(22737),m=e.r(8341),y=new Map,_=new Set,b=function(e){if(h.default.preinit)return void e.forEach(function(e){h.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){var t=document.head;e.forEach(function(e){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},w=function(e){var t=e.src,r=e.id,n=e.onLoad,i=void 0===n?function(){}:n,a=e.onReady,o=void 0===a?null:a,s=e.dangerouslySetInnerHTML,u=e.children,c=void 0===u?"":u,l=e.strategy,d=void 0===l?"afterInteractive":l,f=e.onError,h=e.stylesheets,p=r||t;if(!(p&&_.has(p))){if(y.has(t)){_.add(p),y.get(t).then(i,f);return}var v=function(){o&&o(),_.add(p)},m=document.createElement("script"),w=new Promise(function(e,t){m.addEventListener("load",function(t){e(),i&&i.call(this,t),v()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){f&&f(e)});s?(m.innerHTML=s.__html||"",v()):c?(m.textContent="string"==typeof c?c:Array.isArray(c)?c.join(""):"",v()):t&&(m.src=t,y.set(t,w)),(0,g.setAttributesFromProps)(m,e),"worker"===d&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",d),h&&b(h),document.body.appendChild(m)}};function k(e){var t=e.strategy;"lazyOnload"===(void 0===t?"afterInteractive":t)?window.addEventListener("load",function(){(0,m.requestIdleCallback)(function(){return w(e)})}):w(e)}function T(e){e.forEach(k),o._(document.querySelectorAll('[data-nscript="beforeInteractive"]')).concat(o._(document.querySelectorAll('[data-nscript="beforePageRender"]'))).forEach(function(e){var t=e.id||e.getAttribute("src");_.add(t)})}function P(e){var t=e.id,r=e.src,o=void 0===r?"":r,s=e.onLoad,u=e.onReady,c=void 0===u?null:u,l=e.strategy,d=void 0===l?"afterInteractive":l,g=e.onError,y=e.stylesheets,b=a._(e,["id","src","onLoad","onReady","strategy","onError","stylesheets"]),k=(0,p.useContext)(v.HeadManagerContext),T=k.updateScripts,P=k.scripts,S=k.getIsSsr,R=k.appDir,L=k.nonce;L=b.nonce||L;var x=(0,p.useRef)(!1);(0,p.useEffect)(function(){var e=t||o;x.current||(c&&e&&_.has(e)&&c(),x.current=!0)},[c,t,o]);var E=(0,p.useRef)(!1);if((0,p.useEffect)(function(){if(!E.current){if("afterInteractive"===d)w(e);else"lazyOnload"===d&&("complete"===document.readyState?(0,m.requestIdleCallback)(function(){return w(e)}):window.addEventListener("load",function(){(0,m.requestIdleCallback)(function(){return w(e)})}));E.current=!0}},[e,d]),("beforeInteractive"===d||"worker"===d)&&(T?(P[d]=(P[d]||[]).concat([i._(n._({id:t,src:o,onLoad:void 0===s?function(){}:s,onReady:c,onError:g},b),{nonce:L})]),T(P)):S&&S()?_.add(t||o):S&&!S()&&w(i._(n._({},e),{nonce:L}
1))),R){if(y&&y.forEach(function(e){h.default.preinit(e,{as:"style"})}),"beforeInteractive"===d)if(!o)return b.dangerouslySetInnerHTML&&(b.children=b.dangerouslySetInnerHTML.__html,delete b.dangerouslySetInnerHTML),(0,f.jsx)("script",{nonce:L,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,i._(n._({},b),{id:t})]),")")}});else return h.default.preload(o,b.integrity?{as:"script",integrity:b.integrity,nonce:L,crossOrigin:b.crossOrigin}:{as:"script",nonce:L,crossOrigin:b.crossOrigin}),(0,f.jsx)("script",{nonce:L,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([o,i._(n._({},b),{id:t})]),")")}});"afterInteractive"===d&&o&&h.default.preload(o,b.integrity?{as:"script",integrity:b.integrity,nonce:L,crossOrigin:b.crossOrigin}:{as:"script",nonce:L,crossOrigin:b.crossOrigin})}return null}Object.defineProperty(P,"__nextScript",{value:!0});var S=P;("function"==typeof r.default||"object"===s._(r.default)&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},40107,(e,t,r)=>{r.RichTextNodeType={heading1:"heading1",heading2:"heading2",heading3:"heading3",heading4:"heading4",heading5:"heading5",heading6:"heading6",paragraph:"paragraph",preformatted:"preformatted",strong:"strong",em:"em",listItem:"list-item",oListItem:"o-list-item",list:"group-list-item",oList:"group-o-list-item",image:"image",embed:"embed",hyperlink:"hyperlink",label:"label",span:"span"}},92471,(e,t,r)=>{var n=e.r(86172),i=e.r(44086),a=e.r(68996),o=e.r(21280);r.mapSliceZone=function(e,t,r){return Promise.all(e.map(function(e,s,u){return n._(function(){var n,c,l,d,f;return o._(this,function(o){switch(o.label){case 0:if(!(l=t[c=(n="slice_type"in e)?e.slice_type:e.type]))return[2,e];return[4,l(d={slice:e,slices:u,index:s,context:r})];case 1:if(f=o.sent(),!(l.length<1&&("function"==typeof f||(void 0===f?"undefined":a._(f))==="object"&&"default"in f)))return[3,3];return[4,(f="default"in f?f.default:f)(d)];case 2:f=o.sent(),o.label=3;case 3:if(n)return[2,i._({__mapped:!0,id:e.id,slice_type:c},f)];return[2,i._({__mapped:!0,type:c},f)]}})})()}))}},81583,(e,t,r)=>{var n,i=e.r(15240),a=e.r(21991),o=function(e){return Array.isArray(e)?"[".concat(e.map(o).join(", "),"]"):"string"==typeof e?'"'.concat(e.replace(/"/g,'\\"'),'"'):i._(e,Date)?"".concat(e.getTime()):"".concat(e)},s=function(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var a=n.map(o).join(", ");return"[".concat(e,"(").concat(t).concat(t&&n.length?", ":"").concat(a,")]")}},u=function(e){var t=s(e);return function(e){return t(e)}};r.filter={at:s("at"),not:s("not"),any:s("any"),in:s("in"),fulltext:s("fulltext"),has:u("has"),missing:u("missing"),similar:(n=s("similar"),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,[""].concat(a._(t)))}),geopointNear:s("geopoint.near"),numberLessThan:s("number.lt"),numberGreaterThan:s("number.gt"),numberInRange:s("number.inRange"),dateAfter:s("date.after"),dateBefore:s("date.before"),dateBetween:s("date.between"),dateDayOfMonth:s("date.day-of-month"),dateDayOfMonthAfter:s("date.day-of-month-after"),dateDayOfMonthBefore:s("date.day-of-month-before"),dateDayOfWeek:s("date.day-of-week"),dateDayOfWeekAfter:s("date.day-of-week-after"),dateDayOfWeekBefore:s("date.day-of-week-before"),dateMonth:s("date.month"),dateMonthAfter:s("date.month-after"),dateMonthBefore:s("date.month-before"),dateYear:s("date.year"),dateHour:s("date.hour"),dateHourAfter:s("date.hour-after"),dateHourBefore:s("date.hour-before")}},94902,(e,t,r)=>{var n=Object.defineProperty;r.__export=function(e){var t={};for(var r in e)n(t,r,{get:e[r],enumerable:!0});return t}},93855,(e,t,r)=>{var n=e.r(94902).__export({preview:function(){return i}}),i="io.prismic.preview";Object.defineProperty(r,"cookie_exports",{enumerable:!0,get:function(){return n}}),r.preview=i},41618,(e,t,r)=>{var n=e.r(7655),i=e.r(95075),a=e.r(27873),o=e.r(87502),s=function(e){"use strict";function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"An invalid API response was returned",o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return i._(this,t),e=n._(this,t,[r]),a._(e,"url",void 0),a._(e,"response",void 0),e.url=o,e.response=s,e}return o._(t,e),t}(e.r(2623)._(Error)),u=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(s),c=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(s),l=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(c),d=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(s),f=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(s),h=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(u),p=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(u),v=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return o._(t,e),t}(u);r.ForbiddenError=u,r.InvalidDataError=f,r.NotFoundError=c,r.ParsingError=d,r.PreviewTokenExpiredError=v,r.PrismicError=s,r.RefExpiredError=h,r.RefNotFoundError=p,r.RepositoryNotFoundError=l},89883,(e,t,r)=>{r.LinkType={Any:"Any",Document:"Document",Media:"Media",Web:"Web"}},78402,(e,t,r)=>{var n=e.r(44086),i=e.r(89883);r.documentToLinkField=function(e){var t;return n._({link_type:i.LinkType.Document,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(t=e.slugs)?void 0:t[0]},e.data&&Object.keys(e.data).length>0?{data:e.data}:{})}},36131,(e,t,r)=>{var n=e.r(44086),i=e.r(91470),a=e.r(89883),o=e.r(78402);r.asLink=function(e){for(var t,r=arguments.length,s=Array(r>1?r-1:0),u=1;u<r;u++)s[u-1]=arguments[u];if(!e)return null;var c="link_type"in e?e:o.documentToLinkField(e),l=i._(s,1)[0];switch(t="function"==typeof l||null==l?{linkResolver:l}:n._({},l),c.link_type){case a.LinkType.Media:case a.LinkType.Web:return"url"in c?c.url:null;case a.LinkType.Document:if("id"in c&&t.linkResolver){var d=t.linkResolver(c);if(null!=d)return d}if("url"in c&&c.url)return c.url;return null;case a.LinkType.Any:default:return null}}},52380,(e,t,r)=>{Object.defineProperty(r,"name",{enumerable:!0,get:function(){return"@prismicio/client"}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return"7.21.1"}})},9462,(e,t,r)=>{var n=e.r(52380);r.devMsg=function(e){return"https://prismic.dev/msg/client/v".concat(n.version,"/").concat(e)}},19422,(e,t,r)=>{var n=e.r(95692);e.r(91470);var i=e.r(68996),a=e.r(52380);e.r(9462);var o={accessToken:"access_token"};function s(e){return Array.isArray(e)?e:[e]}r.buildQueryURL=function(e,t){var r=t.filters,u=t.predicates,c=n._(t,["filters","predicates"]);e.endsWith("/")||(e+="/");var l=new URL("documents/search",e);if(r){var d=!0,f=!1,h=void 0;try{for(var p,v=s(r)[Symbol.iterator]();!(d=(p=v.next()).done);d=!0){var g=p.value;l.searchParams.append("q","[".concat(g,"]"))}}catch(e){f=!0,h=e}finally{try{d||null==v.return||v.return()}finally{if(f)throw h}}}var m=!0,y=!1,_=void 0;if(u)try{for(var b,w=s(u)[Symbol.iterator]();!(m=(b=w.next()).done);m=!0){var k=b.value;l.searchParams.append("q","[".concat(k,"]"))}}catch(e){y=!0,_=e}finally{try{m||null==w.return||w.return()}finally{if(y)throw _}}for(var T in c){var P=o[T]||T,S=c[T];if("orderings"===P){var R=c[P];null!=R&&(S="[".concat(s(R).map(function(e){return"string"==typeof e?e:"desc"===e.direction?"".concat(e.field," desc"):e.field}).join(","),"]"))}else"routes"===P&&"object"===i._(c[P])&&(S=JSON.stringify(s(c[P])));null!=S&&l.searchParams.set(P,s(S).join(","))}return l.searchParams.set("x-c","js-".concat(a.version)),l.toString()}},9362,(e,t,r)=>{r.isRepositoryName=function(e){return/^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(e)}},17593,(e,t,r)=>{var n=e.r(41618),i=e.r(9362);r.getRepositoryEndpoint=function(e){if(i.isRepositoryName(e))return"https://".concat(e,".cdn.prismic.io/api/v2");throw new n.PrismicError("An invalid Prismic repository name was given: ".concat(e),void 0,void 0)}},59794,(e,t,r)=>{var n=e.r(41618);r.getRepositoryName=function(e){try{var t=new URL(e).hostname;if(t.endsWith("prismic.io")||t.endsWith("wroom.io")||t.endsWith("wroom.test"))return t.split(".")[0]}catch(e){}throw new n.PrismicError("An invalid Prismic Document API endpoint was provided: ".concat(e),void 0,void 0)}},8897,(e,t,r)=>{r.isRepositoryEndpoint=function(e){try{return new URL(e),!0}catch(e){return!1}}},25994,(e,t,r)=>{"use strict";r._=function(e,t){return t.get?t.get.call(e):t.value}},54780,(e,t,r)=>{"use strict";r._=function(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}},58424,(e,t,r)=>{"use strict";var n=e.r(25994),i=e.r(54780);r._=function(e,t){var r=i._(e,t,"get");return n._(e,r)}},80329,(e,t,r)=>{"use strict";r._=function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}},66173,(e,t,r)=>{"use strict";var n=e.r(80329);r._=function(e,t,r){n._(e,t),t.set(e,r)}},30747,(e,t,r)=>{"use strict";r._=function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}},74646,(e,t,r)=>{"use strict";var n=e.r(30747),i=e.r(54780);r._=function(e,t,r){var a=i._(e,t,"set");return n._(e,a,r),r}},93510,(e,t,r)=>{"use strict";r._=function(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}},63340,(e,t,r)=>{"use strict";var n=e.r(80329);r._=function(e,t){n._(e,t),t.add(e)}},28429,(e,t,r)=>{var n=e.r(93855),i=function(e){return e.replace(/%3B/g,";")};
1r.getPreviewCookie=function(e){var t=e.split("; "),r=!0,a=!1,o=void 0;try{for(var s,u,c=t[Symbol.iterator]();!(r=(u=c.next()).done);r=!0){var l=u.value.split("=");if(i(l[0]).replace(/%3D/g,"=")===n.preview){s=i(l.slice(1).join("="));break}}}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return s}},15946,(e,t,r)=>{var n=e.r(86172),i=e.r(21991),a=e.r(21280);r.pLimit=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).interval,t=[],r=!1,o=0,s=function(){if(!r&&t.length>0){var e;null==(e=t.shift())||e(),r=!0}},u=function(){r=!1,s()},c=function(t,r,s){return n._(function(){var c,l;return a._(this,function(d){switch(d.label){case 0:var f;if(c=Date.now()-o,!(e&&c<e))return[3,2];return[4,(f=e-c,new Promise(function(e){return setTimeout(e,f)}))];case 1:d.sent(),d.label=2;case 2:r(l=n._(function(){return a._(this,function(e){return[2,t.apply(void 0,i._(s))]})})()),d.label=3;case 3:return d.trys.push([3,5,,6]),[4,l];case 4:case 5:return d.sent(),[3,6];case 6:return o=Date.now(),u(),[2]}})})()},l=function(e,i,o){new Promise(function(e){t.push(e)}).then(c.bind(void 0,e,i,o)),n._(function(){return a._(this,function(e){switch(e.label){case 0:return[4,Promise.resolve()];case 1:return e.sent(),r||s(),[2]}})})()};return 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 new Promise(function(t){l(e,t,r)})}}},76949,(e,t,r)=>{var n=e.r(86172),i=e.r(21280),a=e.r(15946),o={},s={};r.request=function e(t,r,u){return n._(function(){var n,c,l,d,f,h,p,v;return i._(this,function(i){switch(i.label){case 0:return n=t.toString(),(null==r?void 0:r.body)?c=(o[l=t.hostname]||(o[l]=a.pLimit({interval:1500})))(function(){return u(n,r)}):(f=null==(d=s[n])?void 0:d.get(null==r?void 0:r.signal))?c=f:(c=u(n,r).finally(function(){var e,t;null==(e=s[n])||e.delete(null==r?void 0:r.signal),(null==(t=s[n])?void 0:t.size)===0&&delete s[n]}),(s[n]||(s[n]=new Map)).set(null==r?void 0:r.signal,c)),[4,c];case 1:if(429!==(h=i.sent()).status)return[3,3];return v=Number.isNaN(p=Number(h.headers.get("retry-after")))?1500:1e3*p,[4,new Promise(function(e){return setTimeout(e,v)})];case 2:return i.sent(),[2,e(t,r,u)];case 3:return[2,h.clone()]}})})()}},905,(e,t,r)=>{var n,i=0;r.throttledWarn=function(e){if(e===n&&Date.now()-i<5e3){i=Date.now();return}i=Date.now(),n=e,console.warn(e)}},88007,(e,t,r)=>{var n,i,a,o,s,u,c,l,d,f,h=e.r(86172),p=e.r(95075),v=e.r(58424),g=e.r(66173),m=e.r(74646),y=e.r(93510),_=e.r(63340),b=e.r(82372),w=e.r(27873),k=e.r(15240),T=e.r(44086),P=e.r(4571),S=e.r(95692),R=e.r(91470),L=e.r(21991),x=e.r(68996),E=e.r(21280),A=e.r(81583),D=e.r(9462),I=e.r(28429),M=e.r(76949),O=e.r(905),j=e.r(41618),F=e.r(36131),U=e.r(19422),C=e.r(17593),N=e.r(59794),z=e.r(8897);function W(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return P._(T._({},t),{filters:L._(null!=(e=t.filters)?e:[]).concat(L._(n))})}function B(e){return h._(function(){var t,r,n,s,u,c;return E._(this,function(l){switch(l.label){case 0:if(v._(this,a)&&(u=I.getPreviewCookie(null!=(s=(null==(r=v._(this,o))?void 0:r.headers)?"get"in v._(this,o).headers?v._(this,o).headers.get("cookie"):v._(this,o).headers.cookie:null==(n=globalThis.document)?void 0:n.cookie)?s:"")))return[2,u];return[4,null==(t=v._(this,i))?void 0:t.call(this,e)];case 1:if(c=l.sent())return[2,c];return[4,this.getMasterRef(e)];case 2:return[2,l.sent().ref]}})}).call(this)}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return h._(function(){var r,n,i,a,o;return E._(this,function(u){switch(u.label){case 0:return[4,this.buildQueryURL(e)];case 1:return r=u.sent(),[4,y._(this,f,G).call(this,new URL(r),e)];case 2:if((n=u.sent()).ok)return[2,n];u.label=3;case 3:return u.trys.push([3,5,,8]),[4,y._(this,d,H).call(this,n,r)];case 4:case 6:return[2,u.sent()];case 5:if(i=u.sent(),!((k._(i,j.RefNotFoundError)||k._(i,j.RefExpiredError))&&t<3))return[3,7];if((null==e?void 0:e.ref)||m._(this,s,void 0),!(o=null==(a=i.message.match(RegExp("master ref is: (?<ref>.*)$","i")))||null==(a=a.groups)?void 0:a.ref))throw i;return O.throttledWarn("[@prismicio/client] The ref (".concat(new
1URL(r).searchParams.get("ref"),") was ").concat(k._(i,j.RefNotFoundError)?"invalid":"expired",". Now retrying with the latest master ref (").concat(o,"). If you were previewing content, the response will not include draft content.")),[4,y._(this,l,q).call(this,P._(T._({},e),{ref:o}),t+1)];case 7:throw i;case 8:return[2]}})}).call(this)}function H(e,t){return h._(function(){var r,n,i,a,o,s,u;return E._(this,function(c){switch(c.label){case 0:switch(e.status){case 400:return[3,1];case 401:return[3,3];case 404:return[3,5];case 410:return[3,7]}return[3,9];case 1:case 3:case 5:return[4,e.clone().json()];case 2:throw r=c.sent(),new j.ParsingError(r.message,t,r);case 4:throw n=c.sent(),new j.ForbiddenError(n.message,t,n);case 6:switch((i=c.sent()).type){case"api_notfound_error":throw new j.RefNotFoundError(i.message,t,i);case"api_security_error":if(/preview token.*expired/i.test(i.message))throw new j.PreviewTokenExpiredError(i.message,t,i);default:throw new j.NotFoundError(i.message,t,i)}c.label=7;case 7:return[4,e.clone().json()];case 8:throw a=c.sent(),new j.RefExpiredError(a.message,t,a);case 9:return s=(o=j.PrismicError).bind,u=[void 0,void 0,t],[4,e.text()];case 10:throw new(s.apply(o,u.concat([c.sent()])));case 11:return[2]}})})()}function G(e,t){return h._(function(){var r,n,i,a;return E._(this,function(o){switch(o.label){case 0:return[4,M.request(e,P._(T._({},this.fetchOptions,null==t?void 0:t.fetchOptions),{headers:T._({},null==(r=this.fetchOptions)?void 0:r.headers,null==t||null==(n=t.fetchOptions)?void 0:n.headers),signal:(null==t||null==(i=t.fetchOptions)?void 0:i.signal)||(null==t?void 0:t.signal)||(null==(a=this.fetchOptions)?void 0:a.signal)}),this.fetchFn)];case 1:return[2,o.sent()]}})}).call(this)}n=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakMap,c=new WeakSet,l=new WeakSet,d=new WeakSet,f=new WeakSet,r.Client=function(){"use strict";function e(t){var r,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p._(this,e),_._(this,c),_._(this,l),_._(this,d),_._(this,f),w._(this,"documentAPIEndpoint",void 0),w._(this,"accessToken",void 0),w._(this,"routes",void 0),w._(this,"brokenRoute",void 0),w._(this,"defaultParams",void 0),w._(this,"fetchFn",void 0),w._(this,"fetchOptions",void 0),g._(this,n,{writable:!0,value:void 0}),g._(this,i,{writable:!0,value:void 0}),g._(this,a,{writable:!0,value:!0}),g._(this,o,{writable:!0,value:void 0}),g._(this,s,{writable:!0,value:void 0}),g._(this,u,{writable:!0,value:0});var v=h.documentAPIEndpoint,m=h.accessToken,y=h.ref,b=h.routes,k=h.broken
1Route,T=h.defaultParams,P=h.fetchOptions,S=h.fetch,R=void 0===S?null==(r=globalThis.fetch)?void 0:r.bind(globalThis):S;if(z.isRepositoryEndpoint(t)){try{this.repositoryName=N.getRepositoryName(t)}catch(e){console.warn("[@prismicio/client] A repository name could not be inferred from the provided endpoint (`".concat(t,"`). Some methods will be disabled. Create the client using a repository name to prevent this warning. For more details, see ").concat(D.devMsg("prefer-repository-name")))}this.documentAPIEndpoint=v||t}else this.repositoryName=t,this.documentAPIEndpoint=v||C.getRepositoryEndpoint(t);if(!R)throw new j.PrismicError("A valid fetch implementation was not provided. In environments where fetch is not available, a fetch implementation must be provided via a polyfill or the `fetch` option.",void 0,void 0);if("function"!=typeof R)throw new j.PrismicError("fetch must be a function, but received: ".concat(void 0===R?"undefined":x._(R)),void 0,void 0);if(!z.isRepositoryEndpoint(this.documentAPIEndpoint))throw new j.PrismicError("documentAPIEndpoint is not a valid URL: ".concat(v),void 0,void 0);z.isRepositoryEndpoint(t)&&v&&t!==v&&console.warn("[@prismicio/client] Multiple incompatible endpoints were provided. Create the client using a repository name to prevent this error. For more details, see ".concat(D.devMsg("prefer-repository-name"))),/\.prismic\.io\/(?!api\/v2\/?)/i.test(this.documentAPIEndpoint),RegExp("(?<!\\.cdn)\\.prismic\\.io$","i").test(new
1URL(this.documentAPIEndpoint).hostname),this.accessToken=m,this.routes=b,this.brokenRoute=k,this.defaultParams=T,this.fetchOptions=void 0===P?{}:P,this.fetchFn=R,this.graphQLFetch=this.graphQLFetch.bind(this),y&&this.queryContentFromRef(y)}return b._(e,[{key:"repositoryName",get:function(){if(!v._(this,n))throw new j.PrismicError("A repository name is required for this method but one could not be inferred from the provided API endpoint (`".concat(this.documentAPIEndpoint,"`). To fix this error, provide a repository name when creating the client. For more details, see ").concat(D.devMsg("prefer-repository-name")),void 0,void 0);return v._(this,n)},set:function(e){m._(this,n,e)}},{key:"endpoint",get:function(){return this.documentAPIEndpoint},set:function(e){this.documentAPIEndpoint=e}},{key:"enableAutoPreviews",value:function(){m._(this,a,!0)}},{key:"enableAutoPreviewsFromReq",value:function(e){this.enableAutoPreviews(),m._(this,o,e)}},{key:"disableAutoPreviews",value:function(){m._(this,a,!1),m._(this,o,void 0)}},{key:"get",value:function(e){return h._(function(){return E._(this,function(t){switch(t.label){case 0:return[4,y._(this,l,q).call(this,e)];case 1:return[4,t.sent().json()];case 2:return[2,t.sent()]}})}).call(this)}},{key:"getFirst",value:function(e){return h._(function(){var t,r,n;return E._(this,function(i){switch(i.label){case 0:return t=(null==e?void 0:e.page)||(null==e?void 0:e.pageSize)?e:P._(T._({},e),{pageSize:1}),[4,y._(this,l,q).call(this,t)];case 1:return[4,(r=i.sent()).clone().json()];case 2:if((n=i.sent().results)[0])return[2,n[0]];throw new j.NotFoundError("No documents were returned",r.url,void 0)}})}).call(this)}},{key:"dangerouslyGetAll",value:function(){return h._(function(){var e,t,r,n,i,a,o,s,u,c,l=arguments;return E._(this,function(d){switch(d.label){case 0:n=void 0===(r=(e=l.length>0&&void 0!==l[0]?l[0]:{}).limit)?1/0:r,i=S._(e,["limit"]),a=P._(T._({},i),{pageSize:Math.min(n,i.pageSize||(null==(t=this.defaultParams)?void 0:t.pageSize)||100)}),o=[],d.label=1;case 1:if(!((!s||s.next_page)&&o.length<n))return[3,5];return c=s?s.page+1:void 0,[4,this.get(P._(T._({},a),{page:c}))];case 2:if(s=d.sent(),(u=o).push.apply(u,L._(s.results)),!s.next_page)return[3,4];return[4,new Promise(function(e){return setTimeout(e,500)})];case 3:d.sent(),d.label=4;case 4:return[3,1];case 5:return[2,o.slice(0,n)]}})}).apply(this,arguments)}},{key:"getByID",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.getFirst(W(t,A.filter.at("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByIDs",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,A.filter.in("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByIDs",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,A.filter.in("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByUID",value:function(e,t,r){return h._(function(){return E._(this,function(n){switch(n.label){case 0:return[4,this.getFirst(W(r,A.filter.at("document.type",e),A.filter.at("my.".concat(e,".uid"),t)))];case 1:return[2,n.sent()]}})}).call(this)}},{key:"getByUIDs",value:function(e,t,r){return h._(function(){return E._(this,function(n){switch(n.label){case 0:return[4,this.get(W(r,A.filter.at("document.type",e),A.filter.in("my.".concat(e,".uid"),t)))];case 1:return[2,n.sent()]}})}).call(this)}},{key:"getAllByUIDs",value:function(e,t,r){return h._(function(){return E._(this,function(n){switch(n.label){case 0:return[4,this.dangerouslyGetAll(W(r,A.filter.at("document.type",e),A.filter.in("my.".concat(e,".uid"),t)))];case 1:return[2,n.sent()]}})}).call(this)}},{key:"getSingle",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.getFirst(W(t,A.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByType",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,A.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByType",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,A.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByTag",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,A.filter.any("document.tags",[e])))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByTag",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,A.filter.any("document.tags",[e])))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByEveryTag",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,A.filter.at("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByEveryTag",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,A.filter.at("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getBySomeTags",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,A.filter.any("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllBySomeTags",value:function(e,t){return h._(function(){return E._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,A.filter.any("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getRepository",value:function(e){return h._(function(){var t,r,n,i;return E._(this,function(a){switch(a.label){case 0:if(v._(this,s)&&v._(this,u)>Date.now())return[2,v._(this,s)];
1return t=new URL(this.documentAPIEndpoint),(r=(null==e?void 0:e.accessToken)||this.accessToken)&&t.searchParams.set("access_token",r),[4,y._(this,f,G).call(this,t,e)];case 1:if(!(n=a.sent()).ok)return[3,3];return i=[this,s],[4,n.json()];case 2:return m._.apply(void 0,i.concat([a.sent()])),m._(this,u,Date.now()+5e3),[2,v._(this,s)];case 3:if(404===n.status)throw new j.RepositoryNotFoundError('Prismic repository not found. Check that "'.concat(this.documentAPIEndpoint,'" is pointing to the correct repository.'),t.toString(),void 0);return[4,y._(this,d,H).call(this,n,t.toString())];case 4:return[2,a.sent()]}})}).call(this)}},{key:"getRefs",value:function(e){return h._(function(){return E._(this,function(t){switch(t.label){case 0:return[4,this.getRepository(e)];case 1:return[2,t.sent().refs]}})}).call(this)}},{key:"getRefByID",value:function(e,t){return h._(function(){var r;return E._(this,function(n){switch(n.label){case 0:return[4,this.getRefs(t)];case 1:if(!(r=n.sent().find(function(t){return t.id===e})))throw new j.PrismicError('Ref with ID "'.concat(e,'" could not be found.'),void 0,void 0);return[2,r]}})}).call(this)}},{key:"getRefByLabel",value:function(e,t){return h._(function(){var r;return E._(this,function(n){switch(n.label){case 0:return[4,this.getRefs(t)];case 1:if(!(r=n.sent().find(function(t){return t.label===e})))throw new j.PrismicError('Ref with label "'.concat(e,'" could not be found.'),void 0,void 0);return[2,r]}})}).call(this)}},{key:"getMasterRef",value:function(e){return h._(function(){var t;return E._(this,function(r){switch(r.label){case 0:return[4,this.getRefs(e)];case 1:if(!(t=r.sent().find(function(e){return e.isMasterRef})))throw new j.PrismicError("Master ref could not be found.",void 0,void 0);return[2,t]}})}).call(this)}},{key:"getReleases",value:function(e){return h._(function(){return E._(this,function(t){switch(t.label){case 0:return[4,this.getRefs(e)];case 1:return[2,t.sent().filter(function(e){return!e.isMasterRef})]}})}).call(this)}},{key:"getReleaseByID",value:function(e,t){return h._(function(){var r;return E._(this,function(n){switch(n.label){case 0:return[4,this.getReleases(t)];case 1:if(!(r=n.sent().find(function(t){return t.id===e})))throw new j.PrismicError('Release with ID "'.concat(e,'" could not be found.'),void 0,void 0);return[2,r]}})}).call(this)}},{key:"getReleaseByLabel",value:function(e,t){return h._(function(){var r;return E._(this,function(n){switch(n.label){case 0:return[4,this.getReleases(t)];case 1:if(!(r=n.sent().find(function(t){return t.label===e})))throw new j.PrismicError('Release with label "'.concat(e,'" could not be found.'),void 0,void 0);return[2,r]}})}).call(this)}},{key:"getTags",value:function(e){return h._(function(){var t,r,n,i;return E._(this,function(a){switch(a.label){case 0:return[4,this.getRepository(e)];case 1:if(!(r=(t=a.sent()).forms.tags))return[3,4];return n=new URL(r.action),this.accessToken&&n.searchParams.set("access_token",this.accessToken),[4,y._(this,f,G).call(this,n,e)];case 2:if(!(i=a.sent()).ok)return[3,4];return[4,i.json()];case 3:return[2,a.sent()];case 4:return[2,t.tags]}})}).call(this)}},{key:"buildQueryURL",value:function(){return h._(function(){var e,t,r,n,i,a,o,s,u=arguments;return E._(this,function(l){switch(l.label){case 0:if(t=(e=u.length>0&&void 0!==u[0]?u[0]:{}).signal,r=e.fetchOptions,a=(n=S._(e,["signal","fetchOptions"])).ref)return[3,2];return[4,y._(this,c,B).call(this,{accessToken:n.accessToken,signal:t,fetchOptions:r})];case 1:a=l.sent(),l.label=2;case 2:if(i=a,s=n.integrationFieldsRef)return[3,4];return[4,this.getRepository({accessToken:n.accessToken,signal:t,fetchOptions:r})];case 3:s=l.sent().integrationFieldsRef,l.label=4;case 4:return o=s||void 0,[2,U.buildQueryURL(this.documentAPIEndpoint,P._(T._({},this.defaultParams,n),{ref:i,integrationFieldsRef:o,routes:n.routes||this.routes,brokenRoute:n.brokenRoute||this.brokenRoute,accessToken:n.accessToken||this.accessToken}))]}})}).apply(this,arguments)}},{key:"resolvePreviewURL",value:function(e){return h._(function(){var t,r,n,i,a,s,u,c;return E._(this,function(l){switch(l.label){case 0:if(t=e.documentID,r=e.previewToken,void 0!==globalThis.location?(n=new URLSearchParams(globalThis.location.search),t=t||n.get("documentId"),r=r||n.get("token")):v._(this,o)&&("query"in v._(this,o)?(t=t||(null==(i=v._(this,o).query)?void 0:i.documentId),r=r||(null==(a=v._(this,o).query)?void 0:a.token)):"url"in v._(this,o)&&v._(this,o).url&&(s=new URL(v._(this,o).url,"missing-host://").searchParams,t=t||s.get("documentId"),r=r||s.get("token"))),null==t||null==r)return[3,2];return c=F.asLink,[4,this.getByID(t,{ref:r,lang:"*",signal:e.signal,fetchOptions:e.fetchOptions})];case 1:if("string"==typeof(u=c.apply(F,[l.sent(),{linkResolver:e.linkResolver}])))return[2,u];l.label=2;case 2:return[2,e.defaultURL]}})}).call(this)}},{key:"queryLatestContent",value:function(){m._(this,i,void 0)}},{key:"queryContentFromReleaseByID",value:function(e){var t=this;m._(this,i,function(r){return h._(function(){return E._(this,function(t){switch(t.label){case 0:return[4,this.getReleaseByID(e,r)];case 1:return[2,t.sent().ref]}})}).call(t)})}},{key:"queryContentFromReleaseByLabel",value:function(e){var t=this;m._(this,i,function(r){return h._(function(){return E._(this,function(t){switch(t.label){case 0:return[4,this.getReleaseByLabel(e,r)];case 1:return[2,t.sent().ref]}})}).call(t)})}}
1,{key:"queryContentFromRef",value:function(e){m._(this,i,"string"==typeof e?function(){return e}:e)}},{key:"graphQLFetch",value:function(e,t){return h._(function(){var r,n,i,a,o,s,u,l,d,f,h,p,v,g,m,_;return E._(this,function(b){switch(b.label){case 0:return r={accessToken:this.accessToken,fetchOptions:this.fetchOptions},[4,this.getRepository(r)];case 1:return n=b.sent(),[4,y._(this,c,B).call(this,r)];case 2:i=b.sent(),(a={})["prismic-ref"]=i,this.accessToken&&(a.authorization="Token ".concat(this.accessToken)),n.integrationFieldsRef&&(a["prismic-integration-field-ref"]=n.integrationFieldsRef),s=!0,u=!1,l=void 0;try{for(d=Object.entries(null!=(o=null==t?void 0:t.headers)?o:{})[Symbol.iterator]();!(s=(f=d.next()).done);s=!0)p=(h=R._(f.value,2))[0],v=h[1],a[p.toLowerCase()]=v}catch(e){u=!0,l=e}finally{try{s||null==d.return||d.return()}finally{if(u)throw l}}return _=(null!=(m=(g=new URL("string"==typeof e?e:e.url)).searchParams.get("query"))?m:"").replace(/(\n| )*( |{|})(\n| )*/gm,function(e,t,r){return r}),g.searchParams.set("query",_),g.searchParams.set("ref",i),[4,this.fetchFn(g.toString(),P._(T._({},t),{headers:a}))];case 3:return[2,b.sent()]}})}).call(this)}}]),e}()},76570,(e,t,r)=>{var n=e.r(88007);r.createClient=function(e,t){return new n.Client(e,t)}},64574,(e,t,r)=>{var n=e.r(95075),i=e.r(27873);r.PrismicMigrationAsset=function e(t,r){"use strict";n._(this,e),i._(this,"asset",void 0),i._(this,"config",void 0),i._(this,"originalField",void 0),this.config=t,this.originalField=r}},66069,(e,t,r)=>{var n=e.r(95075),i=e.r(27873);r.PrismicMigrationDocument=function e(t,r,a){"use strict";n._(this,e),i._(this,"document",void 0),i._(this,"title",void 0),i._(this,"masterLanguageDocument",void 0),i._(this,"originalPrismicDocument",void 0),this.document=t,this.title=r,this.masterLanguageDocument=null==a?void 0:a.masterLanguageDocument,this.originalPrismicDocument=null==a?void 0:a.originalPrismicDocument}},75342,(e,t,r)=>{var n=e.r(94902).__export({color:function(){return v},contentRelationship:function(){return f},date:function(){return h},embed:function(){return _},geoPoint:function(){return b},group:function(){return R},image:function(){return c},imageThumbnail:function(){return u},integration:function(){return k},integrationField:function(){return T},integrationFields:function(){return P},keyText:function(){return m},link:function(){return l},linkToMedia:function(){return d},number:function(){return g},repeatable:function(){return S},richText:function(){return o},select:function(){return y},sliceZone:function(){return L},table:function(){return w},timestamp:function(){return p},title:function(){return s}}),i=function(e){return null!=e},a=function(e){return!!e.length},o=function(e){return!!i(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length)},s=o,u=function(e){return i(e)&&!!e.url},c=u,l=function(e){return i(e)&&("id"in e||"url"in e)},d=l,f=l,h=i,p=i,v=i,g=i,m=function(e){return!!e},y=i,_=function(e){return i(e)&&!!e.embed_url},b=function(e){return i(e)&&"longitude"in e},w=i,k=i,T=k,P=k,S=function(e){return i(e)&&a(e)},R=function(e){return i(e)&&a(e)},L=function(e){return i(e)&&a(e)};r.imageThumbnail=u,Object.defineProperty(r,"isFilled_exports",{enumerable:!0,get:function(){return n}}),r.link=l},4312,(e,t,r)=>{var n=e.r(68996),i=e.r(40107),a=e.r(89883),o=function(e){return!!e&&(void 0===e?"undefined":n._(e))==="object"&&(!("version"in e)||"object"===n._(e.version))&&"id"in e&&"url"in e&&"string"==typeof e.url&&"dimensions"in e&&"edit"in e&&"alt"in e&&"copyright"in e||!1};r.filledContentRelationship=function(e){return!!e&&(void 0===e?"undefined":n._(e))==="object"&&!("version"in e)&&"link_type"in e&&e.link_type===a.LinkType.Document&&"id"in e&&"type"in e&&"tags"in e&&"lang"in e||!1},r.filledImage=function(e){return!!o(e)&&(!("type"in e)||e.type!==i.RichTextNodeType.image)},r.filledLinkToMedia=function(e){return!!e&&(void 0===e?"undefined":n._(e))==="object"&&!("version"in e)&&"link_type"in e&&e.link_type===a.LinkType.Media&&"id"in e&&"name"in e&&"kind"in e&&"url"in e&&"size"in e||!1},r.prismicDocument=function(e){try{return(void 0===e?"undefined":n._(e))==="object"&&null!==e&&"id"in e&&"href"in e&&"string"==typeof e.href&&new URL(e.href)&&"type"in e&&"lang"in e&&"tags"in e&&Array.isArray(e.tags)}catch(e){return!1}},r.rtImageNode=function(e){return!!o(e)&&"type"in e&&e.type===i.RichTextNodeType.image}},14365,(e,t,r)=>{var n=e.r(15240),i=e.r(68996),a=e.r(40107),o=e.r(89883),s=e.r(64574),u=e.r(66069),c=e.r(4312),l=function(e){return n._(e,u.PrismicMigrationDocument)||
1c.prismicDocument(e)||(void 0===e?"undefined":i._(e))==="object"&&null!==e&&"link_type"in e&&e.link_type===o.LinkType.Document&&"id"in e&&(l(e.id)||"function"==typeof e.id)};r.contentRelationship=l,r.image=function(e){return n._(e,s.PrismicMigrationAsset)||(void 0===e?"undefined":i._(e))==="object"&&null!==e&&"id"in e&&Object.values(e).every(function(e){return n._(e,s.PrismicMigrationAsset)})},r.linkToMedia=function(e){return(void 0===e?"undefined":i._(e))==="object"&&null!==e&&"id"in e&&n._(e.id,s.PrismicMigrationAsset)&&"link_type"in e&&e.link_type===o.LinkType.Media},r.rtImageNode=function(e){return(void 0===e?"undefined":i._(e))==="object"&&null!==e&&"id"in e&&n._(e.id,s.PrismicMigrationAsset)&&"type"in e&&e.type===a.RichTextNodeType.image}},15252,(e,t,r)=>{r.getOptionalLinkProperties=function(e){var t={};return"text"in e&&(t.text=e.text),"variant"in e&&(t.variant=e.variant),t}},84268,(e,t,r)=>{var n=e.r(86172),i=e.r(15240),a=e.r(44086),o=e.r(4571),s=e.r(95692),u=e.r(91470),c=e.r(68996),l=e.r(21280),d=e.r(40107),f=e.r(89883),h=e.r(64574),p=e.r(66069),v=e.r(75342),g=e.r(14365),m=e.r(15252);function y(e){return n._(function(){var t,r;return l._(this,function(n){switch(n.label){case 0:if("function"!=typeof e)return[3,2];return[4,e()];case 1:return[2,y.apply(void 0,[n.sent()])];case 2:if(i._(e,p.PrismicMigrationDocument))return[2,e.document.id?{link_type:f.LinkType.Document,id:e.document.id}:{link_type:f.LinkType.Any}];if(t=e&&"link_type"in e?m.getOptionalLinkProperties(e):void 0,!e)return[3,5];if(!(g.contentRelationship(e.id)||"string"!=typeof e.id))return[3,4];return r=[{},t],[4,y(e.id)];case 3:return[2,a._.apply(void 0,r.concat([n.sent()]))];case 4:return[2,o._(a._({},t),{link_type:f.LinkType.Document,id:e.id})];case 5:return[2,o._(a._({},t),{link_type:f.LinkType.Any})]}})})()}var _=function(e,t,r){var n=i._(e,h.PrismicMigrationAsset)?{id:e}:e,o=n.id,c=s._(n,["id"]),l=null==(T=t._assets.get(o.config.id))?void 0:T.asset,d=o.originalField;if(l){var f=((null==d?void 0:d.url)||l.url).split("?")[1],p="".concat(l.url.split("?")[0]).concat(f?"?".concat(f):""),v={width:l.width,height:l.height},g=d&&"edit"in d?null==d?void 0:d.edit:{x:0,y:0,zoom:1,background:"transparent"},m=o.config.alt||l.alt||null,y={},b=!0,w=!1,k=void 0;if(r)try{for(var T,P,S=Object.entries(c)[Symbol.iterator]();!(b=(P=S.next()).done);b=!0){var R=u._(P.value,2),L=R[0],x=R[1],E=_(x,t);E&&(y[L]=E)}}catch(e){w=!0,k=e}finally{try{b||null==S.return||S.return()}finally{if(w)throw k}}return a._({id:l.id,url:p,dimensions:v,edit:g,alt:m,copyright:l.credits||null},y)}},b=function(e,t){var r,n=null==(r=t._assets.get(e.id.config.id))?void 0:r.asset,i=m.getOptionalLinkProperties(e);return n?o._(a._({},i),{id:n.id,link_type:f.LinkType.Media}):o._(a._({},i),{link_type:f.LinkType.Any})};r.resolveMigrationContentRelationship=y,r.resolveMigrationDocumentData=function e(t,r){return n._(function(){var i,s,u,f,h,p,m,w,k,T,P,S,R,L;return l._(this,function(x){switch(x.label){case 0:if(g.contentRelationship(t))return[2,y(t)];if(g.image(t))return[2,_(t,r,!0)];if(g.linkToMedia(t))return[2,b(t,r)];if(g.rtImageNode(t))return[2,n._(function(){var n,i;return l._(this,function(s){switch(s.label){case 0:if(!(n=_(t.id,r)))return[3,2];return[4,e(t.linkTo,r)];case 1:return i=s.sent(),[2,o._(a._({},n),{type:d.RichTextNodeType.image,linkTo:v.link(i)?i:void 0})];case 2:return[2]}})})()];if("function"!=typeof t)return[3,3];return[4,t()];case 1:return[4,e.apply(void 0,[x.sent(),r])];case 2:return[2,x.sent()];case 3:if(!Array.isArray(t))return[3,12];i=[],s=!0,u=!1,f=void 0,x.label=4;case 4:x.trys.push([4,9,10,11]),h=t[Symbol.iterator](),x.label=5;case 5:if(s=(p=h.next()).done)return[3,8];return m=p.value,w=i.push,[4,e(m,r)];case 6:w.apply(i,[x.sent()]),x.label=7;case 7:return s=!0,[3,5];case 8:return[3,11];case 9:return k=x.sent(),u=!0,f=k,[3,11];case 10:try{s||null==h.return||h.return()}finally{if(u)throw f}return[7];case 11:return[2,i.filter(Boolean)];case 12:if(!(t&&(void 0===t?"undefined":c._(t))==="object"))return[3,17];for(S in T={},P=[],t)P.push(S);R=0,x.label=13;
1case 13:if(!(R<P.length))return[3,16];return[4,e(t[L=P[R]],r)];case 14:T[L]=x.sent(),x.label=15;case 15:return R++,[3,13];case 16:return[2,T];case 17:return[2,t]}})})()}},59484,(e,t,r)=>{var n,i,a,o=e.r(86172),s=e.r(7655),u=e.r(95075),c=e.r(93510),l=e.r(63340),d=e.r(82372),f=e.r(27873),h=e.r(87502),p=e.r(15240),v=e.r(44086),g=e.r(4571),m=e.r(95692),y=e.r(91470),_=e.r(21280),b=e.r(52380),w=e.r(9462),k=e.r(15946),T=e.r(76949),P=e.r(41618),S=e.r(88007),R=e.r(84268),L="".concat(b.name.replace("@","").replace("/","-"),"/").concat(b.version);function x(e,t,r){return o._(function(){var n,i,a,o;return _._(this,function(s){switch(s.label){case 0:return[4,T.request(e,g._(v._({},this.fetchOptions,null==t?void 0:t.fetchOptions,r),{headers:g._(v._({},null==(n=this.fetchOptions)?void 0:n.headers,null==t||null==(i=t.fetchOptions)?void 0:i.headers,null==r?void 0:r.headers),{repository:this.repositoryName,authorization:"Bearer ".concat(this.writeToken)}),signal:(null==t||null==(a=t.fetchOptions)?void 0:a.signal)||(null==t?void 0:t.signal)||(null==(o=this.fetchOptions)?void 0:o.signal)}),this.fetchFn)];case 1:return[2,s.sent()]}})}).call(this)}function E(e){return o._(function(){var t;return _._(this,function(r){switch(r.label){case 0:return[4,e.json()];case 1:switch(t=r.sent(),e.status){case 401:case 403:throw new P.ForbiddenError(t.error,e.url,t);case 404:throw new P.NotFoundError(t.error,e.url,t);case 400:throw new P.InvalidDataError(t.error,e.url,t);default:throw new P.PrismicError(t.error,e.url,t)}}})})()}function A(e){return o._(function(){var t,r;return _._(this,function(n){switch(n.label){case 0:return[4,e.json()];case 1:switch(r=(t=n.sent()).message,e.status){case 400:throw new P.InvalidDataError(r,e.url,t);case 401:throw new P.ForbiddenError(r,e.url,t);case 403:throw new P.ForbiddenError(null!=r?r:t.Message,e.url,t);case 404:throw new P.NotFoundError(r,e.url,t);default:throw new P.PrismicError(r,e.url,t)}}})})()}n=new WeakSet,i=new WeakSet,a=new WeakSet,r.WriteClient=function(e){"use strict";function t(e,r){var o;return u._(this,t),o=s._(this,t,[e,r]),l._(o,n),l._(o,i),l._(o,a),f._(o,"writeToken",void 0),f._(o,"assetAPIEndpoint","https://asset-api.prismic.io/"),f._(o,"migrationAPIEndpoint","https://migration.prismic.io/"),f._(o,"_resolveAssetTagIDsLimit",k.pLimit()),void 0!==globalThis.window&&console.warn("[@prismicio/client] Prismic write client appears to be running in a browser environment. This is not recommended as it exposes your write token. Consider using Prismic write client in a server environment only, preferring the regular client for browser environment. For more details, see ".concat(w.devMsg("avoid-write-client-in-browser"))),o.writeToken=r.writeToken,r.assetAPIEndpoint&&(o.assetAPIEndpoint="".concat(r.assetAPIEndpoint,"/")),r.migrationAPIEndpoint&&(o.migrationAPIEndpoint="".concat(r.migrationAPIEndpoint,"/")),o}return h._(t,e),d._(t,[{key:"migrate",value:function(e){return o._(function(e){var t,r,n,i=arguments;return _._(this,function(a){switch(a.label){case 0:return null==(r=(t=i.length>1&&void 0!==i[1]?i[1]:{}).reporter)||r.call(t,{type:"start",data:{pending:{documents:e._documents.length,assets:e._assets.size}}}),[4,this.migrateCreateAssets(e,t)];case 1:return a.sent(),[4,this.migrateCreateDocuments(e,t)];case 2:return a.sent(),[4,this.migrateUpdateDocuments(e,t)];case 3:return a.sent(),null==(n=t.reporter)||n.call(t,{type:"end",data:{migrated:{documents:e._documents.length,assets:e._assets.size}}}),[2]}})}).apply(this,arguments)}},{key:"migrateCreateAssets",value:function(e){return o._(function(e){var t,r,n,i,a,o,s,u,c,l,d,f,h,g,b,w,k,T,P,S,R,L=arguments;return _._(this,function(_){switch(_.label){case 0:r=(t=L.length>1&&void 0!==L[1]?L[1]:{}).reporter,n=m._(t,["reporter"]),i=0,a=!0,o=!1,s=void 0,_.label=1;case 1:_.trys.push([1,13,14,15]),u=e._assets[Symbol.iterator](),_.label=2;case 2:if(a=(c=u.next()).done)return[3,12];if((l=y._(c.value,2))[0],d=l[1],null==r||r({type:"assets:creating",data:{current:++i,remaining:e._assets.size-i,total:e._assets.size,asset:d}}),h=(f=d.config).file,g=f.filename,b=f.notes,w=f.credits,k=f.alt,T=f.tags,P=void 0,"string"!=typeof h)return[3,6];S=void 0;try{S=new URL(h)}catch(e){}if(!S)return[3,4];return[4,this.fetchForeignAsset(S.toString(),n)];case 3:return P=_.sent(),[3,5];case 4:P=h,_.label=5;case 5:return[3,9];case 6:if(!p._(h,URL))return[3,8];return[4,this.fetchForeignAsset(h.toString(),n)];case 7:return P=_.sent(),[3,9];case 8:P=h,_.label=9;
1case 9:return[4,this.createAsset(P,g,v._({notes:b,credits:w,alt:k,tags:T},n))];case 10:d.asset=_.sent(),_.label=11;case 11:return a=!0,[3,2];case 12:return[3,15];case 13:return R=_.sent(),o=!0,s=R,[3,15];case 14:try{a||null==u.return||u.return()}finally{if(o)throw s}return[7];case 15:return null==r||r({type:"assets:created",data:{created:i}}),[2]}})}).apply(this,arguments)}},{key:"migrateCreateDocuments",value:function(e){return o._(function(e){var t,r,n,i,a,o,s,u,c,l,d,f,h,p,y,b,w,k,T,P,S,L,x,E,A,D=arguments;return _._(this,function(_){switch(_.label){case 0:return r=(t=D.length>1&&void 0!==D[1]?D[1]:{}).reporter,n=m._(t,["reporter"]),[4,this.getRepository(n)];case 1:i=_.sent().languages[0].id,null==r||r({type:"documents:masterLocale",data:{masterLocale:i}}),a=[],o=!0,s=!1,u=void 0;try{for(c=e._documents[Symbol.iterator]();!(o=(l=c.next()).done);o=!0)(d=l.value).document.id||(d.document.lang===i?a.unshift(d):a.push(d))}catch(e){s=!0,u=e}finally{try{o||null==c.return||c.return()}finally{if(s)throw u}}f=0,h=!0,p=!1,y=void 0,_.label=2;case 2:_.trys.push([2,10,11,12]),b=a[Symbol.iterator](),_.label=3;case 3:if(h=(w=b.next()).done)return[3,9];if(k=w.value,null==r||r({type:"documents:creating",data:{current:++f,remaining:a.length-f,total:a.length,document:k}}),T=void 0,!k.masterLanguageDocument)return[3,5];return[4,R.resolveMigrationContentRelationship(k.masterLanguageDocument)];case 4:return T="id"in(P=_.sent())?P.id:void 0,[3,6];case 5:k.originalPrismicDocument&&(L=null==(S=k.originalPrismicDocument.alternate_languages.find(function(e){return e.lang===i}))?void 0:S.id)&&(T=null==(x=e._getByOriginalID(L))?void 0:x.document.id),_.label=6;case 6:return[4,this.createDocument(g._(v._({},k.document),{data:{}}),k.title,v._({masterLanguageDocumentID:T},n))];case 7:E=_.sent().id,k.document.id=E,_.label=8;case 8:return h=!0,[3,3];case 9:return[3,12];case 10:return A=_.sent(),p=!0,y=A,[3,12];case 11:try{h||null==b.return||b.return()}finally{if(p)throw y}return[7];case 12:return null==r||r({type:"documents:created",data:{created:f}}),[2]}})}).apply(this,arguments)}},{key:"migrateUpdateDocuments",value:function(e){return o._(function(e){var t,r,n,i,a,o,s,u,c,l,d,f,h,p,y,b,w=arguments;return _._(this,function(_){switch(_.label){case 0:r=(t=w.length>1&&void 0!==w[1]?w[1]:{}).reporter,n=m._(t,["reporter"]),i=0,a=!0,o=!1,s=void 0,_.label=1;case 1:_.trys.push([1,7,8,9]),u=e._documents[Symbol.iterator](),_.label=2;case 2:if(a=(c=u.next()).done)return[3,6];return l=c.value,null==r||r({type:"documents:updating",data:{current:++i,remaining:e._documents.length-i,total:e._documents.length,document:l}}),f=(d=this).updateDocument,h=[l.document.id],p=[v._({},l.document)],y={documentTitle:l.title},[4,R.resolveMigrationDocumentData(l.document.data,e)];case 3:return[4,f.apply(d,h.concat([g._.apply(void 0,p.concat([(y.data=_.sent(),y)])),n]))];case 4:_.sent(),_.label=5;case 5:return a=!0,[3,2];case 6:return[3,9];case 7:return b=_.sent(),o=!0,s=b,[3,9];case 8:try{a||null==u.return||u.return()}finally{if(o)throw s}return[7];case 9:return null==r||r({type:"documents:updated",data:{updated:e._documents.length}}),[2]}})}).apply(this,arguments)}},{key:"createAsset",value:function(e,t){return o._(function(e,t){var r,a,o,s,u,l,d,f,h,v,g=arguments;return _._(this,function(y){switch(y.label){case 0:return a=(r=g.length>2&&void 0!==g[2]?g[2]:{}).notes,o=r.credits,s=r.alt,u=r.tags,l=m._(r,["notes","credits","alt","tags"]),d=new URL("assets",this.assetAPIEndpoint),(f=new FormData).append("file",new File([e],t,{type:p._(e,File)?e.type:void 0})),a&&f.append("notes",a),o&&f.append("credits",o),s&&f.append("alt",s),[4,c._(this,n,x).call(this,d,l,{method:"POST",body:f})];case 1:if(200===(h=y.sent()).status)return[3,2];return[3,4];case 2:return[4,h.json()];case 3:if(v=y.sent(),u&&u.length)return[2,this.updateAsset(v.id,{tags:u})];return[2,v];case 4:return[4,c._(this,i,E).call(this,h)];case 5:return[2,y.sent()];case 6:return[2]}})}).apply(this,arguments)}},{key:"updateAsset",value:function(e){return o._(function(e){var t,r,a,o,s,u,l,d,f,h=arguments;return _._(this,function(p){switch(p.label){case 0:if(r=(t=h.length>1&&void 0!==h[1]?h[1]:{}).notes,a=t.credits,o=t.alt,s=t.filename,u=t.tags,l=m._(t,["notes","credits","alt","filename","tags"]),d=new URL("assets/".concat(e),this.assetAPIEndpoint),!(u&&u.length))return[3,2];return[4,this.resolveAssetTagIDs(u,v._({createTags:!0},l))];case 1:u=p.sent(),p.label=2;case 2:return[4,c._(this,n,x).call(this,d,l,{method:"PATCH",body:JSON.stringify({notes:r,credits:a,alt:o,filename:s,tags:u}),headers:{"content-type":"application/json"}})];case 3:if(200===(f=p.sent()).status)return[3,4];return[3,6];case 4:return[4,f.json()];case 5:case 7:return[2,p.sent()];
1case 6:return[4,c._(this,i,E).call(this,f)];case 8:return[2]}})}).apply(this,arguments)}},{key:"fetchForeignAsset",value:function(e){return o._(function(e){var t,r,i=arguments;return _._(this,function(a){switch(a.label){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:{},[4,c._(this,n,x).call(this,new URL(e),t)];case 1:if(!(r=a.sent()).ok)throw new P.PrismicError("Could not fetch foreign asset",e,void 0);return[4,r.blob()];case 2:return[2,new File([a.sent()],"",{type:r.headers.get("content-type")||void 0})]}})}).apply(this,arguments)}},{key:"resolveAssetTagIDs",value:function(){return o._(function(){var e,t,r,n,i,a=arguments;return _._(this,function(s){return e=this,t=a.length>0&&void 0!==a[0]?a[0]:[],n=(r=a.length>1&&void 0!==a[1]?a[1]:{}).createTags,i=m._(r,["createTags"]),[2,this._resolveAssetTagIDsLimit(function(){return o._(function(){var e,r,a,o,s,u,c,l,d,f,h,p,v,g,m,y;return _._(this,function(_){switch(_.label){case 0:return[4,this.getAssetTags(i)];case 1:e=_.sent(),r={},a=!0,o=!1,s=void 0;try{for(u=e[Symbol.iterator]();!(a=(c=u.next()).done);a=!0)r[(l=c.value).name]=l}catch(e){o=!0,s=e}finally{try{a||null==u.return||u.return()}finally{if(o)throw s}}d=[],f=!0,h=!1,p=void 0,_.label=2;case 2:_.trys.push([2,8,9,10]),v=t[Symbol.iterator](),_.label=3;case 3:if(f=(g=v.next()).done)return[3,7];if(!(!r[m=g.value]&&n))return[3,5];return[4,this.createAssetTag(m,i)];case 4:r[m]=_.sent(),_.label=5;case 5:r[m]&&d.push(r[m].id),_.label=6;case 6:return f=!0,[3,3];case 7:return[3,10];case 8:return y=_.sent(),h=!0,p=y,[3,10];case 9:try{f||null==v.return||v.return()}finally{if(h)throw p}
1return[7];case 10:return[2,d]}})}).call(e)})]})}).apply(this,arguments)}},{key:"createAssetTag",value:function(e,t){return o._(function(){var r,a;return _._(this,function(o){switch(o.label){case 0:return r=new URL("tags",this.assetAPIEndpoint),[4,c._(this,n,x).call(this,r,t,{method:"POST",body:JSON.stringify({name:e}),headers:{"content-type":"application/json"}})];case 1:if(201===(a=o.sent()).status)return[3,2];return[3,4];case 2:return[4,a.json()];case 3:case 5:return[2,o.sent()];case 4:return[4,c._(this,i,E).call(this,a)];case 6:return[2]}})}).call(this)}},{key:"getAssetTags",value:function(e){return o._(function(){var t,r;return _._(this,function(a){switch(a.label){case 0:return t=new URL("tags",this.assetAPIEndpoint),[4,c._(this,n,x).call(this,t,e)];case 1:if(200===(r=a.sent()).status)return[3,2];return[3,4];case 2:return[4,r.json()];case 3:return[2,a.sent().items];case 4:return[4,c._(this,i,E).call(this,r)];case 5:return[2,a.sent()];case 6:return[2]}})}).call(this)}},{key:"createDocument",value:function(e,t){return o._(function(e,t){var r,i,o,s,u,l,d=arguments;return _._(this,function(f){switch(f.label){case 0:return i=(r=d.length>2&&void 0!==d[2]?d[2]:{}).masterLanguageDocumentID,o=m._(r,["masterLanguageDocumentID"]),s=new URL("documents",this.migrationAPIEndpoint),[4,c._(this,n,x).call(this,s,o,{method:"POST",body:JSON.stringify({title:t,type:e.type,uid:e.uid||void 0,lang:e.lang,alternate_language_id:i,tags:e.tags,data:e.data}),headers:{"content-type":"application/json","x-client":L}})];case 1:if(201===(u=f.sent()).status)return[3,2];return[3,4];case 2:return l={},[4,u.json()];case 3:return[2,(l.id=f.sent().id,l)];case 4:return[4,c._(this,a,A).call(this,u)];case 5:return[2,f.sent()];case 6:return[2]}})}).apply(this,arguments)}},{key:"updateDocument",value:function(e,t,r){return o._(function(){var i,o;return _._(this,function(s){switch(s.label){case 0:return i=new URL("documents/".concat(e),this.migrationAPIEndpoint),[4,c._(this,n,x).call(this,i,r,{method:"PUT",body:JSON.stringify({title:t.documentTitle,uid:t.uid||void 0,tags:t.tags,data:t.data}),headers:{"content-type":"application/json","x-client":L}})];case 1:if(200===(o=s.sent()).status)return[3,2];return[3,3];case 2:return[2];case 3:return[4,c._(this,a,A).call(this,o)];case 4:s.sent(),s.label=5;case 5:return[2]}})}).call(this)}}]),t}(S.Client)},86578,(e,t,r)=>{var n=e.r(59484);r.createWriteClient=function(e,t){return new n.WriteClient(e,t)}},88614,(e,t,r)=>{var n=e.r(41618);r.validateAssetMetadata=function(e){var t=e.notes,r=e.credits,i=e.alt,a=e.tags,o=[];if(t&&t.length>500&&o.push("`notes` must be at most ".concat(500," characters")),r&&r.length>500&&o.push("`credits` must be at most ".concat(500," characters")),i&&i.length>500&&o.push("`alt` must be at most ".concat(500," characters")),a&&a.length&&a.some(function(e){return e.length<3||e.length>20})&&o.push("tags must be at least 3 characters long and 20 characters at most"),o.length)throw new n.PrismicError("Errors validating asset metadata: ".concat(o.join(", ")),void 0,{notes:t,credits:r,alt:i,tags:a})}},49663,(e,t,r)=>{var n,i=e.r(95075),a=e.r(93510),o=e.r(63340),s=e.r(82372),u=e.r(27873),c=e.r(44086),l=e.r(4571),d=e.r(95692),f=e.r(21991),h=e.r(68996),p=e.r(40107),v=e.r(89883),g=e.r(64574),m=e.r(66069),y=e.r(4312),_=e.r(15252),b=e.r(88614);function w(e){var t=this;if(y.filledContentRelationship(e)){var r=_.getOptionalLinkProperties(e);return e.isBroken?l._(c._({},r),{link_type:v.LinkType.Document,id:"_____broken_____",isBroken:!0}):l._(c._({},r),{link_type:v.LinkType.Document,id:function(){return t._getByOriginalID(e.id)}})}if(y.filledLinkToMedia(e))return l._(c._({},_.getOptionalLinkProperties(e)),{link_type:v.LinkType.Media,id:this.createAsset(e)});if(y.rtImageNode(e)){var i={type:p.RichTextNodeType.image,id:this.createAsset(e)};return e.linkTo&&(i.linkTo=a._(this,n,w).call(this,e.linkTo)),i}if(y.filledImage(e)){var o={id:this.createAsset(e)};e.id,e.url,e.dimensions,e.edit,e.alt,e.copyright;var s=d._(e,["id","url","dimensions","edit","alt","copyright"]);for(var u in s)y.filledImage(s[u])&&(o[u]=this.createAsset(s[u]));return o}if(Array.isArray(e))return e.map(function(e){return a._(t,n,w).call(t,e)});if(e&&(void 0===e?"undefined":h._(e))==="object"){var f={};for(var g in e)f[g]=a._(this,n,w).call(this,e[g]);return f}return e}n=new WeakSet,r.Migration=function(){"use strict";function e(){i._(this,e),o._(this,n),u._(this,"_assets",new Map),u._(this,"_documents",[])}return s._(e,[{key:"createAsset",value:function(e,t){var r,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.notes,s=a.credits,u=a.alt,c=a.tags;if((void 0===e?"undefined":h._(e))==="object"&&"url"in e)if("dimensions"in e||"link_type"in e){var l=e.url.split("?")[0],d="name"in e?e.name:l.split("/").pop().split("_").pop(),p="copyright"in e&&e.copyright?e.copyright:void 0,v="alt"in e&&e.alt?e.alt:void 0;"dimensions"in e&&(n=e),r={id:e.id,file:l,filename:d,notes:void 0,credits:p,alt:v,tags:void 0}}else r={id:e.id,file:e.url,filename:e.filename,notes:e.notes,credits:e.credits,alt:e.alt,tags:null==(i=e.tags)?void 0:i.map(function(e){return e.name})};else r={id:e,file:e,filename:t,notes:o,credits:s,alt:u,tags:c}
1;b.validateAssetMetadata(r);var m=new g.PrismicMigrationAsset(r,n),y=this._assets.get(r.id);return y?(y.config.notes=y.config.notes||r.notes,y.config.credits=y.config.credits||r.credits,y.config.alt=y.config.alt||r.alt,y.config.tags=Array.from(new Set(f._(y.config.tags||[]).concat(f._(r.tags||[]))))):this._assets.set(r.id,m),m}},{key:"createDocument",value:function(e,t,r){var n=new m.PrismicMigrationDocument(e,t,r);return this._documents.push(n),n}},{key:"updateDocument",value:function(e,t){var r=new m.PrismicMigrationDocument(e,t);return this._documents.push(r),r}},{key:"createDocumentFromPrismic",value:function(e,t){var r=new m.PrismicMigrationDocument(a._(this,n,w).call(this,{type:e.type,lang:e.lang,uid:e.uid,tags:e.tags,data:e.data}),t,{originalPrismicDocument:e});return this._documents.push(r),r}},{key:"getByUID",value:function(e,t){return this._documents.find(function(r){return r.document.type===e&&r.document.uid===t})}},{key:"getSingle",value:function(e){return this._documents.find(function(t){return t.document.type===e})}},{key:"_getByOriginalID",value:function(e){return this._documents.find(function(t){var r;return(null==(r=t.originalPrismicDocument)?void 0:r.id)===e})}}]),e}()},33732,(e,t,r)=>{var n=e.r(49663);r.createMigration=function(){return new n.Migration}},18523,(e,t,r)=>{var n=e.r(41618),i=e.r(9362);r.getGraphQLEndpoint=function(e){if(i.isRepositoryName(e))return"https://".concat(e,".cdn.prismic.io/graphql");throw new n.PrismicError("An invalid Prismic repository name was given: ".concat(e),void 0,void 0)}},82288,(e,t,r)=>{var n=e.r(41618),i=e.r(9362);r.getToolbarSrc=function(e){if(i.isRepositoryName(e))return"https://static.cdn.prismic.io/prismic.js?new=true&repo=".concat(e);throw new n.PrismicError("An invalid Prismic repository name was given: ".concat(e),void 0,void 0)}},84104,(e,t,r)=>{r.asDate=function(e){return e?new Date(24===e.length?e.replace(/(\+|-)(\d{2})(\d{2})$/,".000$1$2:$3"):e):null}},95262,(e,t,r)=>{r.isInternalURL=function(e){var t=/^(\/(?!\/)|#)/.test(e),r=!t&&!/^https?:\/\//.test(e);return t&&!r}},66404,(e,t,r)=>{var n=e.r(36131),i=e.r(75342),a=e.r(95262);r.asLinkAttrs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&("link_type"in e?i.link(e):e)){var r="target"in e?e.target:void 0,o=n.asLink(e,t.linkResolver),s=null==o?void 0:o,u="string"==typeof s&&!a.isInternalURL(s),c=t.rel?t.rel({href:s,isExternal:u,target:r}):u?"noreferrer":void 0;return{href:s,target:r,rel:null==c?void 0:c}}return{}}},25199,(e,t,r)=>{r.asText=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r="",n=0;n<e.length;n++)"text"in e[n]&&(r+=(r?t:"")+e[n].text);return r}},96209,(e,t,r)=>{var n=e.r(44086),i=e.r(91470),a=e.r(25199);r.asText=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(!e)return null;var s,u=i._(r,1)[0];return s="string"==typeof u?{separator:u}:n._({},u),a.asText(e,s.separator)}},5338,(e,t,r)=>{var n=/["'&<>]/;r.escapeHTML=function(e){var t,r=""+e,i=n.exec(r);if(!i)return r;var a="",o=0,s=0;for(o=i.index;o<r.length;o++){switch(r.charCodeAt(o)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==o&&(a+=r.substring(s,o)),s=o+1,a+=t}return s!==o?a+r.substring(s,o):a}},61766,(e,t,r)=>{var n=e.r(27873),i=e.r(44086),a=e.r(4571),o=e.r(89883),s=e.r(36131),u=e.r(5338),c=function(e,t){var r=i._({},t);"direction"in e&&"rtl"===e.direction&&(r.dir=e.direction),"data"in e&&"label"in e.data&&e.data.label&&(r.class=r.class?"".concat(r.class," ").concat(e.data.label):e.data.label);var n=[];for(var a in r){var o=r[a];o&&("boolean"==typeof o?n.push(a):n.push("".concat(a,'="').concat(u.escapeHTML(o),'"')))}return n.length&&n.unshift(""),n.join(" ")},l=function(e){return e&&"function"!=typeof e?e:{}},d=function(e,t){var r=l(t);return function(t){var n=t.node,a=t.children,u=i._({},r);return n.data.link_type===o.LinkType.Web?(u.href=n.data.url,u.target=n.data.target,u.rel="noopener noreferrer"):n.data.link_type===o.LinkType.Document?u.href=s.asLink(n.data,{linkResolver:e}):n.data.link_type===o.LinkType.Media&&(u.href=n.data.url),"<a".concat(c(n,u),">").concat(a,"</a>")}};r.serializeEmbed=function(e){var t=l(e);return function(e){var r,o=e.node;return"<div".concat(c(o,a._(i._({}
1,t),(r={},n._(r,"data-oembed",o.oembed.embed_url),n._(r,"data-oembed-type",o.oembed.type),n._(r,"data-oembed-provider",o.oembed.provider_name),r))),">").concat(o.oembed.html,"</div>")}},r.serializeHyperlink=d,r.serializeImage=function(e,t){var r=l(t);return function(t){var n=t.node,o="<img".concat(c(n,a._(i._({},r),{src:n.url,alt:n.alt,copyright:n.copyright}))," />");return n.linkTo&&(o=d(e)({type:"hyperlink",node:{type:"hyperlink",data:n.linkTo,start:0,end:0},text:"",children:o,key:""})),'<p class="block-img">'.concat(o,"</p>")}},r.serializePreFormatted=function(e){var t=l(e);return function(e){var r=e.node;return"<pre".concat(c(r,t),">").concat(u.escapeHTML(r.text),"</pre>")}},r.serializeSpan=function(){return function(e){var t=e.text;return t?u.escapeHTML(t).replace(/\n/g,"<br />"):""}},r.serializeStandardTag=function(e,t){var r=l(t);return function(t){var n=t.node,i=t.children;return"<".concat(e).concat(c(n,r),">").concat(i,"</").concat(e,">")}}},94572,(e,t,r)=>{var n=e.r(44086),i=e.r(4571),a=e.r(40107),o=function(){return(++o.i).toString()};o.i=0;var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{key:o(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}},u=function(e){return s({type:a.RichTextNodeType.span,text:e,spans:[]})},c=function(e){for(var t=e.slice(0),r=0;r<t.length;r++){var n=t[r];if(n.type===a.RichTextNodeType.listItem||n.type===a.RichTextNodeType.oListItem){for(var i=[n];t[r+1]&&t[r+1].type===n.type;)i.push(t[r+1]),t.splice(r,1);n.type===a.RichTextNodeType.listItem?t[r]={type:a.RichTextNodeType.list,items:i}:t[r]={type:a.RichTextNodeType.oList,items:i}}}return t},l=function(e){if("text"in e)return s(e,d(e.spans,e));if("items"in e){for(var t=[],r=0;r<e.items.length;r++)t.push(l(e.items[r]));return s(e,t)}return s(e)},d=function(e,t,r){if(!e.length)return[u(t.text)];var a=e.slice(0);a.sort(function(e,t){return e.start-t.start||t.end-e.end});for(var o=[],c=0;c<a.length;c++){for(var l=a[c],f=r&&r.start||0,h=l.start-f,p=l.end-f,v=t.text.slice(h,p),g=[],m=c;m<a.length;m++){var y=a[m];y!==l&&(y.start>=l.start&&y.end<=l.end?(g.push(y),a.splice(m,1),m--):y.start<l.end&&y.end>l.start&&(g.push(i._(n._({},y),{end:l.end})),a[m]=i._(n._({},y),{start:l.end})))}0===c&&h>0&&o.push(u(t.text.slice(0,h)));var _=i._(n._({},l),{text:v});o.push(s(_,d(g,i._(n._({},t),{text:v}),l))),p<t.text.length&&o.push(u(t.text.slice(p,a[c+1]?a[c+1].start-f:void 0)))}return o};r.asTree=function(e){for(var t=c(e),r=[],n=0;n<t.length;n++)r.push(l(t[n]));return{key:o(),children:r}}},56546,(e,t,r)=>{var n=e.r(94572),i=function(e,t){for(var r=[],n=0;n<e.length;n++){var a=e[n],o=t(a.type,a.node,a.text,i(a.children,t),a.key);null!=o&&r.push(o)}return r};r.serialize=function(e,t){return i(n.asTree(e).children,t)}},57823,(e,t,r)=>{var n,i=e.r(27873),a=e.r(40107);n={},i._(n,a.RichTextNodeType.listItem,"listItem"),i._(n,a.RichTextNodeType.oListItem,"oListItem"),i._(n,a.RichTextNodeType.list,"list"),i._(n,a.RichTextNodeType.oList,"oList"),r.RichTextReversedNodeType=n},4197,(e,t,r)=>{var n=e.r(57823);r.wrapMapSerializer=function(e){return function(t,r,i,a,o){var s=e[n.RichTextReversedNodeType[t]||t];if(s)return s({type:t,node:r,text:i,children:a,key:o})}}},1482,(e,t,r)=>{var n=e.r(21991);r.composeSerializers=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];for(var a=0;a<t.length;a++){var o=t[a];if(o){var s=o.apply(void 0,n._(r));if(null!=s)return s}}}}},96958,(e,t,r)=>{var n=e.r(44086),i=e.r(4571),a=e.r(91470),o=e.r(61766),s=e.r(56546),u=e.r(4197),c=e.r(1482),l=function(e,t){var r=function(e,t){return"function"==typeof e?function(r){return(null==e?void 0:e(r))||t(r)}:t};return d({heading1:r(null==t?void 0:t.heading1,o.serializeStandardTag("h1",null==t?void 0:t.heading1)),heading2:r(null==t?void 0:t.heading2,o.serializeStandardTag("h2",null==t?void 0:t.heading2)),heading3:r(null==t?void 0:t.heading3,o.serializeStandardTag("h3",null==t?void 0:t.heading3)),heading4:r(null==t?void 0:t.heading4,o.serializeStandardTag("h4",null==t?void 0:t.heading4)),heading5:r(null==t?void 0:t.heading5,o.seri
1alizeStandardTag("h5",null==t?void 0:t.heading5)),heading6:r(null==t?void 0:t.heading6,o.serializeStandardTag("h6",null==t?void 0:t.heading6)),paragraph:r(null==t?void 0:t.paragraph,o.serializeStandardTag("p",null==t?void 0:t.paragraph)),preformatted:r(null==t?void 0:t.preformatted,o.serializePreFormatted(null==t?void 0:t.preformatted)),strong:r(null==t?void 0:t.strong,o.serializeStandardTag("strong",null==t?void 0:t.strong)),em:r(null==t?void 0:t.em,o.serializeStandardTag("em",null==t?void 0:t.em)),listItem:r(null==t?void 0:t.listItem,o.serializeStandardTag("li",null==t?void 0:t.listItem)),oListItem:r(null==t?void 0:t.oListItem,o.serializeStandardTag("li",null==t?void 0:t.oListItem)),list:r(null==t?void 0:t.list,o.serializeStandardTag("ul",null==t?void 0:t.list)),oList:r(null==t?void 0:t.oList,o.serializeStandardTag("ol",null==t?void 0:t.oList)),image:r(null==t?void 0:t.image,o.serializeImage(e,null==t?void 0:t.image)),embed:r(null==t?void 0:t.embed,o.serializeEmbed(null==t?void 0:t.embed)),hyperlink:r(null==t?void 0:t.hyperlink,o.serializeHyperlink(e,null==t?void 0:t.hyperlink)),label:r(null==t?void 0:t.label,o.serializeStandardTag("span",null==t?void 0:t.label)),span:r(null==t?void 0:t.span,o.serializeSpan())})},d=function(e){var t={};for(var r in e)!function(r){var a=e[r];a&&(t[r]=function(e){return a(i._(n._({},e),{children:e.children.join("")}))})}(r);return u.wrapMapSerializer(t)};r.asHTML=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];if(!e)return null;var o,u,d=a._(r,2),f=d[0],h=d[1];return u=(o="function"==typeof f||null==f?{linkResolver:f,serializer:h}:n._({},f)).serializer?"function"==typeof o.serializer?c.composeSerializers(function(e,t,r,n,i){return o.serializer(e,t,r,n.join(""),i)},l(o.linkResolver)):l(o.linkResolver,o.serializer):l(o.linkResolver),s.serialize(e,u).join("")}},57047,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.buildURL=function(e,t){var r=new URL(e);for(var n in t){var i=n.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),a=t[n];void 0===a?r.searchParams.delete(i):Array.isArray(a)?r.searchParams.set(i,a.join(",")):r.searchParams.set(i,"".concat(a))}var o=r.searchParams.get("s");return o&&(r.searchParams.delete("s"),r.searchParams.append("s",o)),r.toString()}},81294,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(4571),a=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var o=e.r(57047);r.buildPixelDensitySrcSet=function(e,t){var r=t.pixelDensities,s=a._(t,["pixelDensities"]);return r.map(function(t){return"".concat(o.buildURL(e,i._(n._({},s),{dpr:t}))," ").concat(t,"x")}).join(", ")}},78485,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(4571),a=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var o=e.r(57047);r.buildWidthSrcSet=function(e,t){var r=t.widths,s=a._(t,["widths"]);return r.map(function(t){return"".concat(o.buildURL(e,i._(n._({},s),{w:void 0,h:void 0,height:void 0,width:t}))," ").concat(t,"w")}).join(", ")}},41547,(e,t,r)=>{"use strict";var n=e.r(95075),i=e.r(82372),a=e.r(68996),o=Object.defineProperty,s=function(e,t,r){var n;return n=(void 0===t?"undefined":a._(t))!=="symbol"?t+"":t,n in e?o(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var u=e.r(81294),c=e.r(57047),l=e.r(78485);r.Client=function(){function e(t){n._(this,e),s(this,"baseURL"),this.baseURL=t.baseURL}return i._(e,[{key:"buildURLForPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.buildURL("".concat(new URL(e,this.baseURL)),t)}},{key:"buildWidthSrcSetForPath",value:function(e,t){return l.buildWidthSrcSet("".concat(new URL(e,this.baseURL)),t)}},{key:"buildPixelDensitySrcSetForPath",value:function(e,t){return u.buildPixelDensitySrcSet("".concat(new URL(e,this.baseURL)),t)}}]),e}()},99748,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(41547),i=e.r(57047),a=e.r(78485),o=e.r(81294);r.Client=n.Client,r.buildURL=i.buildURL,r.buildWidthSrcSet=a.buildWidthSrcSet,r.buildPixelDensitySrcSet=o.buildPixelDensitySrcSet},28074,(e,t,r)=>{var n=e.r(75342),i=e.r(99748);r.asImageSrc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e&&n.imageThumbnail(e)?(0,i.buildURL)(e.url,t):null}},27347,(e,t,r)=>{var n=e.r(44086),i=e.r(4571),a=e.r(95692),o=e.r(21991),s=e.r(75342),u=e.r(99748),c=[640,828,1200,2048,3840];r.asImageWidthSrcSet=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e&&s.imageThumbnail(e)))return null;var r=t.widths,l=void 0===r?c:r,d=a._(t,["widths"]),f=e.url,h=e.dimensions,p=Object.values((e.id,e.alt,e.copyright,e.edit,a._(e,["url","dimensions","id","alt","copyright","edit"])));return"thumbnails"===l&&p.length<1&&(l=c),{src:(0,u.buildURL)(f,d),srcset:"thumbnails"===l?[(0,u.buildWidthSrcSet)(f,i._(n._({},d),{widths:[h.width]}))].concat(o._(p.map(function(e){return(0,u.buildWidthSrcSet)(e.url,i._(n._({},d),{widths:[e.dimensions.width]}))}))).join(", "):(0,u.buildWidthSrcSet)(e.url,i._(n._({},d),{widths:l}))}}},50532,(e,t,r)=>{var n=e.r(44086),i=e.r(4571),a=e.r(95692),o=e.r(75342),s=e.r(99748),u=[1,2,3];r.asImagePixelDensitySrcSet=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e&&o.imageThumbnail(e)))return null;var r=t.pixelDensities,c=a._(t,["pixelDensities"]);return{src:(0,s.buildURL)(e.url,c),srcset:(0,s.buildPixelDensitySrcSet)(e.url,i._(n._({}
1,c),{pixelDensities:void 0===r?u:r}))}}},70127,(e,t,r)=>{r.OEmbedType={Photo:"photo",Video:"video",Link:"link",Rich:"rich"}},64357,(e,t,r)=>{r.CustomTypeModelFieldType={Boolean:"Boolean",Color:"Color",Date:"Date",Embed:"Embed",GeoPoint:"GeoPoint",Group:"Group",Image:"Image",Integration:"IntegrationFields",Link:"Link",Number:"Number",Select:"Select",Slices:"Slices",StructuredText:"StructuredText",Table:"Table",Text:"Text",Timestamp:"Timestamp",UID:"UID",IntegrationFields:"IntegrationFields",Range:"Range",Separator:"Separator",LegacySlices:"Choice"}},60097,(e,t,r)=>{r.CustomTypeModelLinkSelectType={Document:"document",Media:"media",Web:"web"}},25748,(e,t,r)=>{r.CustomTypeModelSliceType={Slice:"Slice",SharedSlice:"SharedSlice"}},83807,(e,t,r)=>{r.CustomTypeModelSliceDisplay={List:"list",Grid:"grid"}},54263,(e,t,r)=>{r.WebhookType={APIUpdate:"api-update",TestTrigger:"test-trigger"}},74454,(e,t,r)=>{var n=e.r(40107),i=e.r(92471),a=e.r(81583),o=e.r(93855),s=e.r(41618),u=e.r(89883),c=e.r(78402),l=e.r(36131),d=e.r(19422),f=e.r(9362),h=e.r(17593),p=e.r(59794),v=e.r(8897),g=e.r(88007),m=e.r(76570),y=e.r(64574),_=e.r(66069),b=e.r(75342),w=e.r(59484),k=e.r(86578),T=e.r(49663),P=e.r(33732),S=e.r(18523),R=e.r(82288),L=e.r(84104),x=e.r(66404),E=e.r(96209),A=e.r(96958),D=e.r(28074),I=e.r(27347),M=e.r(50532),O=e.r(70127),j=e.r(64357),F=e.r(60097),U=e.r(25748),C=e.r(83807),N=e.r(54263),z=a.filter,W=i.mapSliceZone,B=n.RichTextNodeType;r.Client=g.Client,r.CustomTypeModelFieldType=j.CustomTypeModelFieldType,r.CustomTypeModelLinkSelectType=F.CustomTypeModelLinkSelectType,r.CustomTypeModelSliceDisplay=C.CustomTypeModelSliceDisplay,r.CustomTypeModelSliceType=U.CustomTypeModelSliceType,r.Element=B,r.ForbiddenError=s.ForbiddenError,r.InvalidDataError=s.InvalidDataError,r.LinkType=u.LinkType,r.Migration=T.Migration,r.NotFoundError=s.NotFoundError,r.OEmbedType=O.OEmbedType,r.ParsingError=s.ParsingError,r.PreviewTokenExpiredError=s.PreviewTokenExpiredError,r.PrismicError=s.PrismicError,r.PrismicMigrationAsset=y.PrismicMigrationAsset,r.PrismicMigrationDocument=_.PrismicMigrationDocument,r.RefExpiredError=s.RefExpiredError,r.RefNotFoundError=s.RefNotFoundError,r.RepositoryNotFoundError=s.RepositoryNotFoundError,r.RichTextNodeType=n.RichTextNodeType,r.WebhookType=N.WebhookType,r.WriteClient=w.WriteClient,r.asDate=L.asDate,r.asHTML=A.asHTML,r.asImagePixelDensitySrcSet=M.asImagePixelDensitySrcSet,r.asImageSrc=D.asImageSrc,r.asImageWidthSrcSet=I.asImageWidthSrcSet,r.asLink=l.asLink,r.asLinkAttrs=x.asLinkAttrs,r.asText=E.asText,r.buildQueryURL=d.buildQueryURL,Object.defineProperty(r,"cookie",{enumerable:!0,get:function(){return o.cookie_exports}}),r.createClient=m.createClient,r.createMigration=P.createMigration,r.createWriteClient=k.createWriteClient,r.documentToLinkField=c.documentToLinkField,r.filter=a.filter,r.getGraphQLEndpoint=S.getGraphQLEndpoint,r.getRepositoryEndpoint=h.getRepositoryEndpoint,r.getRepositoryName=p.getRepositoryName,r.getToolbarSrc=R.getToolbarSrc,Object.defineProperty(r,"isFilled",{enumerable:!0,get:function(){return b.isFilled_exports}}),r.isRepositoryEndpoint=v.isRepositoryEndpoint,r.isRepositoryName=f.isRepositoryName,r.mapSliceZone=i.mapSliceZone,r.predicate=z,r.unstable_mapSliceZone=W},97267,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(71645),i=e.r(74454),a=e.r(18566);r.PrismicPreviewClient=function(e){var t=e.repositoryName,r=e.isDraftMode,o=e.updatePreviewURL,s=void 0===o?"/api/preview":o,u=e.exitPreviewURL,c=void 0===u?"/api/exit-preview":u,l=a.useRouter().refresh;return n.useEffect(function(){var e=new AbortController;window.addEventListener("prismicPreviewUpdate",function(e){e.preventDefault(),l()},{signal:e.signal}),window.addEventListener("prismicPreviewEnd",function(t){t.preventDefault(),globalThis.fetch(c,{signal:e.signal}).then(function(e){e.ok?l():console.error('[<PrismicPreview>] Failed to exit Preview Mode using the "'.concat(c,'" API endpoint. Does it exist?'))}).catch(function(){})},{signal:e.signal});var n=function(e){function t(e){return e.replace(/%3B/g,";")}var r=e.split("; "),n=!0,a=!1,o=void 0;try{for(var s,u,c=r[Symbol.iterator]();!(n=(u=c.next()).done);
1n=!0){var l=u.value.split("=");if(t(l[0]).replace(/%3D/g,"=")===i.cookie.preview){s=t(l.slice(1).join("="));continue}}}catch(e){a=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(a)throw o}}return s}(window.document.cookie);return(n?(decodeURIComponent(n).match(/"([^"]+)\.prismic\.io"/)||[])[1]:void 0)!==t||r||(console.log("starting preview link"),globalThis.fetch(s,{redirect:"manual",signal:e.signal}).then(function(e){"opaqueredirect"!==e.type?console.error('[<PrismicPreview>] Failed to start the preview using "'.concat(s,'". Does it exist?')):l()}).catch(function(){})),function(){return e.abort()}},[t,r,s,c,l]),null}},45447,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.buildURL=function(e,t){var r=new URL(e);for(var n in t){var i=n.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),a=t[n];void 0===a?r.searchParams.delete(i):Array.isArray(a)?r.searchParams.set(i,a.join(",")):r.searchParams.set(i,"".concat(a))}var o=r.searchParams.get("s");return o&&(r.searchParams.delete("s"),r.searchParams.append("s",o)),r.toString()}},65514,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(4571),a=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var o=e.r(45447);r.buildPixelDensitySrcSet=function(e,t){var r=t.pixelDensities,s=a._(t,["pixelDensities"]);return r.map(function(t){return"".concat(o.buildURL(e,i._(n._({},s),{dpr:t}))," ").concat(t,"x")}).join(", ")}},71306,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(4571),a=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var o=e.r(45447);r.buildWidthSrcSet=function(e,t){var r=t.widths,s=a._(t,["widths"]);return r.map(function(t){return"".concat(o.buildURL(e,i._(n._({},s),{w:void 0,width:t}))," ").concat(t,"w")}).join(", ")}},13785,(e,t,r)=>{"use strict";var n=e.r(95075),i=e.r(82372),a=e.r(68996),o=Object.defineProperty,s=function(e,t,r){var n;return n=(void 0===t?"undefined":a._(t))!=="symbol"?t+"":t,n in e?o(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var u=e.r(65514),c=e.r(45447),l=e.r(71306);r.Client=function(){function e(t){n._(this,e),s(this,"baseURL"),this.baseURL=t.baseURL}return i._(e,[{key:"buildURLForPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.buildURL("".concat(new URL(e,this.baseURL)),t)}},{key:"buildWidthSrcSetForPath",value:function(e,t){return l.buildWidthSrcSet("".concat(new URL(e,this.baseURL)),t)}},{key:"buildPixelDensitySrcSetForPath",value:function(e,t){return u.buildPixelDensitySrcSet("".concat(new URL(e,this.baseURL)),t)}}]),e}()},93967,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(13785),i=e.r(45447),a=e.r(71306),o=e.r(65514);r.Client=n.Client,r.buildURL=i.buildURL,r.buildWidthSrcSet=a.buildWidthSrcSet,r.buildPixelDensitySrcSet=o.buildPixelDensitySrcSet},35370,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.version="2.0.2"},25523,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(35370);r.devMsg=function(e){return"https://prismic.dev/msg/next/v".concat(n.version,"/").concat(e)}},49539,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.resolveDefaultExport=function(e){return"default"in e?e.default:e}},67971,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(93967);r.imgixLoader=function(e){var t={fit:new URL(e.src).searchParams.get("fit")||"max",w:e.width,h:void 0};return e.quality&&(t.q=e.quality),n.buildURL(e.src,t)}},11459,(e,t,r)=>{"use strict";var n=e.r(44086),i=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var a=e.r(43476),o=e.r(71645),s=e.r(57688),u=e.r(93967),c=e.r(74454);e.r(25523);var l=e.r(49539),d=e.r(67971),f=function(e){if("number"==typeof e||void 0===e)return e;var t=Number.parseInt(e);if(!Number.isNaN(t))return t};r.PrismicNextImage=o.forwardRef(function(e,t){var r=e.field,o=e.imgixParams,h=void 0===o?{}:o,p=e.alt,v=e.fallbackAlt,g=e.fill,m=e.width,y=e.height,_=e.fallback,b=e.loader,w=void 0===b?d.imgixLoader:b,k=i._(e,["field","imgixParams","alt","fallbackAlt","fill","width","height","fallback","loader"]);if(!c.isFilled.imageThumbnail(r))return a.jsx(a.Fragment,{children:void 0===_?null:_});for(var T in h)null===h[T]&&(h[T]=void 0);var P=u.buildURL(r.url,h),S=r.dimensions.width/r.dimensions.height,R=f(m),L=f(y),x=null!=R?R:r.dimensions.width,E=null!=L?L:r.dimensions.height;null!=R&&null==L?E=R/S:null==R&&null!=L&&(x=L*S);var A=null!=p?p:r.alt||v,D=l.resolveDefaultExport(s);return a.jsx(D,n._({ref:t,src:P,width:g?void 0:x,height:g?void 0:E,alt:A,fill:g,loader:null===w?void 0:w},k))})}]);
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.